Class: TencentCloud::Cr::V20180321::BotFileData
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cr::V20180321::BotFileData
- Defined in:
- lib/v20180321/models.rb
Overview
机器人文件结构
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(filetype = nil, cosurl = nil) ⇒ BotFileData
constructor
A new instance of BotFileData.
Constructor Details
#initialize(filetype = nil, cosurl = nil) ⇒ BotFileData
Returns a new instance of BotFileData.
231 232 233 234 |
# File 'lib/v20180321/models.rb', line 231 def initialize(filetype=nil, cosurl=nil) @FileType = filetype @CosUrl = cosurl end |
Instance Attribute Details
#CosUrl ⇒ Object
229 230 231 |
# File 'lib/v20180321/models.rb', line 229 def CosUrl @CosUrl end |
#FileType ⇒ Object
229 230 231 |
# File 'lib/v20180321/models.rb', line 229 def FileType @FileType end |
Instance Method Details
#deserialize(params) ⇒ Object
236 237 238 239 |
# File 'lib/v20180321/models.rb', line 236 def deserialize(params) @FileType = params['FileType'] @CosUrl = params['CosUrl'] end |