HEX
Server: Apache
System: Linux sh00085.hostgator.com 5.14.0-687.29.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 23 16:18:48 EDT 2026 x86_64
User: yqegzjte (1064)
PHP: 8.5.8
Disabled: NONE
Upload Files
File: //lib/python3.9/site-packages/oci/opa/models/__pycache__/opa_instance.cpython-39.pyc
a

���fSm�@s8ddlmZmZmZddlmZeGdd�de��ZdS)�)�formatted_flat_dict�
NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc@sxeZdZdZdZdZdZdZdZdZ	dZ
d	Zd
ZdZ
dZd
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�FAILEDcKs�ddddddddddddddddddddd�|_dd	d
ddd
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�attachmentsrZdisplayNamerZ
compartmentIdZinstanceUrlZconsumptionModelZ	shapeNameZmeteringTypeZtimeCreatedZtimeUpdatedZlifecycleStateZidentityAppGuidZidentityAppDisplayNameZidentityDomainUrlZ!identityAppOpcServiceInstanceGuidZisBreakglassEnabledZfreeformTagsZdefinedTagsZ
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__Rs|_��zOpaInstance.__init__cCs|jS)z�
        **[Required]** Gets the id of this OpaInstance.
        Unique identifier that is immutable on creation


        :return: The id of this OpaInstance.
        :rtype: str
        �r-�rArCrCrDr�s
zOpaInstance.idcCs
||_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)rArrCrCrDr�s
cCs|jS)z�
        **[Required]** Gets the display_name of this OpaInstance.
        OpaInstance Identifier, can be renamed


        :return: The display_name of this OpaInstance.
        :rtype: str
        �r.rGrCrCrDrs
zOpaInstance.display_namecCs
||_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)rArrCrCrDrs
cCs|jS)z�
        Gets the description of this OpaInstance.
        Description of the Process Automation instance.


        :return: The description of this OpaInstance.
        :rtype: str
        �r/rGrCrCrDr#s
zOpaInstance.descriptioncCs
||_dS)z�
        Sets the description of this OpaInstance.
        Description of the Process Automation instance.


        :param description: The description of this OpaInstance.
        :type: str
        NrI)rArrCrCrDr/s
cCs|jS)z�
        **[Required]** Gets the compartment_id of this OpaInstance.
        Compartment Identifier


        :return: The compartment_id of this OpaInstance.
        :rtype: str
        �r0rGrCrCrDr;s
zOpaInstance.compartment_idcCs
||_dS)z�
        Sets the compartment_id of this OpaInstance.
        Compartment Identifier


        :param compartment_id: The compartment_id of this OpaInstance.
        :type: str
        NrJ)rArrCrCrDrGs
cCs|jS)z�
        Gets the instance_url of this OpaInstance.
        OPA Instance URL


        :return: The instance_url of this OpaInstance.
        :rtype: str
        �r1rGrCrCrDrSs
zOpaInstance.instance_urlcCs
||_dS)z�
        Sets the instance_url of this OpaInstance.
        OPA Instance URL


        :param instance_url: The instance_url of this OpaInstance.
        :type: str
        NrK)rArrCrCrDr_s
cCs|jS)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
        )r2rGrCrCrDrks
zOpaInstance.consumption_modelcCs gd�}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
        )rrr	�UNKNOWN_ENUM_VALUEN)rr2)rAr�allowed_valuesrCrCrDrzs

cCs|jS)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
        )r3rGrCrCrDr�s
zOpaInstance.shape_namecCs 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
rrLN)rr3)rArrMrCrCrDr�s

cCs|jS)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
        )r4rGrCrCrDr �s
zOpaInstance.metering_typecCs gd�}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
rrrLN)rr4)rAr rMrCrCrDr �s

cCs|jS)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
        �r5rGrCrCrDr!�s
zOpaInstance.time_createdcCs
||_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)rAr!rCrCrDr!�s
cCs|jS)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
        �r6rGrCrCrDr"�s
zOpaInstance.time_updatedcCs
||_dS)z�
        Sets the time_updated of this OpaInstance.
        The time the OpaInstance was updated. An RFC3339 formatted datetime string


        :param time_updated: The time_updated of this OpaInstance.
        :type: datetime
        NrO)rAr"rCrCrDr"�s
cCs|jS)a�
        **[Required]** Gets the lifecycle_state of this OpaInstance.
        The current state of the 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'.


        :return: The lifecycle_state of this OpaInstance.
        :rtype: str
        )r7rGrCrCrDr#�s
zOpaInstance.lifecycle_statecCs gd�}t||�sd}||_dS)z�
        Sets the lifecycle_state of this OpaInstance.
        The current state of the OpaInstance.


        :param lifecycle_state: The lifecycle_state of this OpaInstance.
        :type: str
        )rrrrrrrrLN)rr7)rAr#rMrCrCrDr#s

cCs|jS)a�
        Gets the identity_app_guid of this OpaInstance.
        This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.


        :return: The identity_app_guid of this OpaInstance.
        :rtype: str
        �r8rGrCrCrDr$s
zOpaInstance.identity_app_guidcCs
||_dS)a�
        Sets the identity_app_guid of this OpaInstance.
        This property specifies the GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user role mappings to grant access to this OPA instance for users within the identity domain.


        :param identity_app_guid: The identity_app_guid of this OpaInstance.
        :type: str
        NrP)rAr$rCrCrDr$s
cCs|jS)a�
        Gets the identity_app_display_name of this OpaInstance.
        This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.


        :return: The identity_app_display_name of this OpaInstance.
        :rtype: str
        �r9rGrCrCrDr%+s
z%OpaInstance.identity_app_display_namecCs
||_dS)a�
        Sets the identity_app_display_name of this OpaInstance.
        This property specifies the name of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.


        :param identity_app_display_name: The identity_app_display_name of this OpaInstance.
        :type: str
        NrQ)rAr%rCrCrDr%7s
cCs|jS)a�
        Gets the identity_domain_url of this OpaInstance.
        This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.


        :return: The identity_domain_url of this OpaInstance.
        :rtype: str
        �r:rGrCrCrDr&Cs
zOpaInstance.identity_domain_urlcCs
||_dS)a�
        Sets the identity_domain_url of this OpaInstance.
        This property specifies the domain url of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.


        :param identity_domain_url: The identity_domain_url of this OpaInstance.
        :type: str
        NrR)rAr&rCrCrDr&Os
cCs|jS)a�
        Gets the identity_app_opc_service_instance_guid of this OpaInstance.
        This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.


        :return: The identity_app_opc_service_instance_guid of this OpaInstance.
        :rtype: str
        �r;rGrCrCrDr'[s
z2OpaInstance.identity_app_opc_service_instance_guidcCs
||_dS)a
        Sets the identity_app_opc_service_instance_guid of this OpaInstance.
        This property specifies the OPC Service Instance GUID of the Identity Application instance OPA has created inside the user-specified identity domain. This identity application instance may be used to host user roll mappings to grant access to this OPA instance for users within the identity domain.


        :param identity_app_opc_service_instance_guid: The identity_app_opc_service_instance_guid of this OpaInstance.
        :type: str
        NrS)rAr'rCrCrDr'gs
cCs|jS)z�
        Gets the is_breakglass_enabled of this OpaInstance.
        indicates if breakGlass is enabled for the opa instance.


        :return: The is_breakglass_enabled of this OpaInstance.
        :rtype: bool
        �r<rGrCrCrDr(ss
z!OpaInstance.is_breakglass_enabledcCs
||_dS)z�
        Sets the is_breakglass_enabled of this OpaInstance.
        indicates if breakGlass is enabled for the opa instance.


        :param is_breakglass_enabled: The is_breakglass_enabled of this OpaInstance.
        :type: bool
        NrT)rAr(rCrCrDr(s
cCs|jS)a=
        Gets the freeform_tags of this OpaInstance.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`


        :return: The freeform_tags of this OpaInstance.
        :rtype: dict(str, str)
        �r=rGrCrCrDr)�szOpaInstance.freeform_tagscCs
||_dS)aI
        Sets the freeform_tags of this OpaInstance.
        Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
        Example: `{"bar-key": "value"}`


        :param freeform_tags: The freeform_tags of this OpaInstance.
        :type: dict(str, str)
        NrU)rAr)rCrCrDr)�scCs|jS)a7
        Gets the defined_tags of this OpaInstance.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :return: The defined_tags of this OpaInstance.
        :rtype: dict(str, dict(str, object))
        �r>rGrCrCrDr*�szOpaInstance.defined_tagscCs
||_dS)aB
        Sets the defined_tags of this OpaInstance.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        Example: `{"foo-namespace": {"bar-key": "value"}}`


        :param defined_tags: The defined_tags of this OpaInstance.
        :type: dict(str, dict(str, object))
        NrV)rAr*rCrCrDr*�scCs|jS)a4
        Gets the system_tags of this OpaInstance.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`


        :return: The system_tags of this OpaInstance.
        :rtype: dict(str, dict(str, object))
        �r?rGrCrCrDr+�szOpaInstance.system_tagscCs
||_dS)a>
        Sets the system_tags of this OpaInstance.
        Usage of system tag keys. These predefined keys are scoped to namespaces.
        Example: `{"orcl-cloud": {"free-tier-retained": "true"}}`


        :param system_tags: The system_tags of this OpaInstance.
        :type: dict(str, dict(str, object))
        NrW)rAr+rCrCrDr+�scCs|jS)z�
        Gets the attachments of this OpaInstance.
        A list of associated attachments to other services


        :return: The attachments of this OpaInstance.
        :rtype: list[oci.opa.models.AttachmentDetails]
        �r@rGrCrCrDr,�s
zOpaInstance.attachmentscCs
||_dS)z�
        Sets the attachments of this OpaInstance.
        A list of associated attachments to other services


        :param attachments: The attachments of this OpaInstance.
        :type: list[oci.opa.models.AttachmentDetails]
        NrX)rAr,rCrCrDr,�s
cCst|�S�N)rrGrCrCrD�__repr__�szOpaInstance.__repr__cCs|durdS|j|jkS)NF)�__dict__�rA�otherrCrCrD�__eq__�szOpaInstance.__eq__cCs
||kSrYrCr\rCrCrD�__ne__�szOpaInstance.__ne__N).�__name__�
__module__�__qualname__�__doc__ZCONSUMPTION_MODEL_UCMZCONSUMPTION_MODEL_GOVZCONSUMPTION_MODEL_SAASZSHAPE_NAME_DEVELOPMENTZSHAPE_NAME_PRODUCTIONZMETERING_TYPE_EXECUTION_PACKZMETERING_TYPE_USERSZMETERING_TYPE_EMPLOYEEZMETERING_TYPE_NAMED_USERZLIFECYCLE_STATE_CREATINGZLIFECYCLE_STATE_UPDATINGZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_INACTIVEZLIFECYCLE_STATE_DELETINGZLIFECYCLE_STATE_DELETEDZLIFECYCLE_STATE_FAILEDrE�propertyr�setterrrrrrrr r!r"r#r$r%r&r'r(r)r*r+r,rZr^r_rCrCrCrDrs�"







































rN)Zoci.utilrrrZoci.decoratorsr�objectrrCrCrCrD�<module>s