Class: Orb::Models::EventUpdateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::EventUpdateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/orb/models/event_update_params.rb
Overview
Instance Attribute Summary collapse
-
#customer_id ⇒ String?
The Orb Customer identifier.
-
#event_name ⇒ String
A name to meaningfully identify the action or event type.
-
#external_customer_id ⇒ String?
An alias for the Orb customer, whose mapping is specified when creating the customer.
-
#properties ⇒ Hash{Symbol=>Object}
A dictionary of custom properties.
-
#timestamp ⇒ Time
An ISO 8601 format date with no timezone offset (i.e. UTC).
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(event_name: , properties: , timestamp: , customer_id: nil, external_customer_id: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see EventUpdateParams 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, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Orb::Models::EventUpdateParams for more details.
|
|
# File 'lib/orb/models/event_update_params.rb', line 44
|
Instance Attribute Details
#customer_id ⇒ String?
The Orb Customer identifier
35 |
# File 'lib/orb/models/event_update_params.rb', line 35 optional :customer_id, String, nil?: true |
#event_name ⇒ String
A name to meaningfully identify the action or event type.
14 |
# File 'lib/orb/models/event_update_params.rb', line 14 required :event_name, String |
#external_customer_id ⇒ String?
An alias for the Orb customer, whose mapping is specified when creating the customer
42 |
# File 'lib/orb/models/event_update_params.rb', line 42 optional :external_customer_id, String, nil?: true |
#properties ⇒ Hash{Symbol=>Object}
A dictionary of custom properties. Values in this dictionary must be numeric, boolean, or strings. Nested dictionaries are disallowed.
21 |
# File 'lib/orb/models/event_update_params.rb', line 21 required :properties, Orb::Internal::Type::HashOf[Orb::Internal::Type::Unknown] |
#timestamp ⇒ Time
An ISO 8601 format date with no timezone offset (i.e. UTC). This should represent the time that usage was recorded, and is particularly important to attribute usage to a given billing period.
29 |
# File 'lib/orb/models/event_update_params.rb', line 29 required :timestamp, Time |