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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 )#CommitmentSummaryz/
    Subscribed Service commitment summary
    c              	   K   sd   ddddddddd| _ dddddd	d
dd| _d| _d| _d| _d| _d| _d| _d| _d| _	dS )a  
        Initializes a new CommitmentSummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this CommitmentSummary.
        :type id: str

        :param subscribed_service_id:
            The value to assign to the subscribed_service_id property of this CommitmentSummary.
        :type subscribed_service_id: str

        :param time_start:
            The value to assign to the time_start property of this CommitmentSummary.
        :type time_start: datetime

        :param time_end:
            The value to assign to the time_end property of this CommitmentSummary.
        :type time_end: datetime

        :param quantity:
            The value to assign to the quantity property of this CommitmentSummary.
        :type quantity: str

        :param used_amount:
            The value to assign to the used_amount property of this CommitmentSummary.
        :type used_amount: str

        :param available_amount:
            The value to assign to the available_amount property of this CommitmentSummary.
        :type available_amount: str

        :param funded_allocation_value:
            The value to assign to the funded_allocation_value property of this CommitmentSummary.
        :type funded_allocation_value: str

        strdatetime)idsubscribed_service_id
time_starttime_endquantityused_amountavailable_amountfunded_allocation_valuer	   ZsubscribedServiceIdZ	timeStartZtimeEndr   Z
usedAmountZavailableAmountZfundedAllocationValueN)
Zswagger_typesZattribute_map_id_subscribed_service_id_time_start	_time_end	_quantity_used_amount_available_amount_funded_allocation_value)selfkwargs r   Qusr/lib/python3.10/site-packages/oci/onesubscription/models/commitment_summary.py__init__   s4   '
zCommitmentSummary.__init__c                 C      | j S )z
        **[Required]** Gets the id of this CommitmentSummary.
        SPM internal Commitment ID


        :return: The id of this CommitmentSummary.
        :rtype: str
        r   r   r   r   r   r	   W      
zCommitmentSummary.idc                 C   
   || _ dS )z
        Sets the id of this CommitmentSummary.
        SPM internal Commitment ID


        :param id: The id of this CommitmentSummary.
        :type: str
        Nr   )r   r	   r   r   r   r	   c      

c                 C   r   )z
        Gets the subscribed_service_id of this CommitmentSummary.
        SPM internal Subscribed Service ID


        :return: The subscribed_service_id of this CommitmentSummary.
        :rtype: str
        r   r    r   r   r   r
   o   r!   z'CommitmentSummary.subscribed_service_idc                 C   r"   )z
        Sets the subscribed_service_id of this CommitmentSummary.
        SPM internal Subscribed Service ID


        :param subscribed_service_id: The subscribed_service_id of this CommitmentSummary.
        :type: str
        Nr$   )r   r
   r   r   r   r
   {   r#   c                 C   r   )z
        Gets the time_start of this CommitmentSummary.
        Commitment start date


        :return: The time_start of this CommitmentSummary.
        :rtype: datetime
        r   r    r   r   r   r      r!   zCommitmentSummary.time_startc                 C   r"   )z
        Sets the time_start of this CommitmentSummary.
        Commitment start date


        :param time_start: The time_start of this CommitmentSummary.
        :type: datetime
        Nr%   )r   r   r   r   r   r      r#   c                 C   r   )z
        Gets the time_end of this CommitmentSummary.
        Commitment end date


        :return: The time_end of this CommitmentSummary.
        :rtype: datetime
        r   r    r   r   r   r      r!   zCommitmentSummary.time_endc                 C   r"   )z
        Sets the time_end of this CommitmentSummary.
        Commitment end date


        :param time_end: The time_end of this CommitmentSummary.
        :type: datetime
        Nr&   )r   r   r   r   r   r      r#   c                 C   r   )z
        Gets the quantity of this CommitmentSummary.
        Commitment quantity


        :return: The quantity of this CommitmentSummary.
        :rtype: str
        r   r    r   r   r   r      r!   zCommitmentSummary.quantityc                 C   r"   )z
        Sets the quantity of this CommitmentSummary.
        Commitment quantity


        :param quantity: The quantity of this CommitmentSummary.
        :type: str
        Nr'   )r   r   r   r   r   r      r#   c                 C   r   )z
        Gets the used_amount of this CommitmentSummary.
        Commitment used amount


        :return: The used_amount of this CommitmentSummary.
        :rtype: str
        r   r    r   r   r   r      r!   zCommitmentSummary.used_amountc                 C   r"   )z
        Sets the used_amount of this CommitmentSummary.
        Commitment used amount


        :param used_amount: The used_amount of this CommitmentSummary.
        :type: str
        Nr(   )r   r   r   r   r   r      r#   c                 C   r   )z
        Gets the available_amount of this CommitmentSummary.
        Commitment available amount


        :return: The available_amount of this CommitmentSummary.
        :rtype: str
        r   r    r   r   r   r      r!   z"CommitmentSummary.available_amountc                 C   r"   )z
        Sets the available_amount of this CommitmentSummary.
        Commitment available amount


        :param available_amount: The available_amount of this CommitmentSummary.
        :type: str
        Nr)   )r   r   r   r   r   r      r#   c                 C   r   )z
        Gets the funded_allocation_value of this CommitmentSummary.
        Funded Allocation line value
        example: 12000.00


        :return: The funded_allocation_value of this CommitmentSummary.
        :rtype: str
        r   r    r   r   r   r      s   z)CommitmentSummary.funded_allocation_valuec                 C   r"   )a   
        Sets the funded_allocation_value of this CommitmentSummary.
        Funded Allocation line value
        example: 12000.00


        :param funded_allocation_value: The funded_allocation_value of this CommitmentSummary.
        :type: str
        Nr*   )r   r   r   r   r   r     s   
c                 C   s   t | S N)r   r    r   r   r   __repr__  s   zCommitmentSummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__  s   zCommitmentSummary.__eq__c                 C   s
   | |k S r+   r   r.   r   r   r   __ne__"  s   
zCommitmentSummary.__ne__N)__name__
__module____qualname____doc__r   propertyr	   setterr
   r   r   r   r   r   r   r,   r0   r1   r   r   r   r   r      sL    E















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   