authenticateToSharedNotebook(shareKey, authenticationToken)
click to toggle source
def authenticateToSharedNotebook(shareKey, authenticationToken)
send_authenticateToSharedNotebook(shareKey, authenticationToken)
return recv_authenticateToSharedNotebook()
end
copyNote(authenticationToken, noteGuid, toNotebookGuid)
click to toggle source
def copyNote(authenticationToken, noteGuid, toNotebookGuid)
send_copyNote(authenticationToken, noteGuid, toNotebookGuid)
return recv_copyNote()
end
createLinkedNotebook(authenticationToken, linkedNotebook)
click to toggle source
def createLinkedNotebook(authenticationToken, linkedNotebook)
send_createLinkedNotebook(authenticationToken, linkedNotebook)
return recv_createLinkedNotebook()
end
createNote(authenticationToken, note)
click to toggle source
def createNote(authenticationToken, note)
send_createNote(authenticationToken, note)
return recv_createNote()
end
createNotebook(authenticationToken, notebook)
click to toggle source
def createNotebook(authenticationToken, notebook)
send_createNotebook(authenticationToken, notebook)
return recv_createNotebook()
end
createSearch(authenticationToken, search)
click to toggle source
def createSearch(authenticationToken, search)
send_createSearch(authenticationToken, search)
return recv_createSearch()
end
createSharedNotebook(authenticationToken, sharedNotebook)
click to toggle source
def createSharedNotebook(authenticationToken, sharedNotebook)
send_createSharedNotebook(authenticationToken, sharedNotebook)
return recv_createSharedNotebook()
end
createTag(authenticationToken, tag)
click to toggle source
def createTag(authenticationToken, tag)
send_createTag(authenticationToken, tag)
return recv_createTag()
end
deleteNote(authenticationToken, guid)
click to toggle source
def deleteNote(authenticationToken, guid)
send_deleteNote(authenticationToken, guid)
return recv_deleteNote()
end
emailNote(authenticationToken, parameters)
click to toggle source
def emailNote(authenticationToken, parameters)
send_emailNote(authenticationToken, parameters)
recv_emailNote()
end
expungeInactiveNotes(authenticationToken)
click to toggle source
def expungeInactiveNotes(authenticationToken)
send_expungeInactiveNotes(authenticationToken)
return recv_expungeInactiveNotes()
end
expungeLinkedNotebook(authenticationToken, linkedNotebookId)
click to toggle source
def expungeLinkedNotebook(authenticationToken, linkedNotebookId)
send_expungeLinkedNotebook(authenticationToken, linkedNotebookId)
return recv_expungeLinkedNotebook()
end
expungeNote(authenticationToken, guid)
click to toggle source
def expungeNote(authenticationToken, guid)
send_expungeNote(authenticationToken, guid)
return recv_expungeNote()
end
expungeNotebook(authenticationToken, guid)
click to toggle source
def expungeNotebook(authenticationToken, guid)
send_expungeNotebook(authenticationToken, guid)
return recv_expungeNotebook()
end
expungeNotes(authenticationToken, noteGuids)
click to toggle source
def expungeNotes(authenticationToken, noteGuids)
send_expungeNotes(authenticationToken, noteGuids)
return recv_expungeNotes()
end
expungeSearch(authenticationToken, guid)
click to toggle source
def expungeSearch(authenticationToken, guid)
send_expungeSearch(authenticationToken, guid)
return recv_expungeSearch()
end
expungeSharedNotebooks(authenticationToken, sharedNotebookIds)
click to toggle source
def expungeSharedNotebooks(authenticationToken, sharedNotebookIds)
send_expungeSharedNotebooks(authenticationToken, sharedNotebookIds)
return recv_expungeSharedNotebooks()
end
expungeTag(authenticationToken, guid)
click to toggle source
def expungeTag(authenticationToken, guid)
send_expungeTag(authenticationToken, guid)
return recv_expungeTag()
end
findNoteCounts(authenticationToken, filter, withTrash)
click to toggle source
def findNoteCounts(authenticationToken, filter, withTrash)
send_findNoteCounts(authenticationToken, filter, withTrash)
return recv_findNoteCounts()
end
findNotes(authenticationToken, filter, offset, maxNotes)
click to toggle source
def findNotes(authenticationToken, filter, offset, maxNotes)
send_findNotes(authenticationToken, filter, offset, maxNotes)
return recv_findNotes()
end
getAccountSize(authenticationToken)
click to toggle source
def getAccountSize(authenticationToken)
send_getAccountSize(authenticationToken)
return recv_getAccountSize()
end
getAds(authenticationToken, adParameters)
click to toggle source
def getAds(authenticationToken, adParameters)
send_getAds(authenticationToken, adParameters)
return recv_getAds()
end
getDefaultNotebook(authenticationToken)
click to toggle source
def getDefaultNotebook(authenticationToken)
send_getDefaultNotebook(authenticationToken)
return recv_getDefaultNotebook()
end
getNote(authenticationToken, guid, withContent, withResourcesData, withResourcesRecognition, withResourcesAlternateData)
click to toggle source
def getNote(authenticationToken, guid, withContent, withResourcesData, withResourcesRecognition, withResourcesAlternateData)
send_getNote(authenticationToken, guid, withContent, withResourcesData, withResourcesRecognition, withResourcesAlternateData)
return recv_getNote()
end
getNoteContent(authenticationToken, guid)
click to toggle source
def getNoteContent(authenticationToken, guid)
send_getNoteContent(authenticationToken, guid)
return recv_getNoteContent()
end
getNoteSearchText(authenticationToken, guid)
click to toggle source
def getNoteSearchText(authenticationToken, guid)
send_getNoteSearchText(authenticationToken, guid)
return recv_getNoteSearchText()
end
getNoteTagNames(authenticationToken, guid)
click to toggle source
def getNoteTagNames(authenticationToken, guid)
send_getNoteTagNames(authenticationToken, guid)
return recv_getNoteTagNames()
end
getNoteVersion(authenticationToken, noteGuid, updateSequenceNum, withResourcesData, withResourcesRecognition, withResourcesAlternateData)
click to toggle source
def getNoteVersion(authenticationToken, noteGuid, updateSequenceNum, withResourcesData, withResourcesRecognition, withResourcesAlternateData)
send_getNoteVersion(authenticationToken, noteGuid, updateSequenceNum, withResourcesData, withResourcesRecognition, withResourcesAlternateData)
return recv_getNoteVersion()
end
getNotebook(authenticationToken, guid)
click to toggle source
def getNotebook(authenticationToken, guid)
send_getNotebook(authenticationToken, guid)
return recv_getNotebook()
end
getPublicNotebook(userId, publicUri)
click to toggle source
def getPublicNotebook(userId, publicUri)
send_getPublicNotebook(userId, publicUri)
return recv_getPublicNotebook()
end
getRandomAd(authenticationToken, adParameters)
click to toggle source
def getRandomAd(authenticationToken, adParameters)
send_getRandomAd(authenticationToken, adParameters)
return recv_getRandomAd()
end
getResource(authenticationToken, guid, withData, withRecognition, withAttributes, withAlternateData)
click to toggle source
def getResource(authenticationToken, guid, withData, withRecognition, withAttributes, withAlternateData)
send_getResource(authenticationToken, guid, withData, withRecognition, withAttributes, withAlternateData)
return recv_getResource()
end
getResourceAlternateData(authenticationToken, guid)
click to toggle source
def getResourceAlternateData(authenticationToken, guid)
send_getResourceAlternateData(authenticationToken, guid)
return recv_getResourceAlternateData()
end
getResourceAttributes(authenticationToken, guid)
click to toggle source
def getResourceAttributes(authenticationToken, guid)
send_getResourceAttributes(authenticationToken, guid)
return recv_getResourceAttributes()
end
getResourceByHash(authenticationToken, noteGuid, contentHash, withData, withRecognition, withAlternateData)
click to toggle source
def getResourceByHash(authenticationToken, noteGuid, contentHash, withData, withRecognition, withAlternateData)
send_getResourceByHash(authenticationToken, noteGuid, contentHash, withData, withRecognition, withAlternateData)
return recv_getResourceByHash()
end
getResourceData(authenticationToken, guid)
click to toggle source
def getResourceData(authenticationToken, guid)
send_getResourceData(authenticationToken, guid)
return recv_getResourceData()
end
getResourceRecognition(authenticationToken, guid)
click to toggle source
def getResourceRecognition(authenticationToken, guid)
send_getResourceRecognition(authenticationToken, guid)
return recv_getResourceRecognition()
end
getSearch(authenticationToken, guid)
click to toggle source
def getSearch(authenticationToken, guid)
send_getSearch(authenticationToken, guid)
return recv_getSearch()
end
getSharedNotebookByAuth(authenticationToken)
click to toggle source
def getSharedNotebookByAuth(authenticationToken)
send_getSharedNotebookByAuth(authenticationToken)
return recv_getSharedNotebookByAuth()
end
getSyncChunk(authenticationToken, afterUSN, maxEntries, fullSyncOnly)
click to toggle source
def getSyncChunk(authenticationToken, afterUSN, maxEntries, fullSyncOnly)
send_getSyncChunk(authenticationToken, afterUSN, maxEntries, fullSyncOnly)
return recv_getSyncChunk()
end
getSyncState(authenticationToken)
click to toggle source
def getSyncState(authenticationToken)
send_getSyncState(authenticationToken)
return recv_getSyncState()
end
getTag(authenticationToken, guid)
click to toggle source
def getTag(authenticationToken, guid)
send_getTag(authenticationToken, guid)
return recv_getTag()
end
listLinkedNotebooks(authenticationToken)
click to toggle source
def listLinkedNotebooks(authenticationToken)
send_listLinkedNotebooks(authenticationToken)
return recv_listLinkedNotebooks()
end
listNoteVersions(authenticationToken, noteGuid)
click to toggle source
def listNoteVersions(authenticationToken, noteGuid)
send_listNoteVersions(authenticationToken, noteGuid)
return recv_listNoteVersions()
end
listNotebooks(authenticationToken)
click to toggle source
def listNotebooks(authenticationToken)
send_listNotebooks(authenticationToken)
return recv_listNotebooks()
end
listSearches(authenticationToken)
click to toggle source
def listSearches(authenticationToken)
send_listSearches(authenticationToken)
return recv_listSearches()
end
listSharedNotebooks(authenticationToken)
click to toggle source
def listSharedNotebooks(authenticationToken)
send_listSharedNotebooks(authenticationToken)
return recv_listSharedNotebooks()
end
recv_authenticateToSharedNotebook()
click to toggle source
def recv_authenticateToSharedNotebook()
result = receive_message(AuthenticateToSharedNotebook_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'authenticateToSharedNotebook failed: unknown result')
end
recv_copyNote()
click to toggle source
def recv_copyNote()
result = receive_message(CopyNote_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'copyNote failed: unknown result')
end
recv_createLinkedNotebook()
click to toggle source
def recv_createLinkedNotebook()
result = receive_message(CreateLinkedNotebook_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createLinkedNotebook failed: unknown result')
end
recv_createNote()
click to toggle source
def recv_createNote()
result = receive_message(CreateNote_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createNote failed: unknown result')
end
recv_createNotebook()
click to toggle source
def recv_createNotebook()
result = receive_message(CreateNotebook_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createNotebook failed: unknown result')
end
recv_createSearch()
click to toggle source
def recv_createSearch()
result = receive_message(CreateSearch_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createSearch failed: unknown result')
end
recv_createSharedNotebook()
click to toggle source
def recv_createSharedNotebook()
result = receive_message(CreateSharedNotebook_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createSharedNotebook failed: unknown result')
end
recv_createTag()
click to toggle source
def recv_createTag()
result = receive_message(CreateTag_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'createTag failed: unknown result')
end
recv_deleteNote()
click to toggle source
def recv_deleteNote()
result = receive_message(DeleteNote_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'deleteNote failed: unknown result')
end
recv_emailNote()
click to toggle source
def recv_emailNote()
result = receive_message(EmailNote_result)
raise result.userException unless result.userException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise result.systemException unless result.systemException.nil?
return
end
recv_expungeInactiveNotes()
click to toggle source
def recv_expungeInactiveNotes()
result = receive_message(ExpungeInactiveNotes_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'expungeInactiveNotes failed: unknown result')
end
recv_expungeLinkedNotebook()
click to toggle source
def recv_expungeLinkedNotebook()
result = receive_message(ExpungeLinkedNotebook_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'expungeLinkedNotebook failed: unknown result')
end
recv_expungeNote()
click to toggle source
def recv_expungeNote()
result = receive_message(ExpungeNote_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'expungeNote failed: unknown result')
end
recv_expungeNotebook()
click to toggle source
def recv_expungeNotebook()
result = receive_message(ExpungeNotebook_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'expungeNotebook failed: unknown result')
end
recv_expungeNotes()
click to toggle source
def recv_expungeNotes()
result = receive_message(ExpungeNotes_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'expungeNotes failed: unknown result')
end
recv_expungeSearch()
click to toggle source
def recv_expungeSearch()
result = receive_message(ExpungeSearch_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'expungeSearch failed: unknown result')
end
recv_expungeSharedNotebooks()
click to toggle source
def recv_expungeSharedNotebooks()
result = receive_message(ExpungeSharedNotebooks_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'expungeSharedNotebooks failed: unknown result')
end
recv_expungeTag()
click to toggle source
def recv_expungeTag()
result = receive_message(ExpungeTag_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'expungeTag failed: unknown result')
end
recv_findNoteCounts()
click to toggle source
def recv_findNoteCounts()
result = receive_message(FindNoteCounts_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'findNoteCounts failed: unknown result')
end
recv_findNotes()
click to toggle source
def recv_findNotes()
result = receive_message(FindNotes_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'findNotes failed: unknown result')
end
recv_getAccountSize()
click to toggle source
def recv_getAccountSize()
result = receive_message(GetAccountSize_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getAccountSize failed: unknown result')
end
recv_getAds()
click to toggle source
def recv_getAds()
result = receive_message(GetAds_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getAds failed: unknown result')
end
recv_getDefaultNotebook()
click to toggle source
def recv_getDefaultNotebook()
result = receive_message(GetDefaultNotebook_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getDefaultNotebook failed: unknown result')
end
recv_getNote()
click to toggle source
def recv_getNote()
result = receive_message(GetNote_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getNote failed: unknown result')
end
recv_getNoteContent()
click to toggle source
def recv_getNoteContent()
result = receive_message(GetNoteContent_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getNoteContent failed: unknown result')
end
recv_getNoteSearchText()
click to toggle source
def recv_getNoteSearchText()
result = receive_message(GetNoteSearchText_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getNoteSearchText failed: unknown result')
end
recv_getNoteTagNames()
click to toggle source
def recv_getNoteTagNames()
result = receive_message(GetNoteTagNames_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getNoteTagNames failed: unknown result')
end
recv_getNoteVersion()
click to toggle source
def recv_getNoteVersion()
result = receive_message(GetNoteVersion_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getNoteVersion failed: unknown result')
end
recv_getNotebook()
click to toggle source
def recv_getNotebook()
result = receive_message(GetNotebook_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getNotebook failed: unknown result')
end
recv_getPublicNotebook()
click to toggle source
def recv_getPublicNotebook()
result = receive_message(GetPublicNotebook_result)
return result.success unless result.success.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getPublicNotebook failed: unknown result')
end
recv_getRandomAd()
click to toggle source
def recv_getRandomAd()
result = receive_message(GetRandomAd_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getRandomAd failed: unknown result')
end
recv_getResource()
click to toggle source
def recv_getResource()
result = receive_message(GetResource_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getResource failed: unknown result')
end
recv_getResourceAlternateData()
click to toggle source
def recv_getResourceAlternateData()
result = receive_message(GetResourceAlternateData_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getResourceAlternateData failed: unknown result')
end
recv_getResourceAttributes()
click to toggle source
def recv_getResourceAttributes()
result = receive_message(GetResourceAttributes_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getResourceAttributes failed: unknown result')
end
recv_getResourceByHash()
click to toggle source
def recv_getResourceByHash()
result = receive_message(GetResourceByHash_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getResourceByHash failed: unknown result')
end
recv_getResourceData()
click to toggle source
def recv_getResourceData()
result = receive_message(GetResourceData_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getResourceData failed: unknown result')
end
recv_getResourceRecognition()
click to toggle source
def recv_getResourceRecognition()
result = receive_message(GetResourceRecognition_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getResourceRecognition failed: unknown result')
end
recv_getSearch()
click to toggle source
def recv_getSearch()
result = receive_message(GetSearch_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSearch failed: unknown result')
end
recv_getSharedNotebookByAuth()
click to toggle source
def recv_getSharedNotebookByAuth()
result = receive_message(GetSharedNotebookByAuth_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSharedNotebookByAuth failed: unknown result')
end
recv_getSyncChunk()
click to toggle source
def recv_getSyncChunk()
result = receive_message(GetSyncChunk_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSyncChunk failed: unknown result')
end
recv_getSyncState()
click to toggle source
def recv_getSyncState()
result = receive_message(GetSyncState_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getSyncState failed: unknown result')
end
recv_getTag()
click to toggle source
def recv_getTag()
result = receive_message(GetTag_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'getTag failed: unknown result')
end
recv_listLinkedNotebooks()
click to toggle source
def recv_listLinkedNotebooks()
result = receive_message(ListLinkedNotebooks_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'listLinkedNotebooks failed: unknown result')
end
recv_listNoteVersions()
click to toggle source
def recv_listNoteVersions()
result = receive_message(ListNoteVersions_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'listNoteVersions failed: unknown result')
end
recv_listNotebooks()
click to toggle source
def recv_listNotebooks()
result = receive_message(ListNotebooks_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'listNotebooks failed: unknown result')
end
recv_listSearches()
click to toggle source
def recv_listSearches()
result = receive_message(ListSearches_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'listSearches failed: unknown result')
end
recv_listSharedNotebooks()
click to toggle source
def recv_listSharedNotebooks()
result = receive_message(ListSharedNotebooks_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'listSharedNotebooks failed: unknown result')
end
recv_untagAll()
click to toggle source
def recv_untagAll()
result = receive_message(UntagAll_result)
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
return
end
recv_updateLinkedNotebook()
click to toggle source
def recv_updateLinkedNotebook()
result = receive_message(UpdateLinkedNotebook_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise result.systemException unless result.systemException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateLinkedNotebook failed: unknown result')
end
recv_updateNote()
click to toggle source
def recv_updateNote()
result = receive_message(UpdateNote_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateNote failed: unknown result')
end
recv_updateNotebook()
click to toggle source
def recv_updateNotebook()
result = receive_message(UpdateNotebook_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateNotebook failed: unknown result')
end
recv_updateResource()
click to toggle source
def recv_updateResource()
result = receive_message(UpdateResource_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateResource failed: unknown result')
end
recv_updateSearch()
click to toggle source
def recv_updateSearch()
result = receive_message(UpdateSearch_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateSearch failed: unknown result')
end
recv_updateTag()
click to toggle source
def recv_updateTag()
result = receive_message(UpdateTag_result)
return result.success unless result.success.nil?
raise result.userException unless result.userException.nil?
raise result.systemException unless result.systemException.nil?
raise result.notFoundException unless result.notFoundException.nil?
raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'updateTag failed: unknown result')
end
send_authenticateToSharedNotebook(shareKey, authenticationToken)
click to toggle source
def send_authenticateToSharedNotebook(shareKey, authenticationToken)
send_message('authenticateToSharedNotebook', AuthenticateToSharedNotebook_args, :shareKey => shareKey, :authenticationToken => authenticationToken)
end
send_copyNote(authenticationToken, noteGuid, toNotebookGuid)
click to toggle source
def send_copyNote(authenticationToken, noteGuid, toNotebookGuid)
send_message('copyNote', CopyNote_args, :authenticationToken => authenticationToken, :noteGuid => noteGuid, :toNotebookGuid => toNotebookGuid)
end
send_createLinkedNotebook(authenticationToken, linkedNotebook)
click to toggle source
def send_createLinkedNotebook(authenticationToken, linkedNotebook)
send_message('createLinkedNotebook', CreateLinkedNotebook_args, :authenticationToken => authenticationToken, :linkedNotebook => linkedNotebook)
end
send_createNote(authenticationToken, note)
click to toggle source
def send_createNote(authenticationToken, note)
send_message('createNote', CreateNote_args, :authenticationToken => authenticationToken, :note => note)
end
send_createNotebook(authenticationToken, notebook)
click to toggle source
def send_createNotebook(authenticationToken, notebook)
send_message('createNotebook', CreateNotebook_args, :authenticationToken => authenticationToken, :notebook => notebook)
end
send_createSearch(authenticationToken, search)
click to toggle source
def send_createSearch(authenticationToken, search)
send_message('createSearch', CreateSearch_args, :authenticationToken => authenticationToken, :search => search)
end
send_createSharedNotebook(authenticationToken, sharedNotebook)
click to toggle source
def send_createSharedNotebook(authenticationToken, sharedNotebook)
send_message('createSharedNotebook', CreateSharedNotebook_args, :authenticationToken => authenticationToken, :sharedNotebook => sharedNotebook)
end
send_createTag(authenticationToken, tag)
click to toggle source
def send_createTag(authenticationToken, tag)
send_message('createTag', CreateTag_args, :authenticationToken => authenticationToken, :tag => tag)
end
send_deleteNote(authenticationToken, guid)
click to toggle source
def send_deleteNote(authenticationToken, guid)
send_message('deleteNote', DeleteNote_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_emailNote(authenticationToken, parameters)
click to toggle source
def send_emailNote(authenticationToken, parameters)
send_message('emailNote', EmailNote_args, :authenticationToken => authenticationToken, :parameters => parameters)
end
send_expungeInactiveNotes(authenticationToken)
click to toggle source
def send_expungeInactiveNotes(authenticationToken)
send_message('expungeInactiveNotes', ExpungeInactiveNotes_args, :authenticationToken => authenticationToken)
end
send_expungeLinkedNotebook(authenticationToken, linkedNotebookId)
click to toggle source
def send_expungeLinkedNotebook(authenticationToken, linkedNotebookId)
send_message('expungeLinkedNotebook', ExpungeLinkedNotebook_args, :authenticationToken => authenticationToken, :linkedNotebookId => linkedNotebookId)
end
send_expungeNote(authenticationToken, guid)
click to toggle source
def send_expungeNote(authenticationToken, guid)
send_message('expungeNote', ExpungeNote_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_expungeNotebook(authenticationToken, guid)
click to toggle source
def send_expungeNotebook(authenticationToken, guid)
send_message('expungeNotebook', ExpungeNotebook_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_expungeNotes(authenticationToken, noteGuids)
click to toggle source
def send_expungeNotes(authenticationToken, noteGuids)
send_message('expungeNotes', ExpungeNotes_args, :authenticationToken => authenticationToken, :noteGuids => noteGuids)
end
send_expungeSearch(authenticationToken, guid)
click to toggle source
def send_expungeSearch(authenticationToken, guid)
send_message('expungeSearch', ExpungeSearch_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_expungeSharedNotebooks(authenticationToken, sharedNotebookIds)
click to toggle source
def send_expungeSharedNotebooks(authenticationToken, sharedNotebookIds)
send_message('expungeSharedNotebooks', ExpungeSharedNotebooks_args, :authenticationToken => authenticationToken, :sharedNotebookIds => sharedNotebookIds)
end
send_expungeTag(authenticationToken, guid)
click to toggle source
def send_expungeTag(authenticationToken, guid)
send_message('expungeTag', ExpungeTag_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_findNoteCounts(authenticationToken, filter, withTrash)
click to toggle source
def send_findNoteCounts(authenticationToken, filter, withTrash)
send_message('findNoteCounts', FindNoteCounts_args, :authenticationToken => authenticationToken, :filter => filter, :withTrash => withTrash)
end
send_findNotes(authenticationToken, filter, offset, maxNotes)
click to toggle source
def send_findNotes(authenticationToken, filter, offset, maxNotes)
send_message('findNotes', FindNotes_args, :authenticationToken => authenticationToken, :filter => filter, :offset => offset, :maxNotes => maxNotes)
end
send_getAccountSize(authenticationToken)
click to toggle source
def send_getAccountSize(authenticationToken)
send_message('getAccountSize', GetAccountSize_args, :authenticationToken => authenticationToken)
end
send_getAds(authenticationToken, adParameters)
click to toggle source
def send_getAds(authenticationToken, adParameters)
send_message('getAds', GetAds_args, :authenticationToken => authenticationToken, :adParameters => adParameters)
end
send_getDefaultNotebook(authenticationToken)
click to toggle source
def send_getDefaultNotebook(authenticationToken)
send_message('getDefaultNotebook', GetDefaultNotebook_args, :authenticationToken => authenticationToken)
end
send_getNote(authenticationToken, guid, withContent, withResourcesData, withResourcesRecognition, withResourcesAlternateData)
click to toggle source
def send_getNote(authenticationToken, guid, withContent, withResourcesData, withResourcesRecognition, withResourcesAlternateData)
send_message('getNote', GetNote_args, :authenticationToken => authenticationToken, :guid => guid, :withContent => withContent, :withResourcesData => withResourcesData, :withResourcesRecognition => withResourcesRecognition, :withResourcesAlternateData => withResourcesAlternateData)
end
send_getNoteContent(authenticationToken, guid)
click to toggle source
def send_getNoteContent(authenticationToken, guid)
send_message('getNoteContent', GetNoteContent_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_getNoteSearchText(authenticationToken, guid)
click to toggle source
def send_getNoteSearchText(authenticationToken, guid)
send_message('getNoteSearchText', GetNoteSearchText_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_getNoteTagNames(authenticationToken, guid)
click to toggle source
def send_getNoteTagNames(authenticationToken, guid)
send_message('getNoteTagNames', GetNoteTagNames_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_getNoteVersion(authenticationToken, noteGuid, updateSequenceNum, withResourcesData, withResourcesRecognition, withResourcesAlternateData)
click to toggle source
def send_getNoteVersion(authenticationToken, noteGuid, updateSequenceNum, withResourcesData, withResourcesRecognition, withResourcesAlternateData)
send_message('getNoteVersion', GetNoteVersion_args, :authenticationToken => authenticationToken, :noteGuid => noteGuid, :updateSequenceNum => updateSequenceNum, :withResourcesData => withResourcesData, :withResourcesRecognition => withResourcesRecognition, :withResourcesAlternateData => withResourcesAlternateData)
end
send_getNotebook(authenticationToken, guid)
click to toggle source
def send_getNotebook(authenticationToken, guid)
send_message('getNotebook', GetNotebook_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_getPublicNotebook(userId, publicUri)
click to toggle source
def send_getPublicNotebook(userId, publicUri)
send_message('getPublicNotebook', GetPublicNotebook_args, :userId => userId, :publicUri => publicUri)
end
send_getRandomAd(authenticationToken, adParameters)
click to toggle source
def send_getRandomAd(authenticationToken, adParameters)
send_message('getRandomAd', GetRandomAd_args, :authenticationToken => authenticationToken, :adParameters => adParameters)
end
send_getResource(authenticationToken, guid, withData, withRecognition, withAttributes, withAlternateData)
click to toggle source
def send_getResource(authenticationToken, guid, withData, withRecognition, withAttributes, withAlternateData)
send_message('getResource', GetResource_args, :authenticationToken => authenticationToken, :guid => guid, :withData => withData, :withRecognition => withRecognition, :withAttributes => withAttributes, :withAlternateData => withAlternateData)
end
send_getResourceAlternateData(authenticationToken, guid)
click to toggle source
def send_getResourceAlternateData(authenticationToken, guid)
send_message('getResourceAlternateData', GetResourceAlternateData_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_getResourceAttributes(authenticationToken, guid)
click to toggle source
def send_getResourceAttributes(authenticationToken, guid)
send_message('getResourceAttributes', GetResourceAttributes_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_getResourceByHash(authenticationToken, noteGuid, contentHash, withData, withRecognition, withAlternateData)
click to toggle source
def send_getResourceByHash(authenticationToken, noteGuid, contentHash, withData, withRecognition, withAlternateData)
send_message('getResourceByHash', GetResourceByHash_args, :authenticationToken => authenticationToken, :noteGuid => noteGuid, :contentHash => contentHash, :withData => withData, :withRecognition => withRecognition, :withAlternateData => withAlternateData)
end
send_getResourceData(authenticationToken, guid)
click to toggle source
def send_getResourceData(authenticationToken, guid)
send_message('getResourceData', GetResourceData_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_getResourceRecognition(authenticationToken, guid)
click to toggle source
def send_getResourceRecognition(authenticationToken, guid)
send_message('getResourceRecognition', GetResourceRecognition_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_getSearch(authenticationToken, guid)
click to toggle source
def send_getSearch(authenticationToken, guid)
send_message('getSearch', GetSearch_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_getSharedNotebookByAuth(authenticationToken)
click to toggle source
def send_getSharedNotebookByAuth(authenticationToken)
send_message('getSharedNotebookByAuth', GetSharedNotebookByAuth_args, :authenticationToken => authenticationToken)
end
send_getSyncChunk(authenticationToken, afterUSN, maxEntries, fullSyncOnly)
click to toggle source
def send_getSyncChunk(authenticationToken, afterUSN, maxEntries, fullSyncOnly)
send_message('getSyncChunk', GetSyncChunk_args, :authenticationToken => authenticationToken, :afterUSN => afterUSN, :maxEntries => maxEntries, :fullSyncOnly => fullSyncOnly)
end
send_getSyncState(authenticationToken)
click to toggle source
def send_getSyncState(authenticationToken)
send_message('getSyncState', GetSyncState_args, :authenticationToken => authenticationToken)
end
send_getTag(authenticationToken, guid)
click to toggle source
def send_getTag(authenticationToken, guid)
send_message('getTag', GetTag_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_listLinkedNotebooks(authenticationToken)
click to toggle source
def send_listLinkedNotebooks(authenticationToken)
send_message('listLinkedNotebooks', ListLinkedNotebooks_args, :authenticationToken => authenticationToken)
end
send_listNoteVersions(authenticationToken, noteGuid)
click to toggle source
def send_listNoteVersions(authenticationToken, noteGuid)
send_message('listNoteVersions', ListNoteVersions_args, :authenticationToken => authenticationToken, :noteGuid => noteGuid)
end
send_listNotebooks(authenticationToken)
click to toggle source
def send_listNotebooks(authenticationToken)
send_message('listNotebooks', ListNotebooks_args, :authenticationToken => authenticationToken)
end
send_listSearches(authenticationToken)
click to toggle source
def send_listSearches(authenticationToken)
send_message('listSearches', ListSearches_args, :authenticationToken => authenticationToken)
end
send_listSharedNotebooks(authenticationToken)
click to toggle source
def send_listSharedNotebooks(authenticationToken)
send_message('listSharedNotebooks', ListSharedNotebooks_args, :authenticationToken => authenticationToken)
end
send_untagAll(authenticationToken, guid)
click to toggle source
def send_untagAll(authenticationToken, guid)
send_message('untagAll', UntagAll_args, :authenticationToken => authenticationToken, :guid => guid)
end
send_updateLinkedNotebook(authenticationToken, linkedNotebook)
click to toggle source
def send_updateLinkedNotebook(authenticationToken, linkedNotebook)
send_message('updateLinkedNotebook', UpdateLinkedNotebook_args, :authenticationToken => authenticationToken, :linkedNotebook => linkedNotebook)
end
send_updateNote(authenticationToken, note)
click to toggle source
def send_updateNote(authenticationToken, note)
send_message('updateNote', UpdateNote_args, :authenticationToken => authenticationToken, :note => note)
end
send_updateNotebook(authenticationToken, notebook)
click to toggle source
def send_updateNotebook(authenticationToken, notebook)
send_message('updateNotebook', UpdateNotebook_args, :authenticationToken => authenticationToken, :notebook => notebook)
end
send_updateResource(authenticationToken, resource)
click to toggle source
def send_updateResource(authenticationToken, resource)
send_message('updateResource', UpdateResource_args, :authenticationToken => authenticationToken, :resource => resource)
end
send_updateSearch(authenticationToken, search)
click to toggle source
def send_updateSearch(authenticationToken, search)
send_message('updateSearch', UpdateSearch_args, :authenticationToken => authenticationToken, :search => search)
end
send_updateTag(authenticationToken, tag)
click to toggle source
def send_updateTag(authenticationToken, tag)
send_message('updateTag', UpdateTag_args, :authenticationToken => authenticationToken, :tag => tag)
end
untagAll(authenticationToken, guid)
click to toggle source
def untagAll(authenticationToken, guid)
send_untagAll(authenticationToken, guid)
recv_untagAll()
end
updateLinkedNotebook(authenticationToken, linkedNotebook)
click to toggle source
def updateLinkedNotebook(authenticationToken, linkedNotebook)
send_updateLinkedNotebook(authenticationToken, linkedNotebook)
return recv_updateLinkedNotebook()
end
updateNote(authenticationToken, note)
click to toggle source
def updateNote(authenticationToken, note)
send_updateNote(authenticationToken, note)
return recv_updateNote()
end
updateNotebook(authenticationToken, notebook)
click to toggle source
def updateNotebook(authenticationToken, notebook)
send_updateNotebook(authenticationToken, notebook)
return recv_updateNotebook()
end
updateResource(authenticationToken, resource)
click to toggle source
def updateResource(authenticationToken, resource)
send_updateResource(authenticationToken, resource)
return recv_updateResource()
end
updateSearch(authenticationToken, search)
click to toggle source
def updateSearch(authenticationToken, search)
send_updateSearch(authenticationToken, search)
return recv_updateSearch()
end
updateTag(authenticationToken, tag)
click to toggle source
def updateTag(authenticationToken, tag)
send_updateTag(authenticationToken, tag)
return recv_updateTag()
end