Class: TencentCloud::Tdmq::V20200217::CreateCmqQueueRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tdmq::V20200217::CreateCmqQueueRequest
- Defined in:
- lib/v20200217/models.rb
Overview
CreateCmqQueue请求参数结构体
Instance Attribute Summary collapse
- #DeadLetterQueueName ⇒ Object
- #FirstQueryInterval ⇒ Object
- #MaxMsgHeapNum ⇒ Object
- #MaxMsgSize ⇒ Object
- #MaxQueryCount ⇒ Object
- #MaxReceiveCount ⇒ Object
- #MaxTimeToLive ⇒ Object
- #MsgRetentionSeconds ⇒ Object
- #Policy ⇒ Object
- #PollingWaitSeconds ⇒ Object
- #QueueName ⇒ Object
- #RetentionSizeInMB ⇒ Object
- #RewindSeconds ⇒ Object
- #Tags ⇒ Object
- #Trace ⇒ Object
- #Transaction ⇒ Object
- #VisibilityTimeout ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(queuename = nil, maxmsgheapnum = nil, pollingwaitseconds = nil, visibilitytimeout = nil, maxmsgsize = nil, msgretentionseconds = nil, rewindseconds = nil, transaction = nil, firstqueryinterval = nil, maxquerycount = nil, deadletterqueuename = nil, policy = nil, maxreceivecount = nil, maxtimetolive = nil, trace = nil, tags = nil, retentionsizeinmb = nil) ⇒ CreateCmqQueueRequest
constructor
A new instance of CreateCmqQueueRequest.
Constructor Details
#initialize(queuename = nil, maxmsgheapnum = nil, pollingwaitseconds = nil, visibilitytimeout = nil, maxmsgsize = nil, msgretentionseconds = nil, rewindseconds = nil, transaction = nil, firstqueryinterval = nil, maxquerycount = nil, deadletterqueuename = nil, policy = nil, maxreceivecount = nil, maxtimetolive = nil, trace = nil, tags = nil, retentionsizeinmb = nil) ⇒ CreateCmqQueueRequest
Returns a new instance of CreateCmqQueueRequest.
1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 |
# File 'lib/v20200217/models.rb', line 1216 def initialize(queuename=nil, maxmsgheapnum=nil, pollingwaitseconds=nil, visibilitytimeout=nil, maxmsgsize=nil, msgretentionseconds=nil, rewindseconds=nil, transaction=nil, =nil, maxquerycount=nil, deadletterqueuename=nil, policy=nil, maxreceivecount=nil, maxtimetolive=nil, trace=nil, =nil, retentionsizeinmb=nil) @QueueName = queuename @MaxMsgHeapNum = maxmsgheapnum @PollingWaitSeconds = pollingwaitseconds @VisibilityTimeout = visibilitytimeout @MaxMsgSize = maxmsgsize @MsgRetentionSeconds = msgretentionseconds @RewindSeconds = rewindseconds @Transaction = transaction @FirstQueryInterval = @MaxQueryCount = maxquerycount @DeadLetterQueueName = deadletterqueuename @Policy = policy @MaxReceiveCount = maxreceivecount @MaxTimeToLive = maxtimetolive @Trace = trace @Tags = @RetentionSizeInMB = retentionsizeinmb end |
Instance Attribute Details
#DeadLetterQueueName ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def DeadLetterQueueName @DeadLetterQueueName end |
#FirstQueryInterval ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def FirstQueryInterval @FirstQueryInterval end |
#MaxMsgHeapNum ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def MaxMsgHeapNum @MaxMsgHeapNum end |
#MaxMsgSize ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def MaxMsgSize @MaxMsgSize end |
#MaxQueryCount ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def MaxQueryCount @MaxQueryCount end |
#MaxReceiveCount ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def MaxReceiveCount @MaxReceiveCount end |
#MaxTimeToLive ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def MaxTimeToLive @MaxTimeToLive end |
#MsgRetentionSeconds ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def MsgRetentionSeconds @MsgRetentionSeconds end |
#Policy ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def Policy @Policy end |
#PollingWaitSeconds ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def PollingWaitSeconds @PollingWaitSeconds end |
#QueueName ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def QueueName @QueueName end |
#RetentionSizeInMB ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def RetentionSizeInMB @RetentionSizeInMB end |
#RewindSeconds ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def RewindSeconds @RewindSeconds end |
#Tags ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def Tags @Tags end |
#Trace ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def Trace @Trace end |
#Transaction ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def Transaction @Transaction end |
#VisibilityTimeout ⇒ Object
1214 1215 1216 |
# File 'lib/v20200217/models.rb', line 1214 def VisibilityTimeout @VisibilityTimeout end |
Instance Method Details
#deserialize(params) ⇒ Object
1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 |
# File 'lib/v20200217/models.rb', line 1236 def deserialize(params) @QueueName = params['QueueName'] @MaxMsgHeapNum = params['MaxMsgHeapNum'] @PollingWaitSeconds = params['PollingWaitSeconds'] @VisibilityTimeout = params['VisibilityTimeout'] @MaxMsgSize = params['MaxMsgSize'] @MsgRetentionSeconds = params['MsgRetentionSeconds'] @RewindSeconds = params['RewindSeconds'] @Transaction = params['Transaction'] @FirstQueryInterval = params['FirstQueryInterval'] @MaxQueryCount = params['MaxQueryCount'] @DeadLetterQueueName = params['DeadLetterQueueName'] @Policy = params['Policy'] @MaxReceiveCount = params['MaxReceiveCount'] @MaxTimeToLive = params['MaxTimeToLive'] @Trace = params['Trace'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end @RetentionSizeInMB = params['RetentionSizeInMB'] end |