Class: MetronomeSDK::Models::V1::Contracts::NamedScheduleRetrieveResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V1::Contracts::NamedScheduleRetrieveResponse::Data
- Defined in:
- lib/metronome_sdk/models/v1/contracts/named_schedule_retrieve_response.rb
Instance Attribute Summary collapse
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(starting_at: , value: , ending_before: nil) ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/metronome_sdk/models/v1/contracts/named_schedule_retrieve_response.rb', line 18 class Data < MetronomeSDK::Internal::Type::BaseModel # @!attribute starting_at # # @return [Time] required :starting_at, Time # @!attribute value # # @return [Object] required :value, MetronomeSDK::Internal::Type::Unknown # @!attribute ending_before # # @return [Time, nil] optional :ending_before, Time # @!method initialize(starting_at:, value:, ending_before: nil) # @param starting_at [Time] # @param value [Object] # @param ending_before [Time] end |
Instance Attribute Details
#ending_before ⇒ Time?
32 |
# File 'lib/metronome_sdk/models/v1/contracts/named_schedule_retrieve_response.rb', line 32 optional :ending_before, Time |
#starting_at ⇒ Time
22 |
# File 'lib/metronome_sdk/models/v1/contracts/named_schedule_retrieve_response.rb', line 22 required :starting_at, Time |
#value ⇒ Object
27 |
# File 'lib/metronome_sdk/models/v1/contracts/named_schedule_retrieve_response.rb', line 27 required :value, MetronomeSDK::Internal::Type::Unknown |