Skip to content

Commit 4146dc4

Browse files
committed
Merge pull request salesforce-marketingcloud#56 from janua/new-types
Add new object query types
2 parents e06cf79 + 4c1b994 commit 4146dc4

File tree

1 file changed

+22
-2
lines changed

1 file changed

+22
-2
lines changed

FuelSDK/objects.py

+22-2
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,35 @@ def __init__(self):
8787
## wrap an Exact Target List and List Subscriber
8888
##
8989
########
90+
class ET_Group(ET_CUDSupport):
91+
def __init__(self):
92+
super(ET_Group, self).__init__()
93+
self.obj_type = 'Group'
94+
95+
class ET_Send(ET_CUDSupport):
96+
def __init__(self):
97+
super(ET_Send, self).__init__()
98+
self.obj_type = 'Send'
99+
100+
class ET_ListSend(ET_CUDSupport):
101+
def __init__(self):
102+
super(ET_ListSend, self).__init__()
103+
self.obj_type = 'ListSend'
104+
90105
class ET_List(ET_CUDSupport):
91106
def __init__(self):
92107
super(ET_List, self).__init__()
93108
self.obj_type = 'List'
94-
109+
95110
class ET_List_Subscriber(ET_GetSupport):
96111
def __init__(self):
97112
super(ET_List_Subscriber, self).__init__()
98-
self.obj_type = 'ListSubscriber'
113+
self.obj_type = 'ListSubscriber'
114+
115+
class ET_SubscriberList(ET_GetSupport):
116+
def __init__(self):
117+
super(ET_Subscriber_List, self).__init__()
118+
self.obj_type = 'SubscriberList'
99119

100120
class ET_SentEvent(ET_GetSupport):
101121
def __init__(self):

0 commit comments

Comments
 (0)