o
    ɶd                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )formatted_flat_dictNONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc                   @   s   e Zd ZdZdd Zedd Zejdd Zedd Zejd	d Zed
d Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zejdd Zdd Zdd Zdd ZdS )RewardDetailsz-
    The overall monthly reward summary.
    c                 K   sP   ddddddd| _ dddddd	d| _d
| _d
| _d
| _d
| _d
| _d
| _d
S )aZ  
        Initializes a new RewardDetails object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param tenancy_id:
            The value to assign to the tenancy_id property of this RewardDetails.
        :type tenancy_id: str

        :param subscription_id:
            The value to assign to the subscription_id property of this RewardDetails.
        :type subscription_id: str

        :param currency:
            The value to assign to the currency property of this RewardDetails.
        :type currency: str

        :param rewards_rate:
            The value to assign to the rewards_rate property of this RewardDetails.
        :type rewards_rate: float

        :param total_rewards_available:
            The value to assign to the total_rewards_available property of this RewardDetails.
        :type total_rewards_available: float

        :param redemption_code:
            The value to assign to the redemption_code property of this RewardDetails.
        :type redemption_code: str

        strfloat)
tenancy_idsubscription_idcurrencyrewards_ratetotal_rewards_availableredemption_codeZ	tenancyIdZsubscriptionIdr   ZrewardsRateZtotalRewardsAvailableZredemptionCodeN)Zswagger_typesZattribute_map_tenancy_id_subscription_id	_currency_rewards_rate_total_rewards_available_redemption_code)selfkwargs r   Cusr/lib/python3.10/site-packages/oci/usage/models/reward_details.py__init__   s(   
	
zRewardDetails.__init__c                 C      | j S )z
        Gets the tenancy_id of this RewardDetails.
        The OCID of the target tenancy.


        :return: The tenancy_id of this RewardDetails.
        :rtype: str
        r   r   r   r   r   r	   I      
zRewardDetails.tenancy_idc                 C   
   || _ dS )z
        Sets the tenancy_id of this RewardDetails.
        The OCID of the target tenancy.


        :param tenancy_id: The tenancy_id of this RewardDetails.
        :type: str
        Nr   )r   r	   r   r   r   r	   U      

c                 C   r   )z
        Gets the subscription_id of this RewardDetails.
        The entitlement ID from MQS, which is the same as the subcription ID.


        :return: The subscription_id of this RewardDetails.
        :rtype: str
        r   r   r   r   r   r
   a   r   zRewardDetails.subscription_idc                 C   r   )z
        Sets the subscription_id of this RewardDetails.
        The entitlement ID from MQS, which is the same as the subcription ID.


        :param subscription_id: The subscription_id of this RewardDetails.
        :type: str
        Nr    )r   r
   r   r   r   r
   m   r   c                 C   r   )z
        Gets the currency of this RewardDetails.
        The currency unit for the reward amount.


        :return: The currency of this RewardDetails.
        :rtype: str
        r   r   r   r   r   r   y   r   zRewardDetails.currencyc                 C   r   )z
        Sets the currency of this RewardDetails.
        The currency unit for the reward amount.


        :param currency: The currency of this RewardDetails.
        :type: str
        Nr!   )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the rewards_rate of this RewardDetails.
        The current Rewards percentage in decimal format.


        :return: The rewards_rate of this RewardDetails.
        :rtype: float
        r   r   r   r   r   r      r   zRewardDetails.rewards_ratec                 C   r   )z
        Sets the rewards_rate of this RewardDetails.
        The current Rewards percentage in decimal format.


        :param rewards_rate: The rewards_rate of this RewardDetails.
        :type: float
        Nr"   )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the total_rewards_available of this RewardDetails.
        The total number of available rewards for a given subscription ID.


        :return: The total_rewards_available of this RewardDetails.
        :rtype: float
        r   r   r   r   r   r      r   z%RewardDetails.total_rewards_availablec                 C   r   )a  
        Sets the total_rewards_available of this RewardDetails.
        The total number of available rewards for a given subscription ID.


        :param total_rewards_available: The total_rewards_available of this RewardDetails.
        :type: float
        Nr#   )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the redemption_code of this RewardDetails.
        The redemption code used in the Billing Center during the reward redemption process.


        :return: The redemption_code of this RewardDetails.
        :rtype: str
        r   r   r   r   r   r      r   zRewardDetails.redemption_codec                 C   r   )z
        Sets the redemption_code of this RewardDetails.
        The redemption code used in the Billing Center during the reward redemption process.


        :param redemption_code: The redemption_code of this RewardDetails.
        :type: str
        Nr$   )r   r   r   r   r   r      r   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zRewardDetails.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zRewardDetails.__eq__c                 C   s
   | |k S r%   r   r(   r   r   r   __ne__   s   
zRewardDetails.__ne__N)__name__
__module____qualname____doc__r   propertyr	   setterr
   r   r   r   r   r&   r*   r+   r   r   r   r   r      s<    7











r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   