o
    ɶd                     @   sD   d dl mZ ddlmZmZmZ ddlmZ eG dd deZdS )   )Source    )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
dd Zdd Zdd ZdS )
OciServicez,
    OCI service logging configuration.
    c                 K   sL   dddddd| _ dddddd| _d	| _d	| _d	| _d	| _d	| _d
| _d	S )aJ  
        Initializes a new OciService object with values from keyword arguments. The default value of the :py:attr:`~oci.logging.models.OciService.source_type` attribute
        of this class is ``OCISERVICE`` and it should not be changed.
        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 OciService.
            Allowed values for this property are: "OCISERVICE"
        :type source_type: str

        :param service:
            The value to assign to the service property of this OciService.
        :type service: str

        :param resource:
            The value to assign to the resource property of this OciService.
        :type resource: str

        :param category:
            The value to assign to the category property of this OciService.
        :type category: str

        :param parameters:
            The value to assign to the parameters property of this OciService.
        :type parameters: dict(str, str)

        strzdict(str, str))Zsource_typeserviceresourcecategory
parametersZ
sourceTyper
   r   r   r   NZ
OCISERVICE)Zswagger_typesZattribute_mapZ_source_type_service	_resource	_category_parameters)selfkwargs r   Busr/lib/python3.10/site-packages/oci/logging/models/oci_service.py__init__   s$   	
zOciService.__init__c                 C      | j S )z
        **[Required]** Gets the service of this OciService.
        Service generating log.


        :return: The service of this OciService.
        :rtype: str
        r   r   r   r   r   r
   E      
zOciService.servicec                 C   
   || _ dS )z
        Sets the service of this OciService.
        Service generating log.


        :param service: The service of this OciService.
        :type: str
        Nr   )r   r
   r   r   r   r
   Q      

c                 C   r   )z
        **[Required]** Gets the resource of this OciService.
        The unique identifier of the resource emitting the log.


        :return: The resource of this OciService.
        :rtype: str
        r   r   r   r   r   r   ]   r   zOciService.resourcec                 C   r   )z
        Sets the resource of this OciService.
        The unique identifier of the resource emitting the log.


        :param resource: The resource of this OciService.
        :type: str
        Nr   )r   r   r   r   r   r   i   r   c                 C   r   )z
        **[Required]** Gets the category of this OciService.
        Log object category.


        :return: The category of this OciService.
        :rtype: str
        r   r   r   r   r   r   u   r   zOciService.categoryc                 C   r   )z
        Sets the category of this OciService.
        Log object category.


        :param category: The category of this OciService.
        :type: str
        Nr   )r   r   r   r   r   r      r   c                 C   r   )z
        Gets the parameters of this OciService.
        Log category parameters are stored here.


        :return: The parameters of this OciService.
        :rtype: dict(str, str)
        r   r   r   r   r   r      r   zOciService.parametersc                 C   r   )z
        Sets the parameters of this OciService.
        Log category parameters are stored here.


        :param parameters: The parameters of this OciService.
        :type: dict(str, str)
        Nr   )r   r   r   r   r   r      r   c                 C   s   t | S N)r   r   r   r   r   __repr__   s   zOciService.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zOciService.__eq__c                 C   s
   | |k S r    r   r#   r   r   r   __ne__   s   
zOciService.__ne__N)__name__
__module____qualname____doc__r   propertyr
   setterr   r   r   r!   r%   r&   r   r   r   r   r      s,    3







r   N)	sourcer   Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   <module>   s
   