Class Authorizer
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cme.v20191029.models.Authorizer
-
public class Authorizer extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description Authorizer()Authorizer(Authorizer 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Get Id,当 Type=PERSON,取值为用户 Id。当Type=TEAM,取值为团队 ID。StringgetType()Get 授权者类型,取值有: PERSON:个人。 TEAM:团队。voidsetId(String Id)Set Id,当 Type=PERSON,取值为用户 Id。当Type=TEAM,取值为团队 ID。voidsetType(String Type)Set 授权者类型,取值有: PERSON:个人。 TEAM:团队。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Authorizer
public Authorizer()
-
Authorizer
public Authorizer(Authorizer 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.
-
-
Method Detail
-
getType
public String getType()
Get 授权者类型,取值有:- PERSON:个人。
- TEAM:团队。
- Returns:
- Type 授权者类型,取值有:
- PERSON:个人。
- TEAM:团队。
-
setType
public void setType(String Type)
Set 授权者类型,取值有:- PERSON:个人。
- TEAM:团队。
- Parameters:
Type- 授权者类型,取值有:- PERSON:个人。
- TEAM:团队。
-
getId
public String getId()
Get Id,当 Type=PERSON,取值为用户 Id。当Type=TEAM,取值为团队 ID。- Returns:
- Id Id,当 Type=PERSON,取值为用户 Id。当Type=TEAM,取值为团队 ID。
-
setId
public void setId(String Id)
Set Id,当 Type=PERSON,取值为用户 Id。当Type=TEAM,取值为团队 ID。- Parameters:
Id- Id,当 Type=PERSON,取值为用户 Id。当Type=TEAM,取值为团队 ID。
-
-