ruạṛ
a ���f6E � @ 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 ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z ed d� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zd1d2� Zd3d4� Zd5d6� Zd7S )8�WebAppAccelerationz� A resource connecting a WebAppAccelerationPolicy to a backend of particular type, applying that policy's coverage to the backend. � LOAD_BALANCER�CREATING�UPDATING�ACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddd�| _ dddd d ddd ddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ dS )a� Initializes a new WebAppAcceleration 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.waa.models.WebAppAccelerationLoadBalancer` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param id: The value to assign to the id property of this WebAppAcceleration. :type id: str :param display_name: The value to assign to the display_name property of this WebAppAcceleration. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this WebAppAcceleration. :type compartment_id: str :param backend_type: The value to assign to the backend_type property of this WebAppAcceleration. Allowed values for this property are: "LOAD_BALANCER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type backend_type: str :param web_app_acceleration_policy_id: The value to assign to the web_app_acceleration_policy_id property of this WebAppAcceleration. :type web_app_acceleration_policy_id: str :param time_created: The value to assign to the time_created property of this WebAppAcceleration. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this WebAppAcceleration. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this WebAppAcceleration. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this WebAppAcceleration. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this WebAppAcceleration. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this WebAppAcceleration. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this WebAppAcceleration. :type system_tags: dict(str, dict(str, object)) �strZdatetimezdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id�backend_type�web_app_acceleration_policy_id�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr ZdisplayNameZ compartmentId�backendTypeZwebAppAccelerationPolicyIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id� _display_name�_compartment_id� _backend_type�_web_app_acceleration_policy_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r* �G/usr/lib/python3.9/site-packages/oci/waa/models/web_app_acceleration.py�__init__. sL ?��zWebAppAcceleration.__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 r ZWebAppAccelerationLoadBalancerr Nr* )Zobject_dictionary�typer* r* r+ �get_subtype� s zWebAppAcceleration.get_subtypec C s | j S )a **[Required]** Gets the id of this WebAppAcceleration. The `OCID`__ of the WebAppAcceleration. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this WebAppAcceleration. :rtype: str �r �r( r* r* r+ r � s zWebAppAcceleration.idc C s || _ dS )a Sets the id of this WebAppAcceleration. The `OCID`__ of the WebAppAcceleration. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this WebAppAcceleration. :type: str Nr/ )r( r r* r* r+ r � s c C s | j S )z� **[Required]** Gets the display_name of this WebAppAcceleration. WebAppAcceleration display name, can be renamed. :return: The display_name of this WebAppAcceleration. :rtype: str �r r0 r* r* r+ r � s zWebAppAcceleration.display_namec C s || _ dS )z� Sets the display_name of this WebAppAcceleration. WebAppAcceleration display name, can be renamed. :param display_name: The display_name of this WebAppAcceleration. :type: str Nr1 )r( r r* r* r+ r � s c C s | j S )a& **[Required]** Gets the compartment_id of this WebAppAcceleration. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this WebAppAcceleration. :rtype: str �r r0 r* r* r+ r � s z!WebAppAcceleration.compartment_idc C s || _ dS )a$ Sets the compartment_id of this WebAppAcceleration. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this WebAppAcceleration. :type: str Nr2 )r( r r* r* r+ r � s c C s | j S )a� **[Required]** Gets the backend_type of this WebAppAcceleration. Type of the WebAppFirewall, as example LOAD_BALANCER. Allowed values for this property are: "LOAD_BALANCER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The backend_type of this WebAppAcceleration. :rtype: str )r r0 r* r* r+ r � s zWebAppAcceleration.backend_typec C s dg}t ||�sd}|| _dS )z� Sets the backend_type of this WebAppAcceleration. Type of the WebAppFirewall, as example LOAD_BALANCER. :param backend_type: The backend_type of this WebAppAcceleration. :type: str r �UNKNOWN_ENUM_VALUEN)r r )r( r �allowed_valuesr* r* r+ r s c C s | j S )ar **[Required]** Gets the web_app_acceleration_policy_id of this WebAppAcceleration. The `OCID`__ of WebAppAccelerationPolicy, which is attached to the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The web_app_acceleration_policy_id of this WebAppAcceleration. :rtype: str �r r0 r* r* r+ r s z1WebAppAcceleration.web_app_acceleration_policy_idc C s || _ dS )a� Sets the web_app_acceleration_policy_id of this WebAppAcceleration. The `OCID`__ of WebAppAccelerationPolicy, which is attached to the resource. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param web_app_acceleration_policy_id: The web_app_acceleration_policy_id of this WebAppAcceleration. :type: str Nr5 )r( r r* r* r+ r s c C s | j S )a **[Required]** Gets the time_created of this WebAppAcceleration. The time the WebAppAcceleration was created. An RFC3339 formatted datetime string. :return: The time_created of this WebAppAcceleration. :rtype: datetime �r! r0 r* r* r+ r . s zWebAppAcceleration.time_createdc C s || _ dS )a Sets the time_created of this WebAppAcceleration. The time the WebAppAcceleration was created. An RFC3339 formatted datetime string. :param time_created: The time_created of this WebAppAcceleration. :type: datetime Nr6 )r( r r* r* r+ r : s c C s | j S )z� Gets the time_updated of this WebAppAcceleration. The time the WebAppAcceleration was updated. An RFC3339 formatted datetime string. :return: The time_updated of this WebAppAcceleration. :rtype: datetime �r"