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)"$V1beta1CertificateSigningRequestSpeczw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPddddddd|_ddddd d d|_||_||_||_||_||_||_d S) aZ V1beta1CertificateSigningRequestSpec - 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. zdict(str, list[str])z list[str]str)extragroupsrequestuidusagesusernamerrrr r r N) swagger_types attribute_map_extra_groups_request_uid_usages _username)selfrrrr r r rr/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1beta1_certificate_signing_request_spec.py__init__s$   z-V1beta1CertificateSigningRequestSpec.__init__cCs|jS)a Gets the extra of this V1beta1CertificateSigningRequestSpec. Extra information about the requesting user. See user.Info interface for details. :return: The extra of this V1beta1CertificateSigningRequestSpec. :rtype: dict(str, list[str]) )r)rrrrr:s z*V1beta1CertificateSigningRequestSpec.extracCs ||_dS)a Sets the extra of this V1beta1CertificateSigningRequestSpec. Extra information about the requesting user. See user.Info interface for details. :param extra: The extra of this V1beta1CertificateSigningRequestSpec. :type: dict(str, list[str]) N)r)rrrrrrEs cCs|jS)a Gets the groups of this V1beta1CertificateSigningRequestSpec. Group information about the requesting user. See user.Info interface for details. :return: The groups of this V1beta1CertificateSigningRequestSpec. :rtype: list[str] )r)rrrrrQs z+V1beta1CertificateSigningRequestSpec.groupscCs ||_dS)a Sets the groups of this V1beta1CertificateSigningRequestSpec. Group information about the requesting user. See user.Info interface for details. :param groups: The groups of this V1beta1CertificateSigningRequestSpec. :type: list[str] N)r)rrrrrr\s cCs|jS)z Gets the request of this V1beta1CertificateSigningRequestSpec. Base64-encoded PKCS#10 CSR data :return: The request of this V1beta1CertificateSigningRequestSpec. :rtype: str )r)rrrrrhs z,V1beta1CertificateSigningRequestSpec.requestcCs|dkrtd||_dS)z Sets the request of this V1beta1CertificateSigningRequestSpec. Base64-encoded PKCS#10 CSR data :param request: The request of this V1beta1CertificateSigningRequestSpec. :type: str Nz/Invalid value for `request`, must not be `None`) ValueErrorr)rrrrrrss cCs|jS)a Gets the uid of this V1beta1CertificateSigningRequestSpec. UID information about the requesting user. See user.Info interface for details. :return: The uid of this V1beta1CertificateSigningRequestSpec. :rtype: str )r)rrrrr s z(V1beta1CertificateSigningRequestSpec.uidcCs ||_dS)a Sets the uid of this V1beta1CertificateSigningRequestSpec. UID information about the requesting user. See user.Info interface for details. :param uid: The uid of this V1beta1CertificateSigningRequestSpec. :type: str N)r)rr rrrr s cCs|jS)az Gets the usages of this V1beta1CertificateSigningRequestSpec. allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 https://tools.ietf.org/html/rfc5280#section-4.2.1.12 :return: The usages of this V1beta1CertificateSigningRequestSpec. :rtype: list[str] )r)rrrrr s z+V1beta1CertificateSigningRequestSpec.usagescCs ||_dS)a Sets the usages of this V1beta1CertificateSigningRequestSpec. allowedUsages specifies a set of usage contexts the key will be valid for. See: https://tools.ietf.org/html/rfc5280#section-4.2.1.3 https://tools.ietf.org/html/rfc5280#section-4.2.1.12 :param usages: The usages of this V1beta1CertificateSigningRequestSpec. :type: list[str] N)r)rr rrrr s cCs|jS)a Gets the username of this V1beta1CertificateSigningRequestSpec. Information about the requesting user. See user.Info interface for details. :return: The username of this V1beta1CertificateSigningRequestSpec. :rtype: str )r)rrrrr s z-V1beta1CertificateSigningRequestSpec.usernamecCs ||_dS)a  Sets the username of this V1beta1CertificateSigningRequestSpec. Information about the requesting user. See user.Info interface for details. :param username: The username of this V1beta1CertificateSigningRequestSpec. :type: str N)r)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>V1beta1CertificateSigningRequestSpec.to_dict..rcSs&t|ddr"|d|djfS|S)Nrr)rr)itemrrrrs) rr getattr isinstancelistmaprrdictitems)rresultattr_valuerrrrs     z,V1beta1CertificateSigningRequestSpec.to_dictcCs t|jS)z@ Returns the string representation of the model )rr)rrrrto_strsz+V1beta1CertificateSigningRequestSpec.to_strcCs|jS)z* For `print` and `pprint` )r))rrrr__repr__sz-V1beta1CertificateSigningRequestSpec.__repr__cCst|tsdS|j|jkS)z8 Returns true if both objects are equal F)r r__dict__)rotherrrr__eq__s z+V1beta1CertificateSigningRequestSpec.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr,rrr__ne__sz+V1beta1CertificateSigningRequestSpec.__ne__)NNNNNN)__name__ __module__ __qualname____doc__rpropertyrsetterrrr r r rr)r*r-r.rrrrrs& "        r)r2pprintrsixrreobjectrrrrr s