Class: TencentCloud::Tke::V20180525::CreateReservedInstancesResponse

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

Overview

CreateReservedInstances返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reservedinstanceids = nil, requestid = nil) ⇒ CreateReservedInstancesResponse

Returns a new instance of CreateReservedInstancesResponse.



3701
3702
3703
3704
# File 'lib/v20180525/models.rb', line 3701

def initialize(reservedinstanceids=nil, requestid=nil)
  @ReservedInstanceIds = reservedinstanceids
  @RequestId = requestid
end

Instance Attribute Details

#RequestIdObject

Parameters:

  • ReservedInstanceIds:

    预留券实例 ID。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3699
3700
3701
# File 'lib/v20180525/models.rb', line 3699

def RequestId
  @RequestId
end

#ReservedInstanceIdsObject

Parameters:

  • ReservedInstanceIds:

    预留券实例 ID。

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



3699
3700
3701
# File 'lib/v20180525/models.rb', line 3699

def ReservedInstanceIds
  @ReservedInstanceIds
end

Instance Method Details

#deserialize(params) ⇒ Object



3706
3707
3708
3709
# File 'lib/v20180525/models.rb', line 3706

def deserialize(params)
  @ReservedInstanceIds = params['ReservedInstanceIds']
  @RequestId = params['RequestId']
end