def add(self):
     """Creates a Contact resource"""
     contact = Contact(self.context)
     qry = ClientQuery.create_entry_query(self, contact)
     self.context.add_query(qry, contact)
     self.add_child(contact)
     return contact
 def add(self, list_creation_information):
     """Creates a List resource"""
     list_entry = List(self.context)
     qry = ClientQuery.create_entry_query(self, list_creation_information)
     self.context.add_query(qry, list_entry)
     self.add_child(list_entry)
     return list_entry
 def add_from_json(self, event_creation_information):
     """Creates a Event resource from JSON"""
     event = Event(self.context)
     qry = ClientQuery.create_entry_query(self, event_creation_information)
     self.context.add_query(qry, event)
     self.add_child(event)
     return event
 def add_from_json(self, contact_creation_information):
     """Creates a Contact resource from JSON"""
     contact = Contact(self.context)
     qry = ClientQuery.create_entry_query(self,
                                          contact_creation_information)
     self.context.add_query(qry, contact)
     self.add_child(contact)
     return contact