Class: MetronomeSDK::Models::V1::ContractGetSubscriptionSeatsHistoryResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v1/contract_get_subscription_seats_history_response.rb,
sig/metronome_sdk/models/v1/contract_get_subscription_seats_history_response.rbs

Overview

See Also:

  • MetronomeSDK::Resources::V1::Contracts#get_subscription_seats_history

Defined Under Namespace

Classes: Data

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

#initializeObject



15
# File 'sig/metronome_sdk/models/v1/contract_get_subscription_seats_history_response.rbs', line 15

def initialize: (

Instance Attribute Details

#dataArray<MetronomeSDK::Models::V1::ContractGetSubscriptionSeatsHistoryResponse::Data>



11
12
# File 'lib/metronome_sdk/models/v1/contract_get_subscription_seats_history_response.rb', line 11

required :data,
-> { MetronomeSDK::Internal::Type::ArrayOf[MetronomeSDK::Models::V1::ContractGetSubscriptionSeatsHistoryResponse::Data] }

#next_pageString?

Cursor for the next page of results

Parameters:

  • value (String, nil)

Returns:

  • (String, nil)


18
# File 'lib/metronome_sdk/models/v1/contract_get_subscription_seats_history_response.rb', line 18

required :next_page, String, nil?: true

Instance Method Details

#to_hash{

Returns:

  • ({)


20
# File 'sig/metronome_sdk/models/v1/contract_get_subscription_seats_history_response.rbs', line 20

def to_hash: -> {