📂 Advanced File Manager
Multi-Root Navigation System
⚡ Quick Jump
Server (/)
Home (/home)
Var_www (/var/www)
Current (/home4/shelley/public_html/shelleycutler.com/wp-content/mu-plugins)
📍 Go
⬆ Ke Atas
🏠 Root Server
🏠 Root App
🔄 Refresh
📀 /
›
usr
›
lib
›
python3.9
›
site-packages
›
oci
›
apm_synthetics
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/apm_synthetics/models/__pycache__
💾
Free:
45.7 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_script_details.cpython-39.opt-1.pyc
a ���f�* � @ 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 ZdZdZdZdd� Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zdd� Zdd� Zdd � Zd!S )"�CreateScriptDetailsz� Details of the request body used to create a new script. Only Side or JavaScript content types are supported and content should be in Side or JavaScript formats only. �SIDE�JSc K sZ dddddddd�| _ dddd d ddd�| _d | _d | _d | _d | _d | _d | _d | _d S )a� Initializes a new CreateScriptDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param display_name: The value to assign to the display_name property of this CreateScriptDetails. :type display_name: str :param content_type: The value to assign to the content_type property of this CreateScriptDetails. Allowed values for this property are: "SIDE", "JS" :type content_type: str :param content: The value to assign to the content property of this CreateScriptDetails. :type content: str :param content_file_name: The value to assign to the content_file_name property of this CreateScriptDetails. :type content_file_name: str :param parameters: The value to assign to the parameters property of this CreateScriptDetails. :type parameters: list[oci.apm_synthetics.models.ScriptParameter] :param freeform_tags: The value to assign to the freeform_tags property of this CreateScriptDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreateScriptDetails. :type defined_tags: dict(str, dict(str, object)) �strzlist[ScriptParameter]zdict(str, str)zdict(str, dict(str, object)))�display_name�content_type�content�content_file_name� parameters� freeform_tags�defined_tagsZdisplayNameZcontentTyper ZcontentFileNamer ZfreeformTagsZdefinedTagsN) Z swagger_typesZ attribute_map� _display_name� _content_type�_content�_content_file_name�_parameters�_freeform_tags� _defined_tags)�self�kwargs� r �S/usr/lib/python3.9/site-packages/oci/apm_synthetics/models/create_script_details.py�__init__ s. $�� zCreateScriptDetails.__init__c C s | j S )a **[Required]** Gets the display_name of this CreateScriptDetails. Unique name that can be edited. The name should not contain any confidential information. :return: The display_name of this CreateScriptDetails. :rtype: str �r �r r r r r Z s z CreateScriptDetails.display_namec C s || _ dS )a Sets the display_name of this CreateScriptDetails. Unique name that can be edited. The name should not contain any confidential information. :param display_name: The display_name of this CreateScriptDetails. :type: str Nr )r r r r r r f s c C s | j S )a **[Required]** Gets the content_type of this CreateScriptDetails. Content type of script. Allowed values for this property are: "SIDE", "JS" :return: The content_type of this CreateScriptDetails. :rtype: str )r r r r r r r s z CreateScriptDetails.content_typec C s* ddg}t ||�s td|� ���|| _dS )z� Sets the content_type of this CreateScriptDetails. Content type of script. :param content_type: The content_type of this CreateScriptDetails. :type: str r r z9Invalid value for `content_type`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r � s �c C s | j S )a� **[Required]** Gets the content of this CreateScriptDetails. The content of the script. It may contain custom-defined tags that can be used for setting dynamic parameters. The format to set dynamic parameters is: `<ORAP><ON>param name</ON><OV>param value</OV><OS>isParamValueSecret(true/false)</OS></ORAP>`. Param value and isParamValueSecret are optional, the default value for isParamValueSecret is false. Examples: With mandatory param name : `<ORAP><ON>param name</ON></ORAP>` With parameter name and value : `<ORAP><ON>param name</ON><OV>param value</OV></ORAP>` Note that the content is valid if it matches the given content type. For example, if the content type is SIDE, then the content should be in Side script format. If the content type is JS, then the content should be in JavaScript format. :return: The content of this CreateScriptDetails. :rtype: str �r r r r r r � s zCreateScriptDetails.contentc C s || _ dS )a� Sets the content of this CreateScriptDetails. The content of the script. It may contain custom-defined tags that can be used for setting dynamic parameters. The format to set dynamic parameters is: `<ORAP><ON>param name</ON><OV>param value</OV><OS>isParamValueSecret(true/false)</OS></ORAP>`. Param value and isParamValueSecret are optional, the default value for isParamValueSecret is false. Examples: With mandatory param name : `<ORAP><ON>param name</ON></ORAP>` With parameter name and value : `<ORAP><ON>param name</ON><OV>param value</OV></ORAP>` Note that the content is valid if it matches the given content type. For example, if the content type is SIDE, then the content should be in Side script format. If the content type is JS, then the content should be in JavaScript format. :param content: The content of this CreateScriptDetails. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the content_file_name of this CreateScriptDetails. File name of uploaded script content. :return: The content_file_name of this CreateScriptDetails. :rtype: str �r r r r r r � s z%CreateScriptDetails.content_file_namec C s || _ dS )z� Sets the content_file_name of this CreateScriptDetails. File name of uploaded script content. :param content_file_name: The content_file_name of this CreateScriptDetails. :type: str Nr! )r r r r r r � s c C s | j S )a5 Gets the parameters of this CreateScriptDetails. List of script parameters. Example: `[{"paramName": "userid", "paramValue":"testuser", "isSecret": false}]` :return: The parameters of this CreateScriptDetails. :rtype: list[oci.apm_synthetics.models.ScriptParameter] �r r r r r r � s zCreateScriptDetails.parametersc C s || _ dS )a> Sets the parameters of this CreateScriptDetails. List of script parameters. Example: `[{"paramName": "userid", "paramValue":"testuser", "isSecret": false}]` :param parameters: The parameters of this CreateScriptDetails. :type: list[oci.apm_synthetics.models.ScriptParameter] Nr"