Class: TencentCloud::Ccc::V20200210::Message

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

Overview

单条消息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type = nil, content = nil) ⇒ Message

Returns a new instance of Message.



5352
5353
5354
5355
# File 'lib/v20200210/models.rb', line 5352

def initialize(type=nil, content=nil)
  @Type = type
  @Content = content
end

Instance Attribute Details

#ContentObject

Parameters:

  • Type:

    消息类型

  • Content:

    消息内容



5350
5351
5352
# File 'lib/v20200210/models.rb', line 5350

def Content
  @Content
end

#TypeObject

Parameters:

  • Type:

    消息类型

  • Content:

    消息内容



5350
5351
5352
# File 'lib/v20200210/models.rb', line 5350

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



5357
5358
5359
5360
# File 'lib/v20200210/models.rb', line 5357

def deserialize(params)
  @Type = params['Type']
  @Content = params['Content']
end