类 EMUserSubscriptionResource
java.lang.Object
com.easemob.im.api.model.EMUserSubscriptionResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-19T14:46:11.706022+08:00[Asia/Shanghai]")
public class EMUserSubscriptionResource
extends Object
EMUserSubscriptionResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanstatic EMUserSubscriptionResourceCreate an instance of EMUserSubscriptionResource given an JSON string订阅的过期时间戳,单位为秒getUid()当前订阅的用户总数inthashCode()voidvoidtoJson()Convert an instance of EMUserSubscriptionResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMUserSubscriptionResource
public EMUserSubscriptionResource()
-
-
方法详细资料
-
uid
-
getUid
当前订阅的用户总数- 返回:
- uid
-
setUid
-
expiry
-
getExpiry
订阅的过期时间戳,单位为秒- 返回:
- expiry
-
setExpiry
-
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 EMUserSubscriptionResource
-
fromJson
Create an instance of EMUserSubscriptionResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMUserSubscriptionResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMUserSubscriptionResource
-
toJson
Convert an instance of EMUserSubscriptionResource to an JSON string- 返回:
- JSON string
-