Class: TencentCloud::Ess::V20201111::AuthInfoDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ess::V20201111::AuthInfoDetail
- Defined in:
- lib/v20201111/models.rb
Overview
企业扩展服务授权列表详情
Instance Attribute Summary collapse
- #AuthOrganizationTotal ⇒ Object
- #AuthUserTotal ⇒ Object
- #HasAuthOrganizationList ⇒ Object
- #HasAuthUserList ⇒ Object
- #Name ⇒ Object
- #Type ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, name = nil, hasauthuserlist = nil, hasauthorganizationlist = nil, authusertotal = nil, authorganizationtotal = nil) ⇒ AuthInfoDetail
constructor
A new instance of AuthInfoDetail.
Constructor Details
#initialize(type = nil, name = nil, hasauthuserlist = nil, hasauthorganizationlist = nil, authusertotal = nil, authorganizationtotal = nil) ⇒ AuthInfoDetail
Returns a new instance of AuthInfoDetail.
630 631 632 633 634 635 636 637 |
# File 'lib/v20201111/models.rb', line 630 def initialize(type=nil, name=nil, hasauthuserlist=nil, =nil, authusertotal=nil, =nil) @Type = type @Name = name @HasAuthUserList = hasauthuserlist @HasAuthOrganizationList = @AuthUserTotal = authusertotal @AuthOrganizationTotal = end |
Instance Attribute Details
#AuthOrganizationTotal ⇒ Object
628 629 630 |
# File 'lib/v20201111/models.rb', line 628 def AuthOrganizationTotal @AuthOrganizationTotal end |
#AuthUserTotal ⇒ Object
628 629 630 |
# File 'lib/v20201111/models.rb', line 628 def AuthUserTotal @AuthUserTotal end |
#HasAuthOrganizationList ⇒ Object
628 629 630 |
# File 'lib/v20201111/models.rb', line 628 def HasAuthOrganizationList @HasAuthOrganizationList end |
#HasAuthUserList ⇒ Object
628 629 630 |
# File 'lib/v20201111/models.rb', line 628 def HasAuthUserList @HasAuthUserList end |
#Name ⇒ Object
628 629 630 |
# File 'lib/v20201111/models.rb', line 628 def Name @Name end |
#Type ⇒ Object
628 629 630 |
# File 'lib/v20201111/models.rb', line 628 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 |
# File 'lib/v20201111/models.rb', line 639 def deserialize(params) @Type = params['Type'] @Name = params['Name'] unless params['HasAuthUserList'].nil? @HasAuthUserList = [] params['HasAuthUserList'].each do |i| hasauthuser_tmp = HasAuthUser.new hasauthuser_tmp.deserialize(i) @HasAuthUserList << hasauthuser_tmp end end unless params['HasAuthOrganizationList'].nil? @HasAuthOrganizationList = [] params['HasAuthOrganizationList'].each do |i| = HasAuthOrganization.new .deserialize(i) @HasAuthOrganizationList << end end @AuthUserTotal = params['AuthUserTotal'] @AuthOrganizationTotal = params['AuthOrganizationTotal'] end |