com.aliyun.sdk.service.cloudapi20160701.models.RefreshDomainResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Show all versions of alibabacloud-cloudapi20160701 Show documentation
Alibaba Cloud CloudAPI (20160701) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cloudapi20160701.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link RefreshDomainResponse} extends {@link TeaModel}
*
* RefreshDomainResponse
*/
public class RefreshDomainResponse extends Response {
@NameInMap("headers")
@Validation(required = true)
private java.util.Map < String, String > headers;
@NameInMap("statusCode")
@Validation(required = true)
private Integer statusCode;
@NameInMap("body")
@Validation(required = true)
private RefreshDomainResponseBody body;
private RefreshDomainResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static RefreshDomainResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map < String, String > getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public RefreshDomainResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder {
Builder headers(java.util.Map < String, String > headers);
Builder statusCode(Integer statusCode);
Builder body(RefreshDomainResponseBody body);
@Override
RefreshDomainResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl
implements Builder {
private java.util.Map < String, String > headers;
private Integer statusCode;
private RefreshDomainResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(RefreshDomainResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map < String, String > headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(RefreshDomainResponseBody body) {
this.body = body;
return this;
}
@Override
public RefreshDomainResponse build() {
return new RefreshDomainResponse(this);
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy