Class: TencentCloud::Tke::V20180525::DescribePodsBySpecRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribePodsBySpecRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribePodsBySpec请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否.
-
#Cpu ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否.
-
#Filters ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否.
-
#GpuNum ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否.
-
#Limit ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否.
-
#Memory ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否.
-
#NodeName ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否.
-
#Offset ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否.
-
#Zone ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cpu = nil, memory = nil, gpunum = nil, zone = nil, clusterid = nil, nodename = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribePodsBySpecRequest
constructor
A new instance of DescribePodsBySpecRequest.
Constructor Details
#initialize(cpu = nil, memory = nil, gpunum = nil, zone = nil, clusterid = nil, nodename = nil, offset = nil, limit = nil, filters = nil) ⇒ DescribePodsBySpecRequest
Returns a new instance of DescribePodsBySpecRequest.
8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 |
# File 'lib/v20180525/models.rb', line 8393 def initialize(cpu=nil, memory=nil, gpunum=nil, zone=nil, clusterid=nil, nodename=nil, offset=nil, limit=nil, filters=nil) @Cpu = cpu @Memory = memory @GpuNum = gpunum @Zone = zone @ClusterId = clusterid @NodeName = nodename @Offset = offset @Limit = limit @Filters = filters end |
Instance Attribute Details
#ClusterId ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否
8391 8392 8393 |
# File 'lib/v20180525/models.rb', line 8391 def ClusterId @ClusterId end |
#Cpu ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否
8391 8392 8393 |
# File 'lib/v20180525/models.rb', line 8391 def Cpu @Cpu end |
#Filters ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否
8391 8392 8393 |
# File 'lib/v20180525/models.rb', line 8391 def Filters @Filters end |
#GpuNum ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否
8391 8392 8393 |
# File 'lib/v20180525/models.rb', line 8391 def GpuNum @GpuNum end |
#Limit ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否
8391 8392 8393 |
# File 'lib/v20180525/models.rb', line 8391 def Limit @Limit end |
#Memory ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否
8391 8392 8393 |
# File 'lib/v20180525/models.rb', line 8391 def Memory @Memory end |
#NodeName ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否
8391 8392 8393 |
# File 'lib/v20180525/models.rb', line 8391 def NodeName @NodeName end |
#Offset ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否
8391 8392 8393 |
# File 'lib/v20180525/models.rb', line 8391 def Offset @Offset end |
#Zone ⇒ Object
pod-not-deduct 按照**【上个周期未抵扣的Pod**】进行过滤。Values可不设置。 必选:否
8391 8392 8393 |
# File 'lib/v20180525/models.rb', line 8391 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 |
# File 'lib/v20180525/models.rb', line 8405 def deserialize(params) @Cpu = params['Cpu'] @Memory = params['Memory'] @GpuNum = params['GpuNum'] @Zone = params['Zone'] @ClusterId = params['ClusterId'] @NodeName = params['NodeName'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filters'].nil? @Filters = [] params['Filters'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filters << filter_tmp end end end |