Class: MetronomeSDK::Models::V1::DashboardGetEmbeddableURLParams::DashboardOption

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

Defined Under Namespace

Modules: Key

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(key:, value:) ⇒ Object

Some parameter documentations has been truncated, see MetronomeSDK::Models::V1::DashboardGetEmbeddableURLParams::DashboardOption for more details.

Parameters:



# File 'lib/metronome_sdk/models/v1/dashboard_get_embeddable_url_params.rb', line 171

Instance Attribute Details

#keySymbol, MetronomeSDK::Models::V1::DashboardGetEmbeddableURLParams::DashboardOption::Key

The option key name

Parameters:

  • value (MetronomeSDK::Models::V1::DashboardGetEmbeddableURLParams::DashboardOption::key)

Returns:



159
# File 'lib/metronome_sdk/models/v1/dashboard_get_embeddable_url_params.rb', line 159

required :key, enum: -> { MetronomeSDK::V1::DashboardGetEmbeddableURLParams::DashboardOption::Key }

#valueString

The option value. For show_zero_usage_line_items: "true" or "false" (default "false"). For contract_id: a UUID filtering invoices to a specific contract. For invoice_type: "USAGE" or "SCHEDULED". For invoice_status_filter: "VOID", "FINALIZED", "DRAFT", "FINALIZED_AND_DRAFT", or "ALL". For hide_voided_invoices (deprecated): "true" or "false".

Parameters:

  • value (String)

Returns:

  • (String)


169
# File 'lib/metronome_sdk/models/v1/dashboard_get_embeddable_url_params.rb', line 169

required :value, String

Instance Method Details

#to_hash{

Returns:

  • ({)


201
# File 'sig/metronome_sdk/models/v1/dashboard_get_embeddable_url_params.rbs', line 201

def to_hash: -> {