All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.apig20240327.models.GetHttpApiResponseBody Maven / Gradle / Ivy

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 GetHttpApiResponseBody} extends {@link TeaModel}
 *
 * 

GetHttpApiResponseBody

*/ public class GetHttpApiResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("code") private String code; @com.aliyun.core.annotation.NameInMap("data") private HttpApiApiInfo data; @com.aliyun.core.annotation.NameInMap("message") private String message; @com.aliyun.core.annotation.NameInMap("requestId") private String requestId; private GetHttpApiResponseBody(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 GetHttpApiResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public HttpApiApiInfo 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 HttpApiApiInfo data; private String message; private String requestId; /** *

Response status code.

* * example: *

Ok

*/ public Builder code(String code) { this.code = code; return this; } /** *

API information.

*/ public Builder data(HttpApiApiInfo data) { this.data = data; return this; } /** *

Response message.

* * example: *

success

*/ public Builder message(String message) { this.message = message; return this; } /** *

Request ID.

* * example: *

8FA9BB94-915B-5299-A694-49FCC7F5DD00

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public GetHttpApiResponseBody build() { return new GetHttpApiResponseBody(this); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy