类 EMDeviceResource
java.lang.Object
com.easemob.im.api.model.EMDeviceResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMDeviceResource
extends Object
EMDeviceResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明deviceName(String deviceName) deviceUuid(String deviceUuid) booleanstatic EMDeviceResourceCreate an instance of EMDeviceResource given an JSON string已登录设备的名称已登录设备的 UUIDgetRes()已登录设备的资源 ID,即服务器分配给每个设备资源的唯一标识符inthashCode()voidsetDeviceName(String deviceName) voidsetDeviceUuid(String deviceUuid) voidtoJson()Convert an instance of EMDeviceResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMDeviceResource
public EMDeviceResource()
-
-
方法详细资料
-
res
-
getRes
已登录设备的资源 ID,即服务器分配给每个设备资源的唯一标识符- 返回:
- res
-
setRes
-
deviceUuid
-
getDeviceUuid
已登录设备的 UUID- 返回:
- deviceUuid
-
setDeviceUuid
-
deviceName
-
getDeviceName
已登录设备的名称- 返回:
- deviceName
-
setDeviceName
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- 参数:
jsonElement- JSON Element- 抛出:
IOException- if the JSON Element is invalid with respect to EMDeviceResource
-
fromJson
Create an instance of EMDeviceResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMDeviceResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMDeviceResource
-
toJson
Convert an instance of EMDeviceResource to an JSON string- 返回:
- JSON string
-