o
    ɶd+                     @   s8   d dl mZmZmZ d dlmZ eG dd deZdS )    )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	dd Z
dd Zdd ZdS )SearchResponsez!
    Search response object.
    c                 K   s2   dddd| _ dddd| _d| _d| _d| _dS )	a  
        Initializes a new SearchResponse object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param results:
            The value to assign to the results property of this SearchResponse.
        :type results: list[oci.loggingsearch.models.SearchResult]

        :param fields:
            The value to assign to the fields property of this SearchResponse.
        :type fields: list[oci.loggingsearch.models.FieldInfo]

        :param summary:
            The value to assign to the summary property of this SearchResponse.
        :type summary: oci.loggingsearch.models.SearchResultSummary

        zlist[SearchResult]zlist[FieldInfo]ZSearchResultSummary)resultsfieldssummaryr   r   r	   N)Zswagger_typesZattribute_map_results_fields_summary)selfkwargs r   Lusr/lib/python3.10/site-packages/oci/loggingsearch/models/search_response.py__init__   s   
zSearchResponse.__init__c                 C      | j S )z
        Gets the results of this SearchResponse.
        List of search results


        :return: The results of this SearchResponse.
        :rtype: list[oci.loggingsearch.models.SearchResult]
        r
   r   r   r   r   r   4      
zSearchResponse.resultsc                 C   
   || _ dS )z
        Sets the results of this SearchResponse.
        List of search results


        :param results: The results of this SearchResponse.
        :type: list[oci.loggingsearch.models.SearchResult]
        Nr   )r   r   r   r   r   r   @      

c                 C   r   )z
        Gets the fields of this SearchResponse.
        List of log field schema information.


        :return: The fields of this SearchResponse.
        :rtype: list[oci.loggingsearch.models.FieldInfo]
        r   r   r   r   r   r   L   r   zSearchResponse.fieldsc                 C   r   )z
        Sets the fields of this SearchResponse.
        List of log field schema information.


        :param fields: The fields of this SearchResponse.
        :type: list[oci.loggingsearch.models.FieldInfo]
        Nr   )r   r   r   r   r   r   X   r   c                 C   r   )z
        **[Required]** Gets the summary of this SearchResponse.

        :return: The summary of this SearchResponse.
        :rtype: oci.loggingsearch.models.SearchResultSummary
        r   r   r   r   r   r	   d   s   zSearchResponse.summaryc                 C   r   )z
        Sets the summary of this SearchResponse.

        :param summary: The summary of this SearchResponse.
        :type: oci.loggingsearch.models.SearchResultSummary
        Nr   )r   r	   r   r   r   r	   n   s   
c                 C   s   t | S N)r   r   r   r   r   __repr__x   s   zSearchResponse.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__{   s   zSearchResponse.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__   s   
zSearchResponse.__ne__N)__name__
__module____qualname____doc__r   propertyr   setterr   r	   r   r   r    r   r   r   r   r      s$    "




	
	r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r   r   r   r   <module>   s   