类 EMOfflinePushNewResource
java.lang.Object
com.easemob.im.api.model.EMOfflinePushNewResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-19T14:46:11.706022+08:00[Asia/Shanghai]")
public class EMOfflinePushNewResource
extends Object
EMOfflinePushNewResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanstatic EMOfflinePushNewResourceCreate an instance of EMOfflinePushNewResource given an JSON string离线推送免打扰时长离线推送免打扰时间段getType()离线推送通知方式inthashCode()ignoreDuration(BigDecimal ignoreDuration) ignoreInterval(String ignoreInterval) voidsetIgnoreDuration(BigDecimal ignoreDuration) voidsetIgnoreInterval(String ignoreInterval) voidtoJson()Convert an instance of EMOfflinePushNewResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMOfflinePushNewResource
public EMOfflinePushNewResource()
-
-
方法详细资料
-
type
-
getType
离线推送通知方式- 返回:
- type
-
setType
-
ignoreDuration
-
getIgnoreDuration
离线推送免打扰时长- 返回:
- ignoreDuration
-
setIgnoreDuration
-
ignoreInterval
-
getIgnoreInterval
离线推送免打扰时间段- 返回:
- ignoreInterval
-
setIgnoreInterval
-
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 EMOfflinePushNewResource
-
fromJson
Create an instance of EMOfflinePushNewResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMOfflinePushNewResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMOfflinePushNewResource
-
toJson
Convert an instance of EMOfflinePushNewResource to an JSON string- 返回:
- JSON string
-