
    d                     >    d Z ddlmZ ddlmZ ddlZ G d de      Zy)z
    Kubernetes

    No description provided (generated by Swagger Codegen
    https://github.com/swagger-api/swagger-codegen)

    OpenAPI spec version: v1.14.4

    Generated by: https://github.com/swagger-api/swagger-codegen.git
    )pformat)	iteritemsNc                      e Zd ZdZ	 i dddddddd	d
ddddddddddddddddddd	dddddddddddddddddddd Zi dd!dddd"ddd
d#dd$dd%dd&dd'dd(dd)dddd*dd+dd,dd-ddd.d/d0d1d2d3d4d5d6d7d8d9d:d Z	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d~d<Zed=        Zej                  d>        Zed?        Z
e
j                  d@        Z
edA        Zej                  dB        ZedC        Zej                  dD        ZedE        Zej                  dF        ZedG        Zej                  dH        ZedI        Zej                  dJ        ZedK        Zej                  dL        ZedM        Zej                  dN        ZedO        Zej                  dP        ZedQ        Zej                  dR        ZedS        Zej                  dT        ZedU        Zej                  dV        ZedW        Zej                  dX        ZedY        Zej                  dZ        Zed[        Zej                  d\        Zed]        Zej                  d^        Zed_        Zej                  d`        Zeda        Zej                  db        Zedc        Zej                  dd        Zede        Zej                  df        Zedg        Zej                  dh        Zedi        Zej                  dj        Zedk        Z e j                  dl        Z edm        Z!e!j                  dn        Z!edo        Z"e"j                  dp        Z"edq        Z#e#j                  dr        Z#eds        Z$e$j                  dt        Z$edu        Z%e%j                  dv        Z%edw        Z&e&j                  dx        Z&dy Z'dz Z(d{ Z)d| Z*d} Z+y;)	V1PodSpeczw
    NOTE: This class is auto generated by the swagger code generator program.
    Do not edit the class manually.
    active_deadline_secondsintaffinity
V1Affinityautomount_service_account_tokenbool
containerszlist[V1Container]
dns_configV1PodDNSConfig
dns_policystrenable_service_linkshost_aliaseszlist[V1HostAlias]host_ipchost_networkhost_pidhostnameimage_pull_secretszlist[V1LocalObjectReference]init_containers	node_namenode_selectorzdict(str, str)priorityzlist[V1PodReadinessGate]V1PodSecurityContextzlist[V1Toleration]zlist[V1Volume])priority_class_namereadiness_gatesrestart_policyruntime_class_namescheduler_namesecurity_contextservice_accountservice_account_nameshare_process_namespace	subdomain termination_grace_period_secondstolerationsvolumesactiveDeadlineSecondsautomountServiceAccountToken	dnsConfig	dnsPolicyenableServiceLinkshostAliaseshostIPChostNetworkhostPIDimagePullSecretsinitContainersnodeNamenodeSelectorpriorityClassNamereadinessGatesrestartPolicyruntimeClassNameschedulerNamesecurityContextserviceAccountserviceAccountNameshareProcessNamespacer'   terminationGracePeriodSecondsr)   r*   Nc                    d| _         d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _	        d| _
        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        d| _        ||| _        ||| _         ||| _!        || _"        ||| _#        ||| _$        ||| _%        ||| _&        |	|	| _'        |
|
| _(        ||| _)        ||| _*        ||| _+        ||| _,        ||| _-        ||| _.        ||| _/        ||| _0        ||| _1        ||| _2        ||| _3        ||| _4        ||| _5        ||| _6        ||| _7        ||| _8        ||| _9        ||| _:        ||| _;        ||| _<        yy)z8
        V1PodSpec - a model defined in Swagger
        N)=_active_deadline_seconds	_affinity _automount_service_account_token_containers_dns_config_dns_policy_enable_service_links_host_aliases	_host_ipc_host_network	_host_pid	_hostname_image_pull_secrets_init_containers
_node_name_node_selector	_priority_priority_class_name_readiness_gates_restart_policy_runtime_class_name_scheduler_name_security_context_service_account_service_account_name_share_process_namespace
_subdomain!_termination_grace_period_seconds_tolerations_volumesdiscriminatorr   r	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   )selfr   r	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   s                                  7lib/third_party/kubernetes/client/models/v1_pod_spec.py__init__zV1PodSpec.__init__`   s   F %)D!DN,0D)DDD!%DDDNDDNDN#D DDODDN $D DD#DD!D D!%D$(D!DO-1D*DDMD*%<d"dm&2-Ld* DO"do"do'"6d&ddm&ddmdm% 2d",d dn (ddm&!4d",d!*d% 2d!*d#.d",d'"6d*%<d" dn'3.Nd+$ddl     c                     | j                   S )a  
        Gets the active_deadline_seconds of this V1PodSpec.
        Optional duration in seconds the pod may be active on the node relative
        to StartTime before the system will actively try to mark it failed and
        kill associated containers. Value must be a positive integer.

        :return: The active_deadline_seconds of this V1PodSpec.
        :rtype: int
        rC   rb   s    rc   r   z!V1PodSpec.active_deadline_seconds   s     (((re   c                     || _         y)a  
        Sets the active_deadline_seconds of this V1PodSpec.
        Optional duration in seconds the pod may be active on the node relative
        to StartTime before the system will actively try to mark it failed and
        kill associated containers. Value must be a positive integer.

        :param active_deadline_seconds: The active_deadline_seconds of this
        V1PodSpec.
        :type: int
        Nrg   )rb   r   s     rc   r   z!V1PodSpec.active_deadline_seconds   s     %<D!re   c                     | j                   S )z
        Gets the affinity of this V1PodSpec.
        If specified, the pod's scheduling constraints

        :return: The affinity of this V1PodSpec.
        :rtype: V1Affinity
        rD   rh   s    rc   r	   zV1PodSpec.affinity        >>re   c                     || _         y)z
        Sets the affinity of this V1PodSpec.
        If specified, the pod's scheduling constraints

        :param affinity: The affinity of this V1PodSpec.
        :type: V1Affinity
        Nrk   )rb   r	   s     rc   r	   zV1PodSpec.affinity       DNre   c                     | j                   S )a#  
        Gets the automount_service_account_token of this V1PodSpec.
        AutomountServiceAccountToken indicates whether a service account token
        should be automatically mounted.

        :return: The automount_service_account_token of this V1PodSpec.
        :rtype: bool
        rE   rh   s    rc   r   z)V1PodSpec.automount_service_account_token  s     000re   c                     || _         y)aI  
        Sets the automount_service_account_token of this V1PodSpec.
        AutomountServiceAccountToken indicates whether a service account token
        should be automatically mounted.

        :param automount_service_account_token: The
        automount_service_account_token of this V1PodSpec.
        :type: bool
        Nrp   )rb   r   s     rc   r   z)V1PodSpec.automount_service_account_token  s     -LD)re   c                     | j                   S )aB  
        Gets the containers of this V1PodSpec.
        List of containers belonging to the pod. Containers cannot currently be
        added or removed. There must be at least one container in a Pod. Cannot
        be updated.

        :return: The containers of this V1PodSpec.
        :rtype: list[V1Container]
        )rF   rh   s    rc   r   zV1PodSpec.containers,  s     re   c                 ,    |t        d      || _        y)aK  
        Sets the containers of this V1PodSpec.
        List of containers belonging to the pod. Containers cannot currently be
        added or removed. There must be at least one container in a Pod. Cannot
        be updated.

        :param containers: The containers of this V1PodSpec.
        :type: list[V1Container]
        Nz2Invalid value for `containers`, must not be `None`)
ValueErrorrF   )rb   r   s     rc   r   zV1PodSpec.containers9  s     KLL!Dre   c                     | j                   S )a"  
        Gets the dns_config of this V1PodSpec.
        Specifies the DNS parameters of a pod. Parameters specified here will be
        merged to the generated DNS configuration based on DNSPolicy.

        :return: The dns_config of this V1PodSpec.
        :rtype: V1PodDNSConfig
        rG   rh   s    rc   r   zV1PodSpec.dns_configI  s     re   c                     || _         y)a+  
        Sets the dns_config of this V1PodSpec.
        Specifies the DNS parameters of a pod. Parameters specified here will be
        merged to the generated DNS configuration based on DNSPolicy.

        :param dns_config: The dns_config of this V1PodSpec.
        :type: V1PodDNSConfig
        Nrv   )rb   r   s     rc   r   zV1PodSpec.dns_configU  s     "Dre   c                     | j                   S )a  
        Gets the dns_policy of this V1PodSpec.
        Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values
        are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS
        parameters given in DNSConfig will be merged with the policy selected
        with DNSPolicy. To have DNS options set along with hostNetwork, you have
        to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.

        :return: The dns_policy of this V1PodSpec.
        :rtype: str
        rH   rh   s    rc   r   zV1PodSpec.dns_policyb  s     re   c                     || _         y)a  
        Sets the dns_policy of this V1PodSpec.
        Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values
        are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS
        parameters given in DNSConfig will be merged with the policy selected
        with DNSPolicy. To have DNS options set along with hostNetwork, you have
        to specify DNS policy explicitly to 'ClusterFirstWithHostNet'.

        :param dns_policy: The dns_policy of this V1PodSpec.
        :type: str
        Nry   )rb   r   s     rc   r   zV1PodSpec.dns_policyq  s     "Dre   c                     | j                   S )ac  
        Gets the enable_service_links of this V1PodSpec.
        EnableServiceLinks indicates whether information about services should
        be injected into pod's environment variables, matching the syntax of
        Docker links. Optional: Defaults to true.

        :return: The enable_service_links of this V1PodSpec.
        :rtype: bool
        rI   rh   s    rc   r   zV1PodSpec.enable_service_links       %%%re   c                     || _         y)av  
        Sets the enable_service_links of this V1PodSpec.
        EnableServiceLinks indicates whether information about services should
        be injected into pod's environment variables, matching the syntax of
        Docker links. Optional: Defaults to true.

        :param enable_service_links: The enable_service_links of this V1PodSpec.
        :type: bool
        Nr|   )rb   r   s     rc   r   zV1PodSpec.enable_service_links       "6Dre   c                     | j                   S )aF  
        Gets the host_aliases of this V1PodSpec.
        HostAliases is an optional list of hosts and IPs that will be injected
        into the pod's hosts file if specified. This is only valid for
        non-hostNetwork pods.

        :return: The host_aliases of this V1PodSpec.
        :rtype: list[V1HostAlias]
        rJ   rh   s    rc   r   zV1PodSpec.host_aliases       re   c                     || _         y)aQ  
        Sets the host_aliases of this V1PodSpec.
        HostAliases is an optional list of hosts and IPs that will be injected
        into the pod's hosts file if specified. This is only valid for
        non-hostNetwork pods.

        :param host_aliases: The host_aliases of this V1PodSpec.
        :type: list[V1HostAlias]
        Nr   )rb   r   s     rc   r   zV1PodSpec.host_aliases       &Dre   c                     | j                   S )z
        Gets the host_ipc of this V1PodSpec.
        Use the host's ipc namespace. Optional: Default to false.

        :return: The host_ipc of this V1PodSpec.
        :rtype: bool
        rK   rh   s    rc   r   zV1PodSpec.host_ipc  rl   re   c                     || _         y)z
        Sets the host_ipc of this V1PodSpec.
        Use the host's ipc namespace. Optional: Default to false.

        :param host_ipc: The host_ipc of this V1PodSpec.
        :type: bool
        Nr   )rb   r   s     rc   r   zV1PodSpec.host_ipc  rn   re   c                     | j                   S )a?  
        Gets the host_network of this V1PodSpec.
        Host networking requested for this pod. Use the host's network
        namespace. If this option is set, the ports that will be used must be
        specified. Default to false.

        :return: The host_network of this V1PodSpec.
        :rtype: bool
        rL   rh   s    rc   r   zV1PodSpec.host_network  r   re   c                     || _         y)aJ  
        Sets the host_network of this V1PodSpec.
        Host networking requested for this pod. Use the host's network
        namespace. If this option is set, the ports that will be used must be
        specified. Default to false.

        :param host_network: The host_network of this V1PodSpec.
        :type: bool
        Nr   )rb   r   s     rc   r   zV1PodSpec.host_network  r   re   c                     | j                   S )z
        Gets the host_pid of this V1PodSpec.
        Use the host's pid namespace. Optional: Default to false.

        :return: The host_pid of this V1PodSpec.
        :rtype: bool
        rM   rh   s    rc   r   zV1PodSpec.host_pid  rl   re   c                     || _         y)z
        Sets the host_pid of this V1PodSpec.
        Use the host's pid namespace. Optional: Default to false.

        :param host_pid: The host_pid of this V1PodSpec.
        :type: bool
        Nr   )rb   r   s     rc   r   zV1PodSpec.host_pid  rn   re   c                     | j                   S )z
        Gets the hostname of this V1PodSpec.
        Specifies the hostname of the Pod If not specified, the pod's hostname
        will be set to a system-defined value.

        :return: The hostname of this V1PodSpec.
        :rtype: str
        rN   rh   s    rc   r   zV1PodSpec.hostname   s     >>re   c                     || _         y)a  
        Sets the hostname of this V1PodSpec.
        Specifies the hostname of the Pod If not specified, the pod's hostname
        will be set to a system-defined value.

        :param hostname: The hostname of this V1PodSpec.
        :type: str
        Nr   )rb   r   s     rc   r   zV1PodSpec.hostname  s     DNre   c                     | j                   S )a  
        Gets the image_pull_secrets of this V1PodSpec.
        ImagePullSecrets is an optional list of references to secrets in the
        same namespace to use for pulling any of the images used by this
        PodSpec. If specified, these secrets will be passed to individual puller
        implementations for them to use. For example, in the case of docker,
        only DockerConfig type secrets are honored. More info:
        https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod

        :return: The image_pull_secrets of this V1PodSpec.
        :rtype: list[V1LocalObjectReference]
        rO   rh   s    rc   r   zV1PodSpec.image_pull_secrets  s     ###re   c                     || _         y)a  
        Sets the image_pull_secrets of this V1PodSpec.
        ImagePullSecrets is an optional list of references to secrets in the
        same namespace to use for pulling any of the images used by this
        PodSpec. If specified, these secrets will be passed to individual puller
        implementations for them to use. For example, in the case of docker,
        only DockerConfig type secrets are honored. More info:
        https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod

        :param image_pull_secrets: The image_pull_secrets of this V1PodSpec.
        :type: list[V1LocalObjectReference]
        Nr   )rb   r   s     rc   r   zV1PodSpec.image_pull_secrets)  s      2Dre   c                     | j                   S )aU  
        Gets the init_containers of this V1PodSpec.
        List of initialization containers belonging to the pod. Init containers
        are executed in order prior to containers being started. If any init
        container fails, the pod is considered to have failed and is handled
        according to its restartPolicy. The name for an init container or normal
        container must be unique among all containers. Init containers may not
        have Lifecycle actions, Readiness probes, or Liveness probes. The
        resourceRequirements of an init container are taken into account during
        scheduling by finding the highest request/limit for each resource type,
        and then using the max of of that value or the sum of the normal
        containers. Limits are applied to init containers in a similar fashion.
        Init containers cannot currently be added or removed. Cannot be updated.
        More info:
        https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

        :return: The init_containers of this V1PodSpec.
        :rtype: list[V1Container]
        rP   rh   s    rc   r   zV1PodSpec.init_containers:  s    *    re   c                     || _         y)ac  
        Sets the init_containers of this V1PodSpec.
        List of initialization containers belonging to the pod. Init containers
        are executed in order prior to containers being started. If any init
        container fails, the pod is considered to have failed and is handled
        according to its restartPolicy. The name for an init container or normal
        container must be unique among all containers. Init containers may not
        have Lifecycle actions, Readiness probes, or Liveness probes. The
        resourceRequirements of an init container are taken into account during
        scheduling by finding the highest request/limit for each resource type,
        and then using the max of of that value or the sum of the normal
        containers. Limits are applied to init containers in a similar fashion.
        Init containers cannot currently be added or removed. Cannot be updated.
        More info:
        https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

        :param init_containers: The init_containers of this V1PodSpec.
        :type: list[V1Container]
        Nr   )rb   r   s     rc   r   zV1PodSpec.init_containersQ  s    , ,Dre   c                     | j                   S )aP  
        Gets the node_name of this V1PodSpec.
        NodeName is a request to schedule this pod onto a specific node. If it
        is non-empty, the scheduler simply schedules this pod onto that node,
        assuming that it fits resource requirements.

        :return: The node_name of this V1PodSpec.
        :rtype: str
        rQ   rh   s    rc   r   zV1PodSpec.node_namei       ??re   c                     || _         y)aX  
        Sets the node_name of this V1PodSpec.
        NodeName is a request to schedule this pod onto a specific node. If it
        is non-empty, the scheduler simply schedules this pod onto that node,
        assuming that it fits resource requirements.

        :param node_name: The node_name of this V1PodSpec.
        :type: str
        Nr   )rb   r   s     rc   r   zV1PodSpec.node_namev        DOre   c                     | j                   S )a  
        Gets the node_selector of this V1PodSpec.
        NodeSelector is a selector which must be true for the pod to fit on a
        node. Selector which must match a node's labels for the pod to be
        scheduled on that node. More info:
        https://kubernetes.io/docs/concepts/configuration/assign-pod-node/

        :return: The node_selector of this V1PodSpec.
        :rtype: dict(str, str)
        rR   rh   s    rc   r   zV1PodSpec.node_selector  s     re   c                     || _         y)a  
        Sets the node_selector of this V1PodSpec.
        NodeSelector is a selector which must be true for the pod to fit on a
        node. Selector which must match a node's labels for the pod to be
        scheduled on that node. More info:
        https://kubernetes.io/docs/concepts/configuration/assign-pod-node/

        :param node_selector: The node_selector of this V1PodSpec.
        :type: dict(str, str)
        Nr   )rb   r   s     rc   r   zV1PodSpec.node_selector  s     (Dre   c                     | j                   S )a  
        Gets the priority of this V1PodSpec.
        The priority value. Various system components use this field to find the
        priority of the pod. When Priority Admission Controller is enabled, it
        prevents users from setting this field. The admission controller
        populates this field from PriorityClassName. The higher the value, the
        higher the priority.

        :return: The priority of this V1PodSpec.
        :rtype: int
        rS   rh   s    rc   r   zV1PodSpec.priority  s     >>re   c                     || _         y)a  
        Sets the priority of this V1PodSpec.
        The priority value. Various system components use this field to find the
        priority of the pod. When Priority Admission Controller is enabled, it
        prevents users from setting this field. The admission controller
        populates this field from PriorityClassName. The higher the value, the
        higher the priority.

        :param priority: The priority of this V1PodSpec.
        :type: int
        Nr   )rb   r   s     rc   r   zV1PodSpec.priority  s     DNre   c                     | j                   S )a3  
        Gets the priority_class_name of this V1PodSpec.
        If specified, indicates the pod's priority. "system-node-critical" and
        "system-cluster-critical" are two special keywords which indicate the
        highest priorities with the former being the highest priority. Any other
        name must be defined by creating a PriorityClass object with that name.
        If not specified, the pod priority will be default or zero if there is
        no default.

        :return: The priority_class_name of this V1PodSpec.
        :rtype: str
        rT   rh   s    rc   r   zV1PodSpec.priority_class_name  s     $$$re   c                     || _         y)aE  
        Sets the priority_class_name of this V1PodSpec.
        If specified, indicates the pod's priority. "system-node-critical" and
        "system-cluster-critical" are two special keywords which indicate the
        highest priorities with the former being the highest priority. Any other
        name must be defined by creating a PriorityClass object with that name.
        If not specified, the pod priority will be default or zero if there is
        no default.

        :param priority_class_name: The priority_class_name of this V1PodSpec.
        :type: str
        Nr   )rb   r   s     rc   r   zV1PodSpec.priority_class_name  s     !4Dre   c                     | j                   S )a  
        Gets the readiness_gates of this V1PodSpec.
        If specified, all readiness gates will be evaluated for pod readiness. A
        pod is ready when all its containers are ready AND all conditions
        specified in the readiness gates have status equal to "True" More
        info:
        https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md

        :return: The readiness_gates of this V1PodSpec.
        :rtype: list[V1PodReadinessGate]
        rU   rh   s    rc   r   zV1PodSpec.readiness_gates  s        re   c                     || _         y)a  
        Sets the readiness_gates of this V1PodSpec.
        If specified, all readiness gates will be evaluated for pod readiness. A
        pod is ready when all its containers are ready AND all conditions
        specified in the readiness gates have status equal to "True" More
        info:
        https://git.k8s.io/enhancements/keps/sig-network/0007-pod-ready%2B%2B.md

        :param readiness_gates: The readiness_gates of this V1PodSpec.
        :type: list[V1PodReadinessGate]
        Nr   )rb   r   s     rc   r   zV1PodSpec.readiness_gates  s     ,Dre   c                     | j                   S )ab  
        Gets the restart_policy of this V1PodSpec.
        Restart policy for all containers within the pod. One of Always,
        OnFailure, Never. Default to Always. More info:
        https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy

        :return: The restart_policy of this V1PodSpec.
        :rtype: str
        rV   rh   s    rc   r    zV1PodSpec.restart_policy   s     re   c                     || _         y)ao  
        Sets the restart_policy of this V1PodSpec.
        Restart policy for all containers within the pod. One of Always,
        OnFailure, Never. Default to Always. More info:
        https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy

        :param restart_policy: The restart_policy of this V1PodSpec.
        :type: str
        Nr   )rb   r    s     rc   r    zV1PodSpec.restart_policy  s     *Dre   c                     | j                   S )a  
        Gets the runtime_class_name of this V1PodSpec.
        RuntimeClassName refers to a RuntimeClass object in the node.k8s.io
        group, which should be used to run this pod.  If no RuntimeClass
        resource matches the named class, the pod will not be run. If unset or
        empty, the "legacy" RuntimeClass will be used, which is an implicit
        class with an empty definition that uses the default runtime handler.
        More info:
        https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is
        an alpha feature and may change in the future.

        :return: The runtime_class_name of this V1PodSpec.
        :rtype: str
        rW   rh   s    rc   r!   zV1PodSpec.runtime_class_name  s      ###re   c                     || _         y)a  
        Sets the runtime_class_name of this V1PodSpec.
        RuntimeClassName refers to a RuntimeClass object in the node.k8s.io
        group, which should be used to run this pod.  If no RuntimeClass
        resource matches the named class, the pod will not be run. If unset or
        empty, the "legacy" RuntimeClass will be used, which is an implicit
        class with an empty definition that uses the default runtime handler.
        More info:
        https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md This is
        an alpha feature and may change in the future.

        :param runtime_class_name: The runtime_class_name of this V1PodSpec.
        :type: str
        Nr   )rb   r!   s     rc   r!   zV1PodSpec.runtime_class_name-  s    "  2Dre   c                     | j                   S )a  
        Gets the scheduler_name of this V1PodSpec.
        If specified, the pod will be dispatched by specified scheduler. If not
        specified, the pod will be dispatched by default scheduler.

        :return: The scheduler_name of this V1PodSpec.
        :rtype: str
        rX   rh   s    rc   r"   zV1PodSpec.scheduler_name@  s     re   c                     || _         y)a)  
        Sets the scheduler_name of this V1PodSpec.
        If specified, the pod will be dispatched by specified scheduler. If not
        specified, the pod will be dispatched by default scheduler.

        :param scheduler_name: The scheduler_name of this V1PodSpec.
        :type: str
        Nr   )rb   r"   s     rc   r"   zV1PodSpec.scheduler_nameL  s     *Dre   c                     | j                   S )a]  
        Gets the security_context of this V1PodSpec.
        SecurityContext holds pod-level security attributes and common container
        settings. Optional: Defaults to empty.  See type description for default
        values of each field.

        :return: The security_context of this V1PodSpec.
        :rtype: V1PodSecurityContext
        rY   rh   s    rc   r#   zV1PodSpec.security_contextY  s     !!!re   c                     || _         y)al  
        Sets the security_context of this V1PodSpec.
        SecurityContext holds pod-level security attributes and common container
        settings. Optional: Defaults to empty.  See type description for default
        values of each field.

        :param security_context: The security_context of this V1PodSpec.
        :type: V1PodSecurityContext
        Nr   )rb   r#   s     rc   r#   zV1PodSpec.security_contextf  s     .Dre   c                     | j                   S )a  
        Gets the service_account of this V1PodSpec.
        DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
        Deprecated: Use serviceAccountName instead.

        :return: The service_account of this V1PodSpec.
        :rtype: str
        rZ   rh   s    rc   r$   zV1PodSpec.service_accountt  s        re   c                     || _         y)a  
        Sets the service_account of this V1PodSpec.
        DeprecatedServiceAccount is a depreciated alias for ServiceAccountName.
        Deprecated: Use serviceAccountName instead.

        :param service_account: The service_account of this V1PodSpec.
        :type: str
        Nr   )rb   r$   s     rc   r$   zV1PodSpec.service_account  s     ,Dre   c                     | j                   S )aX  
        Gets the service_account_name of this V1PodSpec.
        ServiceAccountName is the name of the ServiceAccount to use to run this
        pod. More info:
        https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

        :return: The service_account_name of this V1PodSpec.
        :rtype: str
        r[   rh   s    rc   r%   zV1PodSpec.service_account_name  r}   re   c                     || _         y)ak  
        Sets the service_account_name of this V1PodSpec.
        ServiceAccountName is the name of the ServiceAccount to use to run this
        pod. More info:
        https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/

        :param service_account_name: The service_account_name of this V1PodSpec.
        :type: str
        Nr   )rb   r%   s     rc   r%   zV1PodSpec.service_account_name  r   re   c                     | j                   S )ao  
        Gets the share_process_namespace of this V1PodSpec.
        Share a single process namespace between all of the containers in a pod.
        When this is set containers will be able to view and signal processes
        from other containers in the same pod, and the first process in each
        container will not be assigned PID 1. HostPID and ShareProcessNamespace
        cannot both be set. Optional: Default to false. This field is beta-level
        and may be disabled with the PodShareProcessNamespace feature.

        :return: The share_process_namespace of this V1PodSpec.
        :rtype: bool
        r\   rh   s    rc   r&   z!V1PodSpec.share_process_namespace  s     (((re   c                     || _         y)a  
        Sets the share_process_namespace of this V1PodSpec.
        Share a single process namespace between all of the containers in a pod.
        When this is set containers will be able to view and signal processes
        from other containers in the same pod, and the first process in each
        container will not be assigned PID 1. HostPID and ShareProcessNamespace
        cannot both be set. Optional: Default to false. This field is beta-level
        and may be disabled with the PodShareProcessNamespace feature.

        :param share_process_namespace: The share_process_namespace of this
        V1PodSpec.
        :type: bool
        Nr   )rb   r&   s     rc   r&   z!V1PodSpec.share_process_namespace  s      %<D!re   c                     | j                   S )aI  
        Gets the subdomain of this V1PodSpec.
        If specified, the fully qualified Pod hostname will be
        "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not
        specified, the pod will not have a domainname at all.

        :return: The subdomain of this V1PodSpec.
        :rtype: str
        r]   rh   s    rc   r'   zV1PodSpec.subdomain  r   re   c                     || _         y)aQ  
        Sets the subdomain of this V1PodSpec.
        If specified, the fully qualified Pod hostname will be
        "<hostname>.<subdomain>.<pod namespace>.svc.<cluster domain>". If not
        specified, the pod will not have a domainname at all.

        :param subdomain: The subdomain of this V1PodSpec.
        :type: str
        Nr   )rb   r'   s     rc   r'   zV1PodSpec.subdomain  r   re   c                     | j                   S )a  
        Gets the termination_grace_period_seconds of this V1PodSpec.
        Optional duration in seconds the pod needs to terminate gracefully. May
        be decreased in delete request. Value must be non-negative integer. The
        value zero indicates delete immediately. If this value is nil, the
        default grace period will be used instead. The grace period is the
        duration in seconds after the processes running in the pod are sent a
        termination signal and the time when the processes are forcibly halted
        with a kill signal. Set this value longer than the expected cleanup time
        for your process. Defaults to 30 seconds.

        :return: The termination_grace_period_seconds of this V1PodSpec.
        :rtype: int
        r^   rh   s    rc   r(   z*V1PodSpec.termination_grace_period_seconds  s      111re   c                     || _         y)a)  
        Sets the termination_grace_period_seconds of this V1PodSpec.
        Optional duration in seconds the pod needs to terminate gracefully. May
        be decreased in delete request. Value must be non-negative integer. The
        value zero indicates delete immediately. If this value is nil, the
        default grace period will be used instead. The grace period is the
        duration in seconds after the processes running in the pod are sent a
        termination signal and the time when the processes are forcibly halted
        with a kill signal. Set this value longer than the expected cleanup time
        for your process. Defaults to 30 seconds.

        :param termination_grace_period_seconds: The
        termination_grace_period_seconds of this V1PodSpec.
        :type: int
        Nr   )rb   r(   s     rc   r(   z*V1PodSpec.termination_grace_period_seconds  s    $ .ND*re   c                     | j                   S )z
        Gets the tolerations of this V1PodSpec.
        If specified, the pod's tolerations.

        :return: The tolerations of this V1PodSpec.
        :rtype: list[V1Toleration]
        r_   rh   s    rc   r)   zV1PodSpec.tolerations  s     re   c                     || _         y)z
        Sets the tolerations of this V1PodSpec.
        If specified, the pod's tolerations.

        :param tolerations: The tolerations of this V1PodSpec.
        :type: list[V1Toleration]
        Nr   )rb   r)   s     rc   r)   zV1PodSpec.tolerations  s     $Dre   c                     | j                   S )a  
        Gets the volumes of this V1PodSpec.
        List of volumes that can be mounted by containers belonging to the pod.
        More info: https://kubernetes.io/docs/concepts/storage/volumes

        :return: The volumes of this V1PodSpec.
        :rtype: list[V1Volume]
        r`   rh   s    rc   r*   zV1PodSpec.volumes"  s     ==re   c                     || _         y)a"  
        Sets the volumes of this V1PodSpec.
        List of volumes that can be mounted by containers belonging to the pod.
        More info: https://kubernetes.io/docs/concepts/storage/volumes

        :param volumes: The volumes of this V1PodSpec.
        :type: list[V1Volume]
        Nr   )rb   r*   s     rc   r*   zV1PodSpec.volumes.  s     DMre   c                 j   i }t        | j                        D ]  \  }}t        | |      }t        |t              rt	        t        d |            ||<   <t        |d      r|j                         ||<   \t        |t              r(t        t        d |j                                     ||<   |||<    |S )z8
        Returns the model properties as a dict
        c                 >    t        | d      r| j                         S | S )Nto_dicthasattrr   )xs    rc   <lambda>z#V1PodSpec.to_dict.<locals>.<lambda>E  s    I)>!))+EAEre   r   c                 T    t        | d   d      r| d   | d   j                         fS | S )N   r   r   r   )items    rc   r   z#V1PodSpec.to_dict.<locals>.<lambda>K  s6    47I. #1gtAw'89 9489re   )
r   swagger_typesgetattr
isinstancelistmapr   r   dictitems)rb   resultattr_values        rc   r   zV1PodSpec.to_dict;  s     FT//0adD!e	E4	 EuMOt5)$}}teT"9:?++-IJt
 t 1 Mre   c                 4    t        | j                               S )z@
        Returns the string representation of the model
        )r   r   rh   s    rc   to_strzV1PodSpec.to_strR  s     4<<>""re   c                 "    | j                         S )z*
        For `print` and `pprint`
        )r   rh   s    rc   __repr__zV1PodSpec.__repr__X  s     ;;=re   c                 V    t        |t              sy| j                  |j                  k(  S )z8
        Returns true if both objects are equal
        F)r   r   __dict__rb   others     rc   __eq__zV1PodSpec.__eq__^  s$     eY'==ENN**re   c                     | |k(   S )z<
        Returns true if both objects are not equal
         r   s     rc   __ne__zV1PodSpec.__ne__g  s     u}re   )NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN),__name__
__module____qualname____doc__r   attribute_maprd   propertyr   setterr	   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r    r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   r   r   r   r   r   r   re   rc   r   r      s   , ( '	
 $ E f ) & f & % : , 5  '!" %#$ #3!0#!'*/)!=-B!8* ()G L	
 K K 2 m ) m ) * . ) :  ~!" *#$ 1)'.'+)2!8*I"=-D (,/3$(  "&#!#'#""&" $#$('+04=}~ 
) 
) !!< "<   ??	 	 	1 	1 #))L *L 
 
 " " 	 	 
" 
"   " " 
& 
& 6 6 
 
 & &   ??	 	 
 
 & &   ??	 	 	 	 ??
 
 $ $ 2 2  ! !, , ,. 
 
       ( (   ??  % % 4 4  ! ! , , 
  
  * * $ $" 2 2$ 	  	  
* 
* 
" 
" . . 	! 	! 
, 
, 
& 
& 6 6 ) ) !!< "<" 
 
     2 2" $**N +N&   	$ 	$ 	 	 >>
 
.#+re   r   )r   pprintr   sixr   reobjectr   r   re   rc   <module>r      s#   	   	Y Yre   