![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.tcss.v20201101.models.ImageInfo 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.tcss.v20201101.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 ImageInfo extends AbstractModel {
/**
* Instance name
*/
@SerializedName("InstanceName")
@Expose
private String InstanceName;
/**
* Namespace
*/
@SerializedName("Namespace")
@Expose
private String Namespace;
/**
* Image name
*/
@SerializedName("ImageName")
@Expose
private String ImageName;
/**
* Image tag
*/
@SerializedName("ImageTag")
@Expose
private String ImageTag;
/**
* Forced scan
*/
@SerializedName("Force")
@Expose
private String Force;
/**
* Image ID
*/
@SerializedName("ImageDigest")
@Expose
private String ImageDigest;
/**
* Repository type
*/
@SerializedName("RegistryType")
@Expose
private String RegistryType;
/**
* Image repository address
*/
@SerializedName("ImageRepoAddress")
@Expose
private String ImageRepoAddress;
/**
* Instance ID
*/
@SerializedName("InstanceId")
@Expose
private String InstanceId;
/**
* Get Instance name
* @return InstanceName Instance name
*/
public String getInstanceName() {
return this.InstanceName;
}
/**
* Set Instance name
* @param InstanceName Instance name
*/
public void setInstanceName(String InstanceName) {
this.InstanceName = InstanceName;
}
/**
* Get Namespace
* @return Namespace Namespace
*/
public String getNamespace() {
return this.Namespace;
}
/**
* Set Namespace
* @param Namespace Namespace
*/
public void setNamespace(String Namespace) {
this.Namespace = Namespace;
}
/**
* Get Image name
* @return ImageName Image name
*/
public String getImageName() {
return this.ImageName;
}
/**
* Set Image name
* @param ImageName Image name
*/
public void setImageName(String ImageName) {
this.ImageName = ImageName;
}
/**
* Get Image tag
* @return ImageTag Image tag
*/
public String getImageTag() {
return this.ImageTag;
}
/**
* Set Image tag
* @param ImageTag Image tag
*/
public void setImageTag(String ImageTag) {
this.ImageTag = ImageTag;
}
/**
* Get Forced scan
* @return Force Forced scan
*/
public String getForce() {
return this.Force;
}
/**
* Set Forced scan
* @param Force Forced scan
*/
public void setForce(String Force) {
this.Force = Force;
}
/**
* Get Image ID
* @return ImageDigest Image ID
*/
public String getImageDigest() {
return this.ImageDigest;
}
/**
* Set Image ID
* @param ImageDigest Image ID
*/
public void setImageDigest(String ImageDigest) {
this.ImageDigest = ImageDigest;
}
/**
* Get Repository type
* @return RegistryType Repository type
*/
public String getRegistryType() {
return this.RegistryType;
}
/**
* Set Repository type
* @param RegistryType Repository type
*/
public void setRegistryType(String RegistryType) {
this.RegistryType = RegistryType;
}
/**
* Get Image repository address
* @return ImageRepoAddress Image repository address
*/
public String getImageRepoAddress() {
return this.ImageRepoAddress;
}
/**
* Set Image repository address
* @param ImageRepoAddress Image repository address
*/
public void setImageRepoAddress(String ImageRepoAddress) {
this.ImageRepoAddress = ImageRepoAddress;
}
/**
* Get Instance ID
* @return InstanceId Instance ID
*/
public String getInstanceId() {
return this.InstanceId;
}
/**
* Set Instance ID
* @param InstanceId Instance ID
*/
public void setInstanceId(String InstanceId) {
this.InstanceId = InstanceId;
}
public ImageInfo() {
}
/**
* 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 ImageInfo(ImageInfo source) {
if (source.InstanceName != null) {
this.InstanceName = new String(source.InstanceName);
}
if (source.Namespace != null) {
this.Namespace = new String(source.Namespace);
}
if (source.ImageName != null) {
this.ImageName = new String(source.ImageName);
}
if (source.ImageTag != null) {
this.ImageTag = new String(source.ImageTag);
}
if (source.Force != null) {
this.Force = new String(source.Force);
}
if (source.ImageDigest != null) {
this.ImageDigest = new String(source.ImageDigest);
}
if (source.RegistryType != null) {
this.RegistryType = new String(source.RegistryType);
}
if (source.ImageRepoAddress != null) {
this.ImageRepoAddress = new String(source.ImageRepoAddress);
}
if (source.InstanceId != null) {
this.InstanceId = new String(source.InstanceId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "InstanceName", this.InstanceName);
this.setParamSimple(map, prefix + "Namespace", this.Namespace);
this.setParamSimple(map, prefix + "ImageName", this.ImageName);
this.setParamSimple(map, prefix + "ImageTag", this.ImageTag);
this.setParamSimple(map, prefix + "Force", this.Force);
this.setParamSimple(map, prefix + "ImageDigest", this.ImageDigest);
this.setParamSimple(map, prefix + "RegistryType", this.RegistryType);
this.setParamSimple(map, prefix + "ImageRepoAddress", this.ImageRepoAddress);
this.setParamSimple(map, prefix + "InstanceId", this.InstanceId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy