Class: TencentCloud::Tdmq::V20200217::SetRocketMQPublicAccessPointRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::SetRocketMQPublicAccessPointRequest
- Defined in:
- lib/v20200217/models.rb
Overview
SetRocketMQPublicAccessPoint请求参数结构体
Instance Attribute Summary collapse
- #Bandwidth ⇒ Object
- #BillingFlow ⇒ Object
- #Enabled ⇒ Object
- #InstanceId ⇒ Object
- #PayMode ⇒ Object
- #Rules ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, enabled = nil, bandwidth = nil, paymode = nil, rules = nil, billingflow = nil) ⇒ SetRocketMQPublicAccessPointRequest
constructor
A new instance of SetRocketMQPublicAccessPointRequest.
Constructor Details
#initialize(instanceid = nil, enabled = nil, bandwidth = nil, paymode = nil, rules = nil, billingflow = nil) ⇒ SetRocketMQPublicAccessPointRequest
Returns a new instance of SetRocketMQPublicAccessPointRequest.
12899 12900 12901 12902 12903 12904 12905 12906 |
# File 'lib/v20200217/models.rb', line 12899 def initialize(instanceid=nil, enabled=nil, bandwidth=nil, paymode=nil, rules=nil, billingflow=nil) @InstanceId = instanceid @Enabled = enabled @Bandwidth = bandwidth @PayMode = paymode @Rules = rules @BillingFlow = billingflow end |
Instance Attribute Details
#Bandwidth ⇒ Object
12897 12898 12899 |
# File 'lib/v20200217/models.rb', line 12897 def Bandwidth @Bandwidth end |
#BillingFlow ⇒ Object
12897 12898 12899 |
# File 'lib/v20200217/models.rb', line 12897 def BillingFlow @BillingFlow end |
#Enabled ⇒ Object
12897 12898 12899 |
# File 'lib/v20200217/models.rb', line 12897 def Enabled @Enabled end |
#InstanceId ⇒ Object
12897 12898 12899 |
# File 'lib/v20200217/models.rb', line 12897 def InstanceId @InstanceId end |
#PayMode ⇒ Object
12897 12898 12899 |
# File 'lib/v20200217/models.rb', line 12897 def PayMode @PayMode end |
#Rules ⇒ Object
12897 12898 12899 |
# File 'lib/v20200217/models.rb', line 12897 def Rules @Rules end |
Instance Method Details
#deserialize(params) ⇒ Object
12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 |
# File 'lib/v20200217/models.rb', line 12908 def deserialize(params) @InstanceId = params['InstanceId'] @Enabled = params['Enabled'] @Bandwidth = params['Bandwidth'] @PayMode = params['PayMode'] unless params['Rules'].nil? @Rules = [] params['Rules'].each do |i| publicaccessrule_tmp = PublicAccessRule.new publicaccessrule_tmp.deserialize(i) @Rules << publicaccessrule_tmp end end @BillingFlow = params['BillingFlow'] end |