类 EMImageSize
java.lang.Object
com.easemob.im.api.model.EMImageSize
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-01-25T14:51:53.998371+08:00[Asia/Shanghai]")
public class EMImageSize
extends Object
图片尺寸,单位为像素
-
嵌套类概要
嵌套类 -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleanstatic EMImageSizeCreate an instance of EMImageSize given an JSON string图片高度getWidth()图片宽度inthashCode()voidvoidtoJson()Convert an instance of EMImageSize to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
字段详细资料
-
构造器详细资料
-
EMImageSize
public EMImageSize()
-
-
方法详细资料
-
height
-
getHeight
图片高度- 返回:
- height
-
setHeight
-
width
-
getWidth
图片宽度- 返回:
- width
-
setWidth
-
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 EMImageSize
-
fromJson
Create an instance of EMImageSize given an JSON string- 参数:
jsonString- JSON string- 返回:
- An instance of EMImageSize
- 抛出:
IOException- if the JSON string is invalid with respect to EMImageSize
-
toJson
Convert an instance of EMImageSize to an JSON string- 返回:
- JSON string
-