Class: TencentCloud::Tke::V20180525::ModifyReservedInstanceScopeRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::ModifyReservedInstanceScopeRequest
- Defined in:
- lib/v20180525/models.rb
Overview
ModifyReservedInstanceScope请求参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(reservedinstanceids = nil, reservedinstancescope = nil) ⇒ ModifyReservedInstanceScopeRequest
constructor
A new instance of ModifyReservedInstanceScopeRequest.
Constructor Details
#initialize(reservedinstanceids = nil, reservedinstancescope = nil) ⇒ ModifyReservedInstanceScopeRequest
Returns a new instance of ModifyReservedInstanceScopeRequest.
14845 14846 14847 14848 |
# File 'lib/v20180525/models.rb', line 14845 def initialize(reservedinstanceids=nil, reservedinstancescope=nil) @ReservedInstanceIds = reservedinstanceids @ReservedInstanceScope = reservedinstancescope end |
Instance Attribute Details
#ReservedInstanceIds ⇒ Object
14843 14844 14845 |
# File 'lib/v20180525/models.rb', line 14843 def ReservedInstanceIds @ReservedInstanceIds end |
#ReservedInstanceScope ⇒ Object
14843 14844 14845 |
# File 'lib/v20180525/models.rb', line 14843 def ReservedInstanceScope @ReservedInstanceScope end |
Instance Method Details
#deserialize(params) ⇒ Object
14850 14851 14852 14853 14854 14855 14856 |
# File 'lib/v20180525/models.rb', line 14850 def deserialize(params) @ReservedInstanceIds = params['ReservedInstanceIds'] unless params['ReservedInstanceScope'].nil? @ReservedInstanceScope = ReservedInstanceScope.new @ReservedInstanceScope.deserialize(params['ReservedInstanceScope']) end end |