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.



3243
3244
3245
3246
# File 'lib/v20190823/models.rb', line 3243

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

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    带扩缩容表所属集群ID

  • TableQuotas:

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



3241
3242
3243
# File 'lib/v20190823/models.rb', line 3241

def ClusterId
  @ClusterId
end

#TableQuotasObject

Parameters:

  • ClusterId:

    带扩缩容表所属集群ID

  • TableQuotas:

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



3241
3242
3243
# File 'lib/v20190823/models.rb', line 3241

def TableQuotas
  @TableQuotas
end

Instance Method Details

#deserialize(params) ⇒ Object



3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
# File 'lib/v20190823/models.rb', line 3248

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