Class: TencentCloud::Wedata::V20210820::ModifyDimensionWeightRequest

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

Overview

ModifyDimensionWeight请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(weightinfolist = nil, projectid = nil, refresh = nil) ⇒ ModifyDimensionWeightRequest

Returns a new instance of ModifyDimensionWeightRequest.



27021
27022
27023
27024
27025
# File 'lib/v20210820/models.rb', line 27021

def initialize(weightinfolist=nil, projectid=nil, refresh=nil)
  @WeightInfoList = weightinfolist
  @ProjectId = projectid
  @Refresh = refresh
end

Instance Attribute Details

#ProjectIdObject

Parameters:

  • WeightInfoList:

    权重信息列表

  • ProjectId:

    项目id

  • Refresh:

    是否重刷历史数据



27019
27020
27021
# File 'lib/v20210820/models.rb', line 27019

def ProjectId
  @ProjectId
end

#RefreshObject

Parameters:

  • WeightInfoList:

    权重信息列表

  • ProjectId:

    项目id

  • Refresh:

    是否重刷历史数据



27019
27020
27021
# File 'lib/v20210820/models.rb', line 27019

def Refresh
  @Refresh
end

#WeightInfoListObject

Parameters:

  • WeightInfoList:

    权重信息列表

  • ProjectId:

    项目id

  • Refresh:

    是否重刷历史数据



27019
27020
27021
# File 'lib/v20210820/models.rb', line 27019

def WeightInfoList
  @WeightInfoList
end

Instance Method Details

#deserialize(params) ⇒ Object



27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
# File 'lib/v20210820/models.rb', line 27027

def deserialize(params)
  unless params['WeightInfoList'].nil?
    @WeightInfoList = []
    params['WeightInfoList'].each do |i|
      weightinfo_tmp = WeightInfo.new
      weightinfo_tmp.deserialize(i)
      @WeightInfoList << weightinfo_tmp
    end
  end
  @ProjectId = params['ProjectId']
  @Refresh = params['Refresh']
end