Class: MetronomeSDK::Models::V1::CustomerListBillableMetricsParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/metronome_sdk/models/v1/customer_list_billable_metrics_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(customer_id: , include_archived: nil, limit: nil, next_page: nil, on_current_plan: nil, request_options: {}) ⇒ Object

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

Parameters:

  • customer_id (String) (defaults to: )
  • include_archived (Boolean) (defaults to: nil)

    If true, the list of returned metrics will include archived metrics

  • limit (Integer) (defaults to: nil)

    Max number of results that should be returned

  • next_page (String) (defaults to: nil)

    Cursor that indicates where the next page of results should start.

  • on_current_plan (Boolean) (defaults to: nil)

    If true, the list of metrics will be filtered to just ones that are on the custo

  • request_options (MetronomeSDK::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/metronome_sdk/models/v1/customer_list_billable_metrics_params.rb', line 41


Instance Attribute Details

#customer_idString

Returns:

  • (String)


14
# File 'lib/metronome_sdk/models/v1/customer_list_billable_metrics_params.rb', line 14

required :customer_id, String

#include_archivedBoolean?

If true, the list of returned metrics will include archived metrics

Returns:

  • (Boolean, nil)


20
# File 'lib/metronome_sdk/models/v1/customer_list_billable_metrics_params.rb', line 20

optional :include_archived, MetronomeSDK::Internal::Type::Boolean

#limitInteger?

Max number of results that should be returned

Returns:

  • (Integer, nil)


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

optional :limit, Integer

#next_pageString?

Cursor that indicates where the next page of results should start.

Returns:

  • (String, nil)


32
# File 'lib/metronome_sdk/models/v1/customer_list_billable_metrics_params.rb', line 32

optional :next_page, String

#on_current_planBoolean?

If true, the list of metrics will be filtered to just ones that are on the customer’s current plan

Returns:

  • (Boolean, nil)


39
# File 'lib/metronome_sdk/models/v1/customer_list_billable_metrics_params.rb', line 39

optional :on_current_plan, MetronomeSDK::Internal::Type::Boolean