📂 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
›
identity
›
models
›
📁 __pycache__
📍
Lokasi:
/usr/lib/python3.9/site-packages/oci/identity/models/__pycache__
💾
Free:
45.8 GB
⚠️ Direktori ini
tidak writable
.
✏️ Mengedit: create_policy_details.cpython-39.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 ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zed d� �Z e jdd� �Z ed d� �Z e jdd� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Z e jdd� �Z dd� Zdd� Zdd� ZdS ) �CreatePolicyDetailsz$ CreatePolicyDetails model. c K sZ dddddddd�| _ ddd d ddd d�| _d| _d| _d| _d| _d| _d| _d| _dS )a Initializes a new CreatePolicyDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param compartment_id: The value to assign to the compartment_id property of this CreatePolicyDetails. :type compartment_id: str :param name: The value to assign to the name property of this CreatePolicyDetails. :type name: str :param statements: The value to assign to the statements property of this CreatePolicyDetails. :type statements: list[str] :param description: The value to assign to the description property of this CreatePolicyDetails. :type description: str :param version_date: The value to assign to the version_date property of this CreatePolicyDetails. :type version_date: datetime :param freeform_tags: The value to assign to the freeform_tags property of this CreatePolicyDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this CreatePolicyDetails. :type defined_tags: dict(str, dict(str, object)) �strz list[str]Zdatetimezdict(str, str)zdict(str, dict(str, object)))�compartment_id�name� statements�description�version_date� freeform_tags�defined_tagsZ compartmentIdr r r ZversionDateZfreeformTagsZdefinedTagsN) Z swagger_typesZ attribute_map�_compartment_id�_name�_statements�_description� _version_date�_freeform_tags� _defined_tags)�self�kwargs� r �M/usr/lib/python3.9/site-packages/oci/identity/models/create_policy_details.py�__init__ s. #�� zCreatePolicyDetails.__init__c C s | j S )a **[Required]** Gets the compartment_id of this CreatePolicyDetails. The OCID of the compartment containing the policy (either the tenancy or another compartment). :return: The compartment_id of this CreatePolicyDetails. :rtype: str �r �r r r r r P s z"CreatePolicyDetails.compartment_idc C s || _ dS )a Sets the compartment_id of this CreatePolicyDetails. The OCID of the compartment containing the policy (either the tenancy or another compartment). :param compartment_id: The compartment_id of this CreatePolicyDetails. :type: str Nr )r r r r r r \ s c C s | j S )a- **[Required]** Gets the name of this CreatePolicyDetails. The name you assign to the policy during creation. The name must be unique across all policies in the tenancy and cannot be changed. :return: The name of this CreatePolicyDetails. :rtype: str �r r r r r r h s zCreatePolicyDetails.namec C s || _ dS )a! Sets the name of this CreatePolicyDetails. The name you assign to the policy during creation. The name must be unique across all policies in the tenancy and cannot be changed. :param name: The name of this CreatePolicyDetails. :type: str Nr )r r r r r r u s c C s | j S )a� **[Required]** Gets the statements of this CreatePolicyDetails. An array of policy statements written in the policy language. See `How Policies Work`__ and `Common Policies`__. __ https://docs.cloud.oracle.com/Content/Identity/policieshow/how-policies-work.htm __ https://docs.cloud.oracle.com/Content/Identity/policiescommon/commonpolicies.htm :return: The statements of this CreatePolicyDetails. :rtype: list[str] �r r r r r r � s zCreatePolicyDetails.statementsc C s || _ dS )a� Sets the statements of this CreatePolicyDetails. An array of policy statements written in the policy language. See `How Policies Work`__ and `Common Policies`__. __ https://docs.cloud.oracle.com/Content/Identity/policieshow/how-policies-work.htm __ https://docs.cloud.oracle.com/Content/Identity/policiescommon/commonpolicies.htm :param statements: The statements of this CreatePolicyDetails. :type: list[str] Nr )r r r r r r � s c C s | j S )a **[Required]** Gets the description of this CreatePolicyDetails. The description you assign to the policy during creation. Does not have to be unique, and it's changeable. :return: The description of this CreatePolicyDetails. :rtype: str �r r r r r r � s zCreatePolicyDetails.descriptionc C s || _ dS )a Sets the description of this CreatePolicyDetails. The description you assign to the policy during creation. Does not have to be unique, and it's changeable. :param description: The description of this CreatePolicyDetails. :type: str Nr )r r r r r r � s c C s | j S )a� Gets the version_date of this CreatePolicyDetails. The version of the policy. If null or set to an empty string, when a request comes in for authorization, the policy will be evaluated according to the current behavior of the services at that moment. If set to a particular date (YYYY-MM-DD), the policy will be evaluated according to the behavior of the services on that date. :return: The version_date of this CreatePolicyDetails. :rtype: datetime �r r r r r r � s z CreatePolicyDetails.version_datec C s || _ dS )a Sets the version_date of this CreatePolicyDetails. The version of the policy. If null or set to an empty string, when a request comes in for authorization, the policy will be evaluated according to the current behavior of the services at that moment. If set to a particular date (YYYY-MM-DD), the policy will be evaluated according to the behavior of the services on that date. :param version_date: The version_date of this CreatePolicyDetails. :type: datetime Nr )r r r r r r � s c C s | j S )a� Gets the freeform_tags of this CreatePolicyDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this CreatePolicyDetails. :rtype: dict(str, str) �r r r r r r � s z!CreatePolicyDetails.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this CreatePolicyDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see `Resource Tags`__. Example: `{"Department": "Finance"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this CreatePolicyDetails. :type: dict(str, str) Nr! )r r r r r r � s c C s | j S )a� Gets the defined_tags of this CreatePolicyDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this CreatePolicyDetails. :rtype: dict(str, dict(str, object)) �r r r r r r � s z CreatePolicyDetails.defined_tagsc C s || _ dS )a� Sets the defined_tags of this CreatePolicyDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see `Resource Tags`__. Example: `{"Operations": {"CostCenter": "42"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this CreatePolicyDetails. :type: dict(str, dict(str, object)) Nr"