Class: Stigg::Models::V1::UsageEstimateCostResponse::Data

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

Overview

See Also:

  • Stigg::Models::V1::UsageEstimateCostResponse#data

Defined Under Namespace

Modules: Warning Classes: Estimate

Instance Attribute Summary collapse

Class Method 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



29
# File 'sig/stigg/models/v1/usage_estimate_cost_response.rbs', line 29

def initialize: (

Instance Attribute Details

#estimatesArray<Stigg::Models::V1::UsageEstimateCostResponse::Data::Estimate>

Per-currency cost estimates



25
26
# File 'lib/stigg/models/v1/usage_estimate_cost_response.rb', line 25

required :estimates,
-> { Stigg::Internal::Type::ArrayOf[Stigg::Models::V1::UsageEstimateCostResponse::Data::Estimate] }

#warningsArray<Symbol, Stigg::Models::V1::UsageEstimateCostResponse::Data::Warning>

Request-level warnings about the estimation context

Parameters:

  • value (::Array[Stigg::Models::V1::UsageEstimateCostResponse::Data::warning])

Returns:



32
33
# File 'lib/stigg/models/v1/usage_estimate_cost_response.rb', line 32

required :warnings,
-> { Stigg::Internal::Type::ArrayOf[enum: Stigg::Models::V1::UsageEstimateCostResponse::Data::Warning] }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/stigg/models/v1/usage_estimate_cost_response.rb', line 130

Instance Method Details

#to_hash{

Returns:

  • ({)


34
# File 'sig/stigg/models/v1/usage_estimate_cost_response.rbs', line 34

def to_hash: -> {