ruạṛ
a N��f�g � @ 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 dd � Z ed d� �Zej dd� �Zed d� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd � �Zej d!d � �Zed"d#� �Zej d$d#� �Zed%d&� �Zej d'd&� �Zed(d)� �Zej d*d)� �Zed+d,� �Zej d-d,� �Zed.d/� �Zej d0d/� �Zed1d2� �Zej d3d2� �Zed4d5� �Zej d6d5� �Zed7d8� �Zej d9d8� �Zed:d;� �Zej d<d;� �Zed=d>� �Zej d?d>� �Zed@dA� �Zej dBdA� �ZedCdD� �Z e j dEdD� �Z edFdG� �Z!e!j dHdG� �Z!edIdJ� �Z"e"j dKdJ� �Z"edLdM� �Z#e#j dNdM� �Z#edOdP� �Z$e$j dQdP� �Z$dRdS� Z%dTdU� Z&dVdW� Z'dXS )Y�Applicationzl The application type contains the audit summary information and the definition of the application. �CREATING�ACTIVE�UPDATING�DELETING�DELETED�FAILEDc K s ddddddddddddddddddddd dd dd�| _ dd ddddddddddddddddddd d!d"d#d�| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _ d$| _ d$| _d$| _d$| _ d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$| _d$S )%a] Initializes a new Application object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param key: The value to assign to the key property of this Application. :type key: str :param model_type: The value to assign to the model_type property of this Application. :type model_type: str :param model_version: The value to assign to the model_version property of this Application. :type model_version: str :param name: The value to assign to the name property of this Application. :type name: str :param description: The value to assign to the description property of this Application. :type description: str :param application_version: The value to assign to the application_version property of this Application. :type application_version: int :param object_status: The value to assign to the object_status property of this Application. :type object_status: int :param identifier: The value to assign to the identifier property of this Application. :type identifier: str :param parent_ref: The value to assign to the parent_ref property of this Application. :type parent_ref: oci.data_integration.models.ParentReference :param object_version: The value to assign to the object_version property of this Application. :type object_version: int :param dependent_object_metadata: The value to assign to the dependent_object_metadata property of this Application. :type dependent_object_metadata: list[oci.data_integration.models.PatchObjectMetadata] :param published_object_metadata: The value to assign to the published_object_metadata property of this Application. :type published_object_metadata: dict(str, PatchObjectMetadata) :param source_application_info: The value to assign to the source_application_info property of this Application. :type source_application_info: oci.data_integration.models.SourceApplicationInfo :param time_patched: The value to assign to the time_patched property of this Application. :type time_patched: datetime :param id: The value to assign to the id property of this Application. :type id: str :param compartment_id: The value to assign to the compartment_id property of this Application. :type compartment_id: str :param display_name: The value to assign to the display_name property of this Application. :type display_name: str :param time_created: The value to assign to the time_created property of this Application. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Application. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this Application. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Application. :type defined_tags: dict(str, dict(str, object)) :param lifecycle_state: The value to assign to the lifecycle_state property of this Application. Allowed values for this property are: "CREATING", "ACTIVE", "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 metadata: The value to assign to the metadata property of this Application. :type metadata: oci.data_integration.models.ObjectMetadata :param key_map: The value to assign to the key_map property of this Application. :type key_map: dict(str, str) �str�int�ParentReferencezlist[PatchObjectMetadata]zdict(str, PatchObjectMetadata)�SourceApplicationInfo�datetimezdict(str, str)zdict(str, dict(str, object))�ObjectMetadata)�key� model_type� model_version�name�description�application_version� object_status� identifier� parent_ref�object_version�dependent_object_metadata�published_object_metadata�source_application_info�time_patched�id�compartment_id�display_name�time_created�time_updated� freeform_tags�defined_tags�lifecycle_state�metadata�key_mapr � modelType�modelVersionr r �applicationVersion�objectStatusr � parentRef� objectVersion�dependentObjectMetadata�publishedObjectMetadata�sourceApplicationInfo�timePatchedr! � compartmentId�displayName�timeCreated�timeUpdated�freeformTags�definedTags�lifecycleStater) �keyMapN)� swagger_types� attribute_map�_key�_model_type�_model_version�_name�_description�_application_version�_object_status�_identifier�_parent_ref�_object_version�_dependent_object_metadata�_published_object_metadata�_source_application_info� _time_patched�_id�_compartment_id� _display_name� _time_created� _time_updated�_freeform_tags� _defined_tags�_lifecycle_state� _metadata�_key_map)�self�kwargs� rY ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/application.py�__init__( s� i��zApplication.__init__c C s | j S )z� Gets the key of this Application. Generated key that can be used in API calls to identify application. :return: The key of this Application. :rtype: str �r? �rW rY rY rZ r � s zApplication.keyc C s || _ dS )z� Sets the key of this Application. Generated key that can be used in API calls to identify application. :param key: The key of this Application. :type: str Nr\ )rW r rY rY rZ r � s c C s | j S )z� Gets the model_type of this Application. The object type. :return: The model_type of this Application. :rtype: str �r@ r] rY rY rZ r � s zApplication.model_typec C s || _ dS )z� Sets the model_type of this Application. The object type. :param model_type: The model_type of this Application. :type: str Nr^ )rW r rY rY rZ r s c C s | j S )z� Gets the model_version of this Application. The object's model version. :return: The model_version of this Application. :rtype: str �rA r] rY rY rZ r s zApplication.model_versionc C s || _ dS )z� Sets the model_version of this Application. The object's model version. :param model_version: The model_version of this Application. :type: str Nr_ )rW r rY rY rZ r s c C s | j S )a5 Gets the name of this Application. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :return: The name of this Application. :rtype: str �rB r] rY rY rZ r ' s zApplication.namec C s || _ dS )a8 Sets the name of this Application. Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters. :param name: The name of this Application. :type: str Nr` )rW r rY rY rZ r 3 s c C s | j S )z� Gets the description of this Application. Detailed description for the object. :return: The description of this Application. :rtype: str �rC r] rY rY rZ r ? s zApplication.descriptionc C s || _ dS )z� Sets the description of this Application. Detailed description for the object. :param description: The description of this Application. :type: str Nra )rW r rY rY rZ r K s c C s | j S )z� Gets the application_version of this Application. The application's version. :return: The application_version of this Application. :rtype: int �rD r] rY rY rZ r W s zApplication.application_versionc C s || _ dS )z� Sets the application_version of this Application. The application's version. :param application_version: The application_version of this Application. :type: int Nrb )rW r rY rY rZ r c s c C s | j S )a Gets the object_status of this Application. The status of an object that can be set to value 1 for shallow references across objects, other values reserved. :return: The object_status of this Application. :rtype: int �rE r] rY rY rZ r o s zApplication.object_statusc C s || _ dS )a Sets the object_status of this Application. The status of an object that can be set to value 1 for shallow references across objects, other values reserved. :param object_status: The object_status of this Application. :type: int Nrc )rW r rY rY rZ r { s c C s | j S )a" Gets the identifier of this Application. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. :return: The identifier of this Application. :rtype: str �rF r] rY rY rZ r � s zApplication.identifierc C s || _ dS )a+ Sets the identifier of this Application. Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified. :param identifier: The identifier of this Application. :type: str Nrd )rW r rY rY rZ r � s c C s | j S )z� Gets the parent_ref of this Application. :return: The parent_ref of this Application. :rtype: oci.data_integration.models.ParentReference �rG r] rY rY rZ r � s zApplication.parent_refc C s || _ dS )z� Sets the parent_ref of this Application. :param parent_ref: The parent_ref of this Application. :type: oci.data_integration.models.ParentReference Nre )rW r rY rY rZ r � s c C s | j S )z� Gets the object_version of this Application. The version of the object that is used to track changes in the object instance. :return: The object_version of this Application. :rtype: int �rH r] rY rY rZ r � s zApplication.object_versionc C s || _ dS )z� Sets the object_version of this Application. The version of the object that is used to track changes in the object instance. :param object_version: The object_version of this Application. :type: int Nrf )rW r rY rY rZ r � s c C s | j S )a Gets the dependent_object_metadata of this Application. A list of dependent objects in this patch. :return: The dependent_object_metadata of this Application. :rtype: list[oci.data_integration.models.PatchObjectMetadata] �rI r] rY rY rZ r � s z%Application.dependent_object_metadatac C s || _ dS )a Sets the dependent_object_metadata of this Application. A list of dependent objects in this patch. :param dependent_object_metadata: The dependent_object_metadata of this Application. :type: list[oci.data_integration.models.PatchObjectMetadata] Nrg )rW r rY rY rZ r � s c C s | j S )a Gets the published_object_metadata of this Application. A list of objects that are published or unpublished in this patch. :return: The published_object_metadata of this Application. :rtype: dict(str, PatchObjectMetadata) �rJ r] rY rY rZ r � s z%Application.published_object_metadatac C s || _ dS )a! Sets the published_object_metadata of this Application. A list of objects that are published or unpublished in this patch. :param published_object_metadata: The published_object_metadata of this Application. :type: dict(str, PatchObjectMetadata) Nrh )rW r rY rY rZ r � s c C s | j S )z� Gets the source_application_info of this Application. :return: The source_application_info of this Application. :rtype: oci.data_integration.models.SourceApplicationInfo �rK r] rY rY rZ r � s z#Application.source_application_infoc C s || _ dS )z� Sets the source_application_info of this Application. :param source_application_info: The source_application_info of this Application. :type: oci.data_integration.models.SourceApplicationInfo Nri )rW r rY rY rZ r s c C s | j S )z� Gets the time_patched of this Application. The date and time the application was patched, in the timestamp format defined by RFC3339. :return: The time_patched of this Application. :rtype: datetime �rL r] rY rY rZ r s zApplication.time_patchedc C s || _ dS )z� Sets the time_patched of this Application. The date and time the application was patched, in the timestamp format defined by RFC3339. :param time_patched: The time_patched of this Application. :type: datetime Nrj )rW r rY rY rZ r s c C s | j S )z� Gets the id of this Application. OCID of the resource that is used to uniquely identify the application :return: The id of this Application. :rtype: str �rM r] rY rY rZ r! ' s zApplication.idc C s || _ dS )z� Sets the id of this Application. OCID of the resource that is used to uniquely identify the application :param id: The id of this Application. :type: str Nrk )rW r! rY rY rZ r! 3 s c C s | j S )z� Gets the compartment_id of this Application. OCID of the compartment that this resource belongs to. Defaults to compartment of the Workspace. :return: The compartment_id of this Application. :rtype: str �rN r] rY rY rZ r"