Class: TencentCloud::Apcas::V20201127::LabelDetailData

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

Overview

画像标签详情数据对象

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(value = nil, label = nil) ⇒ LabelDetailData

Returns a new instance of LabelDetailData.



230
231
232
233
# File 'lib/v20201127/models.rb', line 230

def initialize(value=nil, label=nil)
  @Value = value
  @Label = label
end

Instance Attribute Details

#LabelObject

Parameters:

  • Value:

    标签数据对象

  • Label:

    标签表述,如“汽车资讯”、“游戏#手游”等



228
229
230
# File 'lib/v20201127/models.rb', line 228

def Label
  @Label
end

#ValueObject

Parameters:

  • Value:

    标签数据对象

  • Label:

    标签表述,如“汽车资讯”、“游戏#手游”等



228
229
230
# File 'lib/v20201127/models.rb', line 228

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



235
236
237
238
239
240
241
# File 'lib/v20201127/models.rb', line 235

def deserialize(params)
  unless params['Value'].nil?
    @Value = LabelValue.new
    @Value.deserialize(params['Value'])
  end
  @Label = params['Label']
end