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.



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

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

Instance Attribute Details

#ClassPathObject

Parameters:

  • Owner:

    分类路径归属。

  • ClassPath:

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



5511
5512
5513
# File 'lib/v20191029/models.rb', line 5511

def ClassPath
  @ClassPath
end

#OwnerObject

Parameters:

  • Owner:

    分类路径归属。

  • ClassPath:

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



5511
5512
5513
# File 'lib/v20191029/models.rb', line 5511

def Owner
  @Owner
end

Instance Method Details

#deserialize(params) ⇒ Object



5518
5519
5520
5521
5522
5523
5524
# File 'lib/v20191029/models.rb', line 5518

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