Class AttachEntityOfPolicy
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cam.v20190116.models.AttachEntityOfPolicy
-
public class AttachEntityOfPolicy extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AttachEntityOfPolicy()AttachEntityOfPolicy(AttachEntityOfPolicy 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 StringgetAttachmentTime()Get 策略关联时间 注意:此字段可能返回 null,表示取不到有效值。StringgetId()Get 实体IDStringgetName()Get 实体名称 注意:此字段可能返回 null,表示取不到有效值。LonggetRelatedType()Get 关联类型。1 用户关联 ; 2 用户组关联LonggetUin()Get 实体Uin 注意:此字段可能返回 null,表示取不到有效值。voidsetAttachmentTime(String AttachmentTime)Set 策略关联时间 注意:此字段可能返回 null,表示取不到有效值。voidsetId(String Id)Set 实体IDvoidsetName(String Name)Set 实体名称 注意:此字段可能返回 null,表示取不到有效值。voidsetRelatedType(Long RelatedType)Set 关联类型。1 用户关联 ; 2 用户组关联voidsetUin(Long Uin)Set 实体Uin 注意:此字段可能返回 null,表示取不到有效值。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
-
AttachEntityOfPolicy
public AttachEntityOfPolicy()
-
AttachEntityOfPolicy
public AttachEntityOfPolicy(AttachEntityOfPolicy 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
-
getId
public String getId()
Get 实体ID- Returns:
- Id 实体ID
-
setId
public void setId(String Id)
Set 实体ID- Parameters:
Id- 实体ID
-
getName
public String getName()
Get 实体名称 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Name 实体名称 注意:此字段可能返回 null,表示取不到有效值。
-
setName
public void setName(String Name)
Set 实体名称 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Name- 实体名称 注意:此字段可能返回 null,表示取不到有效值。
-
getUin
public Long getUin()
Get 实体Uin 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Uin 实体Uin 注意:此字段可能返回 null,表示取不到有效值。
-
setUin
public void setUin(Long Uin)
Set 实体Uin 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Uin- 实体Uin 注意:此字段可能返回 null,表示取不到有效值。
-
getRelatedType
public Long getRelatedType()
Get 关联类型。1 用户关联 ; 2 用户组关联- Returns:
- RelatedType 关联类型。1 用户关联 ; 2 用户组关联
-
setRelatedType
public void setRelatedType(Long RelatedType)
Set 关联类型。1 用户关联 ; 2 用户组关联- Parameters:
RelatedType- 关联类型。1 用户关联 ; 2 用户组关联
-
getAttachmentTime
public String getAttachmentTime()
Get 策略关联时间 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AttachmentTime 策略关联时间 注意:此字段可能返回 null,表示取不到有效值。
-
setAttachmentTime
public void setAttachmentTime(String AttachmentTime)
Set 策略关联时间 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AttachmentTime- 策略关联时间 注意:此字段可能返回 null,表示取不到有效值。
-
-