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)ÚV1DownwardAPIVolumeFilezw NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. NcCs<dddddœ|_dddd dœ|_||_||_||_||_d S) aM V1DownwardAPIVolumeFile - 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. ÚV1ObjectFieldSelectorÚintÚstrÚV1ResourceFieldSelector)Ú field_refÚmodeÚpathÚresource_field_refZfieldRefr r ZresourceFieldRefN)Ú swagger_typesÚ attribute_mapÚ _field_refÚ_modeÚ_pathÚ_resource_field_ref)Úselfr r r r ©rúe/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/models/v1_downward_api_volume_file.pyÚ__init__s   z V1DownwardAPIVolumeFile.__init__cCs|jS)a Gets the field_ref of this V1DownwardAPIVolumeFile. Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. :return: The field_ref of this V1DownwardAPIVolumeFile. :rtype: V1ObjectFieldSelector )r)rrrrr 4s z!V1DownwardAPIVolumeFile.field_refcCs ||_dS)a Sets the field_ref of this V1DownwardAPIVolumeFile. Required: Selects a field of the pod: only annotations, labels, name and namespace are supported. :param field_ref: The field_ref of this V1DownwardAPIVolumeFile. :type: V1ObjectFieldSelector N)r)rr rrrr ?s cCs|jS)a Gets the mode of this V1DownwardAPIVolumeFile. Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. :return: The mode of this V1DownwardAPIVolumeFile. :rtype: int )r)rrrrr Ks zV1DownwardAPIVolumeFile.modecCs ||_dS)a  Sets the mode of this V1DownwardAPIVolumeFile. Optional: mode bits to use on this file, must be a value between 0 and 0777. If not specified, the volume defaultMode will be used. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set. :param mode: The mode of this V1DownwardAPIVolumeFile. :type: int N)r)rr rrrr Vs cCs|jS)a` Gets the path of this V1DownwardAPIVolumeFile. Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' :return: The path of this V1DownwardAPIVolumeFile. :rtype: str )r)rrrrr bs zV1DownwardAPIVolumeFile.pathcCs|dkrtdƒ‚||_dS)ac Sets the path of this V1DownwardAPIVolumeFile. Required: Path is the relative path name of the file to be created. Must not be absolute or contain the '..' path. Must be utf-8 encoded. The first item of the relative path must not start with '..' :param path: The path of this V1DownwardAPIVolumeFile. :type: str Nz,Invalid value for `path`, must not be `None`)Ú ValueErrorr)rr rrrr ms cCs|jS)ag Gets the resource_field_ref of this V1DownwardAPIVolumeFile. Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. :return: The resource_field_ref of this V1DownwardAPIVolumeFile. :rtype: V1ResourceFieldSelector )r)rrrrr {s z*V1DownwardAPIVolumeFile.resource_field_refcCs ||_dS)ax Sets the resource_field_ref of this V1DownwardAPIVolumeFile. Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, requests.cpu and requests.memory) are currently supported. :param resource_field_ref: The resource_field_ref of this V1DownwardAPIVolumeFile. :type: V1ResourceFieldSelector 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Úœsz1V1DownwardAPIVolumeFile.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     zV1DownwardAPIVolumeFile.to_dictcCs t|jƒƒS)z@ Returns the string representation of the model )rr)rrrrÚto_str¬szV1DownwardAPIVolumeFile.to_strcCs|jƒS)z* For `print` and `pprint` )r()rrrrÚ__repr__²sz V1DownwardAPIVolumeFile.__repr__cCst|tƒsdS|j|jkS)z8 Returns true if both objects are equal F)rrÚ__dict__)rÚotherrrrÚ__eq__¸s zV1DownwardAPIVolumeFile.__eq__cCs ||k S)z< Returns true if both objects are not equal r)rr+rrrÚ__ne__ÁszV1DownwardAPIVolumeFile.__ne__)NNNN)Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyr Úsetterr r r rr(r)r,r-rrrrrs       r)r1ÚpprintrÚsixrÚreÚobjectrrrrrÚ s