Class: Increase::Models::Event
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Event
- Defined in:
- lib/increase/models/event.rb
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#associated_object_id ⇒ String
The identifier of the object that generated this Event.
-
#associated_object_type ⇒ String
The type of the object that generated this Event.
-
#category ⇒ Symbol, Increase::Models::Event::Category
The category of the Event.
-
#created_at ⇒ Time
The time the Event was created.
-
#id ⇒ String
The Event identifier.
-
#type ⇒ Symbol, Increase::Models::Event::Type
A constant representing the object’s type.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id: , associated_object_id: , associated_object_type: , category: , created_at: , type: ) ⇒ Object
constructor
Some parameter documentations has been truncated, see Event for more details.
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(id: , associated_object_id: , associated_object_type: , category: , created_at: , type: ) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::Event for more details.
Events are records of things that happened to objects at Increase. Events are accessible via the List Events endpoint and can be delivered to your application via webhooks. For more information, see our [webhooks guide](increase.com/documentation/webhooks).
|
|
# File 'lib/increase/models/event.rb', line 45
|
Instance Attribute Details
#associated_object_id ⇒ String
The identifier of the object that generated this Event.
17 |
# File 'lib/increase/models/event.rb', line 17 required :associated_object_id, String |
#associated_object_type ⇒ String
The type of the object that generated this Event.
23 |
# File 'lib/increase/models/event.rb', line 23 required :associated_object_type, String |
#category ⇒ Symbol, Increase::Models::Event::Category
The category of the Event. We may add additional possible values for this enum over time; your application should be able to handle such additions gracefully.
30 |
# File 'lib/increase/models/event.rb', line 30 required :category, enum: -> { Increase::Event::Category } |
#created_at ⇒ Time
The time the Event was created.
36 |
# File 'lib/increase/models/event.rb', line 36 required :created_at, Time |
#id ⇒ String
The Event identifier.
11 |
# File 'lib/increase/models/event.rb', line 11 required :id, String |
#type ⇒ Symbol, Increase::Models::Event::Type
A constant representing the object’s type. For this resource it will always be ‘event`.
43 |
# File 'lib/increase/models/event.rb', line 43 required :type, enum: -> { Increase::Event::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/event.rb', line 375
|