Class: TencentCloud::Mps::V20190612::SearchValueInput

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

Overview

视频检索的检索输入

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(searchvaluetype = nil, textinput = nil) ⇒ SearchValueInput

Returns a new instance of SearchValueInput.



27673
27674
27675
27676
# File 'lib/v20190612/models.rb', line 27673

def initialize(searchvaluetype=nil, textinput=nil)
  @SearchValueType = searchvaluetype
  @TextInput = textinput
end

Instance Attribute Details

#SearchValueTypeObject

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

Parameters:

  • SearchValueType:

    检索输入的类型,目前支持:

  • TextInput:

    当SearchValueType为Text时有效且必填,用于检索视频的文本



27671
27672
27673
# File 'lib/v20190612/models.rb', line 27671

def SearchValueType
  @SearchValueType
end

#TextInputObject

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

Parameters:

  • SearchValueType:

    检索输入的类型,目前支持:

  • TextInput:

    当SearchValueType为Text时有效且必填,用于检索视频的文本



27671
27672
27673
# File 'lib/v20190612/models.rb', line 27671

def TextInput
  @TextInput
end

Instance Method Details

#deserialize(params) ⇒ Object



27678
27679
27680
27681
# File 'lib/v20190612/models.rb', line 27678

def deserialize(params)
  @SearchValueType = params['SearchValueType']
  @TextInput = params['TextInput']
end