ruạṛ
a ���fLE � @ 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 e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zd2d3� Zd4d5� Zd6d7� Zd8S )9�SecurityPolicyDeploymentz_ The resource represents the state of the deployment of a security policy on a target. �CREATING�UPDATING�DEPLOYED�NEEDS_ATTENTION�FAILED�DELETING�DELETEDc K s� dddddddddddddd� | _ dddd d ddd dddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a Initializes a new SecurityPolicyDeployment object with values from keyword arguments. 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 SecurityPolicyDeployment. :type id: str :param compartment_id: The value to assign to the compartment_id property of this SecurityPolicyDeployment. :type compartment_id: str :param display_name: The value to assign to the display_name property of this SecurityPolicyDeployment. :type display_name: str :param description: The value to assign to the description property of this SecurityPolicyDeployment. :type description: str :param target_id: The value to assign to the target_id property of this SecurityPolicyDeployment. :type target_id: str :param security_policy_id: The value to assign to the security_policy_id property of this SecurityPolicyDeployment. :type security_policy_id: str :param time_created: The value to assign to the time_created property of this SecurityPolicyDeployment. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this SecurityPolicyDeployment. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this SecurityPolicyDeployment. Allowed values for this property are: "CREATING", "UPDATING", "DEPLOYED", "NEEDS_ATTENTION", "FAILED", "DELETING", "DELETED", '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 SecurityPolicyDeployment. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this SecurityPolicyDeployment. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this SecurityPolicyDeployment. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this SecurityPolicyDeployment. :type system_tags: dict(str, dict(str, object)) �strZdatetimezdict(str, str)zdict(str, dict(str, object))) �id�compartment_id�display_name�description� target_id�security_policy_id�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr Z compartmentIdZdisplayNamer ZtargetIdZsecurityPolicyIdZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_compartment_id� _display_name�_description� _target_id�_security_policy_id� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r+ �S/usr/lib/python3.9/site-packages/oci/data_safe/models/security_policy_deployment.py�__init__. sR =��z!SecurityPolicyDeployment.__init__c C s | j S )z� **[Required]** Gets the id of this SecurityPolicyDeployment. The OCID of the security policy deployment. :return: The id of this SecurityPolicyDeployment. :rtype: str �r �r) r+ r+ r, r � s zSecurityPolicyDeployment.idc C s || _ dS )z� Sets the id of this SecurityPolicyDeployment. The OCID of the security policy deployment. :param id: The id of this SecurityPolicyDeployment. :type: str Nr. )r) r r+ r+ r, r � s c C s | j S )a **[Required]** Gets the compartment_id of this SecurityPolicyDeployment. The OCID of the compartment containing the security policy deployment. :return: The compartment_id of this SecurityPolicyDeployment. :rtype: str �r r/ r+ r+ r, r � s z'SecurityPolicyDeployment.compartment_idc C s || _ dS )a Sets the compartment_id of this SecurityPolicyDeployment. The OCID of the compartment containing the security policy deployment. :param compartment_id: The compartment_id of this SecurityPolicyDeployment. :type: str Nr0 )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the display_name of this SecurityPolicyDeployment. The display name of the security policy deployment. :return: The display_name of this SecurityPolicyDeployment. :rtype: str �r r/ r+ r+ r, r � s z%SecurityPolicyDeployment.display_namec C s || _ dS )z� Sets the display_name of this SecurityPolicyDeployment. The display name of the security policy deployment. :param display_name: The display_name of this SecurityPolicyDeployment. :type: str Nr1 )r) r r+ r+ r, r � s c C s | j S )z� Gets the description of this SecurityPolicyDeployment. The description of the security policy deployment. :return: The description of this SecurityPolicyDeployment. :rtype: str �r r/ r+ r+ r, r � s z$SecurityPolicyDeployment.descriptionc C s || _ dS )z� Sets the description of this SecurityPolicyDeployment. The description of the security policy deployment. :param description: The description of this SecurityPolicyDeployment. :type: str Nr2 )r) r r+ r+ r, r � s c C s | j S )z� **[Required]** Gets the target_id of this SecurityPolicyDeployment. The OCID of the target where the security policy is deployed. :return: The target_id of this SecurityPolicyDeployment. :rtype: str �r r/ r+ r+ r, r � s z"SecurityPolicyDeployment.target_idc C s || _ dS )z� Sets the target_id of this SecurityPolicyDeployment. The OCID of the target where the security policy is deployed. :param target_id: The target_id of this SecurityPolicyDeployment. :type: str Nr3 )r) r r+ r+ r, r s c C s | j S )a **[Required]** Gets the security_policy_id of this SecurityPolicyDeployment. The OCID of the security policy corresponding to the security policy deployment. :return: The security_policy_id of this SecurityPolicyDeployment. :rtype: str �r! r/ r+ r+ r, r s z+SecurityPolicyDeployment.security_policy_idc C s || _ dS )a Sets the security_policy_id of this SecurityPolicyDeployment. The OCID of the security policy corresponding to the security policy deployment. :param security_policy_id: The security_policy_id of this SecurityPolicyDeployment. :type: str Nr4 )r) r r+ r+ r, r s c C s | j S )a **[Required]** Gets the time_created of this SecurityPolicyDeployment. The time that the security policy deployment was created, in the format defined by RFC3339. :return: The time_created of this SecurityPolicyDeployment. :rtype: datetime �r"