Class: MetronomeSDK::Models::V1::UsageListWithGroupsResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/metronome_sdk/models/v1/usage_list_with_groups_response.rb

Overview

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(ending_before: , group_key: , group_value: , starting_on: , value: ) ⇒ Object

Parameters:

  • ending_before (Time) (defaults to: )
  • group_key (String, nil) (defaults to: )
  • group_value (String, nil) (defaults to: )
  • starting_on (Time) (defaults to: )
  • value (Float, nil) (defaults to: )


# File 'lib/metronome_sdk/models/v1/usage_list_with_groups_response.rb', line 33


Instance Attribute Details

#ending_beforeTime

Returns:

  • (Time)


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

required :ending_before, Time

#group_keyString?

Returns:

  • (String, nil)


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

required :group_key, String, nil?: true

#group_valueString?

Returns:

  • (String, nil)


21
# File 'lib/metronome_sdk/models/v1/usage_list_with_groups_response.rb', line 21

required :group_value, String, nil?: true

#starting_onTime

Returns:

  • (Time)


26
# File 'lib/metronome_sdk/models/v1/usage_list_with_groups_response.rb', line 26

required :starting_on, Time

#valueFloat?

Returns:

  • (Float, nil)


31
# File 'lib/metronome_sdk/models/v1/usage_list_with_groups_response.rb', line 31

required :value, Float, nil?: true