Class: TencentCloud::Bm::V20180423::DescribeTaskOperationLogResponse

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

Overview

DescribeTaskOperationLog返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(taskoperationlogset = nil, totalcount = nil, requestid = nil) ⇒ DescribeTaskOperationLogResponse

Returns a new instance of DescribeTaskOperationLogResponse.



1912
1913
1914
1915
1916
# File 'lib/v20180423/models.rb', line 1912

def initialize(taskoperationlogset=nil, totalcount=nil, requestid=nil)
  @TaskOperationLogSet = taskoperationlogset
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TaskOperationLogSet:

    操作日志

  • TotalCount:

    日志条数

  • RequestId:

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



1910
1911
1912
# File 'lib/v20180423/models.rb', line 1910

def RequestId
  @RequestId
end

#TaskOperationLogSetObject

Parameters:

  • TaskOperationLogSet:

    操作日志

  • TotalCount:

    日志条数

  • RequestId:

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



1910
1911
1912
# File 'lib/v20180423/models.rb', line 1910

def TaskOperationLogSet
  @TaskOperationLogSet
end

#TotalCountObject

Parameters:

  • TaskOperationLogSet:

    操作日志

  • TotalCount:

    日志条数

  • RequestId:

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



1910
1911
1912
# File 'lib/v20180423/models.rb', line 1910

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
# File 'lib/v20180423/models.rb', line 1918

def deserialize(params)
  unless params['TaskOperationLogSet'].nil?
    @TaskOperationLogSet = []
    params['TaskOperationLogSet'].each do |i|
      taskoperationlog_tmp = TaskOperationLog.new
      taskoperationlog_tmp.deserialize(i)
      @TaskOperationLogSet << taskoperationlog_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end