Class: Amocrm::Models::PipelineCreateParams::Body
Defined Under Namespace
Classes: Embedded
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(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
required :name, String
optional :_embedded, -> { Amocrm::PipelineCreateParams::Body::Embedded }
optional :is_main, Amocrm::Internal::Type::Boolean
optional :is_unsorted_on, Amocrm::Internal::Type::Boolean
optional :request_id, String
optional :sort, Integer
class Embedded < Amocrm::Internal::Type::BaseModel
optional :statuses,
-> { Amocrm::Internal::Type::ArrayOf[Amocrm::PipelineCreateParams::Body::Embedded::Status] }
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
end
end
|
Instance Attribute Details
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
|
Instance Method Details
#to_hash ⇒ {
67
|
# File 'sig/amocrm/models/pipeline_create_params.rbs', line 67
def to_hash: -> {
|