Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.16 KB

File metadata and controls

34 lines (28 loc) · 1.16 KB

Bandwidth::EndpointEvent

Properties

Name Type Description Notes
endpoint_id String The unique ID of the endpoint.
type EndpointTypeEnum
status EndpointStatusEnum
creation_timestamp Time The time the endpoint was created. In ISO-8601 format.
expiration_timestamp Time The time the endpoint token will expire. In ISO-8601 format. Tokens last 24 hours.
tag String A tag for the endpoint. [optional]
event_time Time The time the event occurred. In ISO-8601 format.
event_type EndpointEventTypeEnum
device Device [optional]

Example

require 'bandwidth-sdk'

instance = Bandwidth::EndpointEvent.new(
  endpoint_id: e-15ac29a2-1331029c-2cb0-4a07-b215-b22865662d85,
  type: null,
  status: null,
  creation_timestamp: 2021-01-01T00:00Z,
  expiration_timestamp: 2021-01-02T00:00Z,
  tag: my-tag,
  event_time: 2021-01-01T00:00Z,
  event_type: null,
  device: null
)