ruạṛ
a O��f o � @ 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 ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!d Z"d!d"� Z#e$d#d$� �Z%e%j&d%d$� �Z%e$d&d'� �Z'e'j&d(d'� �Z'e$d)d*� �Z(e(j&d+d*� �Z(e$d,d-� �Z)e)j&d.d-� �Z)e$d/d0� �Z*e*j&d1d0� �Z*e$d2d3� �Z+e+j&d4d3� �Z+e$d5d6� �Z,e,j&d7d6� �Z,e$d8d9� �Z-e-j&d:d9� �Z-e$d;d<� �Z.e.j&d=d<� �Z.e$d>d?� �Z/e/j&d@d?� �Z/e$dAdB� �Z0e0j&dCdB� �Z0e$dDdE� �Z1e1j&dFdE� �Z1e$dGdH� �Z2e2j&dIdH� �Z2e$dJdK� �Z3e3j&dLdK� �Z3e$dMdN� �Z4e4j&dOdN� �Z4e$dPdQ� �Z5e5j&dRdQ� �Z5e$dSdT� �Z6e6j&dUdT� �Z6e$dVdW� �Z7e7j&dXdW� �Z7dYdZ� Z8d[d\� Z9d]d^� Z:d_S )`�AccessRequestSummaryz$ Summary of access request. �EXACC�EXADATAINFRASTRUCTURE�AUTONOMOUSVMCLUSTER�CLOUDAUTONOMOUSVMCLUSTER�CREATED�APPROVALWAITING�PREAPPROVED�APPROVED�MOREINFO�REJECTED�DEPLOYED�DEPLOYFAILED� UNDEPLOYED�UNDEPLOYFAILED�CLOSEFAILED�REVOKEFAILED�EXPIRYFAILED�REVOKING�REVOKED� EXTENDING�EXTENDED�EXTENSIONREJECTED� COMPLETING� COMPLETED�EXPIRED�APPROVEDFORFUTURE�INREVIEW�S1�S2�S3�S4c K s� ddddddddddddddddddd�| _ dd d ddd ddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )a� Initializes a new AccessRequestSummary 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 AccessRequestSummary. :type id: str :param request_id: The value to assign to the request_id property of this AccessRequestSummary. :type request_id: str :param access_reason_summary: The value to assign to the access_reason_summary property of this AccessRequestSummary. :type access_reason_summary: str :param compartment_id: The value to assign to the compartment_id property of this AccessRequestSummary. :type compartment_id: str :param resource_id: The value to assign to the resource_id property of this AccessRequestSummary. :type resource_id: str :param resource_name: The value to assign to the resource_name property of this AccessRequestSummary. :type resource_name: str :param resource_type: The value to assign to the resource_type property of this AccessRequestSummary. 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 lifecycle_state: The value to assign to the lifecycle_state property of this AccessRequestSummary. Allowed values for this property are: "CREATED", "APPROVALWAITING", "PREAPPROVED", "APPROVED", "MOREINFO", "REJECTED", "DEPLOYED", "DEPLOYFAILED", "UNDEPLOYED", "UNDEPLOYFAILED", "CLOSEFAILED", "REVOKEFAILED", "EXPIRYFAILED", "REVOKING", "REVOKED", "EXTENDING", "EXTENDED", "EXTENSIONREJECTED", "COMPLETING", "COMPLETED", "EXPIRED", "APPROVEDFORFUTURE", "INREVIEW", '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 AccessRequestSummary. :type lifecycle_details: str :param time_of_creation: The value to assign to the time_of_creation property of this AccessRequestSummary. :type time_of_creation: datetime :param time_of_modification: The value to assign to the time_of_modification property of this AccessRequestSummary. :type time_of_modification: datetime :param time_of_user_creation: The value to assign to the time_of_user_creation property of this AccessRequestSummary. :type time_of_user_creation: datetime :param duration: The value to assign to the duration property of this AccessRequestSummary. :type duration: int :param extend_duration: The value to assign to the extend_duration property of this AccessRequestSummary. :type extend_duration: int :param severity: The value to assign to the severity property of this AccessRequestSummary. Allowed values for this property are: "S1", "S2", "S3", "S4", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type severity: str :param is_auto_approved: The value to assign to the is_auto_approved property of this AccessRequestSummary. :type is_auto_approved: bool :param freeform_tags: The value to assign to the freeform_tags property of this AccessRequestSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this AccessRequestSummary. :type defined_tags: dict(str, dict(str, object)) �str�datetime�int�boolzdict(str, str)zdict(str, dict(str, object)))�id� request_id�access_reason_summary�compartment_id�resource_id� resource_name� resource_type�lifecycle_state�lifecycle_details�time_of_creation�time_of_modification�time_of_user_creation�duration�extend_duration�severity�is_auto_approved� freeform_tags�defined_tagsr* � requestId�accessReasonSummary� compartmentId� resourceId�resourceName�resourceType�lifecycleState�lifecycleDetails�timeOfCreation�timeOfModification�timeOfUserCreationr6 �extendDurationr8 �isAutoApproved�freeformTags�definedTagsN)� swagger_types� attribute_map�_id�_request_id�_access_reason_summary�_compartment_id�_resource_id�_resource_name�_resource_type�_lifecycle_state�_lifecycle_details�_time_of_creation�_time_of_modification�_time_of_user_creation� _duration�_extend_duration� _severity�_is_auto_approved�_freeform_tags� _defined_tags)�self�kwargs� ra ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/operator_access_control/models/access_request_summary.py�__init__� sp U��zAccessRequestSummary.__init__c C s | j S )z� **[Required]** Gets the id of this AccessRequestSummary. The OCID of the access request. :return: The id of this AccessRequestSummary. :rtype: str �rM �r_ ra ra rb r* s zAccessRequestSummary.idc C s || _ dS )z� Sets the id of this AccessRequestSummary. The OCID of the access request. :param id: The id of this AccessRequestSummary. :type: str Nrd )r_ r* ra ra rb r* ) s c C s | j S )z� Gets the request_id of this AccessRequestSummary. This is a system-generated identifier. :return: The request_id of this AccessRequestSummary. :rtype: str �rN re ra ra rb r+ 5 s zAccessRequestSummary.request_idc C s || _ dS )z� Sets the request_id of this AccessRequestSummary. This is a system-generated identifier. :param request_id: The request_id of this AccessRequestSummary. :type: str Nrf )r_ r+ ra ra rb r+ A s c C s | j S )z� **[Required]** Gets the access_reason_summary of this AccessRequestSummary. Comment associated with the access request. :return: The access_reason_summary of this AccessRequestSummary. :rtype: str �rO re ra ra rb r, M s z*AccessRequestSummary.access_reason_summaryc C s || _ dS )z� Sets the access_reason_summary of this AccessRequestSummary. Comment associated with the access request. :param access_reason_summary: The access_reason_summary of this AccessRequestSummary. :type: str Nrg )r_ r, ra ra rb r, Y s c C s | j S )z� Gets the compartment_id of this AccessRequestSummary. The OCID of the compartment that contains the access request. :return: The compartment_id of this AccessRequestSummary. :rtype: str �rP re ra ra rb r- e s z#AccessRequestSummary.compartment_idc C s || _ dS )z� Sets the compartment_id of this AccessRequestSummary. The OCID of the compartment that contains the access request. :param compartment_id: The compartment_id of this AccessRequestSummary. :type: str Nrh )r_ r- ra ra rb r- q s c C s | j S )aQ **[Required]** Gets the resource_id of this AccessRequestSummary. The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource. :return: The resource_id of this AccessRequestSummary. :rtype: str �rQ re ra ra rb r. } s z AccessRequestSummary.resource_idc C s || _ dS )aL Sets the resource_id of this AccessRequestSummary. The OCID of the target resource associated with the access request. The operator raises an access request to get approval to access the target resource. :param resource_id: The resource_id of this AccessRequestSummary. :type: str Nri )r_ r. ra ra rb r. � s c C s | j S )z� Gets the resource_name of this AccessRequestSummary. The name of the target resource. :return: The resource_name of this AccessRequestSummary. :rtype: str �rR re ra ra rb r/ � s z"AccessRequestSummary.resource_namec C s || _ dS )z� Sets the resource_name of this AccessRequestSummary. The name of the target resource. :param resource_name: The resource_name of this AccessRequestSummary. :type: str Nrj )r_ r/ ra ra rb r/ � s c C s | j S )a� Gets the resource_type of this AccessRequestSummary. resourceType for which the AccessRequest 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 AccessRequestSummary. :rtype: str )rS re ra ra rb r0 � s z"AccessRequestSummary.resource_typec C s g d�}t ||�sd}|| _dS )z� Sets the resource_type of this AccessRequestSummary. resourceType for which the AccessRequest is applicable :param resource_type: The resource_type of this AccessRequestSummary. :type: str )r r r r �UNKNOWN_ENUM_VALUEN)r rS )r_ r0 �allowed_valuesra ra rb r0 � s c C s | j S )a� Gets the lifecycle_state of this AccessRequestSummary. The current state of the AccessRequest. Allowed values for this property are: "CREATED", "APPROVALWAITING", "PREAPPROVED", "APPROVED", "MOREINFO", "REJECTED", "DEPLOYED", "DEPLOYFAILED", "UNDEPLOYED", "UNDEPLOYFAILED", "CLOSEFAILED", "REVOKEFAILED", "EXPIRYFAILED", "REVOKING", "REVOKED", "EXTENDING", "EXTENDED", "EXTENSIONREJECTED", "COMPLETING", "COMPLETED", "EXPIRED", "APPROVEDFORFUTURE", "INREVIEW", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this AccessRequestSummary. :rtype: str )rT re ra ra rb r1 � s z$AccessRequestSummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this AccessRequestSummary. The current state of the AccessRequest. :param lifecycle_state: The lifecycle_state of this AccessRequestSummary. :type: str )r r r r r r r r r r r r r r r r r r r r r r r! rk N)r rT )r_ r1 rl ra ra rb r1 � s c C s | j S )z� Gets the lifecycle_details of this AccessRequestSummary. More in detail about the lifeCycleState. :return: The lifecycle_details of this AccessRequestSummary. :rtype: str �rU re ra ra rb r2 � s z&AccessRequestSummary.lifecycle_detailsc C s || _ dS )z� Sets the lifecycle_details of this AccessRequestSummary. More in detail about the lifeCycleState. :param lifecycle_details: The lifecycle_details of this AccessRequestSummary. :type: str Nrm )r_ r2 ra ra rb r2 � s c C s | j S )ac Gets the time_of_creation of this AccessRequestSummary. Time when the access request was created by the operator user in `RFC 3339`__ timestamp format.Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :return: The time_of_creation of this AccessRequestSummary. :rtype: datetime �rV re ra ra rb r3 s z%AccessRequestSummary.time_of_creationc C s || _ dS )ar Sets the time_of_creation of this AccessRequestSummary. Time when the access request was created by the operator user in `RFC 3339`__ timestamp format.Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :param time_of_creation: The time_of_creation of this AccessRequestSummary. :type: datetime Nrn )r_ r3 ra ra rb r3 s c C s | j S )a\ Gets the time_of_modification of this AccessRequestSummary. Time when the access request was last modified in `RFC 3339`__ timestamp format.Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :return: The time_of_modification of this AccessRequestSummary. :rtype: datetime �rW re ra ra rb r4 s z)AccessRequestSummary.time_of_modificationc C s || _ dS )ao Sets the time_of_modification of this AccessRequestSummary. Time when the access request was last modified in `RFC 3339`__ timestamp format.Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :param time_of_modification: The time_of_modification of this AccessRequestSummary. :type: datetime Nro )r_ r4 ra ra rb r4 - s c C s | j S )ah Gets the time_of_user_creation of this AccessRequestSummary. The time when access request is scheduled to be approved in `RFC 3339`__ timestamp format.Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :return: The time_of_user_creation of this AccessRequestSummary. :rtype: datetime �rX re ra ra rb r5 ; s z*AccessRequestSummary.time_of_user_creationc C s || _ dS )a| Sets the time_of_user_creation of this AccessRequestSummary. The time when access request is scheduled to be approved in `RFC 3339`__ timestamp format.Example: '2020-05-22T21:10:29.600Z' __ https://tools.ietf.org/html/rfc3339 :param time_of_user_creation: The time_of_user_creation of this AccessRequestSummary. :type: datetime Nrp )r_ r5 ra ra rb r5 I s c C s | j S )z� Gets the duration of this AccessRequestSummary. Duration in hours for which access is sought on the target resource. :return: The duration of this AccessRequestSummary. :rtype: int �rY re ra ra rb r6 W s zAccessRequestSummary.durationc C s || _ dS )z� Sets the duration of this AccessRequestSummary. Duration in hours for which access is sought on the target resource. :param duration: The duration of this AccessRequestSummary. :type: int Nrq )r_ r6 ra ra rb r6 c s c C s | j S )z� Gets the extend_duration of this AccessRequestSummary. Duration in hours for which extension access is sought on the target resource. :return: The extend_duration of this AccessRequestSummary. :rtype: int �rZ re ra ra rb r7 o s z$AccessRequestSummary.extend_durationc C s || _ dS )a Sets the extend_duration of this AccessRequestSummary. Duration in hours for which extension access is sought on the target resource. :param extend_duration: The extend_duration of this AccessRequestSummary. :type: int Nrr )r_ r7 ra ra rb r7 { s c C s | j S )a� Gets the severity of this AccessRequestSummary. Priority assigned to the access request by the operator Allowed values for this property are: "S1", "S2", "S3", "S4", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The severity of this AccessRequestSummary. :rtype: str )r[ re ra ra rb r8 � s zAccessRequestSummary.severityc C s g d�}t ||�sd}|| _dS )z� Sets the severity of this AccessRequestSummary. Priority assigned to the access request by the operator :param severity: The severity of this AccessRequestSummary. :type: str )r"