Class: TencentCloud::Tke::V20180525::ModifyReservedInstanceScopeRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

ModifyReservedInstanceScope请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#ReservedInstanceIdsObject

Parameters:

  • ReservedInstanceIds:

    预留券唯一 ID

  • ReservedInstanceScope:

    预留券抵扣范围信息



14843
14844
14845
# File 'lib/v20180525/models.rb', line 14843

def ReservedInstanceIds
  @ReservedInstanceIds
end

#ReservedInstanceScopeObject

Parameters:

  • ReservedInstanceIds:

    预留券唯一 ID

  • ReservedInstanceScope:

    预留券抵扣范围信息



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