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ÞeZdZdZd!dd„Zedd„ƒZejdd„ƒZedd „ƒZejd d „ƒZed d „ƒZ e jd d „ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ edd„ƒZ e jdd„ƒZ dd„Z dd„Zdd„Zdd„Zdd „ZdS)"ÚV1ServiceAccountzw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCsPdddddddœ|_ddd d d d dœ|_||_||_||_||_||_||_d S)aF V1ServiceAccount - 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. ÚstrÚboolzlist[V1LocalObjectReference]Ú V1ObjectMetazlist[V1ObjectReference])Ú api_versionÚautomount_service_account_tokenÚimage_pull_secretsÚkindÚmetadataÚsecretsÚ apiVersionÚautomountServiceAccountTokenÚimagePullSecretsr r r N)Ú swagger_typesÚ attribute_mapÚ _api_versionÚ _automount_service_account_tokenÚ_image_pull_secretsÚ_kindÚ _metadataÚ_secrets)Úselfrr r r r r ©rú\/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_service_account.pyÚ__init__s$   zV1ServiceAccount.__init__cCs|jS)a© Gets the api_version of this V1ServiceAccount. 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 V1ServiceAccount. :rtype: str )r)rrrrr:s zV1ServiceAccount.api_versioncCs ||_dS)a³ Sets the api_version of this V1ServiceAccount. 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 V1ServiceAccount. :type: str N)r)rrrrrrEs cCs|jS)ai Gets the automount_service_account_token of this V1ServiceAccount. AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. :return: The automount_service_account_token of this V1ServiceAccount. :rtype: bool )r)rrrrr Qs z0V1ServiceAccount.automount_service_account_tokencCs ||_dS)a‡ Sets the automount_service_account_token of this V1ServiceAccount. AutomountServiceAccountToken indicates whether pods running as this service account should have an API token automatically mounted. Can be overridden at the pod level. :param automount_service_account_token: The automount_service_account_token of this V1ServiceAccount. :type: bool N)r)rr rrrr \s cCs|jS)aG Gets the image_pull_secrets of this V1ServiceAccount. ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod :return: The image_pull_secrets of this V1ServiceAccount. :rtype: list[V1LocalObjectReference] )r)rrrrr hs z#V1ServiceAccount.image_pull_secretscCs ||_dS)aX Sets the image_pull_secrets of this V1ServiceAccount. ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod :param image_pull_secrets: The image_pull_secrets of this V1ServiceAccount. :type: list[V1LocalObjectReference] N)r)rr rrrr ss cCs|jS)aœ Gets the kind of this V1ServiceAccount. 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 V1ServiceAccount. :rtype: str )r)rrrrr s zV1ServiceAccount.kindcCs ||_dS)aŸ Sets the kind of this V1ServiceAccount. 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 V1ServiceAccount. :type: str N)r)rr rrrr Šs cCs|jS)a Gets the metadata of this V1ServiceAccount. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata :return: The metadata of this V1ServiceAccount. :rtype: V1ObjectMeta )r)rrrrr –s zV1ServiceAccount.metadatacCs ||_dS)a Sets the metadata of this V1ServiceAccount. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata :param metadata: The metadata of this V1ServiceAccount. :type: V1ObjectMeta N)r)rr rrrr ¡s cCs|jS)aE Gets the secrets of this V1ServiceAccount. Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret :return: The secrets of this V1ServiceAccount. :rtype: list[V1ObjectReference] )r)rrrrr ­s zV1ServiceAccount.secretscCs ||_dS)aK Sets the secrets of this V1ServiceAccount. Secrets is the list of secrets allowed to be used by pods running using this ServiceAccount. More info: https://kubernetes.io/docs/concepts/configuration/secret :param secrets: The secrets of this V1ServiceAccount. :type: list[V1ObjectReference] N)r)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*V1ServiceAccount.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     zV1ServiceAccount.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_strÞszV1ServiceAccount.to_strcCs|jƒS)z* For `print` and `pprint` )r-)rrrrÚ__repr__äszV1ServiceAccount.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)r$rÚ__dict__)rÚotherrrrÚ__eq__ês zV1ServiceAccount.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr0rrrÚ__ne__ószV1ServiceAccount.__ne__)NNNNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyrÚsetterr r r r r rr-r.r1r2rrrrrs& "        r)r6ÚpprintrÚsixrÚreÚobjectrrrrrÚ s