Class: TencentCloud::Ame::V20190916::DescribeAuthInfoResponse

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

Overview

DescribeAuthInfo返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(authinfo = nil, totalcount = nil, requestid = nil) ⇒ DescribeAuthInfoResponse

Returns a new instance of DescribeAuthInfoResponse.



338
339
340
341
342
# File 'lib/v20190916/models.rb', line 338

def initialize(authinfo=nil, totalcount=nil, requestid=nil)
  @AuthInfo = authinfo
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#AuthInfoObject

Parameters:

  • AuthInfo:

    授权项目列表

  • TotalCount:

    总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



336
337
338
# File 'lib/v20190916/models.rb', line 336

def AuthInfo
  @AuthInfo
end

#RequestIdObject

Parameters:

  • AuthInfo:

    授权项目列表

  • TotalCount:

    总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



336
337
338
# File 'lib/v20190916/models.rb', line 336

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • AuthInfo:

    授权项目列表

  • TotalCount:

    总数

  • RequestId:

    唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。



336
337
338
# File 'lib/v20190916/models.rb', line 336

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



344
345
346
347
348
349
350
351
352
353
354
355
# File 'lib/v20190916/models.rb', line 344

def deserialize(params)
  unless params['AuthInfo'].nil?
    @AuthInfo = []
    params['AuthInfo'].each do |i|
      authinfo_tmp = AuthInfo.new
      authinfo_tmp.deserialize(i)
      @AuthInfo << authinfo_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end