a OfhI@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZddZeddZejddZeddZejddZeddZejddZeddZejddZedd Zejd!d Zed"d#Zejd$d#Zed%d&Zejd'd&Zed(d)Zejd*d)Zed+d,Zejd-d,Zed.d/Zejd0d/Zed1d2Z e jd3d2Z ed4d5Z!e!jd6d5Z!ed7d8Z"e"jd9d8Z"d:d;Z#dd?Z%d@S)A AccessRequestz{ An access request to a customer's resource. An access request is a subsidiary resource of the Lockbox entity. IN_PROGRESSWAITING SUCCEEDED CANCELINGCANCELEDFAILED PROCESSINGWAITING_FOR_APPROVALSAPPROVED AUTO_APPROVEDCANCELLING_ACCESSEXPIREDREVOKEDDENIEDERRORcKsdddddddddddddd |_dddd d d d d dddddd |_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_dS)a Initializes a new AccessRequest 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 AccessRequest. :type id: str :param lockbox_id: The value to assign to the lockbox_id property of this AccessRequest. :type lockbox_id: str :param display_name: The value to assign to the display_name property of this AccessRequest. :type display_name: str :param description: The value to assign to the description property of this AccessRequest. :type description: str :param requestor_id: The value to assign to the requestor_id property of this AccessRequest. :type requestor_id: str :param lifecycle_state: The value to assign to the lifecycle_state property of this AccessRequest. Allowed values for this property are: "IN_PROGRESS", "WAITING", "SUCCEEDED", "CANCELING", "CANCELED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param lifecycle_state_details: The value to assign to the lifecycle_state_details property of this AccessRequest. Allowed values for this property are: "PROCESSING", "WAITING_FOR_APPROVALS", "APPROVED", "AUTO_APPROVED", "CANCELLING_ACCESS", "EXPIRED", "REVOKED", "DENIED", "ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state_details: str :param access_duration: The value to assign to the access_duration property of this AccessRequest. :type access_duration: str :param context: The value to assign to the context property of this AccessRequest. :type context: dict(str, str) :param activity_logs: The value to assign to the activity_logs property of this AccessRequest. :type activity_logs: list[oci.lockbox.models.ActivityLog] :param time_created: The value to assign to the time_created property of this AccessRequest. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this AccessRequest. :type time_updated: datetime :param time_expired: The value to assign to the time_expired property of this AccessRequest. :type time_expired: datetime strzdict(str, str)zlist[ActivityLog]datetime) id lockbox_id display_name description requestor_idlifecycle_statelifecycle_state_detailsaccess_durationcontext activity_logs time_created time_updated time_expiredr lockboxId displayNamer requestorIdlifecycleStatelifecycleStateDetailsaccessDurationr activityLogs timeCreated timeUpdated timeExpiredN) swagger_types attribute_map_id _lockbox_id _display_name _description _requestor_id_lifecycle_state_lifecycle_state_details_access_duration_context_activity_logs _time_created _time_updated _time_expired)selfkwargsr@/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/lockbox/models/access_request.py__init__MsR?zAccessRequest.__init__cCs|jS)z **[Required]** Gets the id of this AccessRequest. The unique identifier (OCID) of the access request, which can't be changed after creation. :return: The id of this AccessRequest. :rtype: str r1r>r@r@rArs zAccessRequest.idcCs ||_dS)z Sets the id of this AccessRequest. The unique identifier (OCID) of the access request, which can't be changed after creation. :param id: The id of this AccessRequest. :type: str NrC)r>rr@r@rArs cCs|jS)a# **[Required]** Gets the lockbox_id of this AccessRequest. The unique identifier (OCID) of the lockbox box that the access request is associated with, which can't be changed after creation. :return: The lockbox_id of this AccessRequest. :rtype: str r2rDr@r@rArs zAccessRequest.lockbox_idcCs ||_dS)a Sets the lockbox_id of this AccessRequest. The unique identifier (OCID) of the lockbox box that the access request is associated with, which can't be changed after creation. :param lockbox_id: The lockbox_id of this AccessRequest. :type: str NrE)r>rr@r@rArs cCs|jS)z **[Required]** Gets the display_name of this AccessRequest. The name of the access request. :return: The display_name of this AccessRequest. :rtype: str r3rDr@r@rArs zAccessRequest.display_namecCs ||_dS)z Sets the display_name of this AccessRequest. The name of the access request. :param display_name: The display_name of this AccessRequest. :type: str NrF)r>rr@r@rArs cCs|jS)z **[Required]** Gets the description of this AccessRequest. The rationale for requesting the access request and any other related details.. :return: The description of this AccessRequest. :rtype: str r4rDr@r@rArs zAccessRequest.descriptioncCs ||_dS)z Sets the description of this AccessRequest. The rationale for requesting the access request and any other related details.. :param description: The description of this AccessRequest. :type: str NrG)r>rr@r@rAr s cCs|jS)z **[Required]** Gets the requestor_id of this AccessRequest. The unique identifier of the requestor. :return: The requestor_id of this AccessRequest. :rtype: str r5rDr@r@rArs zAccessRequest.requestor_idcCs ||_dS)z Sets the requestor_id of this AccessRequest. The unique identifier of the requestor. :param requestor_id: The requestor_id of this AccessRequest. :type: str NrH)r>rr@r@rAr%s cCs|jS)a **[Required]** Gets the lifecycle_state of this AccessRequest. Possible access request lifecycle states. Allowed values for this property are: "IN_PROGRESS", "WAITING", "SUCCEEDED", "CANCELING", "CANCELED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this AccessRequest. :rtype: str )r6rDr@r@rAr1s zAccessRequest.lifecycle_statecCs gd}t||sd}||_dS)z Sets the lifecycle_state of this AccessRequest. Possible access request lifecycle states. :param lifecycle_state: The lifecycle_state of this AccessRequest. :type: str )rrr r r r UNKNOWN_ENUM_VALUEN)rr6)r>rallowed_valuesr@r@rAr@s  cCs|jS)a  **[Required]** Gets the lifecycle_state_details of this AccessRequest. Details of access request lifecycle state. Allowed values for this property are: "PROCESSING", "WAITING_FOR_APPROVALS", "APPROVED", "AUTO_APPROVED", "CANCELLING_ACCESS", "EXPIRED", "REVOKED", "DENIED", "ERROR", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state_details of this AccessRequest. :rtype: str )r7rDr@r@rArOs z%AccessRequest.lifecycle_state_detailscCs gd}t||sd}||_dS)z Sets the lifecycle_state_details of this AccessRequest. Details of access request lifecycle state. :param lifecycle_state_details: The lifecycle_state_details of this AccessRequest. :type: str ) r rrrrrrrrrIN)rr7)r>rrJr@r@rAr^s  cCs|jS)z **[Required]** Gets the access_duration of this AccessRequest. The maximum amount of time operator has access to associated resources. :return: The access_duration of this AccessRequest. :rtype: str r8rDr@r@rArms zAccessRequest.access_durationcCs ||_dS)z Sets the access_duration of this AccessRequest. The maximum amount of time operator has access to associated resources. :param access_duration: The access_duration of this AccessRequest. :type: str NrK)r>rr@r@rArys cCs|jS)z Gets the context of this AccessRequest. The context object containing the access request specific details. :return: The context of this AccessRequest. :rtype: dict(str, str) r9rDr@r@rAr s zAccessRequest.contextcCs ||_dS)z Sets the context of this AccessRequest. The context object containing the access request specific details. :param context: The context of this AccessRequest. :type: dict(str, str) NrL)r>r r@r@rAr s cCs|jS)a **[Required]** Gets the activity_logs of this AccessRequest. The actions taken by different persona on the access request, e.g. approve/deny/revoke :return: The activity_logs of this AccessRequest. :rtype: list[oci.lockbox.models.ActivityLog] r:rDr@r@rAr!s zAccessRequest.activity_logscCs ||_dS)a Sets the activity_logs of this AccessRequest. The actions taken by different persona on the access request, e.g. approve/deny/revoke :param activity_logs: The activity_logs of this AccessRequest. :type: list[oci.lockbox.models.ActivityLog] NrM)r>r!r@r@rAr!s cCs|jS)aP **[Required]** Gets the time_created of this AccessRequest. The time the access request was created. Format is defined by `RFC3339`__. Example: `2020-01-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_created of this AccessRequest. :rtype: datetime r;rDr@r@rAr"s zAccessRequest.time_createdcCs ||_dS)aL Sets the time_created of this AccessRequest. The time the access request was created. Format is defined by `RFC3339`__. Example: `2020-01-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_created: The time_created of this AccessRequest. :type: datetime NrN)r>r"r@r@rAr"s cCs|jS)aU **[Required]** Gets the time_updated of this AccessRequest. The time the access request was last updated. Format is defined by `RFC3339`__. Example: `2020-01-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_updated of this AccessRequest. :rtype: datetime r<rDr@r@rAr#s zAccessRequest.time_updatedcCs ||_dS)aQ Sets the time_updated of this AccessRequest. The time the access request was last updated. Format is defined by `RFC3339`__. Example: `2020-01-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_updated: The time_updated of this AccessRequest. :type: datetime NrO)r>r#r@r@rAr#s cCs|jS)aL **[Required]** Gets the time_expired of this AccessRequest. The time the access request expired. Format is defined by `RFC3339`__. Example: `2020-01-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_expired of this AccessRequest. :rtype: datetime r=rDr@r@rAr$s zAccessRequest.time_expiredcCs ||_dS)aH Sets the time_expired of this AccessRequest. The time the access request expired. Format is defined by `RFC3339`__. Example: `2020-01-25T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_expired: The time_expired of this AccessRequest. :type: datetime NrP)r>r$r@r@rAr$s cCst|SN)rrDr@r@rA__repr__szAccessRequest.__repr__cCs|dur dS|j|jkS)NF)__dict__r>otherr@r@rA__eq__szAccessRequest.__eq__cCs ||k SrQr@rTr@r@rA__ne__szAccessRequest.__ne__N)&__name__ __module__ __qualname____doc__LIFECYCLE_STATE_IN_PROGRESSLIFECYCLE_STATE_WAITINGLIFECYCLE_STATE_SUCCEEDEDLIFECYCLE_STATE_CANCELINGLIFECYCLE_STATE_CANCELEDLIFECYCLE_STATE_FAILED"LIFECYCLE_STATE_DETAILS_PROCESSING-LIFECYCLE_STATE_DETAILS_WAITING_FOR_APPROVALS LIFECYCLE_STATE_DETAILS_APPROVED%LIFECYCLE_STATE_DETAILS_AUTO_APPROVED)LIFECYCLE_STATE_DETAILS_CANCELLING_ACCESSLIFECYCLE_STATE_DETAILS_EXPIREDLIFECYCLE_STATE_DETAILS_REVOKEDLIFECYCLE_STATE_DETAILS_DENIEDLIFECYCLE_STATE_DETAILS_ERRORrBpropertyrsetterrrrrrrrr r!r"r#r$rRrVrWr@r@r@rAr sl                          rN)oci.utilrrroci.decoratorsrobjectrr@r@r@rAs