Class: MetronomeSDK::Models::ContractWithoutAmendments::Transition
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/metronome_sdk/models/contract_without_amendments.rb,
sig/metronome_sdk/models/contract_without_amendments.rbs
Defined Under Namespace
Modules: Type
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(from_contract_id:, to_contract_id:, type:) ⇒ Object
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 220
class Transition < MetronomeSDK::Internal::Type::BaseModel
required :from_contract_id, String
required :to_contract_id, String
required :type, enum: -> { MetronomeSDK::ContractWithoutAmendments::Transition::Type }
module Type
extend MetronomeSDK::Internal::Type::Enum
SUPERSEDE = :SUPERSEDE
RENEWAL = :RENEWAL
end
end
|
Instance Attribute Details
#from_contract_id ⇒ String
224
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 224
required :from_contract_id, String
|
#to_contract_id ⇒ String
229
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 229
required :to_contract_id, String
|
234
|
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 234
required :type, enum: -> { MetronomeSDK::ContractWithoutAmendments::Transition::Type }
|
Instance Method Details
#to_hash ⇒ {
231
|
# File 'sig/metronome_sdk/models/contract_without_amendments.rbs', line 231
def to_hash: -> {
|