Class UserDevice

java.lang.Object
com.mypurecloud.sdk.v2.model.UserDevice
All Implemented Interfaces:
Serializable

public class UserDevice extends Object implements Serializable
UserDevice
See Also:
  • Constructor Details

    • UserDevice

      public UserDevice()
    • UserDevice

      public UserDevice(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

      public UserDevice name(String name)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • deviceToken

      public UserDevice deviceToken(String deviceToken)
      device token sent by mobile clients.
    • getDeviceToken

      public String getDeviceToken()
    • setDeviceToken

      public void setDeviceToken(String deviceToken)
    • notificationId

      public UserDevice notificationId(String notificationId)
      notification id of the device.
    • getNotificationId

      public String getNotificationId()
    • setNotificationId

      public void setNotificationId(String notificationId)
    • make

      public UserDevice make(String make)
      make of the device.
    • getMake

      public String getMake()
    • setMake

      public void setMake(String make)
    • model

      public UserDevice model(String model)
      Device model
    • getModel

      public String getModel()
    • setModel

      public void setModel(String model)
    • acceptNotifications

      public UserDevice acceptNotifications(Boolean acceptNotifications)
      if the device accepts notifications
    • getAcceptNotifications

      public Boolean getAcceptNotifications()
    • setAcceptNotifications

      public void setAcceptNotifications(Boolean acceptNotifications)
    • type

      public UserDevice type(UserDevice.TypeEnum type)
      type of the device; ios or android
    • getType

      public UserDevice.TypeEnum getType()
    • setType

      public void setType(UserDevice.TypeEnum type)
    • sessionHash

      public UserDevice sessionHash(String sessionHash)
    • getSessionHash

      public String getSessionHash()
    • setSessionHash

      public void setSessionHash(String sessionHash)
    • getSelfUri

      public String getSelfUri()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object