Class: TencentCloud::Dlc::V20210125::UserInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dlc::V20210125::UserInfo
- Defined in:
- lib/v20210125/models.rb
Overview
授权用户信息
Instance Attribute Summary collapse
-
#AccountType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Creator ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#IsOwner ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#PolicySet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UserAlias ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UserDescription ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UserId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#UserType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#WorkGroupSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(userid = nil, userdescription = nil, policyset = nil, creator = nil, createtime = nil, workgroupset = nil, isowner = nil, usertype = nil, useralias = nil, accounttype = nil) ⇒ UserInfo
constructor
A new instance of UserInfo.
Constructor Details
#initialize(userid = nil, userdescription = nil, policyset = nil, creator = nil, createtime = nil, workgroupset = nil, isowner = nil, usertype = nil, useralias = nil, accounttype = nil) ⇒ UserInfo
Returns a new instance of UserInfo.
17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 |
# File 'lib/v20210125/models.rb', line 17342 def initialize(userid=nil, userdescription=nil, policyset=nil, creator=nil, createtime=nil, workgroupset=nil, isowner=nil, usertype=nil, useralias=nil, accounttype=nil) @UserId = userid @UserDescription = userdescription @PolicySet = policyset @Creator = creator @CreateTime = createtime @WorkGroupSet = workgroupset @IsOwner = isowner @UserType = usertype @UserAlias = useralias @AccountType = accounttype end |
Instance Attribute Details
#AccountType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
17340 17341 17342 |
# File 'lib/v20210125/models.rb', line 17340 def AccountType @AccountType end |
#CreateTime ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
17340 17341 17342 |
# File 'lib/v20210125/models.rb', line 17340 def CreateTime @CreateTime end |
#Creator ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
17340 17341 17342 |
# File 'lib/v20210125/models.rb', line 17340 def Creator @Creator end |
#IsOwner ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
17340 17341 17342 |
# File 'lib/v20210125/models.rb', line 17340 def IsOwner @IsOwner end |
#PolicySet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
17340 17341 17342 |
# File 'lib/v20210125/models.rb', line 17340 def PolicySet @PolicySet end |
#UserAlias ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
17340 17341 17342 |
# File 'lib/v20210125/models.rb', line 17340 def UserAlias @UserAlias end |
#UserDescription ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
17340 17341 17342 |
# File 'lib/v20210125/models.rb', line 17340 def UserDescription @UserDescription end |
#UserId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
17340 17341 17342 |
# File 'lib/v20210125/models.rb', line 17340 def UserId @UserId end |
#UserType ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
17340 17341 17342 |
# File 'lib/v20210125/models.rb', line 17340 def UserType @UserType end |
#WorkGroupSet ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。
17340 17341 17342 |
# File 'lib/v20210125/models.rb', line 17340 def WorkGroupSet @WorkGroupSet end |
Instance Method Details
#deserialize(params) ⇒ Object
17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 |
# File 'lib/v20210125/models.rb', line 17355 def deserialize(params) @UserId = params['UserId'] @UserDescription = params['UserDescription'] unless params['PolicySet'].nil? @PolicySet = [] params['PolicySet'].each do |i| policy_tmp = Policy.new policy_tmp.deserialize(i) @PolicySet << policy_tmp end end @Creator = params['Creator'] @CreateTime = params['CreateTime'] unless params['WorkGroupSet'].nil? @WorkGroupSet = [] params['WorkGroupSet'].each do |i| = WorkGroupMessage.new .deserialize(i) @WorkGroupSet << end end @IsOwner = params['IsOwner'] @UserType = params['UserType'] @UserAlias = params['UserAlias'] @AccountType = params['AccountType'] end |