
    !                     >    d Z ddlmZ ddlmZ ddlZ G d de      Zy)z
    Kubernetes

    No description provided (generated by Swagger Codegen
    https://github.com/swagger-api/swagger-codegen)

    OpenAPI spec version: v1.14.4

    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                   f   e Zd ZdZ	 ddddddZdd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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
)V1beta1RuleWithOperationszw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    z	list[str]str)
api_groupsapi_versions
operations	resourcesscope	apiGroupsapiVersionsr
   r   r   Nc                     d| _         d| _        d| _        d| _        d| _        d| _        ||| _        ||| _        ||| _        ||| _	        ||| _
        yy)zH
        V1beta1RuleWithOperations - a model defined in Swagger
        N)_api_groups_api_versions_operations
_resources_scopediscriminatorr   r	   r
   r   r   )selfr   r	   r
   r   r   s         Hlib/third_party/kubernetes/client/models/v1beta1_rule_with_operations.py__init__z"V1beta1RuleWithOperations.__init__.   sy     DDDDODKD"do&d"do dndj     c                     | j                   S )a@  
        Gets the api_groups of this V1beta1RuleWithOperations.
        APIGroups is the API groups the resources belong to. '*' is all groups.
        If '*' is present, the length of the slice must be one. Required.

        :return: The api_groups of this V1beta1RuleWithOperations.
        :rtype: list[str]
        r   r   s    r   r   z$V1beta1RuleWithOperations.api_groupsJ   s     r   c                     || _         y)aI  
        Sets the api_groups of this V1beta1RuleWithOperations.
        APIGroups is the API groups the resources belong to. '*' is all groups.
        If '*' is present, the length of the slice must be one. Required.

        :param api_groups: The api_groups of this V1beta1RuleWithOperations.
        :type: list[str]
        Nr   )r   r   s     r   r   z$V1beta1RuleWithOperations.api_groupsV   s     "Dr   c                     | j                   S )aR  
        Gets the api_versions of this V1beta1RuleWithOperations.
        APIVersions is the API versions the resources belong to. '*' is all
        versions. If '*' is present, the length of the slice must be one.
        Required.

        :return: The api_versions of this V1beta1RuleWithOperations.
        :rtype: list[str]
        r   r   s    r   r	   z&V1beta1RuleWithOperations.api_versionsc   s     r   c                     || _         y)a]  
        Sets the api_versions of this V1beta1RuleWithOperations.
        APIVersions is the API versions the resources belong to. '*' is all
        versions. If '*' is present, the length of the slice must be one.
        Required.

        :param api_versions: The api_versions of this V1beta1RuleWithOperations.
        :type: list[str]
        Nr   )r   r	   s     r   r	   z&V1beta1RuleWithOperations.api_versionsp   s     &Dr   c                     | j                   S )ag  
        Gets the operations of this V1beta1RuleWithOperations.
        Operations is the operations the admission hook cares about - CREATE,
        UPDATE, or * for all operations. If '*' is present, the length of the
        slice must be one. Required.

        :return: The operations of this V1beta1RuleWithOperations.
        :rtype: list[str]
        r   r   s    r   r
   z$V1beta1RuleWithOperations.operations~   s     r   c                     || _         y)ap  
        Sets the operations of this V1beta1RuleWithOperations.
        Operations is the operations the admission hook cares about - CREATE,
        UPDATE, or * for all operations. If '*' is present, the length of the
        slice must be one. Required.

        :param operations: The operations of this V1beta1RuleWithOperations.
        :type: list[str]
        Nr"   )r   r
   s     r   r
   z$V1beta1RuleWithOperations.operations   s     "Dr   c                     | j                   S )a  
        Gets the resources of this V1beta1RuleWithOperations.
        Resources is a list of resources this rule applies to.  For example:
        'pods' means pods. 'pods/log' means the log subresource of pods. '*'
        means all resources, but not subresources. 'pods/*' means all
        subresources of pods. '*/scale' means all scale subresources. '*/*'
        means all resources and their subresources.  If wildcard is present, the
        validation rule will ensure resources do not overlap with each other.
        Depending on the enclosing object, subresources might not be allowed.
        Required.

        :return: The resources of this V1beta1RuleWithOperations.
        :rtype: list[str]
        r   r   s    r   r   z#V1beta1RuleWithOperations.resources   s      ??r   c                     || _         y)a  
        Sets the resources of this V1beta1RuleWithOperations.
        Resources is a list of resources this rule applies to.  For example:
        'pods' means pods. 'pods/log' means the log subresource of pods. '*'
        means all resources, but not subresources. 'pods/*' means all
        subresources of pods. '*/scale' means all scale subresources. '*/*'
        means all resources and their subresources.  If wildcard is present, the
        validation rule will ensure resources do not overlap with each other.
        Depending on the enclosing object, subresources might not be allowed.
        Required.

        :param resources: The resources of this V1beta1RuleWithOperations.
        :type: list[str]
        Nr%   )r   r   s     r   r   z#V1beta1RuleWithOperations.resources   s    "  DOr   c                     | j                   S )aR  
        Gets the scope of this V1beta1RuleWithOperations.
        scope specifies the scope of this rule. Valid values are "Cluster",
        "Namespaced", and "*" "Cluster" means that only cluster-scoped
        resources will match this rule. Namespace API objects are
        cluster-scoped. "Namespaced" means that only namespaced resources will
        match this rule. "*" means that there are no scope restrictions.
        Subresources match the scope of their parent resource. Default is "*".

        :return: The scope of this V1beta1RuleWithOperations.
        :rtype: str
        r   r   s    r   r   zV1beta1RuleWithOperations.scope   s     ;;r   c                     || _         y)aV  
        Sets the scope of this V1beta1RuleWithOperations.
        scope specifies the scope of this rule. Valid values are "Cluster",
        "Namespaced", and "*" "Cluster" means that only cluster-scoped
        resources will match this rule. Namespace API objects are
        cluster-scoped. "Namespaced" means that only namespaced resources will
        match this rule. "*" means that there are no scope restrictions.
        Subresources match the scope of their parent resource. Default is "*".

        :param scope: The scope of this V1beta1RuleWithOperations.
        :type: str
        Nr(   )r   r   s     r   r   zV1beta1RuleWithOperations.scope   s     DKr   c                 j   i }t        | j                        D ]  \  }}t        | |      }t        |t              rt	        t        d |            ||<   <t        |d      r|j                         ||<   \t        |t              r(t        t        d |j                                     ||<   |||<    |S )z8
        Returns the model properties as a dict
        c                 >    t        | d      r| j                         S | S )Nto_dicthasattrr,   )xs    r   <lambda>z3V1beta1RuleWithOperations.to_dict.<locals>.<lambda>   s    I)>!))+EAEr   r,   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r,   r   r-   )items    r   r0   z3V1beta1RuleWithOperations.to_dict.<locals>.<lambda>   s6    47I. #1gtAw'89 9489r   )
r   swagger_typesgetattr
isinstancelistmapr.   r,   dictitems)r   resultattr_values        r   r,   z!V1beta1RuleWithOperations.to_dict   s     FT//0adD!e	E4	 EuMOt5)$}}teT"9:?++-IJt
 t 1 Mr   c                 4    t        | j                               S )z@
        Returns the string representation of the model
        )r   r,   r   s    r   to_strz V1beta1RuleWithOperations.to_str   s     4<<>""r   c                 "    | j                         S )z*
        For `print` and `pprint`
        )r@   r   s    r   __repr__z"V1beta1RuleWithOperations.__repr__   s     ;;=r   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r6   r   __dict__r   others     r   __eq__z V1beta1RuleWithOperations.__eq__  s%     e67==ENN**r   c                     | |k(   S )z<
        Returns true if both objects are not equal
         rE   s     r   __ne__z V1beta1RuleWithOperations.__ne__  s     u}r   )NNNNN)__name__
__module____qualname____doc__r4   attribute_mapr   propertyr   setterr	   r
   r   r   r,   r@   rB   rG   rJ   rI   r   r   r   r      sO     !-  # -  8 	 	 
" 
" 
 
 & & 
 
 " "  "    $   	<<  .#+r   r   )rN   pprintr   sixr   reobjectr   rI   r   r   <module>rV      s#   	   	} }r   