Class: Amocrm::Models::PipelineCreateParams::Body::Embedded::Status
Defined Under Namespace
Classes: Description
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#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
required :name, String
optional :color, String
optional :descriptions,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::PipelineCreateParams::Body::Embedded::Status::Description] }
optional :request_id, String
optional :sort, Integer
class Description < Amocrm::Internal::Type::BaseModel
optional :id, Integer
optional :description, String
optional :level, String
end
end
|
Instance Attribute Details
#color ⇒ String?
78
|
# File 'lib/amocrm/models/pipeline_create_params.rb', line 78
optional :color, String
|
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
|
Instance Method Details
#to_hash ⇒ {
134
|
# File 'sig/amocrm/models/pipeline_create_params.rbs', line 134
def to_hash: -> {
|