Class: TencentCloud::Cwp::V20180228::DescribeLogStorageStatisticResponse

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

Overview

DescribeLogStorageStatistic返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalsize = nil, usedsize = nil, requestid = nil) ⇒ DescribeLogStorageStatisticResponse

Returns a new instance of DescribeLogStorageStatisticResponse.



16759
16760
16761
16762
16763
# File 'lib/v20180228/models.rb', line 16759

def initialize(totalsize=nil, usedsize=nil, requestid=nil)
  @TotalSize = totalsize
  @UsedSize = usedsize
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • TotalSize:

    总容量(单位:GB)

  • UsedSize:

    已使用容量(单位:GB)

  • RequestId:

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



16757
16758
16759
# File 'lib/v20180228/models.rb', line 16757

def RequestId
  @RequestId
end

#TotalSizeObject

Parameters:

  • TotalSize:

    总容量(单位:GB)

  • UsedSize:

    已使用容量(单位:GB)

  • RequestId:

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



16757
16758
16759
# File 'lib/v20180228/models.rb', line 16757

def TotalSize
  @TotalSize
end

#UsedSizeObject

Parameters:

  • TotalSize:

    总容量(单位:GB)

  • UsedSize:

    已使用容量(单位:GB)

  • RequestId:

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



16757
16758
16759
# File 'lib/v20180228/models.rb', line 16757

def UsedSize
  @UsedSize
end

Instance Method Details

#deserialize(params) ⇒ Object



16765
16766
16767
16768
16769
# File 'lib/v20180228/models.rb', line 16765

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