public class APIResource extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| APIResource() | 
| APIResource(APIResource source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String[] | getAPIServiceIds()Get Specifies the API service ID list associated with the API resource. | 
| String | getId()Get Specifies the resource ID. | 
| String[] | getMethods()Get Request method list. | 
| String | getName()Get Specifies the resource name. | 
| String | getPath()Get Specifies the resource path. | 
| String | getRequestConstraint()Get Specifies the specific content of the request content match rule, which must comply with the expression grammar. | 
| void | setAPIServiceIds(String[] APIServiceIds)Set Specifies the API service ID list associated with the API resource. | 
| void | setId(String Id)Set Specifies the resource ID. | 
| void | setMethods(String[] Methods)Set Request method list. | 
| void | setName(String Name)Set Specifies the resource name. | 
| void | setPath(String Path)Set Specifies the resource path. | 
| void | setRequestConstraint(String RequestConstraint)Set Specifies the specific content of the request content match rule, which must comply with the expression grammar. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic APIResource()
public APIResource(APIResource source)
public String getId()
public void setId(String Id)
Id - Specifies the resource ID.public String getName()
public void setName(String Name)
Name - Specifies the resource name.public String[] getAPIServiceIds()
public void setAPIServiceIds(String[] APIServiceIds)
APIServiceIds - Specifies the API service ID list associated with the API resource.public String getPath()
public void setPath(String Path)
Path - Specifies the resource path.public String[] getMethods()
public void setMethods(String[] Methods)
Methods - Request method list. valid values: GET, POST, PUT, HEAD, PATCH, OPTIONS, DELETE.public String getRequestConstraint()
public void setRequestConstraint(String RequestConstraint)
RequestConstraint - Specifies the specific content of the request content match rule, which must comply with the expression grammar. please refer to the product document for detailed requirements.Copyright © 2025. All rights reserved.