Class: TencentCloud::Bm::V20180423::RebootDevicesResponse

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

Overview

RebootDevices返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskid = nil, requestid = nil) ⇒ RebootDevicesResponse

Returns a new instance of RebootDevicesResponse.



3334
3335
3336
3337
# File 'lib/v20180423/models.rb', line 3334

def initialize(taskid=nil, requestid=nil)
  @TaskId = taskid
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TaskId:

    异步任务ID

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3332
3333
3334
# File 'lib/v20180423/models.rb', line 3332

def RequestId
  @RequestId
end

#TaskIdObject

Parameters:

  • TaskId:

    异步任务ID

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3332
3333
3334
# File 'lib/v20180423/models.rb', line 3332

def TaskId
  @TaskId
end

Instance Method Details

#deserialize(params) ⇒ Object



3339
3340
3341
3342
# File 'lib/v20180423/models.rb', line 3339

def deserialize(params)
  @TaskId = params['TaskId']
  @RequestId = params['RequestId']
end