Class: Seam::Resources::SeamEvent::DeviceDeleted
- Inherits:
-
SeamEvent
- Object
- SeamEvent
- Seam::Resources::SeamEvent::DeviceDeleted
- Defined in:
- lib/seam/resources/event.rb
Overview
A device was deleted.
Instance Attribute Summary collapse
-
#connected_account_custom_metadata ⇒ Hash{String => String, Boolean}?
Custom metadata of the connected account, present when connected_account_id is provided.
-
#connected_account_id ⇒ String
ID of the connected account associated with the event.
-
#customer_key ⇒ String?
The customer key associated with the device, if any.
-
#device_custom_metadata ⇒ Hash{String => String, Boolean}?
Custom metadata of the device, present when device_id is provided.
-
#device_id ⇒ String
ID of the affected device.
-
#device_name ⇒ String?
Name of the deleted device, captured at deletion time.
-
#event_description ⇒ String?
Human-readable description of the event.
-
#event_id ⇒ String
ID of the event.
-
#event_type ⇒ String
Known values: -
device.deleted. -
#workspace_id ⇒ String
ID of the workspace associated with the event.
Instance Method Summary collapse
-
#created_at ⇒ Time
Date and time at which the event was created.
-
#occurred_at ⇒ Time
Date and time at which the event occurred.
Instance Attribute Details
#connected_account_custom_metadata ⇒ Hash{String => String, Boolean}?
Custom metadata of the connected account, present when connected_account_id is provided.
3614 3615 3616 |
# File 'lib/seam/resources/event.rb', line 3614 def @connected_account_custom_metadata end |
#connected_account_id ⇒ String
ID of the connected account associated with the event.
3617 3618 3619 |
# File 'lib/seam/resources/event.rb', line 3617 def connected_account_id @connected_account_id end |
#customer_key ⇒ String?
The customer key associated with the device, if any.
3620 3621 3622 |
# File 'lib/seam/resources/event.rb', line 3620 def customer_key @customer_key end |
#device_custom_metadata ⇒ Hash{String => String, Boolean}?
Custom metadata of the device, present when device_id is provided.
3623 3624 3625 |
# File 'lib/seam/resources/event.rb', line 3623 def @device_custom_metadata end |
#device_id ⇒ String
ID of the affected device.
3626 3627 3628 |
# File 'lib/seam/resources/event.rb', line 3626 def device_id @device_id end |
#device_name ⇒ String?
Name of the deleted device, captured at deletion time. The device record no longer exists when this event fires, so the name is preserved here. Null when the device had no resolvable name.
3629 3630 3631 |
# File 'lib/seam/resources/event.rb', line 3629 def device_name @device_name end |
#event_description ⇒ String?
Human-readable description of the event. Persisted when the event is created (so the creating code, including a provider, can supply a tailored description) and otherwise derived from the event.
3632 3633 3634 |
# File 'lib/seam/resources/event.rb', line 3632 def event_description @event_description end |
#event_id ⇒ String
ID of the event.
3635 3636 3637 |
# File 'lib/seam/resources/event.rb', line 3635 def event_id @event_id end |
#event_type ⇒ String
Known values:
device.deleted
3639 3640 3641 |
# File 'lib/seam/resources/event.rb', line 3639 def event_type @event_type end |
#workspace_id ⇒ String
ID of the workspace associated with the event.
3642 3643 3644 |
# File 'lib/seam/resources/event.rb', line 3642 def workspace_id @workspace_id end |
Instance Method Details
#created_at ⇒ Time
Date and time at which the event was created.
3645 |
# File 'lib/seam/resources/event.rb', line 3645 date_accessor :created_at |
#occurred_at ⇒ Time
Date and time at which the event occurred.
3648 |
# File 'lib/seam/resources/event.rb', line 3648 date_accessor :occurred_at |