
com.tencentcloudapi.ivld.v20210903.models.ImageMetadata Maven / Gradle / Ivy
/*
* Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.tencentcloudapi.ivld.v20210903.models;
import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ImageMetadata extends AbstractModel{
/**
* 媒资图片文件大小,单位为Byte
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("FileSize")
@Expose
private Long FileSize;
/**
* 媒资图片文件MD5
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("MD5")
@Expose
private String MD5;
/**
* 媒资图片文件宽度
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Width")
@Expose
private Long Width;
/**
* 媒资图片文件高度
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Height")
@Expose
private Long Height;
/**
* 媒资图片文件格式
注意:此字段可能返回 null,表示取不到有效值。
*/
@SerializedName("Format")
@Expose
private String Format;
/**
* Get 媒资图片文件大小,单位为Byte
注意:此字段可能返回 null,表示取不到有效值。
* @return FileSize 媒资图片文件大小,单位为Byte
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getFileSize() {
return this.FileSize;
}
/**
* Set 媒资图片文件大小,单位为Byte
注意:此字段可能返回 null,表示取不到有效值。
* @param FileSize 媒资图片文件大小,单位为Byte
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setFileSize(Long FileSize) {
this.FileSize = FileSize;
}
/**
* Get 媒资图片文件MD5
注意:此字段可能返回 null,表示取不到有效值。
* @return MD5 媒资图片文件MD5
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getMD5() {
return this.MD5;
}
/**
* Set 媒资图片文件MD5
注意:此字段可能返回 null,表示取不到有效值。
* @param MD5 媒资图片文件MD5
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setMD5(String MD5) {
this.MD5 = MD5;
}
/**
* Get 媒资图片文件宽度
注意:此字段可能返回 null,表示取不到有效值。
* @return Width 媒资图片文件宽度
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getWidth() {
return this.Width;
}
/**
* Set 媒资图片文件宽度
注意:此字段可能返回 null,表示取不到有效值。
* @param Width 媒资图片文件宽度
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setWidth(Long Width) {
this.Width = Width;
}
/**
* Get 媒资图片文件高度
注意:此字段可能返回 null,表示取不到有效值。
* @return Height 媒资图片文件高度
注意:此字段可能返回 null,表示取不到有效值。
*/
public Long getHeight() {
return this.Height;
}
/**
* Set 媒资图片文件高度
注意:此字段可能返回 null,表示取不到有效值。
* @param Height 媒资图片文件高度
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setHeight(Long Height) {
this.Height = Height;
}
/**
* Get 媒资图片文件格式
注意:此字段可能返回 null,表示取不到有效值。
* @return Format 媒资图片文件格式
注意:此字段可能返回 null,表示取不到有效值。
*/
public String getFormat() {
return this.Format;
}
/**
* Set 媒资图片文件格式
注意:此字段可能返回 null,表示取不到有效值。
* @param Format 媒资图片文件格式
注意:此字段可能返回 null,表示取不到有效值。
*/
public void setFormat(String Format) {
this.Format = Format;
}
public ImageMetadata() {
}
/**
* 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.
*/
public ImageMetadata(ImageMetadata source) {
if (source.FileSize != null) {
this.FileSize = new Long(source.FileSize);
}
if (source.MD5 != null) {
this.MD5 = new String(source.MD5);
}
if (source.Width != null) {
this.Width = new Long(source.Width);
}
if (source.Height != null) {
this.Height = new Long(source.Height);
}
if (source.Format != null) {
this.Format = new String(source.Format);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "FileSize", this.FileSize);
this.setParamSimple(map, prefix + "MD5", this.MD5);
this.setParamSimple(map, prefix + "Width", this.Width);
this.setParamSimple(map, prefix + "Height", this.Height);
this.setParamSimple(map, prefix + "Format", this.Format);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy