Class: TencentCloud::Ckafka::V20190819::ZoneResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Ckafka::V20190819::ZoneResponse
- Defined in:
- lib/v20190819/models.rb
Overview
查询kafka的zone信息返回的实体
Instance Attribute Summary collapse
- #ClusterInfo ⇒ Object
- #ForceCheckTag ⇒ Object
- #Limit ⇒ Object
- #MaxBandwidth ⇒ Object
- #MaxBuyInstanceNum ⇒ Object
- #MessagePrice ⇒ Object
- #Offset ⇒ Object
- #Physical ⇒ Object
- #Profession ⇒ Object
- #PublicNetwork ⇒ Object
- #PublicNetworkLimit ⇒ Object
- #RequestId ⇒ Object
- #Standard ⇒ Object
- #StandardS2 ⇒ Object
- #UnitPrice ⇒ Object
- #ZoneList ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zonelist = nil, maxbuyinstancenum = nil, maxbandwidth = nil, unitprice = nil, messageprice = nil, clusterinfo = nil, standard = nil, standards2 = nil, profession = nil, physical = nil, publicnetwork = nil, publicnetworklimit = nil, requestid = nil, offset = nil, limit = nil, forcechecktag = nil) ⇒ ZoneResponse
constructor
A new instance of ZoneResponse.
Constructor Details
#initialize(zonelist = nil, maxbuyinstancenum = nil, maxbandwidth = nil, unitprice = nil, messageprice = nil, clusterinfo = nil, standard = nil, standards2 = nil, profession = nil, physical = nil, publicnetwork = nil, publicnetworklimit = nil, requestid = nil, offset = nil, limit = nil, forcechecktag = nil) ⇒ ZoneResponse
Returns a new instance of ZoneResponse.
12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 |
# File 'lib/v20190819/models.rb', line 12680 def initialize(zonelist=nil, =nil, maxbandwidth=nil, unitprice=nil, =nil, clusterinfo=nil, standard=nil, standards2=nil, profession=nil, physical=nil, publicnetwork=nil, publicnetworklimit=nil, requestid=nil, offset=nil, limit=nil, forcechecktag=nil) @ZoneList = zonelist @MaxBuyInstanceNum = @MaxBandwidth = maxbandwidth @UnitPrice = unitprice @MessagePrice = @ClusterInfo = clusterinfo @Standard = standard @StandardS2 = standards2 @Profession = profession @Physical = physical @PublicNetwork = publicnetwork @PublicNetworkLimit = publicnetworklimit @RequestId = requestid @Offset = offset @Limit = limit @ForceCheckTag = forcechecktag end |
Instance Attribute Details
#ClusterInfo ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def ClusterInfo @ClusterInfo end |
#ForceCheckTag ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def ForceCheckTag @ForceCheckTag end |
#Limit ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def Limit @Limit end |
#MaxBandwidth ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def MaxBandwidth @MaxBandwidth end |
#MaxBuyInstanceNum ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def MaxBuyInstanceNum @MaxBuyInstanceNum end |
#MessagePrice ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def MessagePrice @MessagePrice end |
#Offset ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def Offset @Offset end |
#Physical ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def Physical @Physical end |
#Profession ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def Profession @Profession end |
#PublicNetwork ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def PublicNetwork @PublicNetwork end |
#PublicNetworkLimit ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def PublicNetworkLimit @PublicNetworkLimit end |
#RequestId ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def RequestId @RequestId end |
#Standard ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def Standard @Standard end |
#StandardS2 ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def StandardS2 @StandardS2 end |
#UnitPrice ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def UnitPrice @UnitPrice end |
#ZoneList ⇒ Object
12678 12679 12680 |
# File 'lib/v20190819/models.rb', line 12678 def ZoneList @ZoneList end |
Instance Method Details
#deserialize(params) ⇒ Object
12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 |
# File 'lib/v20190819/models.rb', line 12699 def deserialize(params) unless params['ZoneList'].nil? @ZoneList = [] params['ZoneList'].each do |i| zoneinfo_tmp = ZoneInfo.new zoneinfo_tmp.deserialize(i) @ZoneList << zoneinfo_tmp end end @MaxBuyInstanceNum = params['MaxBuyInstanceNum'] @MaxBandwidth = params['MaxBandwidth'] unless params['UnitPrice'].nil? @UnitPrice = Price.new @UnitPrice.deserialize(params['UnitPrice']) end unless params['MessagePrice'].nil? @MessagePrice = Price.new @MessagePrice.deserialize(params['MessagePrice']) end unless params['ClusterInfo'].nil? @ClusterInfo = [] params['ClusterInfo'].each do |i| clusterinfo_tmp = ClusterInfo.new clusterinfo_tmp.deserialize(i) @ClusterInfo << clusterinfo_tmp end end @Standard = params['Standard'] @StandardS2 = params['StandardS2'] @Profession = params['Profession'] @Physical = params['Physical'] @PublicNetwork = params['PublicNetwork'] @PublicNetworkLimit = params['PublicNetworkLimit'] @RequestId = params['RequestId'] @Offset = params['Offset'] @Limit = params['Limit'] @ForceCheckTag = params['ForceCheckTag'] end |