
    <g                     B    d Z ddlZddlZddlZddlmZ  G d de      Zy)z
    Kubernetes

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)  # noqa: E501

    The version of the OpenAPI document: release-1.32
    Generated by: https://openapi-generator.tech
    N)Configurationc                       e Zd ZdZ	 ddddZddddZdd
Zed        Zej                  d        Zed        Z
e
j                  d        Z
ed        Zej                  d        Zd Zd Zd Zd Zd Zy	)V1alpha1MutationzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    V1alpha1ApplyConfigurationV1alpha1JSONPatchstr)apply_configuration
json_patch
patch_typeapplyConfiguration	jsonPatch	patchTypeNc                     |
t               }|| _        d| _        d| _        d| _        d| _        ||| _        ||| _        || _        y)z-V1alpha1Mutation - a model defined in OpenAPIN)	r   local_vars_configuration_apply_configuration_json_patch_patch_typediscriminatorr	   r
   r   )selfr	   r
   r   r   s        _/var/www/openai/venv/lib/python3.12/site-packages/kubernetes/client/models/v1alpha1_mutation.py__init__zV1alpha1Mutation.__init__/   sZ    #+'4$(@%$(!!*':D$!(DO$    c                     | j                   S )zGets the apply_configuration of this V1alpha1Mutation.  # noqa: E501


        :return: The apply_configuration of this V1alpha1Mutation.  # noqa: E501
        :rtype: V1alpha1ApplyConfiguration
        r   r   s    r   r	   z$V1alpha1Mutation.apply_configuration@   s     (((r   c                     || _         y)zSets the apply_configuration of this V1alpha1Mutation.


        :param apply_configuration: The apply_configuration of this V1alpha1Mutation.  # noqa: E501
        :type: V1alpha1ApplyConfiguration
        Nr   )r   r	   s     r   r	   z$V1alpha1Mutation.apply_configurationJ   s     %8!r   c                     | j                   S )zGets the json_patch of this V1alpha1Mutation.  # noqa: E501


        :return: The json_patch of this V1alpha1Mutation.  # noqa: E501
        :rtype: V1alpha1JSONPatch
        r   r   s    r   r
   zV1alpha1Mutation.json_patchU   s     r   c                     || _         y)zSets the json_patch of this V1alpha1Mutation.


        :param json_patch: The json_patch of this V1alpha1Mutation.  # noqa: E501
        :type: V1alpha1JSONPatch
        Nr   )r   r
   s     r   r
   zV1alpha1Mutation.json_patch_   s     &r   c                     | j                   S )a(  Gets the patch_type of this V1alpha1Mutation.  # noqa: E501

        patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.  # noqa: E501

        :return: The patch_type of this V1alpha1Mutation.  # noqa: E501
        :rtype: str
        )r   r   s    r   r   zV1alpha1Mutation.patch_typej   s     r   c                 X    | j                   j                  r|t        d      || _        y)a#  Sets the patch_type of this V1alpha1Mutation.

        patchType indicates the patch strategy used. Allowed values are "ApplyConfiguration" and "JSONPatch". Required.  # noqa: E501

        :param patch_type: The patch_type of this V1alpha1Mutation.  # noqa: E501
        :type: str
        Nz2Invalid value for `patch_type`, must not be `None`)r   client_side_validation
ValueErrorr   )r   r   s     r   r   zV1alpha1Mutation.patch_typeu   s,     ((??JDVQRR%r   c                 ~   i }t        j                  | j                        D ]  \  }}t        | |      }t	        |t
              rt        t        d |            ||<   <t        |d      r|j                         ||<   \t	        |t              r(t        t        d |j                                     ||<   |||<    |S )z&Returns the model properties as a dictc                 >    t        | d      r| j                         S | S )Nto_dicthasattrr&   )xs    r   <lambda>z*V1alpha1Mutation.to_dict.<locals>.<lambda>   s    WQ	-BaiikIIr   r&   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r&   r   r'   )items    r   r*   z*V1alpha1Mutation.to_dict.<locals>.<lambda>   s6    tAw	2 #'q'47??+<!= "=8<"=r   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr(   r&   dictitems)r   resultattr_values        r   r&   zV1alpha1Mutation.to_dict   s    }}T%7%78GD!D$'E%&#CI%  t 	*$}}tE4(#C=KKM%  t  %t! 9$ r   c                 H    t        j                  | j                               S )z.Returns the string representation of the model)pprintpformatr&   r   s    r   to_strzV1alpha1Mutation.to_str   s    ~~dlln--r   c                 "    | j                         S )zFor `print` and `pprint`)r>   r   s    r   __repr__zV1alpha1Mutation.__repr__   s    {{}r   c                 f    t        |t              sy| j                         |j                         k(  S )z&Returns true if both objects are equalFr2   r   r&   r   others     r   __eq__zV1alpha1Mutation.__eq__   s'    %!12||~00r   c                 f    t        |t              sy| j                         |j                         k7  S )z*Returns true if both objects are not equalTrB   rC   s     r   __ne__zV1alpha1Mutation.__ne__   s'    %!12||~00r   )NNNN)__name__
__module____qualname____doc__r0   attribute_mapr   propertyr	   setterr
   r   r&   r>   r@   rE   rG    r   r   r   r      s      <)M  4!!M%" ) ) 8  8     & &     & &0.11r   r   )rK   r<   rer.   kubernetes.client.configurationr   objectr   rO   r   r   <module>rS      s&     	 
 9Z1v Z1r   