Class: TencentCloud::Cme::V20191029::SearchScope

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

Overview

搜索空间

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(owner = nil, classpath = nil) ⇒ SearchScope

Returns a new instance of SearchScope.



5505
5506
5507
5508
# File 'lib/v20191029/models.rb', line 5505

def initialize(owner=nil, classpath=nil)
  @Owner = owner
  @ClassPath = classpath
end

Instance Attribute Details

#ClassPathObject

Parameters:

  • Owner:

    分类路径归属。

  • ClassPath:

    按分类路径检索。 不填则默认按根分类路径检索。



5503
5504
5505
# File 'lib/v20191029/models.rb', line 5503

def ClassPath
  @ClassPath
end

#OwnerObject

Parameters:

  • Owner:

    分类路径归属。

  • ClassPath:

    按分类路径检索。 不填则默认按根分类路径检索。



5503
5504
5505
# File 'lib/v20191029/models.rb', line 5503

def Owner
  @Owner
end

Instance Method Details

#deserialize(params) ⇒ Object



5510
5511
5512
5513
5514
5515
5516
# File 'lib/v20191029/models.rb', line 5510

def deserialize(params)
  unless params['Owner'].nil?
    @Owner = Entity.new
    @Owner.deserialize(params['Owner'])
  end
  @ClassPath = params['ClassPath']
end