Class: TencentCloud::Lighthouse::V20200324::InquirePriceCreateBlueprintResponse

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

Overview

InquirePriceCreateBlueprint返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(blueprintprice = nil, requestid = nil) ⇒ InquirePriceCreateBlueprintResponse

Returns a new instance of InquirePriceCreateBlueprintResponse.



5492
5493
5494
5495
# File 'lib/v20200324/models.rb', line 5492

def initialize(blueprintprice=nil, requestid=nil)
  @BlueprintPrice = blueprintprice
  @RequestId = requestid
end

Instance Attribute Details

#BlueprintPriceObject

Parameters:

  • BlueprintPrice:

    自定义镜像的价格参数。

  • RequestId:

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



5490
5491
5492
# File 'lib/v20200324/models.rb', line 5490

def BlueprintPrice
  @BlueprintPrice
end

#RequestIdObject

Parameters:

  • BlueprintPrice:

    自定义镜像的价格参数。

  • RequestId:

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



5490
5491
5492
# File 'lib/v20200324/models.rb', line 5490

def RequestId
  @RequestId
end

Instance Method Details

#deserialize(params) ⇒ Object



5497
5498
5499
5500
5501
5502
5503
# File 'lib/v20200324/models.rb', line 5497

def deserialize(params)
  unless params['BlueprintPrice'].nil?
    @BlueprintPrice = BlueprintPrice.new
    @BlueprintPrice.deserialize(params['BlueprintPrice'])
  end
  @RequestId = params['RequestId']
end