Class: TencentCloud::Cme::V20191029::ClassCreatedEvent

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) ⇒ ClassCreatedEvent

Returns a new instance of ClassCreatedEvent.



340
341
342
343
# File 'lib/v20191029/models.rb', line 340

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

Instance Attribute Details

#ClassPathObject

Parameters:

  • Owner:

    分类归属。

  • ClassPath:

    分类路径。



338
339
340
# File 'lib/v20191029/models.rb', line 338

def ClassPath
  @ClassPath
end

#OwnerObject

Parameters:

  • Owner:

    分类归属。

  • ClassPath:

    分类路径。



338
339
340
# File 'lib/v20191029/models.rb', line 338

def Owner
  @Owner
end

Instance Method Details

#deserialize(params) ⇒ Object



345
346
347
348
349
350
351
# File 'lib/v20191029/models.rb', line 345

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