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.
18724 18725 18726 18727 18728 |
# File 'lib/v20180525/models.rb', line 18724 def initialize(reservedinstanceids=nil, instancechargeprepaid=nil, clienttoken=nil) @ReservedInstanceIds = reservedinstanceids @InstanceChargePrepaid = instancechargeprepaid @ClientToken = clienttoken end |
Instance Attribute Details
#ClientToken ⇒ Object
18722 18723 18724 |
# File 'lib/v20180525/models.rb', line 18722 def ClientToken @ClientToken end |
#InstanceChargePrepaid ⇒ Object
18722 18723 18724 |
# File 'lib/v20180525/models.rb', line 18722 def InstanceChargePrepaid @InstanceChargePrepaid end |
#ReservedInstanceIds ⇒ Object
18722 18723 18724 |
# File 'lib/v20180525/models.rb', line 18722 def ReservedInstanceIds @ReservedInstanceIds end |
Instance Method Details
#deserialize(params) ⇒ Object
18730 18731 18732 18733 18734 18735 18736 18737 |
# File 'lib/v20180525/models.rb', line 18730 def deserialize(params) @ReservedInstanceIds = params['ReservedInstanceIds'] unless params['InstanceChargePrepaid'].nil? @InstanceChargePrepaid = InstanceChargePrepaid.new @InstanceChargePrepaid.deserialize(params['InstanceChargePrepaid']) end @ClientToken = params['ClientToken'] end |