Class: TencentCloud::Irp::V20220324::DislikeInfo

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

Overview

不喜欢信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, value = nil) ⇒ DislikeInfo

Returns a new instance of DislikeInfo.



66
67
68
69
# File 'lib/v20220324/models.rb', line 66

def initialize(type=nil, value=nil)
  @Type = type
  @Value = value
end

Instance Attribute Details

#TypeObject

Parameters:

  • Type:

    不喜欢的物料类别,对应物料上传协议中的字段名,如authorId,keyword,topic等

  • Value:

    type对应字段名的值,如具体的topic名,作者id等



64
65
66
# File 'lib/v20220324/models.rb', line 64

def Type
  @Type
end

#ValueObject

Parameters:

  • Type:

    不喜欢的物料类别,对应物料上传协议中的字段名,如authorId,keyword,topic等

  • Value:

    type对应字段名的值,如具体的topic名,作者id等



64
65
66
# File 'lib/v20220324/models.rb', line 64

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



71
72
73
74
# File 'lib/v20220324/models.rb', line 71

def deserialize(params)
  @Type = params['Type']
  @Value = params['Value']
end