类 EMModifyRoomAnnouncement

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]") public class EMModifyRoomAnnouncement extends Object
EMModifyRoomAnnouncement
  • 字段详细资料

    • SERIALIZED_NAME_ANNOUNCEMENT

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMModifyRoomAnnouncement

      public EMModifyRoomAnnouncement()
  • 方法详细资料

    • announcement

      public EMModifyRoomAnnouncement announcement(String announcement)
    • getAnnouncement

      @Nullable public String getAnnouncement()
      修改后的聊天室公告
      返回:
      announcement
    • setAnnouncement

      public void setAnnouncement(String announcement)
    • 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 EMModifyRoomAnnouncement
    • fromJson

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

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