Class: TencentCloud::Tdmq::V20200217::ModifyRocketMQInstanceRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20200217/models.rb

Overview

ModifyRocketMQInstance请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, name = nil, remark = nil, messageretention = nil) ⇒ ModifyRocketMQInstanceRequest

Returns a new instance of ModifyRocketMQInstanceRequest.



9235
9236
9237
9238
9239
9240
# File 'lib/v20200217/models.rb', line 9235

def initialize(instanceid=nil, name=nil, remark=nil, messageretention=nil)
  @InstanceId = instanceid
  @Name = name
  @Remark = remark
  @MessageRetention = messageretention
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • InstanceId:

    专享实例ID

  • Name:

    实例名称

  • Remark:

    实例备注信息

  • MessageRetention:

    实例消息保留时间,小时为单位



9233
9234
9235
# File 'lib/v20200217/models.rb', line 9233

def InstanceId
  @InstanceId
end

#MessageRetentionObject

Parameters:

  • InstanceId:

    专享实例ID

  • Name:

    实例名称

  • Remark:

    实例备注信息

  • MessageRetention:

    实例消息保留时间,小时为单位



9233
9234
9235
# File 'lib/v20200217/models.rb', line 9233

def MessageRetention
  @MessageRetention
end

#NameObject

Parameters:

  • InstanceId:

    专享实例ID

  • Name:

    实例名称

  • Remark:

    实例备注信息

  • MessageRetention:

    实例消息保留时间,小时为单位



9233
9234
9235
# File 'lib/v20200217/models.rb', line 9233

def Name
  @Name
end

#RemarkObject

Parameters:

  • InstanceId:

    专享实例ID

  • Name:

    实例名称

  • Remark:

    实例备注信息

  • MessageRetention:

    实例消息保留时间,小时为单位



9233
9234
9235
# File 'lib/v20200217/models.rb', line 9233

def Remark
  @Remark
end

Instance Method Details

#deserialize(params) ⇒ Object



9242
9243
9244
9245
9246
9247
# File 'lib/v20200217/models.rb', line 9242

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Name = params['Name']
  @Remark = params['Remark']
  @MessageRetention = params['MessageRetention']
end