public class Authorizer extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getId()
Get Id,当 Type=PERSON,取值为用户 Id。当Type=TEAM,取值为团队 ID。
|
String |
getType()
Get 授权者类型,取值有:
PERSON:个人。
TEAM:团队。
|
void |
setId(String Id)
Set Id,当 Type=PERSON,取值为用户 Id。当Type=TEAM,取值为团队 ID。
|
void |
setType(String Type)
Set 授权者类型,取值有:
PERSON:个人。
TEAM:团队。
|
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, toJsonString
public Authorizer()
public Authorizer(Authorizer source)
public String getType()
public void setType(String Type)
Type
- 授权者类型,取值有:
public String getId()
public void setId(String Id)
Id
- Id,当 Type=PERSON,取值为用户 Id。当Type=TEAM,取值为团队 ID。Copyright © 2022. All rights reserved.