类 EMGetAppGroupResource

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

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

    • SERIALIZED_NAME_OWNER

      public static final String SERIALIZED_NAME_OWNER
      另请参阅:
    • SERIALIZED_NAME_GROUPID

      public static final String SERIALIZED_NAME_GROUPID
      另请参阅:
    • SERIALIZED_NAME_AFFILIATIONS

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

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

      public static final String SERIALIZED_NAME_LAST_MODIFIED
      另请参阅:
    • SERIALIZED_NAME_GROUPNAME

      public static final String SERIALIZED_NAME_GROUPNAME
      另请参阅:
    • SERIALIZED_NAME_CREATED

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

      public static HashSet<String> openapiFields
    • openapiRequiredFields

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

    • EMGetAppGroupResource

      public EMGetAppGroupResource()
  • 方法详细资料

    • owner

      public EMGetAppGroupResource owner(String owner)
    • getOwner

      @Nullable public String getOwner()
      群主的用户 ID
      返回:
      owner
    • setOwner

      public void setOwner(String owner)
    • groupid

      public EMGetAppGroupResource groupid(String groupid)
    • getGroupid

      @Nullable public String getGroupid()
      群组 ID
      返回:
      groupid
    • setGroupid

      public void setGroupid(String groupid)
    • affiliations

      public EMGetAppGroupResource affiliations(Integer affiliations)
    • getAffiliations

      @Nullable public Integer getAffiliations()
      群组现有成员数
      返回:
      affiliations
    • setAffiliations

      public void setAffiliations(Integer affiliations)
    • type

      public EMGetAppGroupResource type(String type)
    • getType

      @Nullable public String getType()
      “group” 群组类型
      返回:
      type
    • setType

      public void setType(String type)
    • lastModified

      public EMGetAppGroupResource lastModified(BigDecimal lastModified)
    • getLastModified

      @Nullable public BigDecimal getLastModified()
      最近一次修改的时间戳,单位为毫秒
      返回:
      lastModified
    • setLastModified

      public void setLastModified(BigDecimal lastModified)
    • groupname

      public EMGetAppGroupResource groupname(String groupname)
    • getGroupname

      @Nullable public String getGroupname()
      群组名称
      返回:
      groupname
    • setGroupname

      public void setGroupname(String groupname)
    • created

      public EMGetAppGroupResource created(BigDecimal created)
    • getCreated

      @Nullable public BigDecimal getCreated()
      群组创建的时间戳,单位为毫秒
      返回:
      created
    • setCreated

      public void setCreated(BigDecimal created)
    • 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 EMGetAppGroupResource
    • fromJson

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

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