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 @ sV e Zd ZdZdd� Zedd� �Zedd� �Zej dd� �Zd d � Z dd� Zd d� ZdS )�UsageDataDetailsa� The source details of the usage data in object storage. The usage data file uploaded to object storage must be a gzip archive of the JSON usage data returned from the GraalVM native-image-inspect tool after a native-image build. Set `sourceType` to `objectStorageTuple` and use :func:`usage_data_via_object_storage_tuple_details` when specifying the namespace, bucket name, and object name. c K s ddi| _ ddi| _d| _dS )aV Initializes a new UsageDataDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.adm.models.UsageDataViaObjectStorageTupleDetails` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param source_type: The value to assign to the source_type property of this UsageDataDetails. :type source_type: str �source_type�str� sourceTypeN)Z swagger_typesZ attribute_map�_source_type)�self�kwargs� r �E/usr/lib/python3.9/site-packages/oci/adm/models/usage_data_details.py�__init__ s ��zUsageDataDetails.__init__c C s | d }|dkrdS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r ZobjectStorageTupleZ%UsageDataViaObjectStorageTupleDetailsr Nr )Zobject_dictionary�typer r r �get_subtype. s zUsageDataDetails.get_subtypec C s | j S )a **[Required]** Gets the source_type of this UsageDataDetails. The destination type. Use `objectStorageTuple` when specifying the namespace, bucket name, and object name. :return: The source_type of this UsageDataDetails. :rtype: str �r �r r r r r ; s zUsageDataDetails.source_typec C s || _ dS )a Sets the source_type of this UsageDataDetails. The destination type. Use `objectStorageTuple` when specifying the namespace, bucket name, and object name. :param source_type: The source_type of this UsageDataDetails. :type: str Nr )r r r r r r G s c C s t | �S �N)r r r r r �__repr__S s zUsageDataDetails.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__V s zUsageDataDetails.__eq__c C s | |k S r r r r r r �__ne__\ s zUsageDataDetails.__ne__N) �__name__� __module__�__qualname__�__doc__r �staticmethodr �propertyr �setterr r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn