public class ApiInfo extends AbstractModel
| Constructor and Description | 
|---|
| ApiInfo() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getApiBusinessType()Get OAuth API type. | 
| String | getApiDesc()Get API description. | 
| String | getApiId()Get Unique API ID. | 
| String | getApiName()Get API name. | 
| String | getApiType()Get API type. | 
| String | getAuthRelationApiId()Get Unique ID of the authorization API associated with OAuth business API. | 
| String | getAuthType()Get API authentication type. | 
| Base64EncodedTriggerRule[] | getBase64EncodedTriggerRules()Get | 
| ConstantParameter[] | getConstantParameters()Get Constant parameter. | 
| String | getCreatedTime()Get Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. | 
| Boolean | getEnableCORS()Get Whether to enable CORS. | 
| String[] | getEnvironments()Get Environment information published for API. | 
| String | getInternalDomain()Get WebSocket callback address. | 
| Boolean | getIsBase64Encoded()Get | 
| Boolean | getIsBase64Trigger()Get | 
| Boolean | getIsDebugAfterCharge()Get Whether to enable debugging after purchase (reserved field for the marketplace). | 
| MicroService[] | getMicroServices()Get List of microservices bound to API. | 
| Long[] | getMicroServicesInfo()Get Microservice details. | 
| String | getModifiedTime()Get Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. | 
| OauthConfig | getOauthConfig()Get OAuth configuration. | 
| String | getProtocol()Get API frontend request type, such as HTTP, HTTPS, or HTTP and HTTPS. | 
| RequestConfig | getRequestConfig()Get Request frontend configuration. | 
| ReqParameter[] | getRequestParameters()Get Frontend request parameter. | 
| ErrorCodes[] | getResponseErrorCodes()Get Custom error code configuration. | 
| String | getResponseFailExample()Get Sample response for failed custom response configuration. | 
| String | getResponseSuccessExample()Get Sample response for successful custom response configuration. | 
| String | getResponseType()Get Return type. | 
| ServiceConfig | getServiceConfig()Get API backend service configuration. | 
| String | getServiceDesc()Get Service description of API. | 
| String | getServiceId()Get Unique service ID of API. | 
| String | getServiceMockReturnMessage()Get Returned message of API backend Mock, which is required if `ServiceType` is `Mock`. | 
| String | getServiceName()Get Service name of API. | 
| ServiceParameter[] | getServiceParameters()Get API backend service parameter. | 
| String | getServiceScfFunctionName()Get SCF function name, which takes effect if the backend type is `SCF`. | 
| String | getServiceScfFunctionNamespace()Get SCF function namespace, which takes effect if the backend type is `SCF`. | 
| String | getServiceScfFunctionQualifier()Get SCF function version, which takes effect if the backend type is `SCF`. | 
| Boolean | getServiceScfIsIntegratedResponse()Get Whether integrated response is enabled. | 
| Long | getServiceTimeout()Get API backend service timeout period in seconds. | 
| HealthCheckConf | getServiceTsfHealthCheckConf()Get Health check configuration of microservice. | 
| TsfLoadBalanceConfResp | getServiceTsfLoadBalanceConf()Get Load balancing configuration of microservice. | 
| String | getServiceType()Get API backend service type. | 
| String | getServiceWebsocketCleanupFunctionName()Get SCF WebSocket cleanup function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| String | getServiceWebsocketCleanupFunctionNamespace()Get SCF WebSocket cleanup function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| String | getServiceWebsocketCleanupFunctionQualifier()Get SCF WebSocket cleanup function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| String | getServiceWebsocketRegisterFunctionName()Get SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`
Note: this field may return null, indicating that no valid values can be obtained. | 
| String | getServiceWebsocketRegisterFunctionNamespace()Get SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| String | getServiceWebsocketRegisterFunctionQualifier()Get SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| String | getServiceWebsocketTransportFunctionName()Get SCF WebSocket transfer function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| String | getServiceWebsocketTransportFunctionNamespace()Get SCF WebSocket transfer function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| String | getServiceWebsocketTransportFunctionQualifier()Get SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| Tag[] | getTags()Get Information of tags bound to API. | 
| void | setApiBusinessType(String ApiBusinessType)Set OAuth API type. | 
| void | setApiDesc(String ApiDesc)Set API description. | 
| void | setApiId(String ApiId)Set Unique API ID. | 
| void | setApiName(String ApiName)Set API name. | 
| void | setApiType(String ApiType)Set API type. | 
| void | setAuthRelationApiId(String AuthRelationApiId)Set Unique ID of the authorization API associated with OAuth business API. | 
| void | setAuthType(String AuthType)Set API authentication type. | 
| void | setBase64EncodedTriggerRules(Base64EncodedTriggerRule[] Base64EncodedTriggerRules)Set | 
| void | setConstantParameters(ConstantParameter[] ConstantParameters)Set Constant parameter. | 
| void | setCreatedTime(String CreatedTime)Set Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. | 
| void | setEnableCORS(Boolean EnableCORS)Set Whether to enable CORS. | 
| void | setEnvironments(String[] Environments)Set Environment information published for API. | 
| void | setInternalDomain(String InternalDomain)Set WebSocket callback address. | 
| void | setIsBase64Encoded(Boolean IsBase64Encoded)Set | 
| void | setIsBase64Trigger(Boolean IsBase64Trigger)Set | 
| void | setIsDebugAfterCharge(Boolean IsDebugAfterCharge)Set Whether to enable debugging after purchase (reserved field for the marketplace). | 
| void | setMicroServices(MicroService[] MicroServices)Set List of microservices bound to API. | 
| void | setMicroServicesInfo(Long[] MicroServicesInfo)Set Microservice details. | 
| void | setModifiedTime(String ModifiedTime)Set Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. | 
| void | setOauthConfig(OauthConfig OauthConfig)Set OAuth configuration. | 
| void | setProtocol(String Protocol)Set API frontend request type, such as HTTP, HTTPS, or HTTP and HTTPS. | 
| void | setRequestConfig(RequestConfig RequestConfig)Set Request frontend configuration. | 
| void | setRequestParameters(ReqParameter[] RequestParameters)Set Frontend request parameter. | 
| void | setResponseErrorCodes(ErrorCodes[] ResponseErrorCodes)Set Custom error code configuration. | 
| void | setResponseFailExample(String ResponseFailExample)Set Sample response for failed custom response configuration. | 
| void | setResponseSuccessExample(String ResponseSuccessExample)Set Sample response for successful custom response configuration. | 
| void | setResponseType(String ResponseType)Set Return type. | 
| void | setServiceConfig(ServiceConfig ServiceConfig)Set API backend service configuration. | 
| void | setServiceDesc(String ServiceDesc)Set Service description of API. | 
| void | setServiceId(String ServiceId)Set Unique service ID of API. | 
| void | setServiceMockReturnMessage(String ServiceMockReturnMessage)Set Returned message of API backend Mock, which is required if `ServiceType` is `Mock`. | 
| void | setServiceName(String ServiceName)Set Service name of API. | 
| void | setServiceParameters(ServiceParameter[] ServiceParameters)Set API backend service parameter. | 
| void | setServiceScfFunctionName(String ServiceScfFunctionName)Set SCF function name, which takes effect if the backend type is `SCF`. | 
| void | setServiceScfFunctionNamespace(String ServiceScfFunctionNamespace)Set SCF function namespace, which takes effect if the backend type is `SCF`. | 
| void | setServiceScfFunctionQualifier(String ServiceScfFunctionQualifier)Set SCF function version, which takes effect if the backend type is `SCF`. | 
| void | setServiceScfIsIntegratedResponse(Boolean ServiceScfIsIntegratedResponse)Set Whether integrated response is enabled. | 
| void | setServiceTimeout(Long ServiceTimeout)Set API backend service timeout period in seconds. | 
| void | setServiceTsfHealthCheckConf(HealthCheckConf ServiceTsfHealthCheckConf)Set Health check configuration of microservice. | 
| void | setServiceTsfLoadBalanceConf(TsfLoadBalanceConfResp ServiceTsfLoadBalanceConf)Set Load balancing configuration of microservice. | 
| void | setServiceType(String ServiceType)Set API backend service type. | 
| void | setServiceWebsocketCleanupFunctionName(String ServiceWebsocketCleanupFunctionName)Set SCF WebSocket cleanup function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| void | setServiceWebsocketCleanupFunctionNamespace(String ServiceWebsocketCleanupFunctionNamespace)Set SCF WebSocket cleanup function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| void | setServiceWebsocketCleanupFunctionQualifier(String ServiceWebsocketCleanupFunctionQualifier)Set SCF WebSocket cleanup function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| void | setServiceWebsocketRegisterFunctionName(String ServiceWebsocketRegisterFunctionName)Set SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`
Note: this field may return null, indicating that no valid values can be obtained. | 
| void | setServiceWebsocketRegisterFunctionNamespace(String ServiceWebsocketRegisterFunctionNamespace)Set SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| void | setServiceWebsocketRegisterFunctionQualifier(String ServiceWebsocketRegisterFunctionQualifier)Set SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| void | setServiceWebsocketTransportFunctionName(String ServiceWebsocketTransportFunctionName)Set SCF WebSocket transfer function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| void | setServiceWebsocketTransportFunctionNamespace(String ServiceWebsocketTransportFunctionNamespace)Set SCF WebSocket transfer function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| void | setServiceWebsocketTransportFunctionQualifier(String ServiceWebsocketTransportFunctionQualifier)Set SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`. | 
| void | setTags(Tag[] Tags)Set Information of tags bound to API. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String getServiceId()
public void setServiceId(String ServiceId)
ServiceId - Unique service ID of API.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceName()
public void setServiceName(String ServiceName)
ServiceName - Service name of API.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceDesc()
public void setServiceDesc(String ServiceDesc)
ServiceDesc - Service description of API.
Note: this field may return null, indicating that no valid values can be obtained.public String getApiId()
public void setApiId(String ApiId)
ApiId - Unique API ID.
Note: this field may return null, indicating that no valid values can be obtained.public String getApiDesc()
public void setApiDesc(String ApiDesc)
ApiDesc - API description.
Note: this field may return null, indicating that no valid values can be obtained.public String getCreatedTime()
public void setCreatedTime(String CreatedTime)
CreatedTime - Creation time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
Note: this field may return null, indicating that no valid values can be obtained.public String getModifiedTime()
public void setModifiedTime(String ModifiedTime)
ModifiedTime - Last modified time in the format of YYYY-MM-DDThh:mm:ssZ according to ISO 8601 standard. UTC time is used.
Note: this field may return null, indicating that no valid values can be obtained.public String getApiName()
public void setApiName(String ApiName)
ApiName - API name.
Note: this field may return null, indicating that no valid values can be obtained.public String getApiType()
public void setApiType(String ApiType)
ApiType - API type. Valid values: NORMAL (general API), TSF (microservice API).
Note: this field may return null, indicating that no valid values can be obtained.public String getProtocol()
public void setProtocol(String Protocol)
Protocol - API frontend request type, such as HTTP, HTTPS, or HTTP and HTTPS.
Note: this field may return null, indicating that no valid values can be obtained.public String getAuthType()
public void setAuthType(String AuthType)
AuthType - API authentication type. Valid values: SECRET (key pair authentication), NONE (no authentication), OAUTH.
Note: this field may return null, indicating that no valid values can be obtained.public String getApiBusinessType()
public void setApiBusinessType(String ApiBusinessType)
ApiBusinessType - OAuth API type. Valid values: NORMAL (business API), OAUTH (authorization API).
Note: this field may return null, indicating that no valid values can be obtained.public String getAuthRelationApiId()
public void setAuthRelationApiId(String AuthRelationApiId)
AuthRelationApiId - Unique ID of the authorization API associated with OAuth business API.
Note: this field may return null, indicating that no valid values can be obtained.public OauthConfig getOauthConfig()
public void setOauthConfig(OauthConfig OauthConfig)
OauthConfig - OAuth configuration.
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getIsDebugAfterCharge()
public void setIsDebugAfterCharge(Boolean IsDebugAfterCharge)
IsDebugAfterCharge - Whether to enable debugging after purchase (reserved field for the marketplace).
Note: this field may return null, indicating that no valid values can be obtained.public RequestConfig getRequestConfig()
public void setRequestConfig(RequestConfig RequestConfig)
RequestConfig - Request frontend configuration.
Note: this field may return null, indicating that no valid values can be obtained.public String getResponseType()
public void setResponseType(String ResponseType)
ResponseType - Return type.
Note: this field may return null, indicating that no valid values can be obtained.public String getResponseSuccessExample()
public void setResponseSuccessExample(String ResponseSuccessExample)
ResponseSuccessExample - Sample response for successful custom response configuration.
Note: this field may return null, indicating that no valid values can be obtained.public String getResponseFailExample()
public void setResponseFailExample(String ResponseFailExample)
ResponseFailExample - Sample response for failed custom response configuration.
Note: this field may return null, indicating that no valid values can be obtained.public ErrorCodes[] getResponseErrorCodes()
public void setResponseErrorCodes(ErrorCodes[] ResponseErrorCodes)
ResponseErrorCodes - Custom error code configuration.
Note: this field may return null, indicating that no valid values can be obtained.public ReqParameter[] getRequestParameters()
public void setRequestParameters(ReqParameter[] RequestParameters)
RequestParameters - Frontend request parameter.
Note: this field may return null, indicating that no valid values can be obtained.public Long getServiceTimeout()
public void setServiceTimeout(Long ServiceTimeout)
ServiceTimeout - API backend service timeout period in seconds.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceType()
public void setServiceType(String ServiceType)
ServiceType - API backend service type. Valid values: HTTP, MOCK, TSF, CLB, SCF, WEBSOCKET, TARGET (in beta test).
Note: this field may return null, indicating that no valid values can be obtained.public ServiceConfig getServiceConfig()
public void setServiceConfig(ServiceConfig ServiceConfig)
ServiceConfig - API backend service configuration.
Note: this field may return null, indicating that no valid values can be obtained.public ServiceParameter[] getServiceParameters()
public void setServiceParameters(ServiceParameter[] ServiceParameters)
ServiceParameters - API backend service parameter.
Note: this field may return null, indicating that no valid values can be obtained.public ConstantParameter[] getConstantParameters()
public void setConstantParameters(ConstantParameter[] ConstantParameters)
ConstantParameters - Constant parameter.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceMockReturnMessage()
public void setServiceMockReturnMessage(String ServiceMockReturnMessage)
ServiceMockReturnMessage - Returned message of API backend Mock, which is required if `ServiceType` is `Mock`.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceScfFunctionName()
public void setServiceScfFunctionName(String ServiceScfFunctionName)
ServiceScfFunctionName - SCF function name, which takes effect if the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceScfFunctionNamespace()
public void setServiceScfFunctionNamespace(String ServiceScfFunctionNamespace)
ServiceScfFunctionNamespace - SCF function namespace, which takes effect if the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceScfFunctionQualifier()
public void setServiceScfFunctionQualifier(String ServiceScfFunctionQualifier)
ServiceScfFunctionQualifier - SCF function version, which takes effect if the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getServiceScfIsIntegratedResponse()
public void setServiceScfIsIntegratedResponse(Boolean ServiceScfIsIntegratedResponse)
ServiceScfIsIntegratedResponse - Whether integrated response is enabled.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceWebsocketRegisterFunctionName()
public void setServiceWebsocketRegisterFunctionName(String ServiceWebsocketRegisterFunctionName)
ServiceWebsocketRegisterFunctionName - SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceWebsocketRegisterFunctionNamespace()
public void setServiceWebsocketRegisterFunctionNamespace(String ServiceWebsocketRegisterFunctionNamespace)
ServiceWebsocketRegisterFunctionNamespace - SCF WebSocket registration function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceWebsocketRegisterFunctionQualifier()
public void setServiceWebsocketRegisterFunctionQualifier(String ServiceWebsocketRegisterFunctionQualifier)
ServiceWebsocketRegisterFunctionQualifier - SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceWebsocketCleanupFunctionName()
public void setServiceWebsocketCleanupFunctionName(String ServiceWebsocketCleanupFunctionName)
ServiceWebsocketCleanupFunctionName - SCF WebSocket cleanup function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceWebsocketCleanupFunctionNamespace()
public void setServiceWebsocketCleanupFunctionNamespace(String ServiceWebsocketCleanupFunctionNamespace)
ServiceWebsocketCleanupFunctionNamespace - SCF WebSocket cleanup function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceWebsocketCleanupFunctionQualifier()
public void setServiceWebsocketCleanupFunctionQualifier(String ServiceWebsocketCleanupFunctionQualifier)
ServiceWebsocketCleanupFunctionQualifier - SCF WebSocket cleanup function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public String getInternalDomain()
public void setInternalDomain(String InternalDomain)
InternalDomain - WebSocket callback address.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceWebsocketTransportFunctionName()
public void setServiceWebsocketTransportFunctionName(String ServiceWebsocketTransportFunctionName)
ServiceWebsocketTransportFunctionName - SCF WebSocket transfer function, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceWebsocketTransportFunctionNamespace()
public void setServiceWebsocketTransportFunctionNamespace(String ServiceWebsocketTransportFunctionNamespace)
ServiceWebsocketTransportFunctionNamespace - SCF WebSocket transfer function namespace, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public String getServiceWebsocketTransportFunctionQualifier()
public void setServiceWebsocketTransportFunctionQualifier(String ServiceWebsocketTransportFunctionQualifier)
ServiceWebsocketTransportFunctionQualifier - SCF WebSocket transfer function version, which takes effect if the frontend type is `WEBSOCKET` and the backend type is `SCF`.
Note: this field may return null, indicating that no valid values can be obtained.public MicroService[] getMicroServices()
public void setMicroServices(MicroService[] MicroServices)
MicroServices - List of microservices bound to API.
Note: this field may return null, indicating that no valid values can be obtained.public Long[] getMicroServicesInfo()
public void setMicroServicesInfo(Long[] MicroServicesInfo)
MicroServicesInfo - Microservice details.
Note: this field may return null, indicating that no valid values can be obtained.public TsfLoadBalanceConfResp getServiceTsfLoadBalanceConf()
public void setServiceTsfLoadBalanceConf(TsfLoadBalanceConfResp ServiceTsfLoadBalanceConf)
ServiceTsfLoadBalanceConf - Load balancing configuration of microservice.
Note: this field may return null, indicating that no valid values can be obtained.public HealthCheckConf getServiceTsfHealthCheckConf()
public void setServiceTsfHealthCheckConf(HealthCheckConf ServiceTsfHealthCheckConf)
ServiceTsfHealthCheckConf - Health check configuration of microservice.
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getEnableCORS()
public void setEnableCORS(Boolean EnableCORS)
EnableCORS - Whether to enable CORS.
Note: this field may return null, indicating that no valid values can be obtained.public Tag[] getTags()
public void setTags(Tag[] Tags)
Tags - Information of tags bound to API.
Note: this field may return null, indicating that no valid values can be obtained.public String[] getEnvironments()
public void setEnvironments(String[] Environments)
Environments - Environment information published for API.
Note: this field may return null, indicating that no valid values can be obtained.public Boolean getIsBase64Encoded()
public void setIsBase64Encoded(Boolean IsBase64Encoded)
IsBase64Encoded - public Boolean getIsBase64Trigger()
public void setIsBase64Trigger(Boolean IsBase64Trigger)
IsBase64Trigger - public Base64EncodedTriggerRule[] getBase64EncodedTriggerRules()
public void setBase64EncodedTriggerRules(Base64EncodedTriggerRule[] Base64EncodedTriggerRules)
Base64EncodedTriggerRules - Copyright © 2021. All rights reserved.