Class: TencentCloud::Cr::V20180321::UploadBotFileRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cr::V20180321::UploadBotFileRequest
- Defined in:
- lib/v20180321/models.rb
Overview
UploadBotFile请求参数结构体
Instance Attribute Summary collapse
- #BotId ⇒ Object
- #BotName ⇒ Object
- #FileName ⇒ Object
- #FileType ⇒ Object
- #FileUrl ⇒ Object
- #Module ⇒ Object
- #Operation ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(_module = nil, operation = nil, filetype = nil, fileurl = nil, filename = nil, botid = nil, botname = nil) ⇒ UploadBotFileRequest
constructor
A new instance of UploadBotFileRequest.
Constructor Details
#initialize(_module = nil, operation = nil, filetype = nil, fileurl = nil, filename = nil, botid = nil, botname = nil) ⇒ UploadBotFileRequest
Returns a new instance of UploadBotFileRequest.
2003 2004 2005 2006 2007 2008 2009 2010 2011 |
# File 'lib/v20180321/models.rb', line 2003 def initialize(_module=nil, operation=nil, filetype=nil, fileurl=nil, filename=nil, botid=nil, botname=nil) @Module = _module @Operation = operation @FileType = filetype @FileUrl = fileurl @FileName = filename @BotId = botid @BotName = botname end |
Instance Attribute Details
#BotId ⇒ Object
2001 2002 2003 |
# File 'lib/v20180321/models.rb', line 2001 def BotId @BotId end |
#BotName ⇒ Object
2001 2002 2003 |
# File 'lib/v20180321/models.rb', line 2001 def BotName @BotName end |
#FileName ⇒ Object
2001 2002 2003 |
# File 'lib/v20180321/models.rb', line 2001 def FileName @FileName end |
#FileType ⇒ Object
2001 2002 2003 |
# File 'lib/v20180321/models.rb', line 2001 def FileType @FileType end |
#FileUrl ⇒ Object
2001 2002 2003 |
# File 'lib/v20180321/models.rb', line 2001 def FileUrl @FileUrl end |
#Module ⇒ Object
2001 2002 2003 |
# File 'lib/v20180321/models.rb', line 2001 def Module @Module end |
#Operation ⇒ Object
2001 2002 2003 |
# File 'lib/v20180321/models.rb', line 2001 def Operation @Operation end |
Instance Method Details
#deserialize(params) ⇒ Object
2013 2014 2015 2016 2017 2018 2019 2020 2021 |
# File 'lib/v20180321/models.rb', line 2013 def deserialize(params) @Module = params['Module'] @Operation = params['Operation'] @FileType = params['FileType'] @FileUrl = params['FileUrl'] @FileName = params['FileName'] @BotId = params['BotId'] @BotName = params['BotName'] end |