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                   @   sd   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d
d„ Z	dd„ Z
dd„ ZdS )ÚRewardCollectionzp
    The response object for the ListRewards API call. Provides information about the subscription rewards.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )a  
        Initializes a new RewardCollection object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param summary:
            The value to assign to the summary property of this RewardCollection.
        :type summary: oci.usage.models.RewardDetails

        :param items:
            The value to assign to the items property of this RewardCollection.
        :type items: list[oci.usage.models.MonthlyRewardSummary]

        ZRewardDetailszlist[MonthlyRewardSummary])ÚsummaryÚitemsr   r   N)Zswagger_typesZattribute_mapÚ_summaryÚ_items)ÚselfÚkwargs© r   úFusr/lib/python3.10/site-packages/oci/usage/models/reward_collection.pyÚ__init__   s   þþ
zRewardCollection.__init__c                 C   ó   | j S )z²
        **[Required]** Gets the summary of this RewardCollection.

        :return: The summary of this RewardCollection.
        :rtype: oci.usage.models.RewardDetails
        ©r	   ©r   r   r   r   r   -   s   zRewardCollection.summaryc                 C   ó
   || _ dS )z©
        Sets the summary of this RewardCollection.

        :param summary: The summary of this RewardCollection.
        :type: oci.usage.models.RewardDetails
        Nr   )r   r   r   r   r   r   7   s   
c                 C   r   )zÕ
        Gets the items of this RewardCollection.
        The monthly summary of rewards.


        :return: The items of this RewardCollection.
        :rtype: list[oci.usage.models.MonthlyRewardSummary]
        ©r
   r   r   r   r   r   A   s   
zRewardCollection.itemsc                 C   r   )zÙ
        Sets the items of this RewardCollection.
        The monthly summary of rewards.


        :param items: The items of this RewardCollection.
        :type: list[oci.usage.models.MonthlyRewardSummary]
        Nr   )r   r   r   r   r   r   M   s   

c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__Y   s   zRewardCollection.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__\   s   zRewardCollection.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__b   s   
zRewardCollection.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r      s    
	
	

r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   