Class: TencentCloud::Cdn::V20180606::DomainAreaConfig

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

Overview

域名地区配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain = nil, area = nil) ⇒ DomainAreaConfig

Returns a new instance of DomainAreaConfig.



7154
7155
7156
7157
# File 'lib/v20180606/models.rb', line 7154

def initialize(domain=nil, area=nil)
  @Domain = domain
  @Area = area
end

Instance Attribute Details

#AreaObject

Parameters:

  • Domain:

    域名

  • Area:

    地区列表,其中元素可为mainland/overseas



7152
7153
7154
# File 'lib/v20180606/models.rb', line 7152

def Area
  @Area
end

#DomainObject

Parameters:

  • Domain:

    域名

  • Area:

    地区列表,其中元素可为mainland/overseas



7152
7153
7154
# File 'lib/v20180606/models.rb', line 7152

def Domain
  @Domain
end

Instance Method Details

#deserialize(params) ⇒ Object



7159
7160
7161
7162
# File 'lib/v20180606/models.rb', line 7159

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