ruạṛ
a O��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 ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd d� 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.� �Zejd/d.� �Zed0d1� �Zejd2d1� �Zed3d4� �Zejd5d4� �Zed6d7� �Zejd8d7� �Zed9d:� �Z e jd;d:� �Z ed<d=� �Z!e!jd>d=� �Z!ed?d@� �Z"e"jdAd@� �Z"edBdC� �Z#e#jdDdC� �Z#edEdF� �Z$e$jdGdF� �Z$edHdI� �Z%e%jdJdI� �Z%edKdL� �Z&e&jdMdL� �Z&edNdO� �Z'e'jdPdO� �Z'edQdR� �Z(e(jdSdR� �Z(edTdU� �Z)e)jdVdU� �Z)edWdX� �Z*e*jdYdX� �Z*edZd[� �Z+e+jd\d[� �Z+ed]d^� �Z,e,jd_d^� �Z,d`da� Z-dbdc� Z.ddde� Z/dfS )g�OperatorControlAssignmentaC An Operator Control Assignment identifies the target resource that is placed under the governance of an Operator Control. Creating an Operator Control Assignment Assignment with a time duration ensures that human accesses to the target resource will be governed by Operator Control for the duration specified. �EXACC�EXADATAINFRASTRUCTURE�AUTONOMOUSVMCLUSTER�CLOUDAUTONOMOUSVMCLUSTER�CREATED�APPLIED�APPLYFAILED�UPDATING�DELETING�DELETED�DELETIONFAILEDc K s" dddddddddddddddddddddddddddd�| _ dd d ddd ddddddddddddddddddd d!d"d�| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _ d#| _ d#| _d#| _d#| _ d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#S )$a4 Initializes a new OperatorControlAssignment 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 OperatorControlAssignment. :type id: str :param operator_control_id: The value to assign to the operator_control_id property of this OperatorControlAssignment. :type operator_control_id: str :param resource_id: The value to assign to the resource_id property of this OperatorControlAssignment. :type resource_id: str :param resource_name: The value to assign to the resource_name property of this OperatorControlAssignment. :type resource_name: str :param resource_compartment_id: The value to assign to the resource_compartment_id property of this OperatorControlAssignment. :type resource_compartment_id: str :param compartment_id: The value to assign to the compartment_id property of this OperatorControlAssignment. :type compartment_id: str :param resource_type: The value to assign to the resource_type property of this OperatorControlAssignment. Allowed values for this property are: "EXACC", "EXADATAINFRASTRUCTURE", "AUTONOMOUSVMCLUSTER", "CLOUDAUTONOMOUSVMCLUSTER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type resource_type: str :param time_assignment_from: The value to assign to the time_assignment_from property of this OperatorControlAssignment. :type time_assignment_from: datetime :param time_assignment_to: The value to assign to the time_assignment_to property of this OperatorControlAssignment. :type time_assignment_to: datetime :param is_enforced_always: The value to assign to the is_enforced_always property of this OperatorControlAssignment. :type is_enforced_always: bool :param lifecycle_state: The value to assign to the lifecycle_state property of this OperatorControlAssignment. Allowed values for this property are: "CREATED", "APPLIED", "APPLYFAILED", "UPDATING", "DELETING", "DELETED", "DELETIONFAILED", '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 OperatorControlAssignment. :type lifecycle_details: str :param assigner_id: The value to assign to the assigner_id property of this OperatorControlAssignment. :type assigner_id: str :param time_of_assignment: The value to assign to the time_of_assignment property of this OperatorControlAssignment. :type time_of_assignment: datetime :param comment: The value to assign to the comment property of this OperatorControlAssignment. :type comment: str :param unassigner_id: The value to assign to the unassigner_id property of this OperatorControlAssignment. :type unassigner_id: str :param time_of_deletion: The value to assign to the time_of_deletion property of this OperatorControlAssignment. :type time_of_deletion: datetime :param detachment_description: The value to assign to the detachment_description property of this OperatorControlAssignment. :type detachment_description: str :param is_log_forwarded: The value to assign to the is_log_forwarded property of this OperatorControlAssignment. :type is_log_forwarded: bool :param remote_syslog_server_address: The value to assign to the remote_syslog_server_address property of this OperatorControlAssignment. :type remote_syslog_server_address: str :param remote_syslog_server_port: The value to assign to the remote_syslog_server_port property of this OperatorControlAssignment. :type remote_syslog_server_port: int :param remote_syslog_server_ca_cert: The value to assign to the remote_syslog_server_ca_cert property of this OperatorControlAssignment. :type remote_syslog_server_ca_cert: str :param is_auto_approve_during_maintenance: The value to assign to the is_auto_approve_during_maintenance property of this OperatorControlAssignment. :type is_auto_approve_during_maintenance: bool :param error_code: The value to assign to the error_code property of this OperatorControlAssignment. :type error_code: int :param error_message: The value to assign to the error_message property of this OperatorControlAssignment. :type error_message: str :param freeform_tags: The value to assign to the freeform_tags property of this OperatorControlAssignment. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this OperatorControlAssignment. :type defined_tags: dict(str, dict(str, object)) �str�datetime�bool�intzdict(str, str)zdict(str, dict(str, object)))�id�operator_control_id�resource_id� resource_name�resource_compartment_id�compartment_id� resource_type�time_assignment_from�time_assignment_to�is_enforced_always�lifecycle_state�lifecycle_details�assigner_id�time_of_assignment�comment� unassigner_id�time_of_deletion�detachment_description�is_log_forwarded�remote_syslog_server_address�remote_syslog_server_port�remote_syslog_server_ca_cert�"is_auto_approve_during_maintenance� error_code� error_message� freeform_tags�defined_tagsr �operatorControlId� resourceId�resourceName�resourceCompartmentId� compartmentId�resourceType�timeAssignmentFrom�timeAssignmentTo�isEnforcedAlways�lifecycleState�lifecycleDetails� assignerId�timeOfAssignmentr$ �unassignerId�timeOfDeletion�detachmentDescription�isLogForwarded�remoteSyslogServerAddress�remoteSyslogServerPort�remoteSyslogServerCACert�isAutoApproveDuringMaintenance� errorCode�errorMessage�freeformTags�definedTagsN)� swagger_types� attribute_map�_id�_operator_control_id�_resource_id�_resource_name�_resource_compartment_id�_compartment_id�_resource_type�_time_assignment_from�_time_assignment_to�_is_enforced_always�_lifecycle_state�_lifecycle_details�_assigner_id�_time_of_assignment�_comment�_unassigner_id�_time_of_deletion�_detachment_description�_is_log_forwarded�_remote_syslog_server_address�_remote_syslog_server_port�_remote_syslog_server_ca_cert�#_is_auto_approve_during_maintenance�_error_code�_error_message�_freeform_tags� _defined_tags)�self�kwargs� ri ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/operator_access_control/models/operator_control_assignment.py�__init__= s� w��z"OperatorControlAssignment.__init__c C s | j S )z� **[Required]** Gets the id of this OperatorControlAssignment. The OCID of the operator control assignment. :return: The id of this OperatorControlAssignment. :rtype: str �rL �rg ri ri rj r s zOperatorControlAssignment.idc C s || _ dS )z� Sets the id of this OperatorControlAssignment. The OCID of the operator control assignment. :param id: The id of this OperatorControlAssignment. :type: str Nrl )rg r ri ri rj r s c C s | j S )z� **[Required]** Gets the operator_control_id of this OperatorControlAssignment. The OCID of the operator control. :return: The operator_control_id of this OperatorControlAssignment. :rtype: str �rM rm ri ri rj r # s z-OperatorControlAssignment.operator_control_idc C s || _ dS )z� Sets the operator_control_id of this OperatorControlAssignment. The OCID of the operator control. :param operator_control_id: The operator_control_id of this OperatorControlAssignment. :type: str Nrn )rg r ri ri rj r / s c C s | j S )z� **[Required]** Gets the resource_id of this OperatorControlAssignment. The OCID of the target resource. :return: The resource_id of this OperatorControlAssignment. :rtype: str �rN rm ri ri rj r ; s z%OperatorControlAssignment.resource_idc C s || _ dS )z� Sets the resource_id of this OperatorControlAssignment. The OCID of the target resource. :param resource_id: The resource_id of this OperatorControlAssignment. :type: str Nro )rg r ri ri rj r G s c C s | j S )z� **[Required]** Gets the resource_name of this OperatorControlAssignment. Name of the target resource. :return: The resource_name of this OperatorControlAssignment. :rtype: str �rO rm ri ri rj r S s z'OperatorControlAssignment.resource_namec C s || _ dS )z� Sets the resource_name of this OperatorControlAssignment. Name of the target resource. :param resource_name: The resource_name of this OperatorControlAssignment. :type: str Nrp )rg r ri ri rj r _ s c C s | j S )a Gets the resource_compartment_id of this OperatorControlAssignment. The OCID of the compartment that contains the target resource. :return: The resource_compartment_id of this OperatorControlAssignment. :rtype: str �rP rm ri ri rj r k s z1OperatorControlAssignment.resource_compartment_idc C s || _ dS )a Sets the resource_compartment_id of this OperatorControlAssignment. The OCID of the compartment that contains the target resource. :param resource_compartment_id: The resource_compartment_id of this OperatorControlAssignment. :type: str Nrq )rg r ri ri rj r w s c C s | j S )z� Gets the compartment_id of this OperatorControlAssignment. The OCID of the comparment that contains the operator control assignment. :return: The compartment_id of this OperatorControlAssignment. :rtype: str �rQ rm ri ri rj r � s z(OperatorControlAssignment.compartment_idc C s || _ dS )a Sets the compartment_id of this OperatorControlAssignment. The OCID of the comparment that contains the operator control assignment. :param compartment_id: The compartment_id of this OperatorControlAssignment. :type: str Nrr )rg r ri ri rj r � s c C s | j S )a� Gets the resource_type of this OperatorControlAssignment. resourceType for which the OperatorControlAssignment is applicable Allowed values for this property are: "EXACC", "EXADATAINFRASTRUCTURE", "AUTONOMOUSVMCLUSTER", "CLOUDAUTONOMOUSVMCLUSTER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The resource_type of this OperatorControlAssignment. :rtype: str )rR rm ri ri rj r � s z'OperatorControlAssignment.resource_typec C s g d�}t ||�sd}|| _dS )z� Sets the resource_type of this OperatorControlAssignment. resourceType for which the OperatorControlAssignment is applicable :param resource_type: The resource_type of this OperatorControlAssignment. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r rR )rg r �allowed_valuesri ri rj r � s c C s | j S )a� Gets the time_assignment_from of this OperatorControlAssignment. The time at which the target resource will be brought under the governance of the operator control expressed in `RFC 3339`__ timestamp format. Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :return: The time_assignment_from of this OperatorControlAssignment. :rtype: datetime �rS rm ri ri rj r � s z.OperatorControlAssignment.time_assignment_fromc C s || _ dS )a� Sets the time_assignment_from of this OperatorControlAssignment. The time at which the target resource will be brought under the governance of the operator control expressed in `RFC 3339`__ timestamp format. Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :param time_assignment_from: The time_assignment_from of this OperatorControlAssignment. :type: datetime Nru )rg r ri ri rj r � s c C s | j S )a� Gets the time_assignment_to of this OperatorControlAssignment. The time at which the target resource will leave the governance of the operator control expressed in `RFC 3339`__ timestamp format. Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :return: The time_assignment_to of this OperatorControlAssignment. :rtype: datetime �rT rm ri ri rj r � s z,OperatorControlAssignment.time_assignment_toc C s || _ dS )a� Sets the time_assignment_to of this OperatorControlAssignment. The time at which the target resource will leave the governance of the operator control expressed in `RFC 3339`__ timestamp format. Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :param time_assignment_to: The time_assignment_to of this OperatorControlAssignment. :type: datetime Nrv )rg r ri ri rj r � s c C s | j S )a Gets the is_enforced_always of this OperatorControlAssignment. If set, then the target resource is always governed by the operator control. :return: The is_enforced_always of this OperatorControlAssignment. :rtype: bool �rU rm ri ri rj r � s z,OperatorControlAssignment.is_enforced_alwaysc C s || _ dS )a Sets the is_enforced_always of this OperatorControlAssignment. If set, then the target resource is always governed by the operator control. :param is_enforced_always: The is_enforced_always of this OperatorControlAssignment. :type: bool Nrw )rg r ri ri rj r s c C s | j S )a� Gets the lifecycle_state of this OperatorControlAssignment. The current lifcycle state of the OperatorControl. Allowed values for this property are: "CREATED", "APPLIED", "APPLYFAILED", "UPDATING", "DELETING", "DELETED", "DELETIONFAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this OperatorControlAssignment. :rtype: str )rV rm ri ri rj r s z)OperatorControlAssignment.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this OperatorControlAssignment. The current lifcycle state of the OperatorControl. :param lifecycle_state: The lifecycle_state of this OperatorControlAssignment. :type: str )r r r r r r r rs N)r rV )rg r rt ri ri rj r s c C s | j S )z� Gets the lifecycle_details of this OperatorControlAssignment. More in detail about the lifeCycleState. :return: The lifecycle_details of this OperatorControlAssignment. :rtype: str �rW rm ri ri rj r! + s z+OperatorControlAssignment.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this OperatorControlAssignment. More in detail about the lifeCycleState. :param lifecycle_details: The lifecycle_details of this OperatorControlAssignment. :type: str Nrx )rg r! ri ri rj r! 7 s c C s | j S )z� Gets the assigner_id of this OperatorControlAssignment. The OCID of the user who created this operator control assignment. :return: The assigner_id of this OperatorControlAssignment. :rtype: str �rX rm ri ri rj r"