Class: TencentCloud::Tbp::V20190311::ResetRequest

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

Overview

Reset请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#BotEnvObject

Parameters:

  • BotId:

    机器人标识

  • UserId:

    子账户id,每个终端对应一个

  • BotVersion:

    机器人版本号。BotVersion/BotEnv二选一:二者均填,仅BotVersion有效;二者均不填,默认BotEnv=dev

  • BotEnv:

    机器人环境dev:测试;release:线上。BotVersion/BotEnv二选一:二者均填,仅BotVersion有效;二者均不填,默认BotEnv=dev



101
102
103
# File 'lib/v20190311/models.rb', line 101

def BotEnv
  @BotEnv
end

#BotIdObject

Parameters:

  • BotId:

    机器人标识

  • UserId:

    子账户id,每个终端对应一个

  • BotVersion:

    机器人版本号。BotVersion/BotEnv二选一:二者均填,仅BotVersion有效;二者均不填,默认BotEnv=dev

  • BotEnv:

    机器人环境dev:测试;release:线上。BotVersion/BotEnv二选一:二者均填,仅BotVersion有效;二者均不填,默认BotEnv=dev



101
102
103
# File 'lib/v20190311/models.rb', line 101

def BotId
  @BotId
end

#BotVersionObject

Parameters:

  • BotId:

    机器人标识

  • UserId:

    子账户id,每个终端对应一个

  • BotVersion:

    机器人版本号。BotVersion/BotEnv二选一:二者均填,仅BotVersion有效;二者均不填,默认BotEnv=dev

  • BotEnv:

    机器人环境dev:测试;release:线上。BotVersion/BotEnv二选一:二者均填,仅BotVersion有效;二者均不填,默认BotEnv=dev



101
102
103
# File 'lib/v20190311/models.rb', line 101

def BotVersion
  @BotVersion
end

#UserIdObject

Parameters:

  • BotId:

    机器人标识

  • UserId:

    子账户id,每个终端对应一个

  • BotVersion:

    机器人版本号。BotVersion/BotEnv二选一:二者均填,仅BotVersion有效;二者均不填,默认BotEnv=dev

  • BotEnv:

    机器人环境dev:测试;release:线上。BotVersion/BotEnv二选一:二者均填,仅BotVersion有效;二者均不填,默认BotEnv=dev



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