Class: TencentCloud::Emr::V20190103::DescribeNodeDataDisksResponse

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

Overview

DescribeNodeDataDisks返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, cbslist = nil, maxsize = nil, maxthroughputperformance = nil, requestid = nil) ⇒ DescribeNodeDataDisksResponse

Returns a new instance of DescribeNodeDataDisksResponse.



4751
4752
4753
4754
4755
4756
4757
# File 'lib/v20190103/models.rb', line 4751

def initialize(totalcount=nil, cbslist=nil, maxsize=nil, maxthroughputperformance=nil, requestid=nil)
  @TotalCount = totalcount
  @CBSList = cbslist
  @MaxSize = maxsize
  @MaxThroughputPerformance = maxthroughputperformance
  @RequestId = requestid
end

Instance Attribute Details

#CBSListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    总数量

  • CBSList:

    云盘列表

  • MaxSize:

    云盘最大容量

  • MaxThroughputPerformance:

    云硬盘最大额外性能值

  • RequestId:

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



4749
4750
4751
# File 'lib/v20190103/models.rb', line 4749

def CBSList
  @CBSList
end

#MaxSizeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    总数量

  • CBSList:

    云盘列表

  • MaxSize:

    云盘最大容量

  • MaxThroughputPerformance:

    云硬盘最大额外性能值

  • RequestId:

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



4749
4750
4751
# File 'lib/v20190103/models.rb', line 4749

def MaxSize
  @MaxSize
end

#MaxThroughputPerformanceObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    总数量

  • CBSList:

    云盘列表

  • MaxSize:

    云盘最大容量

  • MaxThroughputPerformance:

    云硬盘最大额外性能值

  • RequestId:

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



4749
4750
4751
# File 'lib/v20190103/models.rb', line 4749

def MaxThroughputPerformance
  @MaxThroughputPerformance
end

#RequestIdObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    总数量

  • CBSList:

    云盘列表

  • MaxSize:

    云盘最大容量

  • MaxThroughputPerformance:

    云硬盘最大额外性能值

  • RequestId:

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



4749
4750
4751
# File 'lib/v20190103/models.rb', line 4749

def RequestId
  @RequestId
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • TotalCount:

    总数量

  • CBSList:

    云盘列表

  • MaxSize:

    云盘最大容量

  • MaxThroughputPerformance:

    云硬盘最大额外性能值

  • RequestId:

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



4749
4750
4751
# File 'lib/v20190103/models.rb', line 4749

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
# File 'lib/v20190103/models.rb', line 4759

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['CBSList'].nil?
    @CBSList = []
    params['CBSList'].each do |i|
      cbsinstance_tmp = CBSInstance.new
      cbsinstance_tmp.deserialize(i)
      @CBSList << cbsinstance_tmp
    end
  end
  @MaxSize = params['MaxSize']
  @MaxThroughputPerformance = params['MaxThroughputPerformance']
  @RequestId = params['RequestId']
end