ruạṛ
a N��f�N � @ 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 dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �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� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zed;d<� �Zejd=d<� �Zed>d?� �Zejd@d?� �ZdAdB� Z dCdD� Z!dEdF� Z"dGS )H�Patchzb The patch object contains the audit summary information and the definition of the patch. �PUBLISH�REFRESH� UNPUBLISH�QUEUED� SUCCESSFUL�FAILED�IN_PROGRESSc K s� ddddddddddddddddddd�| _ d d ddd dddddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _d| _d| _dS )a� Initializes a new Patch 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 Patch. :type key: str :param model_type: The value to assign to the model_type property of this Patch. :type model_type: str :param model_version: The value to assign to the model_version property of this Patch. :type model_version: str :param name: The value to assign to the name property of this Patch. :type name: str :param description: The value to assign to the description property of this Patch. :type description: str :param object_version: The value to assign to the object_version property of this Patch. :type object_version: int :param object_status: The value to assign to the object_status property of this Patch. :type object_status: int :param identifier: The value to assign to the identifier property of this Patch. :type identifier: str :param time_patched: The value to assign to the time_patched property of this Patch. :type time_patched: datetime :param error_messages: The value to assign to the error_messages property of this Patch. :type error_messages: dict(str, str) :param application_version: The value to assign to the application_version property of this Patch. :type application_version: int :param patch_type: The value to assign to the patch_type property of this Patch. Allowed values for this property are: "PUBLISH", "REFRESH", "UNPUBLISH", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type patch_type: str :param patch_status: The value to assign to the patch_status property of this Patch. Allowed values for this property are: "QUEUED", "SUCCESSFUL", "FAILED", "IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type patch_status: str :param dependent_object_metadata: The value to assign to the dependent_object_metadata property of this Patch. :type dependent_object_metadata: list[oci.data_integration.models.PatchObjectMetadata] :param patch_object_metadata: The value to assign to the patch_object_metadata property of this Patch. :type patch_object_metadata: list[oci.data_integration.models.PatchObjectMetadata] :param parent_ref: The value to assign to the parent_ref property of this Patch. :type parent_ref: oci.data_integration.models.ParentReference :param metadata: The value to assign to the metadata property of this Patch. :type metadata: oci.data_integration.models.ObjectMetadata :param key_map: The value to assign to the key_map property of this Patch. :type key_map: dict(str, str) �str�int�datetimezdict(str, str)zlist[PatchObjectMetadata]�ParentReference�ObjectMetadata)�key� model_type� model_version�name�description�object_version� object_status� identifier�time_patched�error_messages�application_version� patch_type�patch_status�dependent_object_metadata�patch_object_metadata� parent_ref�metadata�key_mapr � modelType�modelVersionr r � objectVersion�objectStatusr �timePatched� errorMessages�applicationVersion� patchType�patchStatus�dependentObjectMetadata�patchObjectMetadata� parentRefr# �keyMapN)� swagger_types� attribute_map�_key�_model_type�_model_version�_name�_description�_object_version�_object_status�_identifier� _time_patched�_error_messages�_application_version�_patch_type� _patch_status�_dependent_object_metadata�_patch_object_metadata�_parent_ref� _metadata�_key_map)�self�kwargs� rH ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/data_integration/models/patch.py�__init__, sp S��zPatch.__init__c C s | j S )z� Gets the key of this Patch. The object key. :return: The key of this Patch. :rtype: str �r4 �rF rH rH rI r � s z Patch.keyc C s || _ dS )z� Sets the key of this Patch. The object key. :param key: The key of this Patch. :type: str NrK )rF r rH rH rI r � s c C s | j S )z� Gets the model_type of this Patch. The object type. :return: The model_type of this Patch. :rtype: str �r5 rL rH rH rI r � s zPatch.model_typec C s || _ dS )z� Sets the model_type of this Patch. The object type. :param model_type: The model_type of this Patch. :type: str NrM )rF r rH rH rI r � s c C s | j S )z� Gets the model_version of this Patch. The object's model version. :return: The model_version of this Patch. :rtype: str �r6 rL rH rH rI r � s zPatch.model_versionc C s || _ dS )z� Sets the model_version of this Patch. The object's model version. :param model_version: The model_version of this Patch. :type: str NrN )rF r rH rH rI r � s c C s | j S )a) Gets the name of this Patch. 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 Patch. :rtype: str �r7 rL rH rH rI r s z Patch.namec C s || _ dS )a, Sets the name of this Patch. 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 Patch. :type: str NrO )rF r rH rH rI r s c C s | j S )z� Gets the description of this Patch. Detailed description for the object. :return: The description of this Patch. :rtype: str �r8 rL rH rH rI r s zPatch.descriptionc C s || _ dS )z� Sets the description of this Patch. Detailed description for the object. :param description: The description of this Patch. :type: str NrP )rF r rH rH rI r ' s c C s | j S )z� Gets the object_version of this Patch. The version of the object that is used to track changes in the object instance. :return: The object_version of this Patch. :rtype: int �r9 rL rH rH rI r 3 s zPatch.object_versionc C s || _ dS )z� Sets the object_version of this Patch. The version of the object that is used to track changes in the object instance. :param object_version: The object_version of this Patch. :type: int NrQ )rF r rH rH rI r ? s c C s | j S )z� Gets the object_status of this Patch. 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 Patch. :rtype: int �r: rL rH rH rI r K s zPatch.object_statusc C s || _ dS )a Sets the object_status of this Patch. 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 Patch. :type: int NrR )rF r rH rH rI r W s c C s | j S )a Gets the identifier of this Patch. 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 Patch. :rtype: str �r; rL rH rH rI r c s zPatch.identifierc C s || _ dS )a Sets the identifier of this Patch. 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 Patch. :type: str NrS )rF r rH rH rI r o s c C s | j S )a Gets the time_patched of this Patch. The date and time the patch was applied, in the timestamp format defined by `RFC3339`__. __ https://tools.ietf.org/html/rfc3339 :return: The time_patched of this Patch. :rtype: datetime �r<