JezK
Edit File: opa_instance.cpython-38.pyc
U �:�e}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 @ st e Zd ZdZdZdZdZdZdZdZ dZ d Zd ZdZ dZd ZdZdZdZdd� Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd � �Zejd!d � �Zed"d#� �Zejd$d#� �Zed%d&� �Zejd'd&� �Zed(d)� �Zejd*d)� �Zed+d,� �Zejd-d,� �Zed.d/� �Zejd0d/� �Zed1d2� �Z e jd3d2� �Z ed4d5� �Z!e!jd6d5� �Z!ed7d8� �Z"e"jd9d8� �Z"ed:d;� �Z#e#jd<d;� �Z#ed=d>� �Z$e$jd?d>� �Z$ed@dA� �Z%e%jdBdA� �Z%edCdD� �Z&e&jdEdD� �Z&edFdG� �Z'e'jdHdG� �Z'edIdJ� �Z(e(jdKdJ� �Z(edLdM� �Z)e)jdNdM� �Z)dOdP� Z*dQdR� Z+dSdT� Z,dUS )V�OpaInstancez% Description of OpaInstance. �UCM�GOV�SAAS�DEVELOPMENT� PRODUCTION�EXECUTION_PACK�USERS�EMPLOYEE� NAMED_USER�CREATING�UPDATING�ACTIVE�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 )ap 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", "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] �str�datetime�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 �N/usr/local/python38/lib/python3.8/site-packages/oci/opa/models/opa_instance.py�__init__N 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 7 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 C 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 O 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 g s zOpaInstance.consumption_modelc C s"