Class: TencentCloud::Clb::V20180317::ZoneResource

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

Overview

可用区资源列表

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(masterzone = nil, resourceset = nil, slavezone = nil, ipversion = nil, zoneregion = nil, localzone = nil, zoneresourcetype = nil, edgezone = nil, egress = nil) ⇒ ZoneResource



8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
# File 'lib/v20180317/models.rb', line 8788

def initialize(masterzone=nil, resourceset=nil, slavezone=nil, ipversion=nil, zoneregion=nil, localzone=nil, zoneresourcetype=nil, edgezone=nil, egress=nil)
  @MasterZone = masterzone
  @ResourceSet = resourceset
  @SlaveZone = slavezone
  @IPVersion = ipversion
  @ZoneRegion = zoneregion
  @LocalZone = localzone
  @ZoneResourceType = zoneresourcetype
  @EdgeZone = edgezone
  @Egress = egress
end

Instance Attribute Details

#EdgeZoneObject

注意:此字段可能返回 null,表示取不到有效值。



8786
8787
8788
# File 'lib/v20180317/models.rb', line 8786

def EdgeZone
  @EdgeZone
end

#EgressObject

注意:此字段可能返回 null,表示取不到有效值。



8786
8787
8788
# File 'lib/v20180317/models.rb', line 8786

def Egress
  @Egress
end

#IPVersionObject

注意:此字段可能返回 null,表示取不到有效值。



8786
8787
8788
# File 'lib/v20180317/models.rb', line 8786

def IPVersion
  @IPVersion
end

#LocalZoneObject

注意:此字段可能返回 null,表示取不到有效值。



8786
8787
8788
# File 'lib/v20180317/models.rb', line 8786

def LocalZone
  @LocalZone
end

#MasterZoneObject

注意:此字段可能返回 null,表示取不到有效值。



8786
8787
8788
# File 'lib/v20180317/models.rb', line 8786

def MasterZone
  @MasterZone
end

#ResourceSetObject

注意:此字段可能返回 null,表示取不到有效值。



8786
8787
8788
# File 'lib/v20180317/models.rb', line 8786

def ResourceSet
  @ResourceSet
end

#SlaveZoneObject

注意:此字段可能返回 null,表示取不到有效值。



8786
8787
8788
# File 'lib/v20180317/models.rb', line 8786

def SlaveZone
  @SlaveZone
end

#ZoneRegionObject

注意:此字段可能返回 null,表示取不到有效值。



8786
8787
8788
# File 'lib/v20180317/models.rb', line 8786

def ZoneRegion
  @ZoneRegion
end

#ZoneResourceTypeObject

注意:此字段可能返回 null,表示取不到有效值。



8786
8787
8788
# File 'lib/v20180317/models.rb', line 8786

def ZoneResourceType
  @ZoneResourceType
end

Instance Method Details

#deserialize(params) ⇒ Object



8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
# File 'lib/v20180317/models.rb', line 8800

def deserialize(params)
  @MasterZone = params['MasterZone']
  unless params['ResourceSet'].nil?
    @ResourceSet = []
    params['ResourceSet'].each do |i|
      resource_tmp = Resource.new
      resource_tmp.deserialize(i)
      @ResourceSet << resource_tmp
    end
  end
  @SlaveZone = params['SlaveZone']
  @IPVersion = params['IPVersion']
  @ZoneRegion = params['ZoneRegion']
  @LocalZone = params['LocalZone']
  @ZoneResourceType = params['ZoneResourceType']
  @EdgeZone = params['EdgeZone']
  @Egress = params['Egress']
end