Class: TencentCloud::Wedata::V20210820::ModifyDimensionWeightRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Wedata::V20210820::ModifyDimensionWeightRequest
- Defined in:
- lib/v20210820/models.rb
Overview
ModifyDimensionWeight请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(weightinfolist = nil, projectid = nil, refresh = nil) ⇒ ModifyDimensionWeightRequest
constructor
A new instance of ModifyDimensionWeightRequest.
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
#ProjectId ⇒ Object
17329 17330 17331 |
# File 'lib/v20210820/models.rb', line 17329 def ProjectId @ProjectId end |
#Refresh ⇒ Object
17329 17330 17331 |
# File 'lib/v20210820/models.rb', line 17329 def Refresh @Refresh end |
#WeightInfoList ⇒ Object
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 |