o
    3Ih(                     @   s<   d Z ddlZddlZddlZddlmZ G d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.33
    Generated by: https://openapi-generator.tech
    N)Configurationc                   @   s"  e Zd ZdZ	 ddddddddZddd	d
ddddZd0ddZedd Zej	dd Zedd Z
e
j	dd Z
edd Zej	dd Zedd Zej	dd Zedd Zej	dd Zed d! Zej	d"d! Zed#d$ Zej	d%d$ Zd&d' Zd(d) Zd*d+ Zd,d- Zd.d/ ZdS )1V1SecretzNOTE: This class is auto generated by OpenAPI Generator.
    Ref: https://openapi-generator.tech

    Do not edit the class manually.
    strzdict(str, str)boolV1ObjectMeta)api_versiondata	immutablekindmetadatastring_datatype
apiVersionr   r	   r
   r   
stringDatar   Nc	           	      C   s   |du rt  }|| _d| _d| _d| _d| _d| _d| _d| _d| _	|dur)|| _
|dur0|| _|dur7|| _|dur>|| _|durE|| _|durL|| _|durU|| _dS dS )z%V1Secret - a model defined in OpenAPIN)r   local_vars_configuration_api_version_data
_immutable_kind	_metadata_string_data_typediscriminatorr   r   r	   r
   r   r   r   )	selfr   r   r	   r
   r   r   r   r    r   b/home/air/sanwanet/gpt-api/venv/lib/python3.10/site-packages/kubernetes/client/models/v1_secret.py__init__7   s4   
zV1Secret.__init__c                 C      | j S )a  Gets the api_version of this V1Secret.  # noqa: E501

        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources  # noqa: E501

        :return: The api_version of this V1Secret.  # noqa: E501
        :rtype: str
        r   r   r   r   r   r   U      	zV1Secret.api_versionc                 C   
   || _ dS )a  Sets the api_version of this V1Secret.

        APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources  # noqa: E501

        :param api_version: The api_version of this V1Secret.  # noqa: E501
        :type: str
        Nr   )r   r   r   r   r   r   `      

c                 C   r   )a  Gets the data of this V1Secret.  # noqa: E501

        Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4  # noqa: E501

        :return: The data of this V1Secret.  # noqa: E501
        :rtype: dict(str, str)
        r   r   r   r   r   r   l   r    zV1Secret.datac                 C   r!   )a  Sets the data of this V1Secret.

        Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4  # noqa: E501

        :param data: The data of this V1Secret.  # noqa: E501
        :type: dict(str, str)
        Nr#   )r   r   r   r   r   r   w   r"   c                 C   r   )ap  Gets the immutable of this V1Secret.  # noqa: E501

        Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.  # noqa: E501

        :return: The immutable of this V1Secret.  # noqa: E501
        :rtype: bool
        r   r   r   r   r   r	      r    zV1Secret.immutablec                 C   r!   )aj  Sets the immutable of this V1Secret.

        Immutable, if set to true, ensures that data stored in the Secret cannot be updated (only object metadata can be modified). If not set to true, the field can be modified at any time. Defaulted to nil.  # noqa: E501

        :param immutable: The immutable of this V1Secret.  # noqa: E501
        :type: bool
        Nr$   )r   r	   r   r   r   r	      r"   c                 C   r   )a  Gets the kind of this V1Secret.  # noqa: E501

        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

        :return: The kind of this V1Secret.  # noqa: E501
        :rtype: str
        r   r   r   r   r   r
      r    zV1Secret.kindc                 C   r!   )a  Sets the kind of this V1Secret.

        Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds  # noqa: E501

        :param kind: The kind of this V1Secret.  # noqa: E501
        :type: str
        Nr%   )r   r
   r   r   r   r
      r"   c                 C   r   )zGets the metadata of this V1Secret.  # noqa: E501


        :return: The metadata of this V1Secret.  # noqa: E501
        :rtype: V1ObjectMeta
        r   r   r   r   r   r      s   zV1Secret.metadatac                 C   r!   )zSets the metadata of this V1Secret.


        :param metadata: The metadata of this V1Secret.  # noqa: E501
        :type: V1ObjectMeta
        Nr&   )r   r   r   r   r   r      s   
	c                 C   r   )a  Gets the string_data of this V1Secret.  # noqa: E501

        stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.  # noqa: E501

        :return: The string_data of this V1Secret.  # noqa: E501
        :rtype: dict(str, str)
        r   r   r   r   r   r      r    zV1Secret.string_datac                 C   r!   )a  Sets the string_data of this V1Secret.

        stringData allows specifying non-binary secret data in string form. It is provided as a write-only input field for convenience. All keys and values are merged into the data field on write, overwriting any existing values. The stringData field is never output when reading from the API.  # noqa: E501

        :param string_data: The string_data of this V1Secret.  # noqa: E501
        :type: dict(str, str)
        Nr'   )r   r   r   r   r   r      r"   c                 C   r   )a'  Gets the type of this V1Secret.  # noqa: E501

        Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types  # noqa: E501

        :return: The type of this V1Secret.  # noqa: E501
        :rtype: str
        r   r   r   r   r   r      r    zV1Secret.typec                 C   r!   )a  Sets the type of this V1Secret.

        Used to facilitate programmatic handling of secret data. More info: https://kubernetes.io/docs/concepts/configuration/secret/#secret-types  # noqa: E501

        :param type: The type of this V1Secret.  # noqa: E501
        :type: str
        Nr(   )r   r   r   r   r   r      r"   c                 C   s   i }t | jD ]=\}}t| |}t|tr"ttdd |||< qt|dr.| ||< qt|t	rAt	tdd |
 ||< q|||< q|S )z&Returns the model properties as a dictc                 S   s   t | dr	|  S | S )Nto_dicthasattrr)   )xr   r   r   <lambda>   s    z"V1Secret.to_dict.<locals>.<lambda>r)   c                 S   s&   t | d dr| d | d  fS | S )N   r)   r   r*   )itemr   r   r   r-     s   )six	iteritemsopenapi_typesgetattr
isinstancelistmapr+   r)   dictitems)r   resultattr_valuer   r   r   r)      s"   




zV1Secret.to_dictc                 C   s   t |  S )z.Returns the string representation of the model)pprintpformatr)   r   r   r   r   to_str  s   zV1Secret.to_strc                 C   s   |   S )zFor `print` and `pprint`)r?   r   r   r   r   __repr__  s   zV1Secret.__repr__c                 C   s   t |tsdS |  | kS )z&Returns true if both objects are equalFr4   r   r)   r   otherr   r   r   __eq__     
zV1Secret.__eq__c                 C   s   t |tsdS |  | kS )z*Returns true if both objects are not equalTrA   rB   r   r   r   __ne__  rE   zV1Secret.__ne__)NNNNNNNN)__name__
__module____qualname____doc__r2   attribute_mapr   propertyr   setterr   r	   r
   r   r   r   r)   r?   r@   rD   rF   r   r   r   r   r      sj    














	







r   )rJ   r=   rer0   kubernetes.client.configurationr   objectr   r   r   r   r   <module>   s   
