Class: Stigg::Models::V1::EventEstimateCostParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::EventEstimateCostParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/stigg/models/v1/event_estimate_cost_params.rb,
sig/stigg/models/v1/event_estimate_cost_params.rbs
Overview
Defined Under Namespace
Modules: Dimension
Instance Attribute Summary collapse
-
#customer_id ⇒ String
Customer id.
-
#dimensions ⇒ Hash{Symbol=>String, Float, Boolean}?
Dimensions associated with the usage event.
-
#event_name ⇒ String
The name of the usage event.
-
#resource_id ⇒ String?
Resource id.
- #x_account_id ⇒ String?
- #x_environment_id ⇒ String?
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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 ⇒ Object
39 |
# File 'sig/stigg/models/v1/event_estimate_cost_params.rbs', line 39
def initialize: (
|
Instance Attribute Details
#customer_id ⇒ String
Customer id
15 |
# File 'lib/stigg/models/v1/event_estimate_cost_params.rb', line 15 required :customer_id, String, api_name: :customerId |
#dimensions ⇒ Hash{Symbol=>String, Float, Boolean}?
Dimensions associated with the usage event
27 28 |
# File 'lib/stigg/models/v1/event_estimate_cost_params.rb', line 27 optional :dimensions, -> { Stigg::Internal::Type::HashOf[union: Stigg::V1::EventEstimateCostParams::Dimension] } |
#event_name ⇒ String
The name of the usage event
21 |
# File 'lib/stigg/models/v1/event_estimate_cost_params.rb', line 21 required :event_name, String, api_name: :eventName |
#resource_id ⇒ String?
Resource id
34 |
# File 'lib/stigg/models/v1/event_estimate_cost_params.rb', line 34 optional :resource_id, String, api_name: :resourceId, nil?: true |
#x_account_id ⇒ String?
39 |
# File 'lib/stigg/models/v1/event_estimate_cost_params.rb', line 39 optional :x_account_id, String |
#x_environment_id ⇒ String?
44 |
# File 'lib/stigg/models/v1/event_estimate_cost_params.rb', line 44 optional :x_environment_id, String |
Instance Method Details
#to_hash ⇒ {
49 |
# File 'sig/stigg/models/v1/event_estimate_cost_params.rbs', line 49
def to_hash: -> {
|