Class: TencentCloud::Tke::V20180525::DescribeReservedInstancesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::DescribeReservedInstancesRequest
- Defined in:
- lib/v20180525/models.rb
Overview
DescribeReservedInstances请求参数结构体
Instance Attribute Summary collapse
-
#Filters ⇒ Object
reserved-instance-not-deduct 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。 必选:否.
-
#Limit ⇒ Object
reserved-instance-not-deduct 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。 必选:否.
-
#Offset ⇒ Object
reserved-instance-not-deduct 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。 必选:否.
-
#OrderDirection ⇒ Object
reserved-instance-not-deduct 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。 必选:否.
-
#OrderField ⇒ Object
reserved-instance-not-deduct 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。 必选:否.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(offset = nil, limit = nil, filters = nil, orderfield = nil, orderdirection = nil) ⇒ DescribeReservedInstancesRequest
constructor
A new instance of DescribeReservedInstancesRequest.
Constructor Details
#initialize(offset = nil, limit = nil, filters = nil, orderfield = nil, orderdirection = nil) ⇒ DescribeReservedInstancesRequest
Returns a new instance of DescribeReservedInstancesRequest.
9926 9927 9928 9929 9930 9931 9932 |
# File 'lib/v20180525/models.rb', line 9926 def initialize(offset=nil, limit=nil, filters=nil, orderfield=nil, orderdirection=nil) @Offset = offset @Limit = limit @Filters = filters @OrderField = orderfield @OrderDirection = orderdirection end |
Instance Attribute Details
#Filters ⇒ Object
reserved-instance-not-deduct 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。 必选:否
9924 9925 9926 |
# File 'lib/v20180525/models.rb', line 9924 def Filters @Filters end |
#Limit ⇒ Object
reserved-instance-not-deduct 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。 必选:否
9924 9925 9926 |
# File 'lib/v20180525/models.rb', line 9924 def Limit @Limit end |
#Offset ⇒ Object
reserved-instance-not-deduct 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。 必选:否
9924 9925 9926 |
# File 'lib/v20180525/models.rb', line 9924 def Offset @Offset end |
#OrderDirection ⇒ Object
reserved-instance-not-deduct 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。 必选:否
9924 9925 9926 |
# File 'lib/v20180525/models.rb', line 9924 def OrderDirection @OrderDirection end |
#OrderField ⇒ Object
reserved-instance-not-deduct 按照**【上个周期未抵扣的预留券**】进行过滤。Values可不设置。 必选:否
9924 9925 9926 |
# File 'lib/v20180525/models.rb', line 9924 def OrderField @OrderField end |
Instance Method Details
#deserialize(params) ⇒ Object
9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 |
# File 'lib/v20180525/models.rb', line 9934 def deserialize(params) @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 @OrderField = params['OrderField'] @OrderDirection = params['OrderDirection'] end |