Class: TencentCloud::Scf::V20180416::SearchKey

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

Overview

包含搜索关键字和对应的内容

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil) ⇒ SearchKey

Returns a new instance of SearchKey.



4484
4485
4486
4487
# File 'lib/v20180416/models.rb', line 4484

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#Key ⇒ Object

Parameters:

  • Key: —

    搜索关键字

  • Value: —

    搜索内容



4482
4483
4484
# File 'lib/v20180416/models.rb', line 4482

def Key
  @Key
end

#Value ⇒ Object

Parameters:

  • Key: —

    搜索关键字

  • Value: —

    搜索内容



4482
4483
4484
# File 'lib/v20180416/models.rb', line 4482

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



4489
4490
4491
4492
# File 'lib/v20180416/models.rb', line 4489

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