Class: TencentCloud::Trabbit::V20230418::ModifyRabbitMQServerlessInstanceRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trabbit::V20230418::ModifyRabbitMQServerlessInstanceRequest
- Defined in:
- lib/v20230418/models.rb
Overview
ModifyRabbitMQServerlessInstance请求参数结构体
Instance Attribute Summary collapse
- #ClusterName ⇒ Object
- #DeleteAllTags ⇒ Object
- #InstanceId ⇒ Object
- #InstanceTags ⇒ Object
- #Remark ⇒ Object
- #SendReceiveRatio ⇒ Object
- #TraceFlag ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, clustername = nil, remark = nil, traceflag = nil, sendreceiveratio = nil, deletealltags = nil, instancetags = nil) ⇒ ModifyRabbitMQServerlessInstanceRequest
constructor
A new instance of ModifyRabbitMQServerlessInstanceRequest.
Constructor Details
#initialize(instanceid = nil, clustername = nil, remark = nil, traceflag = nil, sendreceiveratio = nil, deletealltags = nil, instancetags = nil) ⇒ ModifyRabbitMQServerlessInstanceRequest
Returns a new instance of ModifyRabbitMQServerlessInstanceRequest.
1740 1741 1742 1743 1744 1745 1746 1747 1748 |
# File 'lib/v20230418/models.rb', line 1740 def initialize(instanceid=nil, clustername=nil, remark=nil, traceflag=nil, sendreceiveratio=nil, =nil, =nil) @InstanceId = instanceid @ClusterName = clustername @Remark = remark @TraceFlag = traceflag @SendReceiveRatio = sendreceiveratio @DeleteAllTags = @InstanceTags = end |
Instance Attribute Details
#ClusterName ⇒ Object
1738 1739 1740 |
# File 'lib/v20230418/models.rb', line 1738 def ClusterName @ClusterName end |
#DeleteAllTags ⇒ Object
1738 1739 1740 |
# File 'lib/v20230418/models.rb', line 1738 def DeleteAllTags @DeleteAllTags end |
#InstanceId ⇒ Object
1738 1739 1740 |
# File 'lib/v20230418/models.rb', line 1738 def InstanceId @InstanceId end |
#InstanceTags ⇒ Object
1738 1739 1740 |
# File 'lib/v20230418/models.rb', line 1738 def InstanceTags @InstanceTags end |
#Remark ⇒ Object
1738 1739 1740 |
# File 'lib/v20230418/models.rb', line 1738 def Remark @Remark end |
#SendReceiveRatio ⇒ Object
1738 1739 1740 |
# File 'lib/v20230418/models.rb', line 1738 def SendReceiveRatio @SendReceiveRatio end |
#TraceFlag ⇒ Object
1738 1739 1740 |
# File 'lib/v20230418/models.rb', line 1738 def TraceFlag @TraceFlag end |
Instance Method Details
#deserialize(params) ⇒ Object
1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 |
# File 'lib/v20230418/models.rb', line 1750 def deserialize(params) @InstanceId = params['InstanceId'] @ClusterName = params['ClusterName'] @Remark = params['Remark'] @TraceFlag = params['TraceFlag'] @SendReceiveRatio = params['SendReceiveRatio'] @DeleteAllTags = params['DeleteAllTags'] unless params['InstanceTags'].nil? @InstanceTags = [] params['InstanceTags'].each do |i| rabbitmqserverlesstag_tmp = RabbitMQServerlessTag.new rabbitmqserverlesstag_tmp.deserialize(i) @InstanceTags << rabbitmqserverlesstag_tmp end end end |