Class: TencentCloud::Ess::V20201111::AuthInfoDetail

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201111/models.rb

Overview

企业扩展服务授权列表详情

Instance Attribute Summary collapse

Instance Method Summary collapse

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, hasauthorganizationlist=nil, authusertotal=nil, authorganizationtotal=nil)
  @Type = type
  @Name = name
  @HasAuthUserList = hasauthuserlist
  @HasAuthOrganizationList = hasauthorganizationlist
  @AuthUserTotal = authusertotal
  @AuthOrganizationTotal = authorganizationtotal
end

Instance Attribute Details

#AuthOrganizationTotalObject

Parameters:

  • Type:

    扩展服务类型,和入参一致

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

    授权企业列表(企业自动签时,该字段有值)

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



628
629
630
# File 'lib/v20201111/models.rb', line 628

def AuthOrganizationTotal
  @AuthOrganizationTotal
end

#AuthUserTotalObject

Parameters:

  • Type:

    扩展服务类型,和入参一致

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

    授权企业列表(企业自动签时,该字段有值)

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



628
629
630
# File 'lib/v20201111/models.rb', line 628

def AuthUserTotal
  @AuthUserTotal
end

#HasAuthOrganizationListObject

Parameters:

  • Type:

    扩展服务类型,和入参一致

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

    授权企业列表(企业自动签时,该字段有值)

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



628
629
630
# File 'lib/v20201111/models.rb', line 628

def HasAuthOrganizationList
  @HasAuthOrganizationList
end

#HasAuthUserListObject

Parameters:

  • Type:

    扩展服务类型,和入参一致

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

    授权企业列表(企业自动签时,该字段有值)

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



628
629
630
# File 'lib/v20201111/models.rb', line 628

def HasAuthUserList
  @HasAuthUserList
end

#NameObject

Parameters:

  • Type:

    扩展服务类型,和入参一致

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

    授权企业列表(企业自动签时,该字段有值)

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



628
629
630
# File 'lib/v20201111/models.rb', line 628

def Name
  @Name
end

#TypeObject

Parameters:

  • Type:

    扩展服务类型,和入参一致

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

    授权企业列表(企业自动签时,该字段有值)

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



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_tmp = HasAuthOrganization.new
      hasauthorganization_tmp.deserialize(i)
      @HasAuthOrganizationList << hasauthorganization_tmp
    end
  end
  @AuthUserTotal = params['AuthUserTotal']
  @AuthOrganizationTotal = params['AuthOrganizationTotal']
end