Class: TencentCloud::Bm::V20180423::DescribeDeviceOperationLogResponse

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

Overview

DescribeDeviceOperationLog返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(deviceoperationlogset = nil, totalcount = nil, requestid = nil) ⇒ DescribeDeviceOperationLogResponse

Returns a new instance of DescribeDeviceOperationLogResponse.



1131
1132
1133
1134
1135
# File 'lib/v20180423/models.rb', line 1131

def initialize(deviceoperationlogset=nil, totalcount=nil, requestid=nil)
  @DeviceOperationLogSet = deviceoperationlogset
  @TotalCount = totalcount
  @RequestId = requestid
end

Instance Attribute Details

#DeviceOperationLogSetObject

Parameters:

  • DeviceOperationLogSet:

    操作日志列表

  • TotalCount:

    返回数目

  • RequestId:

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



1129
1130
1131
# File 'lib/v20180423/models.rb', line 1129

def DeviceOperationLogSet
  @DeviceOperationLogSet
end

#RequestIdObject

Parameters:

  • DeviceOperationLogSet:

    操作日志列表

  • TotalCount:

    返回数目

  • RequestId:

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



1129
1130
1131
# File 'lib/v20180423/models.rb', line 1129

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • DeviceOperationLogSet:

    操作日志列表

  • TotalCount:

    返回数目

  • RequestId:

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



1129
1130
1131
# File 'lib/v20180423/models.rb', line 1129

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
# File 'lib/v20180423/models.rb', line 1137

def deserialize(params)
  unless params['DeviceOperationLogSet'].nil?
    @DeviceOperationLogSet = []
    params['DeviceOperationLogSet'].each do |i|
      deviceoperationlog_tmp = DeviceOperationLog.new
      deviceoperationlog_tmp.deserialize(i)
      @DeviceOperationLogSet << deviceoperationlog_tmp
    end
  end
  @TotalCount = params['TotalCount']
  @RequestId = params['RequestId']
end