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.



17331
17332
17333
17334
17335
# File 'lib/v20210820/models.rb', line 17331

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

Instance Attribute Details

#ProjectIdObject

Parameters:

  • WeightInfoList:

    权重信息列表

  • ProjectId:

    项目id

  • Refresh:

    是否重刷历史数据



17329
17330
17331
# File 'lib/v20210820/models.rb', line 17329

def ProjectId
  @ProjectId
end

#RefreshObject

Parameters:

  • WeightInfoList:

    权重信息列表

  • ProjectId:

    项目id

  • Refresh:

    是否重刷历史数据



17329
17330
17331
# File 'lib/v20210820/models.rb', line 17329

def Refresh
  @Refresh
end

#WeightInfoListObject

Parameters:

  • WeightInfoList:

    权重信息列表

  • ProjectId:

    项目id

  • Refresh:

    是否重刷历史数据



17329
17330
17331
# File 'lib/v20210820/models.rb', line 17329

def WeightInfoList
  @WeightInfoList
end

Instance Method Details

#deserialize(params) ⇒ Object



17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
# File 'lib/v20210820/models.rb', line 17337

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