3 f÷ÔYã@s8dZddlmZddlmZddlZGdd„deƒZdS)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@sªeZdZdZddd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ dd„Z dd„Z dd„Z dd„Zdd„ZdS)Ú V1APIVersionszw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<dddddœ|_dddddœ|_||_||_||_||_d S) aC V1APIVersions - 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. Ústrz!list[V1ServerAddressByClientCIDR]z list[str])Ú api_versionÚkindÚserver_address_by_client_cid_rsÚversionsÚ apiVersionrÚserverAddressByClientCIDRsr N)Ú swagger_typesÚ attribute_mapÚ _api_versionÚ_kindÚ _server_address_by_client_cid_rsÚ _versions)Úselfrrrr ©rúY/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_api_versions.pyÚ__init__s   zV1APIVersions.__init__cCs|jS)a£ Gets the api_version of this V1APIVersions. 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 V1APIVersions. :rtype: str )r)rrrrr4s zV1APIVersions.api_versioncCs ||_dS)a­ Sets the api_version of this V1APIVersions. 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 V1APIVersions. :type: str N)r)rrrrrr?s cCs|jS)a– Gets the kind of this V1APIVersions. 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 V1APIVersions. :rtype: str )r)rrrrrKs zV1APIVersions.kindcCs ||_dS)a™ Sets the kind of this V1APIVersions. 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 V1APIVersions. :type: str N)r)rrrrrrVs cCs|jS)aB Gets the server_address_by_client_cid_rs of this V1APIVersions. 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 V1APIVersions. :rtype: list[V1ServerAddressByClientCIDR] )r)rrrrrbs z-V1APIVersions.server_address_by_client_cid_rscCs|dkrtdƒ‚||_dS)a` Sets the server_address_by_client_cid_rs of this V1APIVersions. 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 V1APIVersions. :type: list[V1ServerAddressByClientCIDR] NzGInvalid value for `server_address_by_client_cid_rs`, must not be `None`)Ú ValueErrorr)rrrrrrms cCs|jS)zÄ Gets the versions of this V1APIVersions. versions are the api versions that are available. :return: The versions of this V1APIVersions. :rtype: list[str] )r)rrrrr {s zV1APIVersions.versionscCs|dkrtdƒ‚||_dS)zË Sets the versions of this V1APIVersions. versions are the api versions that are available. :param versions: The versions of this V1APIVersions. :type: list[str] Nz0Invalid value for `versions`, must not be `None`)rr)rr rrrr †s cCs’i}xˆt|jƒD]z\}}t||ƒ}t|tƒrDttdd„|ƒƒ||<qt|dƒr\|jƒ||<qt|tƒr‚ttdd„|j ƒƒƒ||<q|||<qW|S)z8 Returns the model properties as a dict cSst|dƒr|jƒS|S)NÚto_dict)Úhasattrr)ÚxrrrÚžsz'V1APIVersions.to_dict..rcSs&t|ddƒr"|d|djƒfS|S)Nérr)rr)Úitemrrrr¥s) rr ÚgetattrÚ isinstanceÚlistÚmaprrÚdictÚitems)rÚresultÚattrÚ_Úvaluerrrr”s     zV1APIVersions.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_str®szV1APIVersions.to_strcCs|jƒS)z* For `print` and `pprint` )r')rrrrÚ__repr__´szV1APIVersions.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__ºs zV1APIVersions.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr*rrrÚ__ne__ÃszV1APIVersions.__ne__)NNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterrrr rr'r(r+r,rrrrrs      r)r0ÚpprintrÚsixrÚreÚobjectrrrrrÚ s