Class: TencentCloud::Lighthouse::V20200324::ZoneInfo

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

Overview

可用区详细信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(zone = nil, zonename = nil, instancedisplaylabel = nil) ⇒ ZoneInfo

Returns a new instance of ZoneInfo.



8839
8840
8841
8842
8843
# File 'lib/v20200324/models.rb', line 8839

def initialize(zone=nil, zonename=nil, instancedisplaylabel=nil)
  @Zone = zone
  @ZoneName = zonename
  @InstanceDisplayLabel = instancedisplaylabel
end

Instance Attribute Details

#InstanceDisplayLabelObject

Parameters:

  • Zone:

    可用区

  • ZoneName:

    可用区中文名称

  • InstanceDisplayLabel:

    实例购买页可用区展示标签



8837
8838
8839
# File 'lib/v20200324/models.rb', line 8837

def InstanceDisplayLabel
  @InstanceDisplayLabel
end

#ZoneObject

Parameters:

  • Zone:

    可用区

  • ZoneName:

    可用区中文名称

  • InstanceDisplayLabel:

    实例购买页可用区展示标签



8837
8838
8839
# File 'lib/v20200324/models.rb', line 8837

def Zone
  @Zone
end

#ZoneNameObject

Parameters:

  • Zone:

    可用区

  • ZoneName:

    可用区中文名称

  • InstanceDisplayLabel:

    实例购买页可用区展示标签



8837
8838
8839
# File 'lib/v20200324/models.rb', line 8837

def ZoneName
  @ZoneName
end

Instance Method Details

#deserialize(params) ⇒ Object



8845
8846
8847
8848
8849
# File 'lib/v20200324/models.rb', line 8845

def deserialize(params)
  @Zone = params['Zone']
  @ZoneName = params['ZoneName']
  @InstanceDisplayLabel = params['InstanceDisplayLabel']
end