Class: TencentCloud::Organization::V20210331::OrgIdentity
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Organization::V20210331::OrgIdentity
- Defined in:
- lib/v20210331/models.rb
Overview
组织身份
Instance Attribute Summary collapse
- #Description ⇒ Object
- #IdentityAliasName ⇒ Object
- #IdentityId ⇒ Object
- #IdentityPolicy ⇒ Object
- #IdentityType ⇒ Object
- #UpdateTime ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(identityid = nil, identityaliasname = nil, description = nil, identitypolicy = nil, identitytype = nil, updatetime = nil) ⇒ OrgIdentity
constructor
A new instance of OrgIdentity.
Constructor Details
#initialize(identityid = nil, identityaliasname = nil, description = nil, identitypolicy = nil, identitytype = nil, updatetime = nil) ⇒ OrgIdentity
Returns a new instance of OrgIdentity.
6102 6103 6104 6105 6106 6107 6108 6109 |
# File 'lib/v20210331/models.rb', line 6102 def initialize(identityid=nil, identityaliasname=nil, description=nil, identitypolicy=nil, identitytype=nil, updatetime=nil) @IdentityId = identityid @IdentityAliasName = identityaliasname @Description = description @IdentityPolicy = identitypolicy @IdentityType = identitytype @UpdateTime = updatetime end |
Instance Attribute Details
#Description ⇒ Object
6100 6101 6102 |
# File 'lib/v20210331/models.rb', line 6100 def Description @Description end |
#IdentityAliasName ⇒ Object
6100 6101 6102 |
# File 'lib/v20210331/models.rb', line 6100 def IdentityAliasName @IdentityAliasName end |
#IdentityId ⇒ Object
6100 6101 6102 |
# File 'lib/v20210331/models.rb', line 6100 def IdentityId @IdentityId end |
#IdentityPolicy ⇒ Object
6100 6101 6102 |
# File 'lib/v20210331/models.rb', line 6100 def IdentityPolicy @IdentityPolicy end |
#IdentityType ⇒ Object
6100 6101 6102 |
# File 'lib/v20210331/models.rb', line 6100 def IdentityType @IdentityType end |
#UpdateTime ⇒ Object
6100 6101 6102 |
# File 'lib/v20210331/models.rb', line 6100 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 |
# File 'lib/v20210331/models.rb', line 6111 def deserialize(params) @IdentityId = params['IdentityId'] @IdentityAliasName = params['IdentityAliasName'] @Description = params['Description'] unless params['IdentityPolicy'].nil? @IdentityPolicy = [] params['IdentityPolicy'].each do |i| identitypolicy_tmp = IdentityPolicy.new identitypolicy_tmp.deserialize(i) @IdentityPolicy << identitypolicy_tmp end end @IdentityType = params['IdentityType'] @UpdateTime = params['UpdateTime'] end |