ds_provider_simployer_py_lib.endpoint_info ========================================== .. py:module:: ds_provider_simployer_py_lib.endpoint_info .. autoapi-nested-parse:: Endpoint information for Simployer data products. This module centralizes endpoint URLs and supported HTTP methods. Attributes ---------- .. autoapisummary:: ds_provider_simployer_py_lib.endpoint_info.ENDPOINTS Classes ------- .. autoapisummary:: ds_provider_simployer_py_lib.endpoint_info.EndpointInfo Module Contents --------------- .. py:class:: EndpointInfo(name: str, url: str, methods: list[str], description: str | None = None) .. py:attribute:: name .. py:attribute:: url .. py:attribute:: methods .. py:attribute:: description :value: None .. py:method:: get_endpoint_for_product(data_product: ds_provider_simployer_py_lib.enums.SimployerDataProducts) -> str | None :staticmethod: Returns the endpoint URL for a given SimployerDataProducts value. If the data product is not found, returns None. :param data_product: The SimployerDataProducts enum value for which to retrieve the endpoint URL. :return: The endpoint URL as a string if found, otherwise None. .. py:method:: supports_method(data_product: ds_provider_simployer_py_lib.enums.SimployerDataProducts, method: str) -> bool :staticmethod: Returns True if the given HTTP method is supported for the specified SimployerDataProducts value, False otherwise. If the data product is not found, returns False. :param data_product: The SimployerDataProducts enum value for which to check method support. :param method: The HTTP method to check (e.g., "GET", "POST", "PUT", "DELETE"). :return: True if the method is supported for the data product, False otherwise. .. py:data:: ENDPOINTS