com.aliyun.sdk.service.httpdns20160201.models.DescribeDomainsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-httpdns20160201 Show documentation
Show all versions of alibabacloud-httpdns20160201 Show documentation
Alibaba Cloud Httpdns (20160201) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.httpdns20160201.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeDomainsResponseBody} extends {@link TeaModel}
*
* DescribeDomainsResponseBody
*/
public class DescribeDomainsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Domains")
private Domains domains;
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Long pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Long pageSize;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Long totalCount;
private DescribeDomainsResponseBody(Builder builder) {
this.domains = builder.domains;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDomainsResponseBody create() {
return builder().build();
}
/**
* @return domains
*/
public Domains getDomains() {
return this.domains;
}
/**
* @return pageNumber
*/
public Long getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Long getPageSize() {
return this.pageSize;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Long getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private Domains domains;
private Long pageNumber;
private Long pageSize;
private String requestId;
private Long totalCount;
/**
* Domains.
*/
public Builder domains(Domains domains) {
this.domains = domains;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Long pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Long totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeDomainsResponseBody build() {
return new DescribeDomainsResponseBody(this);
}
}
public static class Domain extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DomainName")
private String domainName;
private Domain(Builder builder) {
this.domainName = builder.domainName;
}
public static Builder builder() {
return new Builder();
}
public static Domain create() {
return builder().build();
}
/**
* @return domainName
*/
public String getDomainName() {
return this.domainName;
}
public static final class Builder {
private String domainName;
/**
* DomainName.
*/
public Builder domainName(String domainName) {
this.domainName = domainName;
return this;
}
public Domain build() {
return new Domain(this);
}
}
}
public static class Domains extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Domain")
private java.util.List < Domain> domain;
private Domains(Builder builder) {
this.domain = builder.domain;
}
public static Builder builder() {
return new Builder();
}
public static Domains create() {
return builder().build();
}
/**
* @return domain
*/
public java.util.List < Domain> getDomain() {
return this.domain;
}
public static final class Builder {
private java.util.List < Domain> domain;
/**
* Domain.
*/
public Builder domain(java.util.List < Domain> domain) {
this.domain = domain;
return this;
}
public Domains build() {
return new Domains(this);
}
}
}
}