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 d d� Z dd� Zdd� ZdS )�RestoreObjectsDetailsz& RestoreObjectsDetails model. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new RestoreObjectsDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param object_name: The value to assign to the object_name property of this RestoreObjectsDetails. :type object_name: str :param hours: The value to assign to the hours property of this RestoreObjectsDetails. :type hours: int :param version_id: The value to assign to the version_id property of this RestoreObjectsDetails. :type version_id: str �str�int)�object_name�hours� version_idZ objectNamer Z versionIdN)Z swagger_typesZ attribute_map�_object_name�_hours�_version_id)�self�kwargs� r �U/usr/lib/python3.9/site-packages/oci/object_storage/models/restore_objects_details.py�__init__ s ��zRestoreObjectsDetails.__init__c C s | j S )z� **[Required]** Gets the object_name of this RestoreObjectsDetails. An object that is in an archive storage tier and needs to be restored. :return: The object_name of this RestoreObjectsDetails. :rtype: str �r �r r r r r 4 s z!RestoreObjectsDetails.object_namec C s || _ dS )z� Sets the object_name of this RestoreObjectsDetails. An object that is in an archive storage tier and needs to be restored. :param object_name: The object_name of this RestoreObjectsDetails. :type: str Nr )r r r r r r @ s c C s | j S )aO Gets the hours of this RestoreObjectsDetails. The number of hours for which this object will be restored. By default objects will be restored for 24 hours. You can instead configure the duration using the hours parameter. :return: The hours of this RestoreObjectsDetails. :rtype: int �r r r r r r L s zRestoreObjectsDetails.hoursc C s || _ dS )aS Sets the hours of this RestoreObjectsDetails. The number of hours for which this object will be restored. By default objects will be restored for 24 hours. You can instead configure the duration using the hours parameter. :param hours: The hours of this RestoreObjectsDetails. :type: int Nr )r r r r r r Y s c C s | j S )z� Gets the version_id of this RestoreObjectsDetails. The versionId of the object to restore. Current object version is used by default. :return: The version_id of this RestoreObjectsDetails. :rtype: str �r r r r r r f s z RestoreObjectsDetails.version_idc C s || _ dS )z� Sets the version_id of this RestoreObjectsDetails. The versionId of the object to restore. Current object version is used by default. :param version_id: The version_id of this RestoreObjectsDetails. :type: str Nr )r r r r r r r s c C s t | �S �N)r r r r r �__repr__~ s zRestoreObjectsDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zRestoreObjectsDetails.__eq__c C s | |k S r r r r r r �__ne__� s zRestoreObjectsDetails.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"