SunshineConversationsClient::Device

August 27, 2025 ยท View on GitHub

Properties

NameTypeDescriptionNotes
idStringThe unique ID of the device.[optional]
typeStringThe type of integration that the device represents.[optional]
guidStringA unique identifier for the device, generated client-side by the SDK.[optional]
client_idStringThe id of the client to which this device is associated.[optional]
statusStringThe device status. Indicates if the device will receive push notifications or not.[optional]
integration_idStringThe ID of the integration that the device was created for.[optional]
last_seenStringA datetime string with the format YYYY-MM-DDThh:mm:ss.SSSZ representing the last time the user interacted with this device.[optional]
push_notification_tokenStringThe token used for push notifications on Android and iOS devices.[optional]
infoHash<String, Object>A flat curated object with properties that vary for each SDK platform. All keys are optional and not guaranteed to be available.[optional]
app_versionStringVersion of the mobile app in which the SDK is embedded. Not applicable for devices of type web.[optional]

Example

require 'sunshine-conversations-client'

instance = SunshineConversationsClient::Device.new(
  id: de13bee15b51033b34162411,
  type: null,
  guid: null,
  client_id: null,
  status: null,
  integration_id: null,
  last_seen: null,
  push_notification_token: null,
  info: null,
  app_version: null
)