![JAR search and dependency download from the Maven repository](/logo.png)
com.tencentcloudapi.tcss.v20201101.models.DescribeAssetImageRegistryScanStatusOneKeyResponse 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 DescribeAssetImageRegistryScanStatusOneKeyResponse extends AbstractModel {
/**
* Number of images
*/
@SerializedName("ImageTotal")
@Expose
private Long ImageTotal;
/**
* Number of scanned images
*/
@SerializedName("ImageScanCnt")
@Expose
private Long ImageScanCnt;
/**
* Scanning progress list
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ImageStatus")
@Expose
private ImageProgress [] ImageStatus;
/**
* Number of successfully scanned images
*/
@SerializedName("SuccessCount")
@Expose
private Long SuccessCount;
/**
* Number of risks
*/
@SerializedName("RiskCount")
@Expose
private Long RiskCount;
/**
* Scanning progress
*/
@SerializedName("Schedule")
@Expose
private Long Schedule;
/**
* Scanning status
*/
@SerializedName("Status")
@Expose
private String Status;
/**
* Remaining scan time
Note: This field may return null, indicating that no valid values can be obtained.
*/
@SerializedName("ScanRemainTime")
@Expose
private Long ScanRemainTime;
/**
* The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
@SerializedName("RequestId")
@Expose
private String RequestId;
/**
* Get Number of images
* @return ImageTotal Number of images
*/
public Long getImageTotal() {
return this.ImageTotal;
}
/**
* Set Number of images
* @param ImageTotal Number of images
*/
public void setImageTotal(Long ImageTotal) {
this.ImageTotal = ImageTotal;
}
/**
* Get Number of scanned images
* @return ImageScanCnt Number of scanned images
*/
public Long getImageScanCnt() {
return this.ImageScanCnt;
}
/**
* Set Number of scanned images
* @param ImageScanCnt Number of scanned images
*/
public void setImageScanCnt(Long ImageScanCnt) {
this.ImageScanCnt = ImageScanCnt;
}
/**
* Get Scanning progress list
Note: This field may return null, indicating that no valid values can be obtained.
* @return ImageStatus Scanning progress list
Note: This field may return null, indicating that no valid values can be obtained.
*/
public ImageProgress [] getImageStatus() {
return this.ImageStatus;
}
/**
* Set Scanning progress list
Note: This field may return null, indicating that no valid values can be obtained.
* @param ImageStatus Scanning progress list
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setImageStatus(ImageProgress [] ImageStatus) {
this.ImageStatus = ImageStatus;
}
/**
* Get Number of successfully scanned images
* @return SuccessCount Number of successfully scanned images
*/
public Long getSuccessCount() {
return this.SuccessCount;
}
/**
* Set Number of successfully scanned images
* @param SuccessCount Number of successfully scanned images
*/
public void setSuccessCount(Long SuccessCount) {
this.SuccessCount = SuccessCount;
}
/**
* Get Number of risks
* @return RiskCount Number of risks
*/
public Long getRiskCount() {
return this.RiskCount;
}
/**
* Set Number of risks
* @param RiskCount Number of risks
*/
public void setRiskCount(Long RiskCount) {
this.RiskCount = RiskCount;
}
/**
* Get Scanning progress
* @return Schedule Scanning progress
*/
public Long getSchedule() {
return this.Schedule;
}
/**
* Set Scanning progress
* @param Schedule Scanning progress
*/
public void setSchedule(Long Schedule) {
this.Schedule = Schedule;
}
/**
* Get Scanning status
* @return Status Scanning status
*/
public String getStatus() {
return this.Status;
}
/**
* Set Scanning status
* @param Status Scanning status
*/
public void setStatus(String Status) {
this.Status = Status;
}
/**
* Get Remaining scan time
Note: This field may return null, indicating that no valid values can be obtained.
* @return ScanRemainTime Remaining scan time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public Long getScanRemainTime() {
return this.ScanRemainTime;
}
/**
* Set Remaining scan time
Note: This field may return null, indicating that no valid values can be obtained.
* @param ScanRemainTime Remaining scan time
Note: This field may return null, indicating that no valid values can be obtained.
*/
public void setScanRemainTime(Long ScanRemainTime) {
this.ScanRemainTime = ScanRemainTime;
}
/**
* Get The unique request ID, which is returned for each request. RequestId is required for locating a problem.
* @return RequestId The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
public String getRequestId() {
return this.RequestId;
}
/**
* Set The unique request ID, which is returned for each request. RequestId is required for locating a problem.
* @param RequestId The unique request ID, which is returned for each request. RequestId is required for locating a problem.
*/
public void setRequestId(String RequestId) {
this.RequestId = RequestId;
}
public DescribeAssetImageRegistryScanStatusOneKeyResponse() {
}
/**
* 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 DescribeAssetImageRegistryScanStatusOneKeyResponse(DescribeAssetImageRegistryScanStatusOneKeyResponse source) {
if (source.ImageTotal != null) {
this.ImageTotal = new Long(source.ImageTotal);
}
if (source.ImageScanCnt != null) {
this.ImageScanCnt = new Long(source.ImageScanCnt);
}
if (source.ImageStatus != null) {
this.ImageStatus = new ImageProgress[source.ImageStatus.length];
for (int i = 0; i < source.ImageStatus.length; i++) {
this.ImageStatus[i] = new ImageProgress(source.ImageStatus[i]);
}
}
if (source.SuccessCount != null) {
this.SuccessCount = new Long(source.SuccessCount);
}
if (source.RiskCount != null) {
this.RiskCount = new Long(source.RiskCount);
}
if (source.Schedule != null) {
this.Schedule = new Long(source.Schedule);
}
if (source.Status != null) {
this.Status = new String(source.Status);
}
if (source.ScanRemainTime != null) {
this.ScanRemainTime = new Long(source.ScanRemainTime);
}
if (source.RequestId != null) {
this.RequestId = new String(source.RequestId);
}
}
/**
* Internal implementation, normal users should not use it.
*/
public void toMap(HashMap map, String prefix) {
this.setParamSimple(map, prefix + "ImageTotal", this.ImageTotal);
this.setParamSimple(map, prefix + "ImageScanCnt", this.ImageScanCnt);
this.setParamArrayObj(map, prefix + "ImageStatus.", this.ImageStatus);
this.setParamSimple(map, prefix + "SuccessCount", this.SuccessCount);
this.setParamSimple(map, prefix + "RiskCount", this.RiskCount);
this.setParamSimple(map, prefix + "Schedule", this.Schedule);
this.setParamSimple(map, prefix + "Status", this.Status);
this.setParamSimple(map, prefix + "ScanRemainTime", this.ScanRemainTime);
this.setParamSimple(map, prefix + "RequestId", this.RequestId);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy