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 )
Commitmentz/
    Subscribed service commitment details
    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 )aB  
        Initializes a new Commitment object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

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

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

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

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

        :param line_net_amount:
            The value to assign to the line_net_amount property of this Commitment.
        :type line_net_amount: str

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

        datetimestr)
time_starttime_endquantityavailable_amountline_net_amountfunded_allocation_valueZ	timeStartZtimeEndr   ZavailableAmountZlineNetAmountZfundedAllocationValueN)Zswagger_typesZattribute_map_time_start	_time_end	_quantity_available_amount_line_net_amount_funded_allocation_value)selfkwargs r   Kusr/lib/python3.10/site-packages/oci/osub_subscription/models/commitment.py__init__   s(   
	
zCommitment.__init__c                 C      | j S )z
        Gets the time_start of this Commitment.
        Commitment start date


        :return: The time_start of this Commitment.
        :rtype: datetime
        r   r   r   r   r   r	   I      
zCommitment.time_startc                 C   
   || _ dS )z
        Sets the time_start of this Commitment.
        Commitment start date


        :param time_start: The time_start of this Commitment.
        :type: datetime
        Nr   )r   r	   r   r   r   r	   U      

c                 C   r   )z
        Gets the time_end of this Commitment.
        Commitment end date


        :return: The time_end of this Commitment.
        :rtype: datetime
        r   r   r   r   r   r
   a   r   zCommitment.time_endc                 C   r   )z
        Sets the time_end of this Commitment.
        Commitment end date


        :param time_end: The time_end of this Commitment.
        :type: datetime
        Nr    )r   r
   r   r   r   r
   m   r   c                 C   r   )z
        Gets the quantity of this Commitment.
        Commitment quantity


        :return: The quantity of this Commitment.
        :rtype: str
        r   r   r   r   r   r   y   r   zCommitment.quantityc                 C   r   )z
        Sets the quantity of this Commitment.
        Commitment quantity


        :param quantity: The quantity of this Commitment.
        :type: str
        Nr!   )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the available_amount of this Commitment.
        Commitment available amount


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


        :param available_amount: The available_amount of this Commitment.
        :type: str
        Nr"   )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the line_net_amount of this Commitment.
        Commitment line net amount


        :return: The line_net_amount of this Commitment.
        :rtype: str
        r   r   r   r   r   r      r   zCommitment.line_net_amountc                 C   r   )z
        Sets the line_net_amount of this Commitment.
        Commitment line net amount


        :param line_net_amount: The line_net_amount of this Commitment.
        :type: str
        Nr#   )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the funded_allocation_value of this Commitment.
        Funded Allocation line value


        :return: The funded_allocation_value of this Commitment.
        :rtype: str
        r   r   r   r   r   r      r   z"Commitment.funded_allocation_valuec                 C   r   )z
        Sets the funded_allocation_value of this Commitment.
        Funded Allocation line value


        :param funded_allocation_value: The funded_allocation_value of this Commitment.
        :type: str
        Nr$   )r   r   r   r   r   r      r   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zCommitment.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zCommitment.__eq__c                 C   s
   | |k S r%   r   r(   r   r   r   __ne__   s   
zCommitment.__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   