Class: TencentCloud::Ess::V20201111::HasAuthUser
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::HasAuthUser
- Defined in:
- lib/v20201111/models.rb
Overview
被授权的用户信息
Instance Attribute Summary collapse
-
#BelongTo ⇒ Object
MainOrg:在集团企业的场景下,返回此值代表是归属主企业 CurrentOrg:在普通企业场景下返回此值;或者在集团企业的场景下,返回此值代表归属子企业.
-
#MainOrganizationId ⇒ Object
MainOrg:在集团企业的场景下,返回此值代表是归属主企业 CurrentOrg:在普通企业场景下返回此值;或者在集团企业的场景下,返回此值代表归属子企业.
-
#UserId ⇒ Object
MainOrg:在集团企业的场景下,返回此值代表是归属主企业 CurrentOrg:在普通企业场景下返回此值;或者在集团企业的场景下,返回此值代表归属子企业.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(userid = nil, belongto = nil, mainorganizationid = nil) ⇒ HasAuthUser
constructor
A new instance of HasAuthUser.
Constructor Details
#initialize(userid = nil, belongto = nil, mainorganizationid = nil) ⇒ HasAuthUser
Returns a new instance of HasAuthUser.
14526 14527 14528 14529 14530 |
# File 'lib/v20201111/models.rb', line 14526 def initialize(userid=nil, belongto=nil, mainorganizationid=nil) @UserId = userid @BelongTo = belongto @MainOrganizationId = mainorganizationid end |
Instance Attribute Details
#BelongTo ⇒ Object
MainOrg:在集团企业的场景下,返回此值代表是归属主企业 CurrentOrg:在普通企业场景下返回此值;或者在集团企业的场景下,返回此值代表归属子企业
14524 14525 14526 |
# File 'lib/v20201111/models.rb', line 14524 def BelongTo @BelongTo end |
#MainOrganizationId ⇒ Object
MainOrg:在集团企业的场景下,返回此值代表是归属主企业 CurrentOrg:在普通企业场景下返回此值;或者在集团企业的场景下,返回此值代表归属子企业
14524 14525 14526 |
# File 'lib/v20201111/models.rb', line 14524 def MainOrganizationId @MainOrganizationId end |
#UserId ⇒ Object
MainOrg:在集团企业的场景下,返回此值代表是归属主企业 CurrentOrg:在普通企业场景下返回此值;或者在集团企业的场景下,返回此值代表归属子企业
14524 14525 14526 |
# File 'lib/v20201111/models.rb', line 14524 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
14532 14533 14534 14535 14536 |
# File 'lib/v20201111/models.rb', line 14532 def deserialize(params) @UserId = params['UserId'] @BelongTo = params['BelongTo'] @MainOrganizationId = params['MainOrganizationId'] end |