![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.vm.v20210922.models.ImageResultsResultDetailLocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Show all versions of tencentcloud-sdk-java-intl-en Show documentation
Tencent Cloud API SDK for Java
/*
* 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.vm.v20210922.models;
import com.tencentcloudapi.common.AbstractModel;
import com.tencentcloudapi.common.SSEResponseModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;
public class ImageResultsResultDetailLocation extends AbstractModel {
/**
* X-coordinate
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("X")
@Expose
private Float X;
/**
* Y-coordinate
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Y")
@Expose
private Float Y;
/**
* Width
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Width")
@Expose
private Long Width;
/**
* Height
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Height")
@Expose
private Long Height;
/**
* Rotation angle
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("Rotate")
@Expose
private Float Rotate;
/**
* Get X-coordinate
Note: This field may return null, indicating that no valid values can be obtained.
* @return X X-coordinate
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Float getX() {
return this.X;
}
/**
* Set X-coordinate
Note: This field may return null, indicating that no valid values can be obtained.
* @param X X-coordinate
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setX(Float X) {
this.X = X;
}
/**
* Get Y-coordinate
Note: This field may return null, indicating that no valid values can be obtained.
* @return Y Y-coordinate
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Float getY() {
return this.Y;
}
/**
* Set Y-coordinate
Note: This field may return null, indicating that no valid values can be obtained.
* @param Y Y-coordinate
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setY(Float Y) {
this.Y = Y;
}
/**
* Get Width
Note: This field may return null, indicating that no valid values can be obtained.
* @return Width Width
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getWidth() {
return this.Width;
}
/**
* Set Width
Note: This field may return null, indicating that no valid values can be obtained.
* @param Width Width
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setWidth(Long Width) {
this.Width = Width;
}
/**
* Get Height
Note: This field may return null, indicating that no valid values can be obtained.
* @return Height Height
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getHeight() {
return this.Height;
}
/**
* Set Height
Note: This field may return null, indicating that no valid values can be obtained.
* @param Height Height
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setHeight(Long Height) {
this.Height = Height;
}
/**
* Get Rotation angle
Note: This field may return null, indicating that no valid values can be obtained.
* @return Rotate Rotation angle
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Float getRotate() {
return this.Rotate;
}
/**
* Set Rotation angle
Note: This field may return null, indicating that no valid values can be obtained.
* @param Rotate Rotation angle
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setRotate(Float Rotate) {
this.Rotate = Rotate;
}
public ImageResultsResultDetailLocation() {
}
/**
* 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 ImageResultsResultDetailLocation(ImageResultsResultDetailLocation source) {
if (source.X != null) {
this.X = new Float(source.X);
}
if (source.Y != null) {
this.Y = new Float(source.Y);
}
if (source.Width != null) {
this.Width = new Long(source.Width);
}
if (source.Height != null) {
this.Height = new Long(source.Height);
}
if (source.Rotate != null) {
this.Rotate = new Float(source.Rotate);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "X", this.X);
this.setParamSimple(map, prefix + "Y", this.Y);
this.setParamSimple(map, prefix + "Width", this.Width);
this.setParamSimple(map, prefix + "Height", this.Height);
this.setParamSimple(map, prefix + "Rotate", this.Rotate);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy