Class: Amocrm::Models::PipelineCreateParams::Body::Embedded::Status
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Amocrm::Models::PipelineCreateParams::Body::Embedded::Status
- Defined in:
- lib/amocrm/models/pipeline_create_params.rb
Defined Under Namespace
Classes: Description
Instance Attribute Summary collapse
- #color ⇒ String?
- #descriptions ⇒ Array<Amocrm::Models::PipelineCreateParams::Body::Embedded::Status::Description>?
- #name ⇒ String
- #request_id ⇒ String?
- #sort ⇒ Integer?
Instance Method Summary collapse
- #initialize(statuses: 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(statuses: nil) ⇒ Object
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 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 69 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 |
Instance Attribute Details
#color ⇒ String?
78 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 78 optional :color, String |
#descriptions ⇒ Array<Amocrm::Models::PipelineCreateParams::Body::Embedded::Status::Description>?
83 84 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 83 optional :descriptions, -> { Amocrm::Internal::Type::ArrayOf[Amocrm::PipelineCreateParams::Body::Embedded::Status::Description] } |
#name ⇒ String
73 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 73 required :name, String |
#request_id ⇒ String?
89 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 89 optional :request_id, String |
#sort ⇒ Integer?
94 |
# File 'lib/amocrm/models/pipeline_create_params.rb', line 94 optional :sort, Integer |