Class: TencentCloud::Tdmq::V20200217::ModifyEnvironmentAttributesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::ModifyEnvironmentAttributesRequest
- Defined in:
- lib/v20200217/models.rb
Overview
ModifyEnvironmentAttributes请求参数结构体
Instance Attribute Summary collapse
- #AutoSubscriptionCreation ⇒ Object
- #ClusterId ⇒ Object
- #EnvironmentId ⇒ Object
- #MsgTTL ⇒ Object
- #Remark ⇒ Object
- #RetentionPolicy ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(environmentid = nil, msgttl = nil, clusterid = nil, remark = nil, retentionpolicy = nil, autosubscriptioncreation = nil) ⇒ ModifyEnvironmentAttributesRequest
constructor
A new instance of ModifyEnvironmentAttributesRequest.
Constructor Details
#initialize(environmentid = nil, msgttl = nil, clusterid = nil, remark = nil, retentionpolicy = nil, autosubscriptioncreation = nil) ⇒ ModifyEnvironmentAttributesRequest
Returns a new instance of ModifyEnvironmentAttributesRequest.
8777 8778 8779 8780 8781 8782 8783 8784 |
# File 'lib/v20200217/models.rb', line 8777 def initialize(environmentid=nil, msgttl=nil, clusterid=nil, remark=nil, retentionpolicy=nil, autosubscriptioncreation=nil) @EnvironmentId = environmentid @MsgTTL = msgttl @ClusterId = clusterid @Remark = remark @RetentionPolicy = retentionpolicy @AutoSubscriptionCreation = autosubscriptioncreation end |
Instance Attribute Details
#AutoSubscriptionCreation ⇒ Object
8775 8776 8777 |
# File 'lib/v20200217/models.rb', line 8775 def AutoSubscriptionCreation @AutoSubscriptionCreation end |
#ClusterId ⇒ Object
8775 8776 8777 |
# File 'lib/v20200217/models.rb', line 8775 def ClusterId @ClusterId end |
#EnvironmentId ⇒ Object
8775 8776 8777 |
# File 'lib/v20200217/models.rb', line 8775 def EnvironmentId @EnvironmentId end |
#MsgTTL ⇒ Object
8775 8776 8777 |
# File 'lib/v20200217/models.rb', line 8775 def MsgTTL @MsgTTL end |
#Remark ⇒ Object
8775 8776 8777 |
# File 'lib/v20200217/models.rb', line 8775 def Remark @Remark end |
#RetentionPolicy ⇒ Object
8775 8776 8777 |
# File 'lib/v20200217/models.rb', line 8775 def RetentionPolicy @RetentionPolicy end |
Instance Method Details
#deserialize(params) ⇒ Object
8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 |
# File 'lib/v20200217/models.rb', line 8786 def deserialize(params) @EnvironmentId = params['EnvironmentId'] @MsgTTL = params['MsgTTL'] @ClusterId = params['ClusterId'] @Remark = params['Remark'] unless params['RetentionPolicy'].nil? @RetentionPolicy = RetentionPolicy.new @RetentionPolicy.deserialize(params['RetentionPolicy']) end @AutoSubscriptionCreation = params['AutoSubscriptionCreation'] end |