Full Code of jamiesun/SublimeEvernote for AI

master 62eeccabca6c cached
67 files
1.7 MB
453.1k tokens
3027 symbols
1 requests
Download .txt
Showing preview only (1,770K chars total). Download the full file or copy to clipboard to get everything.
Repository: jamiesun/SublimeEvernote
Branch: master
Commit: 62eeccabca6c
Files: 67
Total size: 1.7 MB

Directory structure:
gitextract__f99c86o/

├── .gitattributes
├── .gitignore
├── Context.sublime-menu
├── Default (Linux).sublime-keymap
├── Default (OSX).sublime-keymap
├── Default (Windows).sublime-keymap
├── Default.sublime-commands
├── Readme.md
├── SublimeEvernoteMetadata.sublime-snippet
├── lib/
│   ├── __init__.py
│   ├── evernote/
│   │   ├── __init__.py
│   │   ├── api/
│   │   │   ├── __init__.py
│   │   │   └── client.py
│   │   └── edam/
│   │       ├── __init__.py
│   │       ├── error/
│   │       │   ├── __init__.py
│   │       │   ├── constants.py
│   │       │   └── ttypes.py
│   │       ├── limits/
│   │       │   ├── __init__.py
│   │       │   ├── constants.py
│   │       │   └── ttypes.py
│   │       ├── notestore/
│   │       │   ├── NoteStore-remote
│   │       │   ├── NoteStore.py
│   │       │   ├── __init__.py
│   │       │   ├── constants.py
│   │       │   └── ttypes.py
│   │       ├── type/
│   │       │   ├── __init__.py
│   │       │   ├── constants.py
│   │       │   └── ttypes.py
│   │       └── userstore/
│   │           ├── UserStore-remote
│   │           ├── UserStore.py
│   │           ├── __init__.py
│   │           ├── constants.py
│   │           └── ttypes.py
│   ├── httplib.py
│   ├── httplib2/
│   │   ├── __init__.py
│   │   ├── cacerts.txt
│   │   ├── iri2uri.py
│   │   └── socks.py
│   ├── markdown2.py
│   ├── oauth2/
│   │   ├── __init__.py
│   │   ├── _version.py
│   │   └── clients/
│   │       ├── __init__.py
│   │       ├── imap.py
│   │       └── smtp.py
│   └── thrift/
│       ├── TSCons.py
│       ├── TSerialization.py
│       ├── Thrift.py
│       ├── __init__.py
│       ├── protocol/
│       │   ├── TBase.py
│       │   ├── TBinaryProtocol.py
│       │   ├── TCompactProtocol.py
│       │   ├── TProtocol.py
│       │   ├── __init__.py
│       │   └── fastbinary.c
│       ├── server/
│       │   ├── THttpServer.py
│       │   ├── TNonblockingServer.py
│       │   ├── TProcessPoolServer.py
│       │   ├── TServer.py
│       │   └── __init__.py
│       └── transport/
│           ├── THttpClient.py
│           ├── TSSLSocket.py
│           ├── TSocket.py
│           ├── TTransport.py
│           ├── TTwisted.py
│           ├── TZlibTransport.py
│           └── __init__.py
└── sublime_evernote.py

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitattributes
================================================
# Auto detect text files and perform LF normalization
* text=auto

# Custom for Visual Studio
*.cs     diff=csharp
*.sln    merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union

# Standard to msysgit
*.doc	 diff=astextplain
*.DOC	 diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot  diff=astextplain
*.DOT  diff=astextplain
*.pdf  diff=astextplain
*.PDF	 diff=astextplain
*.rtf	 diff=astextplain
*.RTF	 diff=astextplain


================================================
FILE: .gitignore
================================================
#################
## Eclipse
#################

*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath

# External tool builders
.externalToolBuilders/

# Locally stored "Eclipse launch configurations"
*.launch

# CDT-specific
.cproject

# PDT-specific
.buildpath


#################
## Visual Studio
#################

## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.

# User-specific files
*.suo
*.user
*.sln.docstates

# Build results
[Dd]ebug/
[Rr]elease/
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.vspscc
.builds
*.dotCover

## TODO: If you have NuGet Package Restore enabled, uncomment this
#packages/

# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf

# Visual Studio profiler
*.psess
*.vsp

# ReSharper is a .NET coding add-in
_ReSharper*

# Installshield output folder
[Ee]xpress

# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html

# Click-Once directory
publish

# Others
[Bb]in
[Oo]bj
sql
TestResults
*.Cache
ClientBin
stylecop.*
~$*
*.dbmdl
Generated_Code #added for RIA/Silverlight projects

# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML



############
## Windows
############

# Windows image file caches
Thumbs.db

# Folder config file
Desktop.ini


#############
## Python
#############

*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

# Unit test / coverage reports
.coverage
.tox

#Translations
*.mo

#Mr Developer
.mr.developer.cfg

# Mac crap
.DS_Store
sftp-config.json
sftp-config-alt.json
logs
sessions


================================================
FILE: Context.sublime-menu
================================================
[
    { "caption": "-" },
    {
        "command":"send_to_evernote",
        "caption":"Send to Evernote"
    },       
    {
        "caption": "Evernote Settings",
        "command": "open_file", "args":
        {
            "file": "${packages}/User/SublimeEvernote.sublime-settings"
        }
    },      
    { "caption": "-" }
]

================================================
FILE: Default (Linux).sublime-keymap
================================================
[
  { "keys": ["ctrl+alt+e"], "command": "send_to_evernote" }
]

================================================
FILE: Default (OSX).sublime-keymap
================================================
[
  { "keys": ["super+alt+e"], "command": "send_to_evernote" }
]

================================================
FILE: Default (Windows).sublime-keymap
================================================
[
  { "keys": ["ctrl+alt+e"], "command": "send_to_evernote" }
]


================================================
FILE: Default.sublime-commands
================================================
[
    { "command": "send_to_evernote", "caption": "Send to evernote" },    
    {
        "caption": "Evernote Settings",
        "command": "open_file", "args":
        {
            "file": "${packages}/User/SublimeEvernote.sublime-settings"
        }
    }        
]


================================================
FILE: Readme.md
================================================
SublimeEvernote
===============

[Sublime Text 2](http://www.sublimetext.com/2) plugin for [Evernote](http://www.evernote.com) 


### Install

Through [Package Control](http://wbond.net/sublime_packages/package_control)

`Command Palette` > `Package Control: Install Package` > `SublimeEvernote`

or

`Command Palette` > `Package Control: add Repository` && `input 'http://github.com/jamiesun/SublimeEvernote`

`Command Palette` > `Package Control: Install Package` > `SublimeEvernote`

or clone this repository in

* Windows: `%APPDATA%/Roaming/Sublime Text 2/Packages/`
* OSX: `~/Library/Application Support/Sublime Text 2/Packages/`
* Linux: `~/.Sublime Text 2/Packages/`
* Portable Installation: `Sublime Text 2/Data/`

### Usage

`Command Palette` > `Send to evernote`

`Context menu` > `Send to Evernote`

`Context menu` > `Evernote settings`

#### Markdown Support ####

Write notes in Markdown and they will be processed when they are sent to Evernote.

This:
![this](https://dl.dropbox.com/u/643062/SublimeEvernoteScreenshots/Markdown.png)

Turns into this:
![this](https://dl.dropbox.com/u/643062/SublimeEvernoteScreenshots/Evernote.png)

#### Authenticating with Evernote ####

In order to send notes you need to authenticate and allow the plugin permissions via Evernote's oauth. 
This is a bit of a manual process now as there are no callbacks to Sublime to handle this process automatically.
Here are a collection of screenshots to step you through the process.

##### Step 1 - Sublime text2 open your browser,you need login:
![login](https://raw.githubusercontent.com/jamiesun/SublimeEvernote/master/snapshot/login.png)

##### Step 2 - Authorize plugin with Evernote:
![authorize](https://raw.github.com/dencold/static/master/images/sublimeevernote/2_authorize.png)

##### Step 3 - Copy oauth verifier
![redirect](https://raw.github.com/dencold/static/master/images/sublimeevernote/3_redirect.png)
![verifier](https://raw.github.com/dencold/static/master/images/sublimeevernote/4_oauth_verifier.png)

##### Step 4 - Verify token on Sublime
![redirect](https://raw.github.com/dencold/static/master/images/sublimeevernote/5_verify_sublime.png)

##### Step 5 - Rejoice!
![redirect](https://raw.github.com/dencold/static/master/images/sublimeevernote/6_rejoice.png)

#### Metadata ####

Use metadata block to specify title and tags.

    ---
    title: My Note
    tags: tag1,tag2
    ---


================================================
FILE: SublimeEvernoteMetadata.sublime-snippet
================================================
<snippet>
	<content><![CDATA[
---
title: $1
tags: $2
---
]]></content>
	<description>Evernote Metadata</description>
	<scope>text.plain,text.html,text.html.markdown,text.html.markdown.multimarkdown</scope>
</snippet>


================================================
FILE: lib/__init__.py
================================================


================================================
FILE: lib/evernote/__init__.py
================================================


================================================
FILE: lib/evernote/api/__init__.py
================================================


================================================
FILE: lib/evernote/api/client.py
================================================
import sys
import functools
import inspect
import re
import oauth2 as oauth
import urllib
import urlparse

import evernote.edam.userstore.UserStore as UserStore
import evernote.edam.notestore.NoteStore as NoteStore
import evernote.edam.userstore.constants as UserStoreConstants

import thrift.protocol.TBinaryProtocol as TBinaryProtocol
import thrift.transport.THttpClient as THttpClient


class EvernoteClient(object):

    def __init__(self, **options):
        self.consumer_key = options.get('consumer_key')
        self.consumer_secret = options.get('consumer_secret')
        self.sandbox = options.get('sandbox', True)
        if self.sandbox:
            default_service_host = 'sandbox.evernote.com'
        else:
            default_service_host = 'www.evernote.com'
        self.service_host = options.get('service_host', default_service_host)
        self.additional_headers = options.get('additional_headers', {})
        self.token = options.get('token')
        self.secret = options.get('secret')

    def get_request_token(self, callback_url):
        client = self._get_oauth_client()
        request_url = '%s?oauth_callback=%s' % (
            self._get_endpoint('oauth'), urllib.quote(callback_url))

        resp, content = client.request(request_url, 'GET')
        request_token = dict(urlparse.parse_qsl(content))
        return request_token

    def get_authorize_url(self, request_token):
        return '%s?oauth_token=%s' % (
            self._get_endpoint('OAuth.action'),
            urllib.quote(request_token['oauth_token']))

    def get_access_token(
        self, oauth_token, oauth_token_secret, oauth_verifier
    ):
        token = oauth.Token(oauth_token, oauth_token_secret)
        token.set_verifier(oauth_verifier)
        client = self._get_oauth_client(token)

        resp, content = client.request(self._get_endpoint('oauth'), 'POST')
        access_token = dict(urlparse.parse_qsl(content))
        self.token = access_token['oauth_token']
        return self.token

    def get_user_store(self):
        user_store_uri = self._get_endpoint("/edam/user")
        store = Store(self.token, UserStore.Client, user_store_uri)
        if not store:  # Trick for PyDev code completion
            store = UserStore.Client()
            raise Exception('Should never reach here')
        return store

    def get_note_store(self):
        user_store = self.get_user_store()
        note_store_uri = user_store.getNoteStoreUrl()
        store = Store(self.token, NoteStore.Client, note_store_uri)
        if not store:  # Trick for PyDev code completion
            store = NoteStore.Client()
            raise Exception('Should never reach here')
        return store

    def get_shared_note_store(self, linkedNotebook):
        note_store_uri = linkedNotebook.noteStoreUrl
        note_store = Store(self.token, NoteStore.Client, note_store_uri)
        shared_auth = note_store.authenticateToSharedNotebook(
            linkedNotebook.shareKey)
        shared_token = shared_auth.authenticationToken
        store = Store(shared_token, NoteStore.Client, note_store_uri)
        if not store:  # Trick for PyDev code completion
            store = NoteStore.Client()
            raise Exception('Should never reach here')
        return store

    def get_business_note_store(self):
        user_store = self.get_user_store()
        biz_auth = user_store.authenticateToBusiness()
        biz_token = biz_auth.authenticationToken
        note_store_uri = biz_auth.noteStoreUrl
        store = Store(biz_token, NoteStore.Client, note_store_uri)
        if not store:  # Trick for PyDev code completion
            store = NoteStore.Client()
            raise Exception('Should never reach here')
        return store

    def _get_oauth_client(self, token=None):
        consumer = oauth.Consumer(self.consumer_key, self.consumer_secret)
        if token:
            client = oauth.Client(consumer, token)
        else:
            client = oauth.Client(consumer)
        return client

    def _get_endpoint(self, path=None):
        url = "https://%s" % (self.service_host)
        if path is not None:
            url += "/%s" % path
        return url


class Store(object):

    def __init__(self, token, client_class, store_url):
        self.token = token
        m = re.search(':A=(.+):', token)
        if m:
            self._user_agent_id = m.groups()[0]
        else:
            self._user_agent_id = ''
        self._client = self._get_thrift_client(client_class, store_url)

    def __getattr__(self, name):
        def delegate_method(*args, **kwargs):
            targetMethod = getattr(self._client, name, None)
            if targetMethod is None:
                return object.__getattribute__(self, name)(*args, **kwargs)

            org_args = inspect.getargspec(targetMethod).args
            if len(org_args) == len(args) + 1:
                return targetMethod(*args, **kwargs)
            elif 'authenticationToken' in org_args:
                skip_args = ['self', 'authenticationToken']
                arg_names = [i for i in org_args if i not in skip_args]
                return functools.partial(
                    targetMethod, authenticationToken=self.token
                )(**dict(zip(arg_names, args)))
            else:
                return targetMethod(*args, **kwargs)

        return delegate_method

    def _get_thrift_client(self, client_class, url):
        http_client = THttpClient.THttpClient(url)
        http_client.addHeaders(**{
            'User-Agent': "%s / %s; Python / %s;"
            % (self._user_agent_id, self._get_sdk_version(), sys.version)
        })

        thrift_protocol = TBinaryProtocol.TBinaryProtocol(http_client)
        return client_class(thrift_protocol)

    def _get_sdk_version(self):
        return '%s.%s' % (
            UserStoreConstants.EDAM_VERSION_MAJOR,
            UserStoreConstants.EDAM_VERSION_MINOR
        )


================================================
FILE: lib/evernote/edam/__init__.py
================================================


================================================
FILE: lib/evernote/edam/error/__init__.py
================================================
__all__ = ['ttypes', 'constants']


================================================
FILE: lib/evernote/edam/error/constants.py
================================================
#
# Autogenerated by Thrift Compiler
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
#  options string: py:new_style
#

from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from ttypes import *



================================================
FILE: lib/evernote/edam/error/ttypes.py
================================================
#
# Autogenerated by Thrift Compiler
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
#  options string: py:new_style
#

from thrift.Thrift import TType, TMessageType, TException, TApplicationException

from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol, TProtocol
try:
  from thrift.protocol import fastbinary
except:
  fastbinary = None


class EDAMErrorCode(object):
  """
  Numeric codes indicating the type of error that occurred on the
  service.
  <dl>
    <dt>UNKNOWN</dt>
      <dd>No information available about the error</dd>
    <dt>BAD_DATA_FORMAT</dt>
      <dd>The format of the request data was incorrect</dd>
    <dt>PERMISSION_DENIED</dt>
      <dd>Not permitted to perform action</dd>
    <dt>INTERNAL_ERROR</dt>
      <dd>Unexpected problem with the service</dd>
    <dt>DATA_REQUIRED</dt>
      <dd>A required parameter/field was absent</dd>
    <dt>LIMIT_REACHED</dt>
      <dd>Operation denied due to data model limit</dd>
    <dt>QUOTA_REACHED</dt>
      <dd>Operation denied due to user storage limit</dd>
    <dt>INVALID_AUTH</dt>
      <dd>Username and/or password incorrect</dd>
    <dt>AUTH_EXPIRED</dt>
      <dd>Authentication token expired</dd>
    <dt>DATA_CONFLICT</dt>
      <dd>Change denied due to data model conflict</dd>
    <dt>ENML_VALIDATION</dt>
      <dd>Content of submitted note was malformed</dd>
    <dt>SHARD_UNAVAILABLE</dt>
      <dd>Service shard with account data is temporarily down</dd>
    <dt>LEN_TOO_SHORT</dt>
      <dd>Operation denied due to data model limit, where something such
          as a string length was too short</dd>
    <dt>LEN_TOO_LONG</dt>
      <dd>Operation denied due to data model limit, where something such
          as a string length was too long</dd>
    <dt>TOO_FEW</dt>
      <dd>Operation denied due to data model limit, where there were
          too few of something.</dd>
    <dt>TOO_MANY</dt>
      <dd>Operation denied due to data model limit, where there were
          too many of something.</dd>
    <dt>UNSUPPORTED_OPERATION</dt>
      <dd>Operation denied because it is currently unsupported.</dd>
    <dt>TAKEN_DOWN</dt>
      <dd>Operation denied because access to the corresponding object is
          prohibited in response to a take-down notice.</dd>
    <dt>RATE_LIMIT_REACHED</dt>
      <dd>Operation denied because the calling application has reached
          its hourly API call limit for this user.</dd>
  </dl>
  """
  UNKNOWN = 1
  BAD_DATA_FORMAT = 2
  PERMISSION_DENIED = 3
  INTERNAL_ERROR = 4
  DATA_REQUIRED = 5
  LIMIT_REACHED = 6
  QUOTA_REACHED = 7
  INVALID_AUTH = 8
  AUTH_EXPIRED = 9
  DATA_CONFLICT = 10
  ENML_VALIDATION = 11
  SHARD_UNAVAILABLE = 12
  LEN_TOO_SHORT = 13
  LEN_TOO_LONG = 14
  TOO_FEW = 15
  TOO_MANY = 16
  UNSUPPORTED_OPERATION = 17
  TAKEN_DOWN = 18
  RATE_LIMIT_REACHED = 19

  _VALUES_TO_NAMES = {
    1: "UNKNOWN",
    2: "BAD_DATA_FORMAT",
    3: "PERMISSION_DENIED",
    4: "INTERNAL_ERROR",
    5: "DATA_REQUIRED",
    6: "LIMIT_REACHED",
    7: "QUOTA_REACHED",
    8: "INVALID_AUTH",
    9: "AUTH_EXPIRED",
    10: "DATA_CONFLICT",
    11: "ENML_VALIDATION",
    12: "SHARD_UNAVAILABLE",
    13: "LEN_TOO_SHORT",
    14: "LEN_TOO_LONG",
    15: "TOO_FEW",
    16: "TOO_MANY",
    17: "UNSUPPORTED_OPERATION",
    18: "TAKEN_DOWN",
    19: "RATE_LIMIT_REACHED",
  }

  _NAMES_TO_VALUES = {
    "UNKNOWN": 1,
    "BAD_DATA_FORMAT": 2,
    "PERMISSION_DENIED": 3,
    "INTERNAL_ERROR": 4,
    "DATA_REQUIRED": 5,
    "LIMIT_REACHED": 6,
    "QUOTA_REACHED": 7,
    "INVALID_AUTH": 8,
    "AUTH_EXPIRED": 9,
    "DATA_CONFLICT": 10,
    "ENML_VALIDATION": 11,
    "SHARD_UNAVAILABLE": 12,
    "LEN_TOO_SHORT": 13,
    "LEN_TOO_LONG": 14,
    "TOO_FEW": 15,
    "TOO_MANY": 16,
    "UNSUPPORTED_OPERATION": 17,
    "TAKEN_DOWN": 18,
    "RATE_LIMIT_REACHED": 19,
  }


class EDAMUserException(TException):
  """
  This exception is thrown by EDAM procedures when a call fails as a result of
  a problem that a caller may be able to resolve.  For example, if the user
  attempts to add a note to their account which would exceed their storage
  quota, this type of exception may be thrown to indicate the source of the
  error so that they can choose an alternate action.
  
  This exception would not be used for internal system errors that do not
  reflect user actions, but rather reflect a problem within the service that
  the user cannot resolve.
  
  errorCode:  The numeric code indicating the type of error that occurred.
    must be one of the values of EDAMErrorCode.
  
  parameter:  If the error applied to a particular input parameter, this will
    indicate which parameter.
  
  Attributes:
   - errorCode
   - parameter
  """

  thrift_spec = (
    None, # 0
    (1, TType.I32, 'errorCode', None, None, ), # 1
    (2, TType.STRING, 'parameter', None, None, ), # 2
  )

  def __init__(self, errorCode=None, parameter=None,):
    self.errorCode = errorCode
    self.parameter = parameter

  def read(self, iprot):
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
      return
    iprot.readStructBegin()
    while True:
      (fname, ftype, fid) = iprot.readFieldBegin()
      if ftype == TType.STOP:
        break
      if fid == 1:
        if ftype == TType.I32:
          self.errorCode = iprot.readI32();
        else:
          iprot.skip(ftype)
      elif fid == 2:
        if ftype == TType.STRING:
          self.parameter = iprot.readString();
        else:
          iprot.skip(ftype)
      else:
        iprot.skip(ftype)
      iprot.readFieldEnd()
    iprot.readStructEnd()

  def write(self, oprot):
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
      return
    oprot.writeStructBegin('EDAMUserException')
    if self.errorCode is not None:
      oprot.writeFieldBegin('errorCode', TType.I32, 1)
      oprot.writeI32(self.errorCode)
      oprot.writeFieldEnd()
    if self.parameter is not None:
      oprot.writeFieldBegin('parameter', TType.STRING, 2)
      oprot.writeString(self.parameter)
      oprot.writeFieldEnd()
    oprot.writeFieldStop()
    oprot.writeStructEnd()

  def validate(self):
    if self.errorCode is None:
      raise TProtocol.TProtocolException(message='Required field errorCode is unset!')
    return


  def __str__(self):
    return repr(self)

  def __repr__(self):
    L = ['%s=%r' % (key, value)
      for key, value in self.__dict__.iteritems()]
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))

  def __eq__(self, other):
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__

  def __ne__(self, other):
    return not (self == other)

class EDAMSystemException(TException):
  """
  This exception is thrown by EDAM procedures when a call fails as a result of
  a problem in the service that could not be changed through caller action.
  
  errorCode:  The numeric code indicating the type of error that occurred.
    must be one of the values of EDAMErrorCode.
  
  message:  This may contain additional information about the error
  
  rateLimitDuration:  Indicates the minimum number of seconds that an application should
    expect subsequent API calls for this user to fail. The application should not retry
    API requests for the user until at least this many seconds have passed. Present only
    when errorCode is RATE_LIMIT_REACHED,
  
  Attributes:
   - errorCode
   - message
   - rateLimitDuration
  """

  thrift_spec = (
    None, # 0
    (1, TType.I32, 'errorCode', None, None, ), # 1
    (2, TType.STRING, 'message', None, None, ), # 2
    (3, TType.I32, 'rateLimitDuration', None, None, ), # 3
  )

  def __init__(self, errorCode=None, message=None, rateLimitDuration=None,):
    self.errorCode = errorCode
    self.message = message
    self.rateLimitDuration = rateLimitDuration

  def read(self, iprot):
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
      return
    iprot.readStructBegin()
    while True:
      (fname, ftype, fid) = iprot.readFieldBegin()
      if ftype == TType.STOP:
        break
      if fid == 1:
        if ftype == TType.I32:
          self.errorCode = iprot.readI32();
        else:
          iprot.skip(ftype)
      elif fid == 2:
        if ftype == TType.STRING:
          self.message = iprot.readString();
        else:
          iprot.skip(ftype)
      elif fid == 3:
        if ftype == TType.I32:
          self.rateLimitDuration = iprot.readI32();
        else:
          iprot.skip(ftype)
      else:
        iprot.skip(ftype)
      iprot.readFieldEnd()
    iprot.readStructEnd()

  def write(self, oprot):
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
      return
    oprot.writeStructBegin('EDAMSystemException')
    if self.errorCode is not None:
      oprot.writeFieldBegin('errorCode', TType.I32, 1)
      oprot.writeI32(self.errorCode)
      oprot.writeFieldEnd()
    if self.message is not None:
      oprot.writeFieldBegin('message', TType.STRING, 2)
      oprot.writeString(self.message)
      oprot.writeFieldEnd()
    if self.rateLimitDuration is not None:
      oprot.writeFieldBegin('rateLimitDuration', TType.I32, 3)
      oprot.writeI32(self.rateLimitDuration)
      oprot.writeFieldEnd()
    oprot.writeFieldStop()
    oprot.writeStructEnd()

  def validate(self):
    if self.errorCode is None:
      raise TProtocol.TProtocolException(message='Required field errorCode is unset!')
    return


  def __str__(self):
    return repr(self)

  def __repr__(self):
    L = ['%s=%r' % (key, value)
      for key, value in self.__dict__.iteritems()]
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))

  def __eq__(self, other):
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__

  def __ne__(self, other):
    return not (self == other)

class EDAMNotFoundException(TException):
  """
  This exception is thrown by EDAM procedures when a caller asks to perform
  an operation on an object that does not exist.  This may be thrown based on an invalid
  primary identifier (e.g. a bad GUID), or when the caller refers to an object
  by another unique identifier (e.g. a User's email address).
  
  identifier:  A description of the object that was not found on the server.
    For example, "Note.notebookGuid" when a caller attempts to create a note in a
    notebook that does not exist in the user's account.
  
  key:  The value passed from the client in the identifier, which was not
    found. For example, the GUID that was not found.
  
  Attributes:
   - identifier
   - key
  """

  thrift_spec = (
    None, # 0
    (1, TType.STRING, 'identifier', None, None, ), # 1
    (2, TType.STRING, 'key', None, None, ), # 2
  )

  def __init__(self, identifier=None, key=None,):
    self.identifier = identifier
    self.key = key

  def read(self, iprot):
    if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None:
      fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec))
      return
    iprot.readStructBegin()
    while True:
      (fname, ftype, fid) = iprot.readFieldBegin()
      if ftype == TType.STOP:
        break
      if fid == 1:
        if ftype == TType.STRING:
          self.identifier = iprot.readString();
        else:
          iprot.skip(ftype)
      elif fid == 2:
        if ftype == TType.STRING:
          self.key = iprot.readString();
        else:
          iprot.skip(ftype)
      else:
        iprot.skip(ftype)
      iprot.readFieldEnd()
    iprot.readStructEnd()

  def write(self, oprot):
    if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None:
      oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec)))
      return
    oprot.writeStructBegin('EDAMNotFoundException')
    if self.identifier is not None:
      oprot.writeFieldBegin('identifier', TType.STRING, 1)
      oprot.writeString(self.identifier)
      oprot.writeFieldEnd()
    if self.key is not None:
      oprot.writeFieldBegin('key', TType.STRING, 2)
      oprot.writeString(self.key)
      oprot.writeFieldEnd()
    oprot.writeFieldStop()
    oprot.writeStructEnd()

  def validate(self):
    return


  def __str__(self):
    return repr(self)

  def __repr__(self):
    L = ['%s=%r' % (key, value)
      for key, value in self.__dict__.iteritems()]
    return '%s(%s)' % (self.__class__.__name__, ', '.join(L))

  def __eq__(self, other):
    return isinstance(other, self.__class__) and self.__dict__ == other.__dict__

  def __ne__(self, other):
    return not (self == other)


================================================
FILE: lib/evernote/edam/limits/__init__.py
================================================
__all__ = ['ttypes', 'constants']


================================================
FILE: lib/evernote/edam/limits/constants.py
================================================
#
# Autogenerated by Thrift Compiler
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
#  options string: py:new_style
#

from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from ttypes import *

EDAM_ATTRIBUTE_LEN_MIN = 1
EDAM_ATTRIBUTE_LEN_MAX = 4096
EDAM_ATTRIBUTE_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{1,4096}$"
EDAM_ATTRIBUTE_LIST_MAX = 100
EDAM_ATTRIBUTE_MAP_MAX = 100
EDAM_GUID_LEN_MIN = 36
EDAM_GUID_LEN_MAX = 36
EDAM_GUID_REGEX = "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
EDAM_EMAIL_LEN_MIN = 6
EDAM_EMAIL_LEN_MAX = 255
EDAM_EMAIL_LOCAL_REGEX = "^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*$"
EDAM_EMAIL_DOMAIN_REGEX = "^[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.([A-Za-z]{2,})$"
EDAM_EMAIL_REGEX = "^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.([A-Za-z]{2,})$"
EDAM_VAT_REGEX = "^((AT)?U[0-9]{8}|(BE)?0?[0-9]{9}|(BG)?[0-9]{9,10}|(CY)?[0-9]{8}L|(CZ)?[0-9]{8,10}|(DE)?[0-9]{9}|(DK)?[0-9]{8}|(EE)?[0-9]{9}|(EL|GR)?[0-9]{9}|(ES)?[0-9A-Z][0-9]{7}[0-9A-Z]|(FI)?[0-9]{8}|(FR)?[0-9A-Z]{2}[0-9]{9}|(GB)?([0-9]{9}([0-9]{3})?|[A-Z]{2}[0-9]{3})|(HU)?[0-9]{8}|(IE)?[0-9]S[0-9]{5}L|(IT)?[0-9]{11}|(LT)?([0-9]{9}|[0-9]{12})|(LU)?[0-9]{8}|(LV)?[0-9]{11}|(MT)?[0-9]{8}|(NL)?[0-9]{9}B[0-9]{2}|(PL)?[0-9]{10}|(PT)?[0-9]{9}|(RO)?[0-9]{2,10}|(SE)?[0-9]{12}|(SI)?[0-9]{8}|(SK)?[0-9]{10})|[0-9]{9}MVA|[0-9]{6}|CHE[0-9]{9}(TVA|MWST|IVA)$"
EDAM_TIMEZONE_LEN_MIN = 1
EDAM_TIMEZONE_LEN_MAX = 32
EDAM_TIMEZONE_REGEX = "^([A-Za-z_-]+(/[A-Za-z_-]+)*)|(GMT(-|\\+)[0-9]{1,2}(:[0-9]{2})?)$"
EDAM_MIME_LEN_MIN = 3
EDAM_MIME_LEN_MAX = 255
EDAM_MIME_REGEX = "^[A-Za-z]+/[A-Za-z0-9._+-]+$"
EDAM_MIME_TYPE_GIF = "image/gif"
EDAM_MIME_TYPE_JPEG = "image/jpeg"
EDAM_MIME_TYPE_PNG = "image/png"
EDAM_MIME_TYPE_WAV = "audio/wav"
EDAM_MIME_TYPE_MP3 = "audio/mpeg"
EDAM_MIME_TYPE_AMR = "audio/amr"
EDAM_MIME_TYPE_AAC = "audio/aac"
EDAM_MIME_TYPE_M4A = "audio/mp4"
EDAM_MIME_TYPE_MP4_VIDEO = "video/mp4"
EDAM_MIME_TYPE_INK = "application/vnd.evernote.ink"
EDAM_MIME_TYPE_PDF = "application/pdf"
EDAM_MIME_TYPE_DEFAULT = "application/octet-stream"
EDAM_MIME_TYPES = set([
  "image/gif",
  "image/jpeg",
  "image/png",
  "audio/wav",
  "audio/mpeg",
  "audio/amr",
  "application/vnd.evernote.ink",
  "application/pdf",
  "video/mp4",
  "audio/aac",
  "audio/mp4",
])
EDAM_INDEXABLE_RESOURCE_MIME_TYPES = set([
  "application/msword",
  "application/mspowerpoint",
  "application/excel",
  "application/vnd.ms-word",
  "application/vnd.ms-powerpoint",
  "application/vnd.ms-excel",
  "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
  "application/vnd.openxmlformats-officedocument.presentationml.presentation",
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
  "application/vnd.apple.pages",
  "application/vnd.apple.numbers",
  "application/vnd.apple.keynote",
  "application/x-iwork-pages-sffpages",
  "application/x-iwork-numbers-sffnumbers",
  "application/x-iwork-keynote-sffkey",
])
EDAM_SEARCH_QUERY_LEN_MIN = 0
EDAM_SEARCH_QUERY_LEN_MAX = 1024
EDAM_SEARCH_QUERY_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{0,1024}$"
EDAM_HASH_LEN = 16
EDAM_USER_USERNAME_LEN_MIN = 1
EDAM_USER_USERNAME_LEN_MAX = 64
EDAM_USER_USERNAME_REGEX = "^[a-z0-9]([a-z0-9_-]{0,62}[a-z0-9])?$"
EDAM_USER_NAME_LEN_MIN = 1
EDAM_USER_NAME_LEN_MAX = 255
EDAM_USER_NAME_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{1,255}$"
EDAM_TAG_NAME_LEN_MIN = 1
EDAM_TAG_NAME_LEN_MAX = 100
EDAM_TAG_NAME_REGEX = "^[^,\\p{Cc}\\p{Z}]([^,\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^,\\p{Cc}\\p{Z}])?$"
EDAM_NOTE_TITLE_LEN_MIN = 1
EDAM_NOTE_TITLE_LEN_MAX = 255
EDAM_NOTE_TITLE_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,253}[^\\p{Cc}\\p{Z}])?$"
EDAM_NOTE_CONTENT_LEN_MIN = 0
EDAM_NOTE_CONTENT_LEN_MAX = 5242880
EDAM_APPLICATIONDATA_NAME_LEN_MIN = 3
EDAM_APPLICATIONDATA_NAME_LEN_MAX = 32
EDAM_APPLICATIONDATA_VALUE_LEN_MIN = 0
EDAM_APPLICATIONDATA_VALUE_LEN_MAX = 4092
EDAM_APPLICATIONDATA_ENTRY_LEN_MAX = 4095
EDAM_APPLICATIONDATA_NAME_REGEX = "^[A-Za-z0-9_.-]{3,32}$"
EDAM_APPLICATIONDATA_VALUE_REGEX = "^[^\\p{Cc}]{0,4092}$"
EDAM_NOTEBOOK_NAME_LEN_MIN = 1
EDAM_NOTEBOOK_NAME_LEN_MAX = 100
EDAM_NOTEBOOK_NAME_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"
EDAM_NOTEBOOK_STACK_LEN_MIN = 1
EDAM_NOTEBOOK_STACK_LEN_MAX = 100
EDAM_NOTEBOOK_STACK_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"
EDAM_PUBLISHING_URI_LEN_MIN = 1
EDAM_PUBLISHING_URI_LEN_MAX = 255
EDAM_PUBLISHING_URI_REGEX = "^[a-zA-Z0-9.~_+-]{1,255}$"
EDAM_PUBLISHING_URI_PROHIBITED = set([
  "..",
])
EDAM_PUBLISHING_DESCRIPTION_LEN_MIN = 1
EDAM_PUBLISHING_DESCRIPTION_LEN_MAX = 200
EDAM_PUBLISHING_DESCRIPTION_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,198}[^\\p{Cc}\\p{Z}])?$"
EDAM_SAVED_SEARCH_NAME_LEN_MIN = 1
EDAM_SAVED_SEARCH_NAME_LEN_MAX = 100
EDAM_SAVED_SEARCH_NAME_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"
EDAM_USER_PASSWORD_LEN_MIN = 6
EDAM_USER_PASSWORD_LEN_MAX = 64
EDAM_USER_PASSWORD_REGEX = "^[A-Za-z0-9!#$%&'()*+,./:;<=>?@^_`{|}~\\[\\]\\\\-]{6,64}$"
EDAM_BUSINESS_URI_LEN_MAX = 32
EDAM_NOTE_TAGS_MAX = 100
EDAM_NOTE_RESOURCES_MAX = 1000
EDAM_USER_TAGS_MAX = 100000
EDAM_BUSINESS_TAGS_MAX = 100000
EDAM_USER_SAVED_SEARCHES_MAX = 100
EDAM_USER_NOTES_MAX = 100000
EDAM_BUSINESS_NOTES_MAX = 500000
EDAM_USER_NOTEBOOKS_MAX = 250
EDAM_BUSINESS_NOTEBOOKS_MAX = 5000
EDAM_USER_RECENT_MAILED_ADDRESSES_MAX = 10
EDAM_USER_MAIL_LIMIT_DAILY_FREE = 50
EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM = 200
EDAM_USER_UPLOAD_LIMIT_FREE = 62914560
EDAM_USER_UPLOAD_LIMIT_PREMIUM = 1073741824
EDAM_USER_UPLOAD_LIMIT_BUSINESS = 2147483647
EDAM_NOTE_SIZE_MAX_FREE = 26214400
EDAM_NOTE_SIZE_MAX_PREMIUM = 104857600
EDAM_RESOURCE_SIZE_MAX_FREE = 26214400
EDAM_RESOURCE_SIZE_MAX_PREMIUM = 104857600
EDAM_USER_LINKED_NOTEBOOK_MAX = 100
EDAM_USER_LINKED_NOTEBOOK_MAX_PREMIUM = 250
EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX = 250
EDAM_NOTE_CONTENT_CLASS_LEN_MIN = 3
EDAM_NOTE_CONTENT_CLASS_LEN_MAX = 32
EDAM_NOTE_CONTENT_CLASS_REGEX = "^[A-Za-z0-9_.-]{3,32}$"
EDAM_HELLO_APP_CONTENT_CLASS_PREFIX = "evernote.hello."
EDAM_FOOD_APP_CONTENT_CLASS_PREFIX = "evernote.food."
EDAM_CONTENT_CLASS_HELLO_ENCOUNTER = "evernote.hello.encounter"
EDAM_CONTENT_CLASS_HELLO_PROFILE = "evernote.hello.profile"
EDAM_CONTENT_CLASS_FOOD_MEAL = "evernote.food.meal"
EDAM_CONTENT_CLASS_SKITCH_PREFIX = "evernote.skitch"
EDAM_CONTENT_CLASS_SKITCH = "evernote.skitch"
EDAM_CONTENT_CLASS_SKITCH_PDF = "evernote.skitch.pdf"
EDAM_CONTENT_CLASS_PENULTIMATE_PREFIX = "evernote.penultimate."
EDAM_CONTENT_CLASS_PENULTIMATE_NOTEBOOK = "evernote.penultimate.notebook"
EDAM_RELATED_PLAINTEXT_LEN_MIN = 1
EDAM_RELATED_PLAINTEXT_LEN_MAX = 131072
EDAM_RELATED_MAX_NOTES = 25
EDAM_RELATED_MAX_NOTEBOOKS = 1
EDAM_RELATED_MAX_TAGS = 25
EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN = 1
EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX = 200
EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,198}[^\\p{Cc}\\p{Z}])?$"
EDAM_BUSINESS_PHONE_NUMBER_LEN_MAX = 20
EDAM_PREFERENCE_NAME_LEN_MIN = 3
EDAM_PREFERENCE_NAME_LEN_MAX = 32
EDAM_PREFERENCE_VALUE_LEN_MIN = 1
EDAM_PREFERENCE_VALUE_LEN_MAX = 1024
EDAM_MAX_PREFERENCES = 100
EDAM_MAX_VALUES_PER_PREFERENCE = 256
EDAM_PREFERENCE_NAME_REGEX = "^[A-Za-z0-9_.-]{3,32}$"
EDAM_PREFERENCE_VALUE_REGEX = "^[^\\p{Cc}]{1,1024}$"
EDAM_PREFERENCE_SHORTCUTS = "evernote.shortcuts"
EDAM_PREFERENCE_SHORTCUTS_MAX_VALUES = 250
EDAM_DEVICE_ID_LEN_MAX = 32
EDAM_DEVICE_ID_REGEX = "^[^\\p{Cc}]{1,32}$"
EDAM_DEVICE_DESCRIPTION_LEN_MAX = 64
EDAM_DEVICE_DESCRIPTION_REGEX = "^[^\\p{Cc}]{1,64}$"
EDAM_SEARCH_SUGGESTIONS_MAX = 10
EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MAX = 1024
EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MIN = 2


================================================
FILE: lib/evernote/edam/limits/ttypes.py
================================================
#
# Autogenerated by Thrift Compiler
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
#  options string: py:new_style
#

from thrift.Thrift import TType, TMessageType, TException, TApplicationException

from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol, TProtocol
try:
  from thrift.protocol import fastbinary
except:
  fastbinary = None




================================================
FILE: lib/evernote/edam/notestore/NoteStore-remote
================================================
#!/usr/bin/env python
#
# Autogenerated by Thrift Compiler
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
#  options string: py:new_style
#

import sys
import pprint
from urlparse import urlparse
from thrift.transport import TTransport
from thrift.transport import TSocket
from thrift.transport import THttpClient
from thrift.protocol import TBinaryProtocol

import NoteStore
from ttypes import *

if len(sys.argv) <= 1 or sys.argv[1] == '--help':
  print ''
  print 'Usage: ' + sys.argv[0] + ' [-h host[:port]] [-u url] [-f[ramed]] function [arg1 [arg2...]]'
  print ''
  print 'Functions:'
  print '  SyncState getSyncState(string authenticationToken)'
  print '  SyncState getSyncStateWithMetrics(string authenticationToken, ClientUsageMetrics clientMetrics)'
  print '  SyncChunk getSyncChunk(string authenticationToken, i32 afterUSN, i32 maxEntries, bool fullSyncOnly)'
  print '  SyncChunk getFilteredSyncChunk(string authenticationToken, i32 afterUSN, i32 maxEntries, SyncChunkFilter filter)'
  print '  SyncState getLinkedNotebookSyncState(string authenticationToken, LinkedNotebook linkedNotebook)'
  print '  SyncChunk getLinkedNotebookSyncChunk(string authenticationToken, LinkedNotebook linkedNotebook, i32 afterUSN, i32 maxEntries, bool fullSyncOnly)'
  print '   listNotebooks(string authenticationToken)'
  print '  Notebook getNotebook(string authenticationToken, Guid guid)'
  print '  Notebook getDefaultNotebook(string authenticationToken)'
  print '  Notebook createNotebook(string authenticationToken, Notebook notebook)'
  print '  i32 updateNotebook(string authenticationToken, Notebook notebook)'
  print '  i32 expungeNotebook(string authenticationToken, Guid guid)'
  print '   listTags(string authenticationToken)'
  print '   listTagsByNotebook(string authenticationToken, Guid notebookGuid)'
  print '  Tag getTag(string authenticationToken, Guid guid)'
  print '  Tag createTag(string authenticationToken, Tag tag)'
  print '  i32 updateTag(string authenticationToken, Tag tag)'
  print '  void untagAll(string authenticationToken, Guid guid)'
  print '  i32 expungeTag(string authenticationToken, Guid guid)'
  print '   listSearches(string authenticationToken)'
  print '  SavedSearch getSearch(string authenticationToken, Guid guid)'
  print '  SavedSearch createSearch(string authenticationToken, SavedSearch search)'
  print '  i32 updateSearch(string authenticationToken, SavedSearch search)'
  print '  i32 expungeSearch(string authenticationToken, Guid guid)'
  print '  NoteList findNotes(string authenticationToken, NoteFilter filter, i32 offset, i32 maxNotes)'
  print '  i32 findNoteOffset(string authenticationToken, NoteFilter filter, Guid guid)'
  print '  NotesMetadataList findNotesMetadata(string authenticationToken, NoteFilter filter, i32 offset, i32 maxNotes, NotesMetadataResultSpec resultSpec)'
  print '  NoteCollectionCounts findNoteCounts(string authenticationToken, NoteFilter filter, bool withTrash)'
  print '  Note getNote(string authenticationToken, Guid guid, bool withContent, bool withResourcesData, bool withResourcesRecognition, bool withResourcesAlternateData)'
  print '  LazyMap getNoteApplicationData(string authenticationToken, Guid guid)'
  print '  string getNoteApplicationDataEntry(string authenticationToken, Guid guid, string key)'
  print '  i32 setNoteApplicationDataEntry(string authenticationToken, Guid guid, string key, string value)'
  print '  i32 unsetNoteApplicationDataEntry(string authenticationToken, Guid guid, string key)'
  print '  string getNoteContent(string authenticationToken, Guid guid)'
  print '  string getNoteSearchText(string authenticationToken, Guid guid, bool noteOnly, bool tokenizeForIndexing)'
  print '  string getResourceSearchText(string authenticationToken, Guid guid)'
  print '   getNoteTagNames(string authenticationToken, Guid guid)'
  print '  Note createNote(string authenticationToken, Note note)'
  print '  Note updateNote(string authenticationToken, Note note)'
  print '  i32 deleteNote(string authenticationToken, Guid guid)'
  print '  i32 expungeNote(string authenticationToken, Guid guid)'
  print '  i32 expungeNotes(string authenticationToken,  noteGuids)'
  print '  i32 expungeInactiveNotes(string authenticationToken)'
  print '  Note copyNote(string authenticationToken, Guid noteGuid, Guid toNotebookGuid)'
  print '   listNoteVersions(string authenticationToken, Guid noteGuid)'
  print '  Note getNoteVersion(string authenticationToken, Guid noteGuid, i32 updateSequenceNum, bool withResourcesData, bool withResourcesRecognition, bool withResourcesAlternateData)'
  print '  Resource getResource(string authenticationToken, Guid guid, bool withData, bool withRecognition, bool withAttributes, bool withAlternateData)'
  print '  LazyMap getResourceApplicationData(string authenticationToken, Guid guid)'
  print '  string getResourceApplicationDataEntry(string authenticationToken, Guid guid, string key)'
  print '  i32 setResourceApplicationDataEntry(string authenticationToken, Guid guid, string key, string value)'
  print '  i32 unsetResourceApplicationDataEntry(string authenticationToken, Guid guid, string key)'
  print '  i32 updateResource(string authenticationToken, Resource resource)'
  print '  string getResourceData(string authenticationToken, Guid guid)'
  print '  Resource getResourceByHash(string authenticationToken, Guid noteGuid, string contentHash, bool withData, bool withRecognition, bool withAlternateData)'
  print '  string getResourceRecognition(string authenticationToken, Guid guid)'
  print '  string getResourceAlternateData(string authenticationToken, Guid guid)'
  print '  ResourceAttributes getResourceAttributes(string authenticationToken, Guid guid)'
  print '  Notebook getPublicNotebook(UserID userId, string publicUri)'
  print '  SharedNotebook createSharedNotebook(string authenticationToken, SharedNotebook sharedNotebook)'
  print '  i32 updateSharedNotebook(string authenticationToken, SharedNotebook sharedNotebook)'
  print '  i32 setSharedNotebookRecipientSettings(string authenticationToken, i64 sharedNotebookId, SharedNotebookRecipientSettings recipientSettings)'
  print '  i32 sendMessageToSharedNotebookMembers(string authenticationToken, Guid notebookGuid, string messageText,  recipients)'
  print '   listSharedNotebooks(string authenticationToken)'
  print '  i32 expungeSharedNotebooks(string authenticationToken,  sharedNotebookIds)'
  print '  LinkedNotebook createLinkedNotebook(string authenticationToken, LinkedNotebook linkedNotebook)'
  print '  i32 updateLinkedNotebook(string authenticationToken, LinkedNotebook linkedNotebook)'
  print '   listLinkedNotebooks(string authenticationToken)'
  print '  i32 expungeLinkedNotebook(string authenticationToken, Guid guid)'
  print '  AuthenticationResult authenticateToSharedNotebook(string shareKey, string authenticationToken)'
  print '  SharedNotebook getSharedNotebookByAuth(string authenticationToken)'
  print '  void emailNote(string authenticationToken, NoteEmailParameters parameters)'
  print '  string shareNote(string authenticationToken, Guid guid)'
  print '  void stopSharingNote(string authenticationToken, Guid guid)'
  print '  AuthenticationResult authenticateToSharedNote(string guid, string noteKey, string authenticationToken)'
  print '  RelatedResult findRelated(string authenticationToken, RelatedQuery query, RelatedResultSpec resultSpec)'
  print ''
  sys.exit(0)

pp = pprint.PrettyPrinter(indent = 2)
host = 'localhost'
port = 9090
uri = ''
framed = False
http = False
argi = 1

if sys.argv[argi] == '-h':
  parts = sys.argv[argi+1].split(':')
  host = parts[0]
  if len(parts) > 1:
    port = int(parts[1])
  argi += 2

if sys.argv[argi] == '-u':
  url = urlparse(sys.argv[argi+1])
  parts = url[1].split(':')
  host = parts[0]
  if len(parts) > 1:
    port = int(parts[1])
  else:
    port = 80
  uri = url[2]
  if url[4]:
    uri += '?%s' % url[4]
  http = True
  argi += 2

if sys.argv[argi] == '-f' or sys.argv[argi] == '-framed':
  framed = True
  argi += 1

cmd = sys.argv[argi]
args = sys.argv[argi+1:]

if http:
  transport = THttpClient.THttpClient(host, port, uri)
else:
  socket = TSocket.TSocket(host, port)
  if framed:
    transport = TTransport.TFramedTransport(socket)
  else:
    transport = TTransport.TBufferedTransport(socket)
protocol = TBinaryProtocol.TBinaryProtocol(transport)
client = NoteStore.Client(protocol)
transport.open()

if cmd == 'getSyncState':
  if len(args) != 1:
    print 'getSyncState requires 1 args'
    sys.exit(1)
  pp.pprint(client.getSyncState(args[0],))

elif cmd == 'getSyncStateWithMetrics':
  if len(args) != 2:
    print 'getSyncStateWithMetrics requires 2 args'
    sys.exit(1)
  pp.pprint(client.getSyncStateWithMetrics(args[0],eval(args[1]),))

elif cmd == 'getSyncChunk':
  if len(args) != 4:
    print 'getSyncChunk requires 4 args'
    sys.exit(1)
  pp.pprint(client.getSyncChunk(args[0],eval(args[1]),eval(args[2]),eval(args[3]),))

elif cmd == 'getFilteredSyncChunk':
  if len(args) != 4:
    print 'getFilteredSyncChunk requires 4 args'
    sys.exit(1)
  pp.pprint(client.getFilteredSyncChunk(args[0],eval(args[1]),eval(args[2]),eval(args[3]),))

elif cmd == 'getLinkedNotebookSyncState':
  if len(args) != 2:
    print 'getLinkedNotebookSyncState requires 2 args'
    sys.exit(1)
  pp.pprint(client.getLinkedNotebookSyncState(args[0],eval(args[1]),))

elif cmd == 'getLinkedNotebookSyncChunk':
  if len(args) != 5:
    print 'getLinkedNotebookSyncChunk requires 5 args'
    sys.exit(1)
  pp.pprint(client.getLinkedNotebookSyncChunk(args[0],eval(args[1]),eval(args[2]),eval(args[3]),eval(args[4]),))

elif cmd == 'listNotebooks':
  if len(args) != 1:
    print 'listNotebooks requires 1 args'
    sys.exit(1)
  pp.pprint(client.listNotebooks(args[0],))

elif cmd == 'getNotebook':
  if len(args) != 2:
    print 'getNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.getNotebook(args[0],eval(args[1]),))

elif cmd == 'getDefaultNotebook':
  if len(args) != 1:
    print 'getDefaultNotebook requires 1 args'
    sys.exit(1)
  pp.pprint(client.getDefaultNotebook(args[0],))

elif cmd == 'createNotebook':
  if len(args) != 2:
    print 'createNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.createNotebook(args[0],eval(args[1]),))

elif cmd == 'updateNotebook':
  if len(args) != 2:
    print 'updateNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.updateNotebook(args[0],eval(args[1]),))

elif cmd == 'expungeNotebook':
  if len(args) != 2:
    print 'expungeNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.expungeNotebook(args[0],eval(args[1]),))

elif cmd == 'listTags':
  if len(args) != 1:
    print 'listTags requires 1 args'
    sys.exit(1)
  pp.pprint(client.listTags(args[0],))

elif cmd == 'listTagsByNotebook':
  if len(args) != 2:
    print 'listTagsByNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.listTagsByNotebook(args[0],eval(args[1]),))

elif cmd == 'getTag':
  if len(args) != 2:
    print 'getTag requires 2 args'
    sys.exit(1)
  pp.pprint(client.getTag(args[0],eval(args[1]),))

elif cmd == 'createTag':
  if len(args) != 2:
    print 'createTag requires 2 args'
    sys.exit(1)
  pp.pprint(client.createTag(args[0],eval(args[1]),))

elif cmd == 'updateTag':
  if len(args) != 2:
    print 'updateTag requires 2 args'
    sys.exit(1)
  pp.pprint(client.updateTag(args[0],eval(args[1]),))

elif cmd == 'untagAll':
  if len(args) != 2:
    print 'untagAll requires 2 args'
    sys.exit(1)
  pp.pprint(client.untagAll(args[0],eval(args[1]),))

elif cmd == 'expungeTag':
  if len(args) != 2:
    print 'expungeTag requires 2 args'
    sys.exit(1)
  pp.pprint(client.expungeTag(args[0],eval(args[1]),))

elif cmd == 'listSearches':
  if len(args) != 1:
    print 'listSearches requires 1 args'
    sys.exit(1)
  pp.pprint(client.listSearches(args[0],))

elif cmd == 'getSearch':
  if len(args) != 2:
    print 'getSearch requires 2 args'
    sys.exit(1)
  pp.pprint(client.getSearch(args[0],eval(args[1]),))

elif cmd == 'createSearch':
  if len(args) != 2:
    print 'createSearch requires 2 args'
    sys.exit(1)
  pp.pprint(client.createSearch(args[0],eval(args[1]),))

elif cmd == 'updateSearch':
  if len(args) != 2:
    print 'updateSearch requires 2 args'
    sys.exit(1)
  pp.pprint(client.updateSearch(args[0],eval(args[1]),))

elif cmd == 'expungeSearch':
  if len(args) != 2:
    print 'expungeSearch requires 2 args'
    sys.exit(1)
  pp.pprint(client.expungeSearch(args[0],eval(args[1]),))

elif cmd == 'findNotes':
  if len(args) != 4:
    print 'findNotes requires 4 args'
    sys.exit(1)
  pp.pprint(client.findNotes(args[0],eval(args[1]),eval(args[2]),eval(args[3]),))

elif cmd == 'findNoteOffset':
  if len(args) != 3:
    print 'findNoteOffset requires 3 args'
    sys.exit(1)
  pp.pprint(client.findNoteOffset(args[0],eval(args[1]),eval(args[2]),))

elif cmd == 'findNotesMetadata':
  if len(args) != 5:
    print 'findNotesMetadata requires 5 args'
    sys.exit(1)
  pp.pprint(client.findNotesMetadata(args[0],eval(args[1]),eval(args[2]),eval(args[3]),eval(args[4]),))

elif cmd == 'findNoteCounts':
  if len(args) != 3:
    print 'findNoteCounts requires 3 args'
    sys.exit(1)
  pp.pprint(client.findNoteCounts(args[0],eval(args[1]),eval(args[2]),))

elif cmd == 'getNote':
  if len(args) != 6:
    print 'getNote requires 6 args'
    sys.exit(1)
  pp.pprint(client.getNote(args[0],eval(args[1]),eval(args[2]),eval(args[3]),eval(args[4]),eval(args[5]),))

elif cmd == 'getNoteApplicationData':
  if len(args) != 2:
    print 'getNoteApplicationData requires 2 args'
    sys.exit(1)
  pp.pprint(client.getNoteApplicationData(args[0],eval(args[1]),))

elif cmd == 'getNoteApplicationDataEntry':
  if len(args) != 3:
    print 'getNoteApplicationDataEntry requires 3 args'
    sys.exit(1)
  pp.pprint(client.getNoteApplicationDataEntry(args[0],eval(args[1]),args[2],))

elif cmd == 'setNoteApplicationDataEntry':
  if len(args) != 4:
    print 'setNoteApplicationDataEntry requires 4 args'
    sys.exit(1)
  pp.pprint(client.setNoteApplicationDataEntry(args[0],eval(args[1]),args[2],args[3],))

elif cmd == 'unsetNoteApplicationDataEntry':
  if len(args) != 3:
    print 'unsetNoteApplicationDataEntry requires 3 args'
    sys.exit(1)
  pp.pprint(client.unsetNoteApplicationDataEntry(args[0],eval(args[1]),args[2],))

elif cmd == 'getNoteContent':
  if len(args) != 2:
    print 'getNoteContent requires 2 args'
    sys.exit(1)
  pp.pprint(client.getNoteContent(args[0],eval(args[1]),))

elif cmd == 'getNoteSearchText':
  if len(args) != 4:
    print 'getNoteSearchText requires 4 args'
    sys.exit(1)
  pp.pprint(client.getNoteSearchText(args[0],eval(args[1]),eval(args[2]),eval(args[3]),))

elif cmd == 'getResourceSearchText':
  if len(args) != 2:
    print 'getResourceSearchText requires 2 args'
    sys.exit(1)
  pp.pprint(client.getResourceSearchText(args[0],eval(args[1]),))

elif cmd == 'getNoteTagNames':
  if len(args) != 2:
    print 'getNoteTagNames requires 2 args'
    sys.exit(1)
  pp.pprint(client.getNoteTagNames(args[0],eval(args[1]),))

elif cmd == 'createNote':
  if len(args) != 2:
    print 'createNote requires 2 args'
    sys.exit(1)
  pp.pprint(client.createNote(args[0],eval(args[1]),))

elif cmd == 'updateNote':
  if len(args) != 2:
    print 'updateNote requires 2 args'
    sys.exit(1)
  pp.pprint(client.updateNote(args[0],eval(args[1]),))

elif cmd == 'deleteNote':
  if len(args) != 2:
    print 'deleteNote requires 2 args'
    sys.exit(1)
  pp.pprint(client.deleteNote(args[0],eval(args[1]),))

elif cmd == 'expungeNote':
  if len(args) != 2:
    print 'expungeNote requires 2 args'
    sys.exit(1)
  pp.pprint(client.expungeNote(args[0],eval(args[1]),))

elif cmd == 'expungeNotes':
  if len(args) != 2:
    print 'expungeNotes requires 2 args'
    sys.exit(1)
  pp.pprint(client.expungeNotes(args[0],eval(args[1]),))

elif cmd == 'expungeInactiveNotes':
  if len(args) != 1:
    print 'expungeInactiveNotes requires 1 args'
    sys.exit(1)
  pp.pprint(client.expungeInactiveNotes(args[0],))

elif cmd == 'copyNote':
  if len(args) != 3:
    print 'copyNote requires 3 args'
    sys.exit(1)
  pp.pprint(client.copyNote(args[0],eval(args[1]),eval(args[2]),))

elif cmd == 'listNoteVersions':
  if len(args) != 2:
    print 'listNoteVersions requires 2 args'
    sys.exit(1)
  pp.pprint(client.listNoteVersions(args[0],eval(args[1]),))

elif cmd == 'getNoteVersion':
  if len(args) != 6:
    print 'getNoteVersion requires 6 args'
    sys.exit(1)
  pp.pprint(client.getNoteVersion(args[0],eval(args[1]),eval(args[2]),eval(args[3]),eval(args[4]),eval(args[5]),))

elif cmd == 'getResource':
  if len(args) != 6:
    print 'getResource requires 6 args'
    sys.exit(1)
  pp.pprint(client.getResource(args[0],eval(args[1]),eval(args[2]),eval(args[3]),eval(args[4]),eval(args[5]),))

elif cmd == 'getResourceApplicationData':
  if len(args) != 2:
    print 'getResourceApplicationData requires 2 args'
    sys.exit(1)
  pp.pprint(client.getResourceApplicationData(args[0],eval(args[1]),))

elif cmd == 'getResourceApplicationDataEntry':
  if len(args) != 3:
    print 'getResourceApplicationDataEntry requires 3 args'
    sys.exit(1)
  pp.pprint(client.getResourceApplicationDataEntry(args[0],eval(args[1]),args[2],))

elif cmd == 'setResourceApplicationDataEntry':
  if len(args) != 4:
    print 'setResourceApplicationDataEntry requires 4 args'
    sys.exit(1)
  pp.pprint(client.setResourceApplicationDataEntry(args[0],eval(args[1]),args[2],args[3],))

elif cmd == 'unsetResourceApplicationDataEntry':
  if len(args) != 3:
    print 'unsetResourceApplicationDataEntry requires 3 args'
    sys.exit(1)
  pp.pprint(client.unsetResourceApplicationDataEntry(args[0],eval(args[1]),args[2],))

elif cmd == 'updateResource':
  if len(args) != 2:
    print 'updateResource requires 2 args'
    sys.exit(1)
  pp.pprint(client.updateResource(args[0],eval(args[1]),))

elif cmd == 'getResourceData':
  if len(args) != 2:
    print 'getResourceData requires 2 args'
    sys.exit(1)
  pp.pprint(client.getResourceData(args[0],eval(args[1]),))

elif cmd == 'getResourceByHash':
  if len(args) != 6:
    print 'getResourceByHash requires 6 args'
    sys.exit(1)
  pp.pprint(client.getResourceByHash(args[0],eval(args[1]),args[2],eval(args[3]),eval(args[4]),eval(args[5]),))

elif cmd == 'getResourceRecognition':
  if len(args) != 2:
    print 'getResourceRecognition requires 2 args'
    sys.exit(1)
  pp.pprint(client.getResourceRecognition(args[0],eval(args[1]),))

elif cmd == 'getResourceAlternateData':
  if len(args) != 2:
    print 'getResourceAlternateData requires 2 args'
    sys.exit(1)
  pp.pprint(client.getResourceAlternateData(args[0],eval(args[1]),))

elif cmd == 'getResourceAttributes':
  if len(args) != 2:
    print 'getResourceAttributes requires 2 args'
    sys.exit(1)
  pp.pprint(client.getResourceAttributes(args[0],eval(args[1]),))

elif cmd == 'getPublicNotebook':
  if len(args) != 2:
    print 'getPublicNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.getPublicNotebook(eval(args[0]),args[1],))

elif cmd == 'createSharedNotebook':
  if len(args) != 2:
    print 'createSharedNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.createSharedNotebook(args[0],eval(args[1]),))

elif cmd == 'updateSharedNotebook':
  if len(args) != 2:
    print 'updateSharedNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.updateSharedNotebook(args[0],eval(args[1]),))

elif cmd == 'setSharedNotebookRecipientSettings':
  if len(args) != 3:
    print 'setSharedNotebookRecipientSettings requires 3 args'
    sys.exit(1)
  pp.pprint(client.setSharedNotebookRecipientSettings(args[0],eval(args[1]),eval(args[2]),))

elif cmd == 'sendMessageToSharedNotebookMembers':
  if len(args) != 4:
    print 'sendMessageToSharedNotebookMembers requires 4 args'
    sys.exit(1)
  pp.pprint(client.sendMessageToSharedNotebookMembers(args[0],eval(args[1]),args[2],eval(args[3]),))

elif cmd == 'listSharedNotebooks':
  if len(args) != 1:
    print 'listSharedNotebooks requires 1 args'
    sys.exit(1)
  pp.pprint(client.listSharedNotebooks(args[0],))

elif cmd == 'expungeSharedNotebooks':
  if len(args) != 2:
    print 'expungeSharedNotebooks requires 2 args'
    sys.exit(1)
  pp.pprint(client.expungeSharedNotebooks(args[0],eval(args[1]),))

elif cmd == 'createLinkedNotebook':
  if len(args) != 2:
    print 'createLinkedNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.createLinkedNotebook(args[0],eval(args[1]),))

elif cmd == 'updateLinkedNotebook':
  if len(args) != 2:
    print 'updateLinkedNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.updateLinkedNotebook(args[0],eval(args[1]),))

elif cmd == 'listLinkedNotebooks':
  if len(args) != 1:
    print 'listLinkedNotebooks requires 1 args'
    sys.exit(1)
  pp.pprint(client.listLinkedNotebooks(args[0],))

elif cmd == 'expungeLinkedNotebook':
  if len(args) != 2:
    print 'expungeLinkedNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.expungeLinkedNotebook(args[0],eval(args[1]),))

elif cmd == 'authenticateToSharedNotebook':
  if len(args) != 2:
    print 'authenticateToSharedNotebook requires 2 args'
    sys.exit(1)
  pp.pprint(client.authenticateToSharedNotebook(args[0],args[1],))

elif cmd == 'getSharedNotebookByAuth':
  if len(args) != 1:
    print 'getSharedNotebookByAuth requires 1 args'
    sys.exit(1)
  pp.pprint(client.getSharedNotebookByAuth(args[0],))

elif cmd == 'emailNote':
  if len(args) != 2:
    print 'emailNote requires 2 args'
    sys.exit(1)
  pp.pprint(client.emailNote(args[0],eval(args[1]),))

elif cmd == 'shareNote':
  if len(args) != 2:
    print 'shareNote requires 2 args'
    sys.exit(1)
  pp.pprint(client.shareNote(args[0],eval(args[1]),))

elif cmd == 'stopSharingNote':
  if len(args) != 2:
    print 'stopSharingNote requires 2 args'
    sys.exit(1)
  pp.pprint(client.stopSharingNote(args[0],eval(args[1]),))

elif cmd == 'authenticateToSharedNote':
  if len(args) != 3:
    print 'authenticateToSharedNote requires 3 args'
    sys.exit(1)
  pp.pprint(client.authenticateToSharedNote(args[0],args[1],args[2],))

elif cmd == 'findRelated':
  if len(args) != 3:
    print 'findRelated requires 3 args'
    sys.exit(1)
  pp.pprint(client.findRelated(args[0],eval(args[1]),eval(args[2]),))

else:
  print 'Unrecognized method %s' % cmd
  sys.exit(1)

transport.close()


================================================
FILE: lib/evernote/edam/notestore/NoteStore.py
================================================
#
# Autogenerated by Thrift Compiler
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
#  options string: py:new_style
#

from thrift.Thrift import TType, TMessageType, TException, TApplicationException
from ttypes import *
from thrift.Thrift import TProcessor
from thrift.transport import TTransport
from thrift.protocol import TBinaryProtocol, TProtocol
try:
  from thrift.protocol import fastbinary
except:
  fastbinary = None


class Iface(object):
  def getSyncState(self, authenticationToken):
    """
    Asks the NoteStore to provide information about the status of the user
    account corresponding to the provided authentication token.
    
    Parameters:
     - authenticationToken
    """
    pass

  def getSyncStateWithMetrics(self, authenticationToken, clientMetrics):
    """
    Asks the NoteStore to provide information about the status of the user
    account corresponding to the provided authentication token.
    This version of 'getSyncState' allows the client to upload coarse-
    grained usage metrics to the service.
    
    @param clientMetrics  see the documentation of the ClientUsageMetrics
      structure for an explanation of the fields that clients can pass to
      the service.
    
    Parameters:
     - authenticationToken
     - clientMetrics
    """
    pass

  def getSyncChunk(self, authenticationToken, afterUSN, maxEntries, fullSyncOnly):
    """
    DEPRECATED - use getFilteredSyncChunk.
    
    Parameters:
     - authenticationToken
     - afterUSN
     - maxEntries
     - fullSyncOnly
    """
    pass

  def getFilteredSyncChunk(self, authenticationToken, afterUSN, maxEntries, filter):
    """
    Asks the NoteStore to provide the state of the account in order of
    last modification.  This request retrieves one block of the server's
    state so that a client can make several small requests against a large
    account rather than getting the entire state in one big message.
    This call gives fine-grained control of the data that will
    be received by a client by omitting data elements that a client doesn't
    need. This may reduce network traffic and sync times.
    
    @param afterUSN
      The client can pass this value to ask only for objects that
      have been updated after a certain point.  This allows the client to
      receive updates after its last checkpoint rather than doing a full
      synchronization on every pass.  The default value of "0" indicates
      that the client wants to get objects from the start of the account.
    
    @param maxEntries
      The maximum number of modified objects that should be
      returned in the result SyncChunk.  This can be used to limit the size
      of each individual message to be friendly for network transfer.
    
    @param filter
      The caller must set some of the flags in this structure to specify which
      data types should be returned during the synchronization.  See
      the SyncChunkFilter structure for information on each flag.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "afterUSN" - if negative
      </li>
      <li> BAD_DATA_FORMAT "maxEntries" - if less than 1
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - afterUSN
     - maxEntries
     - filter
    """
    pass

  def getLinkedNotebookSyncState(self, authenticationToken, linkedNotebook):
    """
    Asks the NoteStore to provide information about the status of a linked
    notebook that has been shared with the caller, or that is public to the
    world.
    This will return a result that is similar to getSyncState, but may omit
    SyncState.uploaded if the caller doesn't have permission to write to
    the linked notebook.
    
    This function must be called on the shard that owns the referenced
    notebook.  (I.e. the shardId in /shard/shardId/edam/note must be the
    same as LinkedNotebook.shardId.)
    
    @param authenticationToken
      This should be an authenticationToken for the guest who has received
      the invitation to the share.  (I.e. this should not be the result of
      NoteStore.authenticateToSharedNotebook)
    
    @param linkedNotebook
      This structure should contain identifying information and permissions
      to access the notebook in question.
    
    Parameters:
     - authenticationToken
     - linkedNotebook
    """
    pass

  def getLinkedNotebookSyncChunk(self, authenticationToken, linkedNotebook, afterUSN, maxEntries, fullSyncOnly):
    """
    Asks the NoteStore to provide information about the contents of a linked
    notebook that has been shared with the caller, or that is public to the
    world.
    This will return a result that is similar to getSyncChunk, but will only
    contain entries that are visible to the caller.  I.e. only that particular
    Notebook will be visible, along with its Notes, and Tags on those Notes.
    
    This function must be called on the shard that owns the referenced
    notebook.  (I.e. the shardId in /shard/shardId/edam/note must be the
    same as LinkedNotebook.shardId.)
    
    @param authenticationToken
      This should be an authenticationToken for the guest who has received
      the invitation to the share.  (I.e. this should not be the result of
      NoteStore.authenticateToSharedNotebook)
    
    @param linkedNotebook
      This structure should contain identifying information and permissions
      to access the notebook in question.  This must contain the valid fields
      for either a shared notebook (e.g. shareKey)
      or a public notebook (e.g. username, uri)
    
    @param afterUSN
      The client can pass this value to ask only for objects that
      have been updated after a certain point.  This allows the client to
      receive updates after its last checkpoint rather than doing a full
      synchronization on every pass.  The default value of "0" indicates
      that the client wants to get objects from the start of the account.
    
    @param maxEntries
      The maximum number of modified objects that should be
      returned in the result SyncChunk.  This can be used to limit the size
      of each individual message to be friendly for network transfer.
      Applications should not request more than 256 objects at a time,
      and must handle the case where the service returns less than the
      requested number of objects in a given request even though more
      objects are available on the service.
    
    @param fullSyncOnly
      If true, then the client only wants initial data for a full sync.
      In this case, the service will not return any expunged objects,
      and will not return any Resources, since these are also provided
      in their corresponding Notes.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "afterUSN" - if negative
      </li>
      <li> BAD_DATA_FORMAT "maxEntries" - if less than 1
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "LinkedNotebook" - if the provided information doesn't match any
        valid notebook
      </li>
      <li> "LinkedNotebook.uri" - if the provided public URI doesn't match any
        valid notebook
      </li>
      <li> "SharedNotebook.id" - if the provided information indicates a
         shared notebook that no longer exists
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - linkedNotebook
     - afterUSN
     - maxEntries
     - fullSyncOnly
    """
    pass

  def listNotebooks(self, authenticationToken):
    """
    Returns a list of all of the notebooks in the account.
    
    Parameters:
     - authenticationToken
    """
    pass

  def getNotebook(self, authenticationToken, guid):
    """
    Returns the current state of the notebook with the provided GUID.
    The notebook may be active or deleted (but not expunged).
    
    @param guid
      The GUID of the notebook to be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Notebook.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Notebook" - private notebook, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - tag not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def getDefaultNotebook(self, authenticationToken):
    """
    Returns the notebook that should be used to store new notes in the
    user's account when no other notebooks are specified.
    
    Parameters:
     - authenticationToken
    """
    pass

  def createNotebook(self, authenticationToken, notebook):
    """
    Asks the service to make a notebook with the provided name.
    
    @param notebook
      The desired fields for the notebook must be provided on this
      object.  The name of the notebook must be set, and either the 'active'
      or 'defaultNotebook' fields may be set by the client at creation.
      If a notebook exists in the account with the same name (via
      case-insensitive compare), this will throw an EDAMUserException.
    
    @return
      The newly created Notebook.  The server-side GUID will be
      saved in this object's 'guid' field.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Notebook.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Notebook.stack" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Publishing.uri" - if publishing set but bad uri
      </li>
      <li> BAD_DATA_FORMAT "Publishing.publicDescription" - if too long
      </li>
      <li> DATA_CONFLICT "Notebook.name" - name already in use
      </li>
      <li> DATA_CONFLICT "Publishing.uri" - if URI already in use
      </li>
      <li> DATA_REQUIRED "Publishing.uri" - if publishing set but uri missing
      </li>
      <li> LIMIT_REACHED "Notebook" - at max number of notebooks
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - notebook
    """
    pass

  def updateNotebook(self, authenticationToken, notebook):
    """
    Submits notebook changes to the service.  The provided data must include
    the notebook's guid field for identification.
    
    @param notebook
      The notebook object containing the requested changes.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Notebook.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Notebook.stack" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Publishing.uri" - if publishing set but bad uri
      </li>
      <li> BAD_DATA_FORMAT "Publishing.publicDescription" - if too long
      </li>
      <li> DATA_CONFLICT "Notebook.name" - name already in use
      </li>
      <li> DATA_CONFLICT "Publishing.uri" - if URI already in use
      </li>
      <li> DATA_REQUIRED "Publishing.uri" - if publishing set but uri missing
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - notebook
    """
    pass

  def expungeNotebook(self, authenticationToken, guid):
    """
    Permanently removes the notebook from the user's account.
    After this action, the notebook is no longer available for undeletion, etc.
    If the notebook contains any Notes, they will be moved to the current
    default notebook and moved into the trash (i.e. Note.active=false).
    <p/>
    NOTE: This function is generally not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param guid
      The GUID of the notebook to delete.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Notebook.guid" - if the parameter is missing
      </li>
      <li> LIMIT_REACHED "Notebook" - trying to expunge the last Notebook
      </li>
      <li> PERMISSION_DENIED "Notebook" - private notebook, user doesn't own
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def listTags(self, authenticationToken):
    """
    Returns a list of the tags in the account.  Evernote does not support
    the undeletion of tags, so this will only include active tags.
    
    Parameters:
     - authenticationToken
    """
    pass

  def listTagsByNotebook(self, authenticationToken, notebookGuid):
    """
    Returns a list of the tags that are applied to at least one note within
    the provided notebook.  If the notebook is public, the authenticationToken
    may be ignored.
    
    @param notebookGuid
       the GUID of the notebook to use to find tags
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - notebook not found by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - notebookGuid
    """
    pass

  def getTag(self, authenticationToken, guid):
    """
    Returns the current state of the Tag with the provided GUID.
    
    @param guid
      The GUID of the tag to be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Tag.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Tag" - private Tag, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Tag.guid" - tag not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def createTag(self, authenticationToken, tag):
    """
    Asks the service to make a tag with a set of information.
    
    @param tag
      The desired list of fields for the tag are specified in this
      object.  The caller must specify the tag name, and may provide
      the parentGUID.
    
    @return
      The newly created Tag.  The server-side GUID will be
      saved in this object.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Tag.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Tag.parentGuid" - malformed GUID
      </li>
      <li> DATA_CONFLICT "Tag.name" - name already in use
      </li>
      <li> LIMIT_REACHED "Tag" - at max number of tags
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Tag.parentGuid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - tag
    """
    pass

  def updateTag(self, authenticationToken, tag):
    """
    Submits tag changes to the service.  The provided data must include
    the tag's guid field for identification.  The service will apply
    updates to the following tag fields:  name, parentGuid
    
    @param tag
      The tag object containing the requested changes.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Tag.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Tag.parentGuid" - malformed GUID
      </li>
      <li> DATA_CONFLICT "Tag.name" - name already in use
      </li>
      <li> DATA_CONFLICT "Tag.parentGuid" - can't set parent: circular
      </li>
      <li> PERMISSION_DENIED "Tag" - user doesn't own tag
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Tag.guid" - tag not found, by GUID
      </li>
      <li> "Tag.parentGuid" - parent not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - tag
    """
    pass

  def untagAll(self, authenticationToken, guid):
    """
    Removes the provided tag from every note that is currently tagged with
    this tag.  If this operation is successful, the tag will still be in
    the account, but it will not be tagged on any notes.
    
    This function is not indended for use by full synchronizing clients, since
    it does not provide enough result information to the client to reconcile
    the local state without performing a follow-up sync from the service.  This
    is intended for "thin clients" that need to efficiently support this as
    a UI operation.
    
    @param guid
      The GUID of the tag to remove from all notes.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Tag.guid" - if the guid parameter is missing
      </li>
      <li> PERMISSION_DENIED "Tag" - user doesn't own tag
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Tag.guid" - tag not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def expungeTag(self, authenticationToken, guid):
    """
    Permanently deletes the tag with the provided GUID, if present.
    <p/>
    NOTE: This function is generally not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param guid
      The GUID of the tag to delete.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Tag.guid" - if the guid parameter is missing
      </li>
      <li> PERMISSION_DENIED "Tag" - user doesn't own tag
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Tag.guid" - tag not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def listSearches(self, authenticationToken):
    """
    Returns a list of the searches in the account.  Evernote does not support
    the undeletion of searches, so this will only include active searches.
    
    Parameters:
     - authenticationToken
    """
    pass

  def getSearch(self, authenticationToken, guid):
    """
    Returns the current state of the search with the provided GUID.
    
    @param guid
      The GUID of the search to be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "SavedSearch.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "SavedSearch" - private Tag, user doesn't own
      </li>
    
    @throws EDAMNotFoundException <ul>
      <li> "SavedSearch.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def createSearch(self, authenticationToken, search):
    """
    Asks the service to make a saved search with a set of information.
    
    @param search
      The desired list of fields for the search are specified in this
      object. The caller must specify the name and query for the
      search, and may optionally specify a search scope.
      The SavedSearch.format field is ignored by the service.
    
    @return
      The newly created SavedSearch.  The server-side GUID will be
      saved in this object.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "SavedSearch.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "SavedSearch.query" - invalid length
      </li>
      <li> DATA_CONFLICT "SavedSearch.name" - name already in use
      </li>
      <li> LIMIT_REACHED "SavedSearch" - at max number of searches
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - search
    """
    pass

  def updateSearch(self, authenticationToken, search):
    """
    Submits search changes to the service. The provided data must include
    the search's guid field for identification. The service will apply
    updates to the following search fields: name, query, and scope.
    
    @param search
      The search object containing the requested changes.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "SavedSearch.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "SavedSearch.query" - invalid length
      </li>
      <li> DATA_CONFLICT "SavedSearch.name" - name already in use
      </li>
      <li> PERMISSION_DENIED "SavedSearch" - user doesn't own tag
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "SavedSearch.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - search
    """
    pass

  def expungeSearch(self, authenticationToken, guid):
    """
    Permanently deletes the saved search with the provided GUID, if present.
    <p/>
    NOTE: This function is generally not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param guid
      The GUID of the search to delete.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "SavedSearch.guid" - if the guid parameter is empty
      </li>
      <li> PERMISSION_DENIED "SavedSearch" - user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "SavedSearch.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def findNotes(self, authenticationToken, filter, offset, maxNotes):
    """
    DEPRECATED. Use findNotesMetadata.
    
    Parameters:
     - authenticationToken
     - filter
     - offset
     - maxNotes
    """
    pass

  def findNoteOffset(self, authenticationToken, filter, guid):
    """
    Finds the position of a note within a sorted subset of all of the user's
    notes. This may be useful for thin clients that are displaying a paginated
    listing of a large account, which need to know where a particular note
    sits in the list without retrieving all notes first.
    
    @param authenticationToken
      Must be a valid token for the user's account unless the NoteFilter
      'notebookGuid' is the GUID of a public notebook.
    
    @param filter
      The list of criteria that will constrain the notes to be returned.
    
    @param guid
      The GUID of the note to be retrieved.
    
    @return
      If the note with the provided GUID is found within the matching note
      list, this will return the offset of that note within that list (where
      the first offset is 0).  If the note is not found within the set of
      notes, this will return -1.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "offset" - not between 0 and EDAM_USER_NOTES_MAX
      </li>
      <li> BAD_DATA_FORMAT "maxNotes" - not between 0 and EDAM_USER_NOTES_MAX
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.notebookGuid" - if malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.tagGuids" - if any are malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.words" - if search string too long
      </li>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - not found, by GUID
      </li>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - filter
     - guid
    """
    pass

  def findNotesMetadata(self, authenticationToken, filter, offset, maxNotes, resultSpec):
    """
    Used to find the high-level information about a set of the notes from a
    user's account based on various criteria specified via a NoteFilter object.
    <p/>
    Web applications that wish to periodically check for new content in a user's
    Evernote account should consider using webhooks instead of polling this API.
    See http://dev.evernote.com/documentation/cloud/chapters/polling_notification.php
    for more information.
    
    @param authenticationToken
      Must be a valid token for the user's account unless the NoteFilter
      'notebookGuid' is the GUID of a public notebook.
    
    @param filter
      The list of criteria that will constrain the notes to be returned.
    
    @param offset
      The numeric index of the first note to show within the sorted
      results.  The numbering scheme starts with "0".  This can be used for
      pagination.
    
    @param maxNotes
      The mximum notes to return in this query.  The service will return a set
      of notes that is no larger than this number, but may return fewer notes
      if needed.  The NoteList.totalNotes field in the return value will
      indicate whether there are more values available after the returned set.
    
    @param resultSpec
      This specifies which information should be returned for each matching
      Note. The fields on this structure can be used to eliminate data that
      the client doesn't need, which will reduce the time and bandwidth
      to receive and process the reply.
    
    @return
      The list of notes that match the criteria.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "offset" - not between 0 and EDAM_USER_NOTES_MAX
      </li>
      <li> BAD_DATA_FORMAT "maxNotes" - not between 0 and EDAM_USER_NOTES_MAX
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.notebookGuid" - if malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.tagGuids" - if any are malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.words" - if search string too long
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - filter
     - offset
     - maxNotes
     - resultSpec
    """
    pass

  def findNoteCounts(self, authenticationToken, filter, withTrash):
    """
    This function is used to determine how many notes are found for each
    notebook and tag in the user's account, given a current set of filter
    parameters that determine the current selection.  This function will
    return a structure that gives the note count for each notebook and tag
    that has at least one note under the requested filter.  Any notebook or
    tag that has zero notes in the filtered set will not be listed in the
    reply to this function (so they can be assumed to be 0).
    
    @param authenticationToken
      Must be a valid token for the user's account unless the NoteFilter
      'notebookGuid' is the GUID of a public notebook.
    
    @param filter
      The note selection filter that is currently being applied.  The note
      counts are to be calculated with this filter applied to the total set
      of notes in the user's account.
    
    @param withTrash
      If true, then the NoteCollectionCounts.trashCount will be calculated
      and supplied in the reply. Otherwise, the trash value will be omitted.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "NoteFilter.notebookGuid" - if malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.notebookGuids" - if any are malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.words" - if search string too long
      </li>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - filter
     - withTrash
    """
    pass

  def getNote(self, authenticationToken, guid, withContent, withResourcesData, withResourcesRecognition, withResourcesAlternateData):
    """
    Returns the current state of the note in the service with the provided
    GUID.  The ENML contents of the note will only be provided if the
    'withContent' parameter is true.  The service will include the meta-data
    for each resource in the note, but the binary contents of the resources
    and their recognition data will be omitted.
    If the Note is found in a public notebook, the authenticationToken
    will be ignored (so it could be an empty string).  The applicationData
    fields are returned as keysOnly.
    
    @param guid
      The GUID of the note to be retrieved.
    
    @param withContent
      If true, the note will include the ENML contents of its
      'content' field.
    
    @param withResourcesData
      If true, any Resource elements in this Note will include the binary
      contents of their 'data' field's body.
    
    @param withResourcesRecognition
      If true, any Resource elements will include the binary contents of the
      'recognition' field's body if recognition data is present.
    
    @param withResourcesAlternateData
      If true, any Resource elements in this Note will include the binary
      contents of their 'alternateData' fields' body, if an alternate form
      is present.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Note.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Note" - private note, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
     - withContent
     - withResourcesData
     - withResourcesRecognition
     - withResourcesAlternateData
    """
    pass

  def getNoteApplicationData(self, authenticationToken, guid):
    """
    Get all of the application data for the note identified by GUID,
    with values returned within the LazyMap fullMap field.
    If there are no applicationData entries, then a LazyMap
    with an empty fullMap will be returned. If your application
    only needs to fetch its own applicationData entry, use
    getNoteApplicationDataEntry instead.
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def getNoteApplicationDataEntry(self, authenticationToken, guid, key):
    """
    Get the value of a single entry in the applicationData map
    for the note identified by GUID.
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - note not found, by GUID</li>
      <li> "NoteAttributes.applicationData.key" - note not found, by key</li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
     - key
    """
    pass

  def setNoteApplicationDataEntry(self, authenticationToken, guid, key, value):
    """
    Update, or create, an entry in the applicationData map for
    the note identified by guid.
    
    Parameters:
     - authenticationToken
     - guid
     - key
     - value
    """
    pass

  def unsetNoteApplicationDataEntry(self, authenticationToken, guid, key):
    """
    Remove an entry identified by 'key' from the applicationData map for
    the note identified by 'guid'. Silently ignores an unset of a
    non-existing key.
    
    Parameters:
     - authenticationToken
     - guid
     - key
    """
    pass

  def getNoteContent(self, authenticationToken, guid):
    """
    Returns XHTML contents of the note with the provided GUID.
    If the Note is found in a public notebook, the authenticationToken
    will be ignored (so it could be an empty string).
    
    @param guid
      The GUID of the note to be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Note.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Note" - private note, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def getNoteSearchText(self, authenticationToken, guid, noteOnly, tokenizeForIndexing):
    """
    Returns a block of the extracted plain text contents of the note with the
    provided GUID.  This text can be indexed for search purposes by a light
    client that doesn't have capabilities to extract all of the searchable
    text content from the note and its resources.
    
    If the Note is found in a public notebook, the authenticationToken
    will be ignored (so it could be an empty string).
    
    @param guid
      The GUID of the note to be retrieved.
    
    @param noteOnly
      If true, this will only return the text extracted from the ENML contents
      of the note itself.  If false, this will also include the extracted text
      from any text-bearing resources (PDF, recognized images)
    
    @param tokenizeForIndexing
      If true, this will break the text into cleanly separated and sanitized
      tokens.  If false, this will return the more raw text extraction, with
      its original punctuation, capitalization, spacing, etc.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Note.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Note" - private note, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
     - noteOnly
     - tokenizeForIndexing
    """
    pass

  def getResourceSearchText(self, authenticationToken, guid):
    """
    Returns a block of the extracted plain text contents of the resource with
    the provided GUID.  This text can be indexed for search purposes by a light
    client that doesn't have capability to extract all of the searchable
    text content from a resource.
    
    If the Resource is found in a public notebook, the authenticationToken
    will be ignored (so it could be an empty string).
    
    @param guid
      The GUID of the resource to be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Resource.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Resource" - private resource, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Resource.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def getNoteTagNames(self, authenticationToken, guid):
    """
    Returns a list of the names of the tags for the note with the provided
    guid.  This can be used with authentication to get the tags for a
    user's own note, or can be used without valid authentication to retrieve
    the names of the tags for a note in a public notebook.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Note.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Note" - private note, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def createNote(self, authenticationToken, note):
    """
    Asks the service to make a note with the provided set of information.
    
    @param note
      A Note object containing the desired fields to be populated on
      the service.
    
    @return
      The newly created Note from the service.  The server-side
      GUIDs for the Note and any Resources will be saved in this object.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Note.title" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Note.content" - invalid length for ENML content
      </li>
      <li> BAD_DATA_FORMAT "Resource.mime" - invalid resource MIME type
      </li>
      <li> BAD_DATA_FORMAT "NoteAttributes.*" - bad resource string
      </li>
      <li> BAD_DATA_FORMAT "ResourceAttributes.*" - bad resource string
      </li>
      <li> DATA_CONFLICT "Note.deleted" - deleted time set on active note
      </li>
      <li> DATA_REQUIRED "Resource.data" - resource data body missing
      </li>
      <li> ENML_VALIDATION "*" - note content doesn't validate against DTD
      </li>
      <li> LIMIT_REACHED "Note" - at max number per account
      </li>
      <li> LIMIT_REACHED "Note.size" - total note size too large
      </li>
      <li> LIMIT_REACHED "Note.resources" - too many resources on Note
      </li>
      <li> LIMIT_REACHED "Note.tagGuids" - too many Tags on Note
      </li>
      <li> LIMIT_REACHED "Resource.data.size" - resource too large
      </li>
      <li> LIMIT_REACHED "NoteAttribute.*" - attribute string too long
      </li>
      <li> LIMIT_REACHED "ResourceAttribute.*" - attribute string too long
      </li>
      <li> PERMISSION_DENIED "Note.notebookGuid" - NB not owned by user
      </li>
      <li> QUOTA_REACHED "Accounting.uploadLimit" - note exceeds upload quota
      </li>
      <li> BAD_DATA_FORMAT "Tag.name" - Note.tagNames was provided, and one
        of the specified tags had an invalid length or pattern
      </li>
      <li> LIMIT_REACHED "Tag" - Note.tagNames was provided, and the required
        new tags would exceed the maximum number per account
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.notebookGuid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - note
    """
    pass

  def updateNote(self, authenticationToken, note):
    """
    Submit a set of changes to a note to the service.  The provided data
    must include the note's guid field for identification. The note's
    title must also be set.
    
    @param note
      A Note object containing the desired fields to be populated on
      the service. With the exception of the note's title and guid, fields
      that are not being changed do not need to be set. If the content is not
      being modified, note.content should be left unset. If the list of
      resources is not being modified, note.resources should be left unset.
    
    @return
      The metadata (no contents) for the Note on the server after the update
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Note.title" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Note.content" - invalid length for ENML body
      </li>
      <li> BAD_DATA_FORMAT "NoteAttributes.*" - bad resource string
      </li>
      <li> BAD_DATA_FORMAT "ResourceAttributes.*" - bad resource string
      </li>
      <li> BAD_DATA_FORMAT "Resource.mime" - invalid resource MIME type
      </li>
      <li> DATA_CONFLICT "Note.deleted" - deleted time set on active note
      </li>
      <li> DATA_REQUIRED "Resource.data" - resource data body missing
      </li>
      <li> ENML_VALIDATION "*" - note content doesn't validate against DTD
      </li>
      <li> LIMIT_REACHED "Note.tagGuids" - too many Tags on Note
      </li>
      <li> LIMIT_REACHED "Note.resources" - too many resources on Note
      </li>
      <li> LIMIT_REACHED "Note.size" - total note size too large
      </li>
      <li> LIMIT_REACHED "Resource.data.size" - resource too large
      </li>
      <li> LIMIT_REACHED "NoteAttribute.*" - attribute string too long
      </li>
      <li> LIMIT_REACHED "ResourceAttribute.*" - attribute string too long
      </li>
      <li> PERMISSION_DENIED "Note" - user doesn't own
      </li>
      <li> PERMISSION_DENIED "Note.notebookGuid" - user doesn't own destination
      </li>
      <li> QUOTA_REACHED "Accounting.uploadLimit" - note exceeds upload quota
      </li>
      <li> BAD_DATA_FORMAT "Tag.name" - Note.tagNames was provided, and one
        of the specified tags had an invalid length or pattern
      </li>
      <li> LIMIT_REACHED "Tag" - Note.tagNames was provided, and the required
        new tags would exceed the maximum number per account
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - note not found, by GUID
      </li>
      <li> "Note.notebookGuid" - if notebookGuid provided, but not found
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - note
    """
    pass

  def deleteNote(self, authenticationToken, guid):
    """
    Moves the note into the trash. The note may still be undeleted, unless it
    is expunged.  This is equivalent to calling updateNote() after setting
    Note.active = false
    
    @param guid
      The GUID of the note to delete.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> PERMISSION_DENIED "Note" - user doesn't have permission to
             update the note.
      </li>
    </ul>
    
    @throws EDAMUserException <ul>
      <li> DATA_CONFLICT "Note.guid" - the note is already deleted
      </li>
    </ul>
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def expungeNote(self, authenticationToken, guid):
    """
    Permanently removes a Note, and all of its Resources,
    from the service.
    <p/>
    NOTE: This function is not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param guid
      The GUID of the note to delete.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> PERMISSION_DENIED "Note" - user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def expungeNotes(self, authenticationToken, noteGuids):
    """
    Permanently removes a list of Notes, and all of their Resources, from
    the service.  This should be invoked with a small number of Note GUIDs
    (e.g. 100 or less) on each call.  To expunge a larger number of notes,
    call this method multiple times.  This should also be used to reduce the
    number of Notes in a notebook before calling expungeNotebook() or
    in the trash before calling expungeInactiveNotes(), since these calls may
    be prohibitively slow if there are more than a few hundred notes.
    If an exception is thrown for any of the GUIDs, then none of the notes
    will be deleted.  I.e. this call can be treated as an atomic transaction.
    <p/>
    NOTE: This function is not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param noteGuids
      The list of GUIDs for the Notes to remove.
    
    @return
      The account's updateCount at the end of this operation
    
    @throws EDAMUserException <ul>
      <li> PERMISSION_DENIED "Note" - user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - noteGuids
    """
    pass

  def expungeInactiveNotes(self, authenticationToken):
    """
    Permanently removes all of the Notes that are currently marked as
    inactive.  This is equivalent to "emptying the trash", and these Notes
    will be gone permanently.
    <p/>
    This operation may be relatively slow if the account contains a large
    number of inactive Notes.
    <p/>
    NOTE: This function is not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @return
       The number of notes that were expunged.
    
    Parameters:
     - authenticationToken
    """
    pass

  def copyNote(self, authenticationToken, noteGuid, toNotebookGuid):
    """
    Performs a deep copy of the Note with the provided GUID 'noteGuid' into
    the Notebook with the provided GUID 'toNotebookGuid'.
    The caller must be the owner of both the Note and the Notebook.
    This creates a new Note in the destination Notebook with new content and
    Resources that match all of the content and Resources from the original
    Note, but with new GUID identifiers.
    The original Note is not modified by this operation.
    The copied note is considered as an "upload" for the purpose of upload
    transfer limit calculation, so its size is added to the upload count for
    the owner.
    
    @param noteGuid
      The GUID of the Note to copy.
    
    @param toNotebookGuid
      The GUID of the Notebook that should receive the new Note.
    
    @return
      The metadata for the new Note that was created.  This will include the
      new GUID for this Note (and any copied Resources), but will not include
      the content body or the binary bodies of any Resources.
    
    @throws EDAMUserException <ul>
      <li> LIMIT_REACHED "Note" - at max number per account
      </li>
      <li> PERMISSION_DENIED "Notebook.guid" - destination not owned by user
      </li>
      <li> PERMISSION_DENIED "Note" - user doesn't own
      </li>
      <li> QUOTA_REACHED "Accounting.uploadLimit" - note exceeds upload quota
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - noteGuid
     - toNotebookGuid
    """
    pass

  def listNoteVersions(self, authenticationToken, noteGuid):
    """
    Returns a list of the prior versions of a particular note that are
    saved within the service.  These prior versions are stored to provide a
    recovery from unintentional removal of content from a note. The identifiers
    that are returned by this call can be used with getNoteVersion to retrieve
    the previous note.
    The identifiers will be listed from the most recent versions to the oldest.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Note.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Note" - private note, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - noteGuid
    """
    pass

  def getNoteVersion(self, authenticationToken, noteGuid, updateSequenceNum, withResourcesData, withResourcesRecognition, withResourcesAlternateData):
    """
    This can be used to retrieve a previous version of a Note after it has been
    updated within the service.  The caller must identify the note (via its
    guid) and the version (via the updateSequenceNumber of that version).
    to find a listing of the stored version USNs for a note, call
    listNoteVersions.
    This call is only available for notes in Premium accounts.  (I.e. access
    to past versions of Notes is a Premium-only feature.)
    
    @param noteGuid
      The GUID of the note to be retrieved.
    
    @param updateSequenceNum
      The USN of the version of the note that is being retrieved
    
    @param withResourcesData
      If true, any Resource elements in this Note will include the binary
      contents of their 'data' field's body.
    
    @param withResourcesRecognition
      If true, any Resource elements will include the binary contents of the
      'recognition' field's body if recognition data is present.
    
    @param withResourcesAlternateData
      If true, any Resource elements in this Note will include the binary
      contents of their 'alternateData' fields' body, if an alternate form
      is present.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Note.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Note" - private note, user doesn't own
      </li>
      <li> PERMISSION_DENIED "updateSequenceNum" -
        The account isn't permitted to access previous versions of notes.
        (i.e. this is a Free account.)
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
      <li> "Note.updateSequenceNumber" - the Note doesn't have a version with
         the corresponding USN.
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - noteGuid
     - updateSequenceNum
     - withResourcesData
     - withResourcesRecognition
     - withResourcesAlternateData
    """
    pass

  def getResource(self, authenticationToken, guid, withData, withRecognition, withAttributes, withAlternateData):
    """
    Returns the current state of the resource in the service with the
    provided GUID.
    If the Resource is found in a public notebook, the authenticationToken
    will be ignored (so it could be an empty string).  Only the
    keys for the applicationData will be returned.
    
    @param guid
      The GUID of the resource to be retrieved.
    
    @param withData
      If true, the Resource will include the binary contents of the
      'data' field's body.
    
    @param withRecognition
      If true, the Resource will include the binary contents of the
      'recognition' field's body if recognition data is present.
    
    @param withAttributes
      If true, the Resource will include the attributes
    
    @param withAlternateData
      If true, the Resource will include the binary contents of the
      'alternateData' field's body, if an alternate form is present.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Resource.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Resource" - private resource, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Resource.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
     - withData
     - withRecognition
     - withAttributes
     - withAlternateData
    """
    pass

  def getResourceApplicationData(self, authenticationToken, guid):
    """
    Get all of the application data for the Resource identified by GUID,
    with values returned within the LazyMap fullMap field.
    If there are no applicationData entries, then a LazyMap
    with an empty fullMap will be returned. If your application
    only needs to fetch its own applicationData entry, use
    getResourceApplicationDataEntry instead.
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def getResourceApplicationDataEntry(self, authenticationToken, guid, key):
    """
    Get the value of a single entry in the applicationData map
    for the Resource identified by GUID.
    
    @throws EDAMNotFoundException <ul>
      <li> "Resource.guid" - Resource not found, by GUID</li>
      <li> "ResourceAttributes.applicationData.key" - Resource not found, by key</li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
     - key
    """
    pass

  def setResourceApplicationDataEntry(self, authenticationToken, guid, key, value):
    """
    Update, or create, an entry in the applicationData map for
    the Resource identified by guid.
    
    Parameters:
     - authenticationToken
     - guid
     - key
     - value
    """
    pass

  def unsetResourceApplicationDataEntry(self, authenticationToken, guid, key):
    """
    Remove an entry identified by 'key' from the applicationData map for
    the Resource identified by 'guid'.
    
    Parameters:
     - authenticationToken
     - guid
     - key
    """
    pass

  def updateResource(self, authenticationToken, resource):
    """
    Submit a set of changes to a resource to the service.  This can be used
    to update the meta-data about the resource, but cannot be used to change
    the binary contents of the resource (including the length and hash).  These
    cannot be changed directly without creating a new resource and removing the
    old one via updateNote.
    
    @param resource
      A Resource object containing the desired fields to be populated on
      the service.  The service will attempt to update the resource with the
      following fields from the client:
      <ul>
         <li>guid:  must be provided to identify the resource
         </li>
         <li>mime
         </li>
         <li>width
         </li>
         <li>height
         </li>
         <li>duration
         </li>
         <li>attributes:  optional.  if present, the set of attributes will
              be replaced.
         </li>
      </ul>
    
    @return
      The Update Sequence Number of the resource after the changes have been
      applied.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Resource.guid" - if the parameter is missing
      </li>
      <li> BAD_DATA_FORMAT "Resource.mime" - invalid resource MIME type
      </li>
      <li> BAD_DATA_FORMAT "ResourceAttributes.*" - bad resource string
      </li>
      <li> LIMIT_REACHED "ResourceAttribute.*" - attribute string too long
      </li>
      <li> PERMISSION_DENIED "Resource" - private resource, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Resource.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - resource
    """
    pass

  def getResourceData(self, authenticationToken, guid):
    """
    Returns binary data of the resource with the provided GUID.  For
    example, if this were an image resource, this would contain the
    raw bits of the image.
    If the Resource is found in a public notebook, the authenticationToken
    will be ignored (so it could be an empty string).
    
    @param guid
      The GUID of the resource to be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Resource.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Resource" - private resource, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Resource.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def getResourceByHash(self, authenticationToken, noteGuid, contentHash, withData, withRecognition, withAlternateData):
    """
    Returns the current state of a resource, referenced by containing
    note GUID and resource content hash.
    
    @param noteGuid
      The GUID of the note that holds the resource to be retrieved.
    
    @param contentHash
      The MD5 checksum of the resource within that note. Note that
      this is the binary checksum, for example from Resource.data.bodyHash,
      and not the hex-encoded checksum that is used within an en-media
      tag in a note body.
    
    @param withData
      If true, the Resource will include the binary contents of the
      'data' field's body.
    
    @param withRecognition
      If true, the Resource will include the binary contents of the
      'recognition' field's body.
    
    @param withAlternateData
      If true, the Resource will include the binary contents of the
      'alternateData' field's body, if an alternate form is present.
    
    @throws EDAMUserException <ul>
      <li> DATA_REQUIRED "Note.guid" - noteGuid param missing
      </li>
      <li> DATA_REQUIRED "Note.contentHash" - contentHash param missing
      </li>
      <li> PERMISSION_DENIED "Resource" - private resource, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note" - not found, by guid
      </li>
      <li> "Resource" - not found, by hash
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - noteGuid
     - contentHash
     - withData
     - withRecognition
     - withAlternateData
    """
    pass

  def getResourceRecognition(self, authenticationToken, guid):
    """
    Returns the binary contents of the recognition index for the resource
    with the provided GUID.  If the caller asks about a resource that has
    no recognition data, this will throw EDAMNotFoundException.
    If the Resource is found in a public notebook, the authenticationToken
    will be ignored (so it could be an empty string).
    
    @param guid
      The GUID of the resource whose recognition data should be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Resource.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Resource" - private resource, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Resource.guid" - not found, by GUID
      </li>
      <li> "Resource.recognition" - resource has no recognition
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def getResourceAlternateData(self, authenticationToken, guid):
    """
    If the Resource with the provided GUID has an alternate data representation
    (indicated via the Resource.alternateData field), then this request can
    be used to retrieve the binary contents of that alternate data file.
    If the caller asks about a resource that has no alternate data form, this
    will throw EDAMNotFoundException.
    
    @param guid
       The GUID of the resource whose recognition data should be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Resource.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Resource" - private resource, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Resource.guid" - not found, by GUID
      </li>
      <li> "Resource.alternateData" - resource has no recognition
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def getResourceAttributes(self, authenticationToken, guid):
    """
    Returns the set of attributes for the Resource with the provided GUID.
    If the Resource is found in a public notebook, the authenticationToken
    will be ignored (so it could be an empty string).
    
    @param guid
      The GUID of the resource whose attributes should be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Resource.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Resource" - private resource, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Resource.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def getPublicNotebook(self, userId, publicUri):
    """
    <p>
    Looks for a user account with the provided userId on this NoteStore
    shard and determines whether that account contains a public notebook
    with the given URI.  If the account is not found, or no public notebook
    exists with this URI, this will throw an EDAMNotFoundException,
    otherwise this will return the information for that Notebook.
    </p>
    <p>
    If a notebook is visible on the web with a full URL like
    http://www.evernote.com/pub/sethdemo/api
    Then 'sethdemo' is the username that can be used to look up the userId,
    and 'api' is the publicUri.
    </p>
    
    @param userId
       The numeric identifier for the user who owns the public notebook.
       To find this value based on a username string, you can invoke
       UserStore.getPublicUserInfo
    
    @param publicUri
       The uri string for the public notebook, from Notebook.publishing.uri.
    
    @throws EDAMNotFoundException <ul>
      <li>"Publishing.uri" - not found, by URI</li>
    </ul>
    
    @throws EDAMSystemException <ul>
      <li> TAKEN_DOWN "PublicNotebook" - The specified public notebook is
        taken down (for all requesters).</li>
      <li> TAKEN_DOWN "Country" - The specified public notebook is taken
        down for the requester because of an IP-based country lookup.</li>
    </ul>
    
    Parameters:
     - userId
     - publicUri
    """
    pass

  def createSharedNotebook(self, authenticationToken, sharedNotebook):
    """
    Used to construct a shared notebook object. The constructed notebook will
    contain a "share key" which serve as a unique identifer and access token
    for a user to access the notebook of the shared notebook owner.
    
    @param sharedNotebook
      A shared notebook object populated with the email address of the share
      recipient, the notebook guid and the access permissions. All other
      attributes of the shared object are ignored. The SharedNotebook.allowPreview
      field must be explicitly set with either a true or false value.
    
    @return
      The fully populated SharedNotebook object including the server assigned
      share id and shareKey which can both be used to uniquely identify the
      SharedNotebook.
    
    @throws EDAMUserException <ul>
      <li>BAD_DATA_FORMAT "SharedNotebook.email" - if the email was not valid</li>
      <li>BAD_DATA_FORMAT "requireLogin" - if the SharedNotebook.allowPreview field was
          not set, and the SharedNotebook.requireLogin was also not set or was set to
          false.</li>
      <li>PERMISSION_DENIED "SharedNotebook.recipientSettings" - if
          recipientSettings is set in the sharedNotebook.  Only the recipient
          can set these values via the setSharedNotebookRecipientSettings
          method.
      </li>
      </ul>
    @throws EDAMNotFoundException <ul>
      <li>Notebook.guid - if the notebookGuid is not a valid GUID for the user.
      </li>
      </ul>
    
    Parameters:
     - authenticationToken
     - sharedNotebook
    """
    pass

  def updateSharedNotebook(self, authenticationToken, sharedNotebook):
    """
    Update a SharedNotebook object.
    
    @param authenticationToken
      Must be an authentication token from the owner or a shared notebook
      authentication token or business authentication token with sufficient
      permissions to change invitations for a notebook.
    
    @param sharedNotebook
     The SharedNotebook object containing the requested changes.
     The "id" of the shared notebook must be set to allow the service
     to identify the SharedNotebook to be updated. In addition, you MUST set
     the email, permission, and allowPreview fields to the desired values.
     All other fields will be ignored if set.
    
    @return
     The Update Serial Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li>UNSUPPORTED_OPERATION "updateSharedNotebook" - if this service instance does not support shared notebooks.</li>
      <li>BAD_DATA_FORMAT "SharedNotebook.email" - if the email was not valid.</li>
      <li>DATA_REQUIRED "SharedNotebook.id" - if the id field was not set.</li>
      <li>DATA_REQUIRED "SharedNotebook.privilege" - if the privilege field was not set.</li>
      <li>DATA_REQUIRED "SharedNotebook.allowPreview" - if the allowPreview field was not set.</li>
      </ul>
    @throws EDAMNotFoundException <ul>
      <li>SharedNotebook.id - if no shared notebook with the specified ID was found.
      </ul>
    
    Parameters:
     - authenticationToken
     - sharedNotebook
    """
    pass

  def setSharedNotebookRecipientSettings(self, authenticationToken, sharedNotebookId, recipientSettings):
    """
    Set values for the recipient settings associated with a shared notebook.  Having
    update rights to the shared notebook record itself has no effect on this call;
    only the recipient of the shared notebook can can the recipient settings.
    
    If you do <i>not</i> wish to, or cannot, change one of the reminderNotifyEmail or
    reminderNotifyInApp fields, you must leave that field unset in recipientSettings.
    This method will skip that field for updates and leave the existing state as
    it is.
    
    @return The update sequence number of the account to which the shared notebook
      belongs, which is the account from which we are sharing a notebook.
    
    @throws EDAMNotFoundException "sharedNotebookId" - Thrown if the service does not
      have a shared notebook record for the sharedNotebookId on the given shard.  If you
      receive this exception, it is probable that the shared notebook record has
      been revoked or expired, or that you accessed the wrong shard.
    
    @throws EDAMUserException <ul>
      <li>PEMISSION_DENIED "authenticationToken" - If you do not have permission to set
          the recipient settings for the shared notebook.  Only the recipient has
          permission to do this.
      <li>DATA_CONFLICT "recipientSettings.reminderNotifyEmail" - Setting whether
          or not you want to receive reminder e-mail notifications is possible on
          a business notebook in the business to which the user belongs.  All
          others can safely unset the reminderNotifyEmail field from the
          recipientSettings parameter.
    </ul>
    
    Parameters:
     - authenticationToken
     - sharedNotebookId
     - recipientSettings
    """
    pass

  def sendMessageToSharedNotebookMembers(self, authenticationToken, notebookGuid, messageText, recipients):
    """
    Send a reminder message to some or all of the email addresses that a notebook has been
    shared with. The message includes the current link to view the notebook.
    @param authenticationToken
      The auth token of the user with permissions to share the notebook
    @param notebookGuid
      The guid of the shared notebook
    @param messageText
     User provided text to include in the email
    @param recipients
     The email addresses of the recipients. If this list is empty then all of the
     users that the notebook has been shared with are emailed.
     If an email address doesn't correspond to share invite members then that address
     is ignored.
    @return
     The number of messages sent
    @throws EDAMUserException <ul>
      <li> LIMIT_REACHED "(recipients)" -
        The email can't be sent because this would exceed the user's daily
        email limit.
      </li>
      <li> PERMISSION_DENIED "Notebook.guid" - The user doesn't have permission to
        send a message for the specified notebook.
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - notebookGuid
     - messageText
     - recipients
    """
    pass

  def listSharedNotebooks(self, authenticationToken):
    """
    Lists the collection of shared notebooks for all notebooks in the
    users account.
    
    @return
     The list of all SharedNotebooks for the user
    
    Parameters:
     - authenticationToken
    """
    pass

  def expungeSharedNotebooks(self, authenticationToken, sharedNotebookIds):
    """
    Expunges the SharedNotebooks in the user's account using the
    SharedNotebook.id as the identifier.
    <p/>
    NOTE: This function is generally not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param
      sharedNotebookIds - a list of ShardNotebook.id longs identifying the
          objects to delete permanently.
    
    @return
      The account's update sequence number.
    
    Parameters:
     - authenticationToken
     - sharedNotebookIds
    """
    pass

  def createLinkedNotebook(self, authenticationToken, linkedNotebook):
    """
    Asks the service to make a linked notebook with the provided name, username
    of the owner and identifiers provided. A linked notebook can be either a
    link to a public notebook or to a private shared notebook.
    
    @param linkedNotebook
      The desired fields for the linked notebook must be provided on this
      object.  The name of the linked notebook must be set. Either a username
      uri or a shard id and share key must be provided otherwise a
      EDAMUserException is thrown.
    
    @return
      The newly created LinkedNotebook.  The server-side id will be
      saved in this object's 'id' field.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "LinkedNotebook.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "LinkedNotebook.username" - bad username format
      </li>
      <li> BAD_DATA_FORMAT "LinkedNotebook.uri" -
        if public notebook set but bad uri
      </li>
      <li> BAD_DATA_FORMAT "LinkedNotebook.shareKey" -
        if private notebook set but bad shareKey
      </li>
      <li> DATA_REQUIRED "LinkedNotebook.shardId" -
        if private notebook but shard id not provided
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - linkedNotebook
    """
    pass

  def updateLinkedNotebook(self, authenticationToken, linkedNotebook):
    """
    @param linkedNotebook
      Updates the name of a linked notebook.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "LinkedNotebook.name" - invalid length or pattern
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - linkedNotebook
    """
    pass

  def listLinkedNotebooks(self, authenticationToken):
    """
    Returns a list of linked notebooks
    
    Parameters:
     - authenticationToken
    """
    pass

  def expungeLinkedNotebook(self, authenticationToken, guid):
    """
    Permanently expunges the linked notebook from the account.
    <p/>
    NOTE: This function is generally not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param guid
      The LinkedNotebook.guid field of the LinkedNotebook to permanently remove
      from the account.
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def authenticateToSharedNotebook(self, shareKey, authenticationToken):
    """
    Asks the service to produce an authentication token that can be used to
    access the contents of a shared notebook from someone else's account.
    This authenticationToken can be used with the various other NoteStore
    calls to find and retrieve notes, and if the permissions in the shared
    notebook are sufficient, to make changes to the contents of the notebook.
    
    @param shareKey
      The 'shareKey' identifier from the SharedNotebook that was granted to
      some recipient.  This string internally encodes the notebook identifier
      and a security signature.
    
    @param authenticationToken
      If a non-empty string is provided, this is the full user-based
      authentication token that identifies the user who is currently logged in
      and trying to access the shared notebook.  This may be required if the
      notebook was created with 'requireLogin'.
      If this string is empty, the service will attempt to authenticate to the
      shared notebook without any logged in user.
    
    @throws EDAMSystemException <ul>
      <li> BAD_DATA_FORMAT "shareKey" - invalid shareKey string
      </li>
      <li> INVALID_AUTH "shareKey" - bad signature on shareKey string
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "SharedNotebook.id" - the shared notebook no longer exists
      </li>
    </ul>
    
    @throws EDAMUserException <ul>
      <li> DATA_REQUIRED "authenticationToken" - the share requires login, and
             no valid authentication token was provided.
      </li>
      <li> PERMISSION_DENIED "SharedNotebook.username" - share requires login,
             and another username has already been bound to this notebook.
      </li>
    </ul>
    
    Parameters:
     - shareKey
     - authenticationToken
    """
    pass

  def getSharedNotebookByAuth(self, authenticationToken):
    """
    This function is used to retrieve extended information about a shared
    notebook by a guest who has already authenticated to access that notebook.
    This requires an 'authenticationToken' parameter which should be the
    resut of a call to authenticateToSharedNotebook(...).
    I.e. this is the token that gives access to the particular shared notebook
    in someone else's account -- it's not the authenticationToken for the
    owner of the notebook itself.
    
    @param authenticationToken
      Should be the authentication token retrieved from the reply of
      authenticateToSharedNotebook(), proving access to a particular shared
      notebook.
    
    @throws EDAMUserException <ul>
      <li> PERMISSION_DENIED "authenticationToken" -
             authentication token doesn't correspond to a valid shared notebook
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "SharedNotebook.id" - the shared notebook no longer exists
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
    """
    pass

  def emailNote(self, authenticationToken, parameters):
    """
    Attempts to send a single note to one or more email recipients.
    <p/>
    NOTE: This function is generally not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param authenticationToken
       The note will be sent as the user logged in via this token, using that
       user's registered email address.  If the authenticated user doesn't
       have permission to read that note, the emailing will fail.
    
    @param parameters
       The note must be specified either by GUID (in which case it will be
       sent using the existing data in the service), or else the full Note
       must be passed to this call.  This also specifies the additional
       email fields that will be used in the email.
    
    @throws EDAMUserException <ul>
      <li> LIMIT_REACHED "NoteEmailParameters.toAddresses" -
        The email can't be sent because this would exceed the user's daily
        email limit.
      </li>
      <li> BAD_DATA_FORMAT "(email address)" -
        email address malformed
      </li>
      <li> DATA_REQUIRED "NoteEmailParameters.toAddresses" -
        if there are no To: or Cc: addresses provided.
      </li>
      <li> DATA_REQUIRED "Note.title" -
        if the caller provides a Note parameter with no title
      </li>
      <li> DATA_REQUIRED "Note.content" -
        if the caller provides a Note parameter with no content
      </li>
      <li> ENML_VALIDATION "*" - note content doesn't validate against DTD
      </li>
      <li> DATA_REQUIRED "NoteEmailParameters.note" -
        if no guid or note provided
      </li>
      <li> PERMISSION_DENIED "Note" - private note, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - parameters
    """
    pass

  def shareNote(self, authenticationToken, guid):
    """
    If this note is not already shared (via its own direct URL), then this
    will start sharing that note.
    This will return the secret "Note Key" for this note that
    can currently be used in conjunction with the Note's GUID to gain direct
    read-only access to the Note.
    If the note is already shared, then this won't make any changes to the
    note, and the existing "Note Key" will be returned.  The only way to change
    the Note Key for an existing note is to stopSharingNote first, and then
    call this function.
    
    @param guid
      The GUID of the note to be shared.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Note.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Note" - private note, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def stopSharingNote(self, authenticationToken, guid):
    """
    If this note is not already shared then this will stop sharing that note
    and invalidate its "Note Key", so any existing URLs to access that Note
    will stop working.
    If the Note is not shared, then this function will do nothing.
    
    @param guid
      The GUID of the note to be un-shared.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Note.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Note" - private note, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    pass

  def authenticateToSharedNote(self, guid, noteKey, authenticationToken):
    """
    Asks the service to produce an authentication token that can be used to
    access the contents of a single Note which was individually shared
    from someone's account.
    This authenticationToken can be used with the various other NoteStore
    calls to find and retrieve the Note and its directly-referenced children.
    
    @param guid
      The GUID identifying this Note on this shard.
    
    @param noteKey
      The 'noteKey' identifier from the Note that was originally created via
      a call to shareNote() and then given to a recipient to access.
    
    @param authenticationToken
      An optional authenticationToken that identifies the user accessing the
      shared note. This parameter may be required to access some shared notes.
    
    @throws EDAMUserException <ul>
      <li> PERMISSION_DENIED "Note" - the Note with that GUID is either not
        shared, or the noteKey doesn't match the current key for this note
      </li>
      <li> PERMISSION_DENIED "authenticationToken" - an authentication token is
        required to access this Note, but either no authentication token or a
        "non-owner" authentication token was provided.
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "guid" - the note with that GUID is not found
      </li>
    </ul>
    
    @throws EDAMSystemException <ul>
      <li> TAKEN_DOWN "Note" - The specified shared note is taken down (for
        all requesters).
      </li>
      <li> TAKEN_DOWN "Country" - The specified shared note is taken down
        for the requester because of an IP-based country lookup.
      </ul>
    </ul>
    
    Parameters:
     - guid
     - noteKey
     - authenticationToken
    """
    pass

  def findRelated(self, authenticationToken, query, resultSpec):
    """
    Identify related entities on the service, such as notes,
    notebooks, and tags related to notes or content.
    
    @param query
      The information about which we are finding related entities.
    
    @param resultSpec
      Allows the client to indicate the type and quantity of
      information to be returned, allowing a saving of time and
      bandwidth.
    
    @return
      The result of the query, with information considered
      to likely be relevantly related to the information
      described by the query.
    
    @throws EDAMUserException <ul>
      <li>BAD_DATA_FORMAT "RelatedQuery.plainText" - If you provided a
        a zero-length plain text value.
      </li>
      <li>BAD_DATA_FORMAT "RelatedQuery.noteGuid" - If you provided an
        invalid Note GUID, that is, one that does not match the constraints
        defined by EDAM_GUID_LEN_MIN, EDAM_GUID_LEN_MAX, EDAM_GUID_REGEX.
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.notebookGuid" - if malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.tagGuids" - if any are malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.words" - if search string too long
      </li>
      <li>PERMISSION_DENIED "Note" - If the caller does not have access to
        the note identified by RelatedQuery.noteGuid.
      </li>
      <li>DATA_REQUIRED "RelatedResultSpec" - If you did not not set any values
        in the result spec.
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li>"RelatedQuery.noteGuid" - the note with that GUID is not
        found, if that field has been set in the query.
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - query
     - resultSpec
    """
    pass


class Client(Iface):
  def __init__(self, iprot, oprot=None):
    self._iprot = self._oprot = iprot
    if oprot is not None:
      self._oprot = oprot
    self._seqid = 0

  def getSyncState(self, authenticationToken):
    """
    Asks the NoteStore to provide information about the status of the user
    account corresponding to the provided authentication token.
    
    Parameters:
     - authenticationToken
    """
    self.send_getSyncState(authenticationToken)
    return self.recv_getSyncState()

  def send_getSyncState(self, authenticationToken):
    self._oprot.writeMessageBegin('getSyncState', TMessageType.CALL, self._seqid)
    args = getSyncState_args()
    args.authenticationToken = authenticationToken
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_getSyncState(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = getSyncState_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSyncState failed: unknown result");

  def getSyncStateWithMetrics(self, authenticationToken, clientMetrics):
    """
    Asks the NoteStore to provide information about the status of the user
    account corresponding to the provided authentication token.
    This version of 'getSyncState' allows the client to upload coarse-
    grained usage metrics to the service.
    
    @param clientMetrics  see the documentation of the ClientUsageMetrics
      structure for an explanation of the fields that clients can pass to
      the service.
    
    Parameters:
     - authenticationToken
     - clientMetrics
    """
    self.send_getSyncStateWithMetrics(authenticationToken, clientMetrics)
    return self.recv_getSyncStateWithMetrics()

  def send_getSyncStateWithMetrics(self, authenticationToken, clientMetrics):
    self._oprot.writeMessageBegin('getSyncStateWithMetrics', TMessageType.CALL, self._seqid)
    args = getSyncStateWithMetrics_args()
    args.authenticationToken = authenticationToken
    args.clientMetrics = clientMetrics
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_getSyncStateWithMetrics(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = getSyncStateWithMetrics_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSyncStateWithMetrics failed: unknown result");

  def getSyncChunk(self, authenticationToken, afterUSN, maxEntries, fullSyncOnly):
    """
    DEPRECATED - use getFilteredSyncChunk.
    
    Parameters:
     - authenticationToken
     - afterUSN
     - maxEntries
     - fullSyncOnly
    """
    self.send_getSyncChunk(authenticationToken, afterUSN, maxEntries, fullSyncOnly)
    return self.recv_getSyncChunk()

  def send_getSyncChunk(self, authenticationToken, afterUSN, maxEntries, fullSyncOnly):
    self._oprot.writeMessageBegin('getSyncChunk', TMessageType.CALL, self._seqid)
    args = getSyncChunk_args()
    args.authenticationToken = authenticationToken
    args.afterUSN = afterUSN
    args.maxEntries = maxEntries
    args.fullSyncOnly = fullSyncOnly
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_getSyncChunk(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = getSyncChunk_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSyncChunk failed: unknown result");

  def getFilteredSyncChunk(self, authenticationToken, afterUSN, maxEntries, filter):
    """
    Asks the NoteStore to provide the state of the account in order of
    last modification.  This request retrieves one block of the server's
    state so that a client can make several small requests against a large
    account rather than getting the entire state in one big message.
    This call gives fine-grained control of the data that will
    be received by a client by omitting data elements that a client doesn't
    need. This may reduce network traffic and sync times.
    
    @param afterUSN
      The client can pass this value to ask only for objects that
      have been updated after a certain point.  This allows the client to
      receive updates after its last checkpoint rather than doing a full
      synchronization on every pass.  The default value of "0" indicates
      that the client wants to get objects from the start of the account.
    
    @param maxEntries
      The maximum number of modified objects that should be
      returned in the result SyncChunk.  This can be used to limit the size
      of each individual message to be friendly for network transfer.
    
    @param filter
      The caller must set some of the flags in this structure to specify which
      data types should be returned during the synchronization.  See
      the SyncChunkFilter structure for information on each flag.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "afterUSN" - if negative
      </li>
      <li> BAD_DATA_FORMAT "maxEntries" - if less than 1
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - afterUSN
     - maxEntries
     - filter
    """
    self.send_getFilteredSyncChunk(authenticationToken, afterUSN, maxEntries, filter)
    return self.recv_getFilteredSyncChunk()

  def send_getFilteredSyncChunk(self, authenticationToken, afterUSN, maxEntries, filter):
    self._oprot.writeMessageBegin('getFilteredSyncChunk', TMessageType.CALL, self._seqid)
    args = getFilteredSyncChunk_args()
    args.authenticationToken = authenticationToken
    args.afterUSN = afterUSN
    args.maxEntries = maxEntries
    args.filter = filter
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_getFilteredSyncChunk(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = getFilteredSyncChunk_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getFilteredSyncChunk failed: unknown result");

  def getLinkedNotebookSyncState(self, authenticationToken, linkedNotebook):
    """
    Asks the NoteStore to provide information about the status of a linked
    notebook that has been shared with the caller, or that is public to the
    world.
    This will return a result that is similar to getSyncState, but may omit
    SyncState.uploaded if the caller doesn't have permission to write to
    the linked notebook.
    
    This function must be called on the shard that owns the referenced
    notebook.  (I.e. the shardId in /shard/shardId/edam/note must be the
    same as LinkedNotebook.shardId.)
    
    @param authenticationToken
      This should be an authenticationToken for the guest who has received
      the invitation to the share.  (I.e. this should not be the result of
      NoteStore.authenticateToSharedNotebook)
    
    @param linkedNotebook
      This structure should contain identifying information and permissions
      to access the notebook in question.
    
    Parameters:
     - authenticationToken
     - linkedNotebook
    """
    self.send_getLinkedNotebookSyncState(authenticationToken, linkedNotebook)
    return self.recv_getLinkedNotebookSyncState()

  def send_getLinkedNotebookSyncState(self, authenticationToken, linkedNotebook):
    self._oprot.writeMessageBegin('getLinkedNotebookSyncState', TMessageType.CALL, self._seqid)
    args = getLinkedNotebookSyncState_args()
    args.authenticationToken = authenticationToken
    args.linkedNotebook = linkedNotebook
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_getLinkedNotebookSyncState(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = getLinkedNotebookSyncState_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLinkedNotebookSyncState failed: unknown result");

  def getLinkedNotebookSyncChunk(self, authenticationToken, linkedNotebook, afterUSN, maxEntries, fullSyncOnly):
    """
    Asks the NoteStore to provide information about the contents of a linked
    notebook that has been shared with the caller, or that is public to the
    world.
    This will return a result that is similar to getSyncChunk, but will only
    contain entries that are visible to the caller.  I.e. only that particular
    Notebook will be visible, along with its Notes, and Tags on those Notes.
    
    This function must be called on the shard that owns the referenced
    notebook.  (I.e. the shardId in /shard/shardId/edam/note must be the
    same as LinkedNotebook.shardId.)
    
    @param authenticationToken
      This should be an authenticationToken for the guest who has received
      the invitation to the share.  (I.e. this should not be the result of
      NoteStore.authenticateToSharedNotebook)
    
    @param linkedNotebook
      This structure should contain identifying information and permissions
      to access the notebook in question.  This must contain the valid fields
      for either a shared notebook (e.g. shareKey)
      or a public notebook (e.g. username, uri)
    
    @param afterUSN
      The client can pass this value to ask only for objects that
      have been updated after a certain point.  This allows the client to
      receive updates after its last checkpoint rather than doing a full
      synchronization on every pass.  The default value of "0" indicates
      that the client wants to get objects from the start of the account.
    
    @param maxEntries
      The maximum number of modified objects that should be
      returned in the result SyncChunk.  This can be used to limit the size
      of each individual message to be friendly for network transfer.
      Applications should not request more than 256 objects at a time,
      and must handle the case where the service returns less than the
      requested number of objects in a given request even though more
      objects are available on the service.
    
    @param fullSyncOnly
      If true, then the client only wants initial data for a full sync.
      In this case, the service will not return any expunged objects,
      and will not return any Resources, since these are also provided
      in their corresponding Notes.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "afterUSN" - if negative
      </li>
      <li> BAD_DATA_FORMAT "maxEntries" - if less than 1
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "LinkedNotebook" - if the provided information doesn't match any
        valid notebook
      </li>
      <li> "LinkedNotebook.uri" - if the provided public URI doesn't match any
        valid notebook
      </li>
      <li> "SharedNotebook.id" - if the provided information indicates a
         shared notebook that no longer exists
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - linkedNotebook
     - afterUSN
     - maxEntries
     - fullSyncOnly
    """
    self.send_getLinkedNotebookSyncChunk(authenticationToken, linkedNotebook, afterUSN, maxEntries, fullSyncOnly)
    return self.recv_getLinkedNotebookSyncChunk()

  def send_getLinkedNotebookSyncChunk(self, authenticationToken, linkedNotebook, afterUSN, maxEntries, fullSyncOnly):
    self._oprot.writeMessageBegin('getLinkedNotebookSyncChunk', TMessageType.CALL, self._seqid)
    args = getLinkedNotebookSyncChunk_args()
    args.authenticationToken = authenticationToken
    args.linkedNotebook = linkedNotebook
    args.afterUSN = afterUSN
    args.maxEntries = maxEntries
    args.fullSyncOnly = fullSyncOnly
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_getLinkedNotebookSyncChunk(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = getLinkedNotebookSyncChunk_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getLinkedNotebookSyncChunk failed: unknown result");

  def listNotebooks(self, authenticationToken):
    """
    Returns a list of all of the notebooks in the account.
    
    Parameters:
     - authenticationToken
    """
    self.send_listNotebooks(authenticationToken)
    return self.recv_listNotebooks()

  def send_listNotebooks(self, authenticationToken):
    self._oprot.writeMessageBegin('listNotebooks', TMessageType.CALL, self._seqid)
    args = listNotebooks_args()
    args.authenticationToken = authenticationToken
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_listNotebooks(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = listNotebooks_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "listNotebooks failed: unknown result");

  def getNotebook(self, authenticationToken, guid):
    """
    Returns the current state of the notebook with the provided GUID.
    The notebook may be active or deleted (but not expunged).
    
    @param guid
      The GUID of the notebook to be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Notebook.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Notebook" - private notebook, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - tag not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    self.send_getNotebook(authenticationToken, guid)
    return self.recv_getNotebook()

  def send_getNotebook(self, authenticationToken, guid):
    self._oprot.writeMessageBegin('getNotebook', TMessageType.CALL, self._seqid)
    args = getNotebook_args()
    args.authenticationToken = authenticationToken
    args.guid = guid
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_getNotebook(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = getNotebook_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getNotebook failed: unknown result");

  def getDefaultNotebook(self, authenticationToken):
    """
    Returns the notebook that should be used to store new notes in the
    user's account when no other notebooks are specified.
    
    Parameters:
     - authenticationToken
    """
    self.send_getDefaultNotebook(authenticationToken)
    return self.recv_getDefaultNotebook()

  def send_getDefaultNotebook(self, authenticationToken):
    self._oprot.writeMessageBegin('getDefaultNotebook', TMessageType.CALL, self._seqid)
    args = getDefaultNotebook_args()
    args.authenticationToken = authenticationToken
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_getDefaultNotebook(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = getDefaultNotebook_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getDefaultNotebook failed: unknown result");

  def createNotebook(self, authenticationToken, notebook):
    """
    Asks the service to make a notebook with the provided name.
    
    @param notebook
      The desired fields for the notebook must be provided on this
      object.  The name of the notebook must be set, and either the 'active'
      or 'defaultNotebook' fields may be set by the client at creation.
      If a notebook exists in the account with the same name (via
      case-insensitive compare), this will throw an EDAMUserException.
    
    @return
      The newly created Notebook.  The server-side GUID will be
      saved in this object's 'guid' field.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Notebook.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Notebook.stack" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Publishing.uri" - if publishing set but bad uri
      </li>
      <li> BAD_DATA_FORMAT "Publishing.publicDescription" - if too long
      </li>
      <li> DATA_CONFLICT "Notebook.name" - name already in use
      </li>
      <li> DATA_CONFLICT "Publishing.uri" - if URI already in use
      </li>
      <li> DATA_REQUIRED "Publishing.uri" - if publishing set but uri missing
      </li>
      <li> LIMIT_REACHED "Notebook" - at max number of notebooks
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - notebook
    """
    self.send_createNotebook(authenticationToken, notebook)
    return self.recv_createNotebook()

  def send_createNotebook(self, authenticationToken, notebook):
    self._oprot.writeMessageBegin('createNotebook', TMessageType.CALL, self._seqid)
    args = createNotebook_args()
    args.authenticationToken = authenticationToken
    args.notebook = notebook
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_createNotebook(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = createNotebook_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createNotebook failed: unknown result");

  def updateNotebook(self, authenticationToken, notebook):
    """
    Submits notebook changes to the service.  The provided data must include
    the notebook's guid field for identification.
    
    @param notebook
      The notebook object containing the requested changes.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Notebook.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Notebook.stack" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Publishing.uri" - if publishing set but bad uri
      </li>
      <li> BAD_DATA_FORMAT "Publishing.publicDescription" - if too long
      </li>
      <li> DATA_CONFLICT "Notebook.name" - name already in use
      </li>
      <li> DATA_CONFLICT "Publishing.uri" - if URI already in use
      </li>
      <li> DATA_REQUIRED "Publishing.uri" - if publishing set but uri missing
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - notebook
    """
    self.send_updateNotebook(authenticationToken, notebook)
    return self.recv_updateNotebook()

  def send_updateNotebook(self, authenticationToken, notebook):
    self._oprot.writeMessageBegin('updateNotebook', TMessageType.CALL, self._seqid)
    args = updateNotebook_args()
    args.authenticationToken = authenticationToken
    args.notebook = notebook
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_updateNotebook(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = updateNotebook_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateNotebook failed: unknown result");

  def expungeNotebook(self, authenticationToken, guid):
    """
    Permanently removes the notebook from the user's account.
    After this action, the notebook is no longer available for undeletion, etc.
    If the notebook contains any Notes, they will be moved to the current
    default notebook and moved into the trash (i.e. Note.active=false).
    <p/>
    NOTE: This function is generally not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param guid
      The GUID of the notebook to delete.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Notebook.guid" - if the parameter is missing
      </li>
      <li> LIMIT_REACHED "Notebook" - trying to expunge the last Notebook
      </li>
      <li> PERMISSION_DENIED "Notebook" - private notebook, user doesn't own
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    self.send_expungeNotebook(authenticationToken, guid)
    return self.recv_expungeNotebook()

  def send_expungeNotebook(self, authenticationToken, guid):
    self._oprot.writeMessageBegin('expungeNotebook', TMessageType.CALL, self._seqid)
    args = expungeNotebook_args()
    args.authenticationToken = authenticationToken
    args.guid = guid
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_expungeNotebook(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = expungeNotebook_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "expungeNotebook failed: unknown result");

  def listTags(self, authenticationToken):
    """
    Returns a list of the tags in the account.  Evernote does not support
    the undeletion of tags, so this will only include active tags.
    
    Parameters:
     - authenticationToken
    """
    self.send_listTags(authenticationToken)
    return self.recv_listTags()

  def send_listTags(self, authenticationToken):
    self._oprot.writeMessageBegin('listTags', TMessageType.CALL, self._seqid)
    args = listTags_args()
    args.authenticationToken = authenticationToken
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_listTags(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = listTags_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "listTags failed: unknown result");

  def listTagsByNotebook(self, authenticationToken, notebookGuid):
    """
    Returns a list of the tags that are applied to at least one note within
    the provided notebook.  If the notebook is public, the authenticationToken
    may be ignored.
    
    @param notebookGuid
       the GUID of the notebook to use to find tags
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - notebook not found by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - notebookGuid
    """
    self.send_listTagsByNotebook(authenticationToken, notebookGuid)
    return self.recv_listTagsByNotebook()

  def send_listTagsByNotebook(self, authenticationToken, notebookGuid):
    self._oprot.writeMessageBegin('listTagsByNotebook', TMessageType.CALL, self._seqid)
    args = listTagsByNotebook_args()
    args.authenticationToken = authenticationToken
    args.notebookGuid = notebookGuid
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_listTagsByNotebook(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = listTagsByNotebook_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "listTagsByNotebook failed: unknown result");

  def getTag(self, authenticationToken, guid):
    """
    Returns the current state of the Tag with the provided GUID.
    
    @param guid
      The GUID of the tag to be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Tag.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "Tag" - private Tag, user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Tag.guid" - tag not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    self.send_getTag(authenticationToken, guid)
    return self.recv_getTag()

  def send_getTag(self, authenticationToken, guid):
    self._oprot.writeMessageBegin('getTag', TMessageType.CALL, self._seqid)
    args = getTag_args()
    args.authenticationToken = authenticationToken
    args.guid = guid
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_getTag(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = getTag_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getTag failed: unknown result");

  def createTag(self, authenticationToken, tag):
    """
    Asks the service to make a tag with a set of information.
    
    @param tag
      The desired list of fields for the tag are specified in this
      object.  The caller must specify the tag name, and may provide
      the parentGUID.
    
    @return
      The newly created Tag.  The server-side GUID will be
      saved in this object.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Tag.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Tag.parentGuid" - malformed GUID
      </li>
      <li> DATA_CONFLICT "Tag.name" - name already in use
      </li>
      <li> LIMIT_REACHED "Tag" - at max number of tags
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Tag.parentGuid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - tag
    """
    self.send_createTag(authenticationToken, tag)
    return self.recv_createTag()

  def send_createTag(self, authenticationToken, tag):
    self._oprot.writeMessageBegin('createTag', TMessageType.CALL, self._seqid)
    args = createTag_args()
    args.authenticationToken = authenticationToken
    args.tag = tag
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_createTag(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = createTag_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createTag failed: unknown result");

  def updateTag(self, authenticationToken, tag):
    """
    Submits tag changes to the service.  The provided data must include
    the tag's guid field for identification.  The service will apply
    updates to the following tag fields:  name, parentGuid
    
    @param tag
      The tag object containing the requested changes.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Tag.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "Tag.parentGuid" - malformed GUID
      </li>
      <li> DATA_CONFLICT "Tag.name" - name already in use
      </li>
      <li> DATA_CONFLICT "Tag.parentGuid" - can't set parent: circular
      </li>
      <li> PERMISSION_DENIED "Tag" - user doesn't own tag
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Tag.guid" - tag not found, by GUID
      </li>
      <li> "Tag.parentGuid" - parent not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - tag
    """
    self.send_updateTag(authenticationToken, tag)
    return self.recv_updateTag()

  def send_updateTag(self, authenticationToken, tag):
    self._oprot.writeMessageBegin('updateTag', TMessageType.CALL, self._seqid)
    args = updateTag_args()
    args.authenticationToken = authenticationToken
    args.tag = tag
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_updateTag(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = updateTag_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateTag failed: unknown result");

  def untagAll(self, authenticationToken, guid):
    """
    Removes the provided tag from every note that is currently tagged with
    this tag.  If this operation is successful, the tag will still be in
    the account, but it will not be tagged on any notes.
    
    This function is not indended for use by full synchronizing clients, since
    it does not provide enough result information to the client to reconcile
    the local state without performing a follow-up sync from the service.  This
    is intended for "thin clients" that need to efficiently support this as
    a UI operation.
    
    @param guid
      The GUID of the tag to remove from all notes.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Tag.guid" - if the guid parameter is missing
      </li>
      <li> PERMISSION_DENIED "Tag" - user doesn't own tag
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Tag.guid" - tag not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    self.send_untagAll(authenticationToken, guid)
    self.recv_untagAll()

  def send_untagAll(self, authenticationToken, guid):
    self._oprot.writeMessageBegin('untagAll', TMessageType.CALL, self._seqid)
    args = untagAll_args()
    args.authenticationToken = authenticationToken
    args.guid = guid
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_untagAll(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = untagAll_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    return

  def expungeTag(self, authenticationToken, guid):
    """
    Permanently deletes the tag with the provided GUID, if present.
    <p/>
    NOTE: This function is generally not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param guid
      The GUID of the tag to delete.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "Tag.guid" - if the guid parameter is missing
      </li>
      <li> PERMISSION_DENIED "Tag" - user doesn't own tag
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Tag.guid" - tag not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    self.send_expungeTag(authenticationToken, guid)
    return self.recv_expungeTag()

  def send_expungeTag(self, authenticationToken, guid):
    self._oprot.writeMessageBegin('expungeTag', TMessageType.CALL, self._seqid)
    args = expungeTag_args()
    args.authenticationToken = authenticationToken
    args.guid = guid
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_expungeTag(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = expungeTag_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "expungeTag failed: unknown result");

  def listSearches(self, authenticationToken):
    """
    Returns a list of the searches in the account.  Evernote does not support
    the undeletion of searches, so this will only include active searches.
    
    Parameters:
     - authenticationToken
    """
    self.send_listSearches(authenticationToken)
    return self.recv_listSearches()

  def send_listSearches(self, authenticationToken):
    self._oprot.writeMessageBegin('listSearches', TMessageType.CALL, self._seqid)
    args = listSearches_args()
    args.authenticationToken = authenticationToken
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_listSearches(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = listSearches_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "listSearches failed: unknown result");

  def getSearch(self, authenticationToken, guid):
    """
    Returns the current state of the search with the provided GUID.
    
    @param guid
      The GUID of the search to be retrieved.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "SavedSearch.guid" - if the parameter is missing
      </li>
      <li> PERMISSION_DENIED "SavedSearch" - private Tag, user doesn't own
      </li>
    
    @throws EDAMNotFoundException <ul>
      <li> "SavedSearch.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    self.send_getSearch(authenticationToken, guid)
    return self.recv_getSearch()

  def send_getSearch(self, authenticationToken, guid):
    self._oprot.writeMessageBegin('getSearch', TMessageType.CALL, self._seqid)
    args = getSearch_args()
    args.authenticationToken = authenticationToken
    args.guid = guid
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_getSearch(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = getSearch_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "getSearch failed: unknown result");

  def createSearch(self, authenticationToken, search):
    """
    Asks the service to make a saved search with a set of information.
    
    @param search
      The desired list of fields for the search are specified in this
      object. The caller must specify the name and query for the
      search, and may optionally specify a search scope.
      The SavedSearch.format field is ignored by the service.
    
    @return
      The newly created SavedSearch.  The server-side GUID will be
      saved in this object.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "SavedSearch.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "SavedSearch.query" - invalid length
      </li>
      <li> DATA_CONFLICT "SavedSearch.name" - name already in use
      </li>
      <li> LIMIT_REACHED "SavedSearch" - at max number of searches
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - search
    """
    self.send_createSearch(authenticationToken, search)
    return self.recv_createSearch()

  def send_createSearch(self, authenticationToken, search):
    self._oprot.writeMessageBegin('createSearch', TMessageType.CALL, self._seqid)
    args = createSearch_args()
    args.authenticationToken = authenticationToken
    args.search = search
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_createSearch(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = createSearch_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "createSearch failed: unknown result");

  def updateSearch(self, authenticationToken, search):
    """
    Submits search changes to the service. The provided data must include
    the search's guid field for identification. The service will apply
    updates to the following search fields: name, query, and scope.
    
    @param search
      The search object containing the requested changes.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "SavedSearch.name" - invalid length or pattern
      </li>
      <li> BAD_DATA_FORMAT "SavedSearch.query" - invalid length
      </li>
      <li> DATA_CONFLICT "SavedSearch.name" - name already in use
      </li>
      <li> PERMISSION_DENIED "SavedSearch" - user doesn't own tag
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "SavedSearch.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - search
    """
    self.send_updateSearch(authenticationToken, search)
    return self.recv_updateSearch()

  def send_updateSearch(self, authenticationToken, search):
    self._oprot.writeMessageBegin('updateSearch', TMessageType.CALL, self._seqid)
    args = updateSearch_args()
    args.authenticationToken = authenticationToken
    args.search = search
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_updateSearch(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = updateSearch_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "updateSearch failed: unknown result");

  def expungeSearch(self, authenticationToken, guid):
    """
    Permanently deletes the saved search with the provided GUID, if present.
    <p/>
    NOTE: This function is generally not available to third party applications.
    Calls will result in an EDAMUserException with the error code
    PERMISSION_DENIED.
    
    @param guid
      The GUID of the search to delete.
    
    @return
      The Update Sequence Number for this change within the account.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "SavedSearch.guid" - if the guid parameter is empty
      </li>
      <li> PERMISSION_DENIED "SavedSearch" - user doesn't own
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "SavedSearch.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - guid
    """
    self.send_expungeSearch(authenticationToken, guid)
    return self.recv_expungeSearch()

  def send_expungeSearch(self, authenticationToken, guid):
    self._oprot.writeMessageBegin('expungeSearch', TMessageType.CALL, self._seqid)
    args = expungeSearch_args()
    args.authenticationToken = authenticationToken
    args.guid = guid
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_expungeSearch(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = expungeSearch_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "expungeSearch failed: unknown result");

  def findNotes(self, authenticationToken, filter, offset, maxNotes):
    """
    DEPRECATED. Use findNotesMetadata.
    
    Parameters:
     - authenticationToken
     - filter
     - offset
     - maxNotes
    """
    self.send_findNotes(authenticationToken, filter, offset, maxNotes)
    return self.recv_findNotes()

  def send_findNotes(self, authenticationToken, filter, offset, maxNotes):
    self._oprot.writeMessageBegin('findNotes', TMessageType.CALL, self._seqid)
    args = findNotes_args()
    args.authenticationToken = authenticationToken
    args.filter = filter
    args.offset = offset
    args.maxNotes = maxNotes
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_findNotes(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = findNotes_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "findNotes failed: unknown result");

  def findNoteOffset(self, authenticationToken, filter, guid):
    """
    Finds the position of a note within a sorted subset of all of the user's
    notes. This may be useful for thin clients that are displaying a paginated
    listing of a large account, which need to know where a particular note
    sits in the list without retrieving all notes first.
    
    @param authenticationToken
      Must be a valid token for the user's account unless the NoteFilter
      'notebookGuid' is the GUID of a public notebook.
    
    @param filter
      The list of criteria that will constrain the notes to be returned.
    
    @param guid
      The GUID of the note to be retrieved.
    
    @return
      If the note with the provided GUID is found within the matching note
      list, this will return the offset of that note within that list (where
      the first offset is 0).  If the note is not found within the set of
      notes, this will return -1.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "offset" - not between 0 and EDAM_USER_NOTES_MAX
      </li>
      <li> BAD_DATA_FORMAT "maxNotes" - not between 0 and EDAM_USER_NOTES_MAX
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.notebookGuid" - if malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.tagGuids" - if any are malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.words" - if search string too long
      </li>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - not found, by GUID
      </li>
      <li> "Note.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - filter
     - guid
    """
    self.send_findNoteOffset(authenticationToken, filter, guid)
    return self.recv_findNoteOffset()

  def send_findNoteOffset(self, authenticationToken, filter, guid):
    self._oprot.writeMessageBegin('findNoteOffset', TMessageType.CALL, self._seqid)
    args = findNoteOffset_args()
    args.authenticationToken = authenticationToken
    args.filter = filter
    args.guid = guid
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_findNoteOffset(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = findNoteOffset_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "findNoteOffset failed: unknown result");

  def findNotesMetadata(self, authenticationToken, filter, offset, maxNotes, resultSpec):
    """
    Used to find the high-level information about a set of the notes from a
    user's account based on various criteria specified via a NoteFilter object.
    <p/>
    Web applications that wish to periodically check for new content in a user's
    Evernote account should consider using webhooks instead of polling this API.
    See http://dev.evernote.com/documentation/cloud/chapters/polling_notification.php
    for more information.
    
    @param authenticationToken
      Must be a valid token for the user's account unless the NoteFilter
      'notebookGuid' is the GUID of a public notebook.
    
    @param filter
      The list of criteria that will constrain the notes to be returned.
    
    @param offset
      The numeric index of the first note to show within the sorted
      results.  The numbering scheme starts with "0".  This can be used for
      pagination.
    
    @param maxNotes
      The mximum notes to return in this query.  The service will return a set
      of notes that is no larger than this number, but may return fewer notes
      if needed.  The NoteList.totalNotes field in the return value will
      indicate whether there are more values available after the returned set.
    
    @param resultSpec
      This specifies which information should be returned for each matching
      Note. The fields on this structure can be used to eliminate data that
      the client doesn't need, which will reduce the time and bandwidth
      to receive and process the reply.
    
    @return
      The list of notes that match the criteria.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "offset" - not between 0 and EDAM_USER_NOTES_MAX
      </li>
      <li> BAD_DATA_FORMAT "maxNotes" - not between 0 and EDAM_USER_NOTES_MAX
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.notebookGuid" - if malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.tagGuids" - if any are malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.words" - if search string too long
      </li>
    </ul>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - filter
     - offset
     - maxNotes
     - resultSpec
    """
    self.send_findNotesMetadata(authenticationToken, filter, offset, maxNotes, resultSpec)
    return self.recv_findNotesMetadata()

  def send_findNotesMetadata(self, authenticationToken, filter, offset, maxNotes, resultSpec):
    self._oprot.writeMessageBegin('findNotesMetadata', TMessageType.CALL, self._seqid)
    args = findNotesMetadata_args()
    args.authenticationToken = authenticationToken
    args.filter = filter
    args.offset = offset
    args.maxNotes = maxNotes
    args.resultSpec = resultSpec
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_findNotesMetadata(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = findNotesMetadata_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "findNotesMetadata failed: unknown result");

  def findNoteCounts(self, authenticationToken, filter, withTrash):
    """
    This function is used to determine how many notes are found for each
    notebook and tag in the user's account, given a current set of filter
    parameters that determine the current selection.  This function will
    return a structure that gives the note count for each notebook and tag
    that has at least one note under the requested filter.  Any notebook or
    tag that has zero notes in the filtered set will not be listed in the
    reply to this function (so they can be assumed to be 0).
    
    @param authenticationToken
      Must be a valid token for the user's account unless the NoteFilter
      'notebookGuid' is the GUID of a public notebook.
    
    @param filter
      The note selection filter that is currently being applied.  The note
      counts are to be calculated with this filter applied to the total set
      of notes in the user's account.
    
    @param withTrash
      If true, then the NoteCollectionCounts.trashCount will be calculated
      and supplied in the reply. Otherwise, the trash value will be omitted.
    
    @throws EDAMUserException <ul>
      <li> BAD_DATA_FORMAT "NoteFilter.notebookGuid" - if malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.notebookGuids" - if any are malformed
      </li>
      <li> BAD_DATA_FORMAT "NoteFilter.words" - if search string too long
      </li>
    
    @throws EDAMNotFoundException <ul>
      <li> "Notebook.guid" - not found, by GUID
      </li>
    </ul>
    
    Parameters:
     - authenticationToken
     - filter
     - withTrash
    """
    self.send_findNoteCounts(authenticationToken, filter, withTrash)
    return self.recv_findNoteCounts()

  def send_findNoteCounts(self, authenticationToken, filter, withTrash):
    self._oprot.writeMessageBegin('findNoteCounts', TMessageType.CALL, self._seqid)
    args = findNoteCounts_args()
    args.authenticationToken = authenticationToken
    args.filter = filter
    args.withTrash = withTrash
    args.write(self._oprot)
    self._oprot.writeMessageEnd()
    self._oprot.trans.flush()

  def recv_findNoteCounts(self, ):
    (fname, mtype, rseqid) = self._iprot.readMessageBegin()
    if mtype == TMessageType.EXCEPTION:
      x = TApplicationException()
      x.read(self._iprot)
      self._iprot.readMessageEnd()
      raise x
    result = findNoteCounts_result()
    result.read(self._iprot)
    self._iprot.readMessageEnd()
    if result.success is not None:
      return result.success
    if result.userException is not None:
      raise result.userException
    if result.systemException is not None:
      raise result.systemException
    if result.notFoundException is not None:
      raise result.notFoundException
    raise TApplicationException(TApplicationException.MISSING_RESULT, "findNoteCounts failed: unknown result");

  def getNote(self, authenticationToken, guid, withContent, withResourcesData, withResourcesRecognition, withResourcesAlternateData):
    """
    Returns the current state of the note in the service with the provided
    GUID.  The ENML contents of the note will only be provided if the
    'withContent' parameter is true.  The service will include the meta-data
    for each resource in the note, but the binary contents of the resources
    and their recognition data will be omitted.
    If the Note is found in a public notebook, the authenticationToken
    will be ignored (so it could be an empty string).  The applicationData
    fields are returned as keysOnly.
    
    @param guid
      The GUID of the note to be retrieved.
    
    @param withContent
      If true, the note will include the ENML contents of its
      'content' field.
    
Download .txt
gitextract__f99c86o/

├── .gitattributes
├── .gitignore
├── Context.sublime-menu
├── Default (Linux).sublime-keymap
├── Default (OSX).sublime-keymap
├── Default (Windows).sublime-keymap
├── Default.sublime-commands
├── Readme.md
├── SublimeEvernoteMetadata.sublime-snippet
├── lib/
│   ├── __init__.py
│   ├── evernote/
│   │   ├── __init__.py
│   │   ├── api/
│   │   │   ├── __init__.py
│   │   │   └── client.py
│   │   └── edam/
│   │       ├── __init__.py
│   │       ├── error/
│   │       │   ├── __init__.py
│   │       │   ├── constants.py
│   │       │   └── ttypes.py
│   │       ├── limits/
│   │       │   ├── __init__.py
│   │       │   ├── constants.py
│   │       │   └── ttypes.py
│   │       ├── notestore/
│   │       │   ├── NoteStore-remote
│   │       │   ├── NoteStore.py
│   │       │   ├── __init__.py
│   │       │   ├── constants.py
│   │       │   └── ttypes.py
│   │       ├── type/
│   │       │   ├── __init__.py
│   │       │   ├── constants.py
│   │       │   └── ttypes.py
│   │       └── userstore/
│   │           ├── UserStore-remote
│   │           ├── UserStore.py
│   │           ├── __init__.py
│   │           ├── constants.py
│   │           └── ttypes.py
│   ├── httplib.py
│   ├── httplib2/
│   │   ├── __init__.py
│   │   ├── cacerts.txt
│   │   ├── iri2uri.py
│   │   └── socks.py
│   ├── markdown2.py
│   ├── oauth2/
│   │   ├── __init__.py
│   │   ├── _version.py
│   │   └── clients/
│   │       ├── __init__.py
│   │       ├── imap.py
│   │       └── smtp.py
│   └── thrift/
│       ├── TSCons.py
│       ├── TSerialization.py
│       ├── Thrift.py
│       ├── __init__.py
│       ├── protocol/
│       │   ├── TBase.py
│       │   ├── TBinaryProtocol.py
│       │   ├── TCompactProtocol.py
│       │   ├── TProtocol.py
│       │   ├── __init__.py
│       │   └── fastbinary.c
│       ├── server/
│       │   ├── THttpServer.py
│       │   ├── TNonblockingServer.py
│       │   ├── TProcessPoolServer.py
│       │   ├── TServer.py
│       │   └── __init__.py
│       └── transport/
│           ├── THttpClient.py
│           ├── TSSLSocket.py
│           ├── TSocket.py
│           ├── TTransport.py
│           ├── TTwisted.py
│           ├── TZlibTransport.py
│           └── __init__.py
└── sublime_evernote.py
Download .txt
Showing preview only (217K chars total). Download the full file or copy to clipboard to get everything.
SYMBOL INDEX (3027 symbols across 34 files)

FILE: lib/evernote/api/client.py
  class EvernoteClient (line 17) | class EvernoteClient(object):
    method __init__ (line 19) | def __init__(self, **options):
    method get_request_token (line 32) | def get_request_token(self, callback_url):
    method get_authorize_url (line 41) | def get_authorize_url(self, request_token):
    method get_access_token (line 46) | def get_access_token(
    method get_user_store (line 58) | def get_user_store(self):
    method get_note_store (line 66) | def get_note_store(self):
    method get_shared_note_store (line 75) | def get_shared_note_store(self, linkedNotebook):
    method get_business_note_store (line 87) | def get_business_note_store(self):
    method _get_oauth_client (line 98) | def _get_oauth_client(self, token=None):
    method _get_endpoint (line 106) | def _get_endpoint(self, path=None):
  class Store (line 113) | class Store(object):
    method __init__ (line 115) | def __init__(self, token, client_class, store_url):
    method __getattr__ (line 124) | def __getattr__(self, name):
    method _get_thrift_client (line 144) | def _get_thrift_client(self, client_class, url):
    method _get_sdk_version (line 154) | def _get_sdk_version(self):

FILE: lib/evernote/edam/error/ttypes.py
  class EDAMErrorCode (line 19) | class EDAMErrorCode(object):
  class EDAMUserException (line 135) | class EDAMUserException(TException):
    method __init__ (line 164) | def __init__(self, errorCode=None, parameter=None,):
    method read (line 168) | def read(self, iprot):
    method write (line 192) | def write(self, oprot):
    method validate (line 208) | def validate(self):
    method __str__ (line 214) | def __str__(self):
    method __repr__ (line 217) | def __repr__(self):
    method __eq__ (line 222) | def __eq__(self, other):
    method __ne__ (line 225) | def __ne__(self, other):
  class EDAMSystemException (line 228) | class EDAMSystemException(TException):
    method __init__ (line 256) | def __init__(self, errorCode=None, message=None, rateLimitDuration=Non...
    method read (line 261) | def read(self, iprot):
    method write (line 290) | def write(self, oprot):
    method validate (line 310) | def validate(self):
    method __str__ (line 316) | def __str__(self):
    method __repr__ (line 319) | def __repr__(self):
    method __eq__ (line 324) | def __eq__(self, other):
    method __ne__ (line 327) | def __ne__(self, other):
  class EDAMNotFoundException (line 330) | class EDAMNotFoundException(TException):
    method __init__ (line 355) | def __init__(self, identifier=None, key=None,):
    method read (line 359) | def read(self, iprot):
    method write (line 383) | def write(self, oprot):
    method validate (line 399) | def validate(self):
    method __str__ (line 403) | def __str__(self):
    method __repr__ (line 406) | def __repr__(self):
    method __eq__ (line 411) | def __eq__(self, other):
    method __ne__ (line 414) | def __ne__(self, other):

FILE: lib/evernote/edam/notestore/NoteStore.py
  class Iface (line 20) | class Iface(object):
    method getSyncState (line 21) | def getSyncState(self, authenticationToken):
    method getSyncStateWithMetrics (line 31) | def getSyncStateWithMetrics(self, authenticationToken, clientMetrics):
    method getSyncChunk (line 48) | def getSyncChunk(self, authenticationToken, afterUSN, maxEntries, full...
    method getFilteredSyncChunk (line 60) | def getFilteredSyncChunk(self, authenticationToken, afterUSN, maxEntri...
    method getLinkedNotebookSyncState (line 102) | def getLinkedNotebookSyncState(self, authenticationToken, linkedNotebo...
    method getLinkedNotebookSyncChunk (line 130) | def getLinkedNotebookSyncChunk(self, authenticationToken, linkedNotebo...
    method listNotebooks (line 204) | def listNotebooks(self, authenticationToken):
    method getNotebook (line 213) | def getNotebook(self, authenticationToken, guid):
    method getDefaultNotebook (line 239) | def getDefaultNotebook(self, authenticationToken):
    method createNotebook (line 249) | def createNotebook(self, authenticationToken, notebook):
    method updateNotebook (line 289) | def updateNotebook(self, authenticationToken, notebook):
    method expungeNotebook (line 328) | def expungeNotebook(self, authenticationToken, guid):
    method listTags (line 360) | def listTags(self, authenticationToken):
    method listTagsByNotebook (line 370) | def listTagsByNotebook(self, authenticationToken, notebookGuid):
    method getTag (line 390) | def getTag(self, authenticationToken, guid):
    method createTag (line 415) | def createTag(self, authenticationToken, tag):
    method updateTag (line 450) | def updateTag(self, authenticationToken, tag):
    method untagAll (line 488) | def untagAll(self, authenticationToken, guid):
    method expungeTag (line 521) | def expungeTag(self, authenticationToken, guid):
    method listSearches (line 553) | def listSearches(self, authenticationToken):
    method getSearch (line 563) | def getSearch(self, authenticationToken, guid):
    method createSearch (line 587) | def createSearch(self, authenticationToken, search):
    method updateSearch (line 618) | def updateSearch(self, authenticationToken, search):
    method expungeSearch (line 652) | def expungeSearch(self, authenticationToken, guid):
    method findNotes (line 684) | def findNotes(self, authenticationToken, filter, offset, maxNotes):
    method findNoteOffset (line 696) | def findNoteOffset(self, authenticationToken, filter, guid):
    method findNotesMetadata (line 745) | def findNotesMetadata(self, authenticationToken, filter, offset, maxNo...
    method findNoteCounts (line 809) | def findNoteCounts(self, authenticationToken, filter, withTrash):
    method getNote (line 852) | def getNote(self, authenticationToken, guid, withContent, withResource...
    method getNoteApplicationData (line 905) | def getNoteApplicationData(self, authenticationToken, guid):
    method getNoteApplicationDataEntry (line 920) | def getNoteApplicationDataEntry(self, authenticationToken, guid, key):
    method setNoteApplicationDataEntry (line 937) | def setNoteApplicationDataEntry(self, authenticationToken, guid, key, ...
    method unsetNoteApplicationDataEntry (line 950) | def unsetNoteApplicationDataEntry(self, authenticationToken, guid, key):
    method getNoteContent (line 963) | def getNoteContent(self, authenticationToken, guid):
    method getNoteSearchText (line 990) | def getNoteSearchText(self, authenticationToken, guid, noteOnly, token...
    method getResourceSearchText (line 1033) | def getResourceSearchText(self, authenticationToken, guid):
    method getNoteTagNames (line 1064) | def getNoteTagNames(self, authenticationToken, guid):
    method createNote (line 1089) | def createNote(self, authenticationToken, note):
    method updateNote (line 1155) | def updateNote(self, authenticationToken, note):
    method deleteNote (line 1227) | def deleteNote(self, authenticationToken, guid):
    method expungeNote (line 1260) | def expungeNote(self, authenticationToken, guid):
    method expungeNotes (line 1291) | def expungeNotes(self, authenticationToken, noteGuids):
    method expungeInactiveNotes (line 1329) | def expungeInactiveNotes(self, authenticationToken):
    method copyNote (line 1350) | def copyNote(self, authenticationToken, noteGuid, toNotebookGuid):
    method listNoteVersions (line 1397) | def listNoteVersions(self, authenticationToken, noteGuid):
    method getNoteVersion (line 1424) | def getNoteVersion(self, authenticationToken, noteGuid, updateSequence...
    method getResource (line 1482) | def getResource(self, authenticationToken, guid, withData, withRecogni...
    method getResourceApplicationData (line 1530) | def getResourceApplicationData(self, authenticationToken, guid):
    method getResourceApplicationDataEntry (line 1545) | def getResourceApplicationDataEntry(self, authenticationToken, guid, k...
    method setResourceApplicationDataEntry (line 1562) | def setResourceApplicationDataEntry(self, authenticationToken, guid, k...
    method unsetResourceApplicationDataEntry (line 1575) | def unsetResourceApplicationDataEntry(self, authenticationToken, guid,...
    method updateResource (line 1587) | def updateResource(self, authenticationToken, resource):
    method getResourceData (line 1643) | def getResourceData(self, authenticationToken, guid):
    method getResourceByHash (line 1672) | def getResourceByHash(self, authenticationToken, noteGuid, contentHash...
    method getResourceRecognition (line 1724) | def getResourceRecognition(self, authenticationToken, guid):
    method getResourceAlternateData (line 1755) | def getResourceAlternateData(self, authenticationToken, guid):
    method getResourceAttributes (line 1786) | def getResourceAttributes(self, authenticationToken, guid):
    method getPublicNotebook (line 1813) | def getPublicNotebook(self, userId, publicUri):
    method createSharedNotebook (line 1854) | def createSharedNotebook(self, authenticationToken, sharedNotebook):
    method updateSharedNotebook (line 1893) | def updateSharedNotebook(self, authenticationToken, sharedNotebook):
    method setSharedNotebookRecipientSettings (line 1929) | def setSharedNotebookRecipientSettings(self, authenticationToken, shar...
    method sendMessageToSharedNotebookMembers (line 1966) | def sendMessageToSharedNotebookMembers(self, authenticationToken, note...
    method listSharedNotebooks (line 2006) | def listSharedNotebooks(self, authenticationToken):
    method expungeSharedNotebooks (line 2019) | def expungeSharedNotebooks(self, authenticationToken, sharedNotebookIds):
    method createLinkedNotebook (line 2041) | def createLinkedNotebook(self, authenticationToken, linkedNotebook):
    method updateLinkedNotebook (line 2079) | def updateLinkedNotebook(self, authenticationToken, linkedNotebook):
    method listLinkedNotebooks (line 2098) | def listLinkedNotebooks(self, authenticationToken):
    method expungeLinkedNotebook (line 2107) | def expungeLinkedNotebook(self, authenticationToken, guid):
    method authenticateToSharedNotebook (line 2125) | def authenticateToSharedNotebook(self, shareKey, authenticationToken):
    method getSharedNotebookByAuth (line 2173) | def getSharedNotebookByAuth(self, authenticationToken):
    method emailNote (line 2204) | def emailNote(self, authenticationToken, parameters):
    method shareNote (line 2260) | def shareNote(self, authenticationToken, guid):
    method stopSharingNote (line 2293) | def stopSharingNote(self, authenticationToken, guid):
    method authenticateToSharedNote (line 2321) | def authenticateToSharedNote(self, guid, noteKey, authenticationToken):
    method findRelated (line 2371) | def findRelated(self, authenticationToken, query, resultSpec):
  class Client (line 2425) | class Client(Iface):
    method __init__ (line 2426) | def __init__(self, iprot, oprot=None):
    method getSyncState (line 2432) | def getSyncState(self, authenticationToken):
    method send_getSyncState (line 2443) | def send_getSyncState(self, authenticationToken):
    method recv_getSyncState (line 2451) | def recv_getSyncState(self, ):
    method getSyncStateWithMetrics (line 2469) | def getSyncStateWithMetrics(self, authenticationToken, clientMetrics):
    method send_getSyncStateWithMetrics (line 2487) | def send_getSyncStateWithMetrics(self, authenticationToken, clientMetr...
    method recv_getSyncStateWithMetrics (line 2496) | def recv_getSyncStateWithMetrics(self, ):
    method getSyncChunk (line 2514) | def getSyncChunk(self, authenticationToken, afterUSN, maxEntries, full...
    method send_getSyncChunk (line 2527) | def send_getSyncChunk(self, authenticationToken, afterUSN, maxEntries,...
    method recv_getSyncChunk (line 2538) | def recv_getSyncChunk(self, ):
    method getFilteredSyncChunk (line 2556) | def getFilteredSyncChunk(self, authenticationToken, afterUSN, maxEntri...
    method send_getFilteredSyncChunk (line 2599) | def send_getFilteredSyncChunk(self, authenticationToken, afterUSN, max...
    method recv_getFilteredSyncChunk (line 2610) | def recv_getFilteredSyncChunk(self, ):
    method getLinkedNotebookSyncState (line 2628) | def getLinkedNotebookSyncState(self, authenticationToken, linkedNotebo...
    method send_getLinkedNotebookSyncState (line 2657) | def send_getLinkedNotebookSyncState(self, authenticationToken, linkedN...
    method recv_getLinkedNotebookSyncState (line 2666) | def recv_getLinkedNotebookSyncState(self, ):
    method getLinkedNotebookSyncChunk (line 2686) | def getLinkedNotebookSyncChunk(self, authenticationToken, linkedNotebo...
    method send_getLinkedNotebookSyncChunk (line 2761) | def send_getLinkedNotebookSyncChunk(self, authenticationToken, linkedN...
    method recv_getLinkedNotebookSyncChunk (line 2773) | def recv_getLinkedNotebookSyncChunk(self, ):
    method listNotebooks (line 2793) | def listNotebooks(self, authenticationToken):
    method send_listNotebooks (line 2803) | def send_listNotebooks(self, authenticationToken):
    method recv_listNotebooks (line 2811) | def recv_listNotebooks(self, ):
    method getNotebook (line 2829) | def getNotebook(self, authenticationToken, guid):
    method send_getNotebook (line 2856) | def send_getNotebook(self, authenticationToken, guid):
    method recv_getNotebook (line 2865) | def recv_getNotebook(self, ):
    method getDefaultNotebook (line 2885) | def getDefaultNotebook(self, authenticationToken):
    method send_getDefaultNotebook (line 2896) | def send_getDefaultNotebook(self, authenticationToken):
    method recv_getDefaultNotebook (line 2904) | def recv_getDefaultNotebook(self, ):
    method createNotebook (line 2922) | def createNotebook(self, authenticationToken, notebook):
    method send_createNotebook (line 2963) | def send_createNotebook(self, authenticationToken, notebook):
    method recv_createNotebook (line 2972) | def recv_createNotebook(self, ):
    method updateNotebook (line 2990) | def updateNotebook(self, authenticationToken, notebook):
    method send_updateNotebook (line 3030) | def send_updateNotebook(self, authenticationToken, notebook):
    method recv_updateNotebook (line 3039) | def recv_updateNotebook(self, ):
    method expungeNotebook (line 3059) | def expungeNotebook(self, authenticationToken, guid):
    method send_expungeNotebook (line 3092) | def send_expungeNotebook(self, authenticationToken, guid):
    method recv_expungeNotebook (line 3101) | def recv_expungeNotebook(self, ):
    method listTags (line 3121) | def listTags(self, authenticationToken):
    method send_listTags (line 3132) | def send_listTags(self, authenticationToken):
    method recv_listTags (line 3140) | def recv_listTags(self, ):
    method listTagsByNotebook (line 3158) | def listTagsByNotebook(self, authenticationToken, notebookGuid):
    method send_listTagsByNotebook (line 3179) | def send_listTagsByNotebook(self, authenticationToken, notebookGuid):
    method recv_listTagsByNotebook (line 3188) | def recv_listTagsByNotebook(self, ):
    method getTag (line 3208) | def getTag(self, authenticationToken, guid):
    method send_getTag (line 3234) | def send_getTag(self, authenticationToken, guid):
    method recv_getTag (line 3243) | def recv_getTag(self, ):
    method createTag (line 3263) | def createTag(self, authenticationToken, tag):
    method send_createTag (line 3299) | def send_createTag(self, authenticationToken, tag):
    method recv_createTag (line 3308) | def recv_createTag(self, ):
    method updateTag (line 3328) | def updateTag(self, authenticationToken, tag):
    method send_updateTag (line 3367) | def send_updateTag(self, authenticationToken, tag):
    method recv_updateTag (line 3376) | def recv_updateTag(self, ):
    method untagAll (line 3396) | def untagAll(self, authenticationToken, guid):
    method send_untagAll (line 3430) | def send_untagAll(self, authenticationToken, guid):
    method recv_untagAll (line 3439) | def recv_untagAll(self, ):
    method expungeTag (line 3457) | def expungeTag(self, authenticationToken, guid):
    method send_expungeTag (line 3490) | def send_expungeTag(self, authenticationToken, guid):
    method recv_expungeTag (line 3499) | def recv_expungeTag(self, ):
    method listSearches (line 3519) | def listSearches(self, authenticationToken):
    method send_listSearches (line 3530) | def send_listSearches(self, authenticationToken):
    method recv_listSearches (line 3538) | def recv_listSearches(self, ):
    method getSearch (line 3556) | def getSearch(self, authenticationToken, guid):
    method send_getSearch (line 3581) | def send_getSearch(self, authenticationToken, guid):
    method recv_getSearch (line 3590) | def recv_getSearch(self, ):
    method createSearch (line 3610) | def createSearch(self, authenticationToken, search):
    method send_createSearch (line 3642) | def send_createSearch(self, authenticationToken, search):
    method recv_createSearch (line 3651) | def recv_createSearch(self, ):
    method updateSearch (line 3669) | def updateSearch(self, authenticationToken, search):
    method send_updateSearch (line 3704) | def send_updateSearch(self, authenticationToken, search):
    method recv_updateSearch (line 3713) | def recv_updateSearch(self, ):
    method expungeSearch (line 3733) | def expungeSearch(self, authenticationToken, guid):
    method send_expungeSearch (line 3766) | def send_expungeSearch(self, authenticationToken, guid):
    method recv_expungeSearch (line 3775) | def recv_expungeSearch(self, ):
    method findNotes (line 3795) | def findNotes(self, authenticationToken, filter, offset, maxNotes):
    method send_findNotes (line 3808) | def send_findNotes(self, authenticationToken, filter, offset, maxNotes):
    method recv_findNotes (line 3819) | def recv_findNotes(self, ):
    method findNoteOffset (line 3839) | def findNoteOffset(self, authenticationToken, filter, guid):
    method send_findNoteOffset (line 3889) | def send_findNoteOffset(self, authenticationToken, filter, guid):
    method recv_findNoteOffset (line 3899) | def recv_findNoteOffset(self, ):
    method findNotesMetadata (line 3919) | def findNotesMetadata(self, authenticationToken, filter, offset, maxNo...
    method send_findNotesMetadata (line 3984) | def send_findNotesMetadata(self, authenticationToken, filter, offset, ...
    method recv_findNotesMetadata (line 3996) | def recv_findNotesMetadata(self, ):
    method findNoteCounts (line 4016) | def findNoteCounts(self, authenticationToken, filter, withTrash):
    method send_findNoteCounts (line 4060) | def send_findNoteCounts(self, authenticationToken, filter, withTrash):
    method recv_findNoteCounts (line 4070) | def recv_findNoteCounts(self, ):
    method getNote (line 4090) | def getNote(self, authenticationToken, guid, withContent, withResource...
    method send_getNote (line 4144) | def send_getNote(self, authenticationToken, guid, withContent, withRes...
    method recv_getNote (line 4157) | def recv_getNote(self, ):
    method getNoteApplicationData (line 4177) | def getNoteApplicationData(self, authenticationToken, guid):
    method send_getNoteApplicationData (line 4193) | def send_getNoteApplicationData(self, authenticationToken, guid):
    method recv_getNoteApplicationData (line 4202) | def recv_getNoteApplicationData(self, ):
    method getNoteApplicationDataEntry (line 4222) | def getNoteApplicationDataEntry(self, authenticationToken, guid, key):
    method send_getNoteApplicationDataEntry (line 4240) | def send_getNoteApplicationDataEntry(self, authenticationToken, guid, ...
    method recv_getNoteApplicationDataEntry (line 4250) | def recv_getNoteApplicationDataEntry(self, ):
    method setNoteApplicationDataEntry (line 4270) | def setNoteApplicationDataEntry(self, authenticationToken, guid, key, ...
    method send_setNoteApplicationDataEntry (line 4284) | def send_setNoteApplicationDataEntry(self, authenticationToken, guid, ...
    method recv_setNoteApplicationDataEntry (line 4295) | def recv_setNoteApplicationDataEntry(self, ):
    method unsetNoteApplicationDataEntry (line 4315) | def unsetNoteApplicationDataEntry(self, authenticationToken, guid, key):
    method send_unsetNoteApplicationDataEntry (line 4329) | def send_unsetNoteApplicationDataEntry(self, authenticationToken, guid...
    method recv_unsetNoteApplicationDataEntry (line 4339) | def recv_unsetNoteApplicationDataEntry(self, ):
    method getNoteContent (line 4359) | def getNoteContent(self, authenticationToken, guid):
    method send_getNoteContent (line 4387) | def send_getNoteContent(self, authenticationToken, guid):
    method recv_getNoteContent (line 4396) | def recv_getNoteContent(self, ):
    method getNoteSearchText (line 4416) | def getNoteSearchText(self, authenticationToken, guid, noteOnly, token...
    method send_getNoteSearchText (line 4460) | def send_getNoteSearchText(self, authenticationToken, guid, noteOnly, ...
    method recv_getNoteSearchText (line 4471) | def recv_getNoteSearchText(self, ):
    method getResourceSearchText (line 4491) | def getResourceSearchText(self, authenticationToken, guid):
    method send_getResourceSearchText (line 4523) | def send_getResourceSearchText(self, authenticationToken, guid):
    method recv_getResourceSearchText (line 4532) | def recv_getResourceSearchText(self, ):
    method getNoteTagNames (line 4552) | def getNoteTagNames(self, authenticationToken, guid):
    method send_getNoteTagNames (line 4578) | def send_getNoteTagNames(self, authenticationToken, guid):
    method recv_getNoteTagNames (line 4587) | def recv_getNoteTagNames(self, ):
    method createNote (line 4607) | def createNote(self, authenticationToken, note):
    method send_createNote (line 4674) | def send_createNote(self, authenticationToken, note):
    method recv_createNote (line 4683) | def recv_createNote(self, ):
    method updateNote (line 4703) | def updateNote(self, authenticationToken, note):
    method send_updateNote (line 4776) | def send_updateNote(self, authenticationToken, note):
    method recv_updateNote (line 4785) | def recv_updateNote(self, ):
    method deleteNote (line 4805) | def deleteNote(self, authenticationToken, guid):
    method send_deleteNote (line 4839) | def send_deleteNote(self, authenticationToken, guid):
    method recv_deleteNote (line 4848) | def recv_deleteNote(self, ):
    method expungeNote (line 4868) | def expungeNote(self, authenticationToken, guid):
    method send_expungeNote (line 4900) | def send_expungeNote(self, authenticationToken, guid):
    method recv_expungeNote (line 4909) | def recv_expungeNote(self, ):
    method expungeNotes (line 4929) | def expungeNotes(self, authenticationToken, noteGuids):
    method send_expungeNotes (line 4968) | def send_expungeNotes(self, authenticationToken, noteGuids):
    method recv_expungeNotes (line 4977) | def recv_expungeNotes(self, ):
    method expungeInactiveNotes (line 4997) | def expungeInactiveNotes(self, authenticationToken):
    method send_expungeInactiveNotes (line 5019) | def send_expungeInactiveNotes(self, authenticationToken):
    method recv_expungeInactiveNotes (line 5027) | def recv_expungeInactiveNotes(self, ):
    method copyNote (line 5045) | def copyNote(self, authenticationToken, noteGuid, toNotebookGuid):
    method send_copyNote (line 5093) | def send_copyNote(self, authenticationToken, noteGuid, toNotebookGuid):
    method recv_copyNote (line 5103) | def recv_copyNote(self, ):
    method listNoteVersions (line 5123) | def listNoteVersions(self, authenticationToken, noteGuid):
    method send_listNoteVersions (line 5151) | def send_listNoteVersions(self, authenticationToken, noteGuid):
    method recv_listNoteVersions (line 5160) | def recv_listNoteVersions(self, ):
    method getNoteVersion (line 5180) | def getNoteVersion(self, authenticationToken, noteGuid, updateSequence...
    method send_getNoteVersion (line 5239) | def send_getNoteVersion(self, authenticationToken, noteGuid, updateSeq...
    method recv_getNoteVersion (line 5252) | def recv_getNoteVersion(self, ):
    method getResource (line 5272) | def getResource(self, authenticationToken, guid, withData, withRecogni...
    method send_getResource (line 5321) | def send_getResource(self, authenticationToken, guid, withData, withRe...
    method recv_getResource (line 5334) | def recv_getResource(self, ):
    method getResourceApplicationData (line 5354) | def getResourceApplicationData(self, authenticationToken, guid):
    method send_getResourceApplicationData (line 5370) | def send_getResourceApplicationData(self, authenticationToken, guid):
    method recv_getResourceApplicationData (line 5379) | def recv_getResourceApplicationData(self, ):
    method getResourceApplicationDataEntry (line 5399) | def getResourceApplicationDataEntry(self, authenticationToken, guid, k...
    method send_getResourceApplicationDataEntry (line 5417) | def send_getResourceApplicationDataEntry(self, authenticationToken, gu...
    method recv_getResourceApplicationDataEntry (line 5427) | def recv_getResourceApplicationDataEntry(self, ):
    method setResourceApplicationDataEntry (line 5447) | def setResourceApplicationDataEntry(self, authenticationToken, guid, k...
    method send_setResourceApplicationDataEntry (line 5461) | def send_setResourceApplicationDataEntry(self, authenticationToken, gu...
    method recv_setResourceApplicationDataEntry (line 5472) | def recv_setResourceApplicationDataEntry(self, ):
    method unsetResourceApplicationDataEntry (line 5492) | def unsetResourceApplicationDataEntry(self, authenticationToken, guid,...
    method send_unsetResourceApplicationDataEntry (line 5505) | def send_unsetResourceApplicationDataEntry(self, authenticationToken, ...
    method recv_unsetResourceApplicationDataEntry (line 5515) | def recv_unsetResourceApplicationDataEntry(self, ):
    method updateResource (line 5535) | def updateResource(self, authenticationToken, resource):
    method send_updateResource (line 5592) | def send_updateResource(self, authenticationToken, resource):
    method recv_updateResource (line 5601) | def recv_updateResource(self, ):
    method getResourceData (line 5621) | def getResourceData(self, authenticationToken, guid):
    method send_getResourceData (line 5651) | def send_getResourceData(self, authenticationToken, guid):
    method recv_getResourceData (line 5660) | def recv_getResourceData(self, ):
    method getResourceByHash (line 5680) | def getResourceByHash(self, authenticationToken, noteGuid, contentHash...
    method send_getResourceByHash (line 5733) | def send_getResourceByHash(self, authenticationToken, noteGuid, conten...
    method recv_getResourceByHash (line 5746) | def recv_getResourceByHash(self, ):
    method getResourceRecognition (line 5766) | def getResourceRecognition(self, authenticationToken, guid):
    method send_getResourceRecognition (line 5798) | def send_getResourceRecognition(self, authenticationToken, guid):
    method recv_getResourceRecognition (line 5807) | def recv_getResourceRecognition(self, ):
    method getResourceAlternateData (line 5827) | def getResourceAlternateData(self, authenticationToken, guid):
    method send_getResourceAlternateData (line 5859) | def send_getResourceAlternateData(self, authenticationToken, guid):
    method recv_getResourceAlternateData (line 5868) | def recv_getResourceAlternateData(self, ):
    method getResourceAttributes (line 5888) | def getResourceAttributes(self, authenticationToken, guid):
    method send_getResourceAttributes (line 5916) | def send_getResourceAttributes(self, authenticationToken, guid):
    method recv_getResourceAttributes (line 5925) | def recv_getResourceAttributes(self, ):
    method getPublicNotebook (line 5945) | def getPublicNotebook(self, userId, publicUri):
    method send_getPublicNotebook (line 5987) | def send_getPublicNotebook(self, userId, publicUri):
    method recv_getPublicNotebook (line 5996) | def recv_getPublicNotebook(self, ):
    method createSharedNotebook (line 6014) | def createSharedNotebook(self, authenticationToken, sharedNotebook):
    method send_createSharedNotebook (line 6054) | def send_createSharedNotebook(self, authenticationToken, sharedNotebook):
    method recv_createSharedNotebook (line 6063) | def recv_createSharedNotebook(self, ):
    method updateSharedNotebook (line 6083) | def updateSharedNotebook(self, authenticationToken, sharedNotebook):
    method send_updateSharedNotebook (line 6120) | def send_updateSharedNotebook(self, authenticationToken, sharedNotebook):
    method recv_updateSharedNotebook (line 6129) | def recv_updateSharedNotebook(self, ):
    method setSharedNotebookRecipientSettings (line 6149) | def setSharedNotebookRecipientSettings(self, authenticationToken, shar...
    method send_setSharedNotebookRecipientSettings (line 6187) | def send_setSharedNotebookRecipientSettings(self, authenticationToken,...
    method recv_setSharedNotebookRecipientSettings (line 6197) | def recv_setSharedNotebookRecipientSettings(self, ):
    method sendMessageToSharedNotebookMembers (line 6217) | def sendMessageToSharedNotebookMembers(self, authenticationToken, note...
    method send_sendMessageToSharedNotebookMembers (line 6258) | def send_sendMessageToSharedNotebookMembers(self, authenticationToken,...
    method recv_sendMessageToSharedNotebookMembers (line 6269) | def recv_sendMessageToSharedNotebookMembers(self, ):
    method listSharedNotebooks (line 6289) | def listSharedNotebooks(self, authenticationToken):
    method send_listSharedNotebooks (line 6303) | def send_listSharedNotebooks(self, authenticationToken):
    method recv_listSharedNotebooks (line 6311) | def recv_listSharedNotebooks(self, ):
    method expungeSharedNotebooks (line 6331) | def expungeSharedNotebooks(self, authenticationToken, sharedNotebookIds):
    method send_expungeSharedNotebooks (line 6354) | def send_expungeSharedNotebooks(self, authenticationToken, sharedNoteb...
    method recv_expungeSharedNotebooks (line 6363) | def recv_expungeSharedNotebooks(self, ):
    method createLinkedNotebook (line 6383) | def createLinkedNotebook(self, authenticationToken, linkedNotebook):
    method send_createLinkedNotebook (line 6422) | def send_createLinkedNotebook(self, authenticationToken, linkedNotebook):
    method recv_createLinkedNotebook (line 6431) | def recv_createLinkedNotebook(self, ):
    method updateLinkedNotebook (line 6451) | def updateLinkedNotebook(self, authenticationToken, linkedNotebook):
    method send_updateLinkedNotebook (line 6471) | def send_updateLinkedNotebook(self, authenticationToken, linkedNotebook):
    method recv_updateLinkedNotebook (line 6480) | def recv_updateLinkedNotebook(self, ):
    method listLinkedNotebooks (line 6500) | def listLinkedNotebooks(self, authenticationToken):
    method send_listLinkedNotebooks (line 6510) | def send_listLinkedNotebooks(self, authenticationToken):
    method recv_listLinkedNotebooks (line 6518) | def recv_listLinkedNotebooks(self, ):
    method expungeLinkedNotebook (line 6538) | def expungeLinkedNotebook(self, authenticationToken, guid):
    method send_expungeLinkedNotebook (line 6557) | def send_expungeLinkedNotebook(self, authenticationToken, guid):
    method recv_expungeLinkedNotebook (line 6566) | def recv_expungeLinkedNotebook(self, ):
    method authenticateToSharedNotebook (line 6586) | def authenticateToSharedNotebook(self, shareKey, authenticationToken):
    method send_authenticateToSharedNotebook (line 6635) | def send_authenticateToSharedNotebook(self, shareKey, authenticationTo...
    method recv_authenticateToSharedNotebook (line 6644) | def recv_authenticateToSharedNotebook(self, ):
    method getSharedNotebookByAuth (line 6664) | def getSharedNotebookByAuth(self, authenticationToken):
    method send_getSharedNotebookByAuth (line 6696) | def send_getSharedNotebookByAuth(self, authenticationToken):
    method recv_getSharedNotebookByAuth (line 6704) | def recv_getSharedNotebookByAuth(self, ):
    method emailNote (line 6724) | def emailNote(self, authenticationToken, parameters):
    method send_emailNote (line 6781) | def send_emailNote(self, authenticationToken, parameters):
    method recv_emailNote (line 6790) | def recv_emailNote(self, ):
    method shareNote (line 6808) | def shareNote(self, authenticationToken, guid):
    method send_shareNote (line 6842) | def send_shareNote(self, authenticationToken, guid):
    method recv_shareNote (line 6851) | def recv_shareNote(self, ):
    method stopSharingNote (line 6871) | def stopSharingNote(self, authenticationToken, guid):
    method send_stopSharingNote (line 6900) | def send_stopSharingNote(self, authenticationToken, guid):
    method recv_stopSharingNote (line 6909) | def recv_stopSharingNote(self, ):
    method authenticateToSharedNote (line 6927) | def authenticateToSharedNote(self, guid, noteKey, authenticationToken):
    method send_authenticateToSharedNote (line 6978) | def send_authenticateToSharedNote(self, guid, noteKey, authenticationT...
    method recv_authenticateToSharedNote (line 6988) | def recv_authenticateToSharedNote(self, ):
    method findRelated (line 7008) | def findRelated(self, authenticationToken, query, resultSpec):
    method send_findRelated (line 7062) | def send_findRelated(self, authenticationToken, query, resultSpec):
    method recv_findRelated (line 7072) | def recv_findRelated(self, ):
  class Processor (line 7093) | class Processor(Iface, TProcessor):
    method __init__ (line 7094) | def __init__(self, handler):
    method process (line 7173) | def process(self, iprot, oprot):
    method process_getSyncState (line 7188) | def process_getSyncState(self, seqid, iprot, oprot):
    method process_getSyncStateWithMetrics (line 7204) | def process_getSyncStateWithMetrics(self, seqid, iprot, oprot):
    method process_getSyncChunk (line 7220) | def process_getSyncChunk(self, seqid, iprot, oprot):
    method process_getFilteredSyncChunk (line 7236) | def process_getFilteredSyncChunk(self, seqid, iprot, oprot):
    method process_getLinkedNotebookSyncState (line 7252) | def process_getLinkedNotebookSyncState(self, seqid, iprot, oprot):
    method process_getLinkedNotebookSyncChunk (line 7270) | def process_getLinkedNotebookSyncChunk(self, seqid, iprot, oprot):
    method process_listNotebooks (line 7288) | def process_listNotebooks(self, seqid, iprot, oprot):
    method process_getNotebook (line 7304) | def process_getNotebook(self, seqid, iprot, oprot):
    method process_getDefaultNotebook (line 7322) | def process_getDefaultNotebook(self, seqid, iprot, oprot):
    method process_createNotebook (line 7338) | def process_createNotebook(self, seqid, iprot, oprot):
    method process_updateNotebook (line 7354) | def process_updateNotebook(self, seqid, iprot, oprot):
    method process_expungeNotebook (line 7372) | def process_expungeNotebook(self, seqid, iprot, oprot):
    method process_listTags (line 7390) | def process_listTags(self, seqid, iprot, oprot):
    method process_listTagsByNotebook (line 7406) | def process_listTagsByNotebook(self, seqid, iprot, oprot):
    method process_getTag (line 7424) | def process_getTag(self, seqid, iprot, oprot):
    method process_createTag (line 7442) | def process_createTag(self, seqid, iprot, oprot):
    method process_updateTag (line 7460) | def process_updateTag(self, seqid, iprot, oprot):
    method process_untagAll (line 7478) | def process_untagAll(self, seqid, iprot, oprot):
    method process_expungeTag (line 7496) | def process_expungeTag(self, seqid, iprot, oprot):
    method process_listSearches (line 7514) | def process_listSearches(self, seqid, iprot, oprot):
    method process_getSearch (line 7530) | def process_getSearch(self, seqid, iprot, oprot):
    method process_createSearch (line 7548) | def process_createSearch(self, seqid, iprot, oprot):
    method process_updateSearch (line 7564) | def process_updateSearch(self, seqid, iprot, oprot):
    method process_expungeSearch (line 7582) | def process_expungeSearch(self, seqid, iprot, oprot):
    method process_findNotes (line 7600) | def process_findNotes(self, seqid, iprot, oprot):
    method process_findNoteOffset (line 7618) | def process_findNoteOffset(self, seqid, iprot, oprot):
    method process_findNotesMetadata (line 7636) | def process_findNotesMetadata(self, seqid, iprot, oprot):
    method process_findNoteCounts (line 7654) | def process_findNoteCounts(self, seqid, iprot, oprot):
    method process_getNote (line 7672) | def process_getNote(self, seqid, iprot, oprot):
    method process_getNoteApplicationData (line 7690) | def process_getNoteApplicationData(self, seqid, iprot, oprot):
    method process_getNoteApplicationDataEntry (line 7708) | def process_getNoteApplicationDataEntry(self, seqid, iprot, oprot):
    method process_setNoteApplicationDataEntry (line 7726) | def process_setNoteApplicationDataEntry(self, seqid, iprot, oprot):
    method process_unsetNoteApplicationDataEntry (line 7744) | def process_unsetNoteApplicationDataEntry(self, seqid, iprot, oprot):
    method process_getNoteContent (line 7762) | def process_getNoteContent(self, seqid, iprot, oprot):
    method process_getNoteSearchText (line 7780) | def process_getNoteSearchText(self, seqid, iprot, oprot):
    method process_getResourceSearchText (line 7798) | def process_getResourceSearchText(self, seqid, iprot, oprot):
    method process_getNoteTagNames (line 7816) | def process_getNoteTagNames(self, seqid, iprot, oprot):
    method process_createNote (line 7834) | def process_createNote(self, seqid, iprot, oprot):
    method process_updateNote (line 7852) | def process_updateNote(self, seqid, iprot, oprot):
    method process_deleteNote (line 7870) | def process_deleteNote(self, seqid, iprot, oprot):
    method process_expungeNote (line 7888) | def process_expungeNote(self, seqid, iprot, oprot):
    method process_expungeNotes (line 7906) | def process_expungeNotes(self, seqid, iprot, oprot):
    method process_expungeInactiveNotes (line 7924) | def process_expungeInactiveNotes(self, seqid, iprot, oprot):
    method process_copyNote (line 7940) | def process_copyNote(self, seqid, iprot, oprot):
    method process_listNoteVersions (line 7958) | def process_listNoteVersions(self, seqid, iprot, oprot):
    method process_getNoteVersion (line 7976) | def process_getNoteVersion(self, seqid, iprot, oprot):
    method process_getResource (line 7994) | def process_getResource(self, seqid, iprot, oprot):
    method process_getResourceApplicationData (line 8012) | def process_getResourceApplicationData(self, seqid, iprot, oprot):
    method process_getResourceApplicationDataEntry (line 8030) | def process_getResourceApplicationDataEntry(self, seqid, iprot, oprot):
    method process_setResourceApplicationDataEntry (line 8048) | def process_setResourceApplicationDataEntry(self, seqid, iprot, oprot):
    method process_unsetResourceApplicationDataEntry (line 8066) | def process_unsetResourceApplicationDataEntry(self, seqid, iprot, oprot):
    method process_updateResource (line 8084) | def process_updateResource(self, seqid, iprot, oprot):
    method process_getResourceData (line 8102) | def process_getResourceData(self, seqid, iprot, oprot):
    method process_getResourceByHash (line 8120) | def process_getResourceByHash(self, seqid, iprot, oprot):
    method process_getResourceRecognition (line 8138) | def process_getResourceRecognition(self, seqid, iprot, oprot):
    method process_getResourceAlternateData (line 8156) | def process_getResourceAlternateData(self, seqid, iprot, oprot):
    method process_getResourceAttributes (line 8174) | def process_getResourceAttributes(self, seqid, iprot, oprot):
    method process_getPublicNotebook (line 8192) | def process_getPublicNotebook(self, seqid, iprot, oprot):
    method process_createSharedNotebook (line 8208) | def process_createSharedNotebook(self, seqid, iprot, oprot):
    method process_updateSharedNotebook (line 8226) | def process_updateSharedNotebook(self, seqid, iprot, oprot):
    method process_setSharedNotebookRecipientSettings (line 8244) | def process_setSharedNotebookRecipientSettings(self, seqid, iprot, opr...
    method process_sendMessageToSharedNotebookMembers (line 8262) | def process_sendMessageToSharedNotebookMembers(self, seqid, iprot, opr...
    method process_listSharedNotebooks (line 8280) | def process_listSharedNotebooks(self, seqid, iprot, oprot):
    method process_expungeSharedNotebooks (line 8298) | def process_expungeSharedNotebooks(self, seqid, iprot, oprot):
    method process_createLinkedNotebook (line 8316) | def process_createLinkedNotebook(self, seqid, iprot, oprot):
    method process_updateLinkedNotebook (line 8334) | def process_updateLinkedNotebook(self, seqid, iprot, oprot):
    method process_listLinkedNotebooks (line 8352) | def process_listLinkedNotebooks(self, seqid, iprot, oprot):
    method process_expungeLinkedNotebook (line 8370) | def process_expungeLinkedNotebook(self, seqid, iprot, oprot):
    method process_authenticateToSharedNotebook (line 8388) | def process_authenticateToSharedNotebook(self, seqid, iprot, oprot):
    method process_getSharedNotebookByAuth (line 8406) | def process_getSharedNotebookByAuth(self, seqid, iprot, oprot):
    method process_emailNote (line 8424) | def process_emailNote(self, seqid, iprot, oprot):
    method process_shareNote (line 8442) | def process_shareNote(self, seqid, iprot, oprot):
    method process_stopSharingNote (line 8460) | def process_stopSharingNote(self, seqid, iprot, oprot):
    method process_authenticateToSharedNote (line 8478) | def process_authenticateToSharedNote(self, seqid, iprot, oprot):
    method process_findRelated (line 8496) | def process_findRelated(self, seqid, iprot, oprot):
  class getSyncState_args (line 8517) | class getSyncState_args(object):
    method __init__ (line 8528) | def __init__(self, authenticationToken=None,):
    method read (line 8531) | def read(self, iprot):
    method write (line 8550) | def write(self, oprot):
    method validate (line 8562) | def validate(self):
    method __repr__ (line 8566) | def __repr__(self):
    method __eq__ (line 8571) | def __eq__(self, other):
    method __ne__ (line 8574) | def __ne__(self, other):
  class getSyncState_result (line 8577) | class getSyncState_result(object):
    method __init__ (line 8591) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 8596) | def read(self, iprot):
    method write (line 8628) | def write(self, oprot):
    method validate (line 8648) | def validate(self):
    method __repr__ (line 8652) | def __repr__(self):
    method __eq__ (line 8657) | def __eq__(self, other):
    method __ne__ (line 8660) | def __ne__(self, other):
  class getSyncStateWithMetrics_args (line 8663) | class getSyncStateWithMetrics_args(object):
    method __init__ (line 8676) | def __init__(self, authenticationToken=None, clientMetrics=None,):
    method read (line 8680) | def read(self, iprot):
    method write (line 8705) | def write(self, oprot):
    method validate (line 8721) | def validate(self):
    method __repr__ (line 8725) | def __repr__(self):
    method __eq__ (line 8730) | def __eq__(self, other):
    method __ne__ (line 8733) | def __ne__(self, other):
  class getSyncStateWithMetrics_result (line 8736) | class getSyncStateWithMetrics_result(object):
    method __init__ (line 8750) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 8755) | def read(self, iprot):
    method write (line 8787) | def write(self, oprot):
    method validate (line 8807) | def validate(self):
    method __repr__ (line 8811) | def __repr__(self):
    method __eq__ (line 8816) | def __eq__(self, other):
    method __ne__ (line 8819) | def __ne__(self, other):
  class getSyncChunk_args (line 8822) | class getSyncChunk_args(object):
    method __init__ (line 8839) | def __init__(self, authenticationToken=None, afterUSN=None, maxEntries...
    method read (line 8845) | def read(self, iprot):
    method write (line 8879) | def write(self, oprot):
    method validate (line 8903) | def validate(self):
    method __repr__ (line 8907) | def __repr__(self):
    method __eq__ (line 8912) | def __eq__(self, other):
    method __ne__ (line 8915) | def __ne__(self, other):
  class getSyncChunk_result (line 8918) | class getSyncChunk_result(object):
    method __init__ (line 8932) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 8937) | def read(self, iprot):
    method write (line 8969) | def write(self, oprot):
    method validate (line 8989) | def validate(self):
    method __repr__ (line 8993) | def __repr__(self):
    method __eq__ (line 8998) | def __eq__(self, other):
    method __ne__ (line 9001) | def __ne__(self, other):
  class getFilteredSyncChunk_args (line 9004) | class getFilteredSyncChunk_args(object):
    method __init__ (line 9021) | def __init__(self, authenticationToken=None, afterUSN=None, maxEntries...
    method read (line 9027) | def read(self, iprot):
    method write (line 9062) | def write(self, oprot):
    method validate (line 9086) | def validate(self):
    method __repr__ (line 9090) | def __repr__(self):
    method __eq__ (line 9095) | def __eq__(self, other):
    method __ne__ (line 9098) | def __ne__(self, other):
  class getFilteredSyncChunk_result (line 9101) | class getFilteredSyncChunk_result(object):
    method __init__ (line 9115) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 9120) | def read(self, iprot):
    method write (line 9152) | def write(self, oprot):
    method validate (line 9172) | def validate(self):
    method __repr__ (line 9176) | def __repr__(self):
    method __eq__ (line 9181) | def __eq__(self, other):
    method __ne__ (line 9184) | def __ne__(self, other):
  class getLinkedNotebookSyncState_args (line 9187) | class getLinkedNotebookSyncState_args(object):
    method __init__ (line 9200) | def __init__(self, authenticationToken=None, linkedNotebook=None,):
    method read (line 9204) | def read(self, iprot):
    method write (line 9229) | def write(self, oprot):
    method validate (line 9245) | def validate(self):
    method __repr__ (line 9249) | def __repr__(self):
    method __eq__ (line 9254) | def __eq__(self, other):
    method __ne__ (line 9257) | def __ne__(self, other):
  class getLinkedNotebookSyncState_result (line 9260) | class getLinkedNotebookSyncState_result(object):
    method __init__ (line 9276) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 9282) | def read(self, iprot):
    method write (line 9320) | def write(self, oprot):
    method validate (line 9344) | def validate(self):
    method __repr__ (line 9348) | def __repr__(self):
    method __eq__ (line 9353) | def __eq__(self, other):
    method __ne__ (line 9356) | def __ne__(self, other):
  class getLinkedNotebookSyncChunk_args (line 9359) | class getLinkedNotebookSyncChunk_args(object):
    method __init__ (line 9378) | def __init__(self, authenticationToken=None, linkedNotebook=None, afte...
    method read (line 9385) | def read(self, iprot):
    method write (line 9425) | def write(self, oprot):
    method validate (line 9453) | def validate(self):
    method __repr__ (line 9457) | def __repr__(self):
    method __eq__ (line 9462) | def __eq__(self, other):
    method __ne__ (line 9465) | def __ne__(self, other):
  class getLinkedNotebookSyncChunk_result (line 9468) | class getLinkedNotebookSyncChunk_result(object):
    method __init__ (line 9484) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 9490) | def read(self, iprot):
    method write (line 9528) | def write(self, oprot):
    method validate (line 9552) | def validate(self):
    method __repr__ (line 9556) | def __repr__(self):
    method __eq__ (line 9561) | def __eq__(self, other):
    method __ne__ (line 9564) | def __ne__(self, other):
  class listNotebooks_args (line 9567) | class listNotebooks_args(object):
    method __init__ (line 9578) | def __init__(self, authenticationToken=None,):
    method read (line 9581) | def read(self, iprot):
    method write (line 9600) | def write(self, oprot):
    method validate (line 9612) | def validate(self):
    method __repr__ (line 9616) | def __repr__(self):
    method __eq__ (line 9621) | def __eq__(self, other):
    method __ne__ (line 9624) | def __ne__(self, other):
  class listNotebooks_result (line 9627) | class listNotebooks_result(object):
    method __init__ (line 9641) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 9646) | def read(self, iprot):
    method write (line 9683) | def write(self, oprot):
    method validate (line 9706) | def validate(self):
    method __repr__ (line 9710) | def __repr__(self):
    method __eq__ (line 9715) | def __eq__(self, other):
    method __ne__ (line 9718) | def __ne__(self, other):
  class getNotebook_args (line 9721) | class getNotebook_args(object):
    method __init__ (line 9734) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 9738) | def read(self, iprot):
    method write (line 9762) | def write(self, oprot):
    method validate (line 9778) | def validate(self):
    method __repr__ (line 9782) | def __repr__(self):
    method __eq__ (line 9787) | def __eq__(self, other):
    method __ne__ (line 9790) | def __ne__(self, other):
  class getNotebook_result (line 9793) | class getNotebook_result(object):
    method __init__ (line 9809) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 9815) | def read(self, iprot):
    method write (line 9853) | def write(self, oprot):
    method validate (line 9877) | def validate(self):
    method __repr__ (line 9881) | def __repr__(self):
    method __eq__ (line 9886) | def __eq__(self, other):
    method __ne__ (line 9889) | def __ne__(self, other):
  class getDefaultNotebook_args (line 9892) | class getDefaultNotebook_args(object):
    method __init__ (line 9903) | def __init__(self, authenticationToken=None,):
    method read (line 9906) | def read(self, iprot):
    method write (line 9925) | def write(self, oprot):
    method validate (line 9937) | def validate(self):
    method __repr__ (line 9941) | def __repr__(self):
    method __eq__ (line 9946) | def __eq__(self, other):
    method __ne__ (line 9949) | def __ne__(self, other):
  class getDefaultNotebook_result (line 9952) | class getDefaultNotebook_result(object):
    method __init__ (line 9966) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 9971) | def read(self, iprot):
    method write (line 10003) | def write(self, oprot):
    method validate (line 10023) | def validate(self):
    method __repr__ (line 10027) | def __repr__(self):
    method __eq__ (line 10032) | def __eq__(self, other):
    method __ne__ (line 10035) | def __ne__(self, other):
  class createNotebook_args (line 10038) | class createNotebook_args(object):
    method __init__ (line 10051) | def __init__(self, authenticationToken=None, notebook=None,):
    method read (line 10055) | def read(self, iprot):
    method write (line 10080) | def write(self, oprot):
    method validate (line 10096) | def validate(self):
    method __repr__ (line 10100) | def __repr__(self):
    method __eq__ (line 10105) | def __eq__(self, other):
    method __ne__ (line 10108) | def __ne__(self, other):
  class createNotebook_result (line 10111) | class createNotebook_result(object):
    method __init__ (line 10125) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 10130) | def read(self, iprot):
    method write (line 10162) | def write(self, oprot):
    method validate (line 10182) | def validate(self):
    method __repr__ (line 10186) | def __repr__(self):
    method __eq__ (line 10191) | def __eq__(self, other):
    method __ne__ (line 10194) | def __ne__(self, other):
  class updateNotebook_args (line 10197) | class updateNotebook_args(object):
    method __init__ (line 10210) | def __init__(self, authenticationToken=None, notebook=None,):
    method read (line 10214) | def read(self, iprot):
    method write (line 10239) | def write(self, oprot):
    method validate (line 10255) | def validate(self):
    method __repr__ (line 10259) | def __repr__(self):
    method __eq__ (line 10264) | def __eq__(self, other):
    method __ne__ (line 10267) | def __ne__(self, other):
  class updateNotebook_result (line 10270) | class updateNotebook_result(object):
    method __init__ (line 10286) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 10292) | def read(self, iprot):
    method write (line 10329) | def write(self, oprot):
    method validate (line 10353) | def validate(self):
    method __repr__ (line 10357) | def __repr__(self):
    method __eq__ (line 10362) | def __eq__(self, other):
    method __ne__ (line 10365) | def __ne__(self, other):
  class expungeNotebook_args (line 10368) | class expungeNotebook_args(object):
    method __init__ (line 10381) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 10385) | def read(self, iprot):
    method write (line 10409) | def write(self, oprot):
    method validate (line 10425) | def validate(self):
    method __repr__ (line 10429) | def __repr__(self):
    method __eq__ (line 10434) | def __eq__(self, other):
    method __ne__ (line 10437) | def __ne__(self, other):
  class expungeNotebook_result (line 10440) | class expungeNotebook_result(object):
    method __init__ (line 10456) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 10462) | def read(self, iprot):
    method write (line 10499) | def write(self, oprot):
    method validate (line 10523) | def validate(self):
    method __repr__ (line 10527) | def __repr__(self):
    method __eq__ (line 10532) | def __eq__(self, other):
    method __ne__ (line 10535) | def __ne__(self, other):
  class listTags_args (line 10538) | class listTags_args(object):
    method __init__ (line 10549) | def __init__(self, authenticationToken=None,):
    method read (line 10552) | def read(self, iprot):
    method write (line 10571) | def write(self, oprot):
    method validate (line 10583) | def validate(self):
    method __repr__ (line 10587) | def __repr__(self):
    method __eq__ (line 10592) | def __eq__(self, other):
    method __ne__ (line 10595) | def __ne__(self, other):
  class listTags_result (line 10598) | class listTags_result(object):
    method __init__ (line 10612) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 10617) | def read(self, iprot):
    method write (line 10654) | def write(self, oprot):
    method validate (line 10677) | def validate(self):
    method __repr__ (line 10681) | def __repr__(self):
    method __eq__ (line 10686) | def __eq__(self, other):
    method __ne__ (line 10689) | def __ne__(self, other):
  class listTagsByNotebook_args (line 10692) | class listTagsByNotebook_args(object):
    method __init__ (line 10705) | def __init__(self, authenticationToken=None, notebookGuid=None,):
    method read (line 10709) | def read(self, iprot):
    method write (line 10733) | def write(self, oprot):
    method validate (line 10749) | def validate(self):
    method __repr__ (line 10753) | def __repr__(self):
    method __eq__ (line 10758) | def __eq__(self, other):
    method __ne__ (line 10761) | def __ne__(self, other):
  class listTagsByNotebook_result (line 10764) | class listTagsByNotebook_result(object):
    method __init__ (line 10780) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 10786) | def read(self, iprot):
    method write (line 10829) | def write(self, oprot):
    method validate (line 10856) | def validate(self):
    method __repr__ (line 10860) | def __repr__(self):
    method __eq__ (line 10865) | def __eq__(self, other):
    method __ne__ (line 10868) | def __ne__(self, other):
  class getTag_args (line 10871) | class getTag_args(object):
    method __init__ (line 10884) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 10888) | def read(self, iprot):
    method write (line 10912) | def write(self, oprot):
    method validate (line 10928) | def validate(self):
    method __repr__ (line 10932) | def __repr__(self):
    method __eq__ (line 10937) | def __eq__(self, other):
    method __ne__ (line 10940) | def __ne__(self, other):
  class getTag_result (line 10943) | class getTag_result(object):
    method __init__ (line 10959) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 10965) | def read(self, iprot):
    method write (line 11003) | def write(self, oprot):
    method validate (line 11027) | def validate(self):
    method __repr__ (line 11031) | def __repr__(self):
    method __eq__ (line 11036) | def __eq__(self, other):
    method __ne__ (line 11039) | def __ne__(self, other):
  class createTag_args (line 11042) | class createTag_args(object):
    method __init__ (line 11055) | def __init__(self, authenticationToken=None, tag=None,):
    method read (line 11059) | def read(self, iprot):
    method write (line 11084) | def write(self, oprot):
    method validate (line 11100) | def validate(self):
    method __repr__ (line 11104) | def __repr__(self):
    method __eq__ (line 11109) | def __eq__(self, other):
    method __ne__ (line 11112) | def __ne__(self, other):
  class createTag_result (line 11115) | class createTag_result(object):
    method __init__ (line 11131) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 11137) | def read(self, iprot):
    method write (line 11175) | def write(self, oprot):
    method validate (line 11199) | def validate(self):
    method __repr__ (line 11203) | def __repr__(self):
    method __eq__ (line 11208) | def __eq__(self, other):
    method __ne__ (line 11211) | def __ne__(self, other):
  class updateTag_args (line 11214) | class updateTag_args(object):
    method __init__ (line 11227) | def __init__(self, authenticationToken=None, tag=None,):
    method read (line 11231) | def read(self, iprot):
    method write (line 11256) | def write(self, oprot):
    method validate (line 11272) | def validate(self):
    method __repr__ (line 11276) | def __repr__(self):
    method __eq__ (line 11281) | def __eq__(self, other):
    method __ne__ (line 11284) | def __ne__(self, other):
  class updateTag_result (line 11287) | class updateTag_result(object):
    method __init__ (line 11303) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 11309) | def read(self, iprot):
    method write (line 11346) | def write(self, oprot):
    method validate (line 11370) | def validate(self):
    method __repr__ (line 11374) | def __repr__(self):
    method __eq__ (line 11379) | def __eq__(self, other):
    method __ne__ (line 11382) | def __ne__(self, other):
  class untagAll_args (line 11385) | class untagAll_args(object):
    method __init__ (line 11398) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 11402) | def read(self, iprot):
    method write (line 11426) | def write(self, oprot):
    method validate (line 11442) | def validate(self):
    method __repr__ (line 11446) | def __repr__(self):
    method __eq__ (line 11451) | def __eq__(self, other):
    method __ne__ (line 11454) | def __ne__(self, other):
  class untagAll_result (line 11457) | class untagAll_result(object):
    method __init__ (line 11472) | def __init__(self, userException=None, systemException=None, notFoundE...
    method read (line 11477) | def read(self, iprot):
    method write (line 11509) | def write(self, oprot):
    method validate (line 11529) | def validate(self):
    method __repr__ (line 11533) | def __repr__(self):
    method __eq__ (line 11538) | def __eq__(self, other):
    method __ne__ (line 11541) | def __ne__(self, other):
  class expungeTag_args (line 11544) | class expungeTag_args(object):
    method __init__ (line 11557) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 11561) | def read(self, iprot):
    method write (line 11585) | def write(self, oprot):
    method validate (line 11601) | def validate(self):
    method __repr__ (line 11605) | def __repr__(self):
    method __eq__ (line 11610) | def __eq__(self, other):
    method __ne__ (line 11613) | def __ne__(self, other):
  class expungeTag_result (line 11616) | class expungeTag_result(object):
    method __init__ (line 11632) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 11638) | def read(self, iprot):
    method write (line 11675) | def write(self, oprot):
    method validate (line 11699) | def validate(self):
    method __repr__ (line 11703) | def __repr__(self):
    method __eq__ (line 11708) | def __eq__(self, other):
    method __ne__ (line 11711) | def __ne__(self, other):
  class listSearches_args (line 11714) | class listSearches_args(object):
    method __init__ (line 11725) | def __init__(self, authenticationToken=None,):
    method read (line 11728) | def read(self, iprot):
    method write (line 11747) | def write(self, oprot):
    method validate (line 11759) | def validate(self):
    method __repr__ (line 11763) | def __repr__(self):
    method __eq__ (line 11768) | def __eq__(self, other):
    method __ne__ (line 11771) | def __ne__(self, other):
  class listSearches_result (line 11774) | class listSearches_result(object):
    method __init__ (line 11788) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 11793) | def read(self, iprot):
    method write (line 11830) | def write(self, oprot):
    method validate (line 11853) | def validate(self):
    method __repr__ (line 11857) | def __repr__(self):
    method __eq__ (line 11862) | def __eq__(self, other):
    method __ne__ (line 11865) | def __ne__(self, other):
  class getSearch_args (line 11868) | class getSearch_args(object):
    method __init__ (line 11881) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 11885) | def read(self, iprot):
    method write (line 11909) | def write(self, oprot):
    method validate (line 11925) | def validate(self):
    method __repr__ (line 11929) | def __repr__(self):
    method __eq__ (line 11934) | def __eq__(self, other):
    method __ne__ (line 11937) | def __ne__(self, other):
  class getSearch_result (line 11940) | class getSearch_result(object):
    method __init__ (line 11956) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 11962) | def read(self, iprot):
    method write (line 12000) | def write(self, oprot):
    method validate (line 12024) | def validate(self):
    method __repr__ (line 12028) | def __repr__(self):
    method __eq__ (line 12033) | def __eq__(self, other):
    method __ne__ (line 12036) | def __ne__(self, other):
  class createSearch_args (line 12039) | class createSearch_args(object):
    method __init__ (line 12052) | def __init__(self, authenticationToken=None, search=None,):
    method read (line 12056) | def read(self, iprot):
    method write (line 12081) | def write(self, oprot):
    method validate (line 12097) | def validate(self):
    method __repr__ (line 12101) | def __repr__(self):
    method __eq__ (line 12106) | def __eq__(self, other):
    method __ne__ (line 12109) | def __ne__(self, other):
  class createSearch_result (line 12112) | class createSearch_result(object):
    method __init__ (line 12126) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 12131) | def read(self, iprot):
    method write (line 12163) | def write(self, oprot):
    method validate (line 12183) | def validate(self):
    method __repr__ (line 12187) | def __repr__(self):
    method __eq__ (line 12192) | def __eq__(self, other):
    method __ne__ (line 12195) | def __ne__(self, other):
  class updateSearch_args (line 12198) | class updateSearch_args(object):
    method __init__ (line 12211) | def __init__(self, authenticationToken=None, search=None,):
    method read (line 12215) | def read(self, iprot):
    method write (line 12240) | def write(self, oprot):
    method validate (line 12256) | def validate(self):
    method __repr__ (line 12260) | def __repr__(self):
    method __eq__ (line 12265) | def __eq__(self, other):
    method __ne__ (line 12268) | def __ne__(self, other):
  class updateSearch_result (line 12271) | class updateSearch_result(object):
    method __init__ (line 12287) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 12293) | def read(self, iprot):
    method write (line 12330) | def write(self, oprot):
    method validate (line 12354) | def validate(self):
    method __repr__ (line 12358) | def __repr__(self):
    method __eq__ (line 12363) | def __eq__(self, other):
    method __ne__ (line 12366) | def __ne__(self, other):
  class expungeSearch_args (line 12369) | class expungeSearch_args(object):
    method __init__ (line 12382) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 12386) | def read(self, iprot):
    method write (line 12410) | def write(self, oprot):
    method validate (line 12426) | def validate(self):
    method __repr__ (line 12430) | def __repr__(self):
    method __eq__ (line 12435) | def __eq__(self, other):
    method __ne__ (line 12438) | def __ne__(self, other):
  class expungeSearch_result (line 12441) | class expungeSearch_result(object):
    method __init__ (line 12457) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 12463) | def read(self, iprot):
    method write (line 12500) | def write(self, oprot):
    method validate (line 12524) | def validate(self):
    method __repr__ (line 12528) | def __repr__(self):
    method __eq__ (line 12533) | def __eq__(self, other):
    method __ne__ (line 12536) | def __ne__(self, other):
  class findNotes_args (line 12539) | class findNotes_args(object):
    method __init__ (line 12556) | def __init__(self, authenticationToken=None, filter=None, offset=None,...
    method read (line 12562) | def read(self, iprot):
    method write (line 12597) | def write(self, oprot):
    method validate (line 12621) | def validate(self):
    method __repr__ (line 12625) | def __repr__(self):
    method __eq__ (line 12630) | def __eq__(self, other):
    method __ne__ (line 12633) | def __ne__(self, other):
  class findNotes_result (line 12636) | class findNotes_result(object):
    method __init__ (line 12652) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 12658) | def read(self, iprot):
    method write (line 12696) | def write(self, oprot):
    method validate (line 12720) | def validate(self):
    method __repr__ (line 12724) | def __repr__(self):
    method __eq__ (line 12729) | def __eq__(self, other):
    method __ne__ (line 12732) | def __ne__(self, other):
  class findNoteOffset_args (line 12735) | class findNoteOffset_args(object):
    method __init__ (line 12750) | def __init__(self, authenticationToken=None, filter=None, guid=None,):
    method read (line 12755) | def read(self, iprot):
    method write (line 12785) | def write(self, oprot):
    method validate (line 12805) | def validate(self):
    method __repr__ (line 12809) | def __repr__(self):
    method __eq__ (line 12814) | def __eq__(self, other):
    method __ne__ (line 12817) | def __ne__(self, other):
  class findNoteOffset_result (line 12820) | class findNoteOffset_result(object):
    method __init__ (line 12836) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 12842) | def read(self, iprot):
    method write (line 12879) | def write(self, oprot):
    method validate (line 12903) | def validate(self):
    method __repr__ (line 12907) | def __repr__(self):
    method __eq__ (line 12912) | def __eq__(self, other):
    method __ne__ (line 12915) | def __ne__(self, other):
  class findNotesMetadata_args (line 12918) | class findNotesMetadata_args(object):
    method __init__ (line 12937) | def __init__(self, authenticationToken=None, filter=None, offset=None,...
    method read (line 12944) | def read(self, iprot):
    method write (line 12985) | def write(self, oprot):
    method validate (line 13013) | def validate(self):
    method __repr__ (line 13017) | def __repr__(self):
    method __eq__ (line 13022) | def __eq__(self, other):
    method __ne__ (line 13025) | def __ne__(self, other):
  class findNotesMetadata_result (line 13028) | class findNotesMetadata_result(object):
    method __init__ (line 13044) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 13050) | def read(self, iprot):
    method write (line 13088) | def write(self, oprot):
    method validate (line 13112) | def validate(self):
    method __repr__ (line 13116) | def __repr__(self):
    method __eq__ (line 13121) | def __eq__(self, other):
    method __ne__ (line 13124) | def __ne__(self, other):
  class findNoteCounts_args (line 13127) | class findNoteCounts_args(object):
    method __init__ (line 13142) | def __init__(self, authenticationToken=None, filter=None, withTrash=No...
    method read (line 13147) | def read(self, iprot):
    method write (line 13177) | def write(self, oprot):
    method validate (line 13197) | def validate(self):
    method __repr__ (line 13201) | def __repr__(self):
    method __eq__ (line 13206) | def __eq__(self, other):
    method __ne__ (line 13209) | def __ne__(self, other):
  class findNoteCounts_result (line 13212) | class findNoteCounts_result(object):
    method __init__ (line 13228) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 13234) | def read(self, iprot):
    method write (line 13272) | def write(self, oprot):
    method validate (line 13296) | def validate(self):
    method __repr__ (line 13300) | def __repr__(self):
    method __eq__ (line 13305) | def __eq__(self, other):
    method __ne__ (line 13308) | def __ne__(self, other):
  class getNote_args (line 13311) | class getNote_args(object):
    method __init__ (line 13332) | def __init__(self, authenticationToken=None, guid=None, withContent=No...
    method read (line 13340) | def read(self, iprot):
    method write (line 13384) | def write(self, oprot):
    method validate (line 13416) | def validate(self):
    method __repr__ (line 13420) | def __repr__(self):
    method __eq__ (line 13425) | def __eq__(self, other):
    method __ne__ (line 13428) | def __ne__(self, other):
  class getNote_result (line 13431) | class getNote_result(object):
    method __init__ (line 13447) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 13453) | def read(self, iprot):
    method write (line 13491) | def write(self, oprot):
    method validate (line 13515) | def validate(self):
    method __repr__ (line 13519) | def __repr__(self):
    method __eq__ (line 13524) | def __eq__(self, other):
    method __ne__ (line 13527) | def __ne__(self, other):
  class getNoteApplicationData_args (line 13530) | class getNoteApplicationData_args(object):
    method __init__ (line 13543) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 13547) | def read(self, iprot):
    method write (line 13571) | def write(self, oprot):
    method validate (line 13587) | def validate(self):
    method __repr__ (line 13591) | def __repr__(self):
    method __eq__ (line 13596) | def __eq__(self, other):
    method __ne__ (line 13599) | def __ne__(self, other):
  class getNoteApplicationData_result (line 13602) | class getNoteApplicationData_result(object):
    method __init__ (line 13618) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 13624) | def read(self, iprot):
    method write (line 13662) | def write(self, oprot):
    method validate (line 13686) | def validate(self):
    method __repr__ (line 13690) | def __repr__(self):
    method __eq__ (line 13695) | def __eq__(self, other):
    method __ne__ (line 13698) | def __ne__(self, other):
  class getNoteApplicationDataEntry_args (line 13701) | class getNoteApplicationDataEntry_args(object):
    method __init__ (line 13716) | def __init__(self, authenticationToken=None, guid=None, key=None,):
    method read (line 13721) | def read(self, iprot):
    method write (line 13750) | def write(self, oprot):
    method validate (line 13770) | def validate(self):
    method __repr__ (line 13774) | def __repr__(self):
    method __eq__ (line 13779) | def __eq__(self, other):
    method __ne__ (line 13782) | def __ne__(self, other):
  class getNoteApplicationDataEntry_result (line 13785) | class getNoteApplicationDataEntry_result(object):
    method __init__ (line 13801) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 13807) | def read(self, iprot):
    method write (line 13844) | def write(self, oprot):
    method validate (line 13868) | def validate(self):
    method __repr__ (line 13872) | def __repr__(self):
    method __eq__ (line 13877) | def __eq__(self, other):
    method __ne__ (line 13880) | def __ne__(self, other):
  class setNoteApplicationDataEntry_args (line 13883) | class setNoteApplicationDataEntry_args(object):
    method __init__ (line 13900) | def __init__(self, authenticationToken=None, guid=None, key=None, valu...
    method read (line 13906) | def read(self, iprot):
    method write (line 13940) | def write(self, oprot):
    method validate (line 13964) | def validate(self):
    method __repr__ (line 13968) | def __repr__(self):
    method __eq__ (line 13973) | def __eq__(self, other):
    method __ne__ (line 13976) | def __ne__(self, other):
  class setNoteApplicationDataEntry_result (line 13979) | class setNoteApplicationDataEntry_result(object):
    method __init__ (line 13995) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 14001) | def read(self, iprot):
    method write (line 14038) | def write(self, oprot):
    method validate (line 14062) | def validate(self):
    method __repr__ (line 14066) | def __repr__(self):
    method __eq__ (line 14071) | def __eq__(self, other):
    method __ne__ (line 14074) | def __ne__(self, other):
  class unsetNoteApplicationDataEntry_args (line 14077) | class unsetNoteApplicationDataEntry_args(object):
    method __init__ (line 14092) | def __init__(self, authenticationToken=None, guid=None, key=None,):
    method read (line 14097) | def read(self, iprot):
    method write (line 14126) | def write(self, oprot):
    method validate (line 14146) | def validate(self):
    method __repr__ (line 14150) | def __repr__(self):
    method __eq__ (line 14155) | def __eq__(self, other):
    method __ne__ (line 14158) | def __ne__(self, other):
  class unsetNoteApplicationDataEntry_result (line 14161) | class unsetNoteApplicationDataEntry_result(object):
    method __init__ (line 14177) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 14183) | def read(self, iprot):
    method write (line 14220) | def write(self, oprot):
    method validate (line 14244) | def validate(self):
    method __repr__ (line 14248) | def __repr__(self):
    method __eq__ (line 14253) | def __eq__(self, other):
    method __ne__ (line 14256) | def __ne__(self, other):
  class getNoteContent_args (line 14259) | class getNoteContent_args(object):
    method __init__ (line 14272) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 14276) | def read(self, iprot):
    method write (line 14300) | def write(self, oprot):
    method validate (line 14316) | def validate(self):
    method __repr__ (line 14320) | def __repr__(self):
    method __eq__ (line 14325) | def __eq__(self, other):
    method __ne__ (line 14328) | def __ne__(self, other):
  class getNoteContent_result (line 14331) | class getNoteContent_result(object):
    method __init__ (line 14347) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 14353) | def read(self, iprot):
    method write (line 14390) | def write(self, oprot):
    method validate (line 14414) | def validate(self):
    method __repr__ (line 14418) | def __repr__(self):
    method __eq__ (line 14423) | def __eq__(self, other):
    method __ne__ (line 14426) | def __ne__(self, other):
  class getNoteSearchText_args (line 14429) | class getNoteSearchText_args(object):
    method __init__ (line 14446) | def __init__(self, authenticationToken=None, guid=None, noteOnly=None,...
    method read (line 14452) | def read(self, iprot):
    method write (line 14486) | def write(self, oprot):
    method validate (line 14510) | def validate(self):
    method __repr__ (line 14514) | def __repr__(self):
    method __eq__ (line 14519) | def __eq__(self, other):
    method __ne__ (line 14522) | def __ne__(self, other):
  class getNoteSearchText_result (line 14525) | class getNoteSearchText_result(object):
    method __init__ (line 14541) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 14547) | def read(self, iprot):
    method write (line 14584) | def write(self, oprot):
    method validate (line 14608) | def validate(self):
    method __repr__ (line 14612) | def __repr__(self):
    method __eq__ (line 14617) | def __eq__(self, other):
    method __ne__ (line 14620) | def __ne__(self, other):
  class getResourceSearchText_args (line 14623) | class getResourceSearchText_args(object):
    method __init__ (line 14636) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 14640) | def read(self, iprot):
    method write (line 14664) | def write(self, oprot):
    method validate (line 14680) | def validate(self):
    method __repr__ (line 14684) | def __repr__(self):
    method __eq__ (line 14689) | def __eq__(self, other):
    method __ne__ (line 14692) | def __ne__(self, other):
  class getResourceSearchText_result (line 14695) | class getResourceSearchText_result(object):
    method __init__ (line 14711) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 14717) | def read(self, iprot):
    method write (line 14754) | def write(self, oprot):
    method validate (line 14778) | def validate(self):
    method __repr__ (line 14782) | def __repr__(self):
    method __eq__ (line 14787) | def __eq__(self, other):
    method __ne__ (line 14790) | def __ne__(self, other):
  class getNoteTagNames_args (line 14793) | class getNoteTagNames_args(object):
    method __init__ (line 14806) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 14810) | def read(self, iprot):
    method write (line 14834) | def write(self, oprot):
    method validate (line 14850) | def validate(self):
    method __repr__ (line 14854) | def __repr__(self):
    method __eq__ (line 14859) | def __eq__(self, other):
    method __ne__ (line 14862) | def __ne__(self, other):
  class getNoteTagNames_result (line 14865) | class getNoteTagNames_result(object):
    method __init__ (line 14881) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 14887) | def read(self, iprot):
    method write (line 14929) | def write(self, oprot):
    method validate (line 14956) | def validate(self):
    method __repr__ (line 14960) | def __repr__(self):
    method __eq__ (line 14965) | def __eq__(self, other):
    method __ne__ (line 14968) | def __ne__(self, other):
  class createNote_args (line 14971) | class createNote_args(object):
    method __init__ (line 14984) | def __init__(self, authenticationToken=None, note=None,):
    method read (line 14988) | def read(self, iprot):
    method write (line 15013) | def write(self, oprot):
    method validate (line 15029) | def validate(self):
    method __repr__ (line 15033) | def __repr__(self):
    method __eq__ (line 15038) | def __eq__(self, other):
    method __ne__ (line 15041) | def __ne__(self, other):
  class createNote_result (line 15044) | class createNote_result(object):
    method __init__ (line 15060) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 15066) | def read(self, iprot):
    method write (line 15104) | def write(self, oprot):
    method validate (line 15128) | def validate(self):
    method __repr__ (line 15132) | def __repr__(self):
    method __eq__ (line 15137) | def __eq__(self, other):
    method __ne__ (line 15140) | def __ne__(self, other):
  class updateNote_args (line 15143) | class updateNote_args(object):
    method __init__ (line 15156) | def __init__(self, authenticationToken=None, note=None,):
    method read (line 15160) | def read(self, iprot):
    method write (line 15185) | def write(self, oprot):
    method validate (line 15201) | def validate(self):
    method __repr__ (line 15205) | def __repr__(self):
    method __eq__ (line 15210) | def __eq__(self, other):
    method __ne__ (line 15213) | def __ne__(self, other):
  class updateNote_result (line 15216) | class updateNote_result(object):
    method __init__ (line 15232) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 15238) | def read(self, iprot):
    method write (line 15276) | def write(self, oprot):
    method validate (line 15300) | def validate(self):
    method __repr__ (line 15304) | def __repr__(self):
    method __eq__ (line 15309) | def __eq__(self, other):
    method __ne__ (line 15312) | def __ne__(self, other):
  class deleteNote_args (line 15315) | class deleteNote_args(object):
    method __init__ (line 15328) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 15332) | def read(self, iprot):
    method write (line 15356) | def write(self, oprot):
    method validate (line 15372) | def validate(self):
    method __repr__ (line 15376) | def __repr__(self):
    method __eq__ (line 15381) | def __eq__(self, other):
    method __ne__ (line 15384) | def __ne__(self, other):
  class deleteNote_result (line 15387) | class deleteNote_result(object):
    method __init__ (line 15403) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 15409) | def read(self, iprot):
    method write (line 15446) | def write(self, oprot):
    method validate (line 15470) | def validate(self):
    method __repr__ (line 15474) | def __repr__(self):
    method __eq__ (line 15479) | def __eq__(self, other):
    method __ne__ (line 15482) | def __ne__(self, other):
  class expungeNote_args (line 15485) | class expungeNote_args(object):
    method __init__ (line 15498) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 15502) | def read(self, iprot):
    method write (line 15526) | def write(self, oprot):
    method validate (line 15542) | def validate(self):
    method __repr__ (line 15546) | def __repr__(self):
    method __eq__ (line 15551) | def __eq__(self, other):
    method __ne__ (line 15554) | def __ne__(self, other):
  class expungeNote_result (line 15557) | class expungeNote_result(object):
    method __init__ (line 15573) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 15579) | def read(self, iprot):
    method write (line 15616) | def write(self, oprot):
    method validate (line 15640) | def validate(self):
    method __repr__ (line 15644) | def __repr__(self):
    method __eq__ (line 15649) | def __eq__(self, other):
    method __ne__ (line 15652) | def __ne__(self, other):
  class expungeNotes_args (line 15655) | class expungeNotes_args(object):
    method __init__ (line 15668) | def __init__(self, authenticationToken=None, noteGuids=None,):
    method read (line 15672) | def read(self, iprot):
    method write (line 15701) | def write(self, oprot):
    method validate (line 15720) | def validate(self):
    method __repr__ (line 15724) | def __repr__(self):
    method __eq__ (line 15729) | def __eq__(self, other):
    method __ne__ (line 15732) | def __ne__(self, other):
  class expungeNotes_result (line 15735) | class expungeNotes_result(object):
    method __init__ (line 15751) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 15757) | def read(self, iprot):
    method write (line 15794) | def write(self, oprot):
    method validate (line 15818) | def validate(self):
    method __repr__ (line 15822) | def __repr__(self):
    method __eq__ (line 15827) | def __eq__(self, other):
    method __ne__ (line 15830) | def __ne__(self, other):
  class expungeInactiveNotes_args (line 15833) | class expungeInactiveNotes_args(object):
    method __init__ (line 15844) | def __init__(self, authenticationToken=None,):
    method read (line 15847) | def read(self, iprot):
    method write (line 15866) | def write(self, oprot):
    method validate (line 15878) | def validate(self):
    method __repr__ (line 15882) | def __repr__(self):
    method __eq__ (line 15887) | def __eq__(self, other):
    method __ne__ (line 15890) | def __ne__(self, other):
  class expungeInactiveNotes_result (line 15893) | class expungeInactiveNotes_result(object):
    method __init__ (line 15907) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 15912) | def read(self, iprot):
    method write (line 15943) | def write(self, oprot):
    method validate (line 15963) | def validate(self):
    method __repr__ (line 15967) | def __repr__(self):
    method __eq__ (line 15972) | def __eq__(self, other):
    method __ne__ (line 15975) | def __ne__(self, other):
  class copyNote_args (line 15978) | class copyNote_args(object):
    method __init__ (line 15993) | def __init__(self, authenticationToken=None, noteGuid=None, toNotebook...
    method read (line 15998) | def read(self, iprot):
    method write (line 16027) | def write(self, oprot):
    method validate (line 16047) | def validate(self):
    method __repr__ (line 16051) | def __repr__(self):
    method __eq__ (line 16056) | def __eq__(self, other):
    method __ne__ (line 16059) | def __ne__(self, other):
  class copyNote_result (line 16062) | class copyNote_result(object):
    method __init__ (line 16078) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 16084) | def read(self, iprot):
    method write (line 16122) | def write(self, oprot):
    method validate (line 16146) | def validate(self):
    method __repr__ (line 16150) | def __repr__(self):
    method __eq__ (line 16155) | def __eq__(self, other):
    method __ne__ (line 16158) | def __ne__(self, other):
  class listNoteVersions_args (line 16161) | class listNoteVersions_args(object):
    method __init__ (line 16174) | def __init__(self, authenticationToken=None, noteGuid=None,):
    method read (line 16178) | def read(self, iprot):
    method write (line 16202) | def write(self, oprot):
    method validate (line 16218) | def validate(self):
    method __repr__ (line 16222) | def __repr__(self):
    method __eq__ (line 16227) | def __eq__(self, other):
    method __ne__ (line 16230) | def __ne__(self, other):
  class listNoteVersions_result (line 16233) | class listNoteVersions_result(object):
    method __init__ (line 16249) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 16255) | def read(self, iprot):
    method write (line 16298) | def write(self, oprot):
    method validate (line 16325) | def validate(self):
    method __repr__ (line 16329) | def __repr__(self):
    method __eq__ (line 16334) | def __eq__(self, other):
    method __ne__ (line 16337) | def __ne__(self, other):
  class getNoteVersion_args (line 16340) | class getNoteVersion_args(object):
    method __init__ (line 16361) | def __init__(self, authenticationToken=None, noteGuid=None, updateSequ...
    method read (line 16369) | def read(self, iprot):
    method write (line 16413) | def write(self, oprot):
    method validate (line 16445) | def validate(self):
    method __repr__ (line 16449) | def __repr__(self):
    method __eq__ (line 16454) | def __eq__(self, other):
    method __ne__ (line 16457) | def __ne__(self, other):
  class getNoteVersion_result (line 16460) | class getNoteVersion_result(object):
    method __init__ (line 16476) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 16482) | def read(self, iprot):
    method write (line 16520) | def write(self, oprot):
    method validate (line 16544) | def validate(self):
    method __repr__ (line 16548) | def __repr__(self):
    method __eq__ (line 16553) | def __eq__(self, other):
    method __ne__ (line 16556) | def __ne__(self, other):
  class getResource_args (line 16559) | class getResource_args(object):
    method __init__ (line 16580) | def __init__(self, authenticationToken=None, guid=None, withData=None,...
    method read (line 16588) | def read(self, iprot):
    method write (line 16632) | def write(self, oprot):
    method validate (line 16664) | def validate(self):
    method __repr__ (line 16668) | def __repr__(self):
    method __eq__ (line 16673) | def __eq__(self, other):
    method __ne__ (line 16676) | def __ne__(self, other):
  class getResource_result (line 16679) | class getResource_result(object):
    method __init__ (line 16695) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 16701) | def read(self, iprot):
    method write (line 16739) | def write(self, oprot):
    method validate (line 16763) | def validate(self):
    method __repr__ (line 16767) | def __repr__(self):
    method __eq__ (line 16772) | def __eq__(self, other):
    method __ne__ (line 16775) | def __ne__(self, other):
  class getResourceApplicationData_args (line 16778) | class getResourceApplicationData_args(object):
    method __init__ (line 16791) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 16795) | def read(self, iprot):
    method write (line 16819) | def write(self, oprot):
    method validate (line 16835) | def validate(self):
    method __repr__ (line 16839) | def __repr__(self):
    method __eq__ (line 16844) | def __eq__(self, other):
    method __ne__ (line 16847) | def __ne__(self, other):
  class getResourceApplicationData_result (line 16850) | class getResourceApplicationData_result(object):
    method __init__ (line 16866) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 16872) | def read(self, iprot):
    method write (line 16910) | def write(self, oprot):
    method validate (line 16934) | def validate(self):
    method __repr__ (line 16938) | def __repr__(self):
    method __eq__ (line 16943) | def __eq__(self, other):
    method __ne__ (line 16946) | def __ne__(self, other):
  class getResourceApplicationDataEntry_args (line 16949) | class getResourceApplicationDataEntry_args(object):
    method __init__ (line 16964) | def __init__(self, authenticationToken=None, guid=None, key=None,):
    method read (line 16969) | def read(self, iprot):
    method write (line 16998) | def write(self, oprot):
    method validate (line 17018) | def validate(self):
    method __repr__ (line 17022) | def __repr__(self):
    method __eq__ (line 17027) | def __eq__(self, other):
    method __ne__ (line 17030) | def __ne__(self, other):
  class getResourceApplicationDataEntry_result (line 17033) | class getResourceApplicationDataEntry_result(object):
    method __init__ (line 17049) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 17055) | def read(self, iprot):
    method write (line 17092) | def write(self, oprot):
    method validate (line 17116) | def validate(self):
    method __repr__ (line 17120) | def __repr__(self):
    method __eq__ (line 17125) | def __eq__(self, other):
    method __ne__ (line 17128) | def __ne__(self, other):
  class setResourceApplicationDataEntry_args (line 17131) | class setResourceApplicationDataEntry_args(object):
    method __init__ (line 17148) | def __init__(self, authenticationToken=None, guid=None, key=None, valu...
    method read (line 17154) | def read(self, iprot):
    method write (line 17188) | def write(self, oprot):
    method validate (line 17212) | def validate(self):
    method __repr__ (line 17216) | def __repr__(self):
    method __eq__ (line 17221) | def __eq__(self, other):
    method __ne__ (line 17224) | def __ne__(self, other):
  class setResourceApplicationDataEntry_result (line 17227) | class setResourceApplicationDataEntry_result(object):
    method __init__ (line 17243) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 17249) | def read(self, iprot):
    method write (line 17286) | def write(self, oprot):
    method validate (line 17310) | def validate(self):
    method __repr__ (line 17314) | def __repr__(self):
    method __eq__ (line 17319) | def __eq__(self, other):
    method __ne__ (line 17322) | def __ne__(self, other):
  class unsetResourceApplicationDataEntry_args (line 17325) | class unsetResourceApplicationDataEntry_args(object):
    method __init__ (line 17340) | def __init__(self, authenticationToken=None, guid=None, key=None,):
    method read (line 17345) | def read(self, iprot):
    method write (line 17374) | def write(self, oprot):
    method validate (line 17394) | def validate(self):
    method __repr__ (line 17398) | def __repr__(self):
    method __eq__ (line 17403) | def __eq__(self, other):
    method __ne__ (line 17406) | def __ne__(self, other):
  class unsetResourceApplicationDataEntry_result (line 17409) | class unsetResourceApplicationDataEntry_result(object):
    method __init__ (line 17425) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 17431) | def read(self, iprot):
    method write (line 17468) | def write(self, oprot):
    method validate (line 17492) | def validate(self):
    method __repr__ (line 17496) | def __repr__(self):
    method __eq__ (line 17501) | def __eq__(self, other):
    method __ne__ (line 17504) | def __ne__(self, other):
  class updateResource_args (line 17507) | class updateResource_args(object):
    method __init__ (line 17520) | def __init__(self, authenticationToken=None, resource=None,):
    method read (line 17524) | def read(self, iprot):
    method write (line 17549) | def write(self, oprot):
    method validate (line 17565) | def validate(self):
    method __repr__ (line 17569) | def __repr__(self):
    method __eq__ (line 17574) | def __eq__(self, other):
    method __ne__ (line 17577) | def __ne__(self, other):
  class updateResource_result (line 17580) | class updateResource_result(object):
    method __init__ (line 17596) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 17602) | def read(self, iprot):
    method write (line 17639) | def write(self, oprot):
    method validate (line 17663) | def validate(self):
    method __repr__ (line 17667) | def __repr__(self):
    method __eq__ (line 17672) | def __eq__(self, other):
    method __ne__ (line 17675) | def __ne__(self, other):
  class getResourceData_args (line 17678) | class getResourceData_args(object):
    method __init__ (line 17691) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 17695) | def read(self, iprot):
    method write (line 17719) | def write(self, oprot):
    method validate (line 17735) | def validate(self):
    method __repr__ (line 17739) | def __repr__(self):
    method __eq__ (line 17744) | def __eq__(self, other):
    method __ne__ (line 17747) | def __ne__(self, other):
  class getResourceData_result (line 17750) | class getResourceData_result(object):
    method __init__ (line 17766) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 17772) | def read(self, iprot):
    method write (line 17809) | def write(self, oprot):
    method validate (line 17833) | def validate(self):
    method __repr__ (line 17837) | def __repr__(self):
    method __eq__ (line 17842) | def __eq__(self, other):
    method __ne__ (line 17845) | def __ne__(self, other):
  class getResourceByHash_args (line 17848) | class getResourceByHash_args(object):
    method __init__ (line 17869) | def __init__(self, authenticationToken=None, noteGuid=None, contentHas...
    method read (line 17877) | def read(self, iprot):
    method write (line 17921) | def write(self, oprot):
    method validate (line 17953) | def validate(self):
    method __repr__ (line 17957) | def __repr__(self):
    method __eq__ (line 17962) | def __eq__(self, other):
    method __ne__ (line 17965) | def __ne__(self, other):
  class getResourceByHash_result (line 17968) | class getResourceByHash_result(object):
    method __init__ (line 17984) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 17990) | def read(self, iprot):
    method write (line 18028) | def write(self, oprot):
    method validate (line 18052) | def validate(self):
    method __repr__ (line 18056) | def __repr__(self):
    method __eq__ (line 18061) | def __eq__(self, other):
    method __ne__ (line 18064) | def __ne__(self, other):
  class getResourceRecognition_args (line 18067) | class getResourceRecognition_args(object):
    method __init__ (line 18080) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 18084) | def read(self, iprot):
    method write (line 18108) | def write(self, oprot):
    method validate (line 18124) | def validate(self):
    method __repr__ (line 18128) | def __repr__(self):
    method __eq__ (line 18133) | def __eq__(self, other):
    method __ne__ (line 18136) | def __ne__(self, other):
  class getResourceRecognition_result (line 18139) | class getResourceRecognition_result(object):
    method __init__ (line 18155) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 18161) | def read(self, iprot):
    method write (line 18198) | def write(self, oprot):
    method validate (line 18222) | def validate(self):
    method __repr__ (line 18226) | def __repr__(self):
    method __eq__ (line 18231) | def __eq__(self, other):
    method __ne__ (line 18234) | def __ne__(self, other):
  class getResourceAlternateData_args (line 18237) | class getResourceAlternateData_args(object):
    method __init__ (line 18250) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 18254) | def read(self, iprot):
    method write (line 18278) | def write(self, oprot):
    method validate (line 18294) | def validate(self):
    method __repr__ (line 18298) | def __repr__(self):
    method __eq__ (line 18303) | def __eq__(self, other):
    method __ne__ (line 18306) | def __ne__(self, other):
  class getResourceAlternateData_result (line 18309) | class getResourceAlternateData_result(object):
    method __init__ (line 18325) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 18331) | def read(self, iprot):
    method write (line 18368) | def write(self, oprot):
    method validate (line 18392) | def validate(self):
    method __repr__ (line 18396) | def __repr__(self):
    method __eq__ (line 18401) | def __eq__(self, other):
    method __ne__ (line 18404) | def __ne__(self, other):
  class getResourceAttributes_args (line 18407) | class getResourceAttributes_args(object):
    method __init__ (line 18420) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 18424) | def read(self, iprot):
    method write (line 18448) | def write(self, oprot):
    method validate (line 18464) | def validate(self):
    method __repr__ (line 18468) | def __repr__(self):
    method __eq__ (line 18473) | def __eq__(self, other):
    method __ne__ (line 18476) | def __ne__(self, other):
  class getResourceAttributes_result (line 18479) | class getResourceAttributes_result(object):
    method __init__ (line 18495) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 18501) | def read(self, iprot):
    method write (line 18539) | def write(self, oprot):
    method validate (line 18563) | def validate(self):
    method __repr__ (line 18567) | def __repr__(self):
    method __eq__ (line 18572) | def __eq__(self, other):
    method __ne__ (line 18575) | def __ne__(self, other):
  class getPublicNotebook_args (line 18578) | class getPublicNotebook_args(object):
    method __init__ (line 18591) | def __init__(self, userId=None, publicUri=None,):
    method read (line 18595) | def read(self, iprot):
    method write (line 18619) | def write(self, oprot):
    method validate (line 18635) | def validate(self):
    method __repr__ (line 18639) | def __repr__(self):
    method __eq__ (line 18644) | def __eq__(self, other):
    method __ne__ (line 18647) | def __ne__(self, other):
  class getPublicNotebook_result (line 18650) | class getPublicNotebook_result(object):
    method __init__ (line 18664) | def __init__(self, success=None, systemException=None, notFoundExcepti...
    method read (line 18669) | def read(self, iprot):
    method write (line 18701) | def write(self, oprot):
    method validate (line 18721) | def validate(self):
    method __repr__ (line 18725) | def __repr__(self):
    method __eq__ (line 18730) | def __eq__(self, other):
    method __ne__ (line 18733) | def __ne__(self, other):
  class createSharedNotebook_args (line 18736) | class createSharedNotebook_args(object):
    method __init__ (line 18749) | def __init__(self, authenticationToken=None, sharedNotebook=None,):
    method read (line 18753) | def read(self, iprot):
    method write (line 18778) | def write(self, oprot):
    method validate (line 18794) | def validate(self):
    method __repr__ (line 18798) | def __repr__(self):
    method __eq__ (line 18803) | def __eq__(self, other):
    method __ne__ (line 18806) | def __ne__(self, other):
  class createSharedNotebook_result (line 18809) | class createSharedNotebook_result(object):
    method __init__ (line 18825) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 18831) | def read(self, iprot):
    method write (line 18869) | def write(self, oprot):
    method validate (line 18893) | def validate(self):
    method __repr__ (line 18897) | def __repr__(self):
    method __eq__ (line 18902) | def __eq__(self, other):
    method __ne__ (line 18905) | def __ne__(self, other):
  class updateSharedNotebook_args (line 18908) | class updateSharedNotebook_args(object):
    method __init__ (line 18921) | def __init__(self, authenticationToken=None, sharedNotebook=None,):
    method read (line 18925) | def read(self, iprot):
    method write (line 18950) | def write(self, oprot):
    method validate (line 18966) | def validate(self):
    method __repr__ (line 18970) | def __repr__(self):
    method __eq__ (line 18975) | def __eq__(self, other):
    method __ne__ (line 18978) | def __ne__(self, other):
  class updateSharedNotebook_result (line 18981) | class updateSharedNotebook_result(object):
    method __init__ (line 18997) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 19003) | def read(self, iprot):
    method write (line 19040) | def write(self, oprot):
    method validate (line 19064) | def validate(self):
    method __repr__ (line 19068) | def __repr__(self):
    method __eq__ (line 19073) | def __eq__(self, other):
    method __ne__ (line 19076) | def __ne__(self, other):
  class setSharedNotebookRecipientSettings_args (line 19079) | class setSharedNotebookRecipientSettings_args(object):
    method __init__ (line 19094) | def __init__(self, authenticationToken=None, sharedNotebookId=None, re...
    method read (line 19099) | def read(self, iprot):
    method write (line 19129) | def write(self, oprot):
    method validate (line 19149) | def validate(self):
    method __repr__ (line 19153) | def __repr__(self):
    method __eq__ (line 19158) | def __eq__(self, other):
    method __ne__ (line 19161) | def __ne__(self, other):
  class setSharedNotebookRecipientSettings_result (line 19164) | class setSharedNotebookRecipientSettings_result(object):
    method __init__ (line 19180) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 19186) | def read(self, iprot):
    method write (line 19223) | def write(self, oprot):
    method validate (line 19247) | def validate(self):
    method __repr__ (line 19251) | def __repr__(self):
    method __eq__ (line 19256) | def __eq__(self, other):
    method __ne__ (line 19259) | def __ne__(self, other):
  class sendMessageToSharedNotebookMembers_args (line 19262) | class sendMessageToSharedNotebookMembers_args(object):
    method __init__ (line 19279) | def __init__(self, authenticationToken=None, notebookGuid=None, messag...
    method read (line 19285) | def read(self, iprot):
    method write (line 19324) | def write(self, oprot):
    method validate (line 19351) | def validate(self):
    method __repr__ (line 19355) | def __repr__(self):
    method __eq__ (line 19360) | def __eq__(self, other):
    method __ne__ (line 19363) | def __ne__(self, other):
  class sendMessageToSharedNotebookMembers_result (line 19366) | class sendMessageToSharedNotebookMembers_result(object):
    method __init__ (line 19382) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 19388) | def read(self, iprot):
    method write (line 19425) | def write(self, oprot):
    method validate (line 19449) | def validate(self):
    method __repr__ (line 19453) | def __repr__(self):
    method __eq__ (line 19458) | def __eq__(self, other):
    method __ne__ (line 19461) | def __ne__(self, other):
  class listSharedNotebooks_args (line 19464) | class listSharedNotebooks_args(object):
    method __init__ (line 19475) | def __init__(self, authenticationToken=None,):
    method read (line 19478) | def read(self, iprot):
    method write (line 19497) | def write(self, oprot):
    method validate (line 19509) | def validate(self):
    method __repr__ (line 19513) | def __repr__(self):
    method __eq__ (line 19518) | def __eq__(self, other):
    method __ne__ (line 19521) | def __ne__(self, other):
  class listSharedNotebooks_result (line 19524) | class listSharedNotebooks_result(object):
    method __init__ (line 19540) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 19546) | def read(self, iprot):
    method write (line 19589) | def write(self, oprot):
    method validate (line 19616) | def validate(self):
    method __repr__ (line 19620) | def __repr__(self):
    method __eq__ (line 19625) | def __eq__(self, other):
    method __ne__ (line 19628) | def __ne__(self, other):
  class expungeSharedNotebooks_args (line 19631) | class expungeSharedNotebooks_args(object):
    method __init__ (line 19644) | def __init__(self, authenticationToken=None, sharedNotebookIds=None,):
    method read (line 19648) | def read(self, iprot):
    method write (line 19677) | def write(self, oprot):
    method validate (line 19696) | def validate(self):
    method __repr__ (line 19700) | def __repr__(self):
    method __eq__ (line 19705) | def __eq__(self, other):
    method __ne__ (line 19708) | def __ne__(self, other):
  class expungeSharedNotebooks_result (line 19711) | class expungeSharedNotebooks_result(object):
    method __init__ (line 19727) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 19733) | def read(self, iprot):
    method write (line 19770) | def write(self, oprot):
    method validate (line 19794) | def validate(self):
    method __repr__ (line 19798) | def __repr__(self):
    method __eq__ (line 19803) | def __eq__(self, other):
    method __ne__ (line 19806) | def __ne__(self, other):
  class createLinkedNotebook_args (line 19809) | class createLinkedNotebook_args(object):
    method __init__ (line 19822) | def __init__(self, authenticationToken=None, linkedNotebook=None,):
    method read (line 19826) | def read(self, iprot):
    method write (line 19851) | def write(self, oprot):
    method validate (line 19867) | def validate(self):
    method __repr__ (line 19871) | def __repr__(self):
    method __eq__ (line 19876) | def __eq__(self, other):
    method __ne__ (line 19879) | def __ne__(self, other):
  class createLinkedNotebook_result (line 19882) | class createLinkedNotebook_result(object):
    method __init__ (line 19898) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 19904) | def read(self, iprot):
    method write (line 19942) | def write(self, oprot):
    method validate (line 19966) | def validate(self):
    method __repr__ (line 19970) | def __repr__(self):
    method __eq__ (line 19975) | def __eq__(self, other):
    method __ne__ (line 19978) | def __ne__(self, other):
  class updateLinkedNotebook_args (line 19981) | class updateLinkedNotebook_args(object):
    method __init__ (line 19994) | def __init__(self, authenticationToken=None, linkedNotebook=None,):
    method read (line 19998) | def read(self, iprot):
    method write (line 20023) | def write(self, oprot):
    method validate (line 20039) | def validate(self):
    method __repr__ (line 20043) | def __repr__(self):
    method __eq__ (line 20048) | def __eq__(self, other):
    method __ne__ (line 20051) | def __ne__(self, other):
  class updateLinkedNotebook_result (line 20054) | class updateLinkedNotebook_result(object):
    method __init__ (line 20070) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 20076) | def read(self, iprot):
    method write (line 20113) | def write(self, oprot):
    method validate (line 20137) | def validate(self):
    method __repr__ (line 20141) | def __repr__(self):
    method __eq__ (line 20146) | def __eq__(self, other):
    method __ne__ (line 20149) | def __ne__(self, other):
  class listLinkedNotebooks_args (line 20152) | class listLinkedNotebooks_args(object):
    method __init__ (line 20163) | def __init__(self, authenticationToken=None,):
    method read (line 20166) | def read(self, iprot):
    method write (line 20185) | def write(self, oprot):
    method validate (line 20197) | def validate(self):
    method __repr__ (line 20201) | def __repr__(self):
    method __eq__ (line 20206) | def __eq__(self, other):
    method __ne__ (line 20209) | def __ne__(self, other):
  class listLinkedNotebooks_result (line 20212) | class listLinkedNotebooks_result(object):
    method __init__ (line 20228) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 20234) | def read(self, iprot):
    method write (line 20277) | def write(self, oprot):
    method validate (line 20304) | def validate(self):
    method __repr__ (line 20308) | def __repr__(self):
    method __eq__ (line 20313) | def __eq__(self, other):
    method __ne__ (line 20316) | def __ne__(self, other):
  class expungeLinkedNotebook_args (line 20319) | class expungeLinkedNotebook_args(object):
    method __init__ (line 20332) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 20336) | def read(self, iprot):
    method write (line 20360) | def write(self, oprot):
    method validate (line 20376) | def validate(self):
    method __repr__ (line 20380) | def __repr__(self):
    method __eq__ (line 20385) | def __eq__(self, other):
    method __ne__ (line 20388) | def __ne__(self, other):
  class expungeLinkedNotebook_result (line 20391) | class expungeLinkedNotebook_result(object):
    method __init__ (line 20407) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 20413) | def read(self, iprot):
    method write (line 20450) | def write(self, oprot):
    method validate (line 20474) | def validate(self):
    method __repr__ (line 20478) | def __repr__(self):
    method __eq__ (line 20483) | def __eq__(self, other):
    method __ne__ (line 20486) | def __ne__(self, other):
  class authenticateToSharedNotebook_args (line 20489) | class authenticateToSharedNotebook_args(object):
    method __init__ (line 20502) | def __init__(self, shareKey=None, authenticationToken=None,):
    method read (line 20506) | def read(self, iprot):
    method write (line 20530) | def write(self, oprot):
    method validate (line 20546) | def validate(self):
    method __repr__ (line 20550) | def __repr__(self):
    method __eq__ (line 20555) | def __eq__(self, other):
    method __ne__ (line 20558) | def __ne__(self, other):
  class authenticateToSharedNotebook_result (line 20561) | class authenticateToSharedNotebook_result(object):
    method __init__ (line 20577) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 20583) | def read(self, iprot):
    method write (line 20621) | def write(self, oprot):
    method validate (line 20645) | def validate(self):
    method __repr__ (line 20649) | def __repr__(self):
    method __eq__ (line 20654) | def __eq__(self, other):
    method __ne__ (line 20657) | def __ne__(self, other):
  class getSharedNotebookByAuth_args (line 20660) | class getSharedNotebookByAuth_args(object):
    method __init__ (line 20671) | def __init__(self, authenticationToken=None,):
    method read (line 20674) | def read(self, iprot):
    method write (line 20693) | def write(self, oprot):
    method validate (line 20705) | def validate(self):
    method __repr__ (line 20709) | def __repr__(self):
    method __eq__ (line 20714) | def __eq__(self, other):
    method __ne__ (line 20717) | def __ne__(self, other):
  class getSharedNotebookByAuth_result (line 20720) | class getSharedNotebookByAuth_result(object):
    method __init__ (line 20736) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 20742) | def read(self, iprot):
    method write (line 20780) | def write(self, oprot):
    method validate (line 20804) | def validate(self):
    method __repr__ (line 20808) | def __repr__(self):
    method __eq__ (line 20813) | def __eq__(self, other):
    method __ne__ (line 20816) | def __ne__(self, other):
  class emailNote_args (line 20819) | class emailNote_args(object):
    method __init__ (line 20832) | def __init__(self, authenticationToken=None, parameters=None,):
    method read (line 20836) | def read(self, iprot):
    method write (line 20861) | def write(self, oprot):
    method validate (line 20877) | def validate(self):
    method __repr__ (line 20881) | def __repr__(self):
    method __eq__ (line 20886) | def __eq__(self, other):
    method __ne__ (line 20889) | def __ne__(self, other):
  class emailNote_result (line 20892) | class emailNote_result(object):
    method __init__ (line 20907) | def __init__(self, userException=None, notFoundException=None, systemE...
    method read (line 20912) | def read(self, iprot):
    method write (line 20944) | def write(self, oprot):
    method validate (line 20964) | def validate(self):
    method __repr__ (line 20968) | def __repr__(self):
    method __eq__ (line 20973) | def __eq__(self, other):
    method __ne__ (line 20976) | def __ne__(self, other):
  class shareNote_args (line 20979) | class shareNote_args(object):
    method __init__ (line 20992) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 20996) | def read(self, iprot):
    method write (line 21020) | def write(self, oprot):
    method validate (line 21036) | def validate(self):
    method __repr__ (line 21040) | def __repr__(self):
    method __eq__ (line 21045) | def __eq__(self, other):
    method __ne__ (line 21048) | def __ne__(self, other):
  class shareNote_result (line 21051) | class shareNote_result(object):
    method __init__ (line 21067) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 21073) | def read(self, iprot):
    method write (line 21110) | def write(self, oprot):
    method validate (line 21134) | def validate(self):
    method __repr__ (line 21138) | def __repr__(self):
    method __eq__ (line 21143) | def __eq__(self, other):
    method __ne__ (line 21146) | def __ne__(self, other):
  class stopSharingNote_args (line 21149) | class stopSharingNote_args(object):
    method __init__ (line 21162) | def __init__(self, authenticationToken=None, guid=None,):
    method read (line 21166) | def read(self, iprot):
    method write (line 21190) | def write(self, oprot):
    method validate (line 21206) | def validate(self):
    method __repr__ (line 21210) | def __repr__(self):
    method __eq__ (line 21215) | def __eq__(self, other):
    method __ne__ (line 21218) | def __ne__(self, other):
  class stopSharingNote_result (line 21221) | class stopSharingNote_result(object):
    method __init__ (line 21236) | def __init__(self, userException=None, notFoundException=None, systemE...
    method read (line 21241) | def read(self, iprot):
    method write (line 21273) | def write(self, oprot):
    method validate (line 21293) | def validate(self):
    method __repr__ (line 21297) | def __repr__(self):
    method __eq__ (line 21302) | def __eq__(self, other):
    method __ne__ (line 21305) | def __ne__(self, other):
  class authenticateToSharedNote_args (line 21308) | class authenticateToSharedNote_args(object):
    method __init__ (line 21323) | def __init__(self, guid=None, noteKey=None, authenticationToken=None,):
    method read (line 21328) | def read(self, iprot):
    method write (line 21357) | def write(self, oprot):
    method validate (line 21377) | def validate(self):
    method __repr__ (line 21381) | def __repr__(self):
    method __eq__ (line 21386) | def __eq__(self, other):
    method __ne__ (line 21389) | def __ne__(self, other):
  class authenticateToSharedNote_result (line 21392) | class authenticateToSharedNote_result(object):
    method __init__ (line 21408) | def __init__(self, success=None, userException=None, notFoundException...
    method read (line 21414) | def read(self, iprot):
    method write (line 21452) | def write(self, oprot):
    method validate (line 21476) | def validate(self):
    method __repr__ (line 21480) | def __repr__(self):
    method __eq__ (line 21485) | def __eq__(self, other):
    method __ne__ (line 21488) | def __ne__(self, other):
  class findRelated_args (line 21491) | class findRelated_args(object):
    method __init__ (line 21506) | def __init__(self, authenticationToken=None, query=None, resultSpec=No...
    method read (line 21511) | def read(self, iprot):
    method write (line 21542) | def write(self, oprot):
    method validate (line 21562) | def validate(self):
    method __repr__ (line 21566) | def __repr__(self):
    method __eq__ (line 21571) | def __eq__(self, other):
    method __ne__ (line 21574) | def __ne__(self, other):
  class findRelated_result (line 21577) | class findRelated_result(object):
    method __init__ (line 21593) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 21599) | def read(self, iprot):
    method write (line 21637) | def write(self, oprot):
    method validate (line 21661) | def validate(self):
    method __repr__ (line 21665) | def __repr__(self):
    method __eq__ (line 21670) | def __eq__(self, other):
    method __ne__ (line 21673) | def __ne__(self, other):

FILE: lib/evernote/edam/notestore/ttypes.py
  class SyncState (line 25) | class SyncState(object):
    method __init__ (line 80) | def __init__(self, currentTime=None, fullSyncBefore=None, updateCount=...
    method read (line 86) | def read(self, iprot):
    method write (line 120) | def write(self, oprot):
    method validate (line 144) | def validate(self):
    method __repr__ (line 154) | def __repr__(self):
    method __eq__ (line 159) | def __eq__(self, other):
    method __ne__ (line 162) | def __ne__(self, other):
  class SyncChunk (line 165) | class SyncChunk(object):
    method __init__ (line 308) | def __init__(self, currentTime=None, chunkHighUSN=None, updateCount=No...
    method read (line 324) | def read(self, iprot):
    method write (line 469) | def write(self, oprot):
    method validate (line 566) | def validate(self):
    method __repr__ (line 574) | def __repr__(self):
    method __eq__ (line 579) | def __eq__(self, other):
    method __ne__ (line 582) | def __ne__(self, other):
  class SyncChunkFilter (line 585) | class SyncChunkFilter(object):
    method __init__ (line 713) | def __init__(self, includeNotes=None, includeNoteResources=None, inclu...
    method read (line 728) | def read(self, iprot):
    method write (line 807) | def write(self, oprot):
    method validate (line 867) | def validate(self):
    method __repr__ (line 871) | def __repr__(self):
    method __eq__ (line 876) | def __eq__(self, other):
    method __ne__ (line 879) | def __ne__(self, other):
  class NoteFilter (line 882) | class NoteFilter(object):
    method __init__ (line 969) | def __init__(self, order=None, ascending=None, words=None, notebookGui...
    method read (line 979) | def read(self, iprot):
    method write (line 1038) | def write(self, oprot):
    method validate (line 1081) | def validate(self):
    method __repr__ (line 1085) | def __repr__(self):
    method __eq__ (line 1090) | def __eq__(self, other):
    method __ne__ (line 1093) | def __ne__(self, other):
  class NoteList (line 1096) | class NoteList(object):
    method __init__ (line 1166) | def __init__(self, startIndex=None, totalNotes=None, notes=None, stopp...
    method read (line 1174) | def read(self, iprot):
    method write (line 1234) | def write(self, oprot):
    method validate (line 1275) | def validate(self):
    method __repr__ (line 1285) | def __repr__(self):
    method __eq__ (line 1290) | def __eq__(self, other):
    method __ne__ (line 1293) | def __ne__(self, other):
  class NoteMetadata (line 1296) | class NoteMetadata(object):
    method __init__ (line 1360) | def __init__(self, guid=None, title=None, contentLength=None, created=...
    method read (line 1374) | def read(self, iprot):
    method write (line 1454) | def write(self, oprot):
    method validate (line 1513) | def validate(self):
    method __repr__ (line 1519) | def __repr__(self):
    method __eq__ (line 1524) | def __eq__(self, other):
    method __ne__ (line 1527) | def __ne__(self, other):
  class NotesMetadataList (line 1530) | class NotesMetadataList(object):
    method __init__ (line 1604) | def __init__(self, startIndex=None, totalNotes=None, notes=None, stopp...
    method read (line 1612) | def read(self, iprot):
    method write (line 1672) | def write(self, oprot):
    method validate (line 1713) | def validate(self):
    method __repr__ (line 1723) | def __repr__(self):
    method __eq__ (line 1728) | def __eq__(self, other):
    method __ne__ (line 1731) | def __ne__(self, other):
  class NotesMetadataResultSpec (line 1734) | class NotesMetadataResultSpec(object):
    method __init__ (line 1787) | def __init__(self, includeTitle=None, includeContentLength=None, inclu...
    method read (line 1800) | def read(self, iprot):
    method write (line 1869) | def write(self, oprot):
    method validate (line 1921) | def validate(self):
    method __repr__ (line 1925) | def __repr__(self):
    method __eq__ (line 1930) | def __eq__(self, other):
    method __ne__ (line 1933) | def __ne__(self, other):
  class NoteCollectionCounts (line 1936) | class NoteCollectionCounts(object):
    method __init__ (line 1976) | def __init__(self, notebookCounts=None, tagCounts=None, trashCount=Non...
    method read (line 1981) | def read(self, iprot):
    method write (line 2022) | def write(self, oprot):
    method validate (line 2050) | def validate(self):
    method __repr__ (line 2054) | def __repr__(self):
    method __eq__ (line 2059) | def __eq__(self, other):
    method __ne__ (line 2062) | def __ne__(self, other):
  class NoteEmailParameters (line 2065) | class NoteEmailParameters(object):
    method __init__ (line 2133) | def __init__(self, guid=None, note=None, toAddresses=None, ccAddresses...
    method read (line 2141) | def read(self, iprot):
    method write (line 2196) | def write(self, oprot):
    method validate (line 2234) | def validate(self):
    method __repr__ (line 2238) | def __repr__(self):
    method __eq__ (line 2243) | def __eq__(self, other):
    method __ne__ (line 2246) | def __ne__(self, other):
  class NoteVersionId (line 2249) | class NoteVersionId(object):
    method __init__ (line 2297) | def __init__(self, updateSequenceNum=None, updated=None, saved=None, t...
    method read (line 2303) | def read(self, iprot):
    method write (line 2337) | def write(self, oprot):
    method validate (line 2361) | def validate(self):
    method __repr__ (line 2373) | def __repr__(self):
    method __eq__ (line 2378) | def __eq__(self, other):
    method __ne__ (line 2381) | def __ne__(self, other):
  class ClientUsageMetrics (line 2384) | class ClientUsageMetrics(object):
    method __init__ (line 2417) | def __init__(self, sessions=None,):
    method read (line 2420) | def read(self, iprot):
    method write (line 2439) | def write(self, oprot):
    method validate (line 2451) | def validate(self):
    method __repr__ (line 2455) | def __repr__(self):
    method __eq__ (line 2460) | def __eq__(self, other):
    method __ne__ (line 2463) | def __ne__(self, other):
  class RelatedQuery (line 2466) | class RelatedQuery(object):
    method __init__ (line 2513) | def __init__(self, noteGuid=None, plainText=None, filter=None, referen...
    method read (line 2519) | def read(self, iprot):
    method write (line 2554) | def write(self, oprot):
    method validate (line 2578) | def validate(self):
    method __repr__ (line 2582) | def __repr__(self):
    method __eq__ (line 2587) | def __eq__(self, other):
    method __ne__ (line 2590) | def __ne__(self, other):
  class RelatedResult (line 2593) | class RelatedResult(object):
    method __init__ (line 2639) | def __init__(self, notes=None, notebooks=None, tags=None, containingNo...
    method read (line 2645) | def read(self, iprot):
    method write (line 2703) | def write(self, oprot):
    method validate (line 2739) | def validate(self):
    method __repr__ (line 2743) | def __repr__(self):
    method __eq__ (line 2748) | def __eq__(self, other):
    method __ne__ (line 2751) | def __ne__(self, other):
  class RelatedResultSpec (line 2754) | class RelatedResultSpec(object):
    method __init__ (line 2812) | def __init__(self, maxNotes=None, maxNotebooks=None, maxTags=None, wri...
    method read (line 2819) | def read(self, iprot):
    method write (line 2858) | def write(self, oprot):
    method validate (line 2886) | def validate(self):
    method __repr__ (line 2890) | def __repr__(self):
    method __eq__ (line 2895) | def __eq__(self, other):
    method __ne__ (line 2898) | def __ne__(self, other):

FILE: lib/evernote/edam/type/ttypes.py
  class PrivilegeLevel (line 21) | class PrivilegeLevel(object):
  class QueryFormat (line 52) | class QueryFormat(object):
  class NoteSortOrder (line 70) | class NoteSortOrder(object):
  class PremiumOrderStatus (line 97) | class PremiumOrderStatus(object):
  class SharedNotebookPrivilegeLevel (line 144) | class SharedNotebookPrivilegeLevel(object):
  class SponsoredGroupRole (line 199) | class SponsoredGroupRole(object):
  class BusinessUserRole (line 225) | class BusinessUserRole(object):
  class SharedNotebookInstanceRestrictions (line 246) | class SharedNotebookInstanceRestrictions(object):
  class ReminderEmailConfig (line 273) | class ReminderEmailConfig(object):
  class Data (line 298) | class Data(object):
    method __init__ (line 340) | def __init__(self, bodyHash=None, size=None, body=None,):
    method read (line 345) | def read(self, iprot):
    method write (line 374) | def write(self, oprot):
    method validate (line 394) | def validate(self):
    method __repr__ (line 398) | def __repr__(self):
    method __eq__ (line 403) | def __eq__(self, other):
    method __ne__ (line 406) | def __ne__(self, other):
  class UserAttributes (line 409) | class UserAttributes(object):
    method __init__ (line 661) | def __init__(self, defaultLocationName=None, defaultLatitude=None, def...
    method read (line 694) | def read(self, iprot):
    method write (line 873) | def write(self, oprot):
    method validate (line 1011) | def validate(self):
    method __repr__ (line 1015) | def __repr__(self):
    method __eq__ (line 1020) | def __eq__(self, other):
    method __ne__ (line 1023) | def __ne__(self, other):
  class Accounting (line 1026) | class Accounting(object):
    method __init__ (line 1169) | def __init__(self, uploadLimit=None, uploadLimitEnd=None, uploadLimitN...
    method read (line 1194) | def read(self, iprot):
    method write (line 1323) | def write(self, oprot):
    method validate (line 1423) | def validate(self):
    method __repr__ (line 1427) | def __repr__(self):
    method __eq__ (line 1432) | def __eq__(self, other):
    method __ne__ (line 1435) | def __ne__(self, other):
  class BusinessUserInfo (line 1438) | class BusinessUserInfo(object):
    method __init__ (line 1476) | def __init__(self, businessId=None, businessName=None, role=None, emai...
    method read (line 1482) | def read(self, iprot):
    method write (line 1516) | def write(self, oprot):
    method validate (line 1540) | def validate(self):
    method __repr__ (line 1544) | def __repr__(self):
    method __eq__ (line 1549) | def __eq__(self, other):
    method __ne__ (line 1552) | def __ne__(self, other):
  class PremiumInfo (line 1555) | class PremiumInfo(object):
    method __init__ (line 1636) | def __init__(self, currentTime=None, premium=None, premiumRecurring=No...
    method read (line 1649) | def read(self, iprot):
    method write (line 1718) | def write(self, oprot):
    method validate (line 1770) | def validate(self):
    method __repr__ (line 1788) | def __repr__(self):
    method __eq__ (line 1793) | def __eq__(self, other):
    method __ne__ (line 1796) | def __ne__(self, other):
  class User (line 1799) | class User(object):
    method __init__ (line 1943) | def __init__(self, id=None, username=None, email=None, name=None, time...
    method read (line 1960) | def read(self, iprot):
    method write (line 2053) | def write(self, oprot):
    method validate (line 2121) | def validate(self):
    method __repr__ (line 2125) | def __repr__(self):
    method __eq__ (line 2130) | def __eq__(self, other):
    method __ne__ (line 2133) | def __ne__(self, other):
  class Tag (line 2136) | class Tag(object):
    method __init__ (line 2198) | def __init__(self, guid=None, name=None, parentGuid=None, updateSequen...
    method read (line 2204) | def read(self, iprot):
    method write (line 2238) | def write(self, oprot):
    method validate (line 2262) | def validate(self):
    method __repr__ (line 2266) | def __repr__(self):
    method __eq__ (line 2271) | def __eq__(self, other):
    method __ne__ (line 2274) | def __ne__(self, other):
  class LazyMap (line 2277) | class LazyMap(object):
    method __init__ (line 2318) | def __init__(self, keysOnly=None, fullMap=None,):
    method read (line 2322) | def read(self, iprot):
    method write (line 2357) | def write(self, oprot):
    method validate (line 2380) | def validate(self):
    method __repr__ (line 2384) | def __repr__(self):
    method __eq__ (line 2389) | def __eq__(self, other):
    method __ne__ (line 2392) | def __ne__(self, other):
  class ResourceAttributes (line 2395) | class ResourceAttributes(object):
    method __init__ (line 2508) | def __init__(self, sourceURL=None, timestamp=None, latitude=None, long...
    method read (line 2522) | def read(self, iprot):
    method write (line 2597) | def write(self, oprot):
    method validate (line 2653) | def validate(self):
    method __repr__ (line 2657) | def __repr__(self):
    method __eq__ (line 2662) | def __eq__(self, other):
    method __ne__ (line 2665) | def __ne__(self, other):
  class Resource (line 2668) | class Resource(object):
    method __init__ (line 2781) | def __init__(self, guid=None, noteGuid=None, data=None, mime=None, wid...
    method read (line 2795) | def read(self, iprot):
    method write (line 2873) | def write(self, oprot):
    method validate (line 2929) | def validate(self):
    method __repr__ (line 2933) | def __repr__(self):
    method __eq__ (line 2938) | def __eq__(self, other):
    method __ne__ (line 2941) | def __ne__(self, other):
  class NoteAttributes (line 2944) | class NoteAttributes(object):
    method __init__ (line 3171) | def __init__(self, subjectDate=None, latitude=None, longitude=None, al...
    method read (line 3192) | def read(self, iprot):
    method write (line 3308) | def write(self, oprot):
    method validate (line 3396) | def validate(self):
    method __repr__ (line 3400) | def __repr__(self):
    method __eq__ (line 3405) | def __eq__(self, other):
    method __ne__ (line 3408) | def __ne__(self, other):
  class Note (line 3411) | class Note(object):
    method __init__ (line 3578) | def __init__(self, guid=None, title=None, content=None, contentHash=No...
    method read (line 3595) | def read(self, iprot):
    method write (line 3701) | def write(self, oprot):
    method validate (line 3778) | def validate(self):
    method __repr__ (line 3782) | def __repr__(self):
    method __eq__ (line 3787) | def __eq__(self, other):
    method __ne__ (line 3790) | def __ne__(self, other):
  class Publishing (line 3793) | class Publishing(object):
    method __init__ (line 3850) | def __init__(self, uri=None, order=None, ascending=None, publicDescrip...
    method read (line 3856) | def read(self, iprot):
    method write (line 3890) | def write(self, oprot):
    method validate (line 3914) | def validate(self):
    method __repr__ (line 3918) | def __repr__(self):
    method __eq__ (line 3923) | def __eq__(self, other):
    method __ne__ (line 3926) | def __ne__(self, other):
  class BusinessNotebook (line 3929) | class BusinessNotebook(object):
    method __init__ (line 3972) | def __init__(self, notebookDescription=None, privilege=None, recommend...
    method read (line 3977) | def read(self, iprot):
    method write (line 4006) | def write(self, oprot):
    method validate (line 4026) | def validate(self):
    method __repr__ (line 4030) | def __repr__(self):
    method __eq__ (line 4035) | def __eq__(self, other):
    method __ne__ (line 4038) | def __ne__(self, other):
  class SavedSearchScope (line 4041) | class SavedSearchScope(object):
    method __init__ (line 4072) | def __init__(self, includeAccount=None, includePersonalLinkedNotebooks...
    method read (line 4077) | def read(self, iprot):
    method write (line 4106) | def write(self, oprot):
    method validate (line 4126) | def validate(self):
    method __repr__ (line 4130) | def __repr__(self):
    method __eq__ (line 4135) | def __eq__(self, other):
    method __ne__ (line 4138) | def __ne__(self, other):
  class SavedSearch (line 4141) | class SavedSearch(object):
    method __init__ (line 4216) | def __init__(self, guid=None, name=None, query=None, format=None, upda...
    method read (line 4224) | def read(self, iprot):
    method write (line 4269) | def write(self, oprot):
    method validate (line 4301) | def validate(self):
    method __repr__ (line 4305) | def __repr__(self):
    method __eq__ (line 4310) | def __eq__(self, other):
    method __ne__ (line 4313) | def __ne__(self, other):
  class SharedNotebookRecipientSettings (line 4316) | class SharedNotebookRecipientSettings(object):
    method __init__ (line 4356) | def __init__(self, reminderNotifyEmail=None, reminderNotifyInApp=None,):
    method read (line 4360) | def read(self, iprot):
    method write (line 4384) | def write(self, oprot):
    method validate (line 4400) | def validate(self):
    method __repr__ (line 4404) | def __repr__(self):
    method __eq__ (line 4409) | def __eq__(self, other):
    method __ne__ (line 4412) | def __ne__(self, other):
  class SharedNotebook (line 4415) | class SharedNotebook(object):
    method __init__ (line 4511) | def __init__(self, id=None, userId=None, notebookGuid=None, email=None...
    method read (line 4526) | def read(self, iprot):
    method write (line 4606) | def write(self, oprot):
    method validate (line 4666) | def validate(self):
    method __repr__ (line 4670) | def __repr__(self):
    method __eq__ (line 4675) | def __eq__(self, other):
    method __ne__ (line 4678) | def __ne__(self, other):
  class NotebookRestrictions (line 4681) | class NotebookRestrictions(object):
    method __init__ (line 4832) | def __init__(self, noReadNotes=None, noCreateNotes=None, noUpdateNotes...
    method read (line 4854) | def read(self, iprot):
    method write (line 4968) | def write(self, oprot):
    method validate (line 5056) | def validate(self):
    method __repr__ (line 5060) | def __repr__(self):
    method __eq__ (line 5065) | def __eq__(self, other):
    method __ne__ (line 5068) | def __ne__(self, other):
  class Notebook (line 5071) | class Notebook(object):
    method __init__ (line 5228) | def __init__(self, guid=None, name=None, updateSequenceNum=None, defau...
    method read (line 5244) | def read(self, iprot):
    method write (line 5343) | def write(self, oprot):
    method validate (line 5413) | def validate(self):
    method __repr__ (line 5417) | def __repr__(self):
    method __eq__ (line 5422) | def __eq__(self, other):
    method __ne__ (line 5425) | def __ne__(self, other):
  class LinkedNotebook (line 5428) | class LinkedNotebook(object):
    method __init__ (line 5531) | def __init__(self, shareName=None, username=None, shardId=None, shareK...
    method read (line 5544) | def read(self, iprot):
    method write (line 5613) | def write(self, oprot):
    method validate (line 5665) | def validate(self):
    method __repr__ (line 5669) | def __repr__(self):
    method __eq__ (line 5674) | def __eq__(self, other):
    method __ne__ (line 5677) | def __ne__(self, other):
  class NotebookDescriptor (line 5680) | class NotebookDescriptor(object):
    method __init__ (line 5727) | def __init__(self, guid=None, notebookDisplayName=None, contactName=No...
    method read (line 5734) | def read(self, iprot):
    method write (line 5773) | def write(self, oprot):
    method validate (line 5801) | def validate(self):
    method __repr__ (line 5805) | def __repr__(self):
    method __eq__ (line 5810) | def __eq__(self, other):
    method __ne__ (line 5813) | def __ne__(self, other):

FILE: lib/evernote/edam/userstore/UserStore.py
  class Iface (line 20) | class Iface(object):
    method checkVersion (line 38) | def checkVersion(self, clientName, edamVersionMajor, edamVersionMinor):
    method getBootstrapInfo (line 72) | def getBootstrapInfo(self, locale):
    method authenticate (line 90) | def authenticate(self, username, password, consumerKey, consumerSecret...
    method authenticateLongSession (line 156) | def authenticateLongSession(self, username, password, consumerKey, con...
    method completeTwoFactorAuthentication (line 252) | def completeTwoFactorAuthentication(self, authenticationToken, oneTime...
    method revokeLongSession (line 298) | def revokeLongSession(self, authenticationToken):
    method authenticateToBusiness (line 322) | def authenticateToBusiness(self, authenticationToken):
    method refreshAuthentication (line 359) | def refreshAuthentication(self, authenticationToken):
    method getUser (line 380) | def getUser(self, authenticationToken):
    method getPublicUserInfo (line 393) | def getPublicUserInfo(self, username):
    method getPremiumInfo (line 407) | def getPremiumInfo(self, authenticationToken):
    method getNoteStoreUrl (line 418) | def getNoteStoreUrl(self, authenticationToken):
  class Client (line 434) | class Client(Iface):
    method __init__ (line 452) | def __init__(self, iprot, oprot=None):
    method checkVersion (line 458) | def checkVersion(self, clientName, edamVersionMajor, edamVersionMinor):
    method send_checkVersion (line 493) | def send_checkVersion(self, clientName, edamVersionMajor, edamVersionM...
    method recv_checkVersion (line 503) | def recv_checkVersion(self, ):
    method getBootstrapInfo (line 517) | def getBootstrapInfo(self, locale):
    method send_getBootstrapInfo (line 536) | def send_getBootstrapInfo(self, locale):
    method recv_getBootstrapInfo (line 544) | def recv_getBootstrapInfo(self, ):
    method authenticate (line 558) | def authenticate(self, username, password, consumerKey, consumerSecret...
    method send_authenticate (line 625) | def send_authenticate(self, username, password, consumerKey, consumerS...
    method recv_authenticate (line 637) | def recv_authenticate(self, ):
    method authenticateLongSession (line 655) | def authenticateLongSession(self, username, password, consumerKey, con...
    method send_authenticateLongSession (line 752) | def send_authenticateLongSession(self, username, password, consumerKey...
    method recv_authenticateLongSession (line 766) | def recv_authenticateLongSession(self, ):
    method completeTwoFactorAuthentication (line 784) | def completeTwoFactorAuthentication(self, authenticationToken, oneTime...
    method send_completeTwoFactorAuthentication (line 831) | def send_completeTwoFactorAuthentication(self, authenticationToken, on...
    method recv_completeTwoFactorAuthentication (line 842) | def recv_completeTwoFactorAuthentication(self, ):
    method revokeLongSession (line 860) | def revokeLongSession(self, authenticationToken):
    method send_revokeLongSession (line 885) | def send_revokeLongSession(self, authenticationToken):
    method recv_revokeLongSession (line 893) | def recv_revokeLongSession(self, ):
    method authenticateToBusiness (line 909) | def authenticateToBusiness(self, authenticationToken):
    method send_authenticateToBusiness (line 947) | def send_authenticateToBusiness(self, authenticationToken):
    method recv_authenticateToBusiness (line 955) | def recv_authenticateToBusiness(self, ):
    method refreshAuthentication (line 973) | def refreshAuthentication(self, authenticationToken):
    method send_refreshAuthentication (line 995) | def send_refreshAuthentication(self, authenticationToken):
    method recv_refreshAuthentication (line 1003) | def recv_refreshAuthentication(self, ):
    method getUser (line 1021) | def getUser(self, authenticationToken):
    method send_getUser (line 1035) | def send_getUser(self, authenticationToken):
    method recv_getUser (line 1043) | def recv_getUser(self, ):
    method getPublicUserInfo (line 1061) | def getPublicUserInfo(self, username):
    method send_getPublicUserInfo (line 1076) | def send_getPublicUserInfo(self, username):
    method recv_getPublicUserInfo (line 1084) | def recv_getPublicUserInfo(self, ):
    method getPremiumInfo (line 1104) | def getPremiumInfo(self, authenticationToken):
    method send_getPremiumInfo (line 1116) | def send_getPremiumInfo(self, authenticationToken):
    method recv_getPremiumInfo (line 1124) | def recv_getPremiumInfo(self, ):
    method getNoteStoreUrl (line 1142) | def getNoteStoreUrl(self, authenticationToken):
    method send_getNoteStoreUrl (line 1158) | def send_getNoteStoreUrl(self, authenticationToken):
    method recv_getNoteStoreUrl (line 1166) | def recv_getNoteStoreUrl(self, ):
  class Processor (line 1185) | class Processor(Iface, TProcessor):
    method __init__ (line 1186) | def __init__(self, handler):
    method process (line 1202) | def process(self, iprot, oprot):
    method process_checkVersion (line 1217) | def process_checkVersion(self, seqid, iprot, oprot):
    method process_getBootstrapInfo (line 1228) | def process_getBootstrapInfo(self, seqid, iprot, oprot):
    method process_authenticate (line 1239) | def process_authenticate(self, seqid, iprot, oprot):
    method process_authenticateLongSession (line 1255) | def process_authenticateLongSession(self, seqid, iprot, oprot):
    method process_completeTwoFactorAuthentication (line 1271) | def process_completeTwoFactorAuthentication(self, seqid, iprot, oprot):
    method process_revokeLongSession (line 1287) | def process_revokeLongSession(self, seqid, iprot, oprot):
    method process_authenticateToBusiness (line 1303) | def process_authenticateToBusiness(self, seqid, iprot, oprot):
    method process_refreshAuthentication (line 1319) | def process_refreshAuthentication(self, seqid, iprot, oprot):
    method process_getUser (line 1335) | def process_getUser(self, seqid, iprot, oprot):
    method process_getPublicUserInfo (line 1351) | def process_getPublicUserInfo(self, seqid, iprot, oprot):
    method process_getPremiumInfo (line 1369) | def process_getPremiumInfo(self, seqid, iprot, oprot):
    method process_getNoteStoreUrl (line 1385) | def process_getNoteStoreUrl(self, seqid, iprot, oprot):
  class checkVersion_args (line 1404) | class checkVersion_args(object):
    method __init__ (line 1419) | def __init__(self, clientName=None, edamVersionMajor=thrift_spec[2][4]...
    method read (line 1424) | def read(self, iprot):
    method write (line 1453) | def write(self, oprot):
    method validate (line 1473) | def validate(self):
    method __repr__ (line 1477) | def __repr__(self):
    method __eq__ (line 1482) | def __eq__(self, other):
    method __ne__ (line 1485) | def __ne__(self, other):
  class checkVersion_result (line 1488) | class checkVersion_result(object):
    method __init__ (line 1498) | def __init__(self, success=None,):
    method read (line 1501) | def read(self, iprot):
    method write (line 1520) | def write(self, oprot):
    method validate (line 1532) | def validate(self):
    method __repr__ (line 1536) | def __repr__(self):
    method __eq__ (line 1541) | def __eq__(self, other):
    method __ne__ (line 1544) | def __ne__(self, other):
  class getBootstrapInfo_args (line 1547) | class getBootstrapInfo_args(object):
    method __init__ (line 1558) | def __init__(self, locale=None,):
    method read (line 1561) | def read(self, iprot):
    method write (line 1580) | def write(self, oprot):
    method validate (line 1592) | def validate(self):
    method __repr__ (line 1596) | def __repr__(self):
    method __eq__ (line 1601) | def __eq__(self, other):
    method __ne__ (line 1604) | def __ne__(self, other):
  class getBootstrapInfo_result (line 1607) | class getBootstrapInfo_result(object):
    method __init__ (line 1617) | def __init__(self, success=None,):
    method read (line 1620) | def read(self, iprot):
    method write (line 1640) | def write(self, oprot):
    method validate (line 1652) | def validate(self):
    method __repr__ (line 1656) | def __repr__(self):
    method __eq__ (line 1661) | def __eq__(self, other):
    method __ne__ (line 1664) | def __ne__(self, other):
  class authenticate_args (line 1667) | class authenticate_args(object):
    method __init__ (line 1686) | def __init__(self, username=None, password=None, consumerKey=None, con...
    method read (line 1693) | def read(self, iprot):
    method write (line 1732) | def write(self, oprot):
    method validate (line 1760) | def validate(self):
    method __repr__ (line 1764) | def __repr__(self):
    method __eq__ (line 1769) | def __eq__(self, other):
    method __ne__ (line 1772) | def __ne__(self, other):
  class authenticate_result (line 1775) | class authenticate_result(object):
    method __init__ (line 1789) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 1794) | def read(self, iprot):
    method write (line 1826) | def write(self, oprot):
    method validate (line 1846) | def validate(self):
    method __repr__ (line 1850) | def __repr__(self):
    method __eq__ (line 1855) | def __eq__(self, other):
    method __ne__ (line 1858) | def __ne__(self, other):
  class authenticateLongSession_args (line 1861) | class authenticateLongSession_args(object):
    method __init__ (line 1884) | def __init__(self, username=None, password=None, consumerKey=None, con...
    method read (line 1893) | def read(self, iprot):
    method write (line 1942) | def write(self, oprot):
    method validate (line 1978) | def validate(self):
    method __repr__ (line 1982) | def __repr__(self):
    method __eq__ (line 1987) | def __eq__(self, other):
    method __ne__ (line 1990) | def __ne__(self, other):
  class authenticateLongSession_result (line 1993) | class authenticateLongSession_result(object):
    method __init__ (line 2007) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 2012) | def read(self, iprot):
    method write (line 2044) | def write(self, oprot):
    method validate (line 2064) | def validate(self):
    method __repr__ (line 2068) | def __repr__(self):
    method __eq__ (line 2073) | def __eq__(self, other):
    method __ne__ (line 2076) | def __ne__(self, other):
  class completeTwoFactorAuthentication_args (line 2079) | class completeTwoFactorAuthentication_args(object):
    method __init__ (line 2096) | def __init__(self, authenticationToken=None, oneTimeCode=None, deviceI...
    method read (line 2102) | def read(self, iprot):
    method write (line 2136) | def write(self, oprot):
    method validate (line 2160) | def validate(self):
    method __repr__ (line 2164) | def __repr__(self):
    method __eq__ (line 2169) | def __eq__(self, other):
    method __ne__ (line 2172) | def __ne__(self, other):
  class completeTwoFactorAuthentication_result (line 2175) | class completeTwoFactorAuthentication_result(object):
    method __init__ (line 2189) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 2194) | def read(self, iprot):
    method write (line 2226) | def write(self, oprot):
    method validate (line 2246) | def validate(self):
    method __repr__ (line 2250) | def __repr__(self):
    method __eq__ (line 2255) | def __eq__(self, other):
    method __ne__ (line 2258) | def __ne__(self, other):
  class revokeLongSession_args (line 2261) | class revokeLongSession_args(object):
    method __init__ (line 2272) | def __init__(self, authenticationToken=None,):
    method read (line 2275) | def read(self, iprot):
    method write (line 2294) | def write(self, oprot):
    method validate (line 2306) | def validate(self):
    method __repr__ (line 2310) | def __repr__(self):
    method __eq__ (line 2315) | def __eq__(self, other):
    method __ne__ (line 2318) | def __ne__(self, other):
  class revokeLongSession_result (line 2321) | class revokeLongSession_result(object):
    method __init__ (line 2334) | def __init__(self, userException=None, systemException=None,):
    method read (line 2338) | def read(self, iprot):
    method write (line 2364) | def write(self, oprot):
    method validate (line 2380) | def validate(self):
    method __repr__ (line 2384) | def __repr__(self):
    method __eq__ (line 2389) | def __eq__(self, other):
    method __ne__ (line 2392) | def __ne__(self, other):
  class authenticateToBusiness_args (line 2395) | class authenticateToBusiness_args(object):
    method __init__ (line 2406) | def __init__(self, authenticationToken=None,):
    method read (line 2409) | def read(self, iprot):
    method write (line 2428) | def write(self, oprot):
    method validate (line 2440) | def validate(self):
    method __repr__ (line 2444) | def __repr__(self):
    method __eq__ (line 2449) | def __eq__(self, other):
    method __ne__ (line 2452) | def __ne__(self, other):
  class authenticateToBusiness_result (line 2455) | class authenticateToBusiness_result(object):
    method __init__ (line 2469) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 2474) | def read(self, iprot):
    method write (line 2506) | def write(self, oprot):
    method validate (line 2526) | def validate(self):
    method __repr__ (line 2530) | def __repr__(self):
    method __eq__ (line 2535) | def __eq__(self, other):
    method __ne__ (line 2538) | def __ne__(self, other):
  class refreshAuthentication_args (line 2541) | class refreshAuthentication_args(object):
    method __init__ (line 2552) | def __init__(self, authenticationToken=None,):
    method read (line 2555) | def read(self, iprot):
    method write (line 2574) | def write(self, oprot):
    method validate (line 2586) | def validate(self):
    method __repr__ (line 2590) | def __repr__(self):
    method __eq__ (line 2595) | def __eq__(self, other):
    method __ne__ (line 2598) | def __ne__(self, other):
  class refreshAuthentication_result (line 2601) | class refreshAuthentication_result(object):
    method __init__ (line 2615) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 2620) | def read(self, iprot):
    method write (line 2652) | def write(self, oprot):
    method validate (line 2672) | def validate(self):
    method __repr__ (line 2676) | def __repr__(self):
    method __eq__ (line 2681) | def __eq__(self, other):
    method __ne__ (line 2684) | def __ne__(self, other):
  class getUser_args (line 2687) | class getUser_args(object):
    method __init__ (line 2698) | def __init__(self, authenticationToken=None,):
    method read (line 2701) | def read(self, iprot):
    method write (line 2720) | def write(self, oprot):
    method validate (line 2732) | def validate(self):
    method __repr__ (line 2736) | def __repr__(self):
    method __eq__ (line 2741) | def __eq__(self, other):
    method __ne__ (line 2744) | def __ne__(self, other):
  class getUser_result (line 2747) | class getUser_result(object):
    method __init__ (line 2761) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 2766) | def read(self, iprot):
    method write (line 2798) | def write(self, oprot):
    method validate (line 2818) | def validate(self):
    method __repr__ (line 2822) | def __repr__(self):
    method __eq__ (line 2827) | def __eq__(self, other):
    method __ne__ (line 2830) | def __ne__(self, other):
  class getPublicUserInfo_args (line 2833) | class getPublicUserInfo_args(object):
    method __init__ (line 2844) | def __init__(self, username=None,):
    method read (line 2847) | def read(self, iprot):
    method write (line 2866) | def write(self, oprot):
    method validate (line 2878) | def validate(self):
    method __repr__ (line 2882) | def __repr__(self):
    method __eq__ (line 2887) | def __eq__(self, other):
    method __ne__ (line 2890) | def __ne__(self, other):
  class getPublicUserInfo_result (line 2893) | class getPublicUserInfo_result(object):
    method __init__ (line 2909) | def __init__(self, success=None, notFoundException=None, systemExcepti...
    method read (line 2915) | def read(self, iprot):
    method write (line 2953) | def write(self, oprot):
    method validate (line 2977) | def validate(self):
    method __repr__ (line 2981) | def __repr__(self):
    method __eq__ (line 2986) | def __eq__(self, other):
    method __ne__ (line 2989) | def __ne__(self, other):
  class getPremiumInfo_args (line 2992) | class getPremiumInfo_args(object):
    method __init__ (line 3003) | def __init__(self, authenticationToken=None,):
    method read (line 3006) | def read(self, iprot):
    method write (line 3025) | def write(self, oprot):
    method validate (line 3037) | def validate(self):
    method __repr__ (line 3041) | def __repr__(self):
    method __eq__ (line 3046) | def __eq__(self, other):
    method __ne__ (line 3049) | def __ne__(self, other):
  class getPremiumInfo_result (line 3052) | class getPremiumInfo_result(object):
    method __init__ (line 3066) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 3071) | def read(self, iprot):
    method write (line 3103) | def write(self, oprot):
    method validate (line 3123) | def validate(self):
    method __repr__ (line 3127) | def __repr__(self):
    method __eq__ (line 3132) | def __eq__(self, other):
    method __ne__ (line 3135) | def __ne__(self, other):
  class getNoteStoreUrl_args (line 3138) | class getNoteStoreUrl_args(object):
    method __init__ (line 3149) | def __init__(self, authenticationToken=None,):
    method read (line 3152) | def read(self, iprot):
    method write (line 3171) | def write(self, oprot):
    method validate (line 3183) | def validate(self):
    method __repr__ (line 3187) | def __repr__(self):
    method __eq__ (line 3192) | def __eq__(self, other):
    method __ne__ (line 3195) | def __ne__(self, other):
  class getNoteStoreUrl_result (line 3198) | class getNoteStoreUrl_result(object):
    method __init__ (line 3212) | def __init__(self, success=None, userException=None, systemException=N...
    method read (line 3217) | def read(self, iprot):
    method write (line 3248) | def write(self, oprot):
    method validate (line 3268) | def validate(self):
    method __repr__ (line 3272) | def __repr__(self):
    method __eq__ (line 3277) | def __eq__(self, other):
    method __ne__ (line 3280) | def __ne__(self, other):

FILE: lib/evernote/edam/userstore/ttypes.py
  class PublicUserInfo (line 23) | class PublicUserInfo(object):
    method __init__ (line 79) | def __init__(self, userId=None, shardId=None, privilege=None, username...
    method read (line 87) | def read(self, iprot):
    method write (line 131) | def write(self, oprot):
    method validate (line 163) | def validate(self):
    method __repr__ (line 171) | def __repr__(self):
    method __eq__ (line 176) | def __eq__(self, other):
    method __ne__ (line 179) | def __ne__(self, other):
  class AuthenticationResult (line 182) | class AuthenticationResult(object):
    method __init__ (line 277) | def __init__(self, currentTime=None, authenticationToken=None, expirat...
    method read (line 288) | def read(self, iprot):
    method write (line 349) | def write(self, oprot):
    method validate (line 393) | def validate(self):
    method __repr__ (line 403) | def __repr__(self):
    method __eq__ (line 408) | def __eq__(self, other):
    method __ne__ (line 411) | def __ne__(self, other):
  class BootstrapSettings (line 414) | class BootstrapSettings(object):
    method __init__ (line 507) | def __init__(self, serviceHost=None, marketingUrl=None, supportUrl=Non...
    method read (line 522) | def read(self, iprot):
    method write (line 601) | def write(self, oprot):
    method validate (line 661) | def validate(self):
    method __repr__ (line 673) | def __repr__(self):
    method __eq__ (line 678) | def __eq__(self, other):
    method __ne__ (line 681) | def __ne__(self, other):
  class BootstrapProfile (line 684) | class BootstrapProfile(object):
    method __init__ (line 710) | def __init__(self, name=None, settings=None,):
    method read (line 714) | def read(self, iprot):
    method write (line 739) | def write(self, oprot):
    method validate (line 755) | def validate(self):
    method __repr__ (line 763) | def __repr__(self):
    method __eq__ (line 768) | def __eq__(self, other):
    method __ne__ (line 771) | def __ne__(self, other):
  class BootstrapInfo (line 774) | class BootstrapInfo(object):
    method __init__ (line 794) | def __init__(self, profiles=None,):
    method read (line 797) | def read(self, iprot):
    method write (line 822) | def write(self, oprot):
    method validate (line 837) | def validate(self):
    method __repr__ (line 843) | def __repr__(self):
    method __eq__ (line 848) | def __eq__(self, other):
    method __ne__ (line 851) | def __ne__(self, other):

FILE: lib/httplib.py
  class HTTPMessage (line 213) | class HTTPMessage(mimetools.Message):
    method addheader (line 215) | def addheader(self, key, value):
    method addcontinue (line 224) | def addcontinue(self, key, more):
    method readheaders (line 229) | def readheaders(self):
  class HTTPResponse (line 318) | class HTTPResponse:
    method __init__ (line 328) | def __init__(self, sock, debuglevel=0, strict=0, method=None):
    method _read_status (line 346) | def _read_status(self):
    method begin (line 383) | def begin(self):
    method _check_close (line 466) | def _check_close(self):
    method close (line 496) | def close(self):
    method isclosed (line 501) | def isclosed(self):
    method read (line 512) | def read(self, amt=None):
    method _read_chunked (line 544) | def _read_chunked(self, amt):
    method _safe_read (line 601) | def _safe_read(self, amt):
    method getheader (line 624) | def getheader(self, name, default=None):
    method getheaders (line 629) | def getheaders(self):
  class HTTPConnection (line 636) | class HTTPConnection:
    method __init__ (line 647) | def __init__(self, host, port=None, strict=None,
    method _set_hostport (line 660) | def _set_hostport(self, host, port):
    method set_debuglevel (line 677) | def set_debuglevel(self, level):
    method connect (line 680) | def connect(self):
    method close (line 685) | def close(self):
    method send (line 695) | def send(self, str):
    method _output (line 725) | def _output(self, s):
    method _send_output (line 732) | def _send_output(self):
    method putrequest (line 742) | def putrequest(self, method, url, skip_host=0, skip_accept_encoding=0):
    method putheader (line 849) | def putheader(self, header, value):
    method endheaders (line 860) | def endheaders(self):
    method request (line 870) | def request(self, method, url, body=None, headers={}):
    method _send_request (line 882) | def _send_request(self, method, url, body, headers):
    method getresponse (line 916) | def getresponse(self):
  class HTTP (line 964) | class HTTP:
    method __init__ (line 974) | def __init__(self, host='', port=None, strict=None):
    method _setup (line 986) | def _setup(self, conn):
    method connect (line 1000) | def connect(self, host=None, port=None):
    method getfile (line 1007) | def getfile(self):
    method putheader (line 1011) | def putheader(self, header, *values):
    method getreply (line 1015) | def getreply(self):
    method close (line 1043) | def close(self):
  class HTTPSConnection (line 1058) | class HTTPSConnection(HTTPConnection):
    method __init__ (line 1063) | def __init__(self, host, port=None, key_file=None, cert_file=None,
    method connect (line 1069) | def connect(self):
  class HTTPS (line 1077) | class HTTPS(HTTP):
    method __init__ (line 1087) | def __init__(self, host='', port=None, key_file=None, cert_file=None,
  function FakeSocket (line 1103) | def FakeSocket (sock, sslobj):
  class HTTPException (line 1110) | class HTTPException(Exception):
  class NotConnected (line 1115) | class NotConnected(HTTPException):
  class InvalidURL (line 1118) | class InvalidURL(HTTPException):
  class UnknownProtocol (line 1121) | class UnknownProtocol(HTTPException):
    method __init__ (line 1122) | def __init__(self, version):
  class UnknownTransferEncoding (line 1126) | class UnknownTransferEncoding(HTTPException):
  class UnimplementedFileMode (line 1129) | class UnimplementedFileMode(HTTPException):
  class IncompleteRead (line 1132) | class IncompleteRead(HTTPException):
    method __init__ (line 1133) | def __init__(self, partial):
  class ImproperConnectionState (line 1137) | class ImproperConnectionState(HTTPException):
  class CannotSendRequest (line 1140) | class CannotSendRequest(ImproperConnectionState):
  class CannotSendHeader (line 1143) | class CannotSendHeader(ImproperConnectionState):
  class ResponseNotReady (line 1146) | class ResponseNotReady(ImproperConnectionState):
  class BadStatusLine (line 1149) | class BadStatusLine(HTTPException):
    method __init__ (line 1150) | def __init__(self, line):
  class LineAndFileWrapper (line 1157) | class LineAndFileWrapper:
    method __init__ (line 1165) | def __init__(self, line, file):
    method __getattr__ (line 1172) | def __getattr__(self, attr):
    method _done (line 1175) | def _done(self):
    method read (line 1184) | def read(self, amt=None):
    method readline (line 1206) | def readline(self):
    method readlines (line 1214) | def readlines(self, size=None):
  function test (line 1225) | def test():

FILE: lib/httplib2/__init__.py
  function _ssl_wrap_socket (line 80) | def _ssl_wrap_socket(sock, key_file, cert_file,
  function _ssl_wrap_socket (line 93) | def _ssl_wrap_socket(sock, key_file, cert_file,
  function iri2uri (line 107) | def iri2uri(uri):
  function has_timeout (line 110) | def has_timeout(timeout): # python 2.6
  function sorted (line 129) | def sorted(seq):
  function HTTPResponse__getheaders (line 134) | def HTTPResponse__getheaders(self):
  class HttpLib2Error (line 144) | class HttpLib2Error(Exception): pass
  class HttpLib2ErrorWithResponse (line 148) | class HttpLib2ErrorWithResponse(HttpLib2Error):
    method __init__ (line 149) | def __init__(self, desc, response, content):
  class RedirectMissingLocation (line 154) | class RedirectMissingLocation(HttpLib2ErrorWithResponse): pass
  class RedirectLimit (line 155) | class RedirectLimit(HttpLib2ErrorWithResponse): pass
  class FailedToDecompressContent (line 156) | class FailedToDecompressContent(HttpLib2ErrorWithResponse): pass
  class UnimplementedDigestAuthOptionError (line 157) | class UnimplementedDigestAuthOptionError(HttpLib2ErrorWithResponse): pass
  class UnimplementedHmacDigestAuthOptionError (line 158) | class UnimplementedHmacDigestAuthOptionError(HttpLib2ErrorWithResponse):...
  class MalformedHeader (line 160) | class MalformedHeader(HttpLib2Error): pass
  class RelativeURIError (line 161) | class RelativeURIError(HttpLib2Error): pass
  class ServerNotFoundError (line 162) | class ServerNotFoundError(HttpLib2Error): pass
  class ProxiesUnavailableError (line 163) | class ProxiesUnavailableError(HttpLib2Error): pass
  class CertificateValidationUnsupported (line 164) | class CertificateValidationUnsupported(HttpLib2Error): pass
  class SSLHandshakeError (line 165) | class SSLHandshakeError(HttpLib2Error): pass
  class NotSupportedOnThisPlatform (line 166) | class NotSupportedOnThisPlatform(HttpLib2Error): pass
  class CertificateHostnameMismatch (line 167) | class CertificateHostnameMismatch(SSLHandshakeError):
    method __init__ (line 168) | def __init__(self, desc, host, cert):
  function _get_end2end_headers (line 202) | def _get_end2end_headers(response):
  function parse_uri (line 209) | def parse_uri(uri):
  function urlnorm (line 217) | def urlnorm(uri):
  function safename (line 237) | def safename(filename):
  function _normalize_headers (line 265) | def _normalize_headers(headers):
  function _parse_cache_control (line 268) | def _parse_cache_control(headers):
  function _parse_www_authenticate (line 291) | def _parse_www_authenticate(headers, headername='www-authenticate'):
  function _entry_disposition (line 321) | def _entry_disposition(response_headers, request_headers):
  function _decompressContent (line 395) | def _decompressContent(response, new_content):
  function _updateCache (line 413) | def _updateCache(request_headers, response_headers, content, cache, cach...
  function _cnonce (line 450) | def _cnonce():
  function _wsse_username_token (line 454) | def _wsse_username_token(cnonce, iso_now, password):
  class Authentication (line 466) | class Authentication(object):
    method __init__ (line 467) | def __init__(self, credentials, host, request_uri, headers, response, ...
    method depth (line 474) | def depth(self, request_uri):
    method inscope (line 478) | def inscope(self, host, request_uri):
    method request (line 483) | def request(self, method, request_uri, headers, content):
    method response (line 488) | def response(self, response, content):
  class BasicAuthentication (line 500) | class BasicAuthentication(Authentication):
    method __init__ (line 501) | def __init__(self, credentials, host, request_uri, headers, response, ...
    method request (line 504) | def request(self, method, request_uri, headers, content):
  class DigestAuthentication (line 510) | class DigestAuthentication(Authentication):
    method __init__ (line 513) | def __init__(self, credentials, host, request_uri, headers, response, ...
    method request (line 527) | def request(self, method, request_uri, headers, content, cnonce = None):
    method response (line 553) | def response(self, response, content):
  class HmacDigestAuthentication (line 569) | class HmacDigestAuthentication(Authentication):
    method __init__ (line 573) | def __init__(self, credentials, host, request_uri, headers, response, ...
    method request (line 604) | def request(self, method, request_uri, headers, content):
    method response (line 624) | def response(self, response, content):
  class WsseAuthentication (line 631) | class WsseAuthentication(Authentication):
    method __init__ (line 639) | def __init__(self, credentials, host, request_uri, headers, response, ...
    method request (line 642) | def request(self, method, request_uri, headers, content):
  class GoogleLoginAuthentication (line 655) | class GoogleLoginAuthentication(Authentication):
    method __init__ (line 656) | def __init__(self, credentials, host, request_uri, headers, response, ...
    method request (line 678) | def request(self, method, request_uri, headers, content):
  class FileCache (line 694) | class FileCache(object):
    method __init__ (line 699) | def __init__(self, cache, safe=safename): # use safe=lambda x: md5.new...
    method get (line 705) | def get(self, key):
    method set (line 716) | def set(self, key, value):
    method delete (line 722) | def delete(self, key):
  class Credentials (line 727) | class Credentials(object):
    method __init__ (line 728) | def __init__(self):
    method add (line 731) | def add(self, name, password, domain=""):
    method clear (line 734) | def clear(self):
    method iter (line 737) | def iter(self, domain):
  class KeyCerts (line 742) | class KeyCerts(Credentials):
  class AllHosts (line 747) | class AllHosts(object):
  class ProxyInfo (line 750) | class ProxyInfo(object):
    method __init__ (line 754) | def __init__(self, proxy_type, proxy_host, proxy_port,
    method astuple (line 769) | def astuple(self):
    method isgood (line 773) | def isgood(self):
    method from_environment (line 777) | def from_environment(cls, method='http'):
    method from_url (line 802) | def from_url(cls, url, method='http'):
    method applies_to (line 837) | def applies_to(self, hostname):
    method bypass_host (line 840) | def bypass_host(self, hostname):
  class HTTPConnectionWithTimeout (line 853) | class HTTPConnectionWithTimeout(httplib.HTTPConnection):
    method __init__ (line 863) | def __init__(self, host, port=None, strict=None, timeout=None, proxy_i...
    method connect (line 868) | def connect(self):
  class HTTPSConnectionWithTimeout (line 919) | class HTTPSConnectionWithTimeout(httplib.HTTPSConnection):
    method __init__ (line 928) | def __init__(self, host, port=None, key_file=None, cert_file=None,
    method _GetValidHostsForCert (line 961) | def _GetValidHostsForCert(self, cert):
    method _ValidateCertificateHostname (line 976) | def _ValidateCertificateHostname(self, cert, hostname):
    method connect (line 992) | def connect(self):
  class ResponseDict (line 1082) | class ResponseDict(dict):
    method read (line 1085) | def read(self):
  class AppEngineHttpConnection (line 1089) | class AppEngineHttpConnection(object):
    method __init__ (line 1095) | def __init__(self, host, port=None, key_file=None, cert_file=None,
    method request (line 1108) | def request(self, method, url, body, headers):
    method getresponse (line 1135) | def getresponse(self):
    method set_debuglevel (line 1141) | def set_debuglevel(self, level):
    method connect (line 1144) | def connect(self):
    method close (line 1147) | def close(self):
  class AppEngineHttpsConnection (line 1151) | class AppEngineHttpsConnection(AppEngineHttpConnection):
    method __init__ (line 1153) | def __init__(self, host, port=None, key_file=None, cert_file=None,
  class Http (line 1170) | class Http(object):
    method __init__ (line 1183) | def __init__(self, cache=None, timeout=None,
    method _auth_from_challenge (line 1252) | def _auth_from_challenge(self, host, request_uri, headers, response, c...
    method add_credentials (line 1262) | def add_credentials(self, name, password, domain=""):
    method add_certificate (line 1267) | def add_certificate(self, key, cert, domain):
    method clear_credentials (line 1272) | def clear_credentials(self):
    method _conn_request (line 1278) | def _conn_request(self, conn, request_uri, method, body, headers):
    method _request (line 1337) | def _request(self, conn, host, absolute_uri, request_uri, method, body...
    method _normalize_headers (line 1408) | def _normalize_headers(self, headers):
    method request (line 1416) | def request(self, uri, method="GET", body=None, headers=None, redirect...
    method _get_proxy_info (line 1628) | def _get_proxy_info(self, scheme, authority):
  class Response (line 1643) | class Response(dict):
    method __init__ (line 1660) | def __init__(self, info):
    method __getattr__ (line 1681) | def __getattr__(self, name):

FILE: lib/httplib2/iri2uri.py
  function encode (line 53) | def encode(c):
  function iri2uri (line 65) | def iri2uri(uri):
  class Test (line 82) | class Test(unittest.TestCase):
    method test_uris (line 84) | def test_uris(self):
    method test_iri (line 98) | def test_iri(self):

FILE: lib/httplib2/socks.py
  class ProxyError (line 59) | class ProxyError(Exception): pass
  class GeneralProxyError (line 60) | class GeneralProxyError(ProxyError): pass
  class Socks5AuthError (line 61) | class Socks5AuthError(ProxyError): pass
  class Socks5Error (line 62) | class Socks5Error(ProxyError): pass
  class Socks4Error (line 63) | class Socks4Error(ProxyError): pass
  class HTTPError (line 64) | class HTTPError(ProxyError): pass
  function setdefaultproxy (line 96) | def setdefaultproxy(proxytype=None, addr=None, port=None, rdns=True, use...
  function wrapmodule (line 104) | def wrapmodule(module):
  class socksocket (line 116) | class socksocket(socket.socket):
    method __init__ (line 123) | def __init__(self, family=socket.AF_INET, type=socket.SOCK_STREAM, pro...
    method __recvall (line 133) | def __recvall(self, count):
    method sendall (line 145) | def sendall(self, content, *args):
    method __rewriteproxy (line 153) | def __rewriteproxy(self, header):
    method __getauthheader (line 176) | def __getauthheader(self):
    method setproxy (line 180) | def setproxy(self, proxytype=None, addr=None, port=None, rdns=True, us...
    method __negotiatesocks5 (line 199) | def __negotiatesocks5(self, destaddr, destport):
    method getproxysockname (line 291) | def getproxysockname(self):
    method getproxypeername (line 297) | def getproxypeername(self):
    method getpeername (line 303) | def getpeername(self):
    method __negotiatesocks4 (line 310) | def __negotiatesocks4(self,destaddr,destport):
    method __negotiatehttp (line 358) | def __negotiatehttp(self, destaddr, destport):
    method connect (line 394) | def connect(self, destpair):

FILE: lib/markdown2.py
  function reversed (line 110) | def reversed(sequence):
  function _hash_text (line 138) | def _hash_text(s):
  class MarkdownError (line 149) | class MarkdownError(Exception):
  function markdown_path (line 156) | def markdown_path(path, encoding="utf-8",
  function markdown (line 168) | def markdown(text, html4tags=False, tab_width=DEFAULT_TAB_WIDTH,
  class Markdown (line 176) | class Markdown(object):
    method __init__ (line 197) | def __init__(self, html4tags=False, tab_width=4, safe_mode=None,
    method reset (line 236) | def reset(self):
    method convert (line 251) | def convert(self, text):
    method postprocess (line 340) | def postprocess(self, text):
    method preprocess (line 347) | def preprocess(self, text):
    method _extract_metadata (line 362) | def _extract_metadata(self, text):
    method _get_emacs_vars (line 395) | def _get_emacs_vars(self, text):
    method _detab_sub (line 499) | def _detab_sub(self, match):
    method _detab (line 502) | def _detab(self, text):
    method _hash_html_block_sub (line 559) | def _hash_html_block_sub(self, match, raw=False):
    method _hash_html_blocks (line 582) | def _hash_html_blocks(self, text, raw=False):
    method _strip_link_definitions (line 690) | def _strip_link_definitions(self, text):
    method _extract_link_def_sub (line 717) | def _extract_link_def_sub(self, match):
    method _extract_footnote_def_sub (line 725) | def _extract_footnote_def_sub(self, match):
    method _strip_footnote_definitions (line 734) | def _strip_footnote_definitions(self, text):
    method _run_block_gamut (line 774) | def _run_block_gamut(self, text):
    method _pyshell_block_sub (line 818) | def _pyshell_block_sub(self, match):
    method _prepare_pyshell_blocks (line 827) | def _prepare_pyshell_blocks(self, text):
    method _wiki_table_sub (line 843) | def _wiki_table_sub(self, match):
    method _do_wiki_tables (line 864) | def _do_wiki_tables(self, text):
    method _run_span_gamut (line 877) | def _run_span_gamut(self, text):
    method _escape_special_chars (line 926) | def _escape_special_chars(self, text):
    method _hash_html_spans (line 950) | def _hash_html_spans(self, text):
    method _unhash_html_spans (line 973) | def _unhash_html_spans(self, text):
    method _sanitize_html (line 978) | def _sanitize_html(self, s):
    method _do_links (line 1020) | def _do_links(self, text):
    method header_id_from_text (line 1207) | def header_id_from_text(self, text, prefix, n):
    method _toc_add_entry (line 1233) | def _toc_add_entry(self, level, id, name):
    method _setext_h_sub (line 1239) | def _setext_h_sub(self, match):
    method _atx_h_sub (line 1264) | def _atx_h_sub(self, match):
    method _do_headers (line 1280) | def _do_headers(self, text):
    method _list_sub (line 1305) | def _list_sub(self, match):
    method _do_lists (line 1314) | def _do_lists(self, text):
    method _list_item_sub (line 1376) | def _list_item_sub(self, match):
    method _process_list_items (line 1391) | def _process_list_items(self, list_str):
    method _get_pygments_lexer (line 1422) | def _get_pygments_lexer(self, lexer_name):
    method _color_with_pygments (line 1432) | def _color_with_pygments(self, codeblock, lexer, **formatter_opts):
    method _code_block_sub (line 1454) | def _code_block_sub(self, match, is_fenced_code_block=False):
    method _html_class_str_from_tag (line 1489) | def _html_class_str_from_tag(self, tag):
    method _do_code_blocks (line 1504) | def _do_code_blocks(self, text):
    method _fenced_code_block_sub (line 1526) | def _fenced_code_block_sub(self, match):
    method _do_fenced_code_blocks (line 1529) | def _do_fenced_code_blocks(self, text):
    method _code_span_sub (line 1551) | def _code_span_sub(self, match):
    method _do_code_spans (line 1556) | def _do_code_spans(self, text):
    method _encode_code (line 1581) | def _encode_code(self, text):
    method _do_italics_and_bold (line 1604) | def _do_italics_and_bold(self, text):
    method _do_smart_contractions (line 1621) | def _do_smart_contractions(self, text):
    method _do_smart_punctuation (line 1634) | def _do_smart_punctuation(self, text):
    method _dedent_two_spaces_sub (line 1673) | def _dedent_two_spaces_sub(self, match):
    method _block_quote_sub (line 1676) | def _block_quote_sub(self, match):
    method _do_block_quotes (line 1688) | def _do_block_quotes(self, text):
    method _form_paragraphs (line 1693) | def _form_paragraphs(self, text):
    method _add_footnotes (line 1730) | def _add_footnotes(self, text):
    method _encode_amps_and_angles (line 1764) | def _encode_amps_and_angles(self, text):
    method _encode_backslash_escapes (line 1778) | def _encode_backslash_escapes(self, text):
    method _auto_link_sub (line 1784) | def _auto_link_sub(self, match):
    method _auto_email_link_sub (line 1798) | def _auto_email_link_sub(self, match):
    method _do_auto_links (line 1802) | def _do_auto_links(self, text):
    method _encode_email_address (line 1807) | def _encode_email_address(self, addr):
    method _do_link_patterns (line 1827) | def _do_link_patterns(self, text):
    method _unescape_special_chars (line 1858) | def _unescape_special_chars(self, text):
    method _outdent (line 1864) | def _outdent(self, text):
  class MarkdownWithExtras (line 1869) | class MarkdownWithExtras(Markdown):
  class UnicodeWithAttrs (line 1886) | class UnicodeWithAttrs(unicode):
    method toc_html (line 1893) | def toc_html(self):
  function _slugify (line 1930) | def _slugify(value):
  function _curry (line 1949) | def _curry(*args, **kwargs):
  function _regex_from_encoded_pattern (line 1958) | def _regex_from_encoded_pattern(s):
  function _dedentlines (line 1987) | def _dedentlines(lines, tabsize=8, skip_first_line=False):
  function _dedent (line 2057) | def _dedent(text, tabsize=8, skip_first_line=False):
  class _memoized (line 2073) | class _memoized(object):
    method __init__ (line 2080) | def __init__(self, func):
    method __call__ (line 2083) | def __call__(self, *args):
    method __repr__ (line 2093) | def __repr__(self):
  function _xml_oneliner_re_from_tab_width (line 2098) | def _xml_oneliner_re_from_tab_width(tab_width):
  function _hr_tag_re_from_tab_width (line 2119) | def _hr_tag_re_from_tab_width(tab_width):
  function _xml_escape_attr (line 2139) | def _xml_escape_attr(attr, skip_single_quote=True):
  function _xml_encode_email_char_at_random (line 2155) | def _xml_encode_email_char_at_random(ch):
  class _NoReflowFormatter (line 2172) | class _NoReflowFormatter(optparse.IndentedHelpFormatter):
    method format_description (line 2174) | def format_description(self, description):
  function _test (line 2177) | def _test():
  function main (line 2181) | def main(argv=None):

FILE: lib/oauth2/__init__.py
  class Error (line 57) | class Error(RuntimeError):
    method __init__ (line 60) | def __init__(self, message='OAuth error occurred.'):
    method message (line 64) | def message(self):
    method __str__ (line 68) | def __str__(self):
  class MissingSignature (line 72) | class MissingSignature(Error):
  function build_authenticate_header (line 76) | def build_authenticate_header(realm=''):
  function build_xoauth_string (line 81) | def build_xoauth_string(url, consumer, token=None):
  function to_unicode (line 97) | def to_unicode(s):
  function to_utf8 (line 109) | def to_utf8(s):
  function to_unicode_if_string (line 112) | def to_unicode_if_string(s):
  function to_utf8_if_string (line 118) | def to_utf8_if_string(s):
  function to_unicode_optional_iterator (line 124) | def to_unicode_optional_iterator(x):
  function to_utf8_optional_iterator (line 140) | def to_utf8_optional_iterator(x):
  function escape (line 156) | def escape(s):
  function generate_timestamp (line 160) | def generate_timestamp():
  function generate_nonce (line 165) | def generate_nonce(length=8):
  function generate_verifier (line 170) | def generate_verifier(length=8):
  class Consumer (line 175) | class Consumer(object):
    method __init__ (line 198) | def __init__(self, key, secret):
    method __str__ (line 205) | def __str__(self):
  class Token (line 212) | class Token(object):
    method __init__ (line 233) | def __init__(self, key, secret):
    method set_callback (line 240) | def set_callback(self, callback):
    method set_verifier (line 244) | def set_verifier(self, verifier=None):
    method get_callback_url (line 250) | def get_callback_url(self):
    method to_string (line 263) | def to_string(self):
    method from_string (line 280) | def from_string(s):
    method __str__ (line 309) | def __str__(self):
  function setter (line 313) | def setter(attr):
  class Request (line 328) | class Request(dict):
    method __init__ (line 342) | def __init__(self, method=HTTP_METHOD, url=None, parameters=None,
    method url (line 357) | def url(self, value):
    method method (line 377) | def method(self, value):
    method _get_timestamp_nonce (line 380) | def _get_timestamp_nonce(self):
    method get_nonoauth_parameters (line 383) | def get_nonoauth_parameters(self):
    method to_header (line 388) | def to_header(self, realm=''):
    method to_postdata (line 402) | def to_postdata(self):
    method to_url (line 413) | def to_url(self):
    method get_parameter (line 443) | def get_parameter(self, parameter):
    method get_normalized_parameters (line 450) | def get_normalized_parameters(self):
    method sign_request (line 484) | def sign_request(self, signature_method, consumer, token):
    method make_timestamp (line 505) | def make_timestamp(cls):
    method make_nonce (line 510) | def make_nonce(cls):
    method from_request (line 515) | def from_request(cls, http_method, http_url, headers=None, parameters=...
    method from_consumer_and_token (line 551) | def from_consumer_and_token(cls, consumer, token=None,
    method from_token_and_callback (line 576) | def from_token_and_callback(cls, token, callback=None,
    method _split_header (line 590) | def _split_header(header):
    method _split_url_string (line 607) | def _split_url_string(param_str):
  class Client (line 615) | class Client(httplib2.Http):
    method __init__ (line 618) | def __init__(self, consumer, token=None, cache=None, timeout=None,
    method set_signature_method (line 633) | def set_signature_method(self, method):
    method request (line 639) | def request(self, uri, method="GET", body='', headers=None,
  class Server (line 685) | class Server(object):
    method __init__ (line 698) | def __init__(self, signature_methods=None):
    method add_signature_method (line 701) | def add_signature_method(self, signature_method):
    method verify_request (line 705) | def verify_request(self, request, consumer, token):
    method build_authenticate_header (line 713) | def build_authenticate_header(self, realm=''):
    method _check_version (line 717) | def _check_version(self, request):
    method _get_version (line 723) | def _get_version(self, request):
    method _get_signature_method (line 732) | def _get_signature_method(self, request):
    method _get_verifier (line 748) | def _get_verifier(self, request):
    method _check_signature (line 751) | def _check_signature(self, request, consumer, token):
    method _check_timestamp (line 770) | def _check_timestamp(self, timestamp):
  class SignatureMethod (line 781) | class SignatureMethod(object):
    method signing_base (line 790) | def signing_base(self, request, consumer, token):
    method sign (line 800) | def sign(self, request, consumer, token):
    method check (line 810) | def check(self, request, consumer, token, signature):
  class SignatureMethod_HMAC_SHA1 (line 817) | class SignatureMethod_HMAC_SHA1(SignatureMethod):
    method signing_base (line 820) | def signing_base(self, request, consumer, token):
    method sign (line 836) | def sign(self, request, consumer, token):
  class SignatureMethod_PLAINTEXT (line 846) | class SignatureMethod_PLAINTEXT(SignatureMethod):
    method signing_base (line 850) | def signing_base(self, request, consumer, token):
    method sign (line 858) | def sign(self, request, consumer, token):

FILE: lib/oauth2/clients/imap.py
  class IMAP4_SSL (line 29) | class IMAP4_SSL(imaplib.IMAP4_SSL):
    method authenticate (line 32) | def authenticate(self, url, consumer, token):

FILE: lib/oauth2/clients/smtp.py
  class SMTP (line 30) | class SMTP(smtplib.SMTP):
    method authenticate (line 33) | def authenticate(self, url, consumer, token):

FILE: lib/thrift/TSCons.py
  function scons_env (line 23) | def scons_env(env, add=''):
  function gen_cpp (line 29) | def gen_cpp(env, dir, file):

FILE: lib/thrift/TSerialization.py
  function serialize (line 23) | def serialize(thrift_object, protocol_factory = TBinaryProtocol.TBinaryP...
  function deserialize (line 29) | def deserialize(base, buf, protocol_factory = TBinaryProtocol.TBinaryPro...

FILE: lib/thrift/Thrift.py
  class TType (line 22) | class TType:
  class TMessageType (line 60) | class TMessageType:
  class TProcessor (line 66) | class TProcessor:
    method process (line 70) | def process(iprot, oprot):
  class TException (line 73) | class TException(Exception):
    method _get_message (line 79) | def _get_message(self):
    method _set_message (line 81) | def _set_message(self, message):
    method __init__ (line 85) | def __init__(self, message=None):
  class TApplicationException (line 89) | class TApplicationException(TException):
    method __init__ (line 102) | def __init__(self, type=UNKNOWN, message=None):
    method __str__ (line 106) | def __str__(self):
    method read (line 122) | def read(self, iprot):
    method write (line 143) | def write(self, oprot):

FILE: lib/thrift/protocol/TBase.py
  class TBase (line 29) | class TBase(object):
    method __repr__ (line 32) | def __repr__(self):
    method __eq__ (line 37) | def __eq__(self, other):
    method __ne__ (line 47) | def __ne__(self, other):
    method read (line 50) | def read(self, iprot):
    method write (line 56) | def write(self, oprot):
  class TExceptionBase (line 62) | class TExceptionBase(Exception):

FILE: lib/thrift/protocol/TBinaryProtocol.py
  class TBinaryProtocol (line 23) | class TBinaryProtocol(TProtocolBase):
    method __init__ (line 39) | def __init__(self, trans, strictRead=False, strictWrite=True):
    method writeMessageBegin (line 44) | def writeMessageBegin(self, name, type, seqid):
    method writeMessageEnd (line 54) | def writeMessageEnd(self):
    method writeStructBegin (line 57) | def writeStructBegin(self, name):
    method writeStructEnd (line 60) | def writeStructEnd(self):
    method writeFieldBegin (line 63) | def writeFieldBegin(self, name, type, id):
    method writeFieldEnd (line 67) | def writeFieldEnd(self):
    method writeFieldStop (line 70) | def writeFieldStop(self):
    method writeMapBegin (line 73) | def writeMapBegin(self, ktype, vtype, size):
    method writeMapEnd (line 78) | def writeMapEnd(self):
    method writeListBegin (line 81) | def writeListBegin(self, etype, size):
    method writeListEnd (line 85) | def writeListEnd(self):
    method writeSetBegin (line 88) | def writeSetBegin(self, etype, size):
    method writeSetEnd (line 92) | def writeSetEnd(self):
    method writeBool (line 95) | def writeBool(self, bool):
    method writeByte (line 101) | def writeByte(self, byte):
    method writeI16 (line 105) | def writeI16(self, i16):
    method writeI32 (line 109) | def writeI32(self, i32):
    method writeI64 (line 113) | def writeI64(self, i64):
    method writeDouble (line 117) | def writeDouble(self, dub):
    method writeString (line 121) | def writeString(self, str):
    method readMessageBegin (line 125) | def readMessageBegin(self):
    method readMessageEnd (line 142) | def readMessageEnd(self):
    method readStructBegin (line 145) | def readStructBegin(self):
    method readStructEnd (line 148) | def readStructEnd(self):
    method readFieldBegin (line 151) | def readFieldBegin(self):
    method readFieldEnd (line 158) | def readFieldEnd(self):
    method readMapBegin (line 161) | def readMapBegin(self):
    method readMapEnd (line 167) | def readMapEnd(self):
    method readListBegin (line 170) | def readListBegin(self):
    method readListEnd (line 175) | def readListEnd(self):
    method readSetBegin (line 178) | def readSetBegin(self):
    method readSetEnd (line 183) | def readSetEnd(self):
    method readBool (line 186) | def readBool(self):
    method readByte (line 192) | def readByte(self):
    method readI16 (line 197) | def readI16(self):
    method readI32 (line 202) | def readI32(self):
    method readI64 (line 207) | def readI64(self):
    method readDouble (line 212) | def readDouble(self):
    method readString (line 217) | def readString(self):
  class TBinaryProtocolFactory (line 223) | class TBinaryProtocolFactory:
    method __init__ (line 224) | def __init__(self, strictRead=False, strictWrite=True):
    method getProtocol (line 228) | def getProtocol(self, trans):
  class TBinaryProtocolAccelerated (line 233) | class TBinaryProtocolAccelerated(TBinaryProtocol):
  class TBinaryProtocolAcceleratedFactory (line 257) | class TBinaryProtocolAcceleratedFactory:
    method getProtocol (line 258) | def getProtocol(self, trans):

FILE: lib/thrift/protocol/TCompactProtocol.py
  function make_helper (line 35) | def make_helper(v_from, container):
  function makeZigZag (line 45) | def makeZigZag(n, bits):
  function fromZigZag (line 48) | def fromZigZag(n):
  function writeVarint (line 51) | def writeVarint(trans, n):
  function readVarint (line 62) | def readVarint(trans):
  class CompactType (line 73) | class CompactType:
  class TCompactProtocol (line 109) | class TCompactProtocol(TProtocolBase):
    method __init__ (line 118) | def __init__(self, trans):
    method __writeVarint (line 127) | def __writeVarint(self, n):
    method writeMessageBegin (line 130) | def writeMessageBegin(self, name, type, seqid):
    method writeMessageEnd (line 138) | def writeMessageEnd(self):
    method writeStructBegin (line 142) | def writeStructBegin(self, name):
    method writeStructEnd (line 148) | def writeStructEnd(self):
    method writeFieldStop (line 152) | def writeFieldStop(self):
    method __writeFieldHeader (line 155) | def __writeFieldHeader(self, type, fid):
    method writeFieldBegin (line 164) | def writeFieldBegin(self, name, type, fid):
    method writeFieldEnd (line 173) | def writeFieldEnd(self):
    method __writeUByte (line 177) | def __writeUByte(self, byte):
    method __writeByte (line 180) | def __writeByte(self, byte):
    method __writeI16 (line 183) | def __writeI16(self, i16):
    method __writeSize (line 186) | def __writeSize(self, i32):
    method writeCollectionBegin (line 189) | def writeCollectionBegin(self, etype, size):
    method writeMapBegin (line 201) | def writeMapBegin(self, ktype, vtype, size):
    method writeCollectionEnd (line 211) | def writeCollectionEnd(self):
    method writeBool (line 218) | def writeBool(self, bool):
    method writeI32 (line 237) | def writeI32(self, i32):
    method writeI64 (line 241) | def writeI64(self, i64):
    method writeDouble (line 245) | def writeDouble(self, dub):
    method __writeString (line 248) | def __writeString(self, s):
    method readFieldBegin (line 253) | def readFieldBegin(self):
    method readFieldEnd (line 275) | def readFieldEnd(self):
    method __readUByte (line 279) | def __readUByte(self):
    method __readByte (line 283) | def __readByte(self):
    method __readVarint (line 287) | def __readVarint(self):
    method __readZigZag (line 290) | def __readZigZag(self):
    method __readSize (line 293) | def __readSize(self):
    method readMessageBegin (line 299) | def readMessageBegin(self):
    method readMessageEnd (line 315) | def readMessageEnd(self):
    method readStructBegin (line 319) | def readStructBegin(self):
    method readStructEnd (line 325) | def readStructEnd(self):
    method readCollectionBegin (line 329) | def readCollectionBegin(self):
    method readMapBegin (line 342) | def readMapBegin(self):
    method readCollectionEnd (line 354) | def readCollectionEnd(self):
    method readBool (line 361) | def readBool(self):
    method readDouble (line 376) | def readDouble(self):
    method __readString (line 381) | def __readString(self):
    method __getTType (line 386) | def __getTType(self, byte):
  class TCompactProtocolFactory (line 390) | class TCompactProtocolFactory:
    method __init__ (line 391) | def __init__(self):
    method getProtocol (line 394) | def getProtocol(self, trans):

FILE: lib/thrift/protocol/TProtocol.py
  class TProtocolException (line 22) | class TProtocolException(TException):
    method __init__ (line 32) | def __init__(self, type=UNKNOWN, message=None):
  class TProtocolBase (line 36) | class TProtocolBase:
    method __init__ (line 40) | def __init__(self, trans):
    method writeMessageBegin (line 43) | def writeMessageBegin(self, name, type, seqid):
    method writeMessageEnd (line 46) | def writeMessageEnd(self):
    method writeStructBegin (line 49) | def writeStructBegin(self, name):
    method writeStructEnd (line 52) | def writeStructEnd(self):
    method writeFieldBegin (line 55) | def writeFieldBegin(self, name, type, id):
    method writeFieldEnd (line 58) | def writeFieldEnd(self):
    method writeFieldStop (line 61) | def writeFieldStop(self):
    method writeMapBegin (line 64) | def writeMapBegin(self, ktype, vtype, size):
    method writeMapEnd (line 67) | def writeMapEnd(self):
    method writeListBegin (line 70) | def writeListBegin(self, etype, size):
    method writeListEnd (line 73) | def writeListEnd(self):
    method writeSetBegin (line 76) | def writeSetBegin(self, etype, size):
    method writeSetEnd (line 79) | def writeSetEnd(self):
    method writeBool (line 82) | def writeBool(self, bool):
    method writeByte (line 85) | def writeByte(self, byte):
    method writeI16 (line 88) | def writeI16(self, i16):
    method writeI32 (line 91) | def writeI32(self, i32):
    method writeI64 (line 94) | def writeI64(self, i64):
    method writeDouble (line 97) | def writeDouble(self, dub):
    method writeString (line 100) | def writeString(self, str):
    method readMessageBegin (line 103) | def readMessageBegin(self):
    method readMessageEnd (line 106) | def readMessageEnd(self):
    method readStructBegin (line 109) | def readStructBegin(self):
    method readStructEnd (line 112) | def readStructEnd(self):
    method readFieldBegin (line 115) | def readFieldBegin(self):
    method readFieldEnd (line 118) | def readFieldEnd(self):
    method readMapBegin (line 121) | def readMapBegin(self):
    method readMapEnd (line 124) | def readMapEnd(self):
    method readListBegin (line 127) | def readListBegin(self):
    method readListEnd (line 130) | def readListEnd(self):
    method readSetBegin (line 133) | def readSetBegin(self):
    method readSetEnd (line 136) | def readSetEnd(self):
    method readBool (line 139) | def readBool(self):
    method readByte (line 142) | def readByte(self):
    method readI16 (line 145) | def readI16(self):
    method readI32 (line 148) | def readI32(self):
    method readI64 (line 151) | def readI64(self):
    method readDouble (line 154) | def readDouble(self):
    method readString (line 157) | def readString(self):
    method skip (line 160) | def skip(self, type):
Condensed preview — 67 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,819K chars).
[
  {
    "path": ".gitattributes",
    "chars": 483,
    "preview": "# Auto detect text files and perform LF normalization\n* text=auto\n\n# Custom for Visual Studio\n*.cs     diff=csharp\n*.sln"
  },
  {
    "path": ".gitignore",
    "chars": 2022,
    "preview": "#################\n## Eclipse\n#################\n\n*.pydevproject\n.project\n.metadata\nbin/\ntmp/\n*.tmp\n*.bak\n*.swp\n*~.nib\nloc"
  },
  {
    "path": "Context.sublime-menu",
    "chars": 336,
    "preview": "[\n    { \"caption\": \"-\" },\n    {\n        \"command\":\"send_to_evernote\",\n        \"caption\":\"Send to Evernote\"\n    },       "
  },
  {
    "path": "Default (Linux).sublime-keymap",
    "chars": 63,
    "preview": "[\n  { \"keys\": [\"ctrl+alt+e\"], \"command\": \"send_to_evernote\" }\n]"
  },
  {
    "path": "Default (OSX).sublime-keymap",
    "chars": 64,
    "preview": "[\n  { \"keys\": [\"super+alt+e\"], \"command\": \"send_to_evernote\" }\n]"
  },
  {
    "path": "Default (Windows).sublime-keymap",
    "chars": 64,
    "preview": "[\n  { \"keys\": [\"ctrl+alt+e\"], \"command\": \"send_to_evernote\" }\n]\n"
  },
  {
    "path": "Default.sublime-commands",
    "chars": 270,
    "preview": "[\n    { \"command\": \"send_to_evernote\", \"caption\": \"Send to evernote\" },    \n    {\n        \"caption\": \"Evernote Settings\""
  },
  {
    "path": "Readme.md",
    "chars": 2400,
    "preview": "SublimeEvernote\n===============\n\n[Sublime Text 2](http://www.sublimetext.com/2) plugin for [Evernote](http://www.evernot"
  },
  {
    "path": "SublimeEvernoteMetadata.sublime-snippet",
    "chars": 217,
    "preview": "<snippet>\n\t<content><![CDATA[\n---\ntitle: $1\ntags: $2\n---\n]]></content>\n\t<description>Evernote Metadata</description>\n\t<s"
  },
  {
    "path": "lib/__init__.py",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "lib/evernote/__init__.py",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "lib/evernote/api/__init__.py",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "lib/evernote/api/client.py",
    "chars": 5957,
    "preview": "import sys\nimport functools\nimport inspect\nimport re\nimport oauth2 as oauth\nimport urllib\nimport urlparse\n\nimport everno"
  },
  {
    "path": "lib/evernote/edam/__init__.py",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "lib/evernote/edam/error/__init__.py",
    "chars": 34,
    "preview": "__all__ = ['ttypes', 'constants']\n"
  },
  {
    "path": "lib/evernote/edam/error/constants.py",
    "chars": 246,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/error/ttypes.py",
    "chars": 13470,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/limits/__init__.py",
    "chars": 34,
    "preview": "__all__ = ['ttypes', 'constants']\n"
  },
  {
    "path": "lib/evernote/edam/limits/constants.py",
    "chars": 7771,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/limits/ttypes.py",
    "chars": 396,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/notestore/NoteStore-remote",
    "chars": 22432,
    "preview": "#!/usr/bin/env python\n#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU AR"
  },
  {
    "path": "lib/evernote/edam/notestore/NoteStore.py",
    "chars": 790217,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/notestore/__init__.py",
    "chars": 47,
    "preview": "__all__ = ['ttypes', 'constants', 'NoteStore']\n"
  },
  {
    "path": "lib/evernote/edam/notestore/constants.py",
    "chars": 246,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/notestore/ttypes.py",
    "chars": 103402,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/type/__init__.py",
    "chars": 34,
    "preview": "__all__ = ['ttypes', 'constants']\n"
  },
  {
    "path": "lib/evernote/edam/type/constants.py",
    "chars": 508,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/type/ttypes.py",
    "chars": 207345,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/userstore/UserStore-remote",
    "chars": 4990,
    "preview": "#!/usr/bin/env python\n#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU AR"
  },
  {
    "path": "lib/evernote/edam/userstore/UserStore.py",
    "chars": 124045,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/userstore/__init__.py",
    "chars": 47,
    "preview": "__all__ = ['ttypes', 'constants', 'UserStore']\n"
  },
  {
    "path": "lib/evernote/edam/userstore/constants.py",
    "chars": 293,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/evernote/edam/userstore/ttypes.py",
    "chars": 31070,
    "preview": "#\n# Autogenerated by Thrift Compiler\n#\n# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING\n#\n#  options s"
  },
  {
    "path": "lib/httplib.py",
    "chars": 43590,
    "preview": "\"\"\"HTTP/1.1 client library\n\n<intro stuff goes here>\n<other stuff, too>\n\nHTTPConnection goes through a number of \"states\""
  },
  {
    "path": "lib/httplib2/__init__.py",
    "chars": 69847,
    "preview": "from __future__ import generators\n\"\"\"\nhttplib2\n\nA caching http interface that supports ETags and gzip\nto conserve bandwi"
  },
  {
    "path": "lib/httplib2/cacerts.txt",
    "chars": 38361,
    "preview": "# Certifcate Authority certificates for validating SSL connections.\n#\n# This file contains PEM format certificates gener"
  },
  {
    "path": "lib/httplib2/iri2uri.py",
    "chars": 3757,
    "preview": "\"\"\"\niri2uri\n\nConverts an IRI to a URI.\n\n\"\"\"\n__author__ = \"Joe Gregorio (joe@bitworking.org)\"\n__copyright__ = \"Copyright "
  },
  {
    "path": "lib/httplib2/socks.py",
    "chars": 18459,
    "preview": "\"\"\"SocksiPy - Python SOCKS module.\nVersion 1.00\n\nCopyright 2006 Dan-Haim. All rights reserved.\n\nRedistribution and use i"
  },
  {
    "path": "lib/markdown2.py",
    "chars": 92411,
    "preview": "#!/usr/bin/env python\n# Copyright (c) 2012 Trent Mick.\n# Copyright (c) 2007-2008 ActiveState Corp.\n# License: MIT (http:"
  },
  {
    "path": "lib/oauth2/__init__.py",
    "chars": 29048,
    "preview": "\"\"\"\nThe MIT License\n\nCopyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel\n\nPermission is hereby gran"
  },
  {
    "path": "lib/oauth2/_version.py",
    "chars": 438,
    "preview": "# This is the version of this source code.\n\nmanual_verstr = \"1.5\"\n\n\n\nauto_build_num = \"211\"\n\n\n\nverstr = manual_verstr + "
  },
  {
    "path": "lib/oauth2/clients/__init__.py",
    "chars": 0,
    "preview": ""
  },
  {
    "path": "lib/oauth2/clients/imap.py",
    "chars": 1685,
    "preview": "\"\"\"\nThe MIT License\n\nCopyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel\n\nPermission is hereby gran"
  },
  {
    "path": "lib/oauth2/clients/smtp.py",
    "chars": 1680,
    "preview": "\"\"\"\nThe MIT License\n\nCopyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel\n\nPermission is hereby gran"
  },
  {
    "path": "lib/thrift/TSCons.py",
    "chars": 1266,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/TSerialization.py",
    "chars": 1344,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/Thrift.py",
    "chars": 4077,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/__init__.py",
    "chars": 817,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/protocol/TBase.py",
    "chars": 2532,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/protocol/TBinaryProtocol.py",
    "chars": 6501,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/protocol/TCompactProtocol.py",
    "chars": 10926,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/protocol/TProtocol.py",
    "chars": 10839,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/protocol/__init__.py",
    "chars": 852,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/protocol/fastbinary.c",
    "chars": 27195,
    "preview": "/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements. See the NOTI"
  },
  {
    "path": "lib/thrift/server/THttpServer.py",
    "chars": 3068,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/server/TNonblockingServer.py",
    "chars": 10950,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/server/TProcessPoolServer.py",
    "chars": 4021,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/server/TServer.py",
    "chars": 8331,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/server/__init__.py",
    "chars": 830,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/transport/THttpClient.py",
    "chars": 4950,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/transport/TSSLSocket.py",
    "chars": 6847,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/transport/TSocket.py",
    "chars": 5094,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/transport/TTransport.py",
    "chars": 8384,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/transport/TTwisted.py",
    "chars": 6547,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/transport/TZlibTransport.py",
    "chars": 8187,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "lib/thrift/transport/__init__.py",
    "chars": 854,
    "preview": "#\n# Licensed to the Apache Software Foundation (ASF) under one\n# or more contributor license agreements. See the NOTICE "
  },
  {
    "path": "sublime_evernote.py",
    "chars": 5052,
    "preview": "#coding:utf-8\nimport sys\nsys.path.insert(0,\"lib\")\nimport evernote.edam.userstore.UserStore as UserStore\nimport evernote."
  }
]

About this extraction

This page contains the full source code of the jamiesun/SublimeEvernote GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 67 files (1.7 MB), approximately 453.1k tokens, and a symbol index with 3027 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!