
    Zi                     J    d Z ddlZddlZddlZddlmZ  G d de          ZdS )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.35
    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d	S )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| _        ||| _        ||| _        || _        dS )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        e/root/projects/butler/venv/lib/python3.11/site-packages/kubernetes/client/models/v1alpha1_mutation.py__init__zV1alpha1Mutation.__init__/   s`    #+'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                     || _         dS )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                     || _         dS )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                 N    | j         j        r|t          d          || _        dS )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   s5     (? 	SJDVQRRR%r   c                    i }t          j        | j                  D ]\  }}t          | |          }t	          |t
                    r"t          t          d |                    ||<   Lt          |d          r|                                ||<   tt	          |t                    r4t          t          d |
                                                    ||<   |||<   |S )z&Returns the model properties as a dictc                 N    t          | d          r|                                 n| S )Nto_dicthasattrr&   )xs    r   <lambda>z*V1alpha1Mutation.to_dict.<locals>.<lambda>   s!    WQ	-B-BIaiikkk r   r&   c                 v    t          | d         d          r"| d         | d                                         fn| S )N   r&   r   r'   )items    r   r*   z*V1alpha1Mutation.to_dict.<locals>.<lambda>   s<    tAw	2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88 	% 	%GD!D$''E%&& %#CII% %    t 	** 	%$}}tE4(( %#C= =KKMM% %    t  %tr   c                 N    t          j        |                                           S )z.Returns the string representation of the model)pprintpformatr&   r   s    r   to_strzV1alpha1Mutation.to_str   s    ~dllnn---r   c                 *    |                                  S )zFor `print` and `pprint`)r>   r   s    r   __repr__zV1alpha1Mutation.__repr__   s    {{}}r   c                     t          |t                    sdS |                                 |                                k    S )z&Returns true if both objects are equalFr2   r   r&   r   others     r   __eq__zV1alpha1Mutation.__eq__   s5    %!122 	5||~~00r   c                     t          |t                    sdS |                                 |                                k    S )z*Returns true if both objects are not equalTrB   rC   s     r   __ne__zV1alpha1Mutation.__ne__   s5    %!122 	4||~~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% % % %" ) ) X) 8 8  8     X  & & &     X  & & &  0. . .  1 1 11 1 1 1 1r   r   )rK   r<   rer.   kubernetes.client.configurationr   objectr   rO   r   r   <module>rS      s|      				 



 9 9 9 9 9 9Z1 Z1 Z1 Z1 Z1v Z1 Z1 Z1 Z1 Z1r   