Class: TencentCloud::Cdn::V20180606::DescribeDomainsResponse

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

Overview

DescribeDomains返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domains = nil, totalnumber = nil, requestid = nil) ⇒ DescribeDomainsResponse

Returns a new instance of DescribeDomainsResponse.



4443
4444
4445
4446
4447
# File 'lib/v20180606/models.rb', line 4443

def initialize(domains=nil, totalnumber=nil, requestid=nil)
  @Domains = domains
  @TotalNumber = totalnumber
  @RequestId = requestid
end

Instance Attribute Details

#DomainsObject

用于分页查询

Parameters:

  • Domains:

    域名列表

  • TotalNumber:

    符合查询条件的域名总数

  • RequestId:

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



4441
4442
4443
# File 'lib/v20180606/models.rb', line 4441

def Domains
  @Domains
end

#RequestIdObject

用于分页查询

Parameters:

  • Domains:

    域名列表

  • TotalNumber:

    符合查询条件的域名总数

  • RequestId:

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



4441
4442
4443
# File 'lib/v20180606/models.rb', line 4441

def RequestId
  @RequestId
end

#TotalNumberObject

用于分页查询

Parameters:

  • Domains:

    域名列表

  • TotalNumber:

    符合查询条件的域名总数

  • RequestId:

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



4441
4442
4443
# File 'lib/v20180606/models.rb', line 4441

def TotalNumber
  @TotalNumber
end

Instance Method Details

#deserialize(params) ⇒ Object



4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
# File 'lib/v20180606/models.rb', line 4449

def deserialize(params)
  unless params['Domains'].nil?
    @Domains = []
    params['Domains'].each do |i|
      briefdomain_tmp = BriefDomain.new
      briefdomain_tmp.deserialize(i)
      @Domains << briefdomain_tmp
    end
  end
  @TotalNumber = params['TotalNumber']
  @RequestId = params['RequestId']
end