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 )�NamespaceMetadatazs NamespaceMetadata maps a namespace string to defaultS3CompartmentId and defaultSwiftCompartmentId values. c K s2 dddd�| _ dddd�| _d| _d| _d| _dS )a� Initializes a new NamespaceMetadata object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param namespace: The value to assign to the namespace property of this NamespaceMetadata. :type namespace: str :param default_s3_compartment_id: The value to assign to the default_s3_compartment_id property of this NamespaceMetadata. :type default_s3_compartment_id: str :param default_swift_compartment_id: The value to assign to the default_swift_compartment_id property of this NamespaceMetadata. :type default_swift_compartment_id: str �str)� namespace�default_s3_compartment_id�default_swift_compartment_idr ZdefaultS3CompartmentIdZdefaultSwiftCompartmentIdN)Z swagger_typesZ attribute_map� _namespace�_default_s3_compartment_id�_default_swift_compartment_id)�self�kwargs� r �P/usr/lib/python3.9/site-packages/oci/object_storage/models/namespace_metadata.py�__init__ s ��zNamespaceMetadata.__init__c C s | j S )z� **[Required]** Gets the namespace of this NamespaceMetadata. The Object Storage namespace to which the metadata belongs. :return: The namespace of this NamespaceMetadata. :rtype: str �r �r r r r r 4 s zNamespaceMetadata.namespacec C s || _ dS )z� Sets the namespace of this NamespaceMetadata. The Object Storage namespace to which the metadata belongs. :param namespace: The namespace of this NamespaceMetadata. :type: str Nr )r r r r r r @ s c C s | j S )a- **[Required]** Gets the default_s3_compartment_id of this NamespaceMetadata. If the field is set, specifies the default compartment assignment for the Amazon S3 Compatibility API. :return: The default_s3_compartment_id of this NamespaceMetadata. :rtype: str �r r r r r r L s z+NamespaceMetadata.default_s3_compartment_idc C s || _ dS )a6 Sets the default_s3_compartment_id of this NamespaceMetadata. If the field is set, specifies the default compartment assignment for the Amazon S3 Compatibility API. :param default_s3_compartment_id: The default_s3_compartment_id of this NamespaceMetadata. :type: str Nr )r r r r r r X s c C s | j S )a! **[Required]** Gets the default_swift_compartment_id of this NamespaceMetadata. If the field is set, specifies the default compartment assignment for the Swift API. :return: The default_swift_compartment_id of this NamespaceMetadata. :rtype: str �r r r r r r d s z.NamespaceMetadata.default_swift_compartment_idc C s || _ dS )a- Sets the default_swift_compartment_id of this NamespaceMetadata. If the field is set, specifies the default compartment assignment for the Swift API. :param default_swift_compartment_id: The default_swift_compartment_id of this NamespaceMetadata. :type: str Nr )r r r r r r p s c C s t | �S �N)r r r r r �__repr__| s zNamespaceMetadata.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__ s zNamespaceMetadata.__eq__c C s | |k S r r r r r r �__ne__� s zNamespaceMetadata.__ne__N) �__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r r s"