Class: TencentCloud::Tbp::V20190311::ResetRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tbp::V20190311::ResetRequest
- Defined in:
- lib/v20190311/models.rb
Overview
Reset请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(botid = nil, userid = nil, botversion = nil, botenv = nil) ⇒ ResetRequest
constructor
A new instance of ResetRequest.
Constructor Details
#initialize(botid = nil, userid = nil, botversion = nil, botenv = nil) ⇒ ResetRequest
Returns a new instance of ResetRequest.
103 104 105 106 107 108 |
# File 'lib/v20190311/models.rb', line 103 def initialize(botid=nil, userid=nil, botversion=nil, botenv=nil) @BotId = botid @UserId = userid @BotVersion = botversion @BotEnv = botenv end |
Instance Attribute Details
#BotEnv ⇒ Object
101 102 103 |
# File 'lib/v20190311/models.rb', line 101 def BotEnv @BotEnv end |
#BotId ⇒ Object
101 102 103 |
# File 'lib/v20190311/models.rb', line 101 def BotId @BotId end |
#BotVersion ⇒ Object
101 102 103 |
# File 'lib/v20190311/models.rb', line 101 def BotVersion @BotVersion end |
#UserId ⇒ Object
101 102 103 |
# File 'lib/v20190311/models.rb', line 101 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
110 111 112 113 114 115 |
# File 'lib/v20190311/models.rb', line 110 def deserialize(params) @BotId = params['BotId'] @UserId = params['UserId'] @BotVersion = params['BotVersion'] @BotEnv = params['BotEnv'] end |