ruạṛ
a N��f�i � @ 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�TemplateSummaryz� The application template summary type contains the audit summary information and the definition of the application template. �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 )%aH Initializes a new TemplateSummary 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 TemplateSummary. :type key: str :param model_type: The value to assign to the model_type property of this TemplateSummary. :type model_type: str :param model_version: The value to assign to the model_version property of this TemplateSummary. :type model_version: str :param name: The value to assign to the name property of this TemplateSummary. :type name: str :param description: The value to assign to the description property of this TemplateSummary. :type description: str :param application_version: The value to assign to the application_version property of this TemplateSummary. :type application_version: int :param object_status: The value to assign to the object_status property of this TemplateSummary. :type object_status: int :param identifier: The value to assign to the identifier property of this TemplateSummary. :type identifier: str :param parent_ref: The value to assign to the parent_ref property of this TemplateSummary. :type parent_ref: oci.data_integration.models.ParentReference :param object_version: The value to assign to the object_version property of this TemplateSummary. :type object_version: int :param dependent_object_metadata: The value to assign to the dependent_object_metadata property of this TemplateSummary. :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 TemplateSummary. :type published_object_metadata: dict(str, PatchObjectMetadata) :param source_application_info: The value to assign to the source_application_info property of this TemplateSummary. :type source_application_info: oci.data_integration.models.SourceApplicationInfo :param time_patched: The value to assign to the time_patched property of this TemplateSummary. :type time_patched: datetime :param id: The value to assign to the id property of this TemplateSummary. :type id: str :param compartment_id: The value to assign to the compartment_id property of this TemplateSummary. :type compartment_id: str :param display_name: The value to assign to the display_name property of this TemplateSummary. :type display_name: str :param time_created: The value to assign to the time_created property of this TemplateSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this TemplateSummary. :type time_updated: datetime :param freeform_tags: The value to assign to the freeform_tags property of this TemplateSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this TemplateSummary. :type defined_tags: dict(str, dict(str, object)) :param lifecycle_state: The value to assign to the lifecycle_state property of this TemplateSummary. Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED" :type lifecycle_state: str :param metadata: The value to assign to the metadata property of this TemplateSummary. :type metadata: oci.data_integration.models.ObjectMetadata :param key_map: The value to assign to the key_map property of this TemplateSummary. :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/template_summary.py�__init__( s� h��zTemplateSummary.__init__c C s | j S )z� Gets the key of this TemplateSummary. Generated key that can be used in API calls to identify application. :return: The key of this TemplateSummary. :rtype: str �r? �rW rY rY rZ r � s zTemplateSummary.keyc C s || _ dS )z� Sets the key of this TemplateSummary. Generated key that can be used in API calls to identify application. :param key: The key of this TemplateSummary. :type: str Nr\ )rW r rY rY rZ r � s c C s | j S )z� Gets the model_type of this TemplateSummary. The object type. :return: The model_type of this TemplateSummary. :rtype: str �r@ r] rY rY rZ r � s zTemplateSummary.model_typec C s || _ dS )z� Sets the model_type of this TemplateSummary. The object type. :param model_type: The model_type of this TemplateSummary. :type: str Nr^ )rW r rY rY rZ r s c C s | j S )z� Gets the model_version of this TemplateSummary. The object's model version. :return: The model_version of this TemplateSummary. :rtype: str �rA r] rY rY rZ r s zTemplateSummary.model_versionc C s || _ dS )z� Sets the model_version of this TemplateSummary. The object's model version. :param model_version: The model_version of this TemplateSummary. :type: str Nr_ )rW r rY rY rZ r s c C s | j S )a= Gets the name of this TemplateSummary. 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 TemplateSummary. :rtype: str �rB r] rY rY rZ r & s zTemplateSummary.namec C s || _ dS )a@ Sets the name of this TemplateSummary. 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 TemplateSummary. :type: str Nr` )rW r rY rY rZ r 2 s c C s | j S )z� Gets the description of this TemplateSummary. Detailed description for the object. :return: The description of this TemplateSummary. :rtype: str �rC r] rY rY rZ r > s zTemplateSummary.descriptionc C s || _ dS )z� Sets the description of this TemplateSummary. Detailed description for the object. :param description: The description of this TemplateSummary. :type: str Nra )rW r rY rY rZ r J s c C s | j S )z� Gets the application_version of this TemplateSummary. The application's version. :return: The application_version of this TemplateSummary. :rtype: int �rD r] rY rY rZ r V s z#TemplateSummary.application_versionc C s || _ dS )z� Sets the application_version of this TemplateSummary. The application's version. :param application_version: The application_version of this TemplateSummary. :type: int Nrb )rW r rY rY rZ r b s c C s | j S )a Gets the object_status of this TemplateSummary. 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 TemplateSummary. :rtype: int �rE r] rY rY rZ r n s zTemplateSummary.object_statusc C s || _ dS )a Sets the object_status of this TemplateSummary. 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 TemplateSummary. :type: int Nrc )rW r rY rY rZ r z s c C s | j S )a* Gets the identifier of this TemplateSummary. 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 TemplateSummary. :rtype: str �rF r] rY rY rZ r � s zTemplateSummary.identifierc C s || _ dS )a3 Sets the identifier of this TemplateSummary. 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 TemplateSummary. :type: str Nrd )rW r rY rY rZ r � s c C s | j S )z� Gets the parent_ref of this TemplateSummary. :return: The parent_ref of this TemplateSummary. :rtype: oci.data_integration.models.ParentReference �rG r] rY rY rZ r � s zTemplateSummary.parent_refc C s || _ dS )z� Sets the parent_ref of this TemplateSummary. :param parent_ref: The parent_ref of this TemplateSummary. :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 TemplateSummary. The version of the object that is used to track changes in the object instance. :return: The object_version of this TemplateSummary. :rtype: int �rH r] rY rY rZ r � s zTemplateSummary.object_versionc C s || _ dS )z� Sets the object_version of this TemplateSummary. The version of the object that is used to track changes in the object instance. :param object_version: The object_version of this TemplateSummary. :type: int Nrf )rW r rY rY rZ r � s c C s | j S )a Gets the dependent_object_metadata of this TemplateSummary. A list of dependent objects in this patch. :return: The dependent_object_metadata of this TemplateSummary. :rtype: list[oci.data_integration.models.PatchObjectMetadata] �rI r] rY rY rZ r � s z)TemplateSummary.dependent_object_metadatac C s || _ dS )a( Sets the dependent_object_metadata of this TemplateSummary. A list of dependent objects in this patch. :param dependent_object_metadata: The dependent_object_metadata of this TemplateSummary. :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 TemplateSummary. A list of objects that are published or unpublished in this patch. :return: The published_object_metadata of this TemplateSummary. :rtype: dict(str, PatchObjectMetadata) �rJ r] rY rY rZ r � s z)TemplateSummary.published_object_metadatac C s || _ dS )a) Sets the published_object_metadata of this TemplateSummary. A list of objects that are published or unpublished in this patch. :param published_object_metadata: The published_object_metadata of this TemplateSummary. :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 TemplateSummary. :return: The source_application_info of this TemplateSummary. :rtype: oci.data_integration.models.SourceApplicationInfo �rK r] rY rY rZ r � s z'TemplateSummary.source_application_infoc C s || _ dS )z� Sets the source_application_info of this TemplateSummary. :param source_application_info: The source_application_info of this TemplateSummary. :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 TemplateSummary. The date and time the application was patched, in the timestamp format defined by RFC3339. :return: The time_patched of this TemplateSummary. :rtype: datetime �rL r] rY rY rZ r s zTemplateSummary.time_patchedc C s || _ dS )a Sets the time_patched of this TemplateSummary. The date and time the application was patched, in the timestamp format defined by RFC3339. :param time_patched: The time_patched of this TemplateSummary. :type: datetime Nrj )rW r rY rY rZ r s c C s | j S )z� Gets the id of this TemplateSummary. OCID of the resource that is used to uniquely identify the application :return: The id of this TemplateSummary. :rtype: str �rM r] rY rY rZ r! & s zTemplateSummary.idc C s || _ dS )z� Sets the id of this TemplateSummary. OCID of the resource that is used to uniquely identify the application :param id: The id of this TemplateSummary. :type: str Nrk )rW r! rY rY rZ r! 2 s c C s | j S )z� Gets the compartment_id of this TemplateSummary. OCID of the compartment that this resource belongs to. Defaults to compartment of the Workspace. :return: The compartment_id of this TemplateSummary. :rtype: str �rN r] rY rY rZ r"