Class: TencentCloud::Cms::V20190321::UserKeywordInfo

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

Overview

关键词信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id = nil, content = nil, label = nil, createtime = nil, remark = nil, wordtype = nil) ⇒ UserKeywordInfo

Returns a new instance of UserKeywordInfo.



1608
1609
1610
1611
1612
1613
1614
1615
# File 'lib/v20190321/models.rb', line 1608

def initialize(id=nil, content=nil, label=nil, createtime=nil, remark=nil, wordtype=nil)
  @ID = id
  @Content = content
  @Label = label
  @CreateTime = createtime
  @Remark = remark
  @WordType = wordtype
end

Instance Attribute Details

#ContentObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ID:

    关键词条ID

  • Content:

    关键词内容

  • Label:

    关键词标签;取值范围为:"Normal","Polity","Porn","Sexy","Ad","Illegal","Abuse","Terror","Spam","Moan"

  • CreateTime:

    创建时间

  • Remark:

    备注

  • WordType:

    词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord



1606
1607
1608
# File 'lib/v20190321/models.rb', line 1606

def Content
  @Content
end

#CreateTimeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ID:

    关键词条ID

  • Content:

    关键词内容

  • Label:

    关键词标签;取值范围为:"Normal","Polity","Porn","Sexy","Ad","Illegal","Abuse","Terror","Spam","Moan"

  • CreateTime:

    创建时间

  • Remark:

    备注

  • WordType:

    词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord



1606
1607
1608
# File 'lib/v20190321/models.rb', line 1606

def CreateTime
  @CreateTime
end

#IDObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ID:

    关键词条ID

  • Content:

    关键词内容

  • Label:

    关键词标签;取值范围为:"Normal","Polity","Porn","Sexy","Ad","Illegal","Abuse","Terror","Spam","Moan"

  • CreateTime:

    创建时间

  • Remark:

    备注

  • WordType:

    词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord



1606
1607
1608
# File 'lib/v20190321/models.rb', line 1606

def ID
  @ID
end

#LabelObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ID:

    关键词条ID

  • Content:

    关键词内容

  • Label:

    关键词标签;取值范围为:"Normal","Polity","Porn","Sexy","Ad","Illegal","Abuse","Terror","Spam","Moan"

  • CreateTime:

    创建时间

  • Remark:

    备注

  • WordType:

    词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord



1606
1607
1608
# File 'lib/v20190321/models.rb', line 1606

def Label
  @Label
end

#RemarkObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ID:

    关键词条ID

  • Content:

    关键词内容

  • Label:

    关键词标签;取值范围为:"Normal","Polity","Porn","Sexy","Ad","Illegal","Abuse","Terror","Spam","Moan"

  • CreateTime:

    创建时间

  • Remark:

    备注

  • WordType:

    词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord



1606
1607
1608
# File 'lib/v20190321/models.rb', line 1606

def Remark
  @Remark
end

#WordTypeObject

注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • ID:

    关键词条ID

  • Content:

    关键词内容

  • Label:

    关键词标签;取值范围为:"Normal","Polity","Porn","Sexy","Ad","Illegal","Abuse","Terror","Spam","Moan"

  • CreateTime:

    创建时间

  • Remark:

    备注

  • WordType:

    词类型:Default,Pinyin,English,CompoundWord,ExclusionWord,AffixWord



1606
1607
1608
# File 'lib/v20190321/models.rb', line 1606

def WordType
  @WordType
end

Instance Method Details

#deserialize(params) ⇒ Object



1617
1618
1619
1620
1621
1622
1623
1624
# File 'lib/v20190321/models.rb', line 1617

def deserialize(params)
  @ID = params['ID']
  @Content = params['Content']
  @Label = params['Label']
  @CreateTime = params['CreateTime']
  @Remark = params['Remark']
  @WordType = params['WordType']
end