Class: Amocrm::Models::PipelineStatusListResponse::StatusListResponse::Embedded::Status

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/amocrm/models/pipeline_status_list_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



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
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
# File 'lib/amocrm/models/pipeline_status_list_response.rb', line 39

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::PipelineStatusListResponse::StatusListResponse::Embedded::Status::Description>, nil]
  optional :descriptions,
           -> { Amocrm::Internal::Type::ArrayOf[Amocrm::Models::PipelineStatusListResponse::StatusListResponse::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::PipelineStatusListResponse::StatusListResponse::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)


48
# File 'lib/amocrm/models/pipeline_status_list_response.rb', line 48

optional :account_id, Integer

#colorString?

Returns:

  • (String, nil)


53
# File 'lib/amocrm/models/pipeline_status_list_response.rb', line 53

optional :color, String

#idInteger?

Returns:

  • (Integer, nil)


43
# File 'lib/amocrm/models/pipeline_status_list_response.rb', line 43

optional :id, Integer

#is_editableBoolean?

Returns:

  • (Boolean, nil)


65
# File 'lib/amocrm/models/pipeline_status_list_response.rb', line 65

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

#nameString?

Returns:

  • (String, nil)


70
# File 'lib/amocrm/models/pipeline_status_list_response.rb', line 70

optional :name, String

#pipeline_idInteger?

Returns:

  • (Integer, nil)


75
# File 'lib/amocrm/models/pipeline_status_list_response.rb', line 75

optional :pipeline_id, Integer

#sortInteger?

Returns:

  • (Integer, nil)


80
# File 'lib/amocrm/models/pipeline_status_list_response.rb', line 80

optional :sort, Integer

#typeInteger?

Returns:

  • (Integer, nil)


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

optional :type, Integer