public static class DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
aoneAppName
The status code returned for service mocking.
|
String |
contentTypeCatagory
The URL used to call the back-end service.
|
String |
contentTypeValue
The protocol used by the backend service.
|
DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigEventBridgeConfig |
eventBridgeConfig
The event bus.
|
DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigFunctionComputeConfig |
functionComputeConfig
The type of the Function Compute instance.
|
String |
mock
Specifies whether to enable the VPC channel.
|
DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigMockHeaders |
mockHeaders
The value of the HTTP header.
|
String |
mockResult
The HTTP method used to call a backend service.
|
Integer |
mockStatusCode
The value of the ContentType header when the ServiceProtocol parameter is set to HTTP and the ContentTypeCatagory parameter is set to DEFAULT or CUSTOM.
|
DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigOssConfig |
ossConfig
The ID of the region where the OSS instance is located.
|
String |
serviceAddress
Specifies whether to enable the Mock mode.
|
String |
serviceHttpMethod
The timeout period of the backend service.
|
String |
servicePath
The ContentType header type used when you call the backend service over HTTP.
|
String |
serviceProtocol
The path used to call the back-end service.
|
Integer |
serviceTimeout
The simulated headers.
|
String |
serviceVpcEnable
The result returned when the Mock mode is enabled.
|
DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigVpcConfig |
vpcConfig
The ID of the VPC.
|
| 构造器和说明 |
|---|
DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig() |
@NameInMap(value="AoneAppName") public String aoneAppName
The status code returned for service mocking.
@NameInMap(value="ContentTypeCatagory") public String contentTypeCatagory
The URL used to call the back-end service. If the complete back-end service URL is `http://api.a.com:8080/object/add?key1=value1&key2=value2`, the value of **ServiceAddress** is `http://api.a.com:8080`.
@NameInMap(value="ContentTypeValue") public String contentTypeValue
The protocol used by the backend service. Valid values: HTTP and HTTPS.
@NameInMap(value="EventBridgeConfig") public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigEventBridgeConfig eventBridgeConfig
The event bus.
@NameInMap(value="FunctionComputeConfig") public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigFunctionComputeConfig functionComputeConfig
The type of the Function Compute instance.
@NameInMap(value="Mock") public String mock
Specifies whether to enable the VPC channel. Valid values:
* **TRUE**: The VPC channel is enabled. You must create the corresponding VPC access authorization before you can enable a VPC channel.
* **FALSE**: The VPC channel is not enabled.
@NameInMap(value="MockHeaders") public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigMockHeaders mockHeaders
The value of the HTTP header.
@NameInMap(value="MockResult") public String mockResult
The HTTP method used to call a backend service. Valid values: GET, POST, DELETE, PUT, HEADER, TRACE, PATCH, CONNECT, and OPTIONS.
@NameInMap(value="MockStatusCode") public Integer mockStatusCode
The value of the ContentType header when the ServiceProtocol parameter is set to HTTP and the ContentTypeCatagory parameter is set to DEFAULT or CUSTOM.
@NameInMap(value="OssConfig") public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigOssConfig ossConfig
The ID of the region where the OSS instance is located.
@NameInMap(value="ServiceAddress") public String serviceAddress
Specifies whether to enable the Mock mode. Valid values:
* **TRUE**: The Mock mode is enabled.
* **FALSE**: The Mock mode is not enabled.
@NameInMap(value="ServiceHttpMethod") public String serviceHttpMethod
The timeout period of the backend service. Unit: milliseconds.
@NameInMap(value="ServicePath") public String servicePath
The ContentType header type used when you call the backend service over HTTP.
* **DEFAULT**: the default header type in API Gateway
* **CUSTOM**: a custom header type
* **CLIENT**: the ContentType header type of the client
@NameInMap(value="ServiceProtocol") public String serviceProtocol
The path used to call the back-end service. If the complete back-end service path is `http://api.a.com:8080/object/add?key1=value1&key2=value2`, **ServicePath** is `/object/add`.
@NameInMap(value="ServiceTimeout") public Integer serviceTimeout
The simulated headers.
@NameInMap(value="ServiceVpcEnable") public String serviceVpcEnable
The result returned when the Mock mode is enabled.
@NameInMap(value="VpcConfig") public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigVpcConfig vpcConfig
The ID of the VPC.
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig()
public static DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig build(Map<String,?> map) throws Exception
Exceptionpublic DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setAoneAppName(String aoneAppName)
public String getAoneAppName()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setContentTypeCatagory(String contentTypeCatagory)
public String getContentTypeCatagory()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setContentTypeValue(String contentTypeValue)
public String getContentTypeValue()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setEventBridgeConfig(DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigEventBridgeConfig eventBridgeConfig)
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigEventBridgeConfig getEventBridgeConfig()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setFunctionComputeConfig(DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigFunctionComputeConfig functionComputeConfig)
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigFunctionComputeConfig getFunctionComputeConfig()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setMock(String mock)
public String getMock()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setMockHeaders(DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigMockHeaders mockHeaders)
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigMockHeaders getMockHeaders()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setMockResult(String mockResult)
public String getMockResult()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setMockStatusCode(Integer mockStatusCode)
public Integer getMockStatusCode()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setOssConfig(DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigOssConfig ossConfig)
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigOssConfig getOssConfig()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setServiceAddress(String serviceAddress)
public String getServiceAddress()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setServiceHttpMethod(String serviceHttpMethod)
public String getServiceHttpMethod()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setServicePath(String servicePath)
public String getServicePath()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setServiceProtocol(String serviceProtocol)
public String getServiceProtocol()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setServiceTimeout(Integer serviceTimeout)
public Integer getServiceTimeout()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setServiceVpcEnable(String serviceVpcEnable)
public String getServiceVpcEnable()
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfig setVpcConfig(DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigVpcConfig vpcConfig)
public DescribeApiResponseBody.DescribeApiResponseBodyServiceConfigVpcConfig getVpcConfig()
Copyright © 2023. All rights reserved.