a ûÎòfOã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@s eZdZdZdZdZdZdZdZdZ dZ d d „Z e d d „ƒZ e jd d „ƒZ e dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe dd„ƒZejdd„ƒZe d d!„ƒZejd"d!„ƒZe d#d$„ƒZejd%d$„ƒZe d&d'„ƒZejd(d'„ƒZe d)d*„ƒZejd+d*„ƒZe d,d-„ƒZejd.d-„ƒZe d/d0„ƒZejd1d0„ƒZe d2d3„ƒZejd4d3„ƒZe d5d6„ƒZejd7d6„ƒZe d8d9„ƒZejd:d9„ƒZe d;d<„ƒZejd=d<„ƒZe d>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_PROGRESScKsÈdddddddddddddddddddœ|_d d d d d 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ÚintZdatetimezdict(str, str)zlist[PatchObjectMetadata]ZParentReferenceZObjectMetadata)Ú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_maprZ modelTypeZ modelVersionrrZ objectVersionZ objectStatusrZ timePatchedZ errorMessagesZapplicationVersionZ patchTypeZ patchStatusZdependentObjectMetadataZpatchObjectMetadataZ parentRefr ZkeyMapN)Z swagger_typesZ 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©r6úE/usr/lib/python3.9/site-packages/oci/data_integration/models/patch.pyÚ__init__.spSîîzPatch.__init__cCs|jS)zƒ Gets the key of this Patch. The object key. :return: The key of this Patch. :rtype: str ©r"©r4r6r6r7r½s z Patch.keycCs ||_dS)z… Sets the key of this Patch. The object key. :param key: The key of this Patch. :type: str Nr9)r4rr6r6r7rÉs cCs|jS)z’ Gets the model_type of this Patch. The object type. :return: The model_type of this Patch. :rtype: str ©r#r:r6r6r7rÕs zPatch.model_typecCs ||_dS)z› Sets the model_type of this Patch. The object type. :param model_type: The model_type of this Patch. :type: str Nr;)r4rr6r6r7rás cCs|jS)z£ Gets the model_version of this Patch. The object's model version. :return: The model_version of this Patch. :rtype: str ©r$r:r6r6r7rís zPatch.model_versioncCs ||_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 Nr<)r4rr6r6r7rùs cCs|jS)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 ©r%r:r6r6r7rs z Patch.namecCs ||_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 Nr=)r4rr6r6r7rs cCs|jS)z¨ Gets the description of this Patch. Detailed description for the object. :return: The description of this Patch. :rtype: str ©r&r:r6r6r7rs zPatch.descriptioncCs ||_dS)z² Sets the description of this Patch. Detailed description for the object. :param description: The description of this Patch. :type: str Nr>)r4rr6r6r7r)s cCs|jS)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 ©r'r:r6r6r7r5s zPatch.object_versioncCs ||_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 Nr?)r4rr6r6r7rAs cCs|jS)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(r:r6r6r7rMs zPatch.object_statuscCs ||_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 Nr@)r4rr6r6r7rYs cCs|jS)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)r:r6r6r7res zPatch.identifiercCs ||_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 NrA)r4rr6r6r7rqs cCs|jS)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*r:r6r6r7r}s zPatch.time_patchedcCs ||_dS)a Sets 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 :param time_patched: The time_patched of this Patch. :type: datetime NrB)r4rr6r6r7r‹s cCs|jS)zÍ Gets the error_messages of this Patch. The errors encountered while applying the patch, if any. :return: The error_messages of this Patch. :rtype: dict(str, str) ©r+r:r6r6r7r™s zPatch.error_messagescCs ||_dS)zÚ Sets the error_messages of this Patch. The errors encountered while applying the patch, if any. :param error_messages: The error_messages of this Patch. :type: dict(str, str) NrC)r4rr6r6r7r¥s cCs|jS)z¹ Gets the application_version of this Patch. The application version of the patch. :return: The application_version of this Patch. :rtype: int ©r,r:r6r6r7r±s zPatch.application_versioncCs ||_dS)zË Sets the application_version of this Patch. The application version of the patch. :param application_version: The application_version of this Patch. :type: int NrD)r4rr6r6r7r½s cCs|jS)aŠ Gets the patch_type of this Patch. The type of the patch applied or being applied on the application. 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'. :return: The patch_type of this Patch. :rtype: str )r-r:r6r6r7rÉs zPatch.patch_typecCs gd¢}t||ƒsd}||_dS)zÍ Sets the patch_type of this Patch. The type of the patch applied or being applied on the application. :param patch_type: The patch_type of this Patch. :type: str )rrr ÚUNKNOWN_ENUM_VALUEN)rr-)r4rÚallowed_valuesr6r6r7rØs  cCs|jS)a™ Gets the patch_status of this Patch. Status of the patch applied or being applied on the application 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'. :return: The patch_status of this Patch. :rtype: str )r.r:r6r6r7rçs zPatch.patch_statuscCs gd¢}t||ƒsd}||_dS)zÐ Sets the patch_status of this Patch. Status of the patch applied or being applied on the application :param patch_status: The patch_status of this Patch. :type: str )r r r r rEN)rr.)r4rrFr6r6r7rös  cCs|jS)zú Gets the dependent_object_metadata of this Patch. List of dependent objects in this patch. :return: The dependent_object_metadata of this Patch. :rtype: list[oci.data_integration.models.PatchObjectMetadata] ©r/r:r6r6r7rs zPatch.dependent_object_metadatacCs ||_dS)a Sets the dependent_object_metadata of this Patch. List of dependent objects in this patch. :param dependent_object_metadata: The dependent_object_metadata of this Patch. :type: list[oci.data_integration.models.PatchObjectMetadata] NrG)r4rr6r6r7rs cCs|jS)a  Gets the patch_object_metadata of this Patch. List of objects that are published or unpublished in this patch. :return: The patch_object_metadata of this Patch. :rtype: list[oci.data_integration.models.PatchObjectMetadata] ©r0r:r6r6r7rs zPatch.patch_object_metadatacCs ||_dS)a Sets the patch_object_metadata of this Patch. List of objects that are published or unpublished in this patch. :param patch_object_metadata: The patch_object_metadata of this Patch. :type: list[oci.data_integration.models.PatchObjectMetadata] NrH)r4rr6r6r7r)s cCs|jS)z  Gets the parent_ref of this Patch. :return: The parent_ref of this Patch. :rtype: oci.data_integration.models.ParentReference ©r1r:r6r6r7r5szPatch.parent_refcCs ||_dS)z© Sets the parent_ref of this Patch. :param parent_ref: The parent_ref of this Patch. :type: oci.data_integration.models.ParentReference NrI)r4rr6r6r7r?scCs|jS)z› Gets the metadata of this Patch. :return: The metadata of this Patch. :rtype: oci.data_integration.models.ObjectMetadata ©r2r:r6r6r7r IszPatch.metadatacCs ||_dS)z¢ Sets the metadata of this Patch. :param metadata: The metadata of this Patch. :type: oci.data_integration.models.ObjectMetadata NrJ)r4r r6r6r7r SscCs|jS)a Gets the key_map of this Patch. A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key. :return: The key_map of this Patch. :rtype: dict(str, str) ©r3r:r6r6r7r!]s z Patch.key_mapcCs ||_dS)a Sets the key_map of this Patch. A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key. :param key_map: The key_map of this Patch. :type: dict(str, str) NrK)r4r!r6r6r7r!is cCst|ƒS©N)rr:r6r6r7Ú__repr__uszPatch.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©r4Úotherr6r6r7Ú__eq__xsz Patch.__eq__cCs ||k SrLr6rOr6r6r7Ú__ne__~sz Patch.__ne__N)#Ú__name__Ú __module__Ú __qualname__Ú__doc__ZPATCH_TYPE_PUBLISHZPATCH_TYPE_REFRESHZPATCH_TYPE_UNPUBLISHZPATCH_STATUS_QUEUEDZPATCH_STATUS_SUCCESSFULZPATCH_STATUS_FAILEDZPATCH_STATUS_IN_PROGRESSr8ÚpropertyrÚsetterrrrrrrrrrrrrrrrr r!rMrQrRr6r6r6r7r sª                                    rN)Zoci.utilrrrZoci.decoratorsrÚobjectrr6r6r6r7Ús