Class: Amocrm::Models::PipelineGetByIDResponse::Pipeline::Embedded::Status

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/pipeline_get_by_id_response.rb

Defined Under Namespace

Classes: Description

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Parameters:



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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
# File 'lib/amocrm/models/pipeline_get_by_id_response.rb', line 81

class Status < Amocrm::Internal::Type::BaseModel
  # @!attribute id
  #
  #   @return [Integer, nil]
  optional :id, Integer

  # @!attribute account_id
  #
  #   @return [Integer, nil]
  optional :account_id, Integer

  # @!attribute color
  #
  #   @return [String, nil]
  optional :color, String

  # @!attribute descriptions
  #
  #   @return [Array<Amocrm::Models::PipelineGetByIDResponse::Pipeline::Embedded::Status::Description>, nil]
  optional :descriptions,
           -> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::PipelineGetByIDResponse::Pipeline::Embedded::Status::Description] },
           nil?: true

  # @!attribute is_editable
  #
  #   @return [Boolean, nil]
  optional :is_editable, Amocrm::Internal::Type::Boolean

  # @!attribute name
  #
  #   @return [String, nil]
  optional :name, String

  # @!attribute pipeline_id
  #
  #   @return [Integer, nil]
  optional :pipeline_id, Integer

  # @!attribute sort
  #
  #   @return [Integer, nil]
  optional :sort, Integer

  # @!attribute type
  #
  #   @return [Integer, nil]
  optional :type, Integer

  # @!method initialize(id: nil, account_id: nil, color: nil, descriptions: nil, is_editable: nil, name: nil, pipeline_id: nil, sort: nil, type: nil)
  #   @param id [Integer]
  #   @param account_id [Integer]
  #   @param color [String]
  #   @param descriptions [Array<Amocrm::Models::PipelineGetByIDResponse::Pipeline::Embedded::Status::Description>, nil]
  #   @param is_editable [Boolean]
  #   @param name [String]
  #   @param pipeline_id [Integer]
  #   @param sort [Integer]
  #   @param type [Integer]

  class Description < Amocrm::Internal::Type::BaseModel
    # @!attribute id
    #
    #   @return [Integer, nil]
    optional :id, Integer

    # @!attribute account_id
    #
    #   @return [Integer, nil]
    optional :account_id, Integer

    # @!attribute created_at
    #
    #   @return [Integer, nil]
    optional :created_at, Integer

    # @!attribute created_by
    #
    #   @return [Integer, nil]
    optional :created_by, Integer

    # @!attribute description
    #
    #   @return [String, nil]
    optional :description, String

    # @!attribute level
    #
    #   @return [String, nil]
    optional :level, String

    # @!attribute pipeline_id
    #
    #   @return [Integer, nil]
    optional :pipeline_id, Integer

    # @!attribute status_id
    #
    #   @return [Integer, nil]
    optional :status_id, Integer

    # @!attribute updated_at
    #
    #   @return [Integer, nil]
    optional :updated_at, Integer

    # @!attribute updated_by
    #
    #   @return [Integer, nil]
    optional :updated_by, Integer

    # @!method initialize(id: nil, account_id: nil, created_at: nil, created_by: nil, description: nil, level: nil, pipeline_id: nil, status_id: nil, updated_at: nil, updated_by: nil)
    #   @param id [Integer]
    #   @param account_id [Integer]
    #   @param created_at [Integer]
    #   @param created_by [Integer]
    #   @param description [String]
    #   @param level [String]
    #   @param pipeline_id [Integer]
    #   @param status_id [Integer]
    #   @param updated_at [Integer]
    #   @param updated_by [Integer]
  end
end

Instance Attribute Details

#account_idInteger?

Returns:

  • (Integer, nil)


90
# File 'lib/amocrm/models/pipeline_get_by_id_response.rb', line 90

optional :account_id, Integer

#colorString?

Returns:

  • (String, nil)


95
# File 'lib/amocrm/models/pipeline_get_by_id_response.rb', line 95

optional :color, String

#descriptionsArray<Amocrm::Models::PipelineGetByIDResponse::Pipeline::Embedded::Status::Description>?



100
101
102
# File 'lib/amocrm/models/pipeline_get_by_id_response.rb', line 100

optional :descriptions,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::PipelineGetByIDResponse::Pipeline::Embedded::Status::Description] },
nil?: true

#idInteger?

Returns:

  • (Integer, nil)


85
# File 'lib/amocrm/models/pipeline_get_by_id_response.rb', line 85

optional :id, Integer

#is_editableBoolean?

Returns:

  • (Boolean, nil)


107
# File 'lib/amocrm/models/pipeline_get_by_id_response.rb', line 107

optional :is_editable, Amocrm::Internal::Type::Boolean

#nameString?

Returns:

  • (String, nil)


112
# File 'lib/amocrm/models/pipeline_get_by_id_response.rb', line 112

optional :name, String

#pipeline_idInteger?

Returns:

  • (Integer, nil)


117
# File 'lib/amocrm/models/pipeline_get_by_id_response.rb', line 117

optional :pipeline_id, Integer

#sortInteger?

Returns:

  • (Integer, nil)


122
# File 'lib/amocrm/models/pipeline_get_by_id_response.rb', line 122

optional :sort, Integer

#typeInteger?

Returns:

  • (Integer, nil)


127
# File 'lib/amocrm/models/pipeline_get_by_id_response.rb', line 127

optional :type, Integer