Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
waf
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: dynamic_http_response_body.cpython-39.opt-1.pyc
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�HttpResponseBody� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�DynamicHttpResponseBodya Allows returning dynamically generated HTTP response body based on the provided template. The template allows variable interpolation by specifying variable name between the '${' and '}' delimiters. Escape sequences using '\' are supported to allow usage of '\\' and '\${' in the template to return '\' and '\${' in final response. The following variables are supported: * http.request.id - the HTTP request ID. For example: "d5fa953f75ef417e4c8008ef9336d779". Example: { "type": "DYNAMIC", "template": "{ \"code\": 403, \"message\":\"Unauthorised\", \"incidentId\": \"${http.request.id}\" }" } Example with escape sequence: { "type": "DYNAMIC", "template": "\\${Returned as plain text}" } c K s. ddd�| _ ddd�| _d| _d| _d| _dS )a� Initializes a new DynamicHttpResponseBody object with values from keyword arguments. The default value of the :py:attr:`~oci.waf.models.DynamicHttpResponseBody.type` attribute of this class is ``DYNAMIC`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this DynamicHttpResponseBody. Allowed values for this property are: "STATIC_TEXT", "DYNAMIC" :type type: str :param template: The value to assign to the template property of this DynamicHttpResponseBody. :type template: str �str)�type�templater r NZDYNAMIC)Z swagger_typesZ attribute_mapZ_type� _template)�self�kwargs� r �M/usr/lib/python3.9/site-packages/oci/waf/models/dynamic_http_response_body.py�__init__( s ��z DynamicHttpResponseBody.__init__c C s | j S )z� **[Required]** Gets the template of this DynamicHttpResponseBody. Dynamic response body :return: The template of this DynamicHttpResponseBody. :rtype: str �r �r r r r r F s z DynamicHttpResponseBody.templatec C s || _ dS )z� Sets the template of this DynamicHttpResponseBody. Dynamic response body :param template: The template of this DynamicHttpResponseBody. :type: str Nr )r r r r r r R s c C s t | �S �N)r r r r r �__repr__^ s z DynamicHttpResponseBody.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__a s zDynamicHttpResponseBody.__eq__c C s | |k S r r r r r r �__ne__g s zDynamicHttpResponseBody.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s r N) Zhttp_response_bodyr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s