com.aliyun.sdk.service.apig20240327.models.CreateHttpApiResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-apig20240327 Show documentation
Show all versions of alibabacloud-apig20240327 Show documentation
Alibaba Cloud APIG (20240327) Async SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.apig20240327.models;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link CreateHttpApiResponseBody} extends {@link TeaModel}
*
* CreateHttpApiResponseBody
*/
public class CreateHttpApiResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("code")
private String code;
@com.aliyun.core.annotation.NameInMap("data")
private Data data;
@com.aliyun.core.annotation.NameInMap("message")
private String message;
@com.aliyun.core.annotation.NameInMap("requestId")
private String requestId;
private CreateHttpApiResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
}
public static Builder builder() {
return new Builder();
}
public static CreateHttpApiResponseBody create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
public static final class Builder {
private String code;
private Data data;
private String message;
private String requestId;
/**
* Status code.
*
* example:
* Ok
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* API information.
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Response message.
*
* example:
* success
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* Request ID.
*
* example:
* A1994B10-C6A8-58FA-8347-6A08B0D4EFDE
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
public CreateHttpApiResponseBody build() {
return new CreateHttpApiResponseBody(this);
}
}
/**
*
* {@link CreateHttpApiResponseBody} extends {@link TeaModel}
*
* CreateHttpApiResponseBody
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("httpApiId")
private String httpApiId;
@com.aliyun.core.annotation.NameInMap("name")
private String name;
private Data(Builder builder) {
this.httpApiId = builder.httpApiId;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return httpApiId
*/
public String getHttpApiId() {
return this.httpApiId;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private String httpApiId;
private String name;
/**
* HTTP API ID.
*
* example:
* api-xxx
*/
public Builder httpApiId(String httpApiId) {
this.httpApiId = httpApiId;
return this;
}
/**
* Name of the API.
*
* example:
* test-api
*/
public Builder name(String name) {
this.name = name;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy