Files
pillar-python-sdk/pillarsdk/activities.py

23 lines
547 B
Python

from .resource import List
from .resource import Find
from .resource import Update
from .resource import Create
class Activity(List, Find, Update):
"""Activities class wrapping the REST activities endpoint
"""
path = "activities"
class ActivitySubscription(List, Find, Update):
"""Activity-subscription class wrapping the REST endpoint
"""
path = "activities-subscriptions"
class Notification(List, Find, Update):
"""Notifications class wrapping the REST notifications endpoint
"""
path = "notifications"