Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self.stores.products.variants = StoreProductVariants(self)
self.stores.promo_rules = StorePromoRules(self)
self.stores.promo_codes = StorePromoCodes(self)
# File Manager Files
self.files = FileManagerFiles(self)
# File Manager Folders
self.folders = FileManagerFolders(self)
# Landinge Pages
self.landing_pages = LandingPages(self)
self.landing_pages.actions = LandingPageAction(self)
self.landing_pages.content = LandingPageContent(self)
# Lists
self.lists = Lists(self)
self.lists.abuse_reports = ListAbuseReports(self)
self.lists.activity = ListActivity(self)
self.lists.clients = ListClients(self)
self.lists.growth_history = ListGrowthHistory(self)
self.lists.interest_categories = ListInterestCategories(self)
self.lists.interest_categories.interests = ListInterestCategoryInterest(self)
self.lists.members = ListMembers(self)
self.lists.members.activity = ListMemberActivity(self)
self.lists.members.goals = ListMemberGoals(self)
self.lists.members.notes = ListMemberNotes(self)
self.lists.members.tags = ListMemberTags(self)
self.lists.merge_fields = ListMergeFields(self)
self.lists.segments = ListSegments(self)
self.lists.segments.members = ListSegmentMembers(self)
self.lists.signup_forms = ListSignupForms(self)
self.lists.webhooks = ListWebhooks(self)
# Ping
self.ping = Ping(self)
# Reports
def __init__(self, *args, **kwargs):
"""
Initialize the endpoint
"""
super(Lists, self).__init__(*args, **kwargs)
self.endpoint = 'lists'
self.list_id = None
self.abuse_reports = ListAbuseReports(self)
self.activity = ListActivity(self)
self.clients = ListClients(self)
self.growth_history = ListGrowthHistory(self)
self.interest_categories = ListInterestCategories(self)
self.members = ListMembers(self)
self.merge_fields = ListMergeFields(self)
self.segments = ListSegments(self)
self.signup_forms = ListSignupForms(self)
self.webhooks = ListWebhooks(self)
def __init__(self, *args, **kwargs):
"""
Initialize the endpoint
"""
super(ListClients, self).__init__(*args, **kwargs)
self.endpoint = 'lists'
self.list_id = None