Class: TencentCloud::Ccc::V20200210::DescribeCarrierPrivilegeNumberApplicantsResponse

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

Overview

DescribeCarrierPrivilegeNumberApplicants返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, applicants = nil, requestid = nil) ⇒ DescribeCarrierPrivilegeNumberApplicantsResponse

Returns a new instance of DescribeCarrierPrivilegeNumberApplicantsResponse.



3262
3263
3264
3265
3266
# File 'lib/v20200210/models.rb', line 3262

def initialize(totalcount=nil, applicants=nil, requestid=nil)
  @TotalCount = totalcount
  @Applicants = applicants
  @RequestId = requestid
end

Instance Attribute Details

#ApplicantsObject

Parameters:

  • TotalCount:

    筛选出的总申请单数量

  • Applicants:

    申请单列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3260
3261
3262
# File 'lib/v20200210/models.rb', line 3260

def Applicants
  @Applicants
end

#RequestIdObject

Parameters:

  • TotalCount:

    筛选出的总申请单数量

  • Applicants:

    申请单列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3260
3261
3262
# File 'lib/v20200210/models.rb', line 3260

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    筛选出的总申请单数量

  • Applicants:

    申请单列表

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3260
3261
3262
# File 'lib/v20200210/models.rb', line 3260

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
# File 'lib/v20200210/models.rb', line 3268

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