Class: TencentCloud::Tke::V20180525::RenewReservedInstancesRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::RenewReservedInstancesRequest
- Defined in:
- lib/v20180525/models.rb
Overview
RenewReservedInstances请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(reservedinstanceids = nil, instancechargeprepaid = nil, clienttoken = nil) ⇒ RenewReservedInstancesRequest
constructor
A new instance of RenewReservedInstancesRequest.
Constructor Details
#initialize(reservedinstanceids = nil, instancechargeprepaid = nil, clienttoken = nil) ⇒ RenewReservedInstancesRequest
Returns a new instance of RenewReservedInstancesRequest.
17375 17376 17377 17378 17379 |
# File 'lib/v20180525/models.rb', line 17375 def initialize(reservedinstanceids=nil, instancechargeprepaid=nil, clienttoken=nil) @ReservedInstanceIds = reservedinstanceids @InstanceChargePrepaid = instancechargeprepaid @ClientToken = clienttoken end |
Instance Attribute Details
#ClientToken ⇒ Object
17373 17374 17375 |
# File 'lib/v20180525/models.rb', line 17373 def ClientToken @ClientToken end |
#InstanceChargePrepaid ⇒ Object
17373 17374 17375 |
# File 'lib/v20180525/models.rb', line 17373 def InstanceChargePrepaid @InstanceChargePrepaid end |
#ReservedInstanceIds ⇒ Object
17373 17374 17375 |
# File 'lib/v20180525/models.rb', line 17373 def ReservedInstanceIds @ReservedInstanceIds end |
Instance Method Details
#deserialize(params) ⇒ Object
17381 17382 17383 17384 17385 17386 17387 17388 |
# File 'lib/v20180525/models.rb', line 17381 def deserialize(params) @ReservedInstanceIds = params['ReservedInstanceIds'] unless params['InstanceChargePrepaid'].nil? @InstanceChargePrepaid = InstanceChargePrepaid.new @InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid']) end @ClientToken = params['ClientToken'] end |