Class: TencentCloud::Cdn::V20180606::DuplicateDomainConfigRequest

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

Overview

DuplicateDomainConfig请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, referencedomain = nil) ⇒ DuplicateDomainConfigRequest

Returns a new instance of DuplicateDomainConfigRequest.



7319
7320
7321
7322
# File 'lib/v20180606/models.rb', line 7319

def initialize(domain=nil, referencedomain=nil)
  @Domain = domain
  @ReferenceDomain = referencedomain
end

Instance Attribute Details

#DomainObject

Parameters:

  • Domain:

    新增域名

  • ReferenceDomain:

    被拷贝配置的域名



7317
7318
7319
# File 'lib/v20180606/models.rb', line 7317

def Domain
  @Domain
end

#ReferenceDomainObject

Parameters:

  • Domain:

    新增域名

  • ReferenceDomain:

    被拷贝配置的域名



7317
7318
7319
# File 'lib/v20180606/models.rb', line 7317

def ReferenceDomain
  @ReferenceDomain
end

Instance Method Details

#deserialize(params) ⇒ Object



7324
7325
7326
7327
# File 'lib/v20180606/models.rb', line 7324

def deserialize(params)
  @Domain = params['Domain']
  @ReferenceDomain = params['ReferenceDomain']
end