ruạṛ
a O��f#L � @ 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 d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejdd� �Ze dd� �Zejd d� �Ze d!d"� �Zejd#d"� �Ze d$d%� �Zejd&d%� �Ze d'd(� �Zejd)d(� �Ze d*d+� �Zejd,d+� �Ze d-d.� �Zejd/d.� �Ze d0d1� �Zejd2d1� �Ze d3d4� �Zejd5d4� �Ze d6d7� �Zejd8d7� �Ze d9d:� �Zejd;d:� �Zd<d=� Zd>d?� Z d@dA� Z!dBS )C�Lockboxz! Description of Lockbox. �FAAAS�CANARY�ACTIVE�CREATING�UPDATING�DELETING�DELETED�FAILEDc K s� ddddddddddddddddd�| _ ddd d ddd dddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a Initializes a new Lockbox 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 Lockbox. :type id: str :param display_name: The value to assign to the display_name property of this Lockbox. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this Lockbox. :type compartment_id: str :param partner_compartment_id: The value to assign to the partner_compartment_id property of this Lockbox. :type partner_compartment_id: str :param resource_id: The value to assign to the resource_id property of this Lockbox. :type resource_id: str :param lockbox_partner: The value to assign to the lockbox_partner property of this Lockbox. Allowed values for this property are: "FAAAS", "CANARY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lockbox_partner: str :param time_created: The value to assign to the time_created property of this Lockbox. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Lockbox. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this Lockbox. Allowed values for this property are: "ACTIVE", "CREATING", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param access_context_attributes: The value to assign to the access_context_attributes property of this Lockbox. :type access_context_attributes: oci.lockbox.models.AccessContextAttributeCollection :param approval_template_id: The value to assign to the approval_template_id property of this Lockbox. :type approval_template_id: str :param max_access_duration: The value to assign to the max_access_duration property of this Lockbox. :type max_access_duration: str :param lifecycle_details: The value to assign to the lifecycle_details property of this Lockbox. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this Lockbox. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Lockbox. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Lockbox. :type system_tags: dict(str, dict(str, object)) �str�datetime� AccessContextAttributeCollectionzdict(str, str)zdict(str, dict(str, object)))�id�display_name�compartment_id�partner_compartment_id�resource_id�lockbox_partner�time_created�time_updated�lifecycle_state�access_context_attributes�approval_template_id�max_access_duration�lifecycle_details� freeform_tags�defined_tags�system_tagsr �displayName� compartmentId�partnerCompartmentId� resourceId�lockboxPartner�timeCreated�timeUpdated�lifecycleState�accessContextAttributes�approvalTemplateId�maxAccessDuration�lifecycleDetails�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id� _display_name�_compartment_id�_partner_compartment_id�_resource_id�_lockbox_partner� _time_created� _time_updated�_lifecycle_state�_access_context_attributes�_approval_template_id�_max_access_duration�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� rE �~/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/lockbox/models/lockbox.py�__init__0 sd K��zLockbox.__init__c C s | j S )z� **[Required]** Gets the id of this Lockbox. Unique identifier that is immutable on creation :return: The id of this Lockbox. :rtype: str �r3 �rC rE rE rF r � s z Lockbox.idc C s || _ dS )z� Sets the id of this Lockbox. Unique identifier that is immutable on creation :param id: The id of this Lockbox. :type: str NrH )rC r rE rE rF r � s c C s | j S )z� **[Required]** Gets the display_name of this Lockbox. Lockbox Identifier, can be renamed :return: The display_name of this Lockbox. :rtype: str �r4 rI rE rE rF r � s zLockbox.display_namec C s || _ dS )z� Sets the display_name of this Lockbox. Lockbox Identifier, can be renamed :param display_name: The display_name of this Lockbox. :type: str NrJ )rC r rE rE rF r � s c C s | j S )z� **[Required]** Gets the compartment_id of this Lockbox. Compartment Identifier :return: The compartment_id of this Lockbox. :rtype: str �r5 rI rE rE rF r � s zLockbox.compartment_idc C s || _ dS )z� Sets the compartment_id of this Lockbox. Compartment Identifier :param compartment_id: The compartment_id of this Lockbox. :type: str NrK )rC r rE rE rF r � s c C s | j S )z� **[Required]** Gets the partner_compartment_id of this Lockbox. Compartment Identifier :return: The partner_compartment_id of this Lockbox. :rtype: str �r6 rI rE rE rF r � s zLockbox.partner_compartment_idc C s || _ dS )z� Sets the partner_compartment_id of this Lockbox. Compartment Identifier :param partner_compartment_id: The partner_compartment_id of this Lockbox. :type: str NrL )rC r rE rE rF r s c C s | j S )z� **[Required]** Gets the resource_id of this Lockbox. The unique identifier (OCID) of associated resource that the lockbox is created for. :return: The resource_id of this Lockbox. :rtype: str �r7 rI rE rE rF r s zLockbox.resource_idc C s || _ dS )z� Sets the resource_id of this Lockbox. The unique identifier (OCID) of associated resource that the lockbox is created for. :param resource_id: The resource_id of this Lockbox. :type: str NrM )rC r rE rE rF r s c C s | j S )a� **[Required]** Gets the lockbox_partner of this Lockbox. The partner using this lockbox to lock a resource. Allowed values for this property are: "FAAAS", "CANARY", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lockbox_partner of this Lockbox. :rtype: str )r8 rI rE rE rF r ) s zLockbox.lockbox_partnerc C s ddg}t ||�sd}|| _dS )z� Sets the lockbox_partner of this Lockbox. The partner using this lockbox to lock a resource. :param lockbox_partner: The lockbox_partner of this Lockbox. :type: str r r �UNKNOWN_ENUM_VALUEN)r r8 )rC r �allowed_valuesrE rE rF r 8 s c C s | j S )z� **[Required]** Gets the time_created of this Lockbox. The time the the Lockbox was created. An RFC3339 formatted datetime string :return: The time_created of this Lockbox. :rtype: datetime �r9 rI rE rE rF r G s zLockbox.time_createdc C s || _ dS )z� Sets the time_created of this Lockbox. The time the the Lockbox was created. An RFC3339 formatted datetime string :param time_created: The time_created of this Lockbox. :type: datetime NrP )rC r rE rE rF r S s c C s | j S )z� Gets the time_updated of this Lockbox. The time the Lockbox was updated. An RFC3339 formatted datetime string :return: The time_updated of this Lockbox. :rtype: datetime �r: rI rE rE rF r _ s zLockbox.time_updatedc C s || _ dS )z� Sets the time_updated of this Lockbox. The time the Lockbox was updated. An RFC3339 formatted datetime string :param time_updated: The time_updated of this Lockbox. :type: datetime NrQ )rC r rE rE rF r k s c C s | j S )a� **[Required]** Gets the lifecycle_state of this Lockbox. The current state of the Lockbox. Allowed values for this property are: "ACTIVE", "CREATING", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The lifecycle_state of this Lockbox. :rtype: str )r; rI rE rE rF r w s zLockbox.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this Lockbox. The current state of the Lockbox. :param lifecycle_state: The lifecycle_state of this Lockbox. :type: str )r r r r r r rN N)r r; )rC r rO rE rE rF r � s c C s | j S )z� Gets the access_context_attributes of this Lockbox. :return: The access_context_attributes of this Lockbox. :rtype: oci.lockbox.models.AccessContextAttributeCollection �r<