Class: Amocrm::Models::PipelineCreateParams::Body
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Amocrm::Models::PipelineCreateParams::Body
- Defined in:
- lib/amocrm/models/pipeline_create_params.rb
Defined Under Namespace
Classes: Embedded
Instance Attribute Summary collapse
- #_embedded ⇒ Amocrm::Models::PipelineCreateParams::Body::Embedded?
- #is_main ⇒ Boolean?
- #is_unsorted_on ⇒ Boolean?
- #name ⇒ String
- #request_id ⇒ String?
- #sort ⇒ Integer?
Instance Method Summary collapse
- #initialize(name:, _embedded: nil, is_main: nil, is_unsorted_on: nil, request_id: nil, sort: nil) ⇒ Object constructor
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(name:, _embedded: nil, is_main: nil, is_unsorted_on: nil, request_id: nil, sort: nil) ⇒ Object
19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 19 class Body < Amocrm::Internal::Type::BaseModel # @!attribute name # # @return [String] required :name, String # @!attribute _embedded # # @return [Amocrm::Models::PipelineCreateParams::Body::Embedded, nil] optional :_embedded, -> { Amocrm::PipelineCreateParams::Body::Embedded } # @!attribute is_main # # @return [Boolean, nil] optional :is_main, Amocrm::Internal::Type::Boolean # @!attribute is_unsorted_on # # @return [Boolean, nil] optional :is_unsorted_on, Amocrm::Internal::Type::Boolean # @!attribute request_id # # @return [String, nil] optional :request_id, String # @!attribute sort # # @return [Integer, nil] optional :sort, Integer # @!method initialize(name:, _embedded: nil, is_main: nil, is_unsorted_on: nil, request_id: nil, sort: nil) # @param name [String] # @param _embedded [Amocrm::Models::PipelineCreateParams::Body::Embedded] # @param is_main [Boolean] # @param is_unsorted_on [Boolean] # @param request_id [String] # @param sort [Integer] # @see Amocrm::Models::PipelineCreateParams::Body#_embedded class Embedded < Amocrm::Internal::Type::BaseModel # @!attribute statuses # # @return [Array<Amocrm::Models::PipelineCreateParams::Body::Embedded::Status>, nil] optional :statuses, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::PipelineCreateParams::Body::Embedded::Status] } # @!method initialize(statuses: nil) # @param statuses [Array<Amocrm::Models::PipelineCreateParams::Body::Embedded::Status>] class Status < Amocrm::Internal::Type::BaseModel # @!attribute name # # @return [String] required :name, String # @!attribute color # # @return [String, nil] optional :color, String # @!attribute descriptions # # @return [Array<Amocrm::Models::PipelineCreateParams::Body::Embedded::Status::Description>, nil] optional :descriptions, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::PipelineCreateParams::Body::Embedded::Status::Description] } # @!attribute request_id # # @return [String, nil] optional :request_id, String # @!attribute sort # # @return [Integer, nil] optional :sort, Integer # @!method initialize(name:, color: nil, descriptions: nil, request_id: nil, sort: nil) # @param name [String] # @param color [String] # @param descriptions [Array<Amocrm::Models::PipelineCreateParams::Body::Embedded::Status::Description>] # @param request_id [String] # @param sort [Integer] class Description < Amocrm::Internal::Type::BaseModel # @!attribute id # # @return [Integer, nil] optional :id, Integer # @!attribute description # # @return [String, nil] optional :description, String # @!attribute level # # @return [String, nil] optional :level, String # @!method initialize(id: nil, description: nil, level: nil) # @param id [Integer] # @param description [String] # @param level [String] end end end end |
Instance Attribute Details
#_embedded ⇒ Amocrm::Models::PipelineCreateParams::Body::Embedded?
28 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 28 optional :_embedded, -> { Amocrm::PipelineCreateParams::Body::Embedded } |
#is_main ⇒ Boolean?
33 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 33 optional :is_main, Amocrm::Internal::Type::Boolean |
#is_unsorted_on ⇒ Boolean?
38 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 38 optional :is_unsorted_on, Amocrm::Internal::Type::Boolean |
#name ⇒ String
23 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 23 required :name, String |
#request_id ⇒ String?
43 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 43 optional :request_id, String |
#sort ⇒ Integer?
48 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 48 optional :sort, Integer |