class TencentCloud::Ess::V20201111::AuthInfoDetail
企业扩展服务授权列表详情
def deserialize(params)
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
def initialize(type=nil, name=nil, hasauthuserlist=nil, hasauthorganizationlist=nil, authusertotal=nil, authorganizationtotal=nil)
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