Class: TencentCloud::Essbasic::V20210526::AuthInfoDetail

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210526/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.



284
285
286
287
288
289
290
291
# File 'lib/v20210526/models.rb', line 284

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:

    授权企业列表总数



282
283
284
# File 'lib/v20210526/models.rb', line 282

def AuthOrganizationTotal
  @AuthOrganizationTotal
end

#AuthUserTotalObject

Parameters:

  • Type:

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

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

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

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



282
283
284
# File 'lib/v20210526/models.rb', line 282

def AuthUserTotal
  @AuthUserTotal
end

#HasAuthOrganizationListObject

Parameters:

  • Type:

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

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

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

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



282
283
284
# File 'lib/v20210526/models.rb', line 282

def HasAuthOrganizationList
  @HasAuthOrganizationList
end

#HasAuthUserListObject

Parameters:

  • Type:

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

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

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

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



282
283
284
# File 'lib/v20210526/models.rb', line 282

def HasAuthUserList
  @HasAuthUserList
end

#NameObject

Parameters:

  • Type:

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

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

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

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



282
283
284
# File 'lib/v20210526/models.rb', line 282

def Name
  @Name
end

#TypeObject

Parameters:

  • Type:

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

  • Name:

    扩展服务名称

  • HasAuthUserList:

    授权员工列表

  • HasAuthOrganizationList:

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

  • AuthUserTotal:

    授权员工列表总数

  • AuthOrganizationTotal:

    授权企业列表总数



282
283
284
# File 'lib/v20210526/models.rb', line 282

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
# File 'lib/v20210526/models.rb', line 293

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