Class: TencentCloud::Cr::V20180321::BotFileData

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

Overview

机器人文件结构

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CosUrlObject

Parameters:

  • FileType:

    文件类型 A 拨打结果 T 记录详情

  • CosUrl:

    文件地址



229
230
231
# File 'lib/v20180321/models.rb', line 229

def CosUrl
  @CosUrl
end

#FileTypeObject

Parameters:

  • FileType:

    文件类型 A 拨打结果 T 记录详情

  • CosUrl:

    文件地址



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