com.aliyun.sas20181203.models.PageImageRegistryResponseBody Maven / Gradle / Ivy
Show all versions of sas20181203 Show documentation
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class PageImageRegistryResponseBody extends TeaModel {
/**
* An array that consists of image repositories.
*/
@NameInMap("List")
public java.util.List list;
/**
* The pagination information.
*/
@NameInMap("PageInfo")
public PageImageRegistryResponseBodyPageInfo pageInfo;
/**
* The ID of the request, which is used to locate and troubleshoot issues.
*
* example:
* FDA9E37C-6114-5945-8FF1-E3D4D397****
*/
@NameInMap("RequestId")
public String requestId;
public static PageImageRegistryResponseBody build(java.util.Map map) throws Exception {
PageImageRegistryResponseBody self = new PageImageRegistryResponseBody();
return TeaModel.build(map, self);
}
public PageImageRegistryResponseBody setList(java.util.List list) {
this.list = list;
return this;
}
public java.util.List getList() {
return this.list;
}
public PageImageRegistryResponseBody setPageInfo(PageImageRegistryResponseBodyPageInfo pageInfo) {
this.pageInfo = pageInfo;
return this;
}
public PageImageRegistryResponseBodyPageInfo getPageInfo() {
return this.pageInfo;
}
public PageImageRegistryResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public static class PageImageRegistryResponseBodyList extends TeaModel {
/**
* The IP address blacklist.
*
* example:
* 129.211.XXX.XXX
*/
@NameInMap("BlackList")
public String blackList;
/**
* The domain name of the image repository.
*
* example:
* sinochem.com
*/
@NameInMap("DomainName")
public String domainName;
/**
* The time when the image repository was created. The time is in the yyyy-MM-dd HH:mm:ss format.
*
* example:
* 2022-08-30 10:23:30
*/
@NameInMap("GmtCreate")
public String gmtCreate;
/**
* The time when the image repository was updated. The time is in the yyyy-MM-dd HH:mm:ss format.
*
* example:
* 2022-09-30 10:23:30
*/
@NameInMap("GmtModified")
public String gmtModified;
/**
* The ID of the image repository.
*
* example:
* 1078312
*/
@NameInMap("Id")
public Long id;
/**
* The number of images that are stored in the image repository.
*
* example:
* 1
*/
@NameInMap("ImageCount")
public Integer imageCount;
/**
* The information about the Jenkins environment.
*
* example:
* projectInfo
*/
@NameInMap("JenkinsEnv")
public String jenkinsEnv;
/**
* The network type. Valid values:
*
* - 1: Internet.
* - 2: virtual private cloud (VPC).
*
*
* example:
* 1
*/
@NameInMap("NetType")
public Integer netType;
/**
* The password.
*
* example:
* Harbor******
*/
@NameInMap("Password")
public String password;
/**
* The number of days for which assets are retained.
*
* example:
* 30
*/
@NameInMap("PersistenceDay")
public Integer persistenceDay;
/**
* The type of the protocol. Valid values:
*
* - 1: HTTP.
* - 2: HTTPS.
*
*
* example:
* 1
*/
@NameInMap("ProtocolType")
public Integer protocolType;
/**
* The region ID of the image repository.
*
* example:
* cn-hangzhou
*/
@NameInMap("RegionId")
public String regionId;
/**
* The IP address of the image repository.
*
* example:
* 39.104.XXX.XXX
*/
@NameInMap("RegistryHostIp")
public String registryHostIp;
/**
* The alias of the image repository.
*
* example:
* test1
*/
@NameInMap("RegistryName")
public String registryName;
/**
* The type of the image repository. Valid values:
*
* - acr: Container Registry.
* - harbor: Harbor.
* - quay: Quay.
* - CI/CD: Jenkins.
*
*
* example:
* harbor
*/
@NameInMap("RegistryType")
public String registryType;
/**
* The authentication token of the user.
*
* example:
* c7b90d29-632f-4e58-88b8-00ad77f6****
*/
@NameInMap("Token")
public String token;
/**
* The number of scan tasks that are performed per hour.
*
* example:
* 30
*/
@NameInMap("TransPerHour")
public Integer transPerHour;
/**
* The username.
*
* example:
* RegistryUser
*/
@NameInMap("UserName")
public String userName;
/**
* The VPC ID.
*
* example:
* vpc-5gu8iu68w9b472jbb****
*/
@NameInMap("VpcId")
public String vpcId;
/**
* The IP address whitelist.
*
* example:
* 192.168.XXX.XXX
*/
@NameInMap("WhiteList")
public String whiteList;
public static PageImageRegistryResponseBodyList build(java.util.Map map) throws Exception {
PageImageRegistryResponseBodyList self = new PageImageRegistryResponseBodyList();
return TeaModel.build(map, self);
}
public PageImageRegistryResponseBodyList setBlackList(String blackList) {
this.blackList = blackList;
return this;
}
public String getBlackList() {
return this.blackList;
}
public PageImageRegistryResponseBodyList setDomainName(String domainName) {
this.domainName = domainName;
return this;
}
public String getDomainName() {
return this.domainName;
}
public PageImageRegistryResponseBodyList setGmtCreate(String gmtCreate) {
this.gmtCreate = gmtCreate;
return this;
}
public String getGmtCreate() {
return this.gmtCreate;
}
public PageImageRegistryResponseBodyList setGmtModified(String gmtModified) {
this.gmtModified = gmtModified;
return this;
}
public String getGmtModified() {
return this.gmtModified;
}
public PageImageRegistryResponseBodyList setId(Long id) {
this.id = id;
return this;
}
public Long getId() {
return this.id;
}
public PageImageRegistryResponseBodyList setImageCount(Integer imageCount) {
this.imageCount = imageCount;
return this;
}
public Integer getImageCount() {
return this.imageCount;
}
public PageImageRegistryResponseBodyList setJenkinsEnv(String jenkinsEnv) {
this.jenkinsEnv = jenkinsEnv;
return this;
}
public String getJenkinsEnv() {
return this.jenkinsEnv;
}
public PageImageRegistryResponseBodyList setNetType(Integer netType) {
this.netType = netType;
return this;
}
public Integer getNetType() {
return this.netType;
}
public PageImageRegistryResponseBodyList setPassword(String password) {
this.password = password;
return this;
}
public String getPassword() {
return this.password;
}
public PageImageRegistryResponseBodyList setPersistenceDay(Integer persistenceDay) {
this.persistenceDay = persistenceDay;
return this;
}
public Integer getPersistenceDay() {
return this.persistenceDay;
}
public PageImageRegistryResponseBodyList setProtocolType(Integer protocolType) {
this.protocolType = protocolType;
return this;
}
public Integer getProtocolType() {
return this.protocolType;
}
public PageImageRegistryResponseBodyList setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public PageImageRegistryResponseBodyList setRegistryHostIp(String registryHostIp) {
this.registryHostIp = registryHostIp;
return this;
}
public String getRegistryHostIp() {
return this.registryHostIp;
}
public PageImageRegistryResponseBodyList setRegistryName(String registryName) {
this.registryName = registryName;
return this;
}
public String getRegistryName() {
return this.registryName;
}
public PageImageRegistryResponseBodyList setRegistryType(String registryType) {
this.registryType = registryType;
return this;
}
public String getRegistryType() {
return this.registryType;
}
public PageImageRegistryResponseBodyList setToken(String token) {
this.token = token;
return this;
}
public String getToken() {
return this.token;
}
public PageImageRegistryResponseBodyList setTransPerHour(Integer transPerHour) {
this.transPerHour = transPerHour;
return this;
}
public Integer getTransPerHour() {
return this.transPerHour;
}
public PageImageRegistryResponseBodyList setUserName(String userName) {
this.userName = userName;
return this;
}
public String getUserName() {
return this.userName;
}
public PageImageRegistryResponseBodyList setVpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public String getVpcId() {
return this.vpcId;
}
public PageImageRegistryResponseBodyList setWhiteList(String whiteList) {
this.whiteList = whiteList;
return this;
}
public String getWhiteList() {
return this.whiteList;
}
}
public static class PageImageRegistryResponseBodyPageInfo extends TeaModel {
/**
* The number of entries returned on the current page.
*
* example:
* 20
*/
@NameInMap("Count")
public Integer count;
/**
* The page number of the returned page.
*
* example:
* 1
*/
@NameInMap("CurrentPage")
public Integer currentPage;
/**
* The number of entries returned per page.
*
* example:
* 20
*/
@NameInMap("PageSize")
public Integer pageSize;
/**
* The total number of entries returned.
*
* example:
* 69
*/
@NameInMap("TotalCount")
public Integer totalCount;
public static PageImageRegistryResponseBodyPageInfo build(java.util.Map map) throws Exception {
PageImageRegistryResponseBodyPageInfo self = new PageImageRegistryResponseBodyPageInfo();
return TeaModel.build(map, self);
}
public PageImageRegistryResponseBodyPageInfo setCount(Integer count) {
this.count = count;
return this;
}
public Integer getCount() {
return this.count;
}
public PageImageRegistryResponseBodyPageInfo setCurrentPage(Integer currentPage) {
this.currentPage = currentPage;
return this;
}
public Integer getCurrentPage() {
return this.currentPage;
}
public PageImageRegistryResponseBodyPageInfo setPageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
public Integer getPageSize() {
return this.pageSize;
}
public PageImageRegistryResponseBodyPageInfo setTotalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public Integer getTotalCount() {
return this.totalCount;
}
}
}