Class: TencentCloud::Gs::V20191118::DescribeAndroidInstanceTasksStatusResponse

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

Overview

DescribeAndroidInstanceTasksStatus返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskstatusset = nil, total = nil, requestid = nil) ⇒ DescribeAndroidInstanceTasksStatusResponse

Returns a new instance of DescribeAndroidInstanceTasksStatusResponse.



2232
2233
2234
2235
2236
# File 'lib/v20191118/models.rb', line 2232

def initialize(taskstatusset=nil, total=nil, requestid=nil)
  @TaskStatusSet = taskstatusset
  @Total = total
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TaskStatusSet:

    任务状态集合

  • Total:

    任务总数量

  • RequestId:

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



2230
2231
2232
# File 'lib/v20191118/models.rb', line 2230

def RequestId
  @RequestId
end

#TaskStatusSetObject

Parameters:

  • TaskStatusSet:

    任务状态集合

  • Total:

    任务总数量

  • RequestId:

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



2230
2231
2232
# File 'lib/v20191118/models.rb', line 2230

def TaskStatusSet
  @TaskStatusSet
end

#TotalObject

Parameters:

  • TaskStatusSet:

    任务状态集合

  • Total:

    任务总数量

  • RequestId:

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



2230
2231
2232
# File 'lib/v20191118/models.rb', line 2230

def Total
  @Total
end

Instance Method Details

#deserialize(params) ⇒ Object



2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
# File 'lib/v20191118/models.rb', line 2238

def deserialize(params)
  unless params['TaskStatusSet'].nil?
    @TaskStatusSet = []
    params['TaskStatusSet'].each do |i|
      androidinstancetaskstatus_tmp = AndroidInstanceTaskStatus.new
      androidinstancetaskstatus_tmp.deserialize(i)
      @TaskStatusSet << androidinstancetaskstatus_tmp
    end
  end
  @Total = params['Total']
  @RequestId = params['RequestId']
end