Class: Amocrm::Models::SourceUpdateByIDResponse::SourceUpdateResponse::Embedded::Source
Defined Under Namespace
Modules: ExternalID, Services
Instance Attribute Summary collapse
Class Method 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(id: nil, _links: nil, default: nil, external_id: nil, name: nil, origin_code: nil, pipeline_id: nil, request_id: nil, services: nil) ⇒ Object
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
|
# File 'lib/amocrm/models/source_update_by_id_response.rb', line 45
class Source < Amocrm::Internal::Type::BaseModel
optional :id, Integer
optional :_links, Amocrm::Internal::Type::Unknown
optional :default, Amocrm::Internal::Type::Boolean
optional :external_id,
union: -> { Amocrm::Models::SourceUpdateByIDResponse::SourceUpdateResponse::Embedded::Source::ExternalID }
optional :name, String
optional :origin_code, String, nil?: true
optional :pipeline_id, Integer, nil?: true
optional :request_id, String
optional :services,
union: -> { Amocrm::Models::SourceUpdateByIDResponse::SourceUpdateResponse::Embedded::Source::Services }
module ExternalID
extend Amocrm::Internal::Type::Union
variant String
variant Integer
variant Amocrm::Internal::Type::Boolean
end
module Services
extend Amocrm::Internal::Type::Union
variant -> { Amocrm::Models::SourceUpdateByIDResponse::SourceUpdateResponse::Embedded::Source::Services::UnionMember0Array }
variant -> { Amocrm::Models::SourceUpdateByIDResponse::SourceUpdateResponse::Embedded::Source::Services::StringArray }
UnionMember0Array = Amocrm::Internal::Type::ArrayOf[Amocrm::Internal::Type::Unknown]
StringArray = Amocrm::Internal::Type::ArrayOf[String]
end
end
|
Instance Attribute Details
#external_id ⇒ String, ...
#id ⇒ Integer?
49
|
# File 'lib/amocrm/models/source_update_by_id_response.rb', line 49
optional :id, Integer
|
#name ⇒ String?
70
|
# File 'lib/amocrm/models/source_update_by_id_response.rb', line 70
optional :name, String
|
#origin_code ⇒ String?
75
|
# File 'lib/amocrm/models/source_update_by_id_response.rb', line 75
optional :origin_code, String, nil?: true
|
#pipeline_id ⇒ Integer?
80
|
# File 'lib/amocrm/models/source_update_by_id_response.rb', line 80
optional :pipeline_id, Integer, nil?: true
|
#request_id ⇒ String?
85
|
# File 'lib/amocrm/models/source_update_by_id_response.rb', line 85
optional :request_id, String
|
#services ⇒ Array<Object>, ...
Class Method Details
.variants ⇒ Array(String, Integer, Boolean)
|
# File 'lib/amocrm/models/source_update_by_id_response.rb', line 114
|