Class: Orb::Models::SubscriptionUsage::GroupedSubscriptionUsage::Data::MetricGroup

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/orb/models/subscription_usage.rb,
sig/orb/models/subscription_usage.rbs

Overview

See Also:

  • Orb::Models::SubscriptionUsage::GroupedSubscriptionUsage::Data#metric_group

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



171
# File 'sig/orb/models/subscription_usage.rbs', line 171

def initialize: (

Instance Attribute Details

#property_keyString

Parameters:

  • value (String)

Returns:

  • (String)


163
# File 'lib/orb/models/subscription_usage.rb', line 163

required :property_key, String

#property_valueString

Parameters:

  • value (String)

Returns:

  • (String)


168
# File 'lib/orb/models/subscription_usage.rb', line 168

required :property_value, String

Instance Method Details

#to_hash{ property_key: String, property_value: String }

Returns:

  • ({ property_key: String, property_value: String })


176
# File 'sig/orb/models/subscription_usage.rbs', line 176

def to_hash: -> { property_key: String, property_value: String }