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.



25639
25640
25641
25642
25643
# File 'lib/v20210820/models.rb', line 25639

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

Instance Attribute Details

#ProjectIdObject

Parameters:

  • WeightInfoList:

    权重信息列表

  • ProjectId:

    项目id

  • Refresh:

    是否重刷历史数据



25637
25638
25639
# File 'lib/v20210820/models.rb', line 25637

def ProjectId
  @ProjectId
end

#RefreshObject

Parameters:

  • WeightInfoList:

    权重信息列表

  • ProjectId:

    项目id

  • Refresh:

    是否重刷历史数据



25637
25638
25639
# File 'lib/v20210820/models.rb', line 25637

def Refresh
  @Refresh
end

#WeightInfoListObject

Parameters:

  • WeightInfoList:

    权重信息列表

  • ProjectId:

    项目id

  • Refresh:

    是否重刷历史数据



25637
25638
25639
# File 'lib/v20210820/models.rb', line 25637

def WeightInfoList
  @WeightInfoList
end

Instance Method Details

#deserialize(params) ⇒ Object



25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
# File 'lib/v20210820/models.rb', line 25645

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