public class ImageInfo extends AbstractModel
header, skipSign
Constructor and Description |
---|
ImageInfo() |
ImageInfo(ImageInfo source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getHeight()
Get 图片高度,单位为像素。
|
Long |
getSize()
Get 图片数据大小,单位:字节。
|
Long |
getType()
Get 图片类型:
1-原图
2-大图
3-缩略图
|
String |
getURL()
Get 图片下载地址。
|
Long |
getWidth()
Get 图片宽度,单位为像素。
|
void |
setHeight(Long Height)
Set 图片高度,单位为像素。
|
void |
setSize(Long Size)
Set 图片数据大小,单位:字节。
|
void |
setType(Long Type)
Set 图片类型:
1-原图
2-大图
3-缩略图
|
void |
setURL(String URL)
Set 图片下载地址。
|
void |
setWidth(Long Width)
Set 图片宽度,单位为像素。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ImageInfo()
public ImageInfo(ImageInfo source)
public Long getType()
public void setType(Long Type)
Type
- 图片类型:
1-原图
2-大图
3-缩略图public Long getSize()
public void setSize(Long Size)
Size
- 图片数据大小,单位:字节。public Long getWidth()
public void setWidth(Long Width)
Width
- 图片宽度,单位为像素。public Long getHeight()
public void setHeight(Long Height)
Height
- 图片高度,单位为像素。public String getURL()
public void setURL(String URL)
URL
- 图片下载地址。Copyright © 2024. All rights reserved.