o
    ɶdk                     @   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 )
WafRequestzn
    A time series of request counts handled by the Web Application Firewall, including blocked requests.
    c                 K   s2   dddd| _ dddd| _d| _d| _d| _dS )a  
        Initializes a new WafRequest object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param time_observed:
            The value to assign to the time_observed property of this WafRequest.
        :type time_observed: datetime

        :param time_range_in_seconds:
            The value to assign to the time_range_in_seconds property of this WafRequest.
        :type time_range_in_seconds: int

        :param count:
            The value to assign to the count property of this WafRequest.
        :type count: int

        datetimeint)time_observedtime_range_in_secondscountZtimeObservedZtimeRangeInSecondsr   N)Zswagger_typesZattribute_map_time_observed_time_range_in_seconds_count)selfkwargs r   ?usr/lib/python3.10/site-packages/oci/waas/models/waf_request.py__init__   s   
zWafRequest.__init__c                 C      | j S )a  
        Gets the time_observed of this WafRequest.
        The date and time the traffic was observed, rounded down to the start of a range, and expressed in RFC 3339 timestamp format.


        :return: The time_observed of this WafRequest.
        :rtype: datetime
        r   r   r   r   r   r	   4      
zWafRequest.time_observedc                 C   
   || _ dS )a   
        Sets the time_observed of this WafRequest.
        The date and time the traffic was observed, rounded down to the start of a range, and expressed in RFC 3339 timestamp format.


        :param time_observed: The time_observed of this WafRequest.
        :type: datetime
        Nr   )r   r	   r   r   r   r	   @      

c                 C   r   )z
        Gets the time_range_in_seconds of this WafRequest.
        The number of seconds this data covers.


        :return: The time_range_in_seconds of this WafRequest.
        :rtype: int
        r   r   r   r   r   r
   L   r   z WafRequest.time_range_in_secondsc                 C   r   )z
        Sets the time_range_in_seconds of this WafRequest.
        The number of seconds this data covers.


        :param time_range_in_seconds: The time_range_in_seconds of this WafRequest.
        :type: int
        Nr   )r   r
   r   r   r   r
   X   r   c                 C   r   )z
        Gets the count of this WafRequest.
        The total number of requests received in this time period.


        :return: The count of this WafRequest.
        :rtype: int
        r   r   r   r   r   r   d   r   zWafRequest.countc                 C   r   )z
        Sets the count of this WafRequest.
        The total number of requests received in this time period.


        :param count: The count of this WafRequest.
        :type: int
        Nr   )r   r   r   r   r   r   p   r   c                 C   s   t | S N)r   r   r   r   r   __repr__|   s   zWafRequest.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r   otherr   r   r   __eq__   s   zWafRequest.__eq__c                 C   s
   | |k S r   r   r   r   r   r   __ne__   s   
zWafRequest.__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   