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.
5964 5965 5966 5967 5968 5969 5970 5971 |
# File 'lib/v20210331/models.rb', line 5964 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
5962 5963 5964 |
# File 'lib/v20210331/models.rb', line 5962 def Description @Description end |
#IdentityAliasName ⇒ Object
5962 5963 5964 |
# File 'lib/v20210331/models.rb', line 5962 def IdentityAliasName @IdentityAliasName end |
#IdentityId ⇒ Object
5962 5963 5964 |
# File 'lib/v20210331/models.rb', line 5962 def IdentityId @IdentityId end |
#IdentityPolicy ⇒ Object
5962 5963 5964 |
# File 'lib/v20210331/models.rb', line 5962 def IdentityPolicy @IdentityPolicy end |
#IdentityType ⇒ Object
5962 5963 5964 |
# File 'lib/v20210331/models.rb', line 5962 def IdentityType @IdentityType end |
#UpdateTime ⇒ Object
5962 5963 5964 |
# File 'lib/v20210331/models.rb', line 5962 def UpdateTime @UpdateTime end |
Instance Method Details
#deserialize(params) ⇒ Object
5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 |
# File 'lib/v20210331/models.rb', line 5973 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 |