类 EMPushBindingInfoResource

java.lang.Object
com.easemob.im.api.model.EMPushBindingInfoResource

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-02-19T14:46:11.706022+08:00[Asia/Shanghai]") public class EMPushBindingInfoResource extends Object
EMPushBindingInfoResource
  • 字段详细资料

    • SERIALIZED_NAME_DEVICE_ID

      public static final String SERIALIZED_NAME_DEVICE_ID
      另请参阅:
    • SERIALIZED_NAME_DEVICE_TOKEN

      public static final String SERIALIZED_NAME_DEVICE_TOKEN
      另请参阅:
    • SERIALIZED_NAME_NOTIFIER_NAME

      public static final String SERIALIZED_NAME_NOTIFIER_NAME
      另请参阅:
    • openapiFields

      public static HashSet<String> openapiFields
    • openapiRequiredFields

      public static HashSet<String> openapiRequiredFields
  • 构造器详细资料

    • EMPushBindingInfoResource

      public EMPushBindingInfoResource()
  • 方法详细资料

    • deviceId

      public EMPushBindingInfoResource deviceId(String deviceId)
    • getDeviceId

      @Nullable public String getDeviceId()
      移动端设备标识,服务端用于识别设备,进行推送信息的绑定和解绑
      返回:
      deviceId
    • setDeviceId

      public void setDeviceId(String deviceId)
    • deviceToken

      public EMPushBindingInfoResource deviceToken(String deviceToken)
    • getDeviceToken

      @Nullable public String getDeviceToken()
      推送设备 token
      返回:
      deviceToken
    • setDeviceToken

      public void setDeviceToken(String deviceToken)
    • notifierName

      public EMPushBindingInfoResource notifierName(String notifierName)
    • getNotifierName

      @Nullable public String getNotifierName()
      推送证书名称
      返回:
      notifierName
    • setNotifierName

      public void setNotifierName(String notifierName)
    • equals

      public boolean equals(Object o)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Validates the JSON Element and throws an exception if issues found
      参数:
      jsonElement - JSON Element
      抛出:
      IOException - if the JSON Element is invalid with respect to EMPushBindingInfoResource
    • fromJson

      public static EMPushBindingInfoResource fromJson(String jsonString) throws IOException
      Create an instance of EMPushBindingInfoResource given an JSON string
      参数:
      jsonString - JSON string
      返回:
      An instance of EMPushBindingInfoResource
      抛出:
      IOException - if the JSON string is invalid with respect to EMPushBindingInfoResource
    • toJson

      public String toJson()
      Convert an instance of EMPushBindingInfoResource to an JSON string
      返回:
      JSON string