Source code for contentful_management.preview_api_keys_proxy

from .client_proxy import ClientProxy
from .preview_api_key import PreviewApiKey


"""
contentful_management.preview_api_keys_proxy
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

This module implements the PreviewApiKeysProxy class.

API reference: https://www.contentful.com/developers/docs/references/content-management-api/#/reference/api-keys

:copyright: (c) 2018 by Contentful GmbH.
:license: MIT, see LICENSE for more details.
"""


[docs]class PreviewApiKeysProxy(ClientProxy): @property def _resource_class(self): return PreviewApiKey
[docs] def create(*args, **kwargs): """ Not supported. """ raise Exception("Not Supported")
[docs] def delete(*args, **kwargs): """ Not supported. """ raise Exception("Not Supported")