@classmethod
def list(cls, endpoint, api, params=None):
    """
        Process GET rest operations
        """
    if params is not None:
        return api.get(endpoint, params)
    elif params is None:
        return api.get(endpoint)
