Class: MetronomeSDK::Models::V1::Contracts::RateCardRetrieveRateScheduleParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_params.rb

Overview

Defined Under Namespace

Classes: Selector

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Method Summary

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from MetronomeSDK::Internal::Type::BaseModel

Instance Attribute Details

#ending_beforeTime?

optional exclusive end date for the rates schedule. When not specified rates will show all future schedule segments.

Returns:

  • (Time, nil)


41
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_params.rb', line 41

optional :ending_before, Time

#limitInteger?

Max number of results that should be returned

Returns:

  • (Integer, nil)


28
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_params.rb', line 28

optional :limit, Integer

#next_pageString?

Cursor that indicates where the next page of results should start.

Returns:

  • (String, nil)


34
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_params.rb', line 34

optional :next_page, String

#rate_card_idString

ID of the rate card to get the schedule for

Returns:

  • (String)


16
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_params.rb', line 16

required :rate_card_id, String

#selectorsArray<MetronomeSDK::Models::V1::Contracts::RateCardRetrieveRateScheduleParams::Selector>?

List of rate selectors, rates matching ANY of the selector will be included in the response Passing no selectors will result in all rates being returned.



48
49
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_params.rb', line 48

optional :selectors,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::V1::Contracts::RateCardRetrieveRateScheduleParams::Selector] }

#starting_atTime

inclusive starting point for the rates schedule

Returns:

  • (Time)


22
# File 'lib/metronome_sdk/models/v1/contracts/rate_card_retrieve_rate_schedule_params.rb', line 22

required :starting_at, Time