Class: TencentCloud::Teo::V20220901::CreateZoneRequest

Inherits:
Common::AbstractModel
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/v20220901/models.rb

Overview

CreateZone请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, zonename = nil, area = nil, planid = nil, aliaszonename = nil, tags = nil, allowduplicates = nil, jumpstart = nil) ⇒ CreateZoneRequest



5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
# File 'lib/v20220901/models.rb', line 5643

def initialize(type=nil, zonename=nil, area=nil, planid=nil, aliaszonename=nil, tags=nil, allowduplicates=nil, jumpstart=nil)
  @Type = type
  @ZoneName = zonename
  @Area = area
  @PlanId = planid
  @AliasZoneName = aliaszonename
  @Tags = tags
  @AllowDuplicates = allowduplicates
  @JumpStart = jumpstart
end

Instance Attribute Details

#AliasZoneNameObject

<li> true:允许重复接入;</li> <li> false:不允许重复接入。</li>不填写使用默认值false。



5636
5637
5638
# File 'lib/v20220901/models.rb', line 5636

def AliasZoneName
  @AliasZoneName
end

#AllowDuplicatesObject

<li> true:允许重复接入;</li> <li> false:不允许重复接入。</li>不填写使用默认值false。



5636
5637
5638
# File 'lib/v20220901/models.rb', line 5636

def AllowDuplicates
  @AllowDuplicates
end

#AreaObject

<li> true:允许重复接入;</li> <li> false:不允许重复接入。</li>不填写使用默认值false。



5636
5637
5638
# File 'lib/v20220901/models.rb', line 5636

def Area
  @Area
end

#JumpStartObject

<li> true:允许重复接入;</li> <li> false:不允许重复接入。</li>不填写使用默认值false。



5636
5637
5638
# File 'lib/v20220901/models.rb', line 5636

def JumpStart
  @JumpStart
end

#PlanIdObject

<li> true:允许重复接入;</li> <li> false:不允许重复接入。</li>不填写使用默认值false。



5636
5637
5638
# File 'lib/v20220901/models.rb', line 5636

def PlanId
  @PlanId
end

#TagsObject

<li> true:允许重复接入;</li> <li> false:不允许重复接入。</li>不填写使用默认值false。



5636
5637
5638
# File 'lib/v20220901/models.rb', line 5636

def Tags
  @Tags
end

#TypeObject

<li> true:允许重复接入;</li> <li> false:不允许重复接入。</li>不填写使用默认值false。



5636
5637
5638
# File 'lib/v20220901/models.rb', line 5636

def Type
  @Type
end

#ZoneNameObject

<li> true:允许重复接入;</li> <li> false:不允许重复接入。</li>不填写使用默认值false。



5636
5637
5638
# File 'lib/v20220901/models.rb', line 5636

def ZoneName
  @ZoneName
end

Instance Method Details

#deserialize(params) ⇒ Object



5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
# File 'lib/v20220901/models.rb', line 5654

def deserialize(params)
  @Type = params['Type']
  @ZoneName = params['ZoneName']
  @Area = params['Area']
  @PlanId = params['PlanId']
  @AliasZoneName = params['AliasZoneName']
  unless params['Tags'].nil?
    @Tags = []
    params['Tags'].each do |i|
      tag_tmp = Tag.new
      tag_tmp.deserialize(i)
      @Tags << tag_tmp
    end
  end
  @AllowDuplicates = params['AllowDuplicates']
  @JumpStart = params['JumpStart']
end