类 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
  • 字段详细资料

    • SERIALIZED_NAME_TYPE

      public static final String SERIALIZED_NAME_TYPE
      另请参阅:
    • SERIALIZED_NAME_IGNORE_DURATION

      public static final String SERIALIZED_NAME_IGNORE_DURATION
      另请参阅:
    • SERIALIZED_NAME_IGNORE_INTERVAL

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMOfflinePushNewResource

      public EMOfflinePushNewResource()
  • 方法详细资料

    • type

      public EMOfflinePushNewResource type(String type)
    • getType

      @Nullable public String getType()
      离线推送通知方式
      返回:
      type
    • setType

      public void setType(String type)
    • ignoreDuration

      public EMOfflinePushNewResource ignoreDuration(BigDecimal ignoreDuration)
    • getIgnoreDuration

      @Nullable public BigDecimal getIgnoreDuration()
      离线推送免打扰时长
      返回:
      ignoreDuration
    • setIgnoreDuration

      public void setIgnoreDuration(BigDecimal ignoreDuration)
    • ignoreInterval

      public EMOfflinePushNewResource ignoreInterval(String ignoreInterval)
    • getIgnoreInterval

      @Nullable public String getIgnoreInterval()
      离线推送免打扰时间段
      返回:
      ignoreInterval
    • setIgnoreInterval

      public void setIgnoreInterval(String ignoreInterval)
    • 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 EMOfflinePushNewResource
    • fromJson

      public static EMOfflinePushNewResource fromJson(String jsonString) throws IOException
      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

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