Class: TencentCloud::Tke::V20180525::GetClusterLevelPriceResponse

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

Overview

GetClusterLevelPrice返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cost = nil, totalcost = nil, policy = nil, requestid = nil) ⇒ GetClusterLevelPriceResponse

Returns a new instance of GetClusterLevelPriceResponse.



12223
12224
12225
12226
12227
12228
# File 'lib/v20180525/models.rb', line 12223

def initialize(cost=nil, totalcost=nil, policy=nil, requestid=nil)
  @Cost = cost
  @TotalCost = totalcost
  @Policy = policy
  @RequestId = requestid
end

Instance Attribute Details

#CostObject

Parameters:

  • Cost:

    询价结果,单位:分,打折后

  • TotalCost:

    询价结果,单位:分,折扣前

  • Policy:

    总的折扣,100表示100%不打折

  • RequestId:

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



12221
12222
12223
# File 'lib/v20180525/models.rb', line 12221

def Cost
  @Cost
end

#PolicyObject

Parameters:

  • Cost:

    询价结果,单位:分,打折后

  • TotalCost:

    询价结果,单位:分,折扣前

  • Policy:

    总的折扣,100表示100%不打折

  • RequestId:

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



12221
12222
12223
# File 'lib/v20180525/models.rb', line 12221

def Policy
  @Policy
end

#RequestIdObject

Parameters:

  • Cost:

    询价结果,单位:分,打折后

  • TotalCost:

    询价结果,单位:分,折扣前

  • Policy:

    总的折扣,100表示100%不打折

  • RequestId:

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



12221
12222
12223
# File 'lib/v20180525/models.rb', line 12221

def RequestId
  @RequestId
end

#TotalCostObject

Parameters:

  • Cost:

    询价结果,单位:分,打折后

  • TotalCost:

    询价结果,单位:分,折扣前

  • Policy:

    总的折扣,100表示100%不打折

  • RequestId:

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



12221
12222
12223
# File 'lib/v20180525/models.rb', line 12221

def TotalCost
  @TotalCost
end

Instance Method Details

#deserialize(params) ⇒ Object



12230
12231
12232
12233
12234
12235
# File 'lib/v20180525/models.rb', line 12230

def deserialize(params)
  @Cost = params['Cost']
  @TotalCost = params['TotalCost']
  @Policy = params['Policy']
  @RequestId = params['RequestId']
end