ruạṛ
a ���fSm � @ 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 @ sx e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdZdd� 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� �Z e jd1d0� �Z ed2d3� �Z!e!jd4d3� �Z!ed5d6� �Z"e"jd7d6� �Z"ed8d9� �Z#e#jd:d9� �Z#ed;d<� �Z$e$jd=d<� �Z$ed>d?� �Z%e%jd@d?� �Z%edAdB� �Z&e&jdCdB� �Z&edDdE� �Z'e'jdFdE� �Z'edGdH� �Z(e(jdIdH� �Z(edJdK� �Z)e)jdLdK� �Z)edMdN� �Z*e*jdOdN� �Z*dPdQ� Z+dRdS� Z,dTdU� Z-dVS )W�OpaInstancez% Description of OpaInstance. �UCM�GOV�SAAS�DEVELOPMENT� PRODUCTION�EXECUTION_PACK�USERS�EMPLOYEE� NAMED_USER�CREATING�UPDATING�ACTIVE�INACTIVE�DELETING�DELETED�FAILEDc K s� ddddddddddddddddddddd�| _ dd d ddd ddddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _d| _d| _dS )a| Initializes a new OpaInstance 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 OpaInstance. :type id: str :param display_name: The value to assign to the display_name property of this OpaInstance. :type display_name: str :param description: The value to assign to the description property of this OpaInstance. :type description: str :param compartment_id: The value to assign to the compartment_id property of this OpaInstance. :type compartment_id: str :param instance_url: The value to assign to the instance_url property of this OpaInstance. :type instance_url: str :param consumption_model: The value to assign to the consumption_model property of this OpaInstance. Allowed values for this property are: "UCM", "GOV", "SAAS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type consumption_model: str :param shape_name: The value to assign to the shape_name property of this OpaInstance. Allowed values for this property are: "DEVELOPMENT", "PRODUCTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type shape_name: str :param metering_type: The value to assign to the metering_type property of this OpaInstance. Allowed values for this property are: "EXECUTION_PACK", "USERS", "EMPLOYEE", "NAMED_USER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type metering_type: str :param time_created: The value to assign to the time_created property of this OpaInstance. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this OpaInstance. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this OpaInstance. Allowed values for this property are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "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 identity_app_guid: The value to assign to the identity_app_guid property of this OpaInstance. :type identity_app_guid: str :param identity_app_display_name: The value to assign to the identity_app_display_name property of this OpaInstance. :type identity_app_display_name: str :param identity_domain_url: The value to assign to the identity_domain_url property of this OpaInstance. :type identity_domain_url: str :param identity_app_opc_service_instance_guid: The value to assign to the identity_app_opc_service_instance_guid property of this OpaInstance. :type identity_app_opc_service_instance_guid: str :param is_breakglass_enabled: The value to assign to the is_breakglass_enabled property of this OpaInstance. :type is_breakglass_enabled: bool :param freeform_tags: The value to assign to the freeform_tags property of this OpaInstance. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this OpaInstance. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this OpaInstance. :type system_tags: dict(str, dict(str, object)) :param attachments: The value to assign to the attachments property of this OpaInstance. :type attachments: list[oci.opa.models.AttachmentDetails] �strZdatetime�boolzdict(str, str)zdict(str, dict(str, object))zlist[AttachmentDetails])�id�display_name�description�compartment_id�instance_url�consumption_model� shape_name� metering_type�time_created�time_updated�lifecycle_state�identity_app_guid�identity_app_display_name�identity_domain_url�&identity_app_opc_service_instance_guid�is_breakglass_enabled� freeform_tags�defined_tags�system_tags�attachmentsr ZdisplayNamer Z compartmentIdZinstanceUrlZconsumptionModelZ shapeNameZmeteringTypeZtimeCreatedZtimeUpdatedZlifecycleStateZidentityAppGuidZidentityAppDisplayNameZidentityDomainUrlZ!identityAppOpcServiceInstanceGuidZisBreakglassEnabledZfreeformTagsZdefinedTagsZ systemTagsr, N)Z swagger_typesZ attribute_map�_id� _display_name�_description�_compartment_id� _instance_url�_consumption_model�_shape_name�_metering_type� _time_created� _time_updated�_lifecycle_state�_identity_app_guid�_identity_app_display_name�_identity_domain_url�'_identity_app_opc_service_instance_guid�_is_breakglass_enabled�_freeform_tags� _defined_tags�_system_tags�_attachments)�self�kwargs� rC �?/usr/lib/python3.9/site-packages/oci/opa/models/opa_instance.py�__init__R s| _��zOpaInstance.__init__c C s | j S )z� **[Required]** Gets the id of this OpaInstance. Unique identifier that is immutable on creation :return: The id of this OpaInstance. :rtype: str �r- �rA rC rC rD r � s zOpaInstance.idc C s || _ dS )z� Sets the id of this OpaInstance. Unique identifier that is immutable on creation :param id: The id of this OpaInstance. :type: str NrF )rA r rC rC rD r � s c C s | j S )z� **[Required]** Gets the display_name of this OpaInstance. OpaInstance Identifier, can be renamed :return: The display_name of this OpaInstance. :rtype: str �r. rG rC rC rD r s zOpaInstance.display_namec C s || _ dS )z� Sets the display_name of this OpaInstance. OpaInstance Identifier, can be renamed :param display_name: The display_name of this OpaInstance. :type: str NrH )rA r rC rC rD r s c C s | j S )z� Gets the description of this OpaInstance. Description of the Process Automation instance. :return: The description of this OpaInstance. :rtype: str �r/ rG rC rC rD r # s zOpaInstance.descriptionc C s || _ dS )z� Sets the description of this OpaInstance. Description of the Process Automation instance. :param description: The description of this OpaInstance. :type: str NrI )rA r rC rC rD r / s c C s | j S )z� **[Required]** Gets the compartment_id of this OpaInstance. Compartment Identifier :return: The compartment_id of this OpaInstance. :rtype: str �r0 rG rC rC rD r ; s zOpaInstance.compartment_idc C s || _ dS )z� Sets the compartment_id of this OpaInstance. Compartment Identifier :param compartment_id: The compartment_id of this OpaInstance. :type: str NrJ )rA r rC rC rD r G s c C s | j S )z� Gets the instance_url of this OpaInstance. OPA Instance URL :return: The instance_url of this OpaInstance. :rtype: str �r1 rG rC rC rD r S s zOpaInstance.instance_urlc C s || _ dS )z� Sets the instance_url of this OpaInstance. OPA Instance URL :param instance_url: The instance_url of this OpaInstance. :type: str NrK )rA r rC rC rD r _ s c C s | j S )a~ Gets the consumption_model of this OpaInstance. The entitlement used for billing purposes Allowed values for this property are: "UCM", "GOV", "SAAS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The consumption_model of this OpaInstance. :rtype: str )r2 rG rC rC rD r k s zOpaInstance.consumption_modelc C s g d�}t ||�sd}|| _dS )z� Sets the consumption_model of this OpaInstance. The entitlement used for billing purposes :param consumption_model: The consumption_model of this OpaInstance. :type: str )r r r �UNKNOWN_ENUM_VALUEN)r r2 )rA r �allowed_valuesrC rC rD r z s c C s | j S )as **[Required]** Gets the shape_name of this OpaInstance. Shape of the instance. Allowed values for this property are: "DEVELOPMENT", "PRODUCTION", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The shape_name of this OpaInstance. :rtype: str )r3 rG rC rC rD r � s zOpaInstance.shape_namec C s ddg}t ||�sd}|| _dS )z� Sets the shape_name of this OpaInstance. Shape of the instance. :param shape_name: The shape_name of this OpaInstance. :type: str r r rL N)r r3 )rA r rM rC rC rD r � s c C s | j S )a� Gets the metering_type of this OpaInstance. MeteringType Identifier Allowed values for this property are: "EXECUTION_PACK", "USERS", "EMPLOYEE", "NAMED_USER", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The metering_type of this OpaInstance. :rtype: str )r4 rG rC rC rD r � s zOpaInstance.metering_typec C s g d�}t ||�sd}|| _dS )z� Sets the metering_type of this OpaInstance. MeteringType Identifier :param metering_type: The metering_type of this OpaInstance. :type: str )r r r r rL N)r r4 )rA r rM rC rC rD r � s c C s | j S )z� **[Required]** Gets the time_created of this OpaInstance. The time when OpaInstance was created. An RFC3339 formatted datetime string :return: The time_created of this OpaInstance. :rtype: datetime �r5 rG rC rC rD r! � s zOpaInstance.time_createdc C s || _ dS )z� Sets the time_created of this OpaInstance. The time when OpaInstance was created. An RFC3339 formatted datetime string :param time_created: The time_created of this OpaInstance. :type: datetime NrN )rA r! rC rC rD r! � s c C s | j S )z� Gets the time_updated of this OpaInstance. The time the OpaInstance was updated. An RFC3339 formatted datetime string :return: The time_updated of this OpaInstance. :rtype: datetime �r6 rG rC rC rD r"