(self, search_key, data, metadata={}, parent_key=None,
                      info={}, use_id=False, triggers=True)
return self.server.insert_update(self.ticket, search_key, data, metadata,
                                       parent_key, info, use_id, triggers)
API Function: insert_update(search_key, data, metadata={}, parent_key=None, info={}, use_id=False, triggers=True)

        Insert if the entry does not exist, update otherwise

        @param:
        search_key - a unique identifier key representing an sobject.
        data - a dictionary of name/value pairs which will be used to update
            the sobject defined by the search_key

        @keyparam:
        metadata - a dictionary of values that will be stored in the metadata attribute if available
        parent_key - set the parent key for this sobject
        info - a dictionary of info to pass to the ApiClientCmd
        use_id - use id in the returned search key
        triggers - boolean to fire trigger on insert

        
        @return:
        dictionary - represent the sobject with its current data.
API Function: insert_update(search_key, data, metadata={}, parent_key=None, info={}, use_id=False, triggers=True)
API Function : insert_update ( search_key data metadata = {} parent_key = None info = {} use_id = False triggers = True )
def insert_update(self, search_key, data, metadata={}, parent_key=None,
                      info={}, use_id=False, triggers=True):
        '''API Function: insert_update(search_key, data, metadata={}, parent_key=None, info={}, use_id=False, triggers=True)

        Insert if the entry does not exist, update otherwise

        @param:
        search_key - a unique identifier key representing an sobject.
        data - a dictionary of name/value pairs which will be used to update
            the sobject defined by the search_key

        @keyparam:
        metadata - a dictionary of values that will be stored in the metadata attribute if available
        parent_key - set the parent key for this sobject
        info - a dictionary of info to pass to the ApiClientCmd
        use_id - use id in the returned search key
        triggers - boolean to fire trigger on insert

        
        @return:
        dictionary - represent the sobject with its current data.
        '''
        return self.server.insert_update(self.ticket, search_key, data, metadata,
                                       parent_key, info, use_id, triggers)
def insert_update ( self , search_key , data , metadata = { } , parent_key = None , info = { } , use_id = False , triggers = True ) : return self . server . insert_update ( self . ticket , search_key , data , metadata , parent_key , info , use_id , triggers )