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.



27331
27332
27333
27334
# File 'lib/v20190612/models.rb', line 27331

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

Instance Attribute Details

#SearchValueTypeObject

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

Parameters:

  • SearchValueType:

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

  • TextInput:

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



27329
27330
27331
# File 'lib/v20190612/models.rb', line 27329

def SearchValueType
  @SearchValueType
end

#TextInputObject

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

Parameters:

  • SearchValueType:

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

  • TextInput:

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



27329
27330
27331
# File 'lib/v20190612/models.rb', line 27329

def TextInput
  @TextInput
end

Instance Method Details

#deserialize(params) ⇒ Object



27336
27337
27338
27339
# File 'lib/v20190612/models.rb', line 27336

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