Class: MetronomeSDK::Models::ContractWithoutAmendments::Transition
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::ContractWithoutAmendments::Transition
- Defined in:
- lib/metronome_sdk/models/contract_without_amendments.rb
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
- #from_contract_id ⇒ String
- #to_contract_id ⇒ String
- #type ⇒ Symbol, MetronomeSDK::Models::ContractWithoutAmendments::Transition::Type
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(from_contract_id: , to_contract_id: , type: ) ⇒ Object
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 |
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 211 class Transition < MetronomeSDK::Internal::Type::BaseModel # @!attribute from_contract_id # # @return [String] required :from_contract_id, String # @!attribute to_contract_id # # @return [String] required :to_contract_id, String # @!attribute type # # @return [Symbol, MetronomeSDK::Models::ContractWithoutAmendments::Transition::Type] required :type, enum: -> { MetronomeSDK::ContractWithoutAmendments::Transition::Type } # @!method initialize(from_contract_id:, to_contract_id:, type:) # @param from_contract_id [String] # @param to_contract_id [String] # @param type [Symbol, MetronomeSDK::Models::ContractWithoutAmendments::Transition::Type] # @see MetronomeSDK::Models::ContractWithoutAmendments::Transition#type module Type extend MetronomeSDK::Internal::Type::Enum SUPERSEDE = :SUPERSEDE RENEWAL = :RENEWAL # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#from_contract_id ⇒ String
215 |
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 215 required :from_contract_id, String |
#to_contract_id ⇒ String
220 |
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 220 required :to_contract_id, String |
#type ⇒ Symbol, MetronomeSDK::Models::ContractWithoutAmendments::Transition::Type
225 |
# File 'lib/metronome_sdk/models/contract_without_amendments.rb', line 225 required :type, enum: -> { MetronomeSDK::ContractWithoutAmendments::Transition::Type } |