Class: TencentCloud::Cwp::V20180228::CKafkaInstanceInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::CKafkaInstanceInfo
- Defined in:
- lib/v20180228/models.rb
Overview
CKafka实例信息
Instance Attribute Summary collapse
- #Az ⇒ Object
- #Bandwidth ⇒ Object
- #DiskSize ⇒ Object
- #Healthy ⇒ Object
- #InstanceID ⇒ Object
- #InstanceName ⇒ Object
- #KafkaVersion ⇒ Object
- #RouteList ⇒ Object
- #SubnetId ⇒ Object
- #TopicList ⇒ Object
- #VpcId ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, instancename = nil, kafkaversion = nil, topiclist = nil, routelist = nil, disksize = nil, vpcid = nil, subnetid = nil, healthy = nil, zone = nil, az = nil, bandwidth = nil) ⇒ CKafkaInstanceInfo
constructor
A new instance of CKafkaInstanceInfo.
Constructor Details
#initialize(instanceid = nil, instancename = nil, kafkaversion = nil, topiclist = nil, routelist = nil, disksize = nil, vpcid = nil, subnetid = nil, healthy = nil, zone = nil, az = nil, bandwidth = nil) ⇒ CKafkaInstanceInfo
Returns a new instance of CKafkaInstanceInfo.
4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 |
# File 'lib/v20180228/models.rb', line 4760 def initialize(instanceid=nil, instancename=nil, kafkaversion=nil, topiclist=nil, routelist=nil, disksize=nil, vpcid=nil, subnetid=nil, healthy=nil, zone=nil, az=nil, bandwidth=nil) @InstanceID = instanceid @InstanceName = instancename @KafkaVersion = kafkaversion @TopicList = topiclist @RouteList = routelist @DiskSize = disksize @VpcId = vpcid @SubnetId = subnetid @Healthy = healthy @Zone = zone @Az = az @Bandwidth = bandwidth end |
Instance Attribute Details
#Az ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def Az @Az end |
#Bandwidth ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def Bandwidth @Bandwidth end |
#DiskSize ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def DiskSize @DiskSize end |
#Healthy ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def Healthy @Healthy end |
#InstanceID ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def InstanceID @InstanceID end |
#InstanceName ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def InstanceName @InstanceName end |
#KafkaVersion ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def KafkaVersion @KafkaVersion end |
#RouteList ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def RouteList @RouteList end |
#SubnetId ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def SubnetId @SubnetId end |
#TopicList ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def TopicList @TopicList end |
#VpcId ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def VpcId @VpcId end |
#Zone ⇒ Object
4758 4759 4760 |
# File 'lib/v20180228/models.rb', line 4758 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 |
# File 'lib/v20180228/models.rb', line 4775 def deserialize(params) @InstanceID = params['InstanceID'] @InstanceName = params['InstanceName'] @KafkaVersion = params['KafkaVersion'] unless params['TopicList'].nil? @TopicList = [] params['TopicList'].each do |i| ckafkatopicinfo_tmp = CKafkaTopicInfo.new ckafkatopicinfo_tmp.deserialize(i) @TopicList << ckafkatopicinfo_tmp end end unless params['RouteList'].nil? @RouteList = [] params['RouteList'].each do |i| ckafkarouteinfo_tmp = CKafkaRouteInfo.new ckafkarouteinfo_tmp.deserialize(i) @RouteList << ckafkarouteinfo_tmp end end @DiskSize = params['DiskSize'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @Healthy = params['Healthy'] @Zone = params['Zone'] @Az = params['Az'] @Bandwidth = params['Bandwidth'] end |