Class: TencentCloud::Tcaplusdb::V20190823::ModifyTableQuotasRequest

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

Overview

ModifyTableQuotas请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, tablequotas = nil) ⇒ ModifyTableQuotasRequest

Returns a new instance of ModifyTableQuotasRequest.



3284
3285
3286
3287
# File 'lib/v20190823/models.rb', line 3284

def initialize(clusterid=nil, tablequotas=nil)
  @ClusterId = clusterid
  @TableQuotas = tablequotas
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    带扩缩容表所属集群ID

  • TableQuotas:

    已选中待修改的表配额列表



3282
3283
3284
# File 'lib/v20190823/models.rb', line 3282

def ClusterId
  @ClusterId
end

#TableQuotasObject

Parameters:

  • ClusterId:

    带扩缩容表所属集群ID

  • TableQuotas:

    已选中待修改的表配额列表



3282
3283
3284
# File 'lib/v20190823/models.rb', line 3282

def TableQuotas
  @TableQuotas
end

Instance Method Details

#deserialize(params) ⇒ Object



3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
# File 'lib/v20190823/models.rb', line 3289

def deserialize(params)
  @ClusterId = params['ClusterId']
  unless params['TableQuotas'].nil?
    @TableQuotas = []
    params['TableQuotas'].each do |i|
      selectedtableinfonew_tmp = SelectedTableInfoNew.new
      selectedtableinfonew_tmp.deserialize(i)
      @TableQuotas << selectedtableinfonew_tmp
    end
  end
end