Class: TencentCloud::Cwp::V20180228::ModifyLogKafkaAccessRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cwp::V20180228::ModifyLogKafkaAccessRequest
- Defined in:
- lib/v20180228/models.rb
Overview
ModifyLogKafkaAccess请求参数结构体
Instance Attribute Summary collapse
- #AccessAddr ⇒ Object
- #AccessType ⇒ Object
- #Az ⇒ Object
- #BandWidth ⇒ Object
- #DeliverStatus ⇒ Object
- #DeliverTypeDetails ⇒ Object
- #DiskSize ⇒ Object
- #HasPwd ⇒ Object
- #InsVersion ⇒ Object
- #KafkaEnvName ⇒ Object
- #KafkaId ⇒ Object
- #Pwd ⇒ Object
- #SubnetId ⇒ Object
- #Username ⇒ Object
- #VpcId ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(kafkaenvname = nil, kafkaid = nil, accesstype = nil, accessaddr = nil, username = nil, haspwd = nil, delivertypedetails = nil, insversion = nil, zone = nil, az = nil, vpcid = nil, subnetid = nil, deliverstatus = nil, bandwidth = nil, disksize = nil, pwd = nil) ⇒ ModifyLogKafkaAccessRequest
constructor
A new instance of ModifyLogKafkaAccessRequest.
Constructor Details
#initialize(kafkaenvname = nil, kafkaid = nil, accesstype = nil, accessaddr = nil, username = nil, haspwd = nil, delivertypedetails = nil, insversion = nil, zone = nil, az = nil, vpcid = nil, subnetid = nil, deliverstatus = nil, bandwidth = nil, disksize = nil, pwd = nil) ⇒ ModifyLogKafkaAccessRequest
Returns a new instance of ModifyLogKafkaAccessRequest.
32751 32752 32753 32754 32755 32756 32757 32758 32759 32760 32761 32762 32763 32764 32765 32766 32767 32768 |
# File 'lib/v20180228/models.rb', line 32751 def initialize(kafkaenvname=nil, kafkaid=nil, accesstype=nil, accessaddr=nil, username=nil, haspwd=nil, delivertypedetails=nil, insversion=nil, zone=nil, az=nil, vpcid=nil, subnetid=nil, deliverstatus=nil, bandwidth=nil, disksize=nil, pwd=nil) @KafkaEnvName = kafkaenvname @KafkaId = kafkaid @AccessType = accesstype @AccessAddr = accessaddr @Username = username @HasPwd = haspwd @DeliverTypeDetails = delivertypedetails @InsVersion = insversion @Zone = zone @Az = az @VpcId = vpcid @SubnetId = subnetid @DeliverStatus = deliverstatus @BandWidth = bandwidth @DiskSize = disksize @Pwd = pwd end |
Instance Attribute Details
#AccessAddr ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def AccessAddr @AccessAddr end |
#AccessType ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def AccessType @AccessType end |
#Az ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def Az @Az end |
#BandWidth ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def BandWidth @BandWidth end |
#DeliverStatus ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def DeliverStatus @DeliverStatus end |
#DeliverTypeDetails ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def DeliverTypeDetails @DeliverTypeDetails end |
#DiskSize ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def DiskSize @DiskSize end |
#HasPwd ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def HasPwd @HasPwd end |
#InsVersion ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def InsVersion @InsVersion end |
#KafkaEnvName ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def KafkaEnvName @KafkaEnvName end |
#KafkaId ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def KafkaId @KafkaId end |
#Pwd ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def Pwd @Pwd end |
#SubnetId ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def SubnetId @SubnetId end |
#Username ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def Username @Username end |
#VpcId ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def VpcId @VpcId end |
#Zone ⇒ Object
32749 32750 32751 |
# File 'lib/v20180228/models.rb', line 32749 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
32770 32771 32772 32773 32774 32775 32776 32777 32778 32779 32780 32781 32782 32783 32784 32785 32786 32787 32788 32789 32790 32791 32792 32793 32794 |
# File 'lib/v20180228/models.rb', line 32770 def deserialize(params) @KafkaEnvName = params['KafkaEnvName'] @KafkaId = params['KafkaId'] @AccessType = params['AccessType'] @AccessAddr = params['AccessAddr'] @Username = params['Username'] @HasPwd = params['HasPwd'] unless params['DeliverTypeDetails'].nil? @DeliverTypeDetails = [] params['DeliverTypeDetails'].each do |i| delivertypedetails_tmp = DeliverTypeDetails.new delivertypedetails_tmp.deserialize(i) @DeliverTypeDetails << delivertypedetails_tmp end end @InsVersion = params['InsVersion'] @Zone = params['Zone'] @Az = params['Az'] @VpcId = params['VpcId'] @SubnetId = params['SubnetId'] @DeliverStatus = params['DeliverStatus'] @BandWidth = params['BandWidth'] @DiskSize = params['DiskSize'] @Pwd = params['Pwd'] end |