Class: TencentCloud::Cdn::V20180606::DescribeDomainsConfigResponse

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

Overview

DescribeDomainsConfig返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of DescribeDomainsConfigResponse.



4380
4381
4382
4383
4384
# File 'lib/v20180606/models.rb', line 4380

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。



4378
4379
4380
# File 'lib/v20180606/models.rb', line 4378

def Domains
  @Domains
end

#RequestIdObject

用于分页查询

Parameters:

  • Domains:

    域名列表

  • TotalNumber:

    符合查询条件的域名总数

  • RequestId:

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



4378
4379
4380
# File 'lib/v20180606/models.rb', line 4378

def RequestId
  @RequestId
end

#TotalNumberObject

用于分页查询

Parameters:

  • Domains:

    域名列表

  • TotalNumber:

    符合查询条件的域名总数

  • RequestId:

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



4378
4379
4380
# File 'lib/v20180606/models.rb', line 4378

def TotalNumber
  @TotalNumber
end

Instance Method Details

#deserialize(params) ⇒ Object



4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
# File 'lib/v20180606/models.rb', line 4386

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