Class: TencentCloud::Ccc::V20200210::DescribeActiveCarrierPrivilegeNumberResponse

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

Overview

DescribeActiveCarrierPrivilegeNumber返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, activecarrierprivilegenumbers = nil, pendingapplicantids = nil, requestid = nil) ⇒ DescribeActiveCarrierPrivilegeNumberResponse



2852
2853
2854
2855
2856
2857
# File 'lib/v20200210/models.rb', line 2852

def initialize(totalcount=nil, activecarrierprivilegenumbers=nil, pendingapplicantids=nil, requestid=nil)
  @TotalCount = totalcount
  @ActiveCarrierPrivilegeNumbers = activecarrierprivilegenumbers
  @PendingApplicantIds = pendingapplicantids
  @RequestId = requestid
end

Instance Attribute Details

#ActiveCarrierPrivilegeNumbersObject



2850
2851
2852
# File 'lib/v20200210/models.rb', line 2850

def ActiveCarrierPrivilegeNumbers
  @ActiveCarrierPrivilegeNumbers
end

#PendingApplicantIdsObject



2850
2851
2852
# File 'lib/v20200210/models.rb', line 2850

def PendingApplicantIds
  @PendingApplicantIds
end

#RequestIdObject



2850
2851
2852
# File 'lib/v20200210/models.rb', line 2850

def RequestId
  @RequestId
end

#TotalCountObject



2850
2851
2852
# File 'lib/v20200210/models.rb', line 2850

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
# File 'lib/v20200210/models.rb', line 2859

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['ActiveCarrierPrivilegeNumbers'].nil?
    @ActiveCarrierPrivilegeNumbers = []
    params['ActiveCarrierPrivilegeNumbers'].each do |i|
      activecarrierprivilegenumber_tmp = ActiveCarrierPrivilegeNumber.new
      activecarrierprivilegenumber_tmp.deserialize(i)
      @ActiveCarrierPrivilegeNumbers << activecarrierprivilegenumber_tmp
    end
  end
  @PendingApplicantIds = params['PendingApplicantIds']
  @RequestId = params['RequestId']
end