RewardDetails

class oci.usage.models.RewardDetails(**kwargs)

Bases: object

The overrall reward summary of the monthly summary rewards.

Methods

__init__(**kwargs) Initializes a new RewardDetails object with values from keyword arguments.

Attributes

currency Gets the currency of this RewardDetails.
rewards_rate Gets the rewards_rate of this RewardDetails.
subscription_id Gets the subscription_id of this RewardDetails.
tenancy_id Gets the tenancy_id of this RewardDetails.
total_rewards_available Gets the total_rewards_available of this RewardDetails.
__init__(**kwargs)

Initializes a new RewardDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • tenancy_id (str) – The value to assign to the tenancy_id property of this RewardDetails.
  • subscription_id (str) – The value to assign to the subscription_id property of this RewardDetails.
  • currency (str) – The value to assign to the currency property of this RewardDetails.
  • rewards_rate (float) – The value to assign to the rewards_rate property of this RewardDetails.
  • total_rewards_available (float) – The value to assign to the total_rewards_available property of this RewardDetails.
currency

Gets the currency of this RewardDetails. The currency unit for the reward amount.

Returns:The currency of this RewardDetails.
Return type:str
rewards_rate

Gets the rewards_rate of this RewardDetails. The current Rewards percentage in decimal format.

Returns:The rewards_rate of this RewardDetails.
Return type:float
subscription_id

Gets the subscription_id of this RewardDetails. The entitlement id from MQS and it is same as subcription id.

Returns:The subscription_id of this RewardDetails.
Return type:str
tenancy_id

Gets the tenancy_id of this RewardDetails. The OCID of the target tenancy.

Returns:The tenancy_id of this RewardDetails.
Return type:str
total_rewards_available

Gets the total_rewards_available of this RewardDetails. The total number of available rewards for a given subscription Id.

Returns:The total_rewards_available of this RewardDetails.
Return type:float