类 EMUploadChatFileResource
java.lang.Object
com.easemob.im.api.model.EMUploadChatFileResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMUploadChatFileResource
extends Object
EMUploadChatFileResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanstatic EMUploadChatFileResourceCreate an instance of EMUploadChatFileResource given an JSON string文件访问密钥。getType()文件类型,为固定值 chatfilegetUuid()文件 ID,即时通讯服务分配给该文件的唯一标识符。inthashCode()voidsetShareSecret(String shareSecret) voidvoidshareSecret(String shareSecret) toJson()Convert an instance of EMUploadChatFileResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMUploadChatFileResource
public EMUploadChatFileResource()
-
-
方法详细资料
-
uuid
-
getUuid
文件 ID,即时通讯服务分配给该文件的唯一标识符。该参数在发送消息时需用到- 返回:
- uuid
-
setUuid
-
type
-
getType
文件类型,为固定值 chatfile- 返回:
- type
-
setType
-
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 EMUploadChatFileResource
-
fromJson
Create an instance of EMUploadChatFileResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMUploadChatFileResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMUploadChatFileResource
-
toJson
Convert an instance of EMUploadChatFileResource to an JSON string- 返回:
- JSON string
-