# autogenerated module
from typing import ClassVar

from ..core import resource as res
from ..models import coordination_v1beta1 as m_coordination_v1beta1


class Lease(res.NamespacedResourceG, m_coordination_v1beta1.Lease):
    """* **Extends**: ``models.coordination_v1beta1.Lease``
       * **Type**: Namespaced Resource
       * **Accepted client methods**: `delete`, `deletecollection`, `get`, `list` all, `watch` all, `list`, `patch`, `create`, `replace`, `watch`
    """
    _api_info = res.ApiInfo(
        resource=res.ResourceDef('coordination.k8s.io', 'v1beta1', 'Lease'),
        plural='leases',
        verbs=['delete', 'deletecollection', 'get', 'global_list', 'global_watch', 'list', 'patch', 'post', 'put', 'watch'],
    )

