3 fY%@s8dZddlmZddlmZddlZGdddeZdS)z Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git )pformat) iteritemsNc@seZdZdZd!ddZeddZejddZedd Zejd d Zed d Z e jd d Z eddZ e jddZ eddZ e jddZ eddZ e jddZ ddZ ddZddZddZdd ZdS)" V1APIGroupzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPddddddd|_dddd d d d|_||_||_||_||_||_||_d S) a@ V1APIGroup - a model defined in Swagger :param dict swaggerTypes: The key is attribute name and the value is attribute type. :param dict attributeMap: The key is attribute name and the value is json key in definition. strV1GroupVersionForDiscoveryz!list[V1ServerAddressByClientCIDR]z list[V1GroupVersionForDiscovery]) api_versionkindnamepreferred_versionserver_address_by_client_cid_rsversions apiVersionrr ZpreferredVersionZserverAddressByClientCIDRsr N) swagger_types attribute_map _api_version_kind_name_preferred_version _server_address_by_client_cid_rs _versions)selfrrr r r r rV/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_api_group.py__init__s$   zV1APIGroup.__init__cCs|jS)a Gets the api_version of this V1APIGroup. 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/api-conventions.md#resources :return: The api_version of this V1APIGroup. :rtype: str )r)rrrrr:s zV1APIGroup.api_versioncCs ||_dS)a Sets the api_version of this V1APIGroup. 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/api-conventions.md#resources :param api_version: The api_version of this V1APIGroup. :type: str N)r)rrrrrrEs cCs|jS)a Gets the kind of this V1APIGroup. 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/api-conventions.md#types-kinds :return: The kind of this V1APIGroup. :rtype: str )r)rrrrrQs zV1APIGroup.kindcCs ||_dS)a Sets the kind of this V1APIGroup. 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/api-conventions.md#types-kinds :param kind: The kind of this V1APIGroup. :type: str N)r)rrrrrr\s cCs|jS)z Gets the name of this V1APIGroup. name is the name of the group. :return: The name of this V1APIGroup. :rtype: str )r)rrrrr hs zV1APIGroup.namecCs|dkrtd||_dS)z Sets the name of this V1APIGroup. name is the name of the group. :param name: The name of this V1APIGroup. :type: str Nz,Invalid value for `name`, must not be `None`) ValueErrorr)rr rrrr ss cCs|jS)a Gets the preferred_version of this V1APIGroup. preferredVersion is the version preferred by the API server, which probably is the storage version. :return: The preferred_version of this V1APIGroup. :rtype: V1GroupVersionForDiscovery )r)rrrrr s zV1APIGroup.preferred_versioncCs ||_dS)a# Sets the preferred_version of this V1APIGroup. preferredVersion is the version preferred by the API server, which probably is the storage version. :param preferred_version: The preferred_version of this V1APIGroup. :type: V1GroupVersionForDiscovery N)r)rr rrrr s cCs|jS)a< Gets the server_address_by_client_cid_rs of this V1APIGroup. a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. :return: The server_address_by_client_cid_rs of this V1APIGroup. :rtype: list[V1ServerAddressByClientCIDR] )r)rrrrr s z*V1APIGroup.server_address_by_client_cid_rscCs|dkrtd||_dS)aZ Sets the server_address_by_client_cid_rs of this V1APIGroup. a map of client CIDR to server address that is serving this group. This is to help clients reach servers in the most network-efficient way possible. Clients can use the appropriate server address as per the CIDR that they match. In case of multiple matches, clients should use the longest matching CIDR. The server returns only those CIDRs that it thinks that the client can match. For example: the master will return an internal IP CIDR only, if the client reaches the server using an internal IP. Server looks at X-Forwarded-For header or X-Real-Ip header or request.RemoteAddr (in that order) to get the client IP. :param server_address_by_client_cid_rs: The server_address_by_client_cid_rs of this V1APIGroup. :type: list[V1ServerAddressByClientCIDR] NzGInvalid value for `server_address_by_client_cid_rs`, must not be `None`)rr)rr rrrr s cCs|jS)z Gets the versions of this V1APIGroup. versions are the versions supported in this group. :return: The versions of this V1APIGroup. :rtype: list[V1GroupVersionForDiscovery] )r)rrrrr s zV1APIGroup.versionscCs|dkrtd||_dS)z Sets the versions of this V1APIGroup. versions are the versions supported in this group. :param versions: The versions of this V1APIGroup. :type: list[V1GroupVersionForDiscovery] Nz0Invalid value for `versions`, must not be `None`)rr)rr rrrr s cCsi}xt|jD]z\}}t||}t|trDttdd|||<qt|dr\|j||<qt|trttdd|j ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dr|jS|S)Nto_dict)hasattrr)xrrrsz$V1APIGroup.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rrgetattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     zV1APIGroup.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strszV1APIGroup.to_strcCs|jS)z* For `print` and `pprint` )r+)rrrr__repr__szV1APIGroup.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)r"r__dict__)rotherrrr__eq__s zV1APIGroup.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr.rrr__ne__szV1APIGroup.__ne__)NNNNNN)__name__ __module__ __qualname____doc__rpropertyrsetterrr r r r rr+r,r/r0rrrrrs& "       r)r4pprintrsixrreobjectrrrrr s