ruạṛ
a ���f_ � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z edd� �Zejdd� �Zdd� Zdd� Zd d!� Zd"S )#� Commitmentz/ Subscribed Service commitment summary c K sd ddddddddd�| _ dddddd d dd�| _d| _d| _d| _d| _d| _d| _d| _d| _ dS ) aQ 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 id: The value to assign to the id property of this Commitment. :type id: str :param subscribed_service_id: The value to assign to the subscribed_service_id property of this Commitment. :type subscribed_service_id: str :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 used_amount: The value to assign to the used_amount property of this Commitment. :type used_amount: str :param available_amount: The value to assign to the available_amount property of this Commitment. :type available_amount: str :param funded_allocation_value: The value to assign to the funded_allocation_value property of this Commitment. :type funded_allocation_value: str �strZdatetime)�id�subscribed_service_id� time_start�time_end�quantity�used_amount�available_amount�funded_allocation_valuer ZsubscribedServiceIdZ timeStartZtimeEndr Z usedAmountZavailableAmountZfundedAllocationValueN) Z swagger_typesZ attribute_map�_id�_subscribed_service_id�_time_start� _time_end� _quantity�_used_amount�_available_amount�_funded_allocation_value)�self�kwargs� r �I/usr/lib/python3.9/site-packages/oci/onesubscription/models/commitment.py�__init__ s4 '��zCommitment.__init__c C s | j S )z� **[Required]** Gets the id of this Commitment. SPM internal Commitment ID :return: The id of this Commitment. :rtype: str �r �r r r r r W s z Commitment.idc C s || _ dS )z� Sets the id of this Commitment. SPM internal Commitment ID :param id: The id of this Commitment. :type: str Nr )r r r r r r c s c C s | j S )z� Gets the subscribed_service_id of this Commitment. SPM internal Subscribed Service ID :return: The subscribed_service_id of this Commitment. :rtype: str �r r r r r r o s z Commitment.subscribed_service_idc C s || _ dS )z� Sets the subscribed_service_id of this Commitment. SPM internal Subscribed Service ID :param subscribed_service_id: The subscribed_service_id of this Commitment. :type: str Nr )r r r r r r { s c C s | 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 � s zCommitment.time_startc C s || _ dS )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 � s c C s | j S )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 � s zCommitment.time_endc C s || _ dS )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 � s c C s | j S )z� Gets the quantity of this Commitment. Commitment quantity :return: The quantity of this Commitment. :rtype: str �r r r r r r � s zCommitment.quantityc C s || _ dS )z� Sets the quantity of this Commitment. Commitment quantity :param quantity: The quantity of this Commitment. :type: str Nr"