Class: Orb::Models::PriceEvaluatePreviewEventsParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::PriceEvaluatePreviewEventsParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/orb/models/price_evaluate_preview_events_params.rb
Overview
Defined Under Namespace
Classes: Event, PriceEvaluation
Instance Attribute Summary collapse
-
#customer_id ⇒ String?
The ID of the customer to which this evaluation is scoped.
-
#events ⇒ Array<Orb::Models::PriceEvaluatePreviewEventsParams::Event>?
List of preview events to use instead of actual usage data.
-
#external_customer_id ⇒ String?
The external customer ID of the customer to which this evaluation is scoped.
-
#price_evaluations ⇒ Array<Orb::Models::PriceEvaluatePreviewEventsParams::PriceEvaluation>?
List of prices to evaluate (max 100).
-
#timeframe_end ⇒ Time
The exclusive upper bound for event timestamps.
-
#timeframe_start ⇒ Time
The inclusive lower bound for event timestamps.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(event_name: , properties: , timestamp: , customer_id: nil, external_customer_id: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Event for more details.
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(event_name: , properties: , timestamp: , customer_id: nil, external_customer_id: nil) ⇒ Object
Some parameter documentations has been truncated, see Event for more details.
|
|
# File 'lib/orb/models/price_evaluate_preview_events_params.rb', line 97
|
Instance Attribute Details
#customer_id ⇒ String?
The ID of the customer to which this evaluation is scoped.
26 |
# File 'lib/orb/models/price_evaluate_preview_events_params.rb', line 26 optional :customer_id, String, nil?: true |
#events ⇒ Array<Orb::Models::PriceEvaluatePreviewEventsParams::Event>?
List of preview events to use instead of actual usage data
32 |
# File 'lib/orb/models/price_evaluate_preview_events_params.rb', line 32 optional :events, -> { Orb::Internal::Type::ArrayOf[Orb::PriceEvaluatePreviewEventsParams::Event] } |
#external_customer_id ⇒ String?
The external customer ID of the customer to which this evaluation is scoped.
38 |
# File 'lib/orb/models/price_evaluate_preview_events_params.rb', line 38 optional :external_customer_id, String, nil?: true |
#price_evaluations ⇒ Array<Orb::Models::PriceEvaluatePreviewEventsParams::PriceEvaluation>?
List of prices to evaluate (max 100)
44 45 |
# File 'lib/orb/models/price_evaluate_preview_events_params.rb', line 44 optional :price_evaluations, -> { Orb::Internal::Type::ArrayOf[Orb::PriceEvaluatePreviewEventsParams::PriceEvaluation] } |
#timeframe_end ⇒ Time
The exclusive upper bound for event timestamps
14 |
# File 'lib/orb/models/price_evaluate_preview_events_params.rb', line 14 required :timeframe_end, Time |
#timeframe_start ⇒ Time
The inclusive lower bound for event timestamps
20 |
# File 'lib/orb/models/price_evaluate_preview_events_params.rb', line 20 required :timeframe_start, Time |