Class: TencentCloud::Tdmq::V20200217::ModifyTopicResponse

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

Overview

ModifyTopic返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(partitions = nil, remark = nil, requestid = nil) ⇒ ModifyTopicResponse

Returns a new instance of ModifyTopicResponse.



9577
9578
9579
9580
9581
# File 'lib/v20200217/models.rb', line 9577

def initialize(partitions=nil, remark=nil, requestid=nil)
  @Partitions = partitions
  @Remark = remark
  @RequestId = requestid
end

Instance Attribute Details

#PartitionsObject

Parameters:

  • Partitions:

    分区数

  • Remark:

    备注,128字符以内。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



9575
9576
9577
# File 'lib/v20200217/models.rb', line 9575

def Partitions
  @Partitions
end

#RemarkObject

Parameters:

  • Partitions:

    分区数

  • Remark:

    备注,128字符以内。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



9575
9576
9577
# File 'lib/v20200217/models.rb', line 9575

def Remark
  @Remark
end

#RequestIdObject

Parameters:

  • Partitions:

    分区数

  • Remark:

    备注,128字符以内。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



9575
9576
9577
# File 'lib/v20200217/models.rb', line 9575

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



9583
9584
9585
9586
9587
# File 'lib/v20200217/models.rb', line 9583

def deserialize(params)
  @Partitions = params['Partitions']
  @Remark = params['Remark']
  @RequestId = params['RequestId']
end