类 EMGetHistoryMessageResource
java.lang.Object
com.easemob.im.api.model.EMGetHistoryMessageResource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMGetHistoryMessageResource
extends Object
EMGetHistoryMessageResource
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanstatic EMGetHistoryMessageResourceCreate an instance of EMGetHistoryMessageResource given an JSON stringgetUrl()历史消息记录的下载地址。inthashCode()voidtoJson()Convert an instance of EMGetHistoryMessageResource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
SERIALIZED_NAME_URL
- 另请参阅:
-
openapiFields
-
openapiRequiredFields
-
-
构造器详细资料
-
EMGetHistoryMessageResource
public EMGetHistoryMessageResource()
-
-
方法详细资料
-
url
-
getUrl
历史消息记录的下载地址。该 URL 由历史消息记录的存储地址、到期 Unix 时间戳(Expires,单位为秒)、第三方云存储访问密钥(OSSAccessKeyId)和第三方云存储验证签名(Signature)组成。URL 仅在一定时间内有效,请及时通过 URL 下载聊天记录文件,URL 过期后会下载失败,需要重新调用该接口获取新的 URL- 返回:
- url
-
setUrl
-
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 EMGetHistoryMessageResource
-
fromJson
Create an instance of EMGetHistoryMessageResource given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMGetHistoryMessageResource
- 抛出:
IOException- if the JSON string is invalid with respect to EMGetHistoryMessageResource
-
toJson
Convert an instance of EMGetHistoryMessageResource to an JSON string- 返回:
- JSON string
-