edam

package
v0.0.0-...-9fac66c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const CLASSIFICATION_RECIPE_SERVICE_RECIPE = "002"
View Source
const CLASSIFICATION_RECIPE_USER_NON_RECIPE = "000"
View Source
const CLASSIFICATION_RECIPE_USER_RECIPE = "001"
View Source
const EDAM_APPLICATIONDATA_ENTRY_LEN_MAX = 4095
View Source
const EDAM_APPLICATIONDATA_NAME_LEN_MAX = 32
View Source
const EDAM_APPLICATIONDATA_NAME_LEN_MIN = 3
View Source
const EDAM_APPLICATIONDATA_NAME_REGEX = "^[A-Za-z0-9_.-]{3,32}$"
View Source
const EDAM_APPLICATIONDATA_VALUE_LEN_MAX = 4092
View Source
const EDAM_APPLICATIONDATA_VALUE_LEN_MIN = 0
View Source
const EDAM_APPLICATIONDATA_VALUE_REGEX = "^[\\p{Space}[^\\p{Cc}]]{0,4092}$"
View Source
const EDAM_APP_RATING_MAX = 5
View Source
const EDAM_APP_RATING_MIN = 1
View Source
const EDAM_ATTRIBUTE_LEN_MAX = 4096
View Source
const EDAM_ATTRIBUTE_LEN_MIN = 1
View Source
const EDAM_ATTRIBUTE_LIST_MAX = 100
View Source
const EDAM_ATTRIBUTE_MAP_MAX = 100
View Source
const EDAM_ATTRIBUTE_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{1,4096}$"
View Source
const EDAM_BUSINESS_MARKETING_CODE_REGEX_PATTERN = "[A-Za-z0-9-]{1,128}"
View Source
const EDAM_BUSINESS_NOTEBOOKS_MAX = 10000
View Source
const EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX = 200
View Source
const EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN = 1
View Source
const EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,198}[^\\p{Cc}\\p{Z}])?$"
View Source
const EDAM_BUSINESS_NOTES_MAX = 500000
View Source
const EDAM_BUSINESS_PHONE_NUMBER_LEN_MAX = 20
View Source
const EDAM_BUSINESS_TAGS_MAX = 100000
View Source
const EDAM_BUSINESS_URI_LEN_MAX = 32
View Source
const EDAM_BUSINESS_WORKSPACES_MAX = 1000
View Source
const EDAM_CONNECTED_IDENTITY_REQUEST_MAX = 100
View Source
const EDAM_CONTENT_CLASS_FOOD_MEAL = "evernote.food.meal"
View Source
const EDAM_CONTENT_CLASS_HELLO_ENCOUNTER = "evernote.hello.encounter"
View Source
const EDAM_CONTENT_CLASS_HELLO_PROFILE = "evernote.hello.profile"
View Source
const EDAM_CONTENT_CLASS_PENULTIMATE_NOTEBOOK = "evernote.penultimate.notebook"
View Source
const EDAM_CONTENT_CLASS_PENULTIMATE_PREFIX = "evernote.penultimate."
View Source
const EDAM_CONTENT_CLASS_SKITCH = "evernote.skitch"
View Source
const EDAM_CONTENT_CLASS_SKITCH_PDF = "evernote.skitch.pdf"
View Source
const EDAM_CONTENT_CLASS_SKITCH_PREFIX = "evernote.skitch"
View Source
const EDAM_DEVICE_DESCRIPTION_LEN_MAX = 64
View Source
const EDAM_DEVICE_DESCRIPTION_REGEX = "^[^\\p{Cc}]{1,64}$"
View Source
const EDAM_DEVICE_ID_LEN_MAX = 32
View Source
const EDAM_DEVICE_ID_REGEX = "^[^\\p{Cc}]{1,32}$"
View Source
const EDAM_EMAIL_DOMAIN_REGEX = "^[A-Za-z0-9-]*[A-Za-z0-9](\\.[A-Za-z0-9-]*[A-Za-z0-9])*\\.([A-Za-z]{2,})$"
View Source
const EDAM_EMAIL_LEN_MAX = 255
View Source
const EDAM_EMAIL_LEN_MIN = 6
View Source
const EDAM_EMAIL_LOCAL_REGEX = "^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*$"
View Source
const EDAM_EMAIL_REGEX = "" /* 142-byte string literal not displayed */
View Source
const EDAM_FIND_CONTACT_DEFAULT_MAX_RESULTS = 100
View Source
const EDAM_FIND_CONTACT_MAX_RESULTS = 256
View Source
const EDAM_FOOD_APP_CONTENT_CLASS_PREFIX = "evernote.food."
View Source
const EDAM_GET_ORDERS_MAX_RESULTS = 2000
View Source
const EDAM_GUID_LEN_MAX = 36
View Source
const EDAM_GUID_LEN_MIN = 36
View Source
const EDAM_GUID_REGEX = "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
View Source
const EDAM_HASH_LEN = 16
View Source
const EDAM_HELLO_APP_CONTENT_CLASS_PREFIX = "evernote.hello."
View Source
const EDAM_MAX_PREFERENCES = 100
View Source
const EDAM_MAX_VALUES_PER_PREFERENCE = 256
View Source
const EDAM_MESSAGE_ATTACHMENTS_MAX = 100
View Source
const EDAM_MESSAGE_ATTACHMENT_SNIPPET_LEN_MAX = 2048
View Source
const EDAM_MESSAGE_ATTACHMENT_SNIPPET_REGEX = "^[^\\p{Cc}\\p{Z}]([\\n[^\\p{Cc}\\p{Zl}\\p{Zp}]]{0,2046}[^\\p{Cc}\\p{Z}])?$"
View Source
const EDAM_MESSAGE_ATTACHMENT_TITLE_LEN_MAX = 255
View Source
const EDAM_MESSAGE_ATTACHMENT_TITLE_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,253}[^\\p{Cc}\\p{Z}])?$"
View Source
const EDAM_MESSAGE_BODY_LEN_MAX = 2048
View Source
const EDAM_MESSAGE_BODY_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,2046}[^\\p{Cc}\\p{Z}])?$"
View Source
const EDAM_MESSAGE_RECIPIENTS_MAX = 50
View Source
const EDAM_MIME_LEN_MAX = 255
View Source
const EDAM_MIME_LEN_MIN = 3
View Source
const EDAM_MIME_REGEX = "^[A-Za-z]+/[A-Za-z0-9._+-]+$"
View Source
const EDAM_MIME_TYPE_AAC = "audio/aac"
View Source
const EDAM_MIME_TYPE_AMR = "audio/amr"
View Source
const EDAM_MIME_TYPE_BMP = "image/bmp"
View Source
const EDAM_MIME_TYPE_DEFAULT = "application/octet-stream"
View Source
const EDAM_MIME_TYPE_GIF = "image/gif"
View Source
const EDAM_MIME_TYPE_INK = "application/vnd.evernote.ink"
View Source
const EDAM_MIME_TYPE_JPEG = "image/jpeg"
View Source
const EDAM_MIME_TYPE_M4A = "audio/mp4"
View Source
const EDAM_MIME_TYPE_MP3 = "audio/mpeg"
View Source
const EDAM_MIME_TYPE_MP4_VIDEO = "video/mp4"
View Source
const EDAM_MIME_TYPE_PDF = "application/pdf"
View Source
const EDAM_MIME_TYPE_PNG = "image/png"
View Source
const EDAM_MIME_TYPE_TIFF = "image/tiff"
View Source
const EDAM_MIME_TYPE_WAV = "audio/wav"
View Source
const EDAM_NOTEBOOK_BUSINESS_SHARED_NOTEBOOK_MAX = 5000
View Source
const EDAM_NOTEBOOK_NAME_LEN_MAX = 100
View Source
const EDAM_NOTEBOOK_NAME_LEN_MIN = 1
View Source
const EDAM_NOTEBOOK_NAME_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"
View Source
const EDAM_NOTEBOOK_PERSONAL_SHARED_NOTEBOOK_MAX = 500
View Source
const EDAM_NOTEBOOK_STACK_LEN_MAX = 100
View Source
const EDAM_NOTEBOOK_STACK_LEN_MIN = 1
View Source
const EDAM_NOTEBOOK_STACK_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"
View Source
const EDAM_NOTE_BUSINESS_SHARED_NOTE_MAX = 1000
View Source
const EDAM_NOTE_CONTENT_CLASS_LEN_MAX = 32
View Source
const EDAM_NOTE_CONTENT_CLASS_LEN_MIN = 3
View Source
const EDAM_NOTE_CONTENT_CLASS_REGEX = "^[A-Za-z0-9_.-]{3,32}$"
View Source
const EDAM_NOTE_CONTENT_LEN_MAX = 5242880
View Source
const EDAM_NOTE_CONTENT_LEN_MIN = 0
View Source
const EDAM_NOTE_LOCK_VIEWERS_NOTES_MAX = 150
View Source
const EDAM_NOTE_PERSONAL_SHARED_NOTE_MAX = 100
View Source
const EDAM_NOTE_RESOURCES_MAX = 1000
View Source
const EDAM_NOTE_SIZE_MAX_FREE = 26214400
View Source
const EDAM_NOTE_SIZE_MAX_PREMIUM = 209715200
View Source
const EDAM_NOTE_SOURCE_MAIL_CLIP = "mail.clip"
View Source
const EDAM_NOTE_SOURCE_MAIL_SMTP_GATEWAY = "mail.smtp"
View Source
const EDAM_NOTE_SOURCE_WEB_CLIP = "web.clip"
View Source
const EDAM_NOTE_SOURCE_WEB_CLIP_SIMPLIFIED = "Clearly"
View Source
const EDAM_NOTE_TAGS_MAX = 100
View Source
const EDAM_NOTE_TITLE_LEN_MAX = 255
View Source
const EDAM_NOTE_TITLE_LEN_MIN = 1
View Source
const EDAM_NOTE_TITLE_QUALITY_HIGH = 3
View Source
const EDAM_NOTE_TITLE_QUALITY_LOW = 1
View Source
const EDAM_NOTE_TITLE_QUALITY_MEDIUM = 2
View Source
const EDAM_NOTE_TITLE_QUALITY_UNTITLED = 0
View Source
const EDAM_NOTE_TITLE_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,253}[^\\p{Cc}\\p{Z}])?$"
View Source
const EDAM_OPEN_ID_ACCESS_TOKEN_MAX = 1000
View Source
const EDAM_PREFERENCE_BUSINESS_DEFAULT_NOTEBOOK = "evernote.business.notebook"
View Source
const EDAM_PREFERENCE_BUSINESS_QUICKNOTE = "evernote.business.quicknote"
View Source
const EDAM_PREFERENCE_NAME_LEN_MAX = 32
View Source
const EDAM_PREFERENCE_NAME_LEN_MIN = 3
View Source
const EDAM_PREFERENCE_NAME_REGEX = "^[A-Za-z0-9_.-]{3,32}$"
View Source
const EDAM_PREFERENCE_ONLY_ONE_VALUE_LEN_MAX = 16384
View Source
const EDAM_PREFERENCE_ONLY_ONE_VALUE_REGEX = "^[^\\p{Cc}]{1,16384}$"
View Source
const EDAM_PREFERENCE_SHORTCUTS = "evernote.shortcuts"
View Source
const EDAM_PREFERENCE_SHORTCUTS_MAX_VALUES = 250
View Source
const EDAM_PREFERENCE_VALUE_LEN_MAX = 1024
View Source
const EDAM_PREFERENCE_VALUE_LEN_MIN = 1
View Source
const EDAM_PREFERENCE_VALUE_REGEX = "^[^\\p{Cc}]{1,1024}$"
View Source
const EDAM_PROMOTION_ID_LEN_MAX = 32
View Source
const EDAM_PROMOTION_ID_REGEX = "^[A-Za-z0-9_.-]{1,32}$"
View Source
const EDAM_PUBLISHING_DESCRIPTION_LEN_MAX = 200
View Source
const EDAM_PUBLISHING_DESCRIPTION_LEN_MIN = 1
View Source
const EDAM_PUBLISHING_DESCRIPTION_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,198}[^\\p{Cc}\\p{Z}])?$"
View Source
const EDAM_PUBLISHING_URI_LEN_MAX = 255
View Source
const EDAM_PUBLISHING_URI_LEN_MIN = 1
View Source
const EDAM_PUBLISHING_URI_REGEX = "^[a-zA-Z0-9.~_+-]{1,255}$"
View Source
const EDAM_RELATED_MAX_EXPERTS = 10
View Source
const EDAM_RELATED_MAX_NOTEBOOKS = 1
View Source
const EDAM_RELATED_MAX_NOTES = 25
View Source
const EDAM_RELATED_MAX_RELATED_CONTENT = 10
View Source
const EDAM_RELATED_MAX_TAGS = 25
View Source
const EDAM_RELATED_PLAINTEXT_LEN_MAX = 131072
View Source
const EDAM_RELATED_PLAINTEXT_LEN_MIN = 1
View Source
const EDAM_RESOURCE_SIZE_MAX_FREE = 26214400
View Source
const EDAM_RESOURCE_SIZE_MAX_PREMIUM = 209715200
View Source
const EDAM_SAVED_SEARCH_NAME_LEN_MAX = 100
View Source
const EDAM_SAVED_SEARCH_NAME_LEN_MIN = 1
View Source
const EDAM_SAVED_SEARCH_NAME_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"
View Source
const EDAM_SEARCH_QUERY_LEN_MAX = 1024
View Source
const EDAM_SEARCH_QUERY_LEN_MIN = 0
View Source
const EDAM_SEARCH_QUERY_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{0,1024}$"
View Source
const EDAM_SEARCH_SUGGESTIONS_MAX = 10
View Source
const EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MAX = 1024
View Source
const EDAM_SEARCH_SUGGESTIONS_PREFIX_LEN_MIN = 2
View Source
const EDAM_SNIPPETS_NOTES_MAX = 24
View Source
const EDAM_SOURCE_APPLICATION_ANDROID_SHARE_EXTENSION = "android.clipper.evernote"
View Source
const EDAM_SOURCE_APPLICATION_EN_SCANSNAP = "scanner.scansnap.evernote"
View Source
const EDAM_SOURCE_APPLICATION_EWC = "clipncite.web"
View Source
const EDAM_SOURCE_APPLICATION_IOS_SHARE_EXTENSION = "ios.clipper.evernote"
View Source
const EDAM_SOURCE_APPLICATION_MOLESKINE = "moleskine"
View Source
const EDAM_SOURCE_APPLICATION_POSTIT = "postit"
View Source
const EDAM_SOURCE_APPLICATION_WEB_CLIPPER = "webclipper.evernote"
View Source
const EDAM_SOURCE_OUTLOOK_CLIPPER = "app.ms.outlook"
View Source
const EDAM_TAG_NAME_LEN_MAX = 100
View Source
const EDAM_TAG_NAME_LEN_MIN = 1
View Source
const EDAM_TAG_NAME_REGEX = "^[^,\\p{Cc}\\p{Z}]([^,\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^,\\p{Cc}\\p{Z}])?$"
View Source
const EDAM_TIMEZONE_LEN_MAX = 32
View Source
const EDAM_TIMEZONE_LEN_MIN = 1
View Source
const EDAM_TIMEZONE_REGEX = "^([A-Za-z_-]+(/[A-Za-z_-]+)*)|(GMT(-|\\+)[0-9]{1,2}(:[0-9]{2})?)$"
View Source
const EDAM_USER_LINKED_NOTEBOOK_MAX = 100
View Source
const EDAM_USER_LINKED_NOTEBOOK_MAX_PREMIUM = 500
View Source
const EDAM_USER_MAIL_LIMIT_DAILY_FREE = 50
View Source
const EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM = 200
View Source
const EDAM_USER_NAME_LEN_MAX = 255
View Source
const EDAM_USER_NAME_LEN_MIN = 1
View Source
const EDAM_USER_NAME_REGEX = "^[^\\p{Cc}\\p{Zl}\\p{Zp}]{1,255}$"
View Source
const EDAM_USER_NOTEBOOKS_MAX = 250
View Source
const EDAM_USER_NOTES_MAX = 100000
View Source
const EDAM_USER_PASSWORD_LEN_MAX = 64
View Source
const EDAM_USER_PASSWORD_LEN_MIN = 6
View Source
const EDAM_USER_PASSWORD_REGEX = "^[A-Za-z0-9!#$%&'()*+,./:;<=>?@^_`{|}~\\[\\]\\\\-]{6,64}$"
View Source
const EDAM_USER_PROFILE_PHOTO_MAX_BYTES = 716800
View Source
const EDAM_USER_RECENT_MAILED_ADDRESSES_MAX = 10
View Source
const EDAM_USER_SAVED_SEARCHES_MAX = 100
View Source
const EDAM_USER_TAGS_MAX = 100000
View Source
const EDAM_USER_UPLOAD_LIMIT_BUSINESS = 10737418240
View Source
const EDAM_USER_UPLOAD_LIMIT_BUSINESS_FIRST_MONTH = 53687091200
View Source
const EDAM_USER_UPLOAD_LIMIT_BUSINESS_NEXT_MONTH = 21474836480
View Source
const EDAM_USER_UPLOAD_LIMIT_BUSINESS_PER_USER = 2147483647
View Source
const EDAM_USER_UPLOAD_LIMIT_FREE = 62914560
View Source
const EDAM_USER_UPLOAD_LIMIT_PLUS = 1073741824
View Source
const EDAM_USER_UPLOAD_LIMIT_PREMIUM = 10737418240
View Source
const EDAM_USER_UPLOAD_SURVEY_THRESHOLD = 5368709120
View Source
const EDAM_USER_USERNAME_LEN_MAX = 64
View Source
const EDAM_USER_USERNAME_LEN_MIN = 1
View Source
const EDAM_USER_USERNAME_REGEX = "^[a-z0-9]([a-z0-9_-]{0,62}[a-z0-9])?$"
View Source
const EDAM_USER_WORKSPACES_MAX = 0
View Source
const EDAM_VAT_REGEX = "" /* 593-byte string literal not displayed */
View Source
const EDAM_VERSION_MAJOR = 1
View Source
const EDAM_VERSION_MINOR = 28
View Source
const EDAM_WORKSPACE_DESCRIPTION_LEN_MAX = 600
View Source
const EDAM_WORKSPACE_NAME_LEN_MAX = 100
View Source
const EDAM_WORKSPACE_NAME_LEN_MIN = 1
View Source
const EDAM_WORKSPACE_NAME_REGEX = "^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"

Variables

View Source
var AccountLimits_NoteResourceCountMax_DEFAULT int32
View Source
var AccountLimits_NoteSizeMax_DEFAULT int64
View Source
var AccountLimits_NoteTagCountMax_DEFAULT int32
View Source
var AccountLimits_ResourceSizeMax_DEFAULT int64
View Source
var AccountLimits_UploadLimit_DEFAULT int64
View Source
var AccountLimits_UserLinkedNotebookMax_DEFAULT int32
View Source
var AccountLimits_UserMailLimitDaily_DEFAULT int32
View Source
var AccountLimits_UserNoteCountMax_DEFAULT int32
View Source
var AccountLimits_UserNotebookCountMax_DEFAULT int32
View Source
var AccountLimits_UserSavedSearchesMax_DEFAULT int32
View Source
var AccountLimits_UserTagCountMax_DEFAULT int32
View Source
var Accounting_AvailablePoints_DEFAULT int32
View Source
var Accounting_BusinessId_DEFAULT int32
View Source
var Accounting_BusinessName_DEFAULT string
View Source
var Accounting_Currency_DEFAULT string
View Source
var Accounting_LastFailedChargeReason_DEFAULT string
View Source
var Accounting_PremiumCommerceService_DEFAULT string
View Source
var Accounting_PremiumOrderNumber_DEFAULT string
View Source
var Accounting_PremiumServiceSKU_DEFAULT string
View Source
var Accounting_PremiumSubscriptionNumber_DEFAULT string
View Source
var Accounting_UnitDiscount_DEFAULT int32
View Source
var Accounting_UnitPrice_DEFAULT int32
View Source
var Accounting_UploadLimitNextMonth_DEFAULT int64
View Source
var AuthenticationResult__NoteStoreUrl_DEFAULT string
View Source
var AuthenticationResult__SecondFactorDeliveryHint_DEFAULT string
View Source
var AuthenticationResult__SecondFactorRequired_DEFAULT bool
View Source
var AuthenticationResult__WebApiUrlPrefix_DEFAULT string
View Source
var BootstrapSettings_EnableFacebookSharing_DEFAULT bool
View Source
var BootstrapSettings_EnableGiftSubscriptions_DEFAULT bool
View Source
var BootstrapSettings_EnableGoogle_DEFAULT bool
View Source
var BootstrapSettings_EnableLinkedInSharing_DEFAULT bool
View Source
var BootstrapSettings_EnablePublicNotebooks_DEFAULT bool
View Source
var BootstrapSettings_EnableSharedNotebooks_DEFAULT bool
View Source
var BootstrapSettings_EnableSingleNoteSharing_DEFAULT bool
View Source
var BootstrapSettings_EnableSponsoredAccounts_DEFAULT bool
View Source
var BootstrapSettings_EnableSupportTickets_DEFAULT bool
View Source
var BootstrapSettings_EnableTwitterSharing_DEFAULT bool
View Source
var BusinessInvitation_BusinessId_DEFAULT int32
View Source
var BusinessInvitation_Email_DEFAULT string
View Source
var BusinessInvitation_FromWorkChat_DEFAULT bool
View Source
var BusinessNotebook_NotebookDescription_DEFAULT string
View Source
var BusinessNotebook_Recommended_DEFAULT bool
View Source
var BusinessUserAttributes_Department_DEFAULT string
View Source
var BusinessUserAttributes_LinkedInProfileUrl_DEFAULT string
View Source
var BusinessUserAttributes_Location_DEFAULT string
View Source
var BusinessUserAttributes_MobilePhone_DEFAULT string
View Source
var BusinessUserAttributes_Title_DEFAULT string
View Source
var BusinessUserAttributes_WorkPhone_DEFAULT string
View Source
var BusinessUserInfo_BusinessId_DEFAULT int32
View Source
var BusinessUserInfo_BusinessName_DEFAULT string
View Source
var BusinessUserInfo_Email_DEFAULT string
View Source
var Contact_ID_DEFAULT string
View Source
var Contact_MessagingPermit_DEFAULT []byte
View Source
var Contact_Name_DEFAULT string
View Source
var Contact_PhotoUrl_DEFAULT string
View Source
var CreateOrUpdateNotebookSharesResult__MatchingShares_DEFAULT []*SharedNotebook
View Source
var CreateOrUpdateNotebookSharesResult__UpdateSequenceNum_DEFAULT int32
View Source
var Data_BodyHash_DEFAULT []byte
View Source
var Data_Body_DEFAULT []byte
View Source
var Data_Size_DEFAULT int32
View Source
var EDAMInvalidContactsException_Parameter_DEFAULT string
View Source
var EDAMInvalidContactsException_Reasons_DEFAULT []EDAMInvalidContactReason
View Source
var EDAMNotFoundException_Identifier_DEFAULT string
View Source
var EDAMNotFoundException_Key_DEFAULT string
View Source
var EDAMSystemException_Message_DEFAULT string
View Source
var EDAMSystemException_RateLimitDuration_DEFAULT int32
View Source
var EDAMUserException_Parameter_DEFAULT string
View Source
var EDAM_INDEXABLE_PLAINTEXT_MIME_TYPES []string
View Source
var EDAM_INDEXABLE_RESOURCE_MIME_TYPES []string
View Source
var EDAM_MIME_TYPES []string
View Source
var EDAM_PUBLISHING_URI_PROHIBITED []string
View Source
var GoUnusedProtection__ int
View Source
var Identity_Blocked_DEFAULT bool
View Source
var Identity_Deactivated_DEFAULT bool
View Source
var Identity_SameBusiness_DEFAULT bool
View Source
var Identity_UserConnected_DEFAULT bool
View Source
var InvitationShareRelationship_DisplayName_DEFAULT string
View Source
var LazyMap_FullMap_DEFAULT map[string]string
View Source
var LazyMap_KeysOnly_DEFAULT []string
View Source
var LinkedNotebook_BusinessId_DEFAULT int32
View Source
var LinkedNotebook_NoteStoreUrl_DEFAULT string
View Source
var LinkedNotebook_ShardId_DEFAULT string
View Source
var LinkedNotebook_ShareName_DEFAULT string
View Source
var LinkedNotebook_SharedNotebookGlobalId_DEFAULT string
View Source
var LinkedNotebook_Stack_DEFAULT string
View Source
var LinkedNotebook_URI_DEFAULT string
View Source
var LinkedNotebook_UpdateSequenceNum_DEFAULT int32
View Source
var LinkedNotebook_Username_DEFAULT string
View Source
var LinkedNotebook_WebApiUrlPrefix_DEFAULT string
View Source
var ManageNoteSharesParameters_InvitationsToUnshare_DEFAULT []IdentityID
View Source
var ManageNoteSharesParameters_InvitationsToUpdate_DEFAULT []*NoteInvitationShareRelationship
View Source
var ManageNoteSharesParameters_MembershipsToUnshare_DEFAULT []UserID
View Source
var ManageNoteSharesParameters_MembershipsToUpdate_DEFAULT []*NoteMemberShareRelationship
View Source
var ManageNoteSharesParameters_NoteGuid_DEFAULT string
View Source
var ManageNoteSharesResult__Errors_DEFAULT []*ManageNoteSharesError
View Source
var ManageNotebookSharesParameters_InvitationsToCreateOrUpdate_DEFAULT []*InvitationShareRelationship
View Source
var ManageNotebookSharesParameters_InviteMessage_DEFAULT string
View Source
var ManageNotebookSharesParameters_MembershipsToUpdate_DEFAULT []*MemberShareRelationship
View Source
var ManageNotebookSharesParameters_NotebookGuid_DEFAULT string
View Source
var ManageNotebookSharesParameters_Unshares_DEFAULT []*UserIdentity
View Source
var ManageNotebookSharesResult__Errors_DEFAULT []*ManageNotebookSharesError
View Source
var MemberShareRelationship_DisplayName_DEFAULT string
View Source
var NoteAttributes_Altitude_DEFAULT float64
View Source
var NoteAttributes_Author_DEFAULT string
View Source
var NoteAttributes_Classifications_DEFAULT map[string]string
View Source
var NoteAttributes_ContentClass_DEFAULT string
View Source
var NoteAttributes_LastEditedBy_DEFAULT string
View Source
var NoteAttributes_Latitude_DEFAULT float64
View Source
var NoteAttributes_Longitude_DEFAULT float64
View Source
var NoteAttributes_NoteTitleQuality_DEFAULT int32
View Source
var NoteAttributes_PlaceName_DEFAULT string
View Source
var NoteAttributes_ReminderOrder_DEFAULT int64
View Source
var NoteAttributes_SharedWithBusiness_DEFAULT bool
View Source
var NoteAttributes_SourceApplication_DEFAULT string
View Source
var NoteAttributes_SourceURL_DEFAULT string
View Source
var NoteAttributes_Source_DEFAULT string
View Source
var NoteCollectionCounts_NotebookCounts_DEFAULT map[GUID]int32
View Source
var NoteCollectionCounts_TagCounts_DEFAULT map[GUID]int32
View Source
var NoteCollectionCounts_TrashCount_DEFAULT int32
View Source
var NoteEmailParameters_CcAddresses_DEFAULT []string
View Source
var NoteEmailParameters_GUID_DEFAULT string
View Source
var NoteEmailParameters_Message_DEFAULT string
View Source
var NoteEmailParameters_Subject_DEFAULT string
View Source
var NoteEmailParameters_ToAddresses_DEFAULT []string
View Source
var NoteFilter_Ascending_DEFAULT bool
View Source
var NoteFilter_Context_DEFAULT string
View Source
var NoteFilter_Emphasized_DEFAULT string
View Source
var NoteFilter_Inactive_DEFAULT bool
View Source
var NoteFilter_IncludeAllReadableNotebooks_DEFAULT bool
View Source
var NoteFilter_IncludeAllReadableWorkspaces_DEFAULT bool
View Source
var NoteFilter_Order_DEFAULT int32
View Source
var NoteFilter_RawWords_DEFAULT string
View Source
var NoteFilter_SearchContextBytes_DEFAULT []byte
View Source
var NoteFilter_TagGuids_DEFAULT []GUID
View Source
var NoteFilter_TimeZone_DEFAULT string
View Source
var NoteFilter_Words_DEFAULT string
View Source
var NoteInvitationShareRelationship_DisplayName_DEFAULT string
View Source
var NoteLimits_NoteResourceCountMax_DEFAULT int32
View Source
var NoteLimits_NoteSizeMax_DEFAULT int64
View Source
var NoteLimits_ResourceSizeMax_DEFAULT int64
View Source
var NoteLimits_UploadLimit_DEFAULT int64
View Source
var NoteLimits_Uploaded_DEFAULT int64
View Source
var NoteList_DebugInfo_DEFAULT string
View Source
var NoteList_SearchContextBytes_DEFAULT []byte
View Source
var NoteList_SearchedWords_DEFAULT []string
View Source
var NoteList_StoppedWords_DEFAULT []string
View Source
var NoteList_UpdateCount_DEFAULT int32
View Source
var NoteMemberShareRelationship_DisplayName_DEFAULT string
View Source
var NoteMetadata_ContentLength_DEFAULT int32
View Source
var NoteMetadata_LargestResourceMime_DEFAULT string
View Source
var NoteMetadata_LargestResourceSize_DEFAULT int32
View Source
var NoteMetadata_NotebookGuid_DEFAULT string
View Source
var NoteMetadata_TagGuids_DEFAULT []GUID
View Source
var NoteMetadata_Title_DEFAULT string
View Source
var NoteMetadata_UpdateSequenceNum_DEFAULT int32
View Source
var NoteRestrictions_NoEmail_DEFAULT bool
View Source
var NoteRestrictions_NoSharePublicly_DEFAULT bool
View Source
var NoteRestrictions_NoShare_DEFAULT bool
View Source
var NoteRestrictions_NoUpdateContent_DEFAULT bool
View Source
var NoteRestrictions_NoUpdateTitle_DEFAULT bool
View Source
var NoteResultSpec_IncludeAccountLimits_DEFAULT bool
View Source
var NoteResultSpec_IncludeContent_DEFAULT bool
View Source
var NoteResultSpec_IncludeNoteAppDataValues_DEFAULT bool
View Source
var NoteResultSpec_IncludeResourceAppDataValues_DEFAULT bool
View Source
var NoteResultSpec_IncludeResourcesAlternateData_DEFAULT bool
View Source
var NoteResultSpec_IncludeResourcesData_DEFAULT bool
View Source
var NoteResultSpec_IncludeResourcesRecognition_DEFAULT bool
View Source
var NoteResultSpec_IncludeSharedNotes_DEFAULT bool
View Source
var NoteShareRelationshipRestrictions_NoSetFullAccess_DEFAULT bool
View Source
var NoteShareRelationshipRestrictions_NoSetModifyNote_DEFAULT bool
View Source
var NoteShareRelationshipRestrictions_NoSetReadNote_DEFAULT bool
View Source
var NoteShareRelationships_Invitations_DEFAULT []*NoteInvitationShareRelationship
View Source
var NoteShareRelationships_Memberships_DEFAULT []*NoteMemberShareRelationship
View Source
var NoteStoreDeleteNoteResult_Success_DEFAULT int32
View Source
var NoteStoreExpungeLinkedNotebookResult_Success_DEFAULT int32
View Source
var NoteStoreExpungeNoteResult_Success_DEFAULT int32
View Source
var NoteStoreExpungeNotebookResult_Success_DEFAULT int32
View Source
var NoteStoreExpungeSearchResult_Success_DEFAULT int32
View Source
var NoteStoreExpungeTagResult_Success_DEFAULT int32
View Source
var NoteStoreFindNoteOffsetResult_Success_DEFAULT int32
View Source
var NoteStoreGetNoteApplicationDataEntryResult_Success_DEFAULT string
View Source
var NoteStoreGetNoteContentResult_Success_DEFAULT string
View Source
var NoteStoreGetNoteSearchTextResult_Success_DEFAULT string
View Source
var NoteStoreGetNoteTagNamesResult_Success_DEFAULT []string
View Source
var NoteStoreGetResourceAlternateDataResult_Success_DEFAULT []byte
View Source
var NoteStoreGetResourceApplicationDataEntryResult_Success_DEFAULT string
View Source
var NoteStoreGetResourceDataResult_Success_DEFAULT []byte
View Source
var NoteStoreGetResourceRecognitionResult_Success_DEFAULT []byte
View Source
var NoteStoreGetResourceSearchTextResult_Success_DEFAULT string
View Source
var NoteStoreListAccessibleBusinessNotebooksResult_Success_DEFAULT []*Notebook
View Source
var NoteStoreListLinkedNotebooksResult_Success_DEFAULT []*LinkedNotebook
View Source
var NoteStoreListNoteVersionsResult_Success_DEFAULT []*NoteVersionId
View Source
var NoteStoreListNotebooksResult_Success_DEFAULT []*Notebook
View Source
var NoteStoreListSearchesResult_Success_DEFAULT []*SavedSearch
View Source
var NoteStoreListSharedNotebooksResult_Success_DEFAULT []*SharedNotebook
View Source
var NoteStoreListTagsByNotebookResult_Success_DEFAULT []*Tag
View Source
var NoteStoreListTagsResult_Success_DEFAULT []*Tag
View Source
var NoteStoreSetNoteApplicationDataEntryResult_Success_DEFAULT int32
View Source
var NoteStoreSetResourceApplicationDataEntryResult_Success_DEFAULT int32
View Source
var NoteStoreShareNoteResult_Success_DEFAULT string
View Source
var NoteStoreUnsetNoteApplicationDataEntryResult_Success_DEFAULT int32
View Source
var NoteStoreUnsetResourceApplicationDataEntryResult_Success_DEFAULT int32
View Source
var NoteStoreUpdateLinkedNotebookResult_Success_DEFAULT int32
View Source
var NoteStoreUpdateNotebookResult_Success_DEFAULT int32
View Source
var NoteStoreUpdateResourceResult_Success_DEFAULT int32
View Source
var NoteStoreUpdateSearchResult_Success_DEFAULT int32
View Source
var NoteStoreUpdateSharedNotebookResult_Success_DEFAULT int32
View Source
var NoteStoreUpdateTagResult_Success_DEFAULT int32
View Source
var Note_Active_DEFAULT bool
View Source
var Note_ContentHash_DEFAULT []byte
View Source
var Note_ContentLength_DEFAULT int32
View Source
var Note_Content_DEFAULT string
View Source
var Note_NotebookGuid_DEFAULT string
View Source
var Note_Resources_DEFAULT []*Resource
View Source
var Note_SharedNotes_DEFAULT []*SharedNote
View Source
var Note_TagGuids_DEFAULT []GUID
View Source
var Note_TagNames_DEFAULT []string
View Source
var Note_Title_DEFAULT string
View Source
var Note_UpdateSequenceNum_DEFAULT int32
View Source
var NotebookDescriptor_ContactName_DEFAULT string
View Source
var NotebookDescriptor_HasSharedNotebook_DEFAULT bool
View Source
var NotebookDescriptor_JoinedUserCount_DEFAULT int32
View Source
var NotebookDescriptor_NotebookDisplayName_DEFAULT string
View Source
var NotebookRecipientSettings_InMyList_DEFAULT bool
View Source
var NotebookRecipientSettings_ReminderNotifyEmail_DEFAULT bool
View Source
var NotebookRecipientSettings_ReminderNotifyInApp_DEFAULT bool
View Source
var NotebookRecipientSettings_Stack_DEFAULT string
View Source
var NotebookRestrictions_NoCanMoveNote_DEFAULT bool
View Source
var NotebookRestrictions_NoChangeContact_DEFAULT bool
View Source
var NotebookRestrictions_NoCreateNotes_DEFAULT bool
View Source
var NotebookRestrictions_NoCreateSharedNotebooks_DEFAULT bool
View Source
var NotebookRestrictions_NoCreateTags_DEFAULT bool
View Source
var NotebookRestrictions_NoEmailNotes_DEFAULT bool
View Source
var NotebookRestrictions_NoExpungeNotebook_DEFAULT bool
View Source
var NotebookRestrictions_NoExpungeNotes_DEFAULT bool
View Source
var NotebookRestrictions_NoExpungeTags_DEFAULT bool
View Source
var NotebookRestrictions_NoPublishToBusinessLibrary_DEFAULT bool
View Source
var NotebookRestrictions_NoPublishToPublic_DEFAULT bool
View Source
var NotebookRestrictions_NoReadNotes_DEFAULT bool
View Source
var NotebookRestrictions_NoRenameNotebook_DEFAULT bool
View Source
var NotebookRestrictions_NoSendMessageToRecipients_DEFAULT bool
View Source
var NotebookRestrictions_NoSetDefaultNotebook_DEFAULT bool
View Source
var NotebookRestrictions_NoSetInMyList_DEFAULT bool
View Source
var NotebookRestrictions_NoSetNotebookStack_DEFAULT bool
View Source
var NotebookRestrictions_NoSetParentTag_DEFAULT bool
View Source
var NotebookRestrictions_NoSetRecipientSettingsStack_DEFAULT bool
View Source
var NotebookRestrictions_NoSetReminderNotifyEmail_DEFAULT bool
View Source
var NotebookRestrictions_NoSetReminderNotifyInApp_DEFAULT bool
View Source
var NotebookRestrictions_NoShareNotesWithBusiness_DEFAULT bool
View Source
var NotebookRestrictions_NoShareNotes_DEFAULT bool
View Source
var NotebookRestrictions_NoUpdateNotebook_DEFAULT bool
View Source
var NotebookRestrictions_NoUpdateNotes_DEFAULT bool
View Source
var NotebookRestrictions_NoUpdateTags_DEFAULT bool
View Source
var NotebookShareTemplate_RecipientContacts_DEFAULT []*Contact
View Source
var Notebook_DefaultNotebook_DEFAULT bool
View Source
var Notebook_Name_DEFAULT string
View Source
var Notebook_Published_DEFAULT bool
View Source
var Notebook_SharedNotebookIds_DEFAULT []int64
View Source
var Notebook_SharedNotebooks_DEFAULT []*SharedNotebook
View Source
var Notebook_Stack_DEFAULT string
View Source
var Notebook_UpdateSequenceNum_DEFAULT int32
View Source
var NotesMetadataList_DebugInfo_DEFAULT string
View Source
var NotesMetadataList_SearchContextBytes_DEFAULT []byte
View Source
var NotesMetadataList_SearchedWords_DEFAULT []string
View Source
var NotesMetadataList_StoppedWords_DEFAULT []string
View Source
var NotesMetadataList_UpdateCount_DEFAULT int32
View Source
var NotesMetadataResultSpec_IncludeAttributes_DEFAULT bool
View Source
var NotesMetadataResultSpec_IncludeContentLength_DEFAULT bool
View Source
var NotesMetadataResultSpec_IncludeCreated_DEFAULT bool
View Source
var NotesMetadataResultSpec_IncludeDeleted_DEFAULT bool
View Source
var NotesMetadataResultSpec_IncludeLargestResourceMime_DEFAULT bool
View Source
var NotesMetadataResultSpec_IncludeLargestResourceSize_DEFAULT bool
View Source
var NotesMetadataResultSpec_IncludeNotebookGuid_DEFAULT bool
View Source
var NotesMetadataResultSpec_IncludeTagGuids_DEFAULT bool
View Source
var NotesMetadataResultSpec_IncludeTitle_DEFAULT bool
View Source
var NotesMetadataResultSpec_IncludeUpdateSequenceNum_DEFAULT bool
View Source
var NotesMetadataResultSpec_IncludeUpdated_DEFAULT bool
View Source
var PublicUserInfo_NoteStoreUrl_DEFAULT string
View Source
var PublicUserInfo_Username_DEFAULT string
View Source
var PublicUserInfo_WebApiUrlPrefix_DEFAULT string
View Source
var Publishing_Ascending_DEFAULT bool
View Source
var Publishing_PublicDescription_DEFAULT string
View Source
var Publishing_URI_DEFAULT string
View Source
var RelatedContentImage_FileSize_DEFAULT int32
View Source
var RelatedContentImage_Height_DEFAULT int32
View Source
var RelatedContentImage_PixelRatio_DEFAULT float64
View Source
var RelatedContentImage_URL_DEFAULT string
View Source
var RelatedContentImage_Width_DEFAULT int32
View Source
var RelatedContent_Authors_DEFAULT []string
View Source
var RelatedContent_ClipUrl_DEFAULT string
View Source
var RelatedContent_ContentId_DEFAULT string
View Source
var RelatedContent_SourceFaviconUrl_DEFAULT string
View Source
var RelatedContent_SourceId_DEFAULT string
View Source
var RelatedContent_SourceName_DEFAULT string
View Source
var RelatedContent_SourceUrl_DEFAULT string
View Source
var RelatedContent_Teaser_DEFAULT string
View Source
var RelatedContent_Thumbnails_DEFAULT []*RelatedContentImage
View Source
var RelatedContent_Title_DEFAULT string
View Source
var RelatedContent_URL_DEFAULT string
View Source
var RelatedContent_VisibleUrl_DEFAULT string
View Source
var RelatedQuery_CacheKey_DEFAULT string
View Source
var RelatedQuery_Context_DEFAULT string
View Source
var RelatedQuery_NoteGuid_DEFAULT string
View Source
var RelatedQuery_PlainText_DEFAULT string
View Source
var RelatedQuery_ReferenceUri_DEFAULT string
View Source
var RelatedResultSpec_IncludeContainingNotebooks_DEFAULT bool
View Source
var RelatedResultSpec_IncludeDebugInfo_DEFAULT bool
View Source
var RelatedResultSpec_MaxExperts_DEFAULT int32
View Source
var RelatedResultSpec_MaxNotebooks_DEFAULT int32
View Source
var RelatedResultSpec_MaxNotes_DEFAULT int32
View Source
var RelatedResultSpec_MaxRelatedContent_DEFAULT int32
View Source
var RelatedResultSpec_MaxTags_DEFAULT int32
View Source
var RelatedResultSpec_RelatedContentTypes_DEFAULT []RelatedContentType
View Source
var RelatedResultSpec_WritableNotebooksOnly_DEFAULT bool
View Source
var RelatedResult__CacheExpires_DEFAULT int32
View Source
var RelatedResult__CacheKey_DEFAULT string
View Source
var RelatedResult__ContainingNotebooks_DEFAULT []*NotebookDescriptor
View Source
var RelatedResult__DebugInfo_DEFAULT string
View Source
var RelatedResult__Experts_DEFAULT []*UserProfile
View Source
var RelatedResult__Notebooks_DEFAULT []*Notebook
View Source
var RelatedResult__Notes_DEFAULT []*Note
View Source
var RelatedResult__RelatedContent_DEFAULT []*RelatedContent
View Source
var RelatedResult__Tags_DEFAULT []*Tag
View Source
var ResourceAttributes_Altitude_DEFAULT float64
View Source
var ResourceAttributes_Attachment_DEFAULT bool
View Source
var ResourceAttributes_CameraMake_DEFAULT string
View Source
var ResourceAttributes_CameraModel_DEFAULT string
View Source
var ResourceAttributes_ClientWillIndex_DEFAULT bool
View Source
var ResourceAttributes_FileName_DEFAULT string
View Source
var ResourceAttributes_Latitude_DEFAULT float64
View Source
var ResourceAttributes_Longitude_DEFAULT float64
View Source
var ResourceAttributes_RecoType_DEFAULT string
View Source
var ResourceAttributes_SourceURL_DEFAULT string
View Source
var Resource_Active_DEFAULT bool
View Source
var Resource_Duration_DEFAULT int16
View Source
var Resource_Height_DEFAULT int16
View Source
var Resource_Mime_DEFAULT string
View Source
var Resource_UpdateSequenceNum_DEFAULT int32
View Source
var Resource_Width_DEFAULT int16
View Source
var SavedSearchScope_IncludeAccount_DEFAULT bool
View Source
var SavedSearchScope_IncludeBusinessLinkedNotebooks_DEFAULT bool
View Source
var SavedSearchScope_IncludePersonalLinkedNotebooks_DEFAULT bool
View Source
var SavedSearch_Name_DEFAULT string
View Source
var SavedSearch_Query_DEFAULT string
View Source
var SavedSearch_UpdateSequenceNum_DEFAULT int32
View Source
var ShareRelationshipRestrictions_NoSetFullAccess_DEFAULT bool
View Source
var ShareRelationshipRestrictions_NoSetModify_DEFAULT bool
View Source
var ShareRelationshipRestrictions_NoSetReadOnly_DEFAULT bool
View Source
var ShareRelationshipRestrictions_NoSetReadPlusActivity_DEFAULT bool
View Source
var ShareRelationships_Invitations_DEFAULT []*InvitationShareRelationship
View Source
var ShareRelationships_Memberships_DEFAULT []*MemberShareRelationship
View Source
var SharedNoteTemplate_RecipientContacts_DEFAULT []*Contact
View Source
var SharedNotebookRecipientSettings_ReminderNotifyEmail_DEFAULT bool
View Source
var SharedNotebookRecipientSettings_ReminderNotifyInApp_DEFAULT bool
View Source
var SharedNotebook_Email_DEFAULT string
View Source
var SharedNotebook_GlobalId_DEFAULT string
View Source
var SharedNotebook_ID_DEFAULT int64
View Source
var SharedNotebook_NotebookModifiable_DEFAULT bool
View Source
var SharedNotebook_RecipientUsername_DEFAULT string
View Source
var SharedNotebook_Username_DEFAULT string
View Source
var SyncChunkFilter_IncludeExpunged_DEFAULT bool
View Source
var SyncChunkFilter_IncludeLinkedNotebooks_DEFAULT bool
View Source
var SyncChunkFilter_IncludeNoteApplicationDataFullMap_DEFAULT bool
View Source
var SyncChunkFilter_IncludeNoteAttributes_DEFAULT bool
View Source
var SyncChunkFilter_IncludeNoteResourceApplicationDataFullMap_DEFAULT bool
View Source
var SyncChunkFilter_IncludeNoteResources_DEFAULT bool
View Source
var SyncChunkFilter_IncludeNotebooks_DEFAULT bool
View Source
var SyncChunkFilter_IncludeNotes_DEFAULT bool
View Source
var SyncChunkFilter_IncludeResourceApplicationDataFullMap_DEFAULT bool
View Source
var SyncChunkFilter_IncludeResources_DEFAULT bool
View Source
var SyncChunkFilter_IncludeSearches_DEFAULT bool
View Source
var SyncChunkFilter_IncludeSharedNotes_DEFAULT bool
View Source
var SyncChunkFilter_IncludeTags_DEFAULT bool
View Source
var SyncChunkFilter_NotebookGuids_DEFAULT []string
View Source
var SyncChunkFilter_OmitSharedNotebooks_DEFAULT bool
View Source
var SyncChunkFilter_RequireNoteContentClass_DEFAULT string
View Source
var SyncChunk_ChunkHighUSN_DEFAULT int32
View Source
var SyncChunk_ExpungedLinkedNotebooks_DEFAULT []GUID
View Source
var SyncChunk_ExpungedNotebooks_DEFAULT []GUID
View Source
var SyncChunk_ExpungedNotes_DEFAULT []GUID
View Source
var SyncChunk_ExpungedSearches_DEFAULT []GUID
View Source
var SyncChunk_ExpungedTags_DEFAULT []GUID
View Source
var SyncChunk_LinkedNotebooks_DEFAULT []*LinkedNotebook
View Source
var SyncChunk_Notebooks_DEFAULT []*Notebook
View Source
var SyncChunk_Notes_DEFAULT []*Note
View Source
var SyncChunk_Resources_DEFAULT []*Resource
View Source
var SyncChunk_Searches_DEFAULT []*SavedSearch
View Source
var SyncChunk_Tags_DEFAULT []*Tag
View Source
var SyncState_Uploaded_DEFAULT int64
View Source
var Tag_Name_DEFAULT string
View Source
var Tag_UpdateSequenceNum_DEFAULT int32
View Source
var UpdateNoteIfUsnMatchesResult__Updated_DEFAULT bool
View Source
var UserAttributes_BusinessAddress_DEFAULT string
View Source
var UserAttributes_ClipFullPage_DEFAULT bool
View Source
var UserAttributes_Comments_DEFAULT string
View Source
var UserAttributes_DailyEmailLimit_DEFAULT int32
View Source
var UserAttributes_DefaultLatitude_DEFAULT float64
View Source
var UserAttributes_DefaultLocationName_DEFAULT string
View Source
var UserAttributes_DefaultLongitude_DEFAULT float64
View Source
var UserAttributes_EducationalDiscount_DEFAULT bool
View Source
var UserAttributes_GroupName_DEFAULT string
View Source
var UserAttributes_HideSponsorBilling_DEFAULT bool
View Source
var UserAttributes_IncomingEmailAddress_DEFAULT string
View Source
var UserAttributes_MaxReferrals_DEFAULT int32
View Source
var UserAttributes_OptOutMachineLearning_DEFAULT bool
View Source
var UserAttributes_Preactivation_DEFAULT bool
View Source
var UserAttributes_PreferredCountry_DEFAULT string
View Source
var UserAttributes_PreferredLanguage_DEFAULT string
View Source
var UserAttributes_RecentMailedAddresses_DEFAULT []string
View Source
var UserAttributes_RecognitionLanguage_DEFAULT string
View Source
var UserAttributes_RefererCode_DEFAULT string
View Source
var UserAttributes_ReferralCount_DEFAULT int32
View Source
var UserAttributes_ReferralProof_DEFAULT string
View Source
var UserAttributes_SalesforcePushEnabled_DEFAULT bool
View Source
var UserAttributes_SentEmailCount_DEFAULT int32
View Source
var UserAttributes_ShouldLogClientEvent_DEFAULT bool
View Source
var UserAttributes_TwitterId_DEFAULT string
View Source
var UserAttributes_TwitterUserName_DEFAULT string
View Source
var UserAttributes_UseEmailAutoFiling_DEFAULT bool
View Source
var UserAttributes_ViewedPromotions_DEFAULT []string
View Source
var UserIdentity_LongIdentifier_DEFAULT int64
View Source
var UserIdentity_StringIdentifier_DEFAULT string
View Source
var UserProfile_Email_DEFAULT string
View Source
var UserProfile_Name_DEFAULT string
View Source
var UserProfile_PhotoUrl_DEFAULT string
View Source
var UserProfile_Username_DEFAULT string
View Source
var UserStoreCheckVersionResult_Success_DEFAULT bool
View Source
var UserStoreListBusinessInvitationsResult_Success_DEFAULT []*BusinessInvitation
View Source
var UserStoreListBusinessUsersResult_Success_DEFAULT []*UserProfile
View Source
var UserUrls_MessageStoreUrl_DEFAULT string
View Source
var UserUrls_NoteStoreUrl_DEFAULT string
View Source
var UserUrls_UserStoreUrl_DEFAULT string
View Source
var UserUrls_UserWebSocketUrl_DEFAULT string
View Source
var UserUrls_UtilityUrl_DEFAULT string
View Source
var UserUrls_WebApiUrlPrefix_DEFAULT string
View Source
var User_Active_DEFAULT bool
View Source
var User_Email_DEFAULT string
View Source
var User_Name_DEFAULT string
View Source
var User_PhotoUrl_DEFAULT string
View Source
var User_ShardId_DEFAULT string
View Source
var User_Timezone_DEFAULT string
View Source
var User_Username_DEFAULT string

Functions

This section is empty.

Types

type AccountLimits

type AccountLimits struct {
	UserMailLimitDaily    *int32 `thrift:"userMailLimitDaily,1" db:"userMailLimitDaily" json:"userMailLimitDaily,omitempty"`
	NoteSizeMax           *int64 `thrift:"noteSizeMax,2" db:"noteSizeMax" json:"noteSizeMax,omitempty"`
	ResourceSizeMax       *int64 `thrift:"resourceSizeMax,3" db:"resourceSizeMax" json:"resourceSizeMax,omitempty"`
	UserLinkedNotebookMax *int32 `thrift:"userLinkedNotebookMax,4" db:"userLinkedNotebookMax" json:"userLinkedNotebookMax,omitempty"`
	UploadLimit           *int64 `thrift:"uploadLimit,5" db:"uploadLimit" json:"uploadLimit,omitempty"`
	UserNoteCountMax      *int32 `thrift:"userNoteCountMax,6" db:"userNoteCountMax" json:"userNoteCountMax,omitempty"`
	UserNotebookCountMax  *int32 `thrift:"userNotebookCountMax,7" db:"userNotebookCountMax" json:"userNotebookCountMax,omitempty"`
	UserTagCountMax       *int32 `thrift:"userTagCountMax,8" db:"userTagCountMax" json:"userTagCountMax,omitempty"`
	NoteTagCountMax       *int32 `thrift:"noteTagCountMax,9" db:"noteTagCountMax" json:"noteTagCountMax,omitempty"`
	UserSavedSearchesMax  *int32 `thrift:"userSavedSearchesMax,10" db:"userSavedSearchesMax" json:"userSavedSearchesMax,omitempty"`
	NoteResourceCountMax  *int32 `thrift:"noteResourceCountMax,11" db:"noteResourceCountMax" json:"noteResourceCountMax,omitempty"`
}
This structure is used to provide account limits that are in effect for this user.

<dl>

<dt>userMailLimitDaily</dt>
  <dd>The number of emails of any type that can be sent by a user from the
      service per day.  If an email is sent to two different recipients, this
      counts as two emails.
  </dd>
<dt>noteSizeMax</dt>
  <dd>Maximum total size of a Note that can be added.  The size of a note is
      calculated as:
      ENML content length (in Unicode characters) plus the sum of all resource
      sizes (in bytes).
  </dd>
<dt>resourceSizeMax</dt>
  <dd>Maximum size of a resource, in bytes
  </dd>
<dt>userLinkedNotebookMax</dt>
  <dd>Maximum number of linked notebooks per account.
  </dd>
<dt>uploadLimit</dt>
  <dd>The number of bytes that can be uploaded to the account
  in the current month.  For new notes that are created, this is the length
  of the note content (in Unicode characters) plus the size of each resource
  (in bytes).  For edited notes, this is the the difference between the old
  length and the new length (if this is greater than 0) plus the size of
  each new resource.
  </dd>
<dt>userNoteCountMax</dt>
  <dd>Maximum number of Notes per user</dd>
<dt>userNotebookCountMax</dt>
  <dd>Maximum number of Notebooks per user</dd>
<dt>userTagCountMax</dt>
  <dd>Maximum number of Tags per account</dd>
<dt>noteTagCountMax</dt>
  <dd>Maximum number of Tags per Note</dd>
<dt>userSavedSearchesMax</dt>
  <dd>Maximum number of SavedSearches per account</dd>
<dt>noteResourceCountMax</dt>
  <dd>The maximum number of Resources per Note</dd>
</dl>

Attributes:

  • UserMailLimitDaily
  • NoteSizeMax
  • ResourceSizeMax
  • UserLinkedNotebookMax
  • UploadLimit
  • UserNoteCountMax
  • UserNotebookCountMax
  • UserTagCountMax
  • NoteTagCountMax
  • UserSavedSearchesMax
  • NoteResourceCountMax
var UserStoreGetAccountLimitsResult_Success_DEFAULT *AccountLimits
var User_AccountLimits_DEFAULT *AccountLimits

func NewAccountLimits

func NewAccountLimits() *AccountLimits

func (*AccountLimits) GetNoteResourceCountMax

func (p *AccountLimits) GetNoteResourceCountMax() int32

func (*AccountLimits) GetNoteSizeMax

func (p *AccountLimits) GetNoteSizeMax() int64

func (*AccountLimits) GetNoteTagCountMax

func (p *AccountLimits) GetNoteTagCountMax() int32

func (*AccountLimits) GetResourceSizeMax

func (p *AccountLimits) GetResourceSizeMax() int64

func (*AccountLimits) GetUploadLimit

func (p *AccountLimits) GetUploadLimit() int64

func (*AccountLimits) GetUserLinkedNotebookMax

func (p *AccountLimits) GetUserLinkedNotebookMax() int32

func (*AccountLimits) GetUserMailLimitDaily

func (p *AccountLimits) GetUserMailLimitDaily() int32

func (*AccountLimits) GetUserNoteCountMax

func (p *AccountLimits) GetUserNoteCountMax() int32

func (*AccountLimits) GetUserNotebookCountMax

func (p *AccountLimits) GetUserNotebookCountMax() int32

func (*AccountLimits) GetUserSavedSearchesMax

func (p *AccountLimits) GetUserSavedSearchesMax() int32

func (*AccountLimits) GetUserTagCountMax

func (p *AccountLimits) GetUserTagCountMax() int32

func (*AccountLimits) IsSetNoteResourceCountMax

func (p *AccountLimits) IsSetNoteResourceCountMax() bool

func (*AccountLimits) IsSetNoteSizeMax

func (p *AccountLimits) IsSetNoteSizeMax() bool

func (*AccountLimits) IsSetNoteTagCountMax

func (p *AccountLimits) IsSetNoteTagCountMax() bool

func (*AccountLimits) IsSetResourceSizeMax

func (p *AccountLimits) IsSetResourceSizeMax() bool

func (*AccountLimits) IsSetUploadLimit

func (p *AccountLimits) IsSetUploadLimit() bool

func (*AccountLimits) IsSetUserLinkedNotebookMax

func (p *AccountLimits) IsSetUserLinkedNotebookMax() bool

func (*AccountLimits) IsSetUserMailLimitDaily

func (p *AccountLimits) IsSetUserMailLimitDaily() bool

func (*AccountLimits) IsSetUserNoteCountMax

func (p *AccountLimits) IsSetUserNoteCountMax() bool

func (*AccountLimits) IsSetUserNotebookCountMax

func (p *AccountLimits) IsSetUserNotebookCountMax() bool

func (*AccountLimits) IsSetUserSavedSearchesMax

func (p *AccountLimits) IsSetUserSavedSearchesMax() bool

func (*AccountLimits) IsSetUserTagCountMax

func (p *AccountLimits) IsSetUserTagCountMax() bool

func (*AccountLimits) Read

func (p *AccountLimits) Read(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField1

func (p *AccountLimits) ReadField1(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField10

func (p *AccountLimits) ReadField10(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField11

func (p *AccountLimits) ReadField11(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField2

func (p *AccountLimits) ReadField2(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField3

func (p *AccountLimits) ReadField3(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField4

func (p *AccountLimits) ReadField4(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField5

func (p *AccountLimits) ReadField5(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField6

func (p *AccountLimits) ReadField6(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField7

func (p *AccountLimits) ReadField7(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField8

func (p *AccountLimits) ReadField8(iprot thrift.TProtocol) error

func (*AccountLimits) ReadField9

func (p *AccountLimits) ReadField9(iprot thrift.TProtocol) error

func (*AccountLimits) String

func (p *AccountLimits) String() string

func (*AccountLimits) Write

func (p *AccountLimits) Write(oprot thrift.TProtocol) error

type Accounting

type Accounting struct {
	// unused field # 1
	UploadLimitEnd         *Timestamp          `thrift:"uploadLimitEnd,2" db:"uploadLimitEnd" json:"uploadLimitEnd,omitempty"`
	UploadLimitNextMonth   *int64              `thrift:"uploadLimitNextMonth,3" db:"uploadLimitNextMonth" json:"uploadLimitNextMonth,omitempty"`
	PremiumServiceStatus   *PremiumOrderStatus `thrift:"premiumServiceStatus,4" db:"premiumServiceStatus" json:"premiumServiceStatus,omitempty"`
	PremiumOrderNumber     *string             `thrift:"premiumOrderNumber,5" db:"premiumOrderNumber" json:"premiumOrderNumber,omitempty"`
	PremiumCommerceService *string             `thrift:"premiumCommerceService,6" db:"premiumCommerceService" json:"premiumCommerceService,omitempty"`
	PremiumServiceStart    *Timestamp          `thrift:"premiumServiceStart,7" db:"premiumServiceStart" json:"premiumServiceStart,omitempty"`
	PremiumServiceSKU      *string             `thrift:"premiumServiceSKU,8" db:"premiumServiceSKU" json:"premiumServiceSKU,omitempty"`
	LastSuccessfulCharge   *Timestamp          `thrift:"lastSuccessfulCharge,9" db:"lastSuccessfulCharge" json:"lastSuccessfulCharge,omitempty"`
	LastFailedCharge       *Timestamp          `thrift:"lastFailedCharge,10" db:"lastFailedCharge" json:"lastFailedCharge,omitempty"`
	LastFailedChargeReason *string             `thrift:"lastFailedChargeReason,11" db:"lastFailedChargeReason" json:"lastFailedChargeReason,omitempty"`
	NextPaymentDue         *Timestamp          `thrift:"nextPaymentDue,12" db:"nextPaymentDue" json:"nextPaymentDue,omitempty"`
	PremiumLockUntil       *Timestamp          `thrift:"premiumLockUntil,13" db:"premiumLockUntil" json:"premiumLockUntil,omitempty"`
	Updated                *Timestamp          `thrift:"updated,14" db:"updated" json:"updated,omitempty"`
	// unused field # 15
	PremiumSubscriptionNumber *string           `thrift:"premiumSubscriptionNumber,16" db:"premiumSubscriptionNumber" json:"premiumSubscriptionNumber,omitempty"`
	LastRequestedCharge       *Timestamp        `thrift:"lastRequestedCharge,17" db:"lastRequestedCharge" json:"lastRequestedCharge,omitempty"`
	Currency                  *string           `thrift:"currency,18" db:"currency" json:"currency,omitempty"`
	UnitPrice                 *int32            `thrift:"unitPrice,19" db:"unitPrice" json:"unitPrice,omitempty"`
	BusinessId                *int32            `thrift:"businessId,20" db:"businessId" json:"businessId,omitempty"`
	BusinessName              *string           `thrift:"businessName,21" db:"businessName" json:"businessName,omitempty"`
	BusinessRole              *BusinessUserRole `thrift:"businessRole,22" db:"businessRole" json:"businessRole,omitempty"`
	UnitDiscount              *int32            `thrift:"unitDiscount,23" db:"unitDiscount" json:"unitDiscount,omitempty"`
	NextChargeDate            *Timestamp        `thrift:"nextChargeDate,24" db:"nextChargeDate" json:"nextChargeDate,omitempty"`
	AvailablePoints           *int32            `thrift:"availablePoints,25" db:"availablePoints" json:"availablePoints,omitempty"`
}
This represents the bookkeeping information for the user's subscription.

<dl>

<dt>uploadLimitEnd</dt>
  <dd>The date and time when the current upload limit
  expires.  At this time, the monthly upload count reverts to 0 and a new
  limit is imposed.  This date and time is exclusive, so this is effectively
  the start of the new month.
  </dd>
<dt>uploadLimitNextMonth</dt>
  <dd> When uploadLimitEnd is reached, the service
  will change uploadLimit to uploadLimitNextMonth. If a premium account is
  canceled, this mechanism will reset the quota appropriately.
  </dd>
<dt>premiumServiceStatus</dt>
  <dd>Indicates the phases of a premium account
  during the billing process.
  </dd>
<dt>premiumOrderNumber</dt>
  <dd>The order number used by the commerce system to
  process recurring payments
  </dd>
<dt>premiumServiceStart</dt>
  <dd>The start date when this premium promotion
  began (this number will get overwritten if a premium service is canceled
  and then re-activated).
  </dd>
<dt>premiumCommerceService</dt>
  <dd>The commerce system used (paypal, Google
  checkout, etc)
  </dd>
<dt>premiumServiceSKU</dt>
  <dd>The code associated with the purchase eg. monthly
  or annual purchase. Clients should interpret this value and localize it.
  </dd>
<dt>lastSuccessfulCharge</dt>
  <dd>Date the last time the user was charged.
  Null if never charged.
  </dd>
<dt>lastFailedCharge</dt>
  <dd>Date the last time a charge was attempted and
  failed.
  </dd>
<dt>lastFailedChargeReason</dt>
  <dd>Reason provided for the charge failure
  </dd>
<dt>nextPaymentDue</dt>
  <dd>The end of the billing cycle. This could be in the
  past if there are failed charges.
  </dd>
<dt>premiumLockUntil</dt>
  <dd>An internal variable to manage locking operations
  on the commerce variables.
  </dd>
<dt>updated</dt>
  <dd>The date any modification where made to this record.
  </dd>
<dt>premiumSubscriptionNumber</dt>
  <dd>The number number identifying the
  recurring subscription used to make the recurring charges.
  </dd>
<dt>lastRequestedCharge</dt>
  <dd>Date charge last attempted</dd>
<dt>currency</dt>
  <dd>ISO 4217 currency code</dd>
<dt>unitPrice</dt>
  <dd>charge in the smallest unit of the currency (e.g. cents for USD)</dd>
<dt>businessId</dt>
  <dd><i>DEPRECATED:</i>See BusinessUserInfo.</dd>
<dt>businessName</dt>
  <dd><i>DEPRECATED:</i>See BusinessUserInfo.</dd>
<dt>businessRole</dt>
  <dd><i>DEPRECATED:</i>See BusinessUserInfo.</dd>
<dt>unitDiscount</dt>
  <dd>discount per seat in negative amount and smallest unit of the currency (e.g.
      cents for USD)</dd>
<dt>nextChargeDate</dt>
  <dd>The next time the user will be charged, may or may not be the same as
      nextPaymentDue</dd>
</dl>

Attributes:

  • UploadLimitEnd
  • UploadLimitNextMonth
  • PremiumServiceStatus
  • PremiumOrderNumber
  • PremiumCommerceService
  • PremiumServiceStart
  • PremiumServiceSKU
  • LastSuccessfulCharge
  • LastFailedCharge
  • LastFailedChargeReason
  • NextPaymentDue
  • PremiumLockUntil
  • Updated
  • PremiumSubscriptionNumber
  • LastRequestedCharge
  • Currency
  • UnitPrice
  • BusinessId
  • BusinessName
  • BusinessRole
  • UnitDiscount
  • NextChargeDate
  • AvailablePoints
var User_Accounting_DEFAULT *Accounting

func NewAccounting

func NewAccounting() *Accounting

func (*Accounting) GetAvailablePoints

func (p *Accounting) GetAvailablePoints() int32

func (*Accounting) GetBusinessId

func (p *Accounting) GetBusinessId() int32

func (*Accounting) GetBusinessName

func (p *Accounting) GetBusinessName() string

func (*Accounting) GetBusinessRole

func (p *Accounting) GetBusinessRole() BusinessUserRole

func (*Accounting) GetCurrency

func (p *Accounting) GetCurrency() string

func (*Accounting) GetLastFailedCharge

func (p *Accounting) GetLastFailedCharge() Timestamp

func (*Accounting) GetLastFailedChargeReason

func (p *Accounting) GetLastFailedChargeReason() string

func (*Accounting) GetLastRequestedCharge

func (p *Accounting) GetLastRequestedCharge() Timestamp

func (*Accounting) GetLastSuccessfulCharge

func (p *Accounting) GetLastSuccessfulCharge() Timestamp

func (*Accounting) GetNextChargeDate

func (p *Accounting) GetNextChargeDate() Timestamp

func (*Accounting) GetNextPaymentDue

func (p *Accounting) GetNextPaymentDue() Timestamp

func (*Accounting) GetPremiumCommerceService

func (p *Accounting) GetPremiumCommerceService() string

func (*Accounting) GetPremiumLockUntil

func (p *Accounting) GetPremiumLockUntil() Timestamp

func (*Accounting) GetPremiumOrderNumber

func (p *Accounting) GetPremiumOrderNumber() string

func (*Accounting) GetPremiumServiceSKU

func (p *Accounting) GetPremiumServiceSKU() string

func (*Accounting) GetPremiumServiceStart

func (p *Accounting) GetPremiumServiceStart() Timestamp

func (*Accounting) GetPremiumServiceStatus

func (p *Accounting) GetPremiumServiceStatus() PremiumOrderStatus

func (*Accounting) GetPremiumSubscriptionNumber

func (p *Accounting) GetPremiumSubscriptionNumber() string

func (*Accounting) GetUnitDiscount

func (p *Accounting) GetUnitDiscount() int32

func (*Accounting) GetUnitPrice

func (p *Accounting) GetUnitPrice() int32

func (*Accounting) GetUpdated

func (p *Accounting) GetUpdated() Timestamp

func (*Accounting) GetUploadLimitEnd

func (p *Accounting) GetUploadLimitEnd() Timestamp

func (*Accounting) GetUploadLimitNextMonth

func (p *Accounting) GetUploadLimitNextMonth() int64

func (*Accounting) IsSetAvailablePoints

func (p *Accounting) IsSetAvailablePoints() bool

func (*Accounting) IsSetBusinessId

func (p *Accounting) IsSetBusinessId() bool

func (*Accounting) IsSetBusinessName

func (p *Accounting) IsSetBusinessName() bool

func (*Accounting) IsSetBusinessRole

func (p *Accounting) IsSetBusinessRole() bool

func (*Accounting) IsSetCurrency

func (p *Accounting) IsSetCurrency() bool

func (*Accounting) IsSetLastFailedCharge

func (p *Accounting) IsSetLastFailedCharge() bool

func (*Accounting) IsSetLastFailedChargeReason

func (p *Accounting) IsSetLastFailedChargeReason() bool

func (*Accounting) IsSetLastRequestedCharge

func (p *Accounting) IsSetLastRequestedCharge() bool

func (*Accounting) IsSetLastSuccessfulCharge

func (p *Accounting) IsSetLastSuccessfulCharge() bool

func (*Accounting) IsSetNextChargeDate

func (p *Accounting) IsSetNextChargeDate() bool

func (*Accounting) IsSetNextPaymentDue

func (p *Accounting) IsSetNextPaymentDue() bool

func (*Accounting) IsSetPremiumCommerceService

func (p *Accounting) IsSetPremiumCommerceService() bool

func (*Accounting) IsSetPremiumLockUntil

func (p *Accounting) IsSetPremiumLockUntil() bool

func (*Accounting) IsSetPremiumOrderNumber

func (p *Accounting) IsSetPremiumOrderNumber() bool

func (*Accounting) IsSetPremiumServiceSKU

func (p *Accounting) IsSetPremiumServiceSKU() bool

func (*Accounting) IsSetPremiumServiceStart

func (p *Accounting) IsSetPremiumServiceStart() bool

func (*Accounting) IsSetPremiumServiceStatus

func (p *Accounting) IsSetPremiumServiceStatus() bool

func (*Accounting) IsSetPremiumSubscriptionNumber

func (p *Accounting) IsSetPremiumSubscriptionNumber() bool

func (*Accounting) IsSetUnitDiscount

func (p *Accounting) IsSetUnitDiscount() bool

func (*Accounting) IsSetUnitPrice

func (p *Accounting) IsSetUnitPrice() bool

func (*Accounting) IsSetUpdated

func (p *Accounting) IsSetUpdated() bool

func (*Accounting) IsSetUploadLimitEnd

func (p *Accounting) IsSetUploadLimitEnd() bool

func (*Accounting) IsSetUploadLimitNextMonth

func (p *Accounting) IsSetUploadLimitNextMonth() bool

func (*Accounting) Read

func (p *Accounting) Read(iprot thrift.TProtocol) error

func (*Accounting) ReadField10

func (p *Accounting) ReadField10(iprot thrift.TProtocol) error

func (*Accounting) ReadField11

func (p *Accounting) ReadField11(iprot thrift.TProtocol) error

func (*Accounting) ReadField12

func (p *Accounting) ReadField12(iprot thrift.TProtocol) error

func (*Accounting) ReadField13

func (p *Accounting) ReadField13(iprot thrift.TProtocol) error

func (*Accounting) ReadField14

func (p *Accounting) ReadField14(iprot thrift.TProtocol) error

func (*Accounting) ReadField16

func (p *Accounting) ReadField16(iprot thrift.TProtocol) error

func (*Accounting) ReadField17

func (p *Accounting) ReadField17(iprot thrift.TProtocol) error

func (*Accounting) ReadField18

func (p *Accounting) ReadField18(iprot thrift.TProtocol) error

func (*Accounting) ReadField19

func (p *Accounting) ReadField19(iprot thrift.TProtocol) error

func (*Accounting) ReadField2

func (p *Accounting) ReadField2(iprot thrift.TProtocol) error

func (*Accounting) ReadField20

func (p *Accounting) ReadField20(iprot thrift.TProtocol) error

func (*Accounting) ReadField21

func (p *Accounting) ReadField21(iprot thrift.TProtocol) error

func (*Accounting) ReadField22

func (p *Accounting) ReadField22(iprot thrift.TProtocol) error

func (*Accounting) ReadField23

func (p *Accounting) ReadField23(iprot thrift.TProtocol) error

func (*Accounting) ReadField24

func (p *Accounting) ReadField24(iprot thrift.TProtocol) error

func (*Accounting) ReadField25

func (p *Accounting) ReadField25(iprot thrift.TProtocol) error

func (*Accounting) ReadField3

func (p *Accounting) ReadField3(iprot thrift.TProtocol) error

func (*Accounting) ReadField4

func (p *Accounting) ReadField4(iprot thrift.TProtocol) error

func (*Accounting) ReadField5

func (p *Accounting) ReadField5(iprot thrift.TProtocol) error

func (*Accounting) ReadField6

func (p *Accounting) ReadField6(iprot thrift.TProtocol) error

func (*Accounting) ReadField7

func (p *Accounting) ReadField7(iprot thrift.TProtocol) error

func (*Accounting) ReadField8

func (p *Accounting) ReadField8(iprot thrift.TProtocol) error

func (*Accounting) ReadField9

func (p *Accounting) ReadField9(iprot thrift.TProtocol) error

func (*Accounting) String

func (p *Accounting) String() string

func (*Accounting) Write

func (p *Accounting) Write(oprot thrift.TProtocol) error

type AuthenticationResult_

type AuthenticationResult_ struct {
	CurrentTime              Timestamp       `thrift:"currentTime,1,required" db:"currentTime" json:"currentTime"`
	AuthenticationToken      string          `thrift:"authenticationToken,2,required" db:"authenticationToken" json:"authenticationToken"`
	Expiration               Timestamp       `thrift:"expiration,3,required" db:"expiration" json:"expiration"`
	User                     *User           `thrift:"user,4" db:"user" json:"user,omitempty"`
	PublicUserInfo           *PublicUserInfo `thrift:"publicUserInfo,5" db:"publicUserInfo" json:"publicUserInfo,omitempty"`
	NoteStoreUrl             *string         `thrift:"noteStoreUrl,6" db:"noteStoreUrl" json:"noteStoreUrl,omitempty"`
	WebApiUrlPrefix          *string         `thrift:"webApiUrlPrefix,7" db:"webApiUrlPrefix" json:"webApiUrlPrefix,omitempty"`
	SecondFactorRequired     *bool           `thrift:"secondFactorRequired,8" db:"secondFactorRequired" json:"secondFactorRequired,omitempty"`
	SecondFactorDeliveryHint *string         `thrift:"secondFactorDeliveryHint,9" db:"secondFactorDeliveryHint" json:"secondFactorDeliveryHint,omitempty"`
	Urls                     *UserUrls       `thrift:"urls,10" db:"urls" json:"urls,omitempty"`
}
When an authentication (or re-authentication) is performed, this structure
provides the result to the client.

<dl>

<dt>currentTime:</dt>
  <dd>
  The server-side date and time when this result was
  generated.
  </dd>
<dt>authenticationToken:</dt>
  <dd>
  Holds an opaque, ASCII-encoded token that can be
  used by the client to perform actions on a NoteStore.
  </dd>
<dt>expiration:</dt>
  <dd>
  Holds the server-side date and time when the
  authentication token will expire.
  This time can be compared to "currentTime" to produce an expiration
  time that can be reconciled with the client's local clock.
  </dd>
<dt>user:</dt>
  <dd>
  Holds the information about the account which was
  authenticated if this was a full authentication.  May be absent if this
  particular authentication did not require user information.
  </dd>
<dt>publicUserInfo:</dt>
  <dd>
  If this authentication result was achieved without full permissions to
  access the full User structure, this field may be set to give back
  a more limited public set of data.
  </dd>
<dt>noteStoreUrl:</dt>
  <dd>
  DEPRECATED - Client applications should use urls.noteStoreUrl.
  </dd>
<dt>webApiUrlPrefix:</dt>
  <dd>
  DEPRECATED - Client applications should use urls.webApiUrlPrefix.
  </dd>
<dt>secondFactorRequired:</dt>
  <dd>
  If set to true, this field indicates that the user has enabled two-factor
  authentication and must enter their second factor in order to complete
  authentication. In this case the value of authenticationResult will be
  a short-lived authentication token that may only be used to make a
  subsequent call to completeTwoFactorAuthentication.
  </dd>
<dt>secondFactorDeliveryHint:</dt>
  <dd>
  When secondFactorRequired is set to true, this field may contain a string
  describing the second factor delivery method that the user has configured.
  This will typically be an obfuscated mobile device number, such as
  "(xxx) xxx-x095". This string can be displayed to the user to remind them
  how to obtain the required second factor.
  </dd>
<dt>urls</dt>
  <dd>
  This structure will contain all of the URLs that clients need to make requests to the
  Evernote service on behalf of the authenticated User.
  </dd>
</dl>

Attributes:

  • CurrentTime
  • AuthenticationToken
  • Expiration
  • User
  • PublicUserInfo
  • NoteStoreUrl
  • WebApiUrlPrefix
  • SecondFactorRequired
  • SecondFactorDeliveryHint
  • Urls
var NoteStoreAuthenticateToSharedNoteResult_Success_DEFAULT *AuthenticationResult_
var NoteStoreAuthenticateToSharedNotebookResult_Success_DEFAULT *AuthenticationResult_
var UserStoreAuthenticateLongSessionResult_Success_DEFAULT *AuthenticationResult_
var UserStoreAuthenticateToBusinessResult_Success_DEFAULT *AuthenticationResult_
var UserStoreCompleteTwoFactorAuthenticationResult_Success_DEFAULT *AuthenticationResult_

func NewAuthenticationResult_

func NewAuthenticationResult_() *AuthenticationResult_

func (*AuthenticationResult_) GetAuthenticationToken

func (p *AuthenticationResult_) GetAuthenticationToken() string

func (*AuthenticationResult_) GetCurrentTime

func (p *AuthenticationResult_) GetCurrentTime() Timestamp

func (*AuthenticationResult_) GetExpiration

func (p *AuthenticationResult_) GetExpiration() Timestamp

func (*AuthenticationResult_) GetNoteStoreUrl

func (p *AuthenticationResult_) GetNoteStoreUrl() string

func (*AuthenticationResult_) GetPublicUserInfo

func (p *AuthenticationResult_) GetPublicUserInfo() *PublicUserInfo

func (*AuthenticationResult_) GetSecondFactorDeliveryHint

func (p *AuthenticationResult_) GetSecondFactorDeliveryHint() string

func (*AuthenticationResult_) GetSecondFactorRequired

func (p *AuthenticationResult_) GetSecondFactorRequired() bool

func (*AuthenticationResult_) GetUrls

func (p *AuthenticationResult_) GetUrls() *UserUrls

func (*AuthenticationResult_) GetUser

func (p *AuthenticationResult_) GetUser() *User

func (*AuthenticationResult_) GetWebApiUrlPrefix

func (p *AuthenticationResult_) GetWebApiUrlPrefix() string

func (*AuthenticationResult_) IsSetNoteStoreUrl

func (p *AuthenticationResult_) IsSetNoteStoreUrl() bool

func (*AuthenticationResult_) IsSetPublicUserInfo

func (p *AuthenticationResult_) IsSetPublicUserInfo() bool

func (*AuthenticationResult_) IsSetSecondFactorDeliveryHint

func (p *AuthenticationResult_) IsSetSecondFactorDeliveryHint() bool

func (*AuthenticationResult_) IsSetSecondFactorRequired

func (p *AuthenticationResult_) IsSetSecondFactorRequired() bool

func (*AuthenticationResult_) IsSetUrls

func (p *AuthenticationResult_) IsSetUrls() bool

func (*AuthenticationResult_) IsSetUser

func (p *AuthenticationResult_) IsSetUser() bool

func (*AuthenticationResult_) IsSetWebApiUrlPrefix

func (p *AuthenticationResult_) IsSetWebApiUrlPrefix() bool

func (*AuthenticationResult_) Read

func (*AuthenticationResult_) ReadField1

func (p *AuthenticationResult_) ReadField1(iprot thrift.TProtocol) error

func (*AuthenticationResult_) ReadField10

func (p *AuthenticationResult_) ReadField10(iprot thrift.TProtocol) error

func (*AuthenticationResult_) ReadField2

func (p *AuthenticationResult_) ReadField2(iprot thrift.TProtocol) error

func (*AuthenticationResult_) ReadField3

func (p *AuthenticationResult_) ReadField3(iprot thrift.TProtocol) error

func (*AuthenticationResult_) ReadField4

func (p *AuthenticationResult_) ReadField4(iprot thrift.TProtocol) error

func (*AuthenticationResult_) ReadField5

func (p *AuthenticationResult_) ReadField5(iprot thrift.TProtocol) error

func (*AuthenticationResult_) ReadField6

func (p *AuthenticationResult_) ReadField6(iprot thrift.TProtocol) error

func (*AuthenticationResult_) ReadField7

func (p *AuthenticationResult_) ReadField7(iprot thrift.TProtocol) error

func (*AuthenticationResult_) ReadField8

func (p *AuthenticationResult_) ReadField8(iprot thrift.TProtocol) error

func (*AuthenticationResult_) ReadField9

func (p *AuthenticationResult_) ReadField9(iprot thrift.TProtocol) error

func (*AuthenticationResult_) String

func (p *AuthenticationResult_) String() string

func (*AuthenticationResult_) Write

func (p *AuthenticationResult_) Write(oprot thrift.TProtocol) error

type BootstrapInfo

type BootstrapInfo struct {
	Profiles []*BootstrapProfile `thrift:"profiles,1,required" db:"profiles" json:"profiles"`
}
This structure describes a collection of bootstrap profiles.

<dl>

<dt>profiles:</dt>
  <dd>
  List of one or more bootstrap profiles, in descending
  preference order.
  </dd>
</dl>

Attributes:

  • Profiles
var UserStoreGetBootstrapInfoResult_Success_DEFAULT *BootstrapInfo

func NewBootstrapInfo

func NewBootstrapInfo() *BootstrapInfo

func (*BootstrapInfo) GetProfiles

func (p *BootstrapInfo) GetProfiles() []*BootstrapProfile

func (*BootstrapInfo) Read

func (p *BootstrapInfo) Read(iprot thrift.TProtocol) error

func (*BootstrapInfo) ReadField1

func (p *BootstrapInfo) ReadField1(iprot thrift.TProtocol) error

func (*BootstrapInfo) String

func (p *BootstrapInfo) String() string

func (*BootstrapInfo) Write

func (p *BootstrapInfo) Write(oprot thrift.TProtocol) error

type BootstrapProfile

type BootstrapProfile struct {
	Name     string             `thrift:"name,1,required" db:"name" json:"name"`
	Settings *BootstrapSettings `thrift:"settings,2,required" db:"settings" json:"settings"`
}
This structure describes a collection of bootstrap settings.

<dl>

<dt>name:</dt>
  <dd>
  The unique name of the profile, which is guaranteed to remain consistent across
  calls to getBootstrapInfo.
  </dd>
<dt>settings:</dt>
  <dd>
  The settings for this profile.
  </dd>
</dl>

Attributes:

  • Name
  • Settings

func NewBootstrapProfile

func NewBootstrapProfile() *BootstrapProfile

func (*BootstrapProfile) GetName

func (p *BootstrapProfile) GetName() string

func (*BootstrapProfile) GetSettings

func (p *BootstrapProfile) GetSettings() *BootstrapSettings

func (*BootstrapProfile) IsSetSettings

func (p *BootstrapProfile) IsSetSettings() bool

func (*BootstrapProfile) Read

func (p *BootstrapProfile) Read(iprot thrift.TProtocol) error

func (*BootstrapProfile) ReadField1

func (p *BootstrapProfile) ReadField1(iprot thrift.TProtocol) error

func (*BootstrapProfile) ReadField2

func (p *BootstrapProfile) ReadField2(iprot thrift.TProtocol) error

func (*BootstrapProfile) String

func (p *BootstrapProfile) String() string

func (*BootstrapProfile) Write

func (p *BootstrapProfile) Write(oprot thrift.TProtocol) error

type BootstrapSettings

type BootstrapSettings struct {
	ServiceHost             string `thrift:"serviceHost,1,required" db:"serviceHost" json:"serviceHost"`
	MarketingUrl            string `thrift:"marketingUrl,2,required" db:"marketingUrl" json:"marketingUrl"`
	SupportUrl              string `thrift:"supportUrl,3,required" db:"supportUrl" json:"supportUrl"`
	AccountEmailDomain      string `thrift:"accountEmailDomain,4,required" db:"accountEmailDomain" json:"accountEmailDomain"`
	EnableFacebookSharing   *bool  `thrift:"enableFacebookSharing,5" db:"enableFacebookSharing" json:"enableFacebookSharing,omitempty"`
	EnableGiftSubscriptions *bool  `thrift:"enableGiftSubscriptions,6" db:"enableGiftSubscriptions" json:"enableGiftSubscriptions,omitempty"`
	EnableSupportTickets    *bool  `thrift:"enableSupportTickets,7" db:"enableSupportTickets" json:"enableSupportTickets,omitempty"`
	EnableSharedNotebooks   *bool  `thrift:"enableSharedNotebooks,8" db:"enableSharedNotebooks" json:"enableSharedNotebooks,omitempty"`
	EnableSingleNoteSharing *bool  `thrift:"enableSingleNoteSharing,9" db:"enableSingleNoteSharing" json:"enableSingleNoteSharing,omitempty"`
	EnableSponsoredAccounts *bool  `thrift:"enableSponsoredAccounts,10" db:"enableSponsoredAccounts" json:"enableSponsoredAccounts,omitempty"`
	EnableTwitterSharing    *bool  `thrift:"enableTwitterSharing,11" db:"enableTwitterSharing" json:"enableTwitterSharing,omitempty"`
	EnableLinkedInSharing   *bool  `thrift:"enableLinkedInSharing,12" db:"enableLinkedInSharing" json:"enableLinkedInSharing,omitempty"`
	EnablePublicNotebooks   *bool  `thrift:"enablePublicNotebooks,13" db:"enablePublicNotebooks" json:"enablePublicNotebooks,omitempty"`
	// unused fields # 14 to 15
	EnableGoogle *bool `thrift:"enableGoogle,16" db:"enableGoogle" json:"enableGoogle,omitempty"`
}
This structure describes a collection of bootstrap settings.

<dl>

<dt>serviceHost:</dt>
  <dd>
  The hostname and optional port for composing Evernote web service URLs.
  This URL can be used to access the UserStore and related services,
  but must not be used to compose the NoteStore URL. Client applications
  must handle serviceHost values that include only the hostname
  (e.g. www.evernote.com) or both the hostname and port (e.g. www.evernote.com:8080).
  If no port is specified, or if port 443 is specified, client applications must
  use the scheme "https" when composing URLs. Otherwise, a client must use the
  scheme "http".
</dd>
<dt>marketingUrl:</dt>
  <dd>
  The URL stem for the Evernote corporate marketing website, e.g. http://www.evernote.com.
  This stem can be used to compose website URLs. For example, the URL of the Evernote
  Trunk is composed by appending "/about/trunk/" to the value of marketingUrl.
  </dd>
<dt>supportUrl:</dt>
  <dd>
  The full URL for the Evernote customer support website, e.g. https://support.evernote.com.
  </dd>
<dt>accountEmailDomain:</dt>
  <dd>
  The domain used for an Evernote user's incoming email address, which allows notes to
  be emailed into an account. E.g. m.evernote.com.
  </dd>
<dt>enableFacebookSharing:</dt>
  <dd>
  Whether the client application should enable sharing of notes on Facebook.
  </dd>
<dt>enableGiftSubscriptions:</dt>
  <dd>
  Whether the client application should enable gift subscriptions.
  </dd>
<dt>enableSupportTickets:</dt>
  <dd>
  Whether the client application should enable in-client creation of support tickets.
  </dd>
<dt>enableSharedNotebooks:</dt>
  <dd>
  Whether the client application should enable shared notebooks.
  </dd>
<dt>enableSingleNoteSharing:</dt>
  <dd>
  Whether the client application should enable single note sharing.
  </dd>
<dt>enableSponsoredAccounts:</dt>
  <dd>
  Whether the client application should enable sponsored accounts.
  </dd>
<dt>enableTwitterSharing:</dt>
  <dd>
  Whether the client application should enable sharing of notes on Twitter.
  </dd>
<dt>enableGoogle:</dt>
  <dd>
  Whether the client application should enable authentication with Google,
  for example to allow integration with a user's Gmail contacts.
</dl>

Attributes:

  • ServiceHost
  • MarketingUrl
  • SupportUrl
  • AccountEmailDomain
  • EnableFacebookSharing
  • EnableGiftSubscriptions
  • EnableSupportTickets
  • EnableSharedNotebooks
  • EnableSingleNoteSharing
  • EnableSponsoredAccounts
  • EnableTwitterSharing
  • EnableLinkedInSharing
  • EnablePublicNotebooks
  • EnableGoogle
var BootstrapProfile_Settings_DEFAULT *BootstrapSettings

func NewBootstrapSettings

func NewBootstrapSettings() *BootstrapSettings

func (*BootstrapSettings) GetAccountEmailDomain

func (p *BootstrapSettings) GetAccountEmailDomain() string

func (*BootstrapSettings) GetEnableFacebookSharing

func (p *BootstrapSettings) GetEnableFacebookSharing() bool

func (*BootstrapSettings) GetEnableGiftSubscriptions

func (p *BootstrapSettings) GetEnableGiftSubscriptions() bool

func (*BootstrapSettings) GetEnableGoogle

func (p *BootstrapSettings) GetEnableGoogle() bool

func (*BootstrapSettings) GetEnableLinkedInSharing

func (p *BootstrapSettings) GetEnableLinkedInSharing() bool

func (*BootstrapSettings) GetEnablePublicNotebooks

func (p *BootstrapSettings) GetEnablePublicNotebooks() bool

func (*BootstrapSettings) GetEnableSharedNotebooks

func (p *BootstrapSettings) GetEnableSharedNotebooks() bool

func (*BootstrapSettings) GetEnableSingleNoteSharing

func (p *BootstrapSettings) GetEnableSingleNoteSharing() bool

func (*BootstrapSettings) GetEnableSponsoredAccounts

func (p *BootstrapSettings) GetEnableSponsoredAccounts() bool

func (*BootstrapSettings) GetEnableSupportTickets

func (p *BootstrapSettings) GetEnableSupportTickets() bool

func (*BootstrapSettings) GetEnableTwitterSharing

func (p *BootstrapSettings) GetEnableTwitterSharing() bool

func (*BootstrapSettings) GetMarketingUrl

func (p *BootstrapSettings) GetMarketingUrl() string

func (*BootstrapSettings) GetServiceHost

func (p *BootstrapSettings) GetServiceHost() string

func (*BootstrapSettings) GetSupportUrl

func (p *BootstrapSettings) GetSupportUrl() string

func (*BootstrapSettings) IsSetEnableFacebookSharing

func (p *BootstrapSettings) IsSetEnableFacebookSharing() bool

func (*BootstrapSettings) IsSetEnableGiftSubscriptions

func (p *BootstrapSettings) IsSetEnableGiftSubscriptions() bool

func (*BootstrapSettings) IsSetEnableGoogle

func (p *BootstrapSettings) IsSetEnableGoogle() bool

func (*BootstrapSettings) IsSetEnableLinkedInSharing

func (p *BootstrapSettings) IsSetEnableLinkedInSharing() bool

func (*BootstrapSettings) IsSetEnablePublicNotebooks

func (p *BootstrapSettings) IsSetEnablePublicNotebooks() bool

func (*BootstrapSettings) IsSetEnableSharedNotebooks

func (p *BootstrapSettings) IsSetEnableSharedNotebooks() bool

func (*BootstrapSettings) IsSetEnableSingleNoteSharing

func (p *BootstrapSettings) IsSetEnableSingleNoteSharing() bool

func (*BootstrapSettings) IsSetEnableSponsoredAccounts

func (p *BootstrapSettings) IsSetEnableSponsoredAccounts() bool

func (*BootstrapSettings) IsSetEnableSupportTickets

func (p *BootstrapSettings) IsSetEnableSupportTickets() bool

func (*BootstrapSettings) IsSetEnableTwitterSharing

func (p *BootstrapSettings) IsSetEnableTwitterSharing() bool

func (*BootstrapSettings) Read

func (p *BootstrapSettings) Read(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField1

func (p *BootstrapSettings) ReadField1(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField10

func (p *BootstrapSettings) ReadField10(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField11

func (p *BootstrapSettings) ReadField11(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField12

func (p *BootstrapSettings) ReadField12(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField13

func (p *BootstrapSettings) ReadField13(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField16

func (p *BootstrapSettings) ReadField16(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField2

func (p *BootstrapSettings) ReadField2(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField3

func (p *BootstrapSettings) ReadField3(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField4

func (p *BootstrapSettings) ReadField4(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField5

func (p *BootstrapSettings) ReadField5(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField6

func (p *BootstrapSettings) ReadField6(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField7

func (p *BootstrapSettings) ReadField7(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField8

func (p *BootstrapSettings) ReadField8(iprot thrift.TProtocol) error

func (*BootstrapSettings) ReadField9

func (p *BootstrapSettings) ReadField9(iprot thrift.TProtocol) error

func (*BootstrapSettings) String

func (p *BootstrapSettings) String() string

func (*BootstrapSettings) Write

func (p *BootstrapSettings) Write(oprot thrift.TProtocol) error

type BusinessInvitation

type BusinessInvitation struct {
	BusinessId         *int32                    `thrift:"businessId,1" db:"businessId" json:"businessId,omitempty"`
	Email              *string                   `thrift:"email,2" db:"email" json:"email,omitempty"`
	Role               *BusinessUserRole         `thrift:"role,3" db:"role" json:"role,omitempty"`
	Status             *BusinessInvitationStatus `thrift:"status,4" db:"status" json:"status,omitempty"`
	RequesterId        *UserID                   `thrift:"requesterId,5" db:"requesterId" json:"requesterId,omitempty"`
	FromWorkChat       *bool                     `thrift:"fromWorkChat,6" db:"fromWorkChat" json:"fromWorkChat,omitempty"`
	Created            *Timestamp                `thrift:"created,7" db:"created" json:"created,omitempty"`
	MostRecentReminder *Timestamp                `thrift:"mostRecentReminder,8" db:"mostRecentReminder" json:"mostRecentReminder,omitempty"`
}

A structure describing an invitation to join a business account.

<dl>

<dt>businessId</dt>
  <dd>
    The ID of the business to which the invitation grants access.
  </dd>

<dt>email</dt>
  <dd>
    The email address that was invited to join the business.
  </dd>

<dt>role</dt>
  <dd>
    The role to grant the user after the invitation is accepted.
  </dd>

<dt>status</dt>
  <dd>
    The status of the invitation.
  </dd>

<dt>requesterId</dt>
  <dd>
    For invitations that were initially requested by a non-admin member of the business,
    this field specifies the user ID of the requestor. For all other invitations, this field
    will be unset.
  </dd>
<dt>fromWorkChat</dt>
  <dd>
    If this invitation was created implicitly via a WorkChat, this field
    will be true.
  </dd>
<dt>created</dt>
  <dd>
    The timestamp at which this invitation was created.
  </dd>
<dt>mostRecentReminder</dt>
  <dd>
    The timestamp at which the most recent reminder was sent.
  </dd>

</dl>

Attributes:

  • BusinessId
  • Email
  • Role
  • Status
  • RequesterId
  • FromWorkChat
  • Created
  • MostRecentReminder

func NewBusinessInvitation

func NewBusinessInvitation() *BusinessInvitation

func (*BusinessInvitation) GetBusinessId

func (p *BusinessInvitation) GetBusinessId() int32

func (*BusinessInvitation) GetCreated

func (p *BusinessInvitation) GetCreated() Timestamp

func (*BusinessInvitation) GetEmail

func (p *BusinessInvitation) GetEmail() string

func (*BusinessInvitation) GetFromWorkChat

func (p *BusinessInvitation) GetFromWorkChat() bool

func (*BusinessInvitation) GetMostRecentReminder

func (p *BusinessInvitation) GetMostRecentReminder() Timestamp

func (*BusinessInvitation) GetRequesterId

func (p *BusinessInvitation) GetRequesterId() UserID

func (*BusinessInvitation) GetRole

func (p *BusinessInvitation) GetRole() BusinessUserRole

func (*BusinessInvitation) GetStatus

func (*BusinessInvitation) IsSetBusinessId

func (p *BusinessInvitation) IsSetBusinessId() bool

func (*BusinessInvitation) IsSetCreated

func (p *BusinessInvitation) IsSetCreated() bool

func (*BusinessInvitation) IsSetEmail

func (p *BusinessInvitation) IsSetEmail() bool

func (*BusinessInvitation) IsSetFromWorkChat

func (p *BusinessInvitation) IsSetFromWorkChat() bool

func (*BusinessInvitation) IsSetMostRecentReminder

func (p *BusinessInvitation) IsSetMostRecentReminder() bool

func (*BusinessInvitation) IsSetRequesterId

func (p *BusinessInvitation) IsSetRequesterId() bool

func (*BusinessInvitation) IsSetRole

func (p *BusinessInvitation) IsSetRole() bool

func (*BusinessInvitation) IsSetStatus

func (p *BusinessInvitation) IsSetStatus() bool

func (*BusinessInvitation) Read

func (p *BusinessInvitation) Read(iprot thrift.TProtocol) error

func (*BusinessInvitation) ReadField1

func (p *BusinessInvitation) ReadField1(iprot thrift.TProtocol) error

func (*BusinessInvitation) ReadField2

func (p *BusinessInvitation) ReadField2(iprot thrift.TProtocol) error

func (*BusinessInvitation) ReadField3

func (p *BusinessInvitation) ReadField3(iprot thrift.TProtocol) error

func (*BusinessInvitation) ReadField4

func (p *BusinessInvitation) ReadField4(iprot thrift.TProtocol) error

func (*BusinessInvitation) ReadField5

func (p *BusinessInvitation) ReadField5(iprot thrift.TProtocol) error

func (*BusinessInvitation) ReadField6

func (p *BusinessInvitation) ReadField6(iprot thrift.TProtocol) error

func (*BusinessInvitation) ReadField7

func (p *BusinessInvitation) ReadField7(iprot thrift.TProtocol) error

func (*BusinessInvitation) ReadField8

func (p *BusinessInvitation) ReadField8(iprot thrift.TProtocol) error

func (*BusinessInvitation) String

func (p *BusinessInvitation) String() string

func (*BusinessInvitation) Write

func (p *BusinessInvitation) Write(oprot thrift.TProtocol) error

type BusinessInvitationStatus

type BusinessInvitationStatus int64

An enumeration defining the possible states of a BusinessInvitation.

APPROVED: The invitation was created or approved by a business admin and may be redeemed by the

invited email.

REQUESTED: The invitation was requested by a non-admin member of the business and must be

approved by an admin before it may be redeemed. Invitations in this state do not count
against a business' seat limit.

REDEEMED: The invitation has already been redeemed. Invitations in this state do not count

against a business' seat limit.
const (
	BusinessInvitationStatus_APPROVED  BusinessInvitationStatus = 0
	BusinessInvitationStatus_REQUESTED BusinessInvitationStatus = 1
	BusinessInvitationStatus_REDEEMED  BusinessInvitationStatus = 2
)
var BusinessInvitation_Status_DEFAULT BusinessInvitationStatus

func BusinessInvitationStatusFromString

func BusinessInvitationStatusFromString(s string) (BusinessInvitationStatus, error)

func (BusinessInvitationStatus) MarshalText

func (p BusinessInvitationStatus) MarshalText() ([]byte, error)

func (*BusinessInvitationStatus) Scan

func (p *BusinessInvitationStatus) Scan(value interface{}) error

func (BusinessInvitationStatus) String

func (p BusinessInvitationStatus) String() string

func (*BusinessInvitationStatus) UnmarshalText

func (p *BusinessInvitationStatus) UnmarshalText(text []byte) error

func (*BusinessInvitationStatus) Value

type BusinessNotebook

type BusinessNotebook struct {
	NotebookDescription *string                       `thrift:"notebookDescription,1" db:"notebookDescription" json:"notebookDescription,omitempty"`
	Privilege           *SharedNotebookPrivilegeLevel `thrift:"privilege,2" db:"privilege" json:"privilege,omitempty"`
	Recommended         *bool                         `thrift:"recommended,3" db:"recommended" json:"recommended,omitempty"`
}

If a Notebook contained in an Evernote Business account has been published the to business library, the Notebook will have a reference to one of these structures, which specifies how the Notebook will be represented in the library.

<dl> <dt>notebookDescription</dt>

<dd>A short description of the notebook's content that will be displayed
    in the business library user interface. The description may not begin
    or end with whitespace.
<br/>
Length: EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MIN -
        EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_LEN_MAX
<br/>
Regex:  EDAM_BUSINESS_NOTEBOOK_DESCRIPTION_REGEX
</dd>

<dt>privilege</dt>

<dd>The privileges that will be granted to users who join the notebook through
    the business library.
</dd>

<dt>recommended</dt>

<dd>Whether the notebook should be "recommended" when displayed in the business
    library user interface.
</dd>

</dl>

Attributes:

  • NotebookDescription
  • Privilege
  • Recommended
var Notebook_BusinessNotebook_DEFAULT *BusinessNotebook

func NewBusinessNotebook

func NewBusinessNotebook() *BusinessNotebook

func (*BusinessNotebook) GetNotebookDescription

func (p *BusinessNotebook) GetNotebookDescription() string

func (*BusinessNotebook) GetPrivilege

func (*BusinessNotebook) GetRecommended

func (p *BusinessNotebook) GetRecommended() bool

func (*BusinessNotebook) IsSetNotebookDescription

func (p *BusinessNotebook) IsSetNotebookDescription() bool

func (*BusinessNotebook) IsSetPrivilege

func (p *BusinessNotebook) IsSetPrivilege() bool

func (*BusinessNotebook) IsSetRecommended

func (p *BusinessNotebook) IsSetRecommended() bool

func (*BusinessNotebook) Read

func (p *BusinessNotebook) Read(iprot thrift.TProtocol) error

func (*BusinessNotebook) ReadField1

func (p *BusinessNotebook) ReadField1(iprot thrift.TProtocol) error

func (*BusinessNotebook) ReadField2

func (p *BusinessNotebook) ReadField2(iprot thrift.TProtocol) error

func (*BusinessNotebook) ReadField3

func (p *BusinessNotebook) ReadField3(iprot thrift.TProtocol) error

func (*BusinessNotebook) String

func (p *BusinessNotebook) String() string

func (*BusinessNotebook) Write

func (p *BusinessNotebook) Write(oprot thrift.TProtocol) error

type BusinessUserAttributes

type BusinessUserAttributes struct {
	Title              *string    `thrift:"title,1" db:"title" json:"title,omitempty"`
	Location           *string    `thrift:"location,2" db:"location" json:"location,omitempty"`
	Department         *string    `thrift:"department,3" db:"department" json:"department,omitempty"`
	MobilePhone        *string    `thrift:"mobilePhone,4" db:"mobilePhone" json:"mobilePhone,omitempty"`
	LinkedInProfileUrl *string    `thrift:"linkedInProfileUrl,5" db:"linkedInProfileUrl" json:"linkedInProfileUrl,omitempty"`
	WorkPhone          *string    `thrift:"workPhone,6" db:"workPhone" json:"workPhone,omitempty"`
	CompanyStartDate   *Timestamp `thrift:"companyStartDate,7" db:"companyStartDate" json:"companyStartDate,omitempty"`
}

A structure holding the optional attributes associated with users in a business.

<dl>

<dt>title</dt>
<dd>Free form text of this user's title in the business</dd>

<dt>location</dt>
<dd>City, State (for US) or City / Province for other countries</dd>

<dt>department</dt>
<dd>Free form text of the department this user belongs to.</dd>

<dt>mobilePhone</dt>
<dd>User's mobile phone number. Stored as plain text without any formatting.</dd>

<dt>linkedInProfileUrl</dt>
<dd>URL to user's public LinkedIn profile page. This should only contain
the portion relative to the base LinkedIn URL. For example: "/pub/john-smith/".
</dd>

<dt>workPhone</dt>
<dd>User's work phone number. Stored as plain text without any formatting.</dd>

<dt>companyStartDate</dt>
<dd>The date on which the user started working at their company.</dd>

</dl>

Attributes:

  • Title
  • Location
  • Department
  • MobilePhone
  • LinkedInProfileUrl
  • WorkPhone
  • CompanyStartDate
var UserProfile_Attributes_DEFAULT *BusinessUserAttributes

func NewBusinessUserAttributes

func NewBusinessUserAttributes() *BusinessUserAttributes

func (*BusinessUserAttributes) GetCompanyStartDate

func (p *BusinessUserAttributes) GetCompanyStartDate() Timestamp

func (*BusinessUserAttributes) GetDepartment

func (p *BusinessUserAttributes) GetDepartment() string

func (*BusinessUserAttributes) GetLinkedInProfileUrl

func (p *BusinessUserAttributes) GetLinkedInProfileUrl() string

func (*BusinessUserAttributes) GetLocation

func (p *BusinessUserAttributes) GetLocation() string

func (*BusinessUserAttributes) GetMobilePhone

func (p *BusinessUserAttributes) GetMobilePhone() string

func (*BusinessUserAttributes) GetTitle

func (p *BusinessUserAttributes) GetTitle() string

func (*BusinessUserAttributes) GetWorkPhone

func (p *BusinessUserAttributes) GetWorkPhone() string

func (*BusinessUserAttributes) IsSetCompanyStartDate

func (p *BusinessUserAttributes) IsSetCompanyStartDate() bool

func (*BusinessUserAttributes) IsSetDepartment

func (p *BusinessUserAttributes) IsSetDepartment() bool

func (*BusinessUserAttributes) IsSetLinkedInProfileUrl

func (p *BusinessUserAttributes) IsSetLinkedInProfileUrl() bool

func (*BusinessUserAttributes) IsSetLocation

func (p *BusinessUserAttributes) IsSetLocation() bool

func (*BusinessUserAttributes) IsSetMobilePhone

func (p *BusinessUserAttributes) IsSetMobilePhone() bool

func (*BusinessUserAttributes) IsSetTitle

func (p *BusinessUserAttributes) IsSetTitle() bool

func (*BusinessUserAttributes) IsSetWorkPhone

func (p *BusinessUserAttributes) IsSetWorkPhone() bool

func (*BusinessUserAttributes) Read

func (*BusinessUserAttributes) ReadField1

func (p *BusinessUserAttributes) ReadField1(iprot thrift.TProtocol) error

func (*BusinessUserAttributes) ReadField2

func (p *BusinessUserAttributes) ReadField2(iprot thrift.TProtocol) error

func (*BusinessUserAttributes) ReadField3

func (p *BusinessUserAttributes) ReadField3(iprot thrift.TProtocol) error

func (*BusinessUserAttributes) ReadField4

func (p *BusinessUserAttributes) ReadField4(iprot thrift.TProtocol) error

func (*BusinessUserAttributes) ReadField5

func (p *BusinessUserAttributes) ReadField5(iprot thrift.TProtocol) error

func (*BusinessUserAttributes) ReadField6

func (p *BusinessUserAttributes) ReadField6(iprot thrift.TProtocol) error

func (*BusinessUserAttributes) ReadField7

func (p *BusinessUserAttributes) ReadField7(iprot thrift.TProtocol) error

func (*BusinessUserAttributes) String

func (p *BusinessUserAttributes) String() string

func (*BusinessUserAttributes) Write

func (p *BusinessUserAttributes) Write(oprot thrift.TProtocol) error

type BusinessUserInfo

type BusinessUserInfo struct {
	BusinessId   *int32            `thrift:"businessId,1" db:"businessId" json:"businessId,omitempty"`
	BusinessName *string           `thrift:"businessName,2" db:"businessName" json:"businessName,omitempty"`
	Role         *BusinessUserRole `thrift:"role,3" db:"role" json:"role,omitempty"`
	Email        *string           `thrift:"email,4" db:"email" json:"email,omitempty"`
	Updated      *Timestamp        `thrift:"updated,5" db:"updated" json:"updated,omitempty"`
}

This structure is used to provide information about an Evernote Business membership, for members who are part of a business.

<dl> <dt>businessId</dt>

<dd>The ID of the Evernote Business account that the user is a member of.

<dt>businessName</dt>

<dd>The human-readable name of the Evernote Business account that the user
    is a member of.</dd>

<dt>role</dt>

<dd>The role of the user within the Evernote Business account that
    they are a member of.</dd>

<dt>email</dt>

<dd>An e-mail address that will be used by the service in the context of your
    Evernote Business activities.  For example, this e-mail address will be used
    when you e-mail a business note, when you update notes in the account of
    your business, etc.  The business e-mail cannot be used for identification
    purposes such as for logging into the service.
</dd>

<dt>updated</dt>

<dd>Last time the business user or business user attributes were updated.</dd>

</dl>

Attributes:

  • BusinessId
  • BusinessName
  • Role
  • Email
  • Updated
var User_BusinessUserInfo_DEFAULT *BusinessUserInfo

func NewBusinessUserInfo

func NewBusinessUserInfo() *BusinessUserInfo

func (*BusinessUserInfo) GetBusinessId

func (p *BusinessUserInfo) GetBusinessId() int32

func (*BusinessUserInfo) GetBusinessName

func (p *BusinessUserInfo) GetBusinessName() string

func (*BusinessUserInfo) GetEmail

func (p *BusinessUserInfo) GetEmail() string

func (*BusinessUserInfo) GetRole

func (p *BusinessUserInfo) GetRole() BusinessUserRole

func (*BusinessUserInfo) GetUpdated

func (p *BusinessUserInfo) GetUpdated() Timestamp

func (*BusinessUserInfo) IsSetBusinessId

func (p *BusinessUserInfo) IsSetBusinessId() bool

func (*BusinessUserInfo) IsSetBusinessName

func (p *BusinessUserInfo) IsSetBusinessName() bool

func (*BusinessUserInfo) IsSetEmail

func (p *BusinessUserInfo) IsSetEmail() bool

func (*BusinessUserInfo) IsSetRole

func (p *BusinessUserInfo) IsSetRole() bool

func (*BusinessUserInfo) IsSetUpdated

func (p *BusinessUserInfo) IsSetUpdated() bool

func (*BusinessUserInfo) Read

func (p *BusinessUserInfo) Read(iprot thrift.TProtocol) error

func (*BusinessUserInfo) ReadField1

func (p *BusinessUserInfo) ReadField1(iprot thrift.TProtocol) error

func (*BusinessUserInfo) ReadField2

func (p *BusinessUserInfo) ReadField2(iprot thrift.TProtocol) error

func (*BusinessUserInfo) ReadField3

func (p *BusinessUserInfo) ReadField3(iprot thrift.TProtocol) error

func (*BusinessUserInfo) ReadField4

func (p *BusinessUserInfo) ReadField4(iprot thrift.TProtocol) error

func (*BusinessUserInfo) ReadField5

func (p *BusinessUserInfo) ReadField5(iprot thrift.TProtocol) error

func (*BusinessUserInfo) String

func (p *BusinessUserInfo) String() string

func (*BusinessUserInfo) Write

func (p *BusinessUserInfo) Write(oprot thrift.TProtocol) error

type BusinessUserRole

type BusinessUserRole int64

Enumeration of the roles that a User can have within an Evernote Business account.

ADMIN: The user is an administrator of the Evernote Business account.

NORMAL: The user is a regular user within the Evernote Business account.

const (
	BusinessUserRole_ADMIN  BusinessUserRole = 1
	BusinessUserRole_NORMAL BusinessUserRole = 2
)
var Accounting_BusinessRole_DEFAULT BusinessUserRole
var BusinessInvitation_Role_DEFAULT BusinessUserRole
var BusinessUserInfo_Role_DEFAULT BusinessUserRole
var UserProfile_Role_DEFAULT BusinessUserRole

func BusinessUserRoleFromString

func BusinessUserRoleFromString(s string) (BusinessUserRole, error)

func BusinessUserRolePtr

func BusinessUserRolePtr(v BusinessUserRole) *BusinessUserRole

func (BusinessUserRole) MarshalText

func (p BusinessUserRole) MarshalText() ([]byte, error)

func (*BusinessUserRole) Scan

func (p *BusinessUserRole) Scan(value interface{}) error

func (BusinessUserRole) String

func (p BusinessUserRole) String() string

func (*BusinessUserRole) UnmarshalText

func (p *BusinessUserRole) UnmarshalText(text []byte) error

func (*BusinessUserRole) Value

func (p *BusinessUserRole) Value() (driver.Value, error)

type BusinessUserStatus

type BusinessUserStatus int64

The BusinessUserStatus indicates the status of the user in the business.

A BusinessUser will typically start as ACTIVE. Only ACTIVE users can authenticate to the Business.

<dl> <dt>ACTIVE<dt> <dd>The business user can authenticate to and access the business.</dd> <dt>DEACTIVATED<dt> <dd>The business user has been deactivated and cannot access the business</dd> </dl>

const (
	BusinessUserStatus_ACTIVE      BusinessUserStatus = 1
	BusinessUserStatus_DEACTIVATED BusinessUserStatus = 2
)
var UserProfile_Status_DEFAULT BusinessUserStatus

func BusinessUserStatusFromString

func BusinessUserStatusFromString(s string) (BusinessUserStatus, error)

func BusinessUserStatusPtr

func BusinessUserStatusPtr(v BusinessUserStatus) *BusinessUserStatus

func (BusinessUserStatus) MarshalText

func (p BusinessUserStatus) MarshalText() ([]byte, error)

func (*BusinessUserStatus) Scan

func (p *BusinessUserStatus) Scan(value interface{}) error

func (BusinessUserStatus) String

func (p BusinessUserStatus) String() string

func (*BusinessUserStatus) UnmarshalText

func (p *BusinessUserStatus) UnmarshalText(text []byte) error

func (*BusinessUserStatus) Value

func (p *BusinessUserStatus) Value() (driver.Value, error)

type CanMoveToContainerRestrictions

type CanMoveToContainerRestrictions struct {
	CanMoveToContainer *CanMoveToContainerStatus `thrift:"canMoveToContainer,1" db:"canMoveToContainer" json:"canMoveToContainer,omitempty"`
}

Specifies if the client can move a Notebook to a Workspace.

Attributes:

  • CanMoveToContainer
var NotebookRestrictions_CanMoveToContainerRestrictions_DEFAULT *CanMoveToContainerRestrictions

func NewCanMoveToContainerRestrictions

func NewCanMoveToContainerRestrictions() *CanMoveToContainerRestrictions

func (*CanMoveToContainerRestrictions) GetCanMoveToContainer

func (p *CanMoveToContainerRestrictions) GetCanMoveToContainer() CanMoveToContainerStatus

func (*CanMoveToContainerRestrictions) IsSetCanMoveToContainer

func (p *CanMoveToContainerRestrictions) IsSetCanMoveToContainer() bool

func (*CanMoveToContainerRestrictions) Read

func (*CanMoveToContainerRestrictions) ReadField1

func (*CanMoveToContainerRestrictions) String

func (*CanMoveToContainerRestrictions) Write

type CanMoveToContainerStatus

type CanMoveToContainerStatus int64

This enumeration defines the possible types of canMoveToContainer outcomes. <p /> An outdated client is expected to signal a "Cannot Move, Please Upgrade To Learn Why" like response to the user if an unknown enumeration value is received. <dl> <dt>CAN_BE_MOVED</dt> <dd>Can move Notebook to Workspace.</dd> <dt>INSUFFICIENT_ENTITY_PRIVILEGE</dt> <dd>Can not move Notebook to Workspace, because either: a) Notebook not in Workspace and insufficient privilege on Notebook or b) Notebook in Workspace and membership on Workspace with insufficient privilege for move</dd> <dt>INSUFFICIENT_CONTAINER_PRIVILEGE</dt> <dd>Notebook in Workspace and no membership on Workspace. </dd> </dl>

const (
	CanMoveToContainerStatus_CAN_BE_MOVED                     CanMoveToContainerStatus = 1
	CanMoveToContainerStatus_INSUFFICIENT_ENTITY_PRIVILEGE    CanMoveToContainerStatus = 2
	CanMoveToContainerStatus_INSUFFICIENT_CONTAINER_PRIVILEGE CanMoveToContainerStatus = 3
)
var CanMoveToContainerRestrictions_CanMoveToContainer_DEFAULT CanMoveToContainerStatus

func CanMoveToContainerStatusFromString

func CanMoveToContainerStatusFromString(s string) (CanMoveToContainerStatus, error)

func (CanMoveToContainerStatus) MarshalText

func (p CanMoveToContainerStatus) MarshalText() ([]byte, error)

func (*CanMoveToContainerStatus) Scan

func (p *CanMoveToContainerStatus) Scan(value interface{}) error

func (CanMoveToContainerStatus) String

func (p CanMoveToContainerStatus) String() string

func (*CanMoveToContainerStatus) UnmarshalText

func (p *CanMoveToContainerStatus) UnmarshalText(text []byte) error

func (*CanMoveToContainerStatus) Value

type Contact

type Contact struct {
	Name                   *string      `thrift:"name,1" db:"name" json:"name,omitempty"`
	ID                     *string      `thrift:"id,2" db:"id" json:"id,omitempty"`
	Type                   *ContactType `thrift:"type,3" db:"type" json:"type,omitempty"`
	PhotoUrl               *string      `thrift:"photoUrl,4" db:"photoUrl" json:"photoUrl,omitempty"`
	PhotoLastUpdated       *Timestamp   `thrift:"photoLastUpdated,5" db:"photoLastUpdated" json:"photoLastUpdated,omitempty"`
	MessagingPermit        []byte       `thrift:"messagingPermit,6" db:"messagingPermit" json:"messagingPermit,omitempty"`
	MessagingPermitExpires *Timestamp   `thrift:"messagingPermitExpires,7" db:"messagingPermitExpires" json:"messagingPermitExpires,omitempty"`
}

A structure that represents contact information. Note this does not necessarily correspond to an Evernote user.

<dl> <dt>name</dt> <dd>The displayable name of this contact. This field is filled in by the service and

is read-only to clients.

</dd> <dt>id</dt> <dd>A unique identifier for this ContactType. </dd> <dt>type</dt> <dd>What service does this contact come from? </dd> <dt>photoUrl</dt> <dd>A URL of a profile photo representing this Contact. This field is filled in by the

service and is read-only to clients.

</dd> <dt>photoLastUpdated</dt> <dd>timestamp when the profile photo at 'photoUrl' was last updated.

This field will be null if the user has never set a profile photo.
This field is filled in by the service and is read-only to clients.

</dd> <dt>messagingPermit</dt> <dd>This field will only be filled by the service when it is giving a Contact record

to a client, and that client does not normally have enough permission to send a
new message to the person represented through this Contact. In that case, this
whole Contact record could be used to send a new Message to the Contact, and the
service will inspect this permit to confirm that operation was allowed.

</dd> <dt>messagingPermitExpires</dt> <dd>If this field is set, then this (whole) Contact record may be used in calls to

sendMessage until this time. After that time, those calls may be rejected by the
service if the caller does not have direct permission to initiate a message with
the represented Evernote user.

</dd> </dl>

Attributes:

  • Name
  • ID
  • Type
  • PhotoUrl
  • PhotoLastUpdated
  • MessagingPermit
  • MessagingPermitExpires
var Identity_Contact_DEFAULT *Contact
var RelatedContent_Contact_DEFAULT *Contact

func NewContact

func NewContact() *Contact

func (*Contact) GetID

func (p *Contact) GetID() string

func (*Contact) GetMessagingPermit

func (p *Contact) GetMessagingPermit() []byte

func (*Contact) GetMessagingPermitExpires

func (p *Contact) GetMessagingPermitExpires() Timestamp

func (*Contact) GetName

func (p *Contact) GetName() string

func (*Contact) GetPhotoLastUpdated

func (p *Contact) GetPhotoLastUpdated() Timestamp

func (*Contact) GetPhotoUrl

func (p *Contact) GetPhotoUrl() string

func (*Contact) GetType

func (p *Contact) GetType() ContactType

func (*Contact) IsSetID

func (p *Contact) IsSetID() bool

func (*Contact) IsSetMessagingPermit

func (p *Contact) IsSetMessagingPermit() bool

func (*Contact) IsSetMessagingPermitExpires

func (p *Contact) IsSetMessagingPermitExpires() bool

func (*Contact) IsSetName

func (p *Contact) IsSetName() bool

func (*Contact) IsSetPhotoLastUpdated

func (p *Contact) IsSetPhotoLastUpdated() bool

func (*Contact) IsSetPhotoUrl

func (p *Contact) IsSetPhotoUrl() bool

func (*Contact) IsSetType

func (p *Contact) IsSetType() bool

func (*Contact) Read

func (p *Contact) Read(iprot thrift.TProtocol) error

func (*Contact) ReadField1

func (p *Contact) ReadField1(iprot thrift.TProtocol) error

func (*Contact) ReadField2

func (p *Contact) ReadField2(iprot thrift.TProtocol) error

func (*Contact) ReadField3

func (p *Contact) ReadField3(iprot thrift.TProtocol) error

func (*Contact) ReadField4

func (p *Contact) ReadField4(iprot thrift.TProtocol) error

func (*Contact) ReadField5

func (p *Contact) ReadField5(iprot thrift.TProtocol) error

func (*Contact) ReadField6

func (p *Contact) ReadField6(iprot thrift.TProtocol) error

func (*Contact) ReadField7

func (p *Contact) ReadField7(iprot thrift.TProtocol) error

func (*Contact) String

func (p *Contact) String() string

func (*Contact) Write

func (p *Contact) Write(oprot thrift.TProtocol) error

type ContactType

type ContactType int64

What kinds of Contacts does the Evernote service know about?

const (
	ContactType_EVERNOTE ContactType = 1
	ContactType_SMS      ContactType = 2
	ContactType_FACEBOOK ContactType = 3
	ContactType_EMAIL    ContactType = 4
	ContactType_TWITTER  ContactType = 5
	ContactType_LINKEDIN ContactType = 6
)
var Contact_Type_DEFAULT ContactType

func ContactTypeFromString

func ContactTypeFromString(s string) (ContactType, error)

func ContactTypePtr

func ContactTypePtr(v ContactType) *ContactType

func (ContactType) MarshalText

func (p ContactType) MarshalText() ([]byte, error)

func (*ContactType) Scan

func (p *ContactType) Scan(value interface{}) error

func (ContactType) String

func (p ContactType) String() string

func (*ContactType) UnmarshalText

func (p *ContactType) UnmarshalText(text []byte) error

func (*ContactType) Value

func (p *ContactType) Value() (driver.Value, error)

type CreateOrUpdateNotebookSharesResult_

type CreateOrUpdateNotebookSharesResult_ struct {
	UpdateSequenceNum *int32            `thrift:"updateSequenceNum,1" db:"updateSequenceNum" json:"updateSequenceNum,omitempty"`
	MatchingShares    []*SharedNotebook `thrift:"matchingShares,2" db:"matchingShares" json:"matchingShares,omitempty"`
}

A structure containing the results of a call to createOrUpdateNotebookShares.

<dl>

<dt>updateSequenceNum</dt>
<dd>The USN of the notebook after the call.</dd>

<dt>matchingShares</dt>
<dd>A list of SharedNotebook records that match the desired recipients. These
    records may have been either created or updated by the call to
    createOrUpdateNotebookShares, or they may have been at the desired privilege
    privilege level prior to the call.</dd>

</dl>

Attributes:

  • UpdateSequenceNum
  • MatchingShares
var NoteStoreCreateOrUpdateNotebookSharesResult_Success_DEFAULT *CreateOrUpdateNotebookSharesResult_

func NewCreateOrUpdateNotebookSharesResult_

func NewCreateOrUpdateNotebookSharesResult_() *CreateOrUpdateNotebookSharesResult_

func (*CreateOrUpdateNotebookSharesResult_) GetMatchingShares

func (p *CreateOrUpdateNotebookSharesResult_) GetMatchingShares() []*SharedNotebook

func (*CreateOrUpdateNotebookSharesResult_) GetUpdateSequenceNum

func (p *CreateOrUpdateNotebookSharesResult_) GetUpdateSequenceNum() int32

func (*CreateOrUpdateNotebookSharesResult_) IsSetMatchingShares

func (p *CreateOrUpdateNotebookSharesResult_) IsSetMatchingShares() bool

func (*CreateOrUpdateNotebookSharesResult_) IsSetUpdateSequenceNum

func (p *CreateOrUpdateNotebookSharesResult_) IsSetUpdateSequenceNum() bool

func (*CreateOrUpdateNotebookSharesResult_) Read

func (*CreateOrUpdateNotebookSharesResult_) ReadField1

func (*CreateOrUpdateNotebookSharesResult_) ReadField2

func (*CreateOrUpdateNotebookSharesResult_) String

func (*CreateOrUpdateNotebookSharesResult_) Write

type Data

type Data struct {
	BodyHash []byte `thrift:"bodyHash,1" db:"bodyHash" json:"bodyHash,omitempty"`
	Size     *int32 `thrift:"size,2" db:"size" json:"size,omitempty"`
	Body     []byte `thrift:"body,3" db:"body" json:"body,omitempty"`
}
In several places, EDAM exchanges blocks of bytes of data for a component
which may be relatively large.  For example:  the contents of a clipped
HTML note, the bytes of an embedded image, or the recognition XML for
a large image.  This structure is used in the protocol to represent
any of those large blocks of data when they are transmitted or when
they are only referenced their metadata.

<dl>

<dt>bodyHash</dt>
  <dd>This field carries a one-way hash of the contents of the
  data body, in binary form.  The hash function is MD5<br/>
  Length:  EDAM_HASH_LEN (exactly)
  </dd>

<dt>size</dt>
  <dd>The length, in bytes, of the data body.
  </dd>

<dt>body</dt>
  <dd>This field is set to contain the binary contents of the data
  whenever the resource is being transferred.  If only metadata is
  being exchanged, this field will be empty.  For example, a client could
  notify the service about the change to an attribute for a resource
  without transmitting the binary resource contents.
  </dd>
</dl>

Attributes:

  • BodyHash
  • Size
  • Body
var Resource_AlternateData_DEFAULT *Data
var Resource_Data_DEFAULT *Data
var Resource_Recognition_DEFAULT *Data

func NewData

func NewData() *Data

func (*Data) GetBody

func (p *Data) GetBody() []byte

func (*Data) GetBodyHash

func (p *Data) GetBodyHash() []byte

func (*Data) GetSize

func (p *Data) GetSize() int32

func (*Data) IsSetBody

func (p *Data) IsSetBody() bool

func (*Data) IsSetBodyHash

func (p *Data) IsSetBodyHash() bool

func (*Data) IsSetSize

func (p *Data) IsSetSize() bool

func (*Data) Read

func (p *Data) Read(iprot thrift.TProtocol) error

func (*Data) ReadField1

func (p *Data) ReadField1(iprot thrift.TProtocol) error

func (*Data) ReadField2

func (p *Data) ReadField2(iprot thrift.TProtocol) error

func (*Data) ReadField3

func (p *Data) ReadField3(iprot thrift.TProtocol) error

func (*Data) String

func (p *Data) String() string

func (*Data) Write

func (p *Data) Write(oprot thrift.TProtocol) error

type EDAMErrorCode

type EDAMErrorCode int64

* 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> * <dt>BUSINESS_SECURITY_LOGIN_REQUIRED</dt> * <dd>Access to a business account has been denied because the user must complete * additional steps in order to comply with business security requirements.</dd> * <dt>DEVICE_LIMIT_REACHED</dt> * <dd>Operation denied because the user has exceeded their maximum allowed * number of devices.</dd> * <dt>OPENID_ALREADY_TAKEN</dt> * <dd>Operation failed because the Open ID is already associated with another user.</dd> * <dt>INVALID_OPENID_TOKEN</dt> * <dd>Operation denied because the Open ID token is invalid. Please re-issue a valid * token.</dd> * <dt>USER_NOT_REGISTERED</dt> * <dd>There is no Evernote user associated with this OpenID account, * and no Evernote user with a matching email</dd> * <dt>USER_NOT_ASSOCIATED</dt> * <dd>There is no Evernote user associated with this OpenID account, * but Evernote user with matching email exists</dd> * <dt>USER_ALREADY_ASSOCIATED</dt> * <dd>Evernote user is already associated with this provider * using a different email address.</dd> * <dt>ACCOUNT_CLEAR</dt> * <dd>The user's account has been disabled. Clients should deal with this errorCode * by logging the user out and purging all locally saved content, including local * edits not yet pushed to the server.</dd> * <dt>SSO_AUTHENTICATION_REQUIRED</dt> * <dd>SSO authentication is the only tyoe of authentication allowed for the user's * account. This error is thrown when the user attempts to authenticate by another

  • method (password, OpenId, etc).</dd>

* </dl>

const (
	EDAMErrorCode_UNKNOWN                          EDAMErrorCode = 1
	EDAMErrorCode_BAD_DATA_FORMAT                  EDAMErrorCode = 2
	EDAMErrorCode_PERMISSION_DENIED                EDAMErrorCode = 3
	EDAMErrorCode_INTERNAL_ERROR                   EDAMErrorCode = 4
	EDAMErrorCode_DATA_REQUIRED                    EDAMErrorCode = 5
	EDAMErrorCode_LIMIT_REACHED                    EDAMErrorCode = 6
	EDAMErrorCode_QUOTA_REACHED                    EDAMErrorCode = 7
	EDAMErrorCode_INVALID_AUTH                     EDAMErrorCode = 8
	EDAMErrorCode_AUTH_EXPIRED                     EDAMErrorCode = 9
	EDAMErrorCode_DATA_CONFLICT                    EDAMErrorCode = 10
	EDAMErrorCode_ENML_VALIDATION                  EDAMErrorCode = 11
	EDAMErrorCode_SHARD_UNAVAILABLE                EDAMErrorCode = 12
	EDAMErrorCode_LEN_TOO_SHORT                    EDAMErrorCode = 13
	EDAMErrorCode_LEN_TOO_LONG                     EDAMErrorCode = 14
	EDAMErrorCode_TOO_FEW                          EDAMErrorCode = 15
	EDAMErrorCode_TOO_MANY                         EDAMErrorCode = 16
	EDAMErrorCode_UNSUPPORTED_OPERATION            EDAMErrorCode = 17
	EDAMErrorCode_TAKEN_DOWN                       EDAMErrorCode = 18
	EDAMErrorCode_RATE_LIMIT_REACHED               EDAMErrorCode = 19
	EDAMErrorCode_BUSINESS_SECURITY_LOGIN_REQUIRED EDAMErrorCode = 20
	EDAMErrorCode_DEVICE_LIMIT_REACHED             EDAMErrorCode = 21
	EDAMErrorCode_OPENID_ALREADY_TAKEN             EDAMErrorCode = 22
	EDAMErrorCode_INVALID_OPENID_TOKEN             EDAMErrorCode = 23
	EDAMErrorCode_USER_NOT_ASSOCIATED              EDAMErrorCode = 24
	EDAMErrorCode_USER_NOT_REGISTERED              EDAMErrorCode = 25
	EDAMErrorCode_USER_ALREADY_ASSOCIATED          EDAMErrorCode = 26
	EDAMErrorCode_ACCOUNT_CLEAR                    EDAMErrorCode = 27
	EDAMErrorCode_SSO_AUTHENTICATION_REQUIRED      EDAMErrorCode = 28
)

func EDAMErrorCodeFromString

func EDAMErrorCodeFromString(s string) (EDAMErrorCode, error)

func EDAMErrorCodePtr

func EDAMErrorCodePtr(v EDAMErrorCode) *EDAMErrorCode

func (EDAMErrorCode) MarshalText

func (p EDAMErrorCode) MarshalText() ([]byte, error)

func (*EDAMErrorCode) Scan

func (p *EDAMErrorCode) Scan(value interface{}) error

func (EDAMErrorCode) String

func (p EDAMErrorCode) String() string

func (*EDAMErrorCode) UnmarshalText

func (p *EDAMErrorCode) UnmarshalText(text []byte) error

func (*EDAMErrorCode) Value

func (p *EDAMErrorCode) Value() (driver.Value, error)

type EDAMInvalidContactReason

type EDAMInvalidContactReason int64

An enumeration that provides a reason for why a given contact was invalid, for example, as thrown via an EDAMInvalidContactsException.

<dl>

<dt>BAD_ADDRESS</dt>
  <dd>The contact information does not represent a valid address for a recipient.
      Clients should be validating and normalizing contacts, so receiving this
      error code commonly represents a client error.
      </dd>
<dt>DUPLICATE_CONTACT</dt>
  <dd>If the method throwing this exception accepts a list of contacts, this error
      code indicates that the given contact is a duplicate of another contact in
      the list.  Note that the server may clean up contacts, and that this cleanup
      occurs before checking for duplication.  Receiving this error is commonly
      an indication of a client issue, since client should be normalizing contacts
      and removing duplicates. All instances that are duplicates are returned.  For
      example, if a list of 5 contacts has the same e-mail address twice, the two
      conflicting e-mail address contacts will be returned.
      </dd>
<dt>NO_CONNECTION</dt>
  <dd>Indicates that the given contact, an Evernote type contact, is not connected
      to the user for which the call is being made. It is possible that clients are
      out of sync with the server and should re-synchronize their identities and
      business user state. See Identity.userConnected for more information on user
      connections.
      </dd>

</dl>

Note that if multiple reasons may apply, only one is returned. The precedence order is BAD_ADDRESS, DUPLICATE_CONTACT, NO_CONNECTION, meaning that if a contact has a bad address and is also duplicated, it will be returned as a BAD_ADDRESS.

const (
	EDAMInvalidContactReason_BAD_ADDRESS       EDAMInvalidContactReason = 0
	EDAMInvalidContactReason_DUPLICATE_CONTACT EDAMInvalidContactReason = 1
	EDAMInvalidContactReason_NO_CONNECTION     EDAMInvalidContactReason = 2
)

func EDAMInvalidContactReasonFromString

func EDAMInvalidContactReasonFromString(s string) (EDAMInvalidContactReason, error)

func (EDAMInvalidContactReason) MarshalText

func (p EDAMInvalidContactReason) MarshalText() ([]byte, error)

func (*EDAMInvalidContactReason) Scan

func (p *EDAMInvalidContactReason) Scan(value interface{}) error

func (EDAMInvalidContactReason) String

func (p EDAMInvalidContactReason) String() string

func (*EDAMInvalidContactReason) UnmarshalText

func (p *EDAMInvalidContactReason) UnmarshalText(text []byte) error

func (*EDAMInvalidContactReason) Value

type EDAMInvalidContactsException

type EDAMInvalidContactsException struct {
	Contacts  []*Contact                 `thrift:"contacts,1,required" db:"contacts" json:"contacts"`
	Parameter *string                    `thrift:"parameter,2" db:"parameter" json:"parameter,omitempty"`
	Reasons   []EDAMInvalidContactReason `thrift:"reasons,3" db:"reasons" json:"reasons,omitempty"`
}

An exception thrown when the provided Contacts fail validation. For instance, email domains could be invalid, phone numbers might not be valid for SMS, etc.

We will not provide individual reasons for each Contact's validation failure. The presence of the Contact in this exception means that the user must figure out how to take appropriate action to fix this Contact.

<dl>

<dt>contacts</dt>
<dd>The list of Contacts that are considered invalid by the service</dd>

<dt>parameter</dt>
<dd>If the error applied to a particular input parameter, this will
indicate which parameter.</dd>

<dt>reasons</dt>
<dd>If supplied, the list of reasons why the server considered a contact invalid,
matching, in order, the list returned in the contacts field.</dd>

</dl>

Attributes:

  • Contacts
  • Parameter
  • Reasons
var NoteStoreCreateOrUpdateNotebookSharesResult_InvalidContactsException_DEFAULT *EDAMInvalidContactsException

func NewEDAMInvalidContactsException

func NewEDAMInvalidContactsException() *EDAMInvalidContactsException

func (*EDAMInvalidContactsException) Error

func (*EDAMInvalidContactsException) GetContacts

func (p *EDAMInvalidContactsException) GetContacts() []*Contact

func (*EDAMInvalidContactsException) GetParameter

func (p *EDAMInvalidContactsException) GetParameter() string

func (*EDAMInvalidContactsException) GetReasons

func (*EDAMInvalidContactsException) IsSetParameter

func (p *EDAMInvalidContactsException) IsSetParameter() bool

func (*EDAMInvalidContactsException) IsSetReasons

func (p *EDAMInvalidContactsException) IsSetReasons() bool

func (*EDAMInvalidContactsException) Read

func (*EDAMInvalidContactsException) ReadField1

func (p *EDAMInvalidContactsException) ReadField1(iprot thrift.TProtocol) error

func (*EDAMInvalidContactsException) ReadField2

func (p *EDAMInvalidContactsException) ReadField2(iprot thrift.TProtocol) error

func (*EDAMInvalidContactsException) ReadField3

func (p *EDAMInvalidContactsException) ReadField3(iprot thrift.TProtocol) error

func (*EDAMInvalidContactsException) String

func (*EDAMInvalidContactsException) Write

type EDAMNotFoundException

type EDAMNotFoundException struct {
	Identifier *string `thrift:"identifier,1" db:"identifier" json:"identifier,omitempty"`
	Key        *string `thrift:"key,2" db:"key" json:"key,omitempty"`
}

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
var ManageNoteSharesError_NotFoundException_DEFAULT *EDAMNotFoundException
var ManageNotebookSharesError_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreAuthenticateToSharedNoteResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreAuthenticateToSharedNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreCopyNoteResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreCreateLinkedNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreCreateNoteResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreCreateNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreCreateOrUpdateNotebookSharesResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreCreateTagResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreDeleteNoteResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreEmailNoteResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreExpungeLinkedNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreExpungeNoteResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreExpungeNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreExpungeSearchResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreExpungeTagResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreFindNoteCountsResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreFindNoteOffsetResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreFindNotesMetadataResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreFindRelatedResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetLinkedNotebookSyncChunkResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetLinkedNotebookSyncStateResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetNoteApplicationDataEntryResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetNoteApplicationDataResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetNoteContentResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetNoteResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetNoteSearchTextResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetNoteTagNamesResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetNoteVersionResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetNoteWithResultSpecResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetNotebookSharesResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetPublicNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetResourceAlternateDataResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetResourceApplicationDataEntryResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetResourceApplicationDataResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetResourceAttributesResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetResourceByHashResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetResourceDataResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetResourceRecognitionResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetResourceResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetResourceSearchTextResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetSearchResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetSharedNotebookByAuthResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreGetTagResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreListLinkedNotebooksResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreListNoteVersionsResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreListSharedNotebooksResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreListTagsByNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreManageNotebookSharesResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreSetNoteApplicationDataEntryResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreSetNotebookRecipientSettingsResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreSetResourceApplicationDataEntryResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreShareNoteResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreShareNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreStopSharingNoteResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUnsetNoteApplicationDataEntryResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUnsetResourceApplicationDataEntryResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUntagAllResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUpdateLinkedNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUpdateNoteIfUsnMatchesResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUpdateNoteResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUpdateNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUpdateResourceResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUpdateSearchResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUpdateSharedNotebookResult_NotFoundException_DEFAULT *EDAMNotFoundException
var NoteStoreUpdateTagResult_NotFoundException_DEFAULT *EDAMNotFoundException
var UserStoreGetPublicUserInfoResult_NotFoundException_DEFAULT *EDAMNotFoundException
var UserStoreRemoveFromBusinessResult_NotFoundException_DEFAULT *EDAMNotFoundException
var UserStoreUpdateBusinessUserIdentifierResult_NotFoundException_DEFAULT *EDAMNotFoundException

func NewEDAMNotFoundException

func NewEDAMNotFoundException() *EDAMNotFoundException

func (*EDAMNotFoundException) Error

func (p *EDAMNotFoundException) Error() string

func (*EDAMNotFoundException) GetIdentifier

func (p *EDAMNotFoundException) GetIdentifier() string

func (*EDAMNotFoundException) GetKey

func (p *EDAMNotFoundException) GetKey() string

func (*EDAMNotFoundException) IsSetIdentifier

func (p *EDAMNotFoundException) IsSetIdentifier() bool

func (*EDAMNotFoundException) IsSetKey

func (p *EDAMNotFoundException) IsSetKey() bool

func (*EDAMNotFoundException) Read

func (*EDAMNotFoundException) ReadField1

func (p *EDAMNotFoundException) ReadField1(iprot thrift.TProtocol) error

func (*EDAMNotFoundException) ReadField2

func (p *EDAMNotFoundException) ReadField2(iprot thrift.TProtocol) error

func (*EDAMNotFoundException) String

func (p *EDAMNotFoundException) String() string

func (*EDAMNotFoundException) Write

func (p *EDAMNotFoundException) Write(oprot thrift.TProtocol) error

type EDAMSystemException

type EDAMSystemException struct {
	ErrorCode         EDAMErrorCode `thrift:"errorCode,1,required" db:"errorCode" json:"errorCode"`
	Message           *string       `thrift:"message,2" db:"message" json:"message,omitempty"`
	RateLimitDuration *int32        `thrift:"rateLimitDuration,3" db:"rateLimitDuration" json:"rateLimitDuration,omitempty"`
}

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
var NoteStoreAuthenticateToSharedNoteResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreAuthenticateToSharedNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreCopyNoteResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreCreateLinkedNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreCreateNoteResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreCreateNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreCreateOrUpdateNotebookSharesResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreCreateSearchResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreCreateTagResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreDeleteNoteResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreEmailNoteResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreExpungeLinkedNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreExpungeNoteResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreExpungeNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreExpungeSearchResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreExpungeTagResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreFindNoteCountsResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreFindNoteOffsetResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreFindNotesMetadataResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreFindRelatedResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetDefaultNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetFilteredSyncChunkResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetLinkedNotebookSyncChunkResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetLinkedNotebookSyncStateResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetNoteApplicationDataEntryResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetNoteApplicationDataResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetNoteContentResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetNoteResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetNoteSearchTextResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetNoteTagNamesResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetNoteVersionResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetNoteWithResultSpecResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetNotebookSharesResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetPublicNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetResourceAlternateDataResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetResourceApplicationDataEntryResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetResourceApplicationDataResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetResourceAttributesResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetResourceByHashResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetResourceDataResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetResourceRecognitionResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetResourceResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetResourceSearchTextResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetSearchResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetSharedNotebookByAuthResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetSyncStateResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreGetTagResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreListAccessibleBusinessNotebooksResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreListLinkedNotebooksResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreListNoteVersionsResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreListNotebooksResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreListSearchesResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreListSharedNotebooksResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreListTagsByNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreListTagsResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreManageNotebookSharesResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreSetNoteApplicationDataEntryResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreSetNotebookRecipientSettingsResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreSetResourceApplicationDataEntryResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreShareNoteResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreShareNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreStopSharingNoteResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUnsetNoteApplicationDataEntryResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUnsetResourceApplicationDataEntryResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUntagAllResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUpdateLinkedNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUpdateNoteIfUsnMatchesResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUpdateNoteResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUpdateNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUpdateResourceResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUpdateSearchResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUpdateSharedNotebookResult_SystemException_DEFAULT *EDAMSystemException
var NoteStoreUpdateTagResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreAuthenticateLongSessionResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreAuthenticateToBusinessResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreCompleteTwoFactorAuthenticationResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreGetPublicUserInfoResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreGetUserResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreGetUserUrlsResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreInviteToBusinessResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreListBusinessInvitationsResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreListBusinessUsersResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreRemoveFromBusinessResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreRevokeLongSessionResult_SystemException_DEFAULT *EDAMSystemException
var UserStoreUpdateBusinessUserIdentifierResult_SystemException_DEFAULT *EDAMSystemException

func NewEDAMSystemException

func NewEDAMSystemException() *EDAMSystemException

func (*EDAMSystemException) Error

func (p *EDAMSystemException) Error() string

func (*EDAMSystemException) GetErrorCode

func (p *EDAMSystemException) GetErrorCode() EDAMErrorCode

func (*EDAMSystemException) GetMessage

func (p *EDAMSystemException) GetMessage() string

func (*EDAMSystemException) GetRateLimitDuration

func (p *EDAMSystemException) GetRateLimitDuration() int32

func (*EDAMSystemException) IsSetMessage

func (p *EDAMSystemException) IsSetMessage() bool

func (*EDAMSystemException) IsSetRateLimitDuration

func (p *EDAMSystemException) IsSetRateLimitDuration() bool

func (*EDAMSystemException) Read

func (p *EDAMSystemException) Read(iprot thrift.TProtocol) error

func (*EDAMSystemException) ReadField1

func (p *EDAMSystemException) ReadField1(iprot thrift.TProtocol) error

func (*EDAMSystemException) ReadField2

func (p *EDAMSystemException) ReadField2(iprot thrift.TProtocol) error

func (*EDAMSystemException) ReadField3

func (p *EDAMSystemException) ReadField3(iprot thrift.TProtocol) error

func (*EDAMSystemException) String

func (p *EDAMSystemException) String() string

func (*EDAMSystemException) Write

func (p *EDAMSystemException) Write(oprot thrift.TProtocol) error

type EDAMUserException

type EDAMUserException struct {
	ErrorCode EDAMErrorCode `thrift:"errorCode,1,required" db:"errorCode" json:"errorCode"`
	Parameter *string       `thrift:"parameter,2" db:"parameter" json:"parameter,omitempty"`
}

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. For some errors (USER_NOT_ASSOCIATED, USER_NOT_REGISTERED,
SSO_AUTHENTICATION_REQUIRED), this is the user's email.

Attributes:

  • ErrorCode
  • Parameter
var ManageNoteSharesError_UserException_DEFAULT *EDAMUserException
var ManageNotebookSharesError_UserException_DEFAULT *EDAMUserException
var NoteStoreAuthenticateToSharedNoteResult_UserException_DEFAULT *EDAMUserException
var NoteStoreAuthenticateToSharedNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreCopyNoteResult_UserException_DEFAULT *EDAMUserException
var NoteStoreCreateLinkedNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreCreateNoteResult_UserException_DEFAULT *EDAMUserException
var NoteStoreCreateNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreCreateOrUpdateNotebookSharesResult_UserException_DEFAULT *EDAMUserException
var NoteStoreCreateSearchResult_UserException_DEFAULT *EDAMUserException
var NoteStoreCreateTagResult_UserException_DEFAULT *EDAMUserException
var NoteStoreDeleteNoteResult_UserException_DEFAULT *EDAMUserException
var NoteStoreEmailNoteResult_UserException_DEFAULT *EDAMUserException
var NoteStoreExpungeLinkedNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreExpungeNoteResult_UserException_DEFAULT *EDAMUserException
var NoteStoreExpungeNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreExpungeSearchResult_UserException_DEFAULT *EDAMUserException
var NoteStoreExpungeTagResult_UserException_DEFAULT *EDAMUserException
var NoteStoreFindNoteCountsResult_UserException_DEFAULT *EDAMUserException
var NoteStoreFindNoteOffsetResult_UserException_DEFAULT *EDAMUserException
var NoteStoreFindNotesMetadataResult_UserException_DEFAULT *EDAMUserException
var NoteStoreFindRelatedResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetDefaultNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetFilteredSyncChunkResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetLinkedNotebookSyncChunkResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetLinkedNotebookSyncStateResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetNoteApplicationDataEntryResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetNoteApplicationDataResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetNoteContentResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetNoteResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetNoteSearchTextResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetNoteTagNamesResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetNoteVersionResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetNoteWithResultSpecResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetNotebookSharesResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetResourceAlternateDataResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetResourceApplicationDataEntryResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetResourceApplicationDataResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetResourceAttributesResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetResourceByHashResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetResourceDataResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetResourceRecognitionResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetResourceResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetResourceSearchTextResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetSearchResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetSharedNotebookByAuthResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetSyncStateResult_UserException_DEFAULT *EDAMUserException
var NoteStoreGetTagResult_UserException_DEFAULT *EDAMUserException
var NoteStoreListAccessibleBusinessNotebooksResult_UserException_DEFAULT *EDAMUserException
var NoteStoreListLinkedNotebooksResult_UserException_DEFAULT *EDAMUserException
var NoteStoreListNoteVersionsResult_UserException_DEFAULT *EDAMUserException
var NoteStoreListNotebooksResult_UserException_DEFAULT *EDAMUserException
var NoteStoreListSearchesResult_UserException_DEFAULT *EDAMUserException
var NoteStoreListSharedNotebooksResult_UserException_DEFAULT *EDAMUserException
var NoteStoreListTagsByNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreListTagsResult_UserException_DEFAULT *EDAMUserException
var NoteStoreManageNotebookSharesResult_UserException_DEFAULT *EDAMUserException
var NoteStoreSetNoteApplicationDataEntryResult_UserException_DEFAULT *EDAMUserException
var NoteStoreSetNotebookRecipientSettingsResult_UserException_DEFAULT *EDAMUserException
var NoteStoreSetResourceApplicationDataEntryResult_UserException_DEFAULT *EDAMUserException
var NoteStoreShareNoteResult_UserException_DEFAULT *EDAMUserException
var NoteStoreShareNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreStopSharingNoteResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUnsetNoteApplicationDataEntryResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUnsetResourceApplicationDataEntryResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUntagAllResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUpdateLinkedNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUpdateNoteIfUsnMatchesResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUpdateNoteResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUpdateNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUpdateResourceResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUpdateSearchResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUpdateSharedNotebookResult_UserException_DEFAULT *EDAMUserException
var NoteStoreUpdateTagResult_UserException_DEFAULT *EDAMUserException
var UserStoreAuthenticateLongSessionResult_UserException_DEFAULT *EDAMUserException
var UserStoreAuthenticateToBusinessResult_UserException_DEFAULT *EDAMUserException
var UserStoreCompleteTwoFactorAuthenticationResult_UserException_DEFAULT *EDAMUserException
var UserStoreGetAccountLimitsResult_UserException_DEFAULT *EDAMUserException
var UserStoreGetPublicUserInfoResult_UserException_DEFAULT *EDAMUserException
var UserStoreGetUserResult_UserException_DEFAULT *EDAMUserException
var UserStoreGetUserUrlsResult_UserException_DEFAULT *EDAMUserException
var UserStoreInviteToBusinessResult_UserException_DEFAULT *EDAMUserException
var UserStoreListBusinessInvitationsResult_UserException_DEFAULT *EDAMUserException
var UserStoreListBusinessUsersResult_UserException_DEFAULT *EDAMUserException
var UserStoreRemoveFromBusinessResult_UserException_DEFAULT *EDAMUserException
var UserStoreRevokeLongSessionResult_UserException_DEFAULT *EDAMUserException
var UserStoreUpdateBusinessUserIdentifierResult_UserException_DEFAULT *EDAMUserException

func NewEDAMUserException

func NewEDAMUserException() *EDAMUserException

func (*EDAMUserException) Error

func (p *EDAMUserException) Error() string

func (*EDAMUserException) GetErrorCode

func (p *EDAMUserException) GetErrorCode() EDAMErrorCode

func (*EDAMUserException) GetParameter

func (p *EDAMUserException) GetParameter() string

func (*EDAMUserException) IsSetParameter

func (p *EDAMUserException) IsSetParameter() bool

func (*EDAMUserException) Read

func (p *EDAMUserException) Read(iprot thrift.TProtocol) error

func (*EDAMUserException) ReadField1

func (p *EDAMUserException) ReadField1(iprot thrift.TProtocol) error

func (*EDAMUserException) ReadField2

func (p *EDAMUserException) ReadField2(iprot thrift.TProtocol) error

func (*EDAMUserException) String

func (p *EDAMUserException) String() string

func (*EDAMUserException) Write

func (p *EDAMUserException) Write(oprot thrift.TProtocol) error

type EntityType

type EntityType int64

Entity types

const (
	EntityType_NOTE      EntityType = 1
	EntityType_NOTEBOOK  EntityType = 2
	EntityType_WORKSPACE EntityType = 3
)

func EntityTypeFromString

func EntityTypeFromString(s string) (EntityType, error)

func EntityTypePtr

func EntityTypePtr(v EntityType) *EntityType

func (EntityType) MarshalText

func (p EntityType) MarshalText() ([]byte, error)

func (*EntityType) Scan

func (p *EntityType) Scan(value interface{}) error

func (EntityType) String

func (p EntityType) String() string

func (*EntityType) UnmarshalText

func (p *EntityType) UnmarshalText(text []byte) error

func (*EntityType) Value

func (p *EntityType) Value() (driver.Value, error)

type GUID

type GUID string

Most data elements within a user's account (e.g. notebooks, notes, tags, resources, etc.) are internally referred to using a globally unique identifier that is written in a standard string format. For example:

"8743428c-ef91-4d05-9e7c-4a2e856e813a"

The internal components of the GUID are not given any particular meaning: only the entire string is relevant as a unique identifier.

var LinkedNotebook_GUID_DEFAULT GUID
var NoteAttributes_ConflictSourceNoteGuid_DEFAULT GUID
var NoteFilter_NotebookGuid_DEFAULT GUID
var Note_GUID_DEFAULT GUID
var NotebookDescriptor_GUID_DEFAULT GUID
var NotebookShareTemplate_NotebookGuid_DEFAULT GUID
var Notebook_GUID_DEFAULT GUID
var Resource_GUID_DEFAULT GUID
var Resource_NoteGuid_DEFAULT GUID
var SavedSearch_GUID_DEFAULT GUID
var SharedNoteTemplate_NoteGuid_DEFAULT GUID
var SharedNotebook_NotebookGuid_DEFAULT GUID
var Tag_GUID_DEFAULT GUID
var Tag_ParentGuid_DEFAULT GUID

func GUIDPtr

func GUIDPtr(v GUID) *GUID

type Identity

type Identity struct {
	ID            IdentityID      `thrift:"id,1,required" db:"id" json:"id"`
	Contact       *Contact        `thrift:"contact,2" db:"contact" json:"contact,omitempty"`
	UserId        *UserID         `thrift:"userId,3" db:"userId" json:"userId,omitempty"`
	Deactivated   *bool           `thrift:"deactivated,4" db:"deactivated" json:"deactivated,omitempty"`
	SameBusiness  *bool           `thrift:"sameBusiness,5" db:"sameBusiness" json:"sameBusiness,omitempty"`
	Blocked       *bool           `thrift:"blocked,6" db:"blocked" json:"blocked,omitempty"`
	UserConnected *bool           `thrift:"userConnected,7" db:"userConnected" json:"userConnected,omitempty"`
	EventId       *MessageEventID `thrift:"eventId,8" db:"eventId" json:"eventId,omitempty"`
}

An object that represents the relationship between a Contact that possibly belongs to an Evernote User.

<dl>

<dt>id</dt>
<dd>The unique identifier for this mapping.
</dd>

<dt>contact<dt>
<dd>The Contact that can be used to address this Identity. May be unset.
</dd>

<dt>userId</dt>
<dd>The Evernote User id that is connected to the Contact. May be unset
    if this identity has not yet been claimed, or the caller is not
    connected to this identity.
</dd>

<dt>deactivated</dt>
<dd>Indicates that the contact for this identity is no longer active and
should not be used when creating new threads using Destination.recipients,
unless you know of another Identity instance with the same contact information
that is active.  If you are connected to the user (see userConnected), you
can still create threads using their Evernote-type contact.</dd>

<dt>sameBusiness</dt>
<dd>Does this Identity belong to someone who is in the same business as the
    caller?
</dd>

<dt>blocked</dt>
<dd>Has the caller blocked the Evernote user this Identity represents?
</dd>

<dt>userConnected</dt>
<dd>Indicates that the caller is "connected" to the user of this
identity via this identity.  When you have a connection via an
identity, you should always create new threads using the
Evernote-type contact (see ContactType) using the userId field
from a connected Identity.  On the Evernote service, the
Evernote-type contact is the most durable. Phone numbers and
e-mail addresses can get re-assigned but your Evernote account
user ID will remain the same.  A connection exists when both of
you are in the same business or the user has replied to a thread
that you are on.  When connected, you will also get to see more
information about the user who has claimed the identity.  Note
that you are never connected to yourself since you won't be
sending messages to yourself, but you will obviously see your own
profile information.
</dd>

<dt>eventId</dt>
<dd>A server-assigned sequence number for the events in the messages
subsystem.
</dd>

</dl>

Attributes:

  • ID
  • Contact
  • UserId
  • Deactivated
  • SameBusiness
  • Blocked
  • UserConnected
  • EventId
var SharedNote_RecipientIdentity_DEFAULT *Identity

func NewIdentity

func NewIdentity() *Identity

func (*Identity) GetBlocked

func (p *Identity) GetBlocked() bool

func (*Identity) GetContact

func (p *Identity) GetContact() *Contact

func (*Identity) GetDeactivated

func (p *Identity) GetDeactivated() bool

func (*Identity) GetEventId

func (p *Identity) GetEventId() MessageEventID

func (*Identity) GetID

func (p *Identity) GetID() IdentityID

func (*Identity) GetSameBusiness

func (p *Identity) GetSameBusiness() bool

func (*Identity) GetUserConnected

func (p *Identity) GetUserConnected() bool

func (*Identity) GetUserId

func (p *Identity) GetUserId() UserID

func (*Identity) IsSetBlocked

func (p *Identity) IsSetBlocked() bool

func (*Identity) IsSetContact

func (p *Identity) IsSetContact() bool

func (*Identity) IsSetDeactivated

func (p *Identity) IsSetDeactivated() bool

func (*Identity) IsSetEventId

func (p *Identity) IsSetEventId() bool

func (*Identity) IsSetSameBusiness

func (p *Identity) IsSetSameBusiness() bool

func (*Identity) IsSetUserConnected

func (p *Identity) IsSetUserConnected() bool

func (*Identity) IsSetUserId

func (p *Identity) IsSetUserId() bool

func (*Identity) Read

func (p *Identity) Read(iprot thrift.TProtocol) error

func (*Identity) ReadField1

func (p *Identity) ReadField1(iprot thrift.TProtocol) error

func (*Identity) ReadField2

func (p *Identity) ReadField2(iprot thrift.TProtocol) error

func (*Identity) ReadField3

func (p *Identity) ReadField3(iprot thrift.TProtocol) error

func (*Identity) ReadField4

func (p *Identity) ReadField4(iprot thrift.TProtocol) error

func (*Identity) ReadField5

func (p *Identity) ReadField5(iprot thrift.TProtocol) error

func (*Identity) ReadField6

func (p *Identity) ReadField6(iprot thrift.TProtocol) error

func (*Identity) ReadField7

func (p *Identity) ReadField7(iprot thrift.TProtocol) error

func (*Identity) ReadField8

func (p *Identity) ReadField8(iprot thrift.TProtocol) error

func (*Identity) String

func (p *Identity) String() string

func (*Identity) Write

func (p *Identity) Write(oprot thrift.TProtocol) error

type IdentityID

type IdentityID int64

A type alias for the primary identifiers for Identity objects.

var ManageNoteSharesError_IdentityID_DEFAULT IdentityID
var NoteInvitationShareRelationship_RecipientIdentityId_DEFAULT IdentityID
var SharedNotebook_RecipientIdentityId_DEFAULT IdentityID

func IdentityIDPtr

func IdentityIDPtr(v IdentityID) *IdentityID

type InvalidationSequenceNumber

type InvalidationSequenceNumber int64

A monotonically incrementing number on each shard that identifies a cross shard cache invalidation event.

type InvitationShareRelationship

type InvitationShareRelationship struct {
	DisplayName           *string                          `thrift:"displayName,1" db:"displayName" json:"displayName,omitempty"`
	RecipientUserIdentity *UserIdentity                    `thrift:"recipientUserIdentity,2" db:"recipientUserIdentity" json:"recipientUserIdentity,omitempty"`
	Privilege             *ShareRelationshipPrivilegeLevel `thrift:"privilege,3" db:"privilege" json:"privilege,omitempty"`
	// unused field # 4
	SharerUserId *UserID `thrift:"sharerUserId,5" db:"sharerUserId" json:"sharerUserId,omitempty"`
}

Describes an invitation to a person to use their Evernote credentials to become a member of a notebook.

<dl> <dt>displayName</dt> <dd>The string that clients should show to users to represent this invitation.</dd>

<dt>recipientUserIdentity</dt> <dd>Identifies the recipient of the invitation. The user identity type can be either EMAIL, EVERNOTE or IDENTITYID. If the invitation was created using the classic notebook sharing APIs it will be EMAIL. If it was created using the new identity-based notebook sharing APIs it will either be EVERNOTE or IDENTITYID, depending on whether we can map the identity to an Evernote user at the time of creation. </dd>

<dt>privilege</dt> <dd>The privilege level at which the member will be joined, if it turns out that the member is not already joined at a higher level. Note that the <tt>identity</tt> field may not uniquely identify an Evernote User ID, and so we won't know until the invitation is redeemed whether or not the recipient already has privilege.</dd>

<dt>sharerUserId</dt> <dd>The user id of the user who most recently shared this notebook to this identity. This field is used by the service to convey information to the user, so clients should treat it as read-only.</dd> </dl>

Attributes:

  • DisplayName
  • RecipientUserIdentity
  • Privilege
  • SharerUserId

func NewInvitationShareRelationship

func NewInvitationShareRelationship() *InvitationShareRelationship

func (*InvitationShareRelationship) GetDisplayName

func (p *InvitationShareRelationship) GetDisplayName() string

func (*InvitationShareRelationship) GetPrivilege

func (*InvitationShareRelationship) GetRecipientUserIdentity

func (p *InvitationShareRelationship) GetRecipientUserIdentity() *UserIdentity

func (*InvitationShareRelationship) GetSharerUserId

func (p *InvitationShareRelationship) GetSharerUserId() UserID

func (*InvitationShareRelationship) IsSetDisplayName

func (p *InvitationShareRelationship) IsSetDisplayName() bool

func (*InvitationShareRelationship) IsSetPrivilege

func (p *InvitationShareRelationship) IsSetPrivilege() bool

func (*InvitationShareRelationship) IsSetRecipientUserIdentity

func (p *InvitationShareRelationship) IsSetRecipientUserIdentity() bool

func (*InvitationShareRelationship) IsSetSharerUserId

func (p *InvitationShareRelationship) IsSetSharerUserId() bool

func (*InvitationShareRelationship) Read

func (*InvitationShareRelationship) ReadField1

func (p *InvitationShareRelationship) ReadField1(iprot thrift.TProtocol) error

func (*InvitationShareRelationship) ReadField2

func (p *InvitationShareRelationship) ReadField2(iprot thrift.TProtocol) error

func (*InvitationShareRelationship) ReadField3

func (p *InvitationShareRelationship) ReadField3(iprot thrift.TProtocol) error

func (*InvitationShareRelationship) ReadField5

func (p *InvitationShareRelationship) ReadField5(iprot thrift.TProtocol) error

func (*InvitationShareRelationship) String

func (p *InvitationShareRelationship) String() string

func (*InvitationShareRelationship) Write

type LazyMap

type LazyMap struct {
	KeysOnly []string          `thrift:"keysOnly,1" db:"keysOnly" json:"keysOnly,omitempty"`
	FullMap  map[string]string `thrift:"fullMap,2" db:"fullMap" json:"fullMap,omitempty"`
}

A structure that wraps a map of name/value pairs whose values are not always present in the structure in order to reduce space when obtaining batches of entities that contain the map.

When the server provides the client with a LazyMap, it will fill in either the keysOnly field or the fullMap field, but never both, based on the API and parameters.

When a client provides a LazyMap to the server as part of an update to an object, the server will only update the LazyMap if the fullMap field is set. If the fullMap field is not set, the server will not make any changes to the map.

Check the API documentation of the individual calls involving the LazyMap for full details including the constraints of the names and values of the map.

<dl> <dt>keysOnly</dt>

<dd>The set of keys for the map.  This field is ignored by the
    server when set.
</dd>

<dt>fullMap</dt>

<dd>The complete map, including all keys and values.
</dd>

</dl>

Attributes:

  • KeysOnly
  • FullMap
var NoteAttributes_ApplicationData_DEFAULT *LazyMap
var NoteStoreGetNoteApplicationDataResult_Success_DEFAULT *LazyMap
var NoteStoreGetResourceApplicationDataResult_Success_DEFAULT *LazyMap
var ResourceAttributes_ApplicationData_DEFAULT *LazyMap

func NewLazyMap

func NewLazyMap() *LazyMap

func (*LazyMap) GetFullMap

func (p *LazyMap) GetFullMap() map[string]string

func (*LazyMap) GetKeysOnly

func (p *LazyMap) GetKeysOnly() []string

func (*LazyMap) IsSetFullMap

func (p *LazyMap) IsSetFullMap() bool

func (*LazyMap) IsSetKeysOnly

func (p *LazyMap) IsSetKeysOnly() bool

func (*LazyMap) Read

func (p *LazyMap) Read(iprot thrift.TProtocol) error

func (*LazyMap) ReadField1

func (p *LazyMap) ReadField1(iprot thrift.TProtocol) error

func (*LazyMap) ReadField2

func (p *LazyMap) ReadField2(iprot thrift.TProtocol) error

func (*LazyMap) String

func (p *LazyMap) String() string

func (*LazyMap) Write

func (p *LazyMap) Write(oprot thrift.TProtocol) error

type LinkedNotebook

type LinkedNotebook struct {
	// unused field # 1
	ShareName              *string `thrift:"shareName,2" db:"shareName" json:"shareName,omitempty"`
	Username               *string `thrift:"username,3" db:"username" json:"username,omitempty"`
	ShardId                *string `thrift:"shardId,4" db:"shardId" json:"shardId,omitempty"`
	SharedNotebookGlobalId *string `thrift:"sharedNotebookGlobalId,5" db:"sharedNotebookGlobalId" json:"sharedNotebookGlobalId,omitempty"`
	URI                    *string `thrift:"uri,6" db:"uri" json:"uri,omitempty"`
	GUID                   *GUID   `thrift:"guid,7" db:"guid" json:"guid,omitempty"`
	UpdateSequenceNum      *int32  `thrift:"updateSequenceNum,8" db:"updateSequenceNum" json:"updateSequenceNum,omitempty"`
	NoteStoreUrl           *string `thrift:"noteStoreUrl,9" db:"noteStoreUrl" json:"noteStoreUrl,omitempty"`
	WebApiUrlPrefix        *string `thrift:"webApiUrlPrefix,10" db:"webApiUrlPrefix" json:"webApiUrlPrefix,omitempty"`
	Stack                  *string `thrift:"stack,11" db:"stack" json:"stack,omitempty"`
	BusinessId             *int32  `thrift:"businessId,12" db:"businessId" json:"businessId,omitempty"`
}

A link in a user's account that refers them to a public or individual shared notebook in another user's account.

<dl> <dt>shareName</dt> <dd>The display name of the shared notebook. The link owner can change this.</dd>

<dt>username</dt> <dd>The username of the user who owns the shared or public notebook.</dd>

<dt>shardId</dt> <dd>The shard ID of the notebook if the notebook is not public.</dt>

<dt>uri</dt> <dd>The identifier of the public notebook.</dd>

<dt>guid</dt>

<dd>The unique identifier of this linked notebook.  Will be set whenever
a linked notebook is retrieved from the service, but may be null when a client
is creating a linked notebook.
<br/>
Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
<br/>
Regex:  EDAM_GUID_REGEX
</dd>

<dt>updateSequenceNum</dt>

<dd>A number identifying the last transaction to
modify the state of this object.  The USN values are sequential within an
account, and can be used to compare the order of modifications within the
service.
</dd>

<dt>noteStoreUrl</dt>

<dd>
This field will contain the full URL that clients should use to make
NoteStore requests to the server shard that contains that notebook's data.
I.e. this is the URL that should be used to create the Thrift HTTP client
transport to send messages to the NoteStore service for the account.
</dd>

<dt>webApiUrlPrefix:</dt>

<dd>
This field will contain the initial part of the URLs that should be used
to make requests to Evernote's thin client "web API", which provide
optimized operations for clients that aren't capable of manipulating
the full contents of accounts via the full Thrift data model. Clients
should concatenate the relative path for the various servlets onto the
end of this string to construct the full URL, as documented on our
developer web site.
</dd>

<dt>stack</dt>

<dd>If this is set, then the notebook is visually contained within a stack
of notebooks with this name.  All notebooks in the same account with the
same 'stack' field are considered to be in the same stack.
Notebooks with no stack set are "top level" and not contained within a
stack.  The link owner can change this and this field is for the benefit
of the link owner.
</dd>

<dt>businessId</dt>

<dd>If set, this will be the unique identifier for the business that owns
the notebook to which the linked notebook refers.</dd>

<dt>sharedNotebookGlobalId</dt>

<dd>The globally unique identifier (globalId) of the shared notebook that
corresponds to the share key, or the GUID of the Notebook that the linked notebook
refers to. This field must be filled in with the SharedNotebook.globalId or
Notebook.GUID value when creating new LinkedNotebooks. This field replaces the
deprecated "shareKey" field.
</dd>

</dl>

Attributes:

  • ShareName
  • Username
  • ShardId
  • SharedNotebookGlobalId
  • URI
  • GUID
  • UpdateSequenceNum
  • NoteStoreUrl
  • WebApiUrlPrefix
  • Stack
  • BusinessId
var NoteStoreCreateLinkedNotebookArgs_LinkedNotebook_DEFAULT *LinkedNotebook
var NoteStoreCreateLinkedNotebookResult_Success_DEFAULT *LinkedNotebook
var NoteStoreGetLinkedNotebookSyncChunkArgs_LinkedNotebook_DEFAULT *LinkedNotebook
var NoteStoreGetLinkedNotebookSyncStateArgs_LinkedNotebook_DEFAULT *LinkedNotebook
var NoteStoreUpdateLinkedNotebookArgs_LinkedNotebook_DEFAULT *LinkedNotebook

func NewLinkedNotebook

func NewLinkedNotebook() *LinkedNotebook

func (*LinkedNotebook) GetBusinessId

func (p *LinkedNotebook) GetBusinessId() int32

func (*LinkedNotebook) GetGUID

func (p *LinkedNotebook) GetGUID() GUID

func (*LinkedNotebook) GetNoteStoreUrl

func (p *LinkedNotebook) GetNoteStoreUrl() string

func (*LinkedNotebook) GetShardId

func (p *LinkedNotebook) GetShardId() string

func (*LinkedNotebook) GetShareName

func (p *LinkedNotebook) GetShareName() string

func (*LinkedNotebook) GetSharedNotebookGlobalId

func (p *LinkedNotebook) GetSharedNotebookGlobalId() string

func (*LinkedNotebook) GetStack

func (p *LinkedNotebook) GetStack() string

func (*LinkedNotebook) GetURI

func (p *LinkedNotebook) GetURI() string

func (*LinkedNotebook) GetUpdateSequenceNum

func (p *LinkedNotebook) GetUpdateSequenceNum() int32

func (*LinkedNotebook) GetUsername

func (p *LinkedNotebook) GetUsername() string

func (*LinkedNotebook) GetWebApiUrlPrefix

func (p *LinkedNotebook) GetWebApiUrlPrefix() string

func (*LinkedNotebook) IsSetBusinessId

func (p *LinkedNotebook) IsSetBusinessId() bool

func (*LinkedNotebook) IsSetGUID

func (p *LinkedNotebook) IsSetGUID() bool

func (*LinkedNotebook) IsSetNoteStoreUrl

func (p *LinkedNotebook) IsSetNoteStoreUrl() bool

func (*LinkedNotebook) IsSetShardId

func (p *LinkedNotebook) IsSetShardId() bool

func (*LinkedNotebook) IsSetShareName

func (p *LinkedNotebook) IsSetShareName() bool

func (*LinkedNotebook) IsSetSharedNotebookGlobalId

func (p *LinkedNotebook) IsSetSharedNotebookGlobalId() bool

func (*LinkedNotebook) IsSetStack

func (p *LinkedNotebook) IsSetStack() bool

func (*LinkedNotebook) IsSetURI

func (p *LinkedNotebook) IsSetURI() bool

func (*LinkedNotebook) IsSetUpdateSequenceNum

func (p *LinkedNotebook) IsSetUpdateSequenceNum() bool

func (*LinkedNotebook) IsSetUsername

func (p *LinkedNotebook) IsSetUsername() bool

func (*LinkedNotebook) IsSetWebApiUrlPrefix

func (p *LinkedNotebook) IsSetWebApiUrlPrefix() bool

func (*LinkedNotebook) Read

func (p *LinkedNotebook) Read(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField10

func (p *LinkedNotebook) ReadField10(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField11

func (p *LinkedNotebook) ReadField11(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField12

func (p *LinkedNotebook) ReadField12(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField2

func (p *LinkedNotebook) ReadField2(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField3

func (p *LinkedNotebook) ReadField3(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField4

func (p *LinkedNotebook) ReadField4(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField5

func (p *LinkedNotebook) ReadField5(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField6

func (p *LinkedNotebook) ReadField6(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField7

func (p *LinkedNotebook) ReadField7(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField8

func (p *LinkedNotebook) ReadField8(iprot thrift.TProtocol) error

func (*LinkedNotebook) ReadField9

func (p *LinkedNotebook) ReadField9(iprot thrift.TProtocol) error

func (*LinkedNotebook) String

func (p *LinkedNotebook) String() string

func (*LinkedNotebook) Write

func (p *LinkedNotebook) Write(oprot thrift.TProtocol) error

type ManageNoteSharesError

type ManageNoteSharesError struct {
	IdentityID        *IdentityID            `thrift:"identityID,1" db:"identityID" json:"identityID,omitempty"`
	UserID            *UserID                `thrift:"userID,2" db:"userID" json:"userID,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,3" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,4" db:"notFoundException" json:"notFoundException,omitempty"`
}

Captures errors that occur during a call to manageNoteShares. That function can be run best-effort, meaning that some change requests can be applied while others fail. Note that some errors such as system exceptions may still cause the entire call to fail.

Only one of the two ID fields will be set on a given error.

Only one of the two exception fields will be set on a given error.

<dl>

<dt>identityID</dt>
<dd>The identity ID of an outstanding invitation that was not updated
  due to the error.</dd>

<dt>userID</dt>
<dd>The user ID of an existing membership that was not updated due
  to the error.</dd>

<dt>userException</dt>
<dd>If the error is represented as an EDAMUserException that would
  have otherwise been thrown without best-effort execution.</dd>

<dt>notFoundException</dt>
<dd>If the error is represented as an EDAMNotFoundException that
  would have otherwise been thrown without best-effort execution.
  The identifier field of the exception will be either "Identity.id"
  or "User.id", indicating that no existing share could be found for
  the specified recipient.</dd>

</dl>

Attributes:

  • IdentityID
  • UserID
  • UserException
  • NotFoundException

func NewManageNoteSharesError

func NewManageNoteSharesError() *ManageNoteSharesError

func (*ManageNoteSharesError) GetIdentityID

func (p *ManageNoteSharesError) GetIdentityID() IdentityID

func (*ManageNoteSharesError) GetNotFoundException

func (p *ManageNoteSharesError) GetNotFoundException() *EDAMNotFoundException

func (*ManageNoteSharesError) GetUserException

func (p *ManageNoteSharesError) GetUserException() *EDAMUserException

func (*ManageNoteSharesError) GetUserID

func (p *ManageNoteSharesError) GetUserID() UserID

func (*ManageNoteSharesError) IsSetIdentityID

func (p *ManageNoteSharesError) IsSetIdentityID() bool

func (*ManageNoteSharesError) IsSetNotFoundException

func (p *ManageNoteSharesError) IsSetNotFoundException() bool

func (*ManageNoteSharesError) IsSetUserException

func (p *ManageNoteSharesError) IsSetUserException() bool

func (*ManageNoteSharesError) IsSetUserID

func (p *ManageNoteSharesError) IsSetUserID() bool

func (*ManageNoteSharesError) Read

func (*ManageNoteSharesError) ReadField1

func (p *ManageNoteSharesError) ReadField1(iprot thrift.TProtocol) error

func (*ManageNoteSharesError) ReadField2

func (p *ManageNoteSharesError) ReadField2(iprot thrift.TProtocol) error

func (*ManageNoteSharesError) ReadField3

func (p *ManageNoteSharesError) ReadField3(iprot thrift.TProtocol) error

func (*ManageNoteSharesError) ReadField4

func (p *ManageNoteSharesError) ReadField4(iprot thrift.TProtocol) error

func (*ManageNoteSharesError) String

func (p *ManageNoteSharesError) String() string

func (*ManageNoteSharesError) Write

func (p *ManageNoteSharesError) Write(oprot thrift.TProtocol) error

type ManageNoteSharesParameters

type ManageNoteSharesParameters struct {
	NoteGuid             *string                            `thrift:"noteGuid,1" db:"noteGuid" json:"noteGuid,omitempty"`
	MembershipsToUpdate  []*NoteMemberShareRelationship     `thrift:"membershipsToUpdate,2" db:"membershipsToUpdate" json:"membershipsToUpdate,omitempty"`
	InvitationsToUpdate  []*NoteInvitationShareRelationship `thrift:"invitationsToUpdate,3" db:"invitationsToUpdate" json:"invitationsToUpdate,omitempty"`
	MembershipsToUnshare []UserID                           `thrift:"membershipsToUnshare,4" db:"membershipsToUnshare" json:"membershipsToUnshare,omitempty"`
	InvitationsToUnshare []IdentityID                       `thrift:"invitationsToUnshare,5" db:"invitationsToUnshare" json:"invitationsToUnshare,omitempty"`
}

Captures parameters used by clients to manage the shares for a given note via the manageNoteShares function. This is used only to manage the existing memberships and invitations for a note. To invite a new recipient, use NoteStore.createOrUpdateSharedNotes.

The only field of an existing membership or invitation that can be updated by this function is the share privilege.

<dl>

<dt>noteGuid</dt>
<dd>The GUID of the note whose shares are being managed.</dd>

<dt>membershipsToUpdate</dt>
<dd>A list of existing memberships to update. This field is not
  meant to be the full set of memberships for the note. Clients
  should only include those existing memberships that they wish
  to modify. To remove an existing membership, see the unshares
  field.</dd>

<dt>invitationsToUpdate</dt>
<dd>The list of outstanding invitations to update, as matched by the
  identity field of the NoteInvitationShareRelatioship instances.
  This field is not meant to be the full set of invitations for the
  note. Clients should only include those existing invitations that
  they wish to modify.</dd>

<dt>membershipsToUnshare</dt>
<dd>A list of existing memberships to expunge from the service.</dd>

<dt>invitationsToUnshare</dt>
<dd>A list of outstanding invitations to expunge from the service.</dd>

</dl>

Attributes:

  • NoteGuid
  • MembershipsToUpdate
  • InvitationsToUpdate
  • MembershipsToUnshare
  • InvitationsToUnshare

func NewManageNoteSharesParameters

func NewManageNoteSharesParameters() *ManageNoteSharesParameters

func (*ManageNoteSharesParameters) GetInvitationsToUnshare

func (p *ManageNoteSharesParameters) GetInvitationsToUnshare() []IdentityID

func (*ManageNoteSharesParameters) GetInvitationsToUpdate

func (p *ManageNoteSharesParameters) GetInvitationsToUpdate() []*NoteInvitationShareRelationship

func (*ManageNoteSharesParameters) GetMembershipsToUnshare

func (p *ManageNoteSharesParameters) GetMembershipsToUnshare() []UserID

func (*ManageNoteSharesParameters) GetMembershipsToUpdate

func (p *ManageNoteSharesParameters) GetMembershipsToUpdate() []*NoteMemberShareRelationship

func (*ManageNoteSharesParameters) GetNoteGuid

func (p *ManageNoteSharesParameters) GetNoteGuid() string

func (*ManageNoteSharesParameters) IsSetInvitationsToUnshare

func (p *ManageNoteSharesParameters) IsSetInvitationsToUnshare() bool

func (*ManageNoteSharesParameters) IsSetInvitationsToUpdate

func (p *ManageNoteSharesParameters) IsSetInvitationsToUpdate() bool

func (*ManageNoteSharesParameters) IsSetMembershipsToUnshare

func (p *ManageNoteSharesParameters) IsSetMembershipsToUnshare() bool

func (*ManageNoteSharesParameters) IsSetMembershipsToUpdate

func (p *ManageNoteSharesParameters) IsSetMembershipsToUpdate() bool

func (*ManageNoteSharesParameters) IsSetNoteGuid

func (p *ManageNoteSharesParameters) IsSetNoteGuid() bool

func (*ManageNoteSharesParameters) Read

func (*ManageNoteSharesParameters) ReadField1

func (p *ManageNoteSharesParameters) ReadField1(iprot thrift.TProtocol) error

func (*ManageNoteSharesParameters) ReadField2

func (p *ManageNoteSharesParameters) ReadField2(iprot thrift.TProtocol) error

func (*ManageNoteSharesParameters) ReadField3

func (p *ManageNoteSharesParameters) ReadField3(iprot thrift.TProtocol) error

func (*ManageNoteSharesParameters) ReadField4

func (p *ManageNoteSharesParameters) ReadField4(iprot thrift.TProtocol) error

func (*ManageNoteSharesParameters) ReadField5

func (p *ManageNoteSharesParameters) ReadField5(iprot thrift.TProtocol) error

func (*ManageNoteSharesParameters) String

func (p *ManageNoteSharesParameters) String() string

func (*ManageNoteSharesParameters) Write

type ManageNoteSharesResult_

type ManageNoteSharesResult_ struct {
	Errors []*ManageNoteSharesError `thrift:"errors,1" db:"errors" json:"errors,omitempty"`
}

The return value of a call to the manageNoteShares function.

<dl>

<dt>errors</dt>
<dd>If the call succeeded without throwing an exception, some errors
  might still have occurred. In that case, this field will contain the
  list of errors.</dd>

</dl>

Attributes:

  • Errors

func NewManageNoteSharesResult_

func NewManageNoteSharesResult_() *ManageNoteSharesResult_

func (*ManageNoteSharesResult_) GetErrors

func (*ManageNoteSharesResult_) IsSetErrors

func (p *ManageNoteSharesResult_) IsSetErrors() bool

func (*ManageNoteSharesResult_) Read

func (*ManageNoteSharesResult_) ReadField1

func (p *ManageNoteSharesResult_) ReadField1(iprot thrift.TProtocol) error

func (*ManageNoteSharesResult_) String

func (p *ManageNoteSharesResult_) String() string

func (*ManageNoteSharesResult_) Write

type ManageNotebookSharesError

type ManageNotebookSharesError struct {
	UserIdentity      *UserIdentity          `thrift:"userIdentity,1" db:"userIdentity" json:"userIdentity,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,2" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

A structure to capture certain errors that occurred during a call to manageNotebookShares. That method can be run best-effort, meaning that some change requests can be applied while others fail. Note that some errors such as system errors will still fail the entire transaction regardless of running best effort. When some change requests do not succeed, the error conditions are captured in instances of this class, captured by the identity of the share relationship and one of the exception fields.

<dl> <dt>userIdentity</dt> <dd>The identity of the share relationship whose update encountered an error.</dd>

<dt>userException</dt> <dd>If the error is represented as an EDAMUserException that would have otherwise been thrown without best-effort execution. Only one exception field will be set.</dd>

<dt>notFoundException</dt> <dd>If the error is represented as an EDAMNotFoundException that would have otherwise been thrown without best-effort execution. Only one exception field will be set.</dd> </dl>

Attributes:

  • UserIdentity
  • UserException
  • NotFoundException

func NewManageNotebookSharesError

func NewManageNotebookSharesError() *ManageNotebookSharesError

func (*ManageNotebookSharesError) GetNotFoundException

func (p *ManageNotebookSharesError) GetNotFoundException() *EDAMNotFoundException

func (*ManageNotebookSharesError) GetUserException

func (p *ManageNotebookSharesError) GetUserException() *EDAMUserException

func (*ManageNotebookSharesError) GetUserIdentity

func (p *ManageNotebookSharesError) GetUserIdentity() *UserIdentity

func (*ManageNotebookSharesError) IsSetNotFoundException

func (p *ManageNotebookSharesError) IsSetNotFoundException() bool

func (*ManageNotebookSharesError) IsSetUserException

func (p *ManageNotebookSharesError) IsSetUserException() bool

func (*ManageNotebookSharesError) IsSetUserIdentity

func (p *ManageNotebookSharesError) IsSetUserIdentity() bool

func (*ManageNotebookSharesError) Read

func (*ManageNotebookSharesError) ReadField1

func (p *ManageNotebookSharesError) ReadField1(iprot thrift.TProtocol) error

func (*ManageNotebookSharesError) ReadField2

func (p *ManageNotebookSharesError) ReadField2(iprot thrift.TProtocol) error

func (*ManageNotebookSharesError) ReadField3

func (p *ManageNotebookSharesError) ReadField3(iprot thrift.TProtocol) error

func (*ManageNotebookSharesError) String

func (p *ManageNotebookSharesError) String() string

func (*ManageNotebookSharesError) Write

type ManageNotebookSharesParameters

type ManageNotebookSharesParameters struct {
	NotebookGuid                *string                        `thrift:"notebookGuid,1" db:"notebookGuid" json:"notebookGuid,omitempty"`
	InviteMessage               *string                        `thrift:"inviteMessage,2" db:"inviteMessage" json:"inviteMessage,omitempty"`
	MembershipsToUpdate         []*MemberShareRelationship     `thrift:"membershipsToUpdate,3" db:"membershipsToUpdate" json:"membershipsToUpdate,omitempty"`
	InvitationsToCreateOrUpdate []*InvitationShareRelationship `thrift:"invitationsToCreateOrUpdate,4" db:"invitationsToCreateOrUpdate" json:"invitationsToCreateOrUpdate,omitempty"`
	Unshares                    []*UserIdentity                `thrift:"unshares,5" db:"unshares" json:"unshares,omitempty"`
}

A structure that captures parameters used by clients to manage the shares for a given notebook via the manageNotebookShares method.

<dl> <dt>notebookGuid</dt> <dd>The GUID of the notebook whose shares are being managed.</dd>

<dt>inviteMessage</dt> <dd>If the service sends a message to invitees, this parameter will be used to form the actual message that is sent.</dd>

<dt>membershipsToUpdate</dt> <dd>The list of existing memberships to update. This field is not intended to be the full set of memberships for the notebook and should only include those already-existing memberships that you actually want to change. If you want to remove shares, see the unshares fields. If you want to create a membership, i.e. auto-join a business user, you can do this via the invitationsToCreateOrUpdate field using an Evernote UserID of a fellow business member (the created invitation is automatically joined by the service, so the client is creating an invitation, not a membership).</dd>

<dt>invitationsToCreateOrUpdate</dt> <dd>The list of invitations to update, as matched by the identity field of the InvitationShareRelationship instances, or to create if an existing invitation does not exist. This field is not intended to be the full set of invitations on the notebook and should only include those invitations that you wish to create or update. Note that your invitation could convert into a membership via a service-supported auto-join operation. This happens, for example, when you use an invitation with an Evernote UserID type for a recipient who is a member of the business to which the notebook belongs. Note that to discover the user IDs for business members, the sharer must also be part of the business.</dd>

<dt>unshares</dt> <dd>The list of share relationships to expunge from the service. If the user identity is for an Evernote UserID, then matching invitations or memberships will be removed. If it's an e-mail, then e-mail based shared notebook invitations will be removed. If it's for an Identity ID, then any invitations that match the identity (by identity ID or user ID or e-mail for legacy invitations) will be removed.</dd> </dl>

Attributes:

  • NotebookGuid
  • InviteMessage
  • MembershipsToUpdate
  • InvitationsToCreateOrUpdate
  • Unshares
var NoteStoreManageNotebookSharesArgs_Parameters_DEFAULT *ManageNotebookSharesParameters

func NewManageNotebookSharesParameters

func NewManageNotebookSharesParameters() *ManageNotebookSharesParameters

func (*ManageNotebookSharesParameters) GetInvitationsToCreateOrUpdate

func (p *ManageNotebookSharesParameters) GetInvitationsToCreateOrUpdate() []*InvitationShareRelationship

func (*ManageNotebookSharesParameters) GetInviteMessage

func (p *ManageNotebookSharesParameters) GetInviteMessage() string

func (*ManageNotebookSharesParameters) GetMembershipsToUpdate

func (p *ManageNotebookSharesParameters) GetMembershipsToUpdate() []*MemberShareRelationship

func (*ManageNotebookSharesParameters) GetNotebookGuid

func (p *ManageNotebookSharesParameters) GetNotebookGuid() string

func (*ManageNotebookSharesParameters) GetUnshares

func (p *ManageNotebookSharesParameters) GetUnshares() []*UserIdentity

func (*ManageNotebookSharesParameters) IsSetInvitationsToCreateOrUpdate

func (p *ManageNotebookSharesParameters) IsSetInvitationsToCreateOrUpdate() bool

func (*ManageNotebookSharesParameters) IsSetInviteMessage

func (p *ManageNotebookSharesParameters) IsSetInviteMessage() bool

func (*ManageNotebookSharesParameters) IsSetMembershipsToUpdate

func (p *ManageNotebookSharesParameters) IsSetMembershipsToUpdate() bool

func (*ManageNotebookSharesParameters) IsSetNotebookGuid

func (p *ManageNotebookSharesParameters) IsSetNotebookGuid() bool

func (*ManageNotebookSharesParameters) IsSetUnshares

func (p *ManageNotebookSharesParameters) IsSetUnshares() bool

func (*ManageNotebookSharesParameters) Read

func (*ManageNotebookSharesParameters) ReadField1

func (*ManageNotebookSharesParameters) ReadField2

func (*ManageNotebookSharesParameters) ReadField3

func (*ManageNotebookSharesParameters) ReadField4

func (*ManageNotebookSharesParameters) ReadField5

func (*ManageNotebookSharesParameters) String

func (*ManageNotebookSharesParameters) Write

type ManageNotebookSharesResult_

type ManageNotebookSharesResult_ struct {
	Errors []*ManageNotebookSharesError `thrift:"errors,1" db:"errors" json:"errors,omitempty"`
}

The return value of a call to the manageNotebookShares method.

<dl> <dt>errors</dt> <dd>If the method completed without throwing exceptions, some errors might still have occurred, and in that case, this field will contain the list of those errors the occurred. </dd> </dl>

Attributes:

  • Errors
var NoteStoreManageNotebookSharesResult_Success_DEFAULT *ManageNotebookSharesResult_

func NewManageNotebookSharesResult_

func NewManageNotebookSharesResult_() *ManageNotebookSharesResult_

func (*ManageNotebookSharesResult_) GetErrors

func (*ManageNotebookSharesResult_) IsSetErrors

func (p *ManageNotebookSharesResult_) IsSetErrors() bool

func (*ManageNotebookSharesResult_) Read

func (*ManageNotebookSharesResult_) ReadField1

func (p *ManageNotebookSharesResult_) ReadField1(iprot thrift.TProtocol) error

func (*ManageNotebookSharesResult_) String

func (p *ManageNotebookSharesResult_) String() string

func (*ManageNotebookSharesResult_) Write

type MemberShareRelationship

type MemberShareRelationship struct {
	DisplayName         *string                          `thrift:"displayName,1" db:"displayName" json:"displayName,omitempty"`
	RecipientUserId     *UserID                          `thrift:"recipientUserId,2" db:"recipientUserId" json:"recipientUserId,omitempty"`
	BestPrivilege       *ShareRelationshipPrivilegeLevel `thrift:"bestPrivilege,3" db:"bestPrivilege" json:"bestPrivilege,omitempty"`
	IndividualPrivilege *ShareRelationshipPrivilegeLevel `thrift:"individualPrivilege,4" db:"individualPrivilege" json:"individualPrivilege,omitempty"`
	Restrictions        *ShareRelationshipRestrictions   `thrift:"restrictions,5" db:"restrictions" json:"restrictions,omitempty"`
	SharerUserId        *UserID                          `thrift:"sharerUserId,6" db:"sharerUserId" json:"sharerUserId,omitempty"`
}

Describes the association between a Notebook and an Evernote User who is a member of that notebook.

<dl> <dt>displayName</dt> <dd>The string that clients should show to users to represent this member.</dd>

<dt>recipientUserId</dt> <dd>The Evernote User ID of the recipient of this notebook share. </dd>

<dt>bestPrivilege</dt> <dd>The privilege at which the member can access the notebook, which is the best privilege granted either individually or to a group to which a member belongs, such as a business. This field is used by the service to convey information to the user, so clients should treat it as read-only.</dd>

<dt>individualPrivilege</dt> <dd>The individually granted privilege for the member, which does not take GROUP privileges into account. This value may be unset if only a group-assigned privilege has been granted to the member. This value can be managed by others with sufficient rights using the manageNotebookShares method. The valid values that clients should present to users for selection are given via the the 'restrictions' field.</dd>

<dt>restrictions</dt> <dd>The restrictions on which privileges may be individually assigned to the recipient of this share relationship.</dd>

<dt>sharerUserId</dt> <dd>The user id of the user who most recently shared the notebook to this user. This field is currently unset for a MemberShareRelationship created by joining a notebook that has been published to the business (MemberShareRelationships where the individual privilege is unset). This field is used by the service to convey information to the user, so clients should treat it as read-only. </dd> </dl>

Attributes:

  • DisplayName
  • RecipientUserId
  • BestPrivilege
  • IndividualPrivilege
  • Restrictions
  • SharerUserId

func NewMemberShareRelationship

func NewMemberShareRelationship() *MemberShareRelationship

func (*MemberShareRelationship) GetBestPrivilege

func (*MemberShareRelationship) GetDisplayName

func (p *MemberShareRelationship) GetDisplayName() string

func (*MemberShareRelationship) GetIndividualPrivilege

func (p *MemberShareRelationship) GetIndividualPrivilege() ShareRelationshipPrivilegeLevel

func (*MemberShareRelationship) GetRecipientUserId

func (p *MemberShareRelationship) GetRecipientUserId() UserID

func (*MemberShareRelationship) GetRestrictions

func (*MemberShareRelationship) GetSharerUserId

func (p *MemberShareRelationship) GetSharerUserId() UserID

func (*MemberShareRelationship) IsSetBestPrivilege

func (p *MemberShareRelationship) IsSetBestPrivilege() bool

func (*MemberShareRelationship) IsSetDisplayName

func (p *MemberShareRelationship) IsSetDisplayName() bool

func (*MemberShareRelationship) IsSetIndividualPrivilege

func (p *MemberShareRelationship) IsSetIndividualPrivilege() bool

func (*MemberShareRelationship) IsSetRecipientUserId

func (p *MemberShareRelationship) IsSetRecipientUserId() bool

func (*MemberShareRelationship) IsSetRestrictions

func (p *MemberShareRelationship) IsSetRestrictions() bool

func (*MemberShareRelationship) IsSetSharerUserId

func (p *MemberShareRelationship) IsSetSharerUserId() bool

func (*MemberShareRelationship) Read

func (*MemberShareRelationship) ReadField1

func (p *MemberShareRelationship) ReadField1(iprot thrift.TProtocol) error

func (*MemberShareRelationship) ReadField2

func (p *MemberShareRelationship) ReadField2(iprot thrift.TProtocol) error

func (*MemberShareRelationship) ReadField3

func (p *MemberShareRelationship) ReadField3(iprot thrift.TProtocol) error

func (*MemberShareRelationship) ReadField4

func (p *MemberShareRelationship) ReadField4(iprot thrift.TProtocol) error

func (*MemberShareRelationship) ReadField5

func (p *MemberShareRelationship) ReadField5(iprot thrift.TProtocol) error

func (*MemberShareRelationship) ReadField6

func (p *MemberShareRelationship) ReadField6(iprot thrift.TProtocol) error

func (*MemberShareRelationship) String

func (p *MemberShareRelationship) String() string

func (*MemberShareRelationship) Write

type MessageEventID

type MessageEventID int64

A sequence number for the MessageStore subsystem.

var Identity_EventId_DEFAULT MessageEventID
var SyncState_UserMaxMessageEventId_DEFAULT MessageEventID

func MessageEventIDPtr

func MessageEventIDPtr(v MessageEventID) *MessageEventID

type MessageThreadID

type MessageThreadID int64

A type alias for the primary identifiers for MessageThread objects.

var NotebookShareTemplate_RecipientThreadId_DEFAULT MessageThreadID
var SharedNoteTemplate_RecipientThreadId_DEFAULT MessageThreadID

func MessageThreadIDPtr

func MessageThreadIDPtr(v MessageThreadID) *MessageThreadID

type Note

type Note struct {
	GUID              *GUID             `thrift:"guid,1" db:"guid" json:"guid,omitempty"`
	Title             *string           `thrift:"title,2" db:"title" json:"title,omitempty"`
	Content           *string           `thrift:"content,3" db:"content" json:"content,omitempty"`
	ContentHash       []byte            `thrift:"contentHash,4" db:"contentHash" json:"contentHash,omitempty"`
	ContentLength     *int32            `thrift:"contentLength,5" db:"contentLength" json:"contentLength,omitempty"`
	Created           *Timestamp        `thrift:"created,6" db:"created" json:"created,omitempty"`
	Updated           *Timestamp        `thrift:"updated,7" db:"updated" json:"updated,omitempty"`
	Deleted           *Timestamp        `thrift:"deleted,8" db:"deleted" json:"deleted,omitempty"`
	Active            *bool             `thrift:"active,9" db:"active" json:"active,omitempty"`
	UpdateSequenceNum *int32            `thrift:"updateSequenceNum,10" db:"updateSequenceNum" json:"updateSequenceNum,omitempty"`
	NotebookGuid      *string           `thrift:"notebookGuid,11" db:"notebookGuid" json:"notebookGuid,omitempty"`
	TagGuids          []GUID            `thrift:"tagGuids,12" db:"tagGuids" json:"tagGuids,omitempty"`
	Resources         []*Resource       `thrift:"resources,13" db:"resources" json:"resources,omitempty"`
	Attributes        *NoteAttributes   `thrift:"attributes,14" db:"attributes" json:"attributes,omitempty"`
	TagNames          []string          `thrift:"tagNames,15" db:"tagNames" json:"tagNames,omitempty"`
	SharedNotes       []*SharedNote     `thrift:"sharedNotes,16" db:"sharedNotes" json:"sharedNotes,omitempty"`
	Restrictions      *NoteRestrictions `thrift:"restrictions,17" db:"restrictions" json:"restrictions,omitempty"`
	Limits            *NoteLimits       `thrift:"limits,18" db:"limits" json:"limits,omitempty"`
}

Represents a single note in the user's account.

<dl> <dt>guid</dt>

<dd>The unique identifier of this note.  Will be set by the
server, but will be omitted by clients calling NoteStore.createNote()
<br/>
Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
<br/>
Regex:  EDAM_GUID_REGEX
</dd>

<dt>title</dt>

<dd>The subject of the note.  Can't begin or end with a space.
<br/>
Length:  EDAM_NOTE_TITLE_LEN_MIN - EDAM_NOTE_TITLE_LEN_MAX
<br/>
Regex:  EDAM_NOTE_TITLE_REGEX
</dd>

<dt>content</dt>

<dd>The XHTML block that makes up the note.  This is
the canonical form of the note's contents, so will include abstract
Evernote tags for internal resource references.  A client may create
a separate transformed version of this content for internal presentation,
but the same canonical bytes should be used for transmission and
comparison unless the user chooses to modify their content.
<br/>
Length:  EDAM_NOTE_CONTENT_LEN_MIN - EDAM_NOTE_CONTENT_LEN_MAX
</dd>

<dt>contentHash</dt>

<dd>The binary MD5 checksum of the UTF-8 encoded content
body. This will always be set by the server, but clients may choose to omit
this when they submit a note with content.
<br/>
Length:  EDAM_HASH_LEN (exactly)
</dd>

<dt>contentLength</dt>

<dd>The number of Unicode characters in the content of
the note.  This will always be set by the service, but clients may choose
to omit this value when they submit a Note.
</dd>

<dt>created</dt>

<dd>The date and time when the note was created in one of the
clients.  In most cases, this will match the user's sense of when
the note was created, and ordering between notes will be based on
ordering of this field.  However, this is not a "reliable" timestamp
if a client has an incorrect clock, so it cannot provide a true absolute
ordering between notes.  Notes created directly through the service
(e.g. via the web GUI) will have an absolutely ordered "created" value.
</dd>

<dt>updated</dt>

<dd>The date and time when the note was last modified in one of
the clients.  In most cases, this will match the user's sense of when
the note was modified, but this field may not be absolutely reliable
due to the possibility of client clock errors.
</dd>

<dt>deleted</dt>

<dd>If present, the note is considered "deleted", and this
stores the date and time when the note was deleted by one of the clients.
In most cases, this will match the user's sense of when the note was
deleted, but this field may be unreliable due to the possibility of
client clock errors.
</dd>

<dt>active</dt>

<dd>If the note is available for normal actions and viewing,
this flag will be set to true.
</dd>

<dt>updateSequenceNum</dt>

<dd>A number identifying the last transaction to
modify the state of this note (including changes to the note's attributes
or resources).  The USN values are sequential within an account,
and can be used to compare the order of modifications within the service.
</dd>

<dt>notebookGuid</dt>

<dd>The unique identifier of the notebook that contains
this note.  If no notebookGuid is provided on a call to createNote(), the
default notebook will be used instead.
<br/>
Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
<br/>
Regex:  EDAM_GUID_REGEX
</dd>

<dt>tagGuids</dt>

<dd>A list of the GUID identifiers for tags that are applied to this note.
This may be provided in a call to createNote() to unambiguously declare
the tags that should be assigned to the new note.  Alternately, clients
may pass the names of desired tags via the 'tagNames' field during
note creation.
If the list of tags are omitted on a call to createNote(), then
the server will assume that no changes have been made to the resources.
Maximum:  EDAM_NOTE_TAGS_MAX tags per note
</dd>

<dt>resources</dt>

<dd>The list of resources that are embedded within this note.
If the list of resources are omitted on a call to updateNote(), then
the server will assume that no changes have been made to the resources.
The binary contents of the resources must be provided when the resource
is first sent to the service, but it will be omitted by the service when
the Note is returned in the future.
Maximum:  EDAM_NOTE_RESOURCES_MAX resources per note
</dd>

<dt>attributes</dt>

<dd>A list of the attributes for this note.
If the list of attributes are omitted on a call to updateNote(), then
the server will assume that no changes have been made to the resources.
</dd>

<dt>tagNames</dt>

<dd>May be provided by clients during calls to createNote() as an
alternative to providing the tagGuids of existing tags.  If any tagNames
are provided during createNote(), these will be found, or created if they
don't already exist.  Created tags will have no parent (they will be at
the top level of the tag panel).
</dd>

<dt>sharedNotes</dt>

<dd>The list of recipients with whom this note has been shared. This field will be unset if
  the caller has access to the note via the containing notebook, but does not have activity
  feed permission for that notebook. This field is read-only. Clients may not make changes to
  a note's sharing state via this field.
</dd>

<dt>restrictions</dt>
<dd>If this field is set, the user has note-level permissions that may differ from their
  notebook-level permissions. In this case, the restrictions structure specifies
  a set of restrictions limiting the actions that a user may take on the note based
  on their note-level permissions. If this field is unset, then there are no
  note-specific restrictions. However, a client may still be limited based on the user's
  notebook permissions.</dd>

</dl>

Attributes:

  • GUID
  • Title
  • Content
  • ContentHash
  • ContentLength
  • Created
  • Updated
  • Deleted
  • Active
  • UpdateSequenceNum
  • NotebookGuid
  • TagGuids
  • Resources
  • Attributes
  • TagNames
  • SharedNotes
  • Restrictions
  • Limits
var NoteEmailParameters_Note_DEFAULT *Note
var NoteStoreCopyNoteResult_Success_DEFAULT *Note
var NoteStoreCreateNoteArgs_Note_DEFAULT *Note
var NoteStoreCreateNoteResult_Success_DEFAULT *Note
var NoteStoreGetNoteResult_Success_DEFAULT *Note
var NoteStoreGetNoteVersionResult_Success_DEFAULT *Note
var NoteStoreGetNoteWithResultSpecResult_Success_DEFAULT *Note
var NoteStoreUpdateNoteArgs_Note_DEFAULT *Note
var NoteStoreUpdateNoteIfUsnMatchesArgs_Note_DEFAULT *Note
var NoteStoreUpdateNoteResult_Success_DEFAULT *Note
var UpdateNoteIfUsnMatchesResult__Note_DEFAULT *Note

func NewNote

func NewNote() *Note

func (*Note) GetActive

func (p *Note) GetActive() bool

func (*Note) GetAttributes

func (p *Note) GetAttributes() *NoteAttributes

func (*Note) GetContent

func (p *Note) GetContent() string

func (*Note) GetContentHash

func (p *Note) GetContentHash() []byte

func (*Note) GetContentLength

func (p *Note) GetContentLength() int32

func (*Note) GetCreated

func (p *Note) GetCreated() Timestamp

func (*Note) GetDeleted

func (p *Note) GetDeleted() Timestamp

func (*Note) GetGUID

func (p *Note) GetGUID() GUID

func (*Note) GetLimits

func (p *Note) GetLimits() *NoteLimits

func (*Note) GetNotebookGuid

func (p *Note) GetNotebookGuid() string

func (*Note) GetResources

func (p *Note) GetResources() []*Resource

func (*Note) GetRestrictions

func (p *Note) GetRestrictions() *NoteRestrictions

func (*Note) GetSharedNotes

func (p *Note) GetSharedNotes() []*SharedNote

func (*Note) GetTagGuids

func (p *Note) GetTagGuids() []GUID

func (*Note) GetTagNames

func (p *Note) GetTagNames() []string

func (*Note) GetTitle

func (p *Note) GetTitle() string

func (*Note) GetUpdateSequenceNum

func (p *Note) GetUpdateSequenceNum() int32

func (*Note) GetUpdated

func (p *Note) GetUpdated() Timestamp

func (*Note) IsSetActive

func (p *Note) IsSetActive() bool

func (*Note) IsSetAttributes

func (p *Note) IsSetAttributes() bool

func (*Note) IsSetContent

func (p *Note) IsSetContent() bool

func (*Note) IsSetContentHash

func (p *Note) IsSetContentHash() bool

func (*Note) IsSetContentLength

func (p *Note) IsSetContentLength() bool

func (*Note) IsSetCreated

func (p *Note) IsSetCreated() bool

func (*Note) IsSetDeleted

func (p *Note) IsSetDeleted() bool

func (*Note) IsSetGUID

func (p *Note) IsSetGUID() bool

func (*Note) IsSetLimits

func (p *Note) IsSetLimits() bool

func (*Note) IsSetNotebookGuid

func (p *Note) IsSetNotebookGuid() bool

func (*Note) IsSetResources

func (p *Note) IsSetResources() bool

func (*Note) IsSetRestrictions

func (p *Note) IsSetRestrictions() bool

func (*Note) IsSetSharedNotes

func (p *Note) IsSetSharedNotes() bool

func (*Note) IsSetTagGuids

func (p *Note) IsSetTagGuids() bool

func (*Note) IsSetTagNames

func (p *Note) IsSetTagNames() bool

func (*Note) IsSetTitle

func (p *Note) IsSetTitle() bool

func (*Note) IsSetUpdateSequenceNum

func (p *Note) IsSetUpdateSequenceNum() bool

func (*Note) IsSetUpdated

func (p *Note) IsSetUpdated() bool

func (*Note) Read

func (p *Note) Read(iprot thrift.TProtocol) error

func (*Note) ReadField1

func (p *Note) ReadField1(iprot thrift.TProtocol) error

func (*Note) ReadField10

func (p *Note) ReadField10(iprot thrift.TProtocol) error

func (*Note) ReadField11

func (p *Note) ReadField11(iprot thrift.TProtocol) error

func (*Note) ReadField12

func (p *Note) ReadField12(iprot thrift.TProtocol) error

func (*Note) ReadField13

func (p *Note) ReadField13(iprot thrift.TProtocol) error

func (*Note) ReadField14

func (p *Note) ReadField14(iprot thrift.TProtocol) error

func (*Note) ReadField15

func (p *Note) ReadField15(iprot thrift.TProtocol) error

func (*Note) ReadField16

func (p *Note) ReadField16(iprot thrift.TProtocol) error

func (*Note) ReadField17

func (p *Note) ReadField17(iprot thrift.TProtocol) error

func (*Note) ReadField18

func (p *Note) ReadField18(iprot thrift.TProtocol) error

func (*Note) ReadField2

func (p *Note) ReadField2(iprot thrift.TProtocol) error

func (*Note) ReadField3

func (p *Note) ReadField3(iprot thrift.TProtocol) error

func (*Note) ReadField4

func (p *Note) ReadField4(iprot thrift.TProtocol) error

func (*Note) ReadField5

func (p *Note) ReadField5(iprot thrift.TProtocol) error

func (*Note) ReadField6

func (p *Note) ReadField6(iprot thrift.TProtocol) error

func (*Note) ReadField7

func (p *Note) ReadField7(iprot thrift.TProtocol) error

func (*Note) ReadField8

func (p *Note) ReadField8(iprot thrift.TProtocol) error

func (*Note) ReadField9

func (p *Note) ReadField9(iprot thrift.TProtocol) error

func (*Note) String

func (p *Note) String() string

func (*Note) Write

func (p *Note) Write(oprot thrift.TProtocol) error

type NoteAttributes

type NoteAttributes struct {
	SubjectDate *Timestamp `thrift:"subjectDate,1" db:"subjectDate" json:"subjectDate,omitempty"`
	// unused fields # 2 to 9
	Latitude          *float64   `thrift:"latitude,10" db:"latitude" json:"latitude,omitempty"`
	Longitude         *float64   `thrift:"longitude,11" db:"longitude" json:"longitude,omitempty"`
	Altitude          *float64   `thrift:"altitude,12" db:"altitude" json:"altitude,omitempty"`
	Author            *string    `thrift:"author,13" db:"author" json:"author,omitempty"`
	Source            *string    `thrift:"source,14" db:"source" json:"source,omitempty"`
	SourceURL         *string    `thrift:"sourceURL,15" db:"sourceURL" json:"sourceURL,omitempty"`
	SourceApplication *string    `thrift:"sourceApplication,16" db:"sourceApplication" json:"sourceApplication,omitempty"`
	ShareDate         *Timestamp `thrift:"shareDate,17" db:"shareDate" json:"shareDate,omitempty"`
	ReminderOrder     *int64     `thrift:"reminderOrder,18" db:"reminderOrder" json:"reminderOrder,omitempty"`
	ReminderDoneTime  *Timestamp `thrift:"reminderDoneTime,19" db:"reminderDoneTime" json:"reminderDoneTime,omitempty"`
	ReminderTime      *Timestamp `thrift:"reminderTime,20" db:"reminderTime" json:"reminderTime,omitempty"`
	PlaceName         *string    `thrift:"placeName,21" db:"placeName" json:"placeName,omitempty"`
	ContentClass      *string    `thrift:"contentClass,22" db:"contentClass" json:"contentClass,omitempty"`
	ApplicationData   *LazyMap   `thrift:"applicationData,23" db:"applicationData" json:"applicationData,omitempty"`
	LastEditedBy      *string    `thrift:"lastEditedBy,24" db:"lastEditedBy" json:"lastEditedBy,omitempty"`
	// unused field # 25
	Classifications        map[string]string `thrift:"classifications,26" db:"classifications" json:"classifications,omitempty"`
	CreatorId              *UserID           `thrift:"creatorId,27" db:"creatorId" json:"creatorId,omitempty"`
	LastEditorId           *UserID           `thrift:"lastEditorId,28" db:"lastEditorId" json:"lastEditorId,omitempty"`
	SharedWithBusiness     *bool             `thrift:"sharedWithBusiness,29" db:"sharedWithBusiness" json:"sharedWithBusiness,omitempty"`
	ConflictSourceNoteGuid *GUID             `thrift:"conflictSourceNoteGuid,30" db:"conflictSourceNoteGuid" json:"conflictSourceNoteGuid,omitempty"`
	NoteTitleQuality       *int32            `thrift:"noteTitleQuality,31" db:"noteTitleQuality" json:"noteTitleQuality,omitempty"`
}

The list of optional attributes that can be stored on a note. <dl> <dt>subjectDate</dt>

<dd>time that the note refers to
</dd>

<dt>latitude</dt>

<dd>the latitude where the note was taken
</dd>

<dt>longitude</dt>

<dd>the longitude where the note was taken
</dd>

<dt>altitude</dt>

<dd>the altitude where the note was taken
</dd>

<dt>author</dt>

<dd>the author of the content of the note
<br/>
Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
</dd>

<dt>source</dt>

<dd>the method that the note was added to the account, if the
note wasn't directly authored in an Evernote desktop client.
<br/>
Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
</dd>

<dt>sourceURL</dt>

<dd>the original location where the resource was hosted. For web clips,
this will be the URL of the page that was clipped.
<br/>
Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
</dd>

<dt>sourceApplication</dt>

<dd>an identifying string for the application that
created this note.  This string does not have a guaranteed syntax or
structure -- it is intended for human inspection and tracking.
<br/>
Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
</dd>

<dt>shareDate</dt>

<dd>The date and time when this note was directly shared via its own URL.
This is only set on notes that were individually shared - it is independent
of any notebook-level sharing of the containing notebook. This field
is treated as "read-only" for clients; the server will ignore changes
to this field from an external client.
</dd>

<dt>reminderOrder</dt> <dd>The set of notes with this parameter set are considered "reminders" and are to be treated specially by clients to give them higher UI prominence within a notebook. The value is used to sort the reminder notes within the notebook with higher values representing greater prominence. Outside of the context of a notebook, the value of this parameter is undefined. The value is not intended to be compared to the values of reminder notes in other notebooks. In order to allow clients to place a note at a higher precedence than other notes, you should never set a value greater than the current time (as defined for a Timetstamp). To place a note at higher precedence than existing notes, set the value to the current time as defined for a timestamp (milliseconds since the epoch). Synchronizing clients must remember the time when the update was performed, using the local clock on the client, and use that value when they later upload the note to the service. Clients must not set the reminderOrder to the reminderTime as the reminderTime could be in the future. Those two fields are never intended to be related. The correct value for reminderOrder field for new notes is the "current" time when the user indicated that the note is a reminder. Clients may implement a separate "sort by date" feature to show notes ordered by reminderTime. Whenever a reminderDoneTime or reminderTime is set but a reminderOrder is not set, the server will fill in the current server time for the reminderOrder field.</dd>

<dt>reminderDoneTime</dt> <dd>The date and time when a user dismissed/"marked done" the reminder on the note. Users typically do not manually set this value directly as it is set to the time when the user dismissed/"marked done" the reminder.</dd>

<dt>reminderTime</dt> <dd>The date and time a user has selected to be reminded of the note. A note with this value set is known as a "reminder" and the user can be reminded, via e-mail or client-specific notifications, of the note when the time is reached or about to be reached. When a user sets a reminder time on a note that has a reminder done time, and that reminder time is in the future, then the reminder done time should be cleared. This should happen regardless of any existing reminder time that may have previously existed on the note.</dd>

<dt>placeName</dt> <dd>Allows the user to assign a human-readable location name associated with a note. Users may assign values like 'Home' and 'Work'. Place names may also be populated with values from geonames database (e.g., a restaurant name). Applications are encouraged to normalize values so that grouping values by place name provides a useful result. Applications MUST NOT automatically add place name values based on geolocation without confirmation from the user; that is, the value in this field should be more useful than a simple automated lookup based on the note's latitude and longitude.</dd>

<dt>contentClass</dt> <dd>The class (or type) of note. This field is used to indicate to clients that special structured information is represented within the note such that special rules apply when making modifications. If contentClass is set and the client application does not specifically support the specified class, the client MUST treat the note as read-only. In this case, the client MAY modify the note's notebook and tags via the Note.notebookGuid and Note.tagGuids fields. The client MAY also modify the reminderOrder field as well as the reminderTime and reminderDoneTime fields. <p>Applications should set contentClass only when they are creating notes that contain structured information that needs to be maintained in order for the user to be able to use the note within that application. Setting contentClass makes a note read-only in other applications, so there is a trade-off when an application chooses to use contentClass. Applications that set contentClass when creating notes must use a contentClass string of the form <i>CompanyName.ApplicationName</i> to ensure uniqueness.</p> Length restrictions: EDAM_NOTE_CONTENT_CLASS_LEN_MIN, EDAM_NOTE_CONTENT_CLASS_LEN_MAX <br/> Regex: EDAM_NOTE_CONTENT_CLASS_REGEX </dd>

<dt>applicationData</dt> <dd>Provides a location for applications to store a relatively small (4kb) blob of data that is not meant to be visible to the user and that is opaque to the Evernote service. A single application may use at most one entry in this map, using its API consumer key as the map key. See the documentation for LazyMap for a description of when the actual map values are returned by the service. <p>To safely add or modify your application's entry in the map, use NoteStore.setNoteApplicationDataEntry. To safely remove your application's entry from the map, use NoteStore.unsetNoteApplicationDataEntry.</p> Minimum length of a name (key): EDAM_APPLICATIONDATA_NAME_LEN_MIN <br/> Sum max size of key and value: EDAM_APPLICATIONDATA_ENTRY_LEN_MAX <br/> Syntax regex for name (key): EDAM_APPLICATIONDATA_NAME_REGEX </dd>

<dt>creatorId</dt> <dd>The numeric user ID of the user who originally created the note.</dd>

<dt>lastEditedBy</dt> <dd>An indication of who made the last change to the note. If you are accessing the note via a shared notebook to which you have modification rights, or if you are the owner of the notebook to which the note belongs, then you have access to the value. In this case, the value will be unset if the owner of the notebook containing the note was the last to make the modification, else it will be a string describing the guest who made the last edit. If you do not have access to this value, it will be left unset. This field is read-only by clients. The server will ignore all values set by clients into this field.</dd>

<dt>lastEditorId</dt> <dd>The numeric user ID of the user described in lastEditedBy.</dd>

<dt>classifications</dt> <dd>A map of classifications applied to the note by clients or by the Evernote service. The key is the string name of the classification type, and the value is a constant that begins with CLASSIFICATION_.</dd>

<dt>sharedWithBusiness</dt> <dd>When this flag is set on a business note, any user in that business may view the note if they request it by GUID. This field is read-only by clients. The server will ignore all values set by clients into this field.

To share a note with the business, use NoteStore.shareNoteWithBusiness and to stop sharing a note with the business, use NoteStore.stopSharingNoteWithBusiness. </dd>

<dt>conflictSourceNoteGuid</dt> <dd>If set, this specifies the GUID of a note that caused a sync conflict resulting in the creation of a duplicate note. The duplicated note contains the user's changes that could not be applied as a result of the sync conflict, and uses the conflictSourceNoteGuid field to specify the note that caused the conflict. This allows clients to provide a customized user experience for note conflicts. </dd>

<dt>noteTitleQuality</dt> <dd>If set, this specifies that the note's title was automatically generated and indicates the likelihood that the generated title is useful for display to the user. If not set, the note's title was manually entered by the user.

Clients MUST set this attribute to one of the following values when the corresponding note's title was not manually entered by the user: EDAM_NOTE_TITLE_QUALITY_UNTITLED, EDAM_NOTE_TITLE_QUALITY_LOW, EDAM_NOTE_TITLE_QUALITY_MEDIUM or EDAM_NOTE_TITLE_QUALITY_HIGH.

When a user edits a note's title, clients MUST unset this value. </dd> </dl>

Attributes:

  • SubjectDate
  • Latitude
  • Longitude
  • Altitude
  • Author
  • Source
  • SourceURL
  • SourceApplication
  • ShareDate
  • ReminderOrder
  • ReminderDoneTime
  • ReminderTime
  • PlaceName
  • ContentClass
  • ApplicationData
  • LastEditedBy
  • Classifications
  • CreatorId
  • LastEditorId
  • SharedWithBusiness
  • ConflictSourceNoteGuid
  • NoteTitleQuality
var NoteMetadata_Attributes_DEFAULT *NoteAttributes
var Note_Attributes_DEFAULT *NoteAttributes

func NewNoteAttributes

func NewNoteAttributes() *NoteAttributes

func (*NoteAttributes) GetAltitude

func (p *NoteAttributes) GetAltitude() float64

func (*NoteAttributes) GetApplicationData

func (p *NoteAttributes) GetApplicationData() *LazyMap

func (*NoteAttributes) GetAuthor

func (p *NoteAttributes) GetAuthor() string

func (*NoteAttributes) GetClassifications

func (p *NoteAttributes) GetClassifications() map[string]string

func (*NoteAttributes) GetConflictSourceNoteGuid

func (p *NoteAttributes) GetConflictSourceNoteGuid() GUID

func (*NoteAttributes) GetContentClass

func (p *NoteAttributes) GetContentClass() string

func (*NoteAttributes) GetCreatorId

func (p *NoteAttributes) GetCreatorId() UserID

func (*NoteAttributes) GetLastEditedBy

func (p *NoteAttributes) GetLastEditedBy() string

func (*NoteAttributes) GetLastEditorId

func (p *NoteAttributes) GetLastEditorId() UserID

func (*NoteAttributes) GetLatitude

func (p *NoteAttributes) GetLatitude() float64

func (*NoteAttributes) GetLongitude

func (p *NoteAttributes) GetLongitude() float64

func (*NoteAttributes) GetNoteTitleQuality

func (p *NoteAttributes) GetNoteTitleQuality() int32

func (*NoteAttributes) GetPlaceName

func (p *NoteAttributes) GetPlaceName() string

func (*NoteAttributes) GetReminderDoneTime

func (p *NoteAttributes) GetReminderDoneTime() Timestamp

func (*NoteAttributes) GetReminderOrder

func (p *NoteAttributes) GetReminderOrder() int64

func (*NoteAttributes) GetReminderTime

func (p *NoteAttributes) GetReminderTime() Timestamp

func (*NoteAttributes) GetShareDate

func (p *NoteAttributes) GetShareDate() Timestamp

func (*NoteAttributes) GetSharedWithBusiness

func (p *NoteAttributes) GetSharedWithBusiness() bool

func (*NoteAttributes) GetSource

func (p *NoteAttributes) GetSource() string

func (*NoteAttributes) GetSourceApplication

func (p *NoteAttributes) GetSourceApplication() string

func (*NoteAttributes) GetSourceURL

func (p *NoteAttributes) GetSourceURL() string

func (*NoteAttributes) GetSubjectDate

func (p *NoteAttributes) GetSubjectDate() Timestamp

func (*NoteAttributes) IsSetAltitude

func (p *NoteAttributes) IsSetAltitude() bool

func (*NoteAttributes) IsSetApplicationData

func (p *NoteAttributes) IsSetApplicationData() bool

func (*NoteAttributes) IsSetAuthor

func (p *NoteAttributes) IsSetAuthor() bool

func (*NoteAttributes) IsSetClassifications

func (p *NoteAttributes) IsSetClassifications() bool

func (*NoteAttributes) IsSetConflictSourceNoteGuid

func (p *NoteAttributes) IsSetConflictSourceNoteGuid() bool

func (*NoteAttributes) IsSetContentClass

func (p *NoteAttributes) IsSetContentClass() bool

func (*NoteAttributes) IsSetCreatorId

func (p *NoteAttributes) IsSetCreatorId() bool

func (*NoteAttributes) IsSetLastEditedBy

func (p *NoteAttributes) IsSetLastEditedBy() bool

func (*NoteAttributes) IsSetLastEditorId

func (p *NoteAttributes) IsSetLastEditorId() bool

func (*NoteAttributes) IsSetLatitude

func (p *NoteAttributes) IsSetLatitude() bool

func (*NoteAttributes) IsSetLongitude

func (p *NoteAttributes) IsSetLongitude() bool

func (*NoteAttributes) IsSetNoteTitleQuality

func (p *NoteAttributes) IsSetNoteTitleQuality() bool

func (*NoteAttributes) IsSetPlaceName

func (p *NoteAttributes) IsSetPlaceName() bool

func (*NoteAttributes) IsSetReminderDoneTime

func (p *NoteAttributes) IsSetReminderDoneTime() bool

func (*NoteAttributes) IsSetReminderOrder

func (p *NoteAttributes) IsSetReminderOrder() bool

func (*NoteAttributes) IsSetReminderTime

func (p *NoteAttributes) IsSetReminderTime() bool

func (*NoteAttributes) IsSetShareDate

func (p *NoteAttributes) IsSetShareDate() bool

func (*NoteAttributes) IsSetSharedWithBusiness

func (p *NoteAttributes) IsSetSharedWithBusiness() bool

func (*NoteAttributes) IsSetSource

func (p *NoteAttributes) IsSetSource() bool

func (*NoteAttributes) IsSetSourceApplication

func (p *NoteAttributes) IsSetSourceApplication() bool

func (*NoteAttributes) IsSetSourceURL

func (p *NoteAttributes) IsSetSourceURL() bool

func (*NoteAttributes) IsSetSubjectDate

func (p *NoteAttributes) IsSetSubjectDate() bool

func (*NoteAttributes) Read

func (p *NoteAttributes) Read(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField1

func (p *NoteAttributes) ReadField1(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField10

func (p *NoteAttributes) ReadField10(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField11

func (p *NoteAttributes) ReadField11(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField12

func (p *NoteAttributes) ReadField12(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField13

func (p *NoteAttributes) ReadField13(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField14

func (p *NoteAttributes) ReadField14(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField15

func (p *NoteAttributes) ReadField15(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField16

func (p *NoteAttributes) ReadField16(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField17

func (p *NoteAttributes) ReadField17(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField18

func (p *NoteAttributes) ReadField18(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField19

func (p *NoteAttributes) ReadField19(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField20

func (p *NoteAttributes) ReadField20(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField21

func (p *NoteAttributes) ReadField21(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField22

func (p *NoteAttributes) ReadField22(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField23

func (p *NoteAttributes) ReadField23(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField24

func (p *NoteAttributes) ReadField24(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField26

func (p *NoteAttributes) ReadField26(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField27

func (p *NoteAttributes) ReadField27(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField28

func (p *NoteAttributes) ReadField28(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField29

func (p *NoteAttributes) ReadField29(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField30

func (p *NoteAttributes) ReadField30(iprot thrift.TProtocol) error

func (*NoteAttributes) ReadField31

func (p *NoteAttributes) ReadField31(iprot thrift.TProtocol) error

func (*NoteAttributes) String

func (p *NoteAttributes) String() string

func (*NoteAttributes) Write

func (p *NoteAttributes) Write(oprot thrift.TProtocol) error

type NoteCollectionCounts

type NoteCollectionCounts struct {
	NotebookCounts map[GUID]int32 `thrift:"notebookCounts,1" db:"notebookCounts" json:"notebookCounts,omitempty"`
	TagCounts      map[GUID]int32 `thrift:"tagCounts,2" db:"tagCounts" json:"tagCounts,omitempty"`
	TrashCount     *int32         `thrift:"trashCount,3" db:"trashCount" json:"trashCount,omitempty"`
}
A data structure representing the number of notes for each notebook
and tag with a non-zero set of applicable notes.

<dl>

<dt>notebookCounts</dt>
  <dd>
  A mapping from the Notebook GUID to the number of
  notes (from some selection) that are in the corresponding notebook.
  </dd>

<dt>tagCounts</dt>
  <dd>
  A mapping from the Tag GUID to the number of notes (from some
  selection) that have the corresponding tag.
  </dd>

<dt>trashCount</dt>
  <dd>
  If this is set, then this is the number of notes that are in the trash.
  If this is not set, then the number of notes in the trash hasn't been
  reported.  (I.e. if there are no notes in the trash, this will be set
  to 0.)
  </dd>
</dl>

Attributes:

  • NotebookCounts
  • TagCounts
  • TrashCount
var NoteStoreFindNoteCountsResult_Success_DEFAULT *NoteCollectionCounts

func NewNoteCollectionCounts

func NewNoteCollectionCounts() *NoteCollectionCounts

func (*NoteCollectionCounts) GetNotebookCounts

func (p *NoteCollectionCounts) GetNotebookCounts() map[GUID]int32

func (*NoteCollectionCounts) GetTagCounts

func (p *NoteCollectionCounts) GetTagCounts() map[GUID]int32

func (*NoteCollectionCounts) GetTrashCount

func (p *NoteCollectionCounts) GetTrashCount() int32

func (*NoteCollectionCounts) IsSetNotebookCounts

func (p *NoteCollectionCounts) IsSetNotebookCounts() bool

func (*NoteCollectionCounts) IsSetTagCounts

func (p *NoteCollectionCounts) IsSetTagCounts() bool

func (*NoteCollectionCounts) IsSetTrashCount

func (p *NoteCollectionCounts) IsSetTrashCount() bool

func (*NoteCollectionCounts) Read

func (p *NoteCollectionCounts) Read(iprot thrift.TProtocol) error

func (*NoteCollectionCounts) ReadField1

func (p *NoteCollectionCounts) ReadField1(iprot thrift.TProtocol) error

func (*NoteCollectionCounts) ReadField2

func (p *NoteCollectionCounts) ReadField2(iprot thrift.TProtocol) error

func (*NoteCollectionCounts) ReadField3

func (p *NoteCollectionCounts) ReadField3(iprot thrift.TProtocol) error

func (*NoteCollectionCounts) String

func (p *NoteCollectionCounts) String() string

func (*NoteCollectionCounts) Write

func (p *NoteCollectionCounts) Write(oprot thrift.TProtocol) error

type NoteEmailParameters

type NoteEmailParameters struct {
	GUID        *string  `thrift:"guid,1" db:"guid" json:"guid,omitempty"`
	Note        *Note    `thrift:"note,2" db:"note" json:"note,omitempty"`
	ToAddresses []string `thrift:"toAddresses,3" db:"toAddresses" json:"toAddresses,omitempty"`
	CcAddresses []string `thrift:"ccAddresses,4" db:"ccAddresses" json:"ccAddresses,omitempty"`
	Subject     *string  `thrift:"subject,5" db:"subject" json:"subject,omitempty"`
	Message     *string  `thrift:"message,6" db:"message" json:"message,omitempty"`
}

Parameters that must be given to the NoteStore emailNote call. These allow the caller to specify the note to send, the recipient addresses, etc.

<dl>

<dt>guid</dt>
  <dd>
    If set, this must be the GUID of a note within the user's account that
    should be retrieved from the service and sent as email.  If not set,
    the 'note' field must be provided instead.
  </dd>

<dt>note</dt>
  <dd>
    If the 'guid' field is not set, this field must be provided, including
    the full contents of the note note (and all of its Resources) to send.
    This can be used for a Note that as not been created in the service,
    for example by a local client with local notes.
  </dd>

<dt>toAddresses</dt>
  <dd>
    If provided, this should contain a list of the SMTP email addresses
    that should be included in the "To:" line of the email.
    Callers must specify at least one "to" or "cc" email address.
  </dd>

<dt>ccAddresses</dt>
  <dd>
    If provided, this should contain a list of the SMTP email addresses
    that should be included in the "Cc:" line of the email.
    Callers must specify at least one "to" or "cc" email address.
  </dd>

<dt>subject</dt>
  <dd>
    If provided, this should contain the subject line of the email that
    will be sent.  If not provided, the title of the note will be used
    as the subject of the email.
  </dd>

<dt>message</dt>
  <dd>
    If provided, this is additional personal text that should be included
    into the email as a message from the owner to the recipient(s).
  </dd>

</dl>

Attributes:

  • GUID
  • Note
  • ToAddresses
  • CcAddresses
  • Subject
  • Message
var NoteStoreEmailNoteArgs_Parameters_DEFAULT *NoteEmailParameters

func NewNoteEmailParameters

func NewNoteEmailParameters() *NoteEmailParameters

func (*NoteEmailParameters) GetCcAddresses

func (p *NoteEmailParameters) GetCcAddresses() []string

func (*NoteEmailParameters) GetGUID

func (p *NoteEmailParameters) GetGUID() string

func (*NoteEmailParameters) GetMessage

func (p *NoteEmailParameters) GetMessage() string

func (*NoteEmailParameters) GetNote

func (p *NoteEmailParameters) GetNote() *Note

func (*NoteEmailParameters) GetSubject

func (p *NoteEmailParameters) GetSubject() string

func (*NoteEmailParameters) GetToAddresses

func (p *NoteEmailParameters) GetToAddresses() []string

func (*NoteEmailParameters) IsSetCcAddresses

func (p *NoteEmailParameters) IsSetCcAddresses() bool

func (*NoteEmailParameters) IsSetGUID

func (p *NoteEmailParameters) IsSetGUID() bool

func (*NoteEmailParameters) IsSetMessage

func (p *NoteEmailParameters) IsSetMessage() bool

func (*NoteEmailParameters) IsSetNote

func (p *NoteEmailParameters) IsSetNote() bool

func (*NoteEmailParameters) IsSetSubject

func (p *NoteEmailParameters) IsSetSubject() bool

func (*NoteEmailParameters) IsSetToAddresses

func (p *NoteEmailParameters) IsSetToAddresses() bool

func (*NoteEmailParameters) Read

func (p *NoteEmailParameters) Read(iprot thrift.TProtocol) error

func (*NoteEmailParameters) ReadField1

func (p *NoteEmailParameters) ReadField1(iprot thrift.TProtocol) error

func (*NoteEmailParameters) ReadField2

func (p *NoteEmailParameters) ReadField2(iprot thrift.TProtocol) error

func (*NoteEmailParameters) ReadField3

func (p *NoteEmailParameters) ReadField3(iprot thrift.TProtocol) error

func (*NoteEmailParameters) ReadField4

func (p *NoteEmailParameters) ReadField4(iprot thrift.TProtocol) error

func (*NoteEmailParameters) ReadField5

func (p *NoteEmailParameters) ReadField5(iprot thrift.TProtocol) error

func (*NoteEmailParameters) ReadField6

func (p *NoteEmailParameters) ReadField6(iprot thrift.TProtocol) error

func (*NoteEmailParameters) String

func (p *NoteEmailParameters) String() string

func (*NoteEmailParameters) Write

func (p *NoteEmailParameters) Write(oprot thrift.TProtocol) error

type NoteFilter

type NoteFilter struct {
	Order                       *int32  `thrift:"order,1" db:"order" json:"order,omitempty"`
	Ascending                   *bool   `thrift:"ascending,2" db:"ascending" json:"ascending,omitempty"`
	Words                       *string `thrift:"words,3" db:"words" json:"words,omitempty"`
	NotebookGuid                *GUID   `thrift:"notebookGuid,4" db:"notebookGuid" json:"notebookGuid,omitempty"`
	TagGuids                    []GUID  `thrift:"tagGuids,5" db:"tagGuids" json:"tagGuids,omitempty"`
	TimeZone                    *string `thrift:"timeZone,6" db:"timeZone" json:"timeZone,omitempty"`
	Inactive                    *bool   `thrift:"inactive,7" db:"inactive" json:"inactive,omitempty"`
	Emphasized                  *string `thrift:"emphasized,8" db:"emphasized" json:"emphasized,omitempty"`
	IncludeAllReadableNotebooks *bool   `thrift:"includeAllReadableNotebooks,9" db:"includeAllReadableNotebooks" json:"includeAllReadableNotebooks,omitempty"`
	Context                     *string `thrift:"context,10" db:"context" json:"context,omitempty"`
	RawWords                    *string `thrift:"rawWords,11" db:"rawWords" json:"rawWords,omitempty"`
	SearchContextBytes          []byte  `thrift:"searchContextBytes,12" db:"searchContextBytes" json:"searchContextBytes,omitempty"`
	// unused fields # 13 to 14
	IncludeAllReadableWorkspaces *bool `thrift:"includeAllReadableWorkspaces,15" db:"includeAllReadableWorkspaces" json:"includeAllReadableWorkspaces,omitempty"`
}
A list of criteria that are used to indicate which notes are desired from
the account.  This is used in queries to the NoteStore to determine
which notes should be retrieved.

<dl>

<dt>order</dt>
  <dd>
  The NoteSortOrder value indicating what criterion should be
  used to sort the results of the filter.
  </dd>

<dt>ascending</dt>
  <dd>
  If true, the results will be ascending in the requested
  sort order.  If false, the results will be descending.
  </dd>

<dt>words</dt>
  <dd>
  If present, a search query string that will filter the set of notes to be returned.
  Accepts the full search grammar documented in the Evernote API Overview.
  </dd>

<dt>notebookGuid</dt>
  <dd>
  If present, the Guid of the notebook that must contain
  the notes.
  </dd>

<dt>tagGuids</dt>
  <dd>
  If present, the list of tags (by GUID) that must be present
  on the notes.
  </dd>

<dt>timeZone</dt>
  <dd>
  The zone ID for the user, which will be used to interpret
  any dates or times in the queries that do not include their desired zone
  information.
  For example, if a query requests notes created "yesterday", this
  will be evaluated from the provided time zone, if provided.
  The format must be encoded as a standard zone ID such as
  "America/Los_Angeles".
  </dd>

<dt>inactive</dt>
  <dd>
  If true, then only notes that are not active (i.e. notes in
  the Trash) will be returned. Otherwise, only active notes will be returned.
  There is no way to find both active and inactive notes in a single query.
  </dd>

<dt>emphasized</dt>
  <dd>
  If present, a search query string that may or may not influence the notes
  to be returned, both in terms of coverage as well as of order. Think of it
  as a wish list, not a requirement.
  Accepts the full search grammar documented in the Evernote API Overview.
  </dd>

<dt>includeAllReadableNotebooks</dt>
  <dd>
  If true, then the search will include all business notebooks that are readable
  by the user. A business authentication token must be supplied for
  this option to take effect when calling search APIs.
  </dd>

<dt>includeAllReadableWorkspaces</dt>
  <dd>
  If true, then the search will include all workspaces that are readable
  by the user. A business authentication token must be supplied for
  this option to take effect when calling search APIs.
  </dd>

<dt>context</dt>
  <dd>
  Specifies the context to consider when determining result ranking.
  Clients must leave this value unset unless they wish to explicitly specify a known
  non-default context.
  </dd>

<dt>rawWords</dt>
  <dd>
  If present, the raw user query input.
  Accepts the full search grammar documented in the Evernote API Overview.
  </dd>

<dt>searchContextBytes</dt>
  <dd>
  Specifies the correlating information about the current search session, in byte array.
  If this request is not for the first page of search results, the client should populate
  this field with the value of searchContextBytes from the NotesMetadataList of the
  original search response.
  </dd>
</dl>

Attributes:

  • Order
  • Ascending
  • Words
  • NotebookGuid
  • TagGuids
  • TimeZone
  • Inactive
  • Emphasized
  • IncludeAllReadableNotebooks
  • IncludeAllReadableWorkspaces
  • Context
  • RawWords
  • SearchContextBytes
var NoteStoreFindNoteCountsArgs_Filter_DEFAULT *NoteFilter
var NoteStoreFindNoteOffsetArgs_Filter_DEFAULT *NoteFilter
var NoteStoreFindNotesMetadataArgs_Filter_DEFAULT *NoteFilter
var RelatedQuery_Filter_DEFAULT *NoteFilter

func NewNoteFilter

func NewNoteFilter() *NoteFilter

func (*NoteFilter) GetAscending

func (p *NoteFilter) GetAscending() bool

func (*NoteFilter) GetContext

func (p *NoteFilter) GetContext() string

func (*NoteFilter) GetEmphasized

func (p *NoteFilter) GetEmphasized() string

func (*NoteFilter) GetInactive

func (p *NoteFilter) GetInactive() bool

func (*NoteFilter) GetIncludeAllReadableNotebooks

func (p *NoteFilter) GetIncludeAllReadableNotebooks() bool

func (*NoteFilter) GetIncludeAllReadableWorkspaces

func (p *NoteFilter) GetIncludeAllReadableWorkspaces() bool

func (*NoteFilter) GetNotebookGuid

func (p *NoteFilter) GetNotebookGuid() GUID

func (*NoteFilter) GetOrder

func (p *NoteFilter) GetOrder() int32

func (*NoteFilter) GetRawWords

func (p *NoteFilter) GetRawWords() string

func (*NoteFilter) GetSearchContextBytes

func (p *NoteFilter) GetSearchContextBytes() []byte

func (*NoteFilter) GetTagGuids

func (p *NoteFilter) GetTagGuids() []GUID

func (*NoteFilter) GetTimeZone

func (p *NoteFilter) GetTimeZone() string

func (*NoteFilter) GetWords

func (p *NoteFilter) GetWords() string

func (*NoteFilter) IsSetAscending

func (p *NoteFilter) IsSetAscending() bool

func (*NoteFilter) IsSetContext

func (p *NoteFilter) IsSetContext() bool

func (*NoteFilter) IsSetEmphasized

func (p *NoteFilter) IsSetEmphasized() bool

func (*NoteFilter) IsSetInactive

func (p *NoteFilter) IsSetInactive() bool

func (*NoteFilter) IsSetIncludeAllReadableNotebooks

func (p *NoteFilter) IsSetIncludeAllReadableNotebooks() bool

func (*NoteFilter) IsSetIncludeAllReadableWorkspaces

func (p *NoteFilter) IsSetIncludeAllReadableWorkspaces() bool

func (*NoteFilter) IsSetNotebookGuid

func (p *NoteFilter) IsSetNotebookGuid() bool

func (*NoteFilter) IsSetOrder

func (p *NoteFilter) IsSetOrder() bool

func (*NoteFilter) IsSetRawWords

func (p *NoteFilter) IsSetRawWords() bool

func (*NoteFilter) IsSetSearchContextBytes

func (p *NoteFilter) IsSetSearchContextBytes() bool

func (*NoteFilter) IsSetTagGuids

func (p *NoteFilter) IsSetTagGuids() bool

func (*NoteFilter) IsSetTimeZone

func (p *NoteFilter) IsSetTimeZone() bool

func (*NoteFilter) IsSetWords

func (p *NoteFilter) IsSetWords() bool

func (*NoteFilter) Read

func (p *NoteFilter) Read(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField1

func (p *NoteFilter) ReadField1(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField10

func (p *NoteFilter) ReadField10(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField11

func (p *NoteFilter) ReadField11(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField12

func (p *NoteFilter) ReadField12(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField15

func (p *NoteFilter) ReadField15(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField2

func (p *NoteFilter) ReadField2(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField3

func (p *NoteFilter) ReadField3(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField4

func (p *NoteFilter) ReadField4(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField5

func (p *NoteFilter) ReadField5(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField6

func (p *NoteFilter) ReadField6(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField7

func (p *NoteFilter) ReadField7(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField8

func (p *NoteFilter) ReadField8(iprot thrift.TProtocol) error

func (*NoteFilter) ReadField9

func (p *NoteFilter) ReadField9(iprot thrift.TProtocol) error

func (*NoteFilter) String

func (p *NoteFilter) String() string

func (*NoteFilter) Write

func (p *NoteFilter) Write(oprot thrift.TProtocol) error

type NoteInvitationShareRelationship

type NoteInvitationShareRelationship struct {
	DisplayName         *string                   `thrift:"displayName,1" db:"displayName" json:"displayName,omitempty"`
	RecipientIdentityId *IdentityID               `thrift:"recipientIdentityId,2" db:"recipientIdentityId" json:"recipientIdentityId,omitempty"`
	Privilege           *SharedNotePrivilegeLevel `thrift:"privilege,3" db:"privilege" json:"privilege,omitempty"`
	// unused field # 4
	SharerUserId *UserID `thrift:"sharerUserId,5" db:"sharerUserId" json:"sharerUserId,omitempty"`
}

Describes an invitation to a person to use their Evernote credentials to gain access to a note belonging to another user.

<dl> <dt>displayName</dt> <dd>The string that clients should show to users to represent this invitation.</dd>

<dt>recipientIdentityId</dt> <dd>Identifies the identity of the invitation recipient. Once the identity has been claimed by an Evernote user and they have accessed the note at least once, the invitation will be used up and will no longer be returned by the service to clients. Instead, that recipient will be included in the list of NoteMemberShareRelationships.</dd>

<dt>privilege</dt> <dd>The privilege level that the recipient will be granted when they accept this invitation. If the user already has a higher privilege to access this note then this will not affect the recipient's privileges.</dd>

<dt>sharerUserId</dt> <dd>The user id of the user who most recently shared this note to this recipient. This field is used by the service to convey information to the user, so clients should treat it as read-only.</dd>

Attributes:

  • DisplayName
  • RecipientIdentityId
  • Privilege
  • SharerUserId

func NewNoteInvitationShareRelationship

func NewNoteInvitationShareRelationship() *NoteInvitationShareRelationship

func (*NoteInvitationShareRelationship) GetDisplayName

func (p *NoteInvitationShareRelationship) GetDisplayName() string

func (*NoteInvitationShareRelationship) GetPrivilege

func (*NoteInvitationShareRelationship) GetRecipientIdentityId

func (p *NoteInvitationShareRelationship) GetRecipientIdentityId() IdentityID

func (*NoteInvitationShareRelationship) GetSharerUserId

func (p *NoteInvitationShareRelationship) GetSharerUserId() UserID

func (*NoteInvitationShareRelationship) IsSetDisplayName

func (p *NoteInvitationShareRelationship) IsSetDisplayName() bool

func (*NoteInvitationShareRelationship) IsSetPrivilege

func (p *NoteInvitationShareRelationship) IsSetPrivilege() bool

func (*NoteInvitationShareRelationship) IsSetRecipientIdentityId

func (p *NoteInvitationShareRelationship) IsSetRecipientIdentityId() bool

func (*NoteInvitationShareRelationship) IsSetSharerUserId

func (p *NoteInvitationShareRelationship) IsSetSharerUserId() bool

func (*NoteInvitationShareRelationship) Read

func (*NoteInvitationShareRelationship) ReadField1

func (*NoteInvitationShareRelationship) ReadField2

func (*NoteInvitationShareRelationship) ReadField3

func (*NoteInvitationShareRelationship) ReadField5

func (*NoteInvitationShareRelationship) String

func (*NoteInvitationShareRelationship) Write

type NoteLimits

type NoteLimits struct {
	NoteResourceCountMax *int32 `thrift:"noteResourceCountMax,1" db:"noteResourceCountMax" json:"noteResourceCountMax,omitempty"`
	UploadLimit          *int64 `thrift:"uploadLimit,2" db:"uploadLimit" json:"uploadLimit,omitempty"`
	ResourceSizeMax      *int64 `thrift:"resourceSizeMax,3" db:"resourceSizeMax" json:"resourceSizeMax,omitempty"`
	NoteSizeMax          *int64 `thrift:"noteSizeMax,4" db:"noteSizeMax" json:"noteSizeMax,omitempty"`
	Uploaded             *int64 `thrift:"uploaded,5" db:"uploaded" json:"uploaded,omitempty"`
}

Represents the owner's account related limits on a Note. The field uploaded represents the total number of bytes that have been uploaded to this account and is taken from the SyncState struct. All other fields represent account related limits and are taken from the AccountLimits struct. <p /> See SyncState and AccountLimits struct field definitions for more details.

Attributes:

  • NoteResourceCountMax
  • UploadLimit
  • ResourceSizeMax
  • NoteSizeMax
  • Uploaded
var Note_Limits_DEFAULT *NoteLimits

func NewNoteLimits

func NewNoteLimits() *NoteLimits

func (*NoteLimits) GetNoteResourceCountMax

func (p *NoteLimits) GetNoteResourceCountMax() int32

func (*NoteLimits) GetNoteSizeMax

func (p *NoteLimits) GetNoteSizeMax() int64

func (*NoteLimits) GetResourceSizeMax

func (p *NoteLimits) GetResourceSizeMax() int64

func (*NoteLimits) GetUploadLimit

func (p *NoteLimits) GetUploadLimit() int64

func (*NoteLimits) GetUploaded

func (p *NoteLimits) GetUploaded() int64

func (*NoteLimits) IsSetNoteResourceCountMax

func (p *NoteLimits) IsSetNoteResourceCountMax() bool

func (*NoteLimits) IsSetNoteSizeMax

func (p *NoteLimits) IsSetNoteSizeMax() bool

func (*NoteLimits) IsSetResourceSizeMax

func (p *NoteLimits) IsSetResourceSizeMax() bool

func (*NoteLimits) IsSetUploadLimit

func (p *NoteLimits) IsSetUploadLimit() bool

func (*NoteLimits) IsSetUploaded

func (p *NoteLimits) IsSetUploaded() bool

func (*NoteLimits) Read

func (p *NoteLimits) Read(iprot thrift.TProtocol) error

func (*NoteLimits) ReadField1

func (p *NoteLimits) ReadField1(iprot thrift.TProtocol) error

func (*NoteLimits) ReadField2

func (p *NoteLimits) ReadField2(iprot thrift.TProtocol) error

func (*NoteLimits) ReadField3

func (p *NoteLimits) ReadField3(iprot thrift.TProtocol) error

func (*NoteLimits) ReadField4

func (p *NoteLimits) ReadField4(iprot thrift.TProtocol) error

func (*NoteLimits) ReadField5

func (p *NoteLimits) ReadField5(iprot thrift.TProtocol) error

func (*NoteLimits) String

func (p *NoteLimits) String() string

func (*NoteLimits) Write

func (p *NoteLimits) Write(oprot thrift.TProtocol) error

type NoteList

type NoteList struct {
	StartIndex         int32    `thrift:"startIndex,1,required" db:"startIndex" json:"startIndex"`
	TotalNotes         int32    `thrift:"totalNotes,2,required" db:"totalNotes" json:"totalNotes"`
	Notes              []*Note  `thrift:"notes,3,required" db:"notes" json:"notes"`
	StoppedWords       []string `thrift:"stoppedWords,4" db:"stoppedWords" json:"stoppedWords,omitempty"`
	SearchedWords      []string `thrift:"searchedWords,5" db:"searchedWords" json:"searchedWords,omitempty"`
	UpdateCount        *int32   `thrift:"updateCount,6" db:"updateCount" json:"updateCount,omitempty"`
	SearchContextBytes []byte   `thrift:"searchContextBytes,7" db:"searchContextBytes" json:"searchContextBytes,omitempty"`
	DebugInfo          *string  `thrift:"debugInfo,8" db:"debugInfo" json:"debugInfo,omitempty"`
}
A small structure for returning a list of notes out of a larger set.

<dl>

<dt>startIndex</dt>
  <dd>
  The starting index within the overall set of notes.  This
  is also the number of notes that are "before" this list in the set.
  </dd>

<dt>totalNotes</dt>
  <dd>
  The number of notes in the larger set.  This can be used
  to calculate how many notes are "after" this note in the set.
  (I.e.  remaining = totalNotes - (startIndex + notes.length)  )
  </dd>

<dt>notes</dt>
  <dd>
  The list of notes from this range.  The Notes will include all
  metadata (attributes, resources, etc.), but will not include the ENML
  content of the note or the binary contents of any resources.
  </dd>

<dt>stoppedWords</dt>
  <dd>
  If the NoteList was produced using a text based search
  query that included words that are not indexed or searched by the service,
  this will include a list of those ignored words.
  </dd>

<dt>searchedWords</dt>
  <dd>
  If the NoteList was produced using a text based search
  query that included viable search words or quoted expressions, this will
  include a list of those words.  Any stopped words will not be included
  in this list.
  </dd>

<dt>updateCount</dt>
  <dd>
  Indicates the total number of transactions that have
  been committed within the account.  This reflects (for example) the
  number of discrete additions or modifications that have been made to
  the data in this account (tags, notes, resources, etc.).
  This number is the "high water mark" for Update Sequence Numbers (USN)
  within the account.
  </dd>

<dt>searchContextBytes</dt>
  <dd>
  Specifies the correlating information about the current search session, in byte array.
  </dd>
</dl>

<dt>debugInfo</dt>
  <dd>
  Depends on the value of <code>context</code> in NoteFilter, this field
  may contain debug information if the service decides to do so.
  </dd>

Attributes:

  • StartIndex
  • TotalNotes
  • Notes
  • StoppedWords
  • SearchedWords
  • UpdateCount
  • SearchContextBytes
  • DebugInfo

func NewNoteList

func NewNoteList() *NoteList

func (*NoteList) GetDebugInfo

func (p *NoteList) GetDebugInfo() string

func (*NoteList) GetNotes

func (p *NoteList) GetNotes() []*Note

func (*NoteList) GetSearchContextBytes

func (p *NoteList) GetSearchContextBytes() []byte

func (*NoteList) GetSearchedWords

func (p *NoteList) GetSearchedWords() []string

func (*NoteList) GetStartIndex

func (p *NoteList) GetStartIndex() int32

func (*NoteList) GetStoppedWords

func (p *NoteList) GetStoppedWords() []string

func (*NoteList) GetTotalNotes

func (p *NoteList) GetTotalNotes() int32

func (*NoteList) GetUpdateCount

func (p *NoteList) GetUpdateCount() int32

func (*NoteList) IsSetDebugInfo

func (p *NoteList) IsSetDebugInfo() bool

func (*NoteList) IsSetSearchContextBytes

func (p *NoteList) IsSetSearchContextBytes() bool

func (*NoteList) IsSetSearchedWords

func (p *NoteList) IsSetSearchedWords() bool

func (*NoteList) IsSetStoppedWords

func (p *NoteList) IsSetStoppedWords() bool

func (*NoteList) IsSetUpdateCount

func (p *NoteList) IsSetUpdateCount() bool

func (*NoteList) Read

func (p *NoteList) Read(iprot thrift.TProtocol) error

func (*NoteList) ReadField1

func (p *NoteList) ReadField1(iprot thrift.TProtocol) error

func (*NoteList) ReadField2

func (p *NoteList) ReadField2(iprot thrift.TProtocol) error

func (*NoteList) ReadField3

func (p *NoteList) ReadField3(iprot thrift.TProtocol) error

func (*NoteList) ReadField4

func (p *NoteList) ReadField4(iprot thrift.TProtocol) error

func (*NoteList) ReadField5

func (p *NoteList) ReadField5(iprot thrift.TProtocol) error

func (*NoteList) ReadField6

func (p *NoteList) ReadField6(iprot thrift.TProtocol) error

func (*NoteList) ReadField7

func (p *NoteList) ReadField7(iprot thrift.TProtocol) error

func (*NoteList) ReadField8

func (p *NoteList) ReadField8(iprot thrift.TProtocol) error

func (*NoteList) String

func (p *NoteList) String() string

func (*NoteList) Write

func (p *NoteList) Write(oprot thrift.TProtocol) error

type NoteMemberShareRelationship

type NoteMemberShareRelationship struct {
	DisplayName     *string                            `thrift:"displayName,1" db:"displayName" json:"displayName,omitempty"`
	RecipientUserId *UserID                            `thrift:"recipientUserId,2" db:"recipientUserId" json:"recipientUserId,omitempty"`
	Privilege       *SharedNotePrivilegeLevel          `thrift:"privilege,3" db:"privilege" json:"privilege,omitempty"`
	Restrictions    *NoteShareRelationshipRestrictions `thrift:"restrictions,4" db:"restrictions" json:"restrictions,omitempty"`
	SharerUserId    *UserID                            `thrift:"sharerUserId,5" db:"sharerUserId" json:"sharerUserId,omitempty"`
}

Describes the association between a Note and an Evernote User who is a member of that note.

<dl> <dt>displayName</dt> <dd>The string that clients should show to users to represent this member.</dd>

<dt>recipientUserId</dt> <dd>The Evernote UserID of the user who is a member to the note.</dd>

<dt>privilege</dt> <dd>The privilege at which the member can access the note, which is the best privilege granted to the user across all of their individual shares for this note. This field is used by the service to convey information to the user, so clients should treat it as read-only.</dd>

<dt>restrictions</dt> <dd>The restrictions on which privileges may be individually assigned to the recipient of this share relationship. This field is used by the service to convey information to the user, so clients should treat it as read-only.</dd>

<dt>sharerUserId</dt> <dd>The user id of the user who most recently shared the note with this user. This field is used by the service to convey information to the user, so clients should treat it as read-only.</dd> </dl>

Attributes:

  • DisplayName
  • RecipientUserId
  • Privilege
  • Restrictions
  • SharerUserId

func NewNoteMemberShareRelationship

func NewNoteMemberShareRelationship() *NoteMemberShareRelationship

func (*NoteMemberShareRelationship) GetDisplayName

func (p *NoteMemberShareRelationship) GetDisplayName() string

func (*NoteMemberShareRelationship) GetPrivilege

func (*NoteMemberShareRelationship) GetRecipientUserId

func (p *NoteMemberShareRelationship) GetRecipientUserId() UserID

func (*NoteMemberShareRelationship) GetRestrictions

func (*NoteMemberShareRelationship) GetSharerUserId

func (p *NoteMemberShareRelationship) GetSharerUserId() UserID

func (*NoteMemberShareRelationship) IsSetDisplayName

func (p *NoteMemberShareRelationship) IsSetDisplayName() bool

func (*NoteMemberShareRelationship) IsSetPrivilege

func (p *NoteMemberShareRelationship) IsSetPrivilege() bool

func (*NoteMemberShareRelationship) IsSetRecipientUserId

func (p *NoteMemberShareRelationship) IsSetRecipientUserId() bool

func (*NoteMemberShareRelationship) IsSetRestrictions

func (p *NoteMemberShareRelationship) IsSetRestrictions() bool

func (*NoteMemberShareRelationship) IsSetSharerUserId

func (p *NoteMemberShareRelationship) IsSetSharerUserId() bool

func (*NoteMemberShareRelationship) Read

func (*NoteMemberShareRelationship) ReadField1

func (p *NoteMemberShareRelationship) ReadField1(iprot thrift.TProtocol) error

func (*NoteMemberShareRelationship) ReadField2

func (p *NoteMemberShareRelationship) ReadField2(iprot thrift.TProtocol) error

func (*NoteMemberShareRelationship) ReadField3

func (p *NoteMemberShareRelationship) ReadField3(iprot thrift.TProtocol) error

func (*NoteMemberShareRelationship) ReadField4

func (p *NoteMemberShareRelationship) ReadField4(iprot thrift.TProtocol) error

func (*NoteMemberShareRelationship) ReadField5

func (p *NoteMemberShareRelationship) ReadField5(iprot thrift.TProtocol) error

func (*NoteMemberShareRelationship) String

func (p *NoteMemberShareRelationship) String() string

func (*NoteMemberShareRelationship) Write

type NoteMetadata

type NoteMetadata struct {
	GUID  GUID    `thrift:"guid,1,required" db:"guid" json:"guid"`
	Title *string `thrift:"title,2" db:"title" json:"title,omitempty"`
	// unused fields # 3 to 4
	ContentLength *int32     `thrift:"contentLength,5" db:"contentLength" json:"contentLength,omitempty"`
	Created       *Timestamp `thrift:"created,6" db:"created" json:"created,omitempty"`
	Updated       *Timestamp `thrift:"updated,7" db:"updated" json:"updated,omitempty"`
	Deleted       *Timestamp `thrift:"deleted,8" db:"deleted" json:"deleted,omitempty"`
	// unused field # 9
	UpdateSequenceNum *int32  `thrift:"updateSequenceNum,10" db:"updateSequenceNum" json:"updateSequenceNum,omitempty"`
	NotebookGuid      *string `thrift:"notebookGuid,11" db:"notebookGuid" json:"notebookGuid,omitempty"`
	TagGuids          []GUID  `thrift:"tagGuids,12" db:"tagGuids" json:"tagGuids,omitempty"`
	// unused field # 13
	Attributes *NoteAttributes `thrift:"attributes,14" db:"attributes" json:"attributes,omitempty"`
	// unused fields # 15 to 19
	LargestResourceMime *string `thrift:"largestResourceMime,20" db:"largestResourceMime" json:"largestResourceMime,omitempty"`
	LargestResourceSize *int32  `thrift:"largestResourceSize,21" db:"largestResourceSize" json:"largestResourceSize,omitempty"`
}

This structure is used in the set of results returned by the findNotesMetadata function. It represents the high-level information about a single Note, without some of the larger deep structure. This allows for the information about a list of Notes to be returned relatively quickly with less marshalling and data transfer to remote clients. Most fields in this structure are identical to the corresponding field in the Note structure, with the exception of:

<dl> <dt>largestResourceMime</dt>

<dd>If set, then this will contain the MIME type of the largest Resource
(in bytes) within the Note.  This may be useful, for example, to choose
an appropriate icon or thumbnail to represent the Note.
</dd>

<dt>largestResourceSize</dt>

<dd>If set, this will contain the size of the largest Resource file, in
bytes, within the Note.  This may be useful, for example, to decide whether
to ask the server for a thumbnail to represent the Note.
</dd>

</dl>

Attributes:

  • GUID
  • Title
  • ContentLength
  • Created
  • Updated
  • Deleted
  • UpdateSequenceNum
  • NotebookGuid
  • TagGuids
  • Attributes
  • LargestResourceMime
  • LargestResourceSize

func NewNoteMetadata

func NewNoteMetadata() *NoteMetadata

func (*NoteMetadata) GetAttributes

func (p *NoteMetadata) GetAttributes() *NoteAttributes

func (*NoteMetadata) GetContentLength

func (p *NoteMetadata) GetContentLength() int32

func (*NoteMetadata) GetCreated

func (p *NoteMetadata) GetCreated() Timestamp

func (*NoteMetadata) GetDeleted

func (p *NoteMetadata) GetDeleted() Timestamp

func (*NoteMetadata) GetGUID

func (p *NoteMetadata) GetGUID() GUID

func (*NoteMetadata) GetLargestResourceMime

func (p *NoteMetadata) GetLargestResourceMime() string

func (*NoteMetadata) GetLargestResourceSize

func (p *NoteMetadata) GetLargestResourceSize() int32

func (*NoteMetadata) GetNotebookGuid

func (p *NoteMetadata) GetNotebookGuid() string

func (*NoteMetadata) GetTagGuids

func (p *NoteMetadata) GetTagGuids() []GUID

func (*NoteMetadata) GetTitle

func (p *NoteMetadata) GetTitle() string

func (*NoteMetadata) GetUpdateSequenceNum

func (p *NoteMetadata) GetUpdateSequenceNum() int32

func (*NoteMetadata) GetUpdated

func (p *NoteMetadata) GetUpdated() Timestamp

func (*NoteMetadata) IsSetAttributes

func (p *NoteMetadata) IsSetAttributes() bool

func (*NoteMetadata) IsSetContentLength

func (p *NoteMetadata) IsSetContentLength() bool

func (*NoteMetadata) IsSetCreated

func (p *NoteMetadata) IsSetCreated() bool

func (*NoteMetadata) IsSetDeleted

func (p *NoteMetadata) IsSetDeleted() bool

func (*NoteMetadata) IsSetLargestResourceMime

func (p *NoteMetadata) IsSetLargestResourceMime() bool

func (*NoteMetadata) IsSetLargestResourceSize

func (p *NoteMetadata) IsSetLargestResourceSize() bool

func (*NoteMetadata) IsSetNotebookGuid

func (p *NoteMetadata) IsSetNotebookGuid() bool

func (*NoteMetadata) IsSetTagGuids

func (p *NoteMetadata) IsSetTagGuids() bool

func (*NoteMetadata) IsSetTitle

func (p *NoteMetadata) IsSetTitle() bool

func (*NoteMetadata) IsSetUpdateSequenceNum

func (p *NoteMetadata) IsSetUpdateSequenceNum() bool

func (*NoteMetadata) IsSetUpdated

func (p *NoteMetadata) IsSetUpdated() bool

func (*NoteMetadata) Read

func (p *NoteMetadata) Read(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField1

func (p *NoteMetadata) ReadField1(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField10

func (p *NoteMetadata) ReadField10(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField11

func (p *NoteMetadata) ReadField11(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField12

func (p *NoteMetadata) ReadField12(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField14

func (p *NoteMetadata) ReadField14(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField2

func (p *NoteMetadata) ReadField2(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField20

func (p *NoteMetadata) ReadField20(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField21

func (p *NoteMetadata) ReadField21(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField5

func (p *NoteMetadata) ReadField5(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField6

func (p *NoteMetadata) ReadField6(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField7

func (p *NoteMetadata) ReadField7(iprot thrift.TProtocol) error

func (*NoteMetadata) ReadField8

func (p *NoteMetadata) ReadField8(iprot thrift.TProtocol) error

func (*NoteMetadata) String

func (p *NoteMetadata) String() string

func (*NoteMetadata) Write

func (p *NoteMetadata) Write(oprot thrift.TProtocol) error

type NoteRestrictions

type NoteRestrictions struct {
	NoUpdateTitle   *bool `thrift:"noUpdateTitle,1" db:"noUpdateTitle" json:"noUpdateTitle,omitempty"`
	NoUpdateContent *bool `thrift:"noUpdateContent,2" db:"noUpdateContent" json:"noUpdateContent,omitempty"`
	NoEmail         *bool `thrift:"noEmail,3" db:"noEmail" json:"noEmail,omitempty"`
	NoShare         *bool `thrift:"noShare,4" db:"noShare" json:"noShare,omitempty"`
	NoSharePublicly *bool `thrift:"noSharePublicly,5" db:"noSharePublicly" json:"noSharePublicly,omitempty"`
}

This structure captures information about the operations that cannot be performed on a given note that has been shared with a recipient via a SharedNote. The following operations are <b>never</b> allowed based on SharedNotes, and as such are left out of the NoteRestrictions structure for brevity:

<ul>

<li>Expunging a note (NoteStore.expungeNote)</li>
<li>Moving a note to the trash (Note.active)</li>
<li>Updating a note's notebook (Note.notebookGuid)</li>
<li>Updating a note's tags (Note.tagGuids, Note.tagNames)</li>
<li>Updating a note's attributes (Note.attributes)</li>
<li>Sharing a note with the business (NoteStore.shareNoteWithBusiness</li>
<li>Getting a note's version history (NoteStore.listNoteVersions,
  NoteStore.getNoteVersion)</li>

</ul>

When a client has permission to update a note's title or content, it may also update the Note.updated timestamp.

<b>This structure reflects only the privileges / restrictions conveyed by the SharedNote.</b> It does not incorporate privileges conveyed by a potential SharedNotebook to the same recipient. As such, the actual permissions that the recipient has on the note may differ from the permissions expressed in this structure.

For example, consider a user with read-only access to a shared notebook, and a read-write share of a specific note in the notebook. The note restrictions would contain noUpdateTitle = false, while the notebook restrictions would contain noUpdateNotes = true. In this case, the user is allowed to update the note title based on the note restrictions.

Alternatively, consider a user with read-write access to a shared notebook, and a read-only share of a specific note in that notebook. The note restrictions would contain noUpdateTitle = true, while the notebook restrictions would contain noUpdateNotes = false. In this case, the user would have full edit permissions on the note based on the notebook restrictions.

<dl>

<dt>noUpdateTitle</dt>
<dd>The client may not update the note's title (Note.title).</dd>

<dt>noUpdateContent<dt>
<dd>The client may not update the note's content. Content includes Note.content
  and Note.resources, as well as the related fields Note.contentHash and
  Note.contentLength.</dd>

<dt>noEmail</dt>
<dd>The client may not email the note (NoteStore.emailNote).</dd>

<dt>noShare</dt>
<dd>The client may not share the note with specific recipients
  (NoteStore.createOrUpdateSharedNotes).</dd>

<dt>noSharePublicly</dt>
<dd>The client may not make the note public (NoteStore.shareNote).</dd>

</dl>

Attributes:

  • NoUpdateTitle
  • NoUpdateContent
  • NoEmail
  • NoShare
  • NoSharePublicly
var Note_Restrictions_DEFAULT *NoteRestrictions

func NewNoteRestrictions

func NewNoteRestrictions() *NoteRestrictions

func (*NoteRestrictions) GetNoEmail

func (p *NoteRestrictions) GetNoEmail() bool

func (*NoteRestrictions) GetNoShare

func (p *NoteRestrictions) GetNoShare() bool

func (*NoteRestrictions) GetNoSharePublicly

func (p *NoteRestrictions) GetNoSharePublicly() bool

func (*NoteRestrictions) GetNoUpdateContent

func (p *NoteRestrictions) GetNoUpdateContent() bool

func (*NoteRestrictions) GetNoUpdateTitle

func (p *NoteRestrictions) GetNoUpdateTitle() bool

func (*NoteRestrictions) IsSetNoEmail

func (p *NoteRestrictions) IsSetNoEmail() bool

func (*NoteRestrictions) IsSetNoShare

func (p *NoteRestrictions) IsSetNoShare() bool

func (*NoteRestrictions) IsSetNoSharePublicly

func (p *NoteRestrictions) IsSetNoSharePublicly() bool

func (*NoteRestrictions) IsSetNoUpdateContent

func (p *NoteRestrictions) IsSetNoUpdateContent() bool

func (*NoteRestrictions) IsSetNoUpdateTitle

func (p *NoteRestrictions) IsSetNoUpdateTitle() bool

func (*NoteRestrictions) Read

func (p *NoteRestrictions) Read(iprot thrift.TProtocol) error

func (*NoteRestrictions) ReadField1

func (p *NoteRestrictions) ReadField1(iprot thrift.TProtocol) error

func (*NoteRestrictions) ReadField2

func (p *NoteRestrictions) ReadField2(iprot thrift.TProtocol) error

func (*NoteRestrictions) ReadField3

func (p *NoteRestrictions) ReadField3(iprot thrift.TProtocol) error

func (*NoteRestrictions) ReadField4

func (p *NoteRestrictions) ReadField4(iprot thrift.TProtocol) error

func (*NoteRestrictions) ReadField5

func (p *NoteRestrictions) ReadField5(iprot thrift.TProtocol) error

func (*NoteRestrictions) String

func (p *NoteRestrictions) String() string

func (*NoteRestrictions) Write

func (p *NoteRestrictions) Write(oprot thrift.TProtocol) error

type NoteResultSpec

type NoteResultSpec struct {
	IncludeContent                *bool `thrift:"includeContent,1" db:"includeContent" json:"includeContent,omitempty"`
	IncludeResourcesData          *bool `thrift:"includeResourcesData,2" db:"includeResourcesData" json:"includeResourcesData,omitempty"`
	IncludeResourcesRecognition   *bool `thrift:"includeResourcesRecognition,3" db:"includeResourcesRecognition" json:"includeResourcesRecognition,omitempty"`
	IncludeResourcesAlternateData *bool `thrift:"includeResourcesAlternateData,4" db:"includeResourcesAlternateData" json:"includeResourcesAlternateData,omitempty"`
	IncludeSharedNotes            *bool `thrift:"includeSharedNotes,5" db:"includeSharedNotes" json:"includeSharedNotes,omitempty"`
	IncludeNoteAppDataValues      *bool `thrift:"includeNoteAppDataValues,6" db:"includeNoteAppDataValues" json:"includeNoteAppDataValues,omitempty"`
	IncludeResourceAppDataValues  *bool `thrift:"includeResourceAppDataValues,7" db:"includeResourceAppDataValues" json:"includeResourceAppDataValues,omitempty"`
	IncludeAccountLimits          *bool `thrift:"includeAccountLimits,8" db:"includeAccountLimits" json:"includeAccountLimits,omitempty"`
}

This structure is provided to the getNoteWithResultSpec function to specify the subset of fields that should be included in the Note that is returned. This allows clients to request the minimum set of information that they require when retrieving a note, reducing the size of the response and improving the response time.

If one of the fields in this spec is not set, then it will be treated as 'false' by the service, so that the default behavior is to include none of the fields below in the Note.

<dl>

<dt>includeContent</dt>
<dd>If true, the Note.content field will be populated with the note's ENML contents.</dd>

<dt>includeResourcesData</dt>
<dd>If true, any Resource elements will include the binary contents of their 'data' field's
  body.</dd>

<dt>includeResourcesRecognition</dt>
<dd>If true, any Resource elements will include the binary contents of their 'recognition'
  field's body if recognition data is available.</dd>

<dt>includeResourcesAlternateData</dt>
<dd>If true, any Resource elements will include the binary contents of their 'alternateData'
  field's body, if an alternate form is available.</dd>

<dt>includeSharedNotes</dt>
<dd>If true, the Note.sharedNotes field will be populated with the note's shares.</dd>

<dt>includeNoteAppDataValues</dt>
<dd>If true, the Note.attributes.applicationData.fullMap field will be populated.</dd>

<dt>includeResourceAppDataValues</dt>
<dd>If true, the Note.resource.attributes.applicationData.fullMap field will be populated.</dd>

<dt>includeAccountLimits</dt>
<dd>If true, the Note.limits field will be populated with the note owner's account limits.</dd>

</dl>

Attributes:

  • IncludeContent
  • IncludeResourcesData
  • IncludeResourcesRecognition
  • IncludeResourcesAlternateData
  • IncludeSharedNotes
  • IncludeNoteAppDataValues
  • IncludeResourceAppDataValues
  • IncludeAccountLimits
var NoteStoreGetNoteWithResultSpecArgs_ResultSpec_DEFAULT *NoteResultSpec

func NewNoteResultSpec

func NewNoteResultSpec() *NoteResultSpec

func (*NoteResultSpec) GetIncludeAccountLimits

func (p *NoteResultSpec) GetIncludeAccountLimits() bool

func (*NoteResultSpec) GetIncludeContent

func (p *NoteResultSpec) GetIncludeContent() bool

func (*NoteResultSpec) GetIncludeNoteAppDataValues

func (p *NoteResultSpec) GetIncludeNoteAppDataValues() bool

func (*NoteResultSpec) GetIncludeResourceAppDataValues

func (p *NoteResultSpec) GetIncludeResourceAppDataValues() bool

func (*NoteResultSpec) GetIncludeResourcesAlternateData

func (p *NoteResultSpec) GetIncludeResourcesAlternateData() bool

func (*NoteResultSpec) GetIncludeResourcesData

func (p *NoteResultSpec) GetIncludeResourcesData() bool

func (*NoteResultSpec) GetIncludeResourcesRecognition

func (p *NoteResultSpec) GetIncludeResourcesRecognition() bool

func (*NoteResultSpec) GetIncludeSharedNotes

func (p *NoteResultSpec) GetIncludeSharedNotes() bool

func (*NoteResultSpec) IsSetIncludeAccountLimits

func (p *NoteResultSpec) IsSetIncludeAccountLimits() bool

func (*NoteResultSpec) IsSetIncludeContent

func (p *NoteResultSpec) IsSetIncludeContent() bool

func (*NoteResultSpec) IsSetIncludeNoteAppDataValues

func (p *NoteResultSpec) IsSetIncludeNoteAppDataValues() bool

func (*NoteResultSpec) IsSetIncludeResourceAppDataValues

func (p *NoteResultSpec) IsSetIncludeResourceAppDataValues() bool

func (*NoteResultSpec) IsSetIncludeResourcesAlternateData

func (p *NoteResultSpec) IsSetIncludeResourcesAlternateData() bool

func (*NoteResultSpec) IsSetIncludeResourcesData

func (p *NoteResultSpec) IsSetIncludeResourcesData() bool

func (*NoteResultSpec) IsSetIncludeResourcesRecognition

func (p *NoteResultSpec) IsSetIncludeResourcesRecognition() bool

func (*NoteResultSpec) IsSetIncludeSharedNotes

func (p *NoteResultSpec) IsSetIncludeSharedNotes() bool

func (*NoteResultSpec) Read

func (p *NoteResultSpec) Read(iprot thrift.TProtocol) error

func (*NoteResultSpec) ReadField1

func (p *NoteResultSpec) ReadField1(iprot thrift.TProtocol) error

func (*NoteResultSpec) ReadField2

func (p *NoteResultSpec) ReadField2(iprot thrift.TProtocol) error

func (*NoteResultSpec) ReadField3

func (p *NoteResultSpec) ReadField3(iprot thrift.TProtocol) error

func (*NoteResultSpec) ReadField4

func (p *NoteResultSpec) ReadField4(iprot thrift.TProtocol) error

func (*NoteResultSpec) ReadField5

func (p *NoteResultSpec) ReadField5(iprot thrift.TProtocol) error

func (*NoteResultSpec) ReadField6

func (p *NoteResultSpec) ReadField6(iprot thrift.TProtocol) error

func (*NoteResultSpec) ReadField7

func (p *NoteResultSpec) ReadField7(iprot thrift.TProtocol) error

func (*NoteResultSpec) ReadField8

func (p *NoteResultSpec) ReadField8(iprot thrift.TProtocol) error

func (*NoteResultSpec) String

func (p *NoteResultSpec) String() string

func (*NoteResultSpec) Write

func (p *NoteResultSpec) Write(oprot thrift.TProtocol) error

type NoteShareRelationshipRestrictions

type NoteShareRelationshipRestrictions struct {
	NoSetReadNote   *bool `thrift:"noSetReadNote,1" db:"noSetReadNote" json:"noSetReadNote,omitempty"`
	NoSetModifyNote *bool `thrift:"noSetModifyNote,2" db:"noSetModifyNote" json:"noSetModifyNote,omitempty"`
	NoSetFullAccess *bool `thrift:"noSetFullAccess,3" db:"noSetFullAccess" json:"noSetFullAccess,omitempty"`
}

This structure is used by the service to communicate to clients, via getNoteShareRelationships, which privilege levels are assignable to the target of a note share relationship.

<dl> <dt>noSetReadNote</dt> <dd>This value is true if the user is not allowed to set the privilege level to SharedNotePrivilegeLevel.READ_NOTE.</dd>

<dt>noSetModifyNote</dt> <dd>This value is true if the user is not allowed to set the privilege level to SharedNotePrivilegeLevel.MODIFY_NOTE.</dd>

<dt>noSetFullAccess</dt> <dd>This value is true if the user is not allowed to set the privilege level to SharedNotePrivilegeLevel.FULL_ACCESS.</dd> </dl>

Attributes:

  • NoSetReadNote
  • NoSetModifyNote
  • NoSetFullAccess
var NoteMemberShareRelationship_Restrictions_DEFAULT *NoteShareRelationshipRestrictions
var NoteShareRelationships_InvitationRestrictions_DEFAULT *NoteShareRelationshipRestrictions

func NewNoteShareRelationshipRestrictions

func NewNoteShareRelationshipRestrictions() *NoteShareRelationshipRestrictions

func (*NoteShareRelationshipRestrictions) GetNoSetFullAccess

func (p *NoteShareRelationshipRestrictions) GetNoSetFullAccess() bool

func (*NoteShareRelationshipRestrictions) GetNoSetModifyNote

func (p *NoteShareRelationshipRestrictions) GetNoSetModifyNote() bool

func (*NoteShareRelationshipRestrictions) GetNoSetReadNote

func (p *NoteShareRelationshipRestrictions) GetNoSetReadNote() bool

func (*NoteShareRelationshipRestrictions) IsSetNoSetFullAccess

func (p *NoteShareRelationshipRestrictions) IsSetNoSetFullAccess() bool

func (*NoteShareRelationshipRestrictions) IsSetNoSetModifyNote

func (p *NoteShareRelationshipRestrictions) IsSetNoSetModifyNote() bool

func (*NoteShareRelationshipRestrictions) IsSetNoSetReadNote

func (p *NoteShareRelationshipRestrictions) IsSetNoSetReadNote() bool

func (*NoteShareRelationshipRestrictions) Read

func (*NoteShareRelationshipRestrictions) ReadField1

func (*NoteShareRelationshipRestrictions) ReadField2

func (*NoteShareRelationshipRestrictions) ReadField3

func (*NoteShareRelationshipRestrictions) String

func (*NoteShareRelationshipRestrictions) Write

type NoteShareRelationships

type NoteShareRelationships struct {
	Invitations            []*NoteInvitationShareRelationship `thrift:"invitations,1" db:"invitations" json:"invitations,omitempty"`
	Memberships            []*NoteMemberShareRelationship     `thrift:"memberships,2" db:"memberships" json:"memberships,omitempty"`
	InvitationRestrictions *NoteShareRelationshipRestrictions `thrift:"invitationRestrictions,3" db:"invitationRestrictions" json:"invitationRestrictions,omitempty"`
}

Captures a collection of share relationships for a single note, for example, as returned by the getNoteShares method. The share relationships fall into two broad categories: members, and invitations that can be used to become members.

<dl> <dt>invitations</dt> <dd>A list of open invitations that can be redeemed into memberships to the note.</dd>

<dt>memberships</dt> <dd>A list of memberships of the noteb. A member is identified by their Evernote UserID and has rights to access the note.</dd>

<dt>restrictions</dt> <dd>The restrictions on which privileges may be assigned to the recipient of an open invitation. These restrictions only apply to invitations; restrictions on memberships are specified on the NoteMemberShareRelationship. This field is used by the service to convey information to the user, so clients should treat it as read-only.</dd>

</dl>

Attributes:

  • Invitations
  • Memberships
  • InvitationRestrictions

func NewNoteShareRelationships

func NewNoteShareRelationships() *NoteShareRelationships

func (*NoteShareRelationships) GetInvitationRestrictions

func (p *NoteShareRelationships) GetInvitationRestrictions() *NoteShareRelationshipRestrictions

func (*NoteShareRelationships) GetInvitations

func (*NoteShareRelationships) GetMemberships

func (p *NoteShareRelationships) GetMemberships() []*NoteMemberShareRelationship

func (*NoteShareRelationships) IsSetInvitationRestrictions

func (p *NoteShareRelationships) IsSetInvitationRestrictions() bool

func (*NoteShareRelationships) IsSetInvitations

func (p *NoteShareRelationships) IsSetInvitations() bool

func (*NoteShareRelationships) IsSetMemberships

func (p *NoteShareRelationships) IsSetMemberships() bool

func (*NoteShareRelationships) Read

func (*NoteShareRelationships) ReadField1

func (p *NoteShareRelationships) ReadField1(iprot thrift.TProtocol) error

func (*NoteShareRelationships) ReadField2

func (p *NoteShareRelationships) ReadField2(iprot thrift.TProtocol) error

func (*NoteShareRelationships) ReadField3

func (p *NoteShareRelationships) ReadField3(iprot thrift.TProtocol) error

func (*NoteShareRelationships) String

func (p *NoteShareRelationships) String() string

func (*NoteShareRelationships) Write

func (p *NoteShareRelationships) Write(oprot thrift.TProtocol) error

type NoteSortOrder

type NoteSortOrder int64

This enumeration defines the possible sort ordering for notes when they are returned from a search result.

const (
	NoteSortOrder_CREATED                NoteSortOrder = 1
	NoteSortOrder_UPDATED                NoteSortOrder = 2
	NoteSortOrder_RELEVANCE              NoteSortOrder = 3
	NoteSortOrder_UPDATE_SEQUENCE_NUMBER NoteSortOrder = 4
	NoteSortOrder_TITLE                  NoteSortOrder = 5
)
var Publishing_Order_DEFAULT NoteSortOrder

func NoteSortOrderFromString

func NoteSortOrderFromString(s string) (NoteSortOrder, error)

func NoteSortOrderPtr

func NoteSortOrderPtr(v NoteSortOrder) *NoteSortOrder

func (NoteSortOrder) MarshalText

func (p NoteSortOrder) MarshalText() ([]byte, error)

func (*NoteSortOrder) Scan

func (p *NoteSortOrder) Scan(value interface{}) error

func (NoteSortOrder) String

func (p NoteSortOrder) String() string

func (*NoteSortOrder) UnmarshalText

func (p *NoteSortOrder) UnmarshalText(text []byte) error

func (*NoteSortOrder) Value

func (p *NoteSortOrder) Value() (driver.Value, error)

type NoteStore

type NoteStore interface {

	// Asks the NoteStore to provide information about the status of the user
	// account corresponding to the provided authentication token.
	//
	// Parameters:
	//  - AuthenticationToken
	GetSyncState(ctx context.Context, authenticationToken string) (r *SyncState, err error)
	// 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
	GetFilteredSyncChunk(ctx context.Context, authenticationToken string, afterUSN int32, maxEntries int32, filter *SyncChunkFilter) (r *SyncChunk, err error)
	// 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.
	//
	// @throws EDAMUserException <ul>
	//   <li>DATA_REQUIRED "LinkedNotebook.username" - The username field must be
	//       populated with the current username of the owner of the notebook for which
	//       you are obtaining sync state.
	//   </li>
	// </ul>
	//
	// @throws EDAMNotFoundException <ul>
	//   <li>"LinkedNotebook.username" - If the LinkedNotebook.username field does not
	//       correspond to a current user on the service.
	//   </li>
	// </ul>
	//
	// @throws SystemException <ul>
	//   <li>SHARD_UNAVAILABLE - If the provided LinkedNotebook.username corresponds to a
	//       user whose account is on a shard other than that on which this method was
	//       invoked.
	//   </li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - LinkedNotebook
	GetLinkedNotebookSyncState(ctx context.Context, authenticationToken string, linkedNotebook *LinkedNotebook) (r *SyncState, err error)
	// 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
	GetLinkedNotebookSyncChunk(ctx context.Context, authenticationToken string, linkedNotebook *LinkedNotebook, afterUSN int32, maxEntries int32, fullSyncOnly bool) (r *SyncChunk, err error)
	// Returns a list of all of the notebooks in the account.
	//
	// Parameters:
	//  - AuthenticationToken
	ListNotebooks(ctx context.Context, authenticationToken string) (r []*Notebook, err error)
	// Returns a list of all the notebooks in a business that the user has permission to access,
	// regardless of whether the user has joined them. This includes notebooks that have been shared
	// with the entire business as well as notebooks that have been shared directly with the user.
	//
	// @param authenticationToken A business authentication token obtained by calling
	//   UserStore.authenticateToBusiness.
	//
	// @throws EDAMUserException <ul>
	//   <li> INVALID_AUTH "authenticationToken" - if the authentication token is not a
	//     business auth token.</li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	ListAccessibleBusinessNotebooks(ctx context.Context, authenticationToken string) (r []*Notebook, err error)
	// 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
	GetNotebook(ctx context.Context, authenticationToken string, guid GUID) (r *Notebook, err error)
	// Returns the notebook that should be used to store new notes in the
	// user's account when no other notebooks are specified.
	//
	// Parameters:
	//  - AuthenticationToken
	GetDefaultNotebook(ctx context.Context, authenticationToken string) (r *Notebook, err error)
	// 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> DATA_REQUIRED "Notebook" - notebook parameter was null</li>
	//   <li> PERMISSION_DENIED "Notebook.defaultNotebook" - if the 'defaultNotebook' field
	//        is set to 'true' for a Notebook that is not owned by the user identified by
	//        the passed authenticationToken.</li>
	//   <li> LIMIT_REACHED "Notebook" - at max number of notebooks</li>
	// </ul>
	//
	// @throws EDAMNotFoundException <ul>
	//   <li> "Workspace.guid" - if workspaceGuid set and no Workspace exists for the GUID
	//   </li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - Notebook
	CreateNotebook(ctx context.Context, authenticationToken string, notebook *Notebook) (r *Notebook, err error)
	// Submits notebook changes to the service. The provided data must include the
	// notebook's guid field for identification.
	// <p />
	// The Notebook will be moved to the specified Workspace, if a non empty
	// Notebook.workspaceGuid is provided. If an empty Notebook.workspaceGuid is set and the
	// Notebook is in a Workspace, then it will be removed from the Workspace and a full
	// access SharedNotebook record will be ensured for the caller. If the caller does not
	// already have a full access share, either the privilege of an existing share will be
	// upgraded or a new share will be created. It is illegal to set a
	// Notebook.workspaceGuid on a Workspace backing Notebook.
	//
	// @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>
	//   <li> DATA_REQUIRED "Notebook" - notebook parameter was null</li>
	//   <li> PERMISSION_DENIED "Notebook.defaultNotebook" - if the 'defaultNotebook' field
	//        is set to 'true' for a Notebook that is not owned by the user identified by
	//        the passed authenticationToken.</li>
	// </ul>
	//
	// @throws EDAMNotFoundException <ul>
	//   <li> "Notebook.guid" - not found, by GUID</li>
	//   <li> "Workspace.guid" - if a non empty workspaceGuid set and no Workspace exists
	//        for the GUID
	//   </li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - Notebook
	UpdateNotebook(ctx context.Context, authenticationToken string, notebook *Notebook) (r int32, err error)
	// 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
	ExpungeNotebook(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)
	// 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
	ListTags(ctx context.Context, authenticationToken string) (r []*Tag, err error)
	// 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
	ListTagsByNotebook(ctx context.Context, authenticationToken string, notebookGuid GUID) (r []*Tag, err error)
	// 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
	GetTag(ctx context.Context, authenticationToken string, guid GUID) (r *Tag, err error)
	// 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
	CreateTag(ctx context.Context, authenticationToken string, tag *Tag) (r *Tag, err error)
	// 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
	UpdateTag(ctx context.Context, authenticationToken string, tag *Tag) (r int32, err error)
	// 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
	UntagAll(ctx context.Context, authenticationToken string, guid GUID) (err error)
	// Permanently deletes the tag with the provided GUID, if present.
	// <p/>
	// NOTE: This function is not generally 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
	ExpungeTag(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)
	// 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
	ListSearches(ctx context.Context, authenticationToken string) (r []*SavedSearch, err error)
	// 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
	GetSearch(ctx context.Context, authenticationToken string, guid GUID) (r *SavedSearch, err error)
	// 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
	CreateSearch(ctx context.Context, authenticationToken string, search *SavedSearch) (r *SavedSearch, err error)
	// 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
	UpdateSearch(ctx context.Context, authenticationToken string, search *SavedSearch) (r int32, err error)
	// 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
	ExpungeSearch(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)
	// 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
	FindNoteOffset(ctx context.Context, authenticationToken string, filter *NoteFilter, guid GUID) (r int32, err error)
	// 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 maximum 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.
	//   Currently, the service will not return more than 250 notes in a single request,
	//   but this number may change in the future.
	//
	// @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.
	//   The Notes.sharedNotes field will not be set.
	//
	// @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
	FindNotesMetadata(ctx context.Context, authenticationToken string, filter *NoteFilter, offset int32, maxNotes int32, resultSpec *NotesMetadataResultSpec) (r *NotesMetadataList, err error)
	// 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
	FindNoteCounts(ctx context.Context, authenticationToken string, filter *NoteFilter, withTrash bool) (r *NoteCollectionCounts, err error)
	// 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 content depends
	// on whether it is explicitly requested in resultSpec parameter.
	// 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 authenticationToken
	//   An authentication token that grants the caller access to the requested note.
	//
	// @param guid
	//   The GUID of the note to be retrieved.
	//
	// @param resultSpec
	//   A structure specifying the fields of the note that the caller would like to get.
	//
	// @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
	//  - ResultSpec
	GetNoteWithResultSpec(ctx context.Context, authenticationToken string, guid GUID, resultSpec *NoteResultSpec) (r *Note, err error)
	// DEPRECATED. See getNoteWithResultSpec.
	//
	// This function is equivalent to getNoteWithResultSpec, with each of the boolean parameters
	// mapping to the equivalent field of a NoteResultSpec. The Note.sharedNotes field is never
	// populated on the returned note. To get a note with its shares, use getNoteWithResultSpec.
	//
	// Parameters:
	//  - AuthenticationToken
	//  - GUID
	//  - WithContent
	//  - WithResourcesData
	//  - WithResourcesRecognition
	//  - WithResourcesAlternateData
	GetNote(ctx context.Context, authenticationToken string, guid GUID, withContent bool, withResourcesData bool, withResourcesRecognition bool, withResourcesAlternateData bool) (r *Note, err error)
	// 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
	GetNoteApplicationData(ctx context.Context, authenticationToken string, guid GUID) (r *LazyMap, err error)
	// 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
	GetNoteApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string) (r string, err error)
	// Update, or create, an entry in the applicationData map for
	// the note identified by guid.
	//
	// Parameters:
	//  - AuthenticationToken
	//  - GUID
	//  - Key
	//  - Value
	SetNoteApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string, value string) (r int32, err error)
	// 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
	UnsetNoteApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string) (r int32, err error)
	// 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
	GetNoteContent(ctx context.Context, authenticationToken string, guid GUID) (r string, err error)
	// 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
	GetNoteSearchText(ctx context.Context, authenticationToken string, guid GUID, noteOnly bool, tokenizeForIndexing bool) (r string, err error)
	// 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
	GetResourceSearchText(ctx context.Context, authenticationToken string, guid GUID) (r string, err error)
	// 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
	GetNoteTagNames(ctx context.Context, authenticationToken string, guid GUID) (r []string, err error)
	// 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.
	//   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 (except Recognition Resource body,
	//   for which the behavior is unspecified).
	//
	// @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
	CreateNote(ctx context.Context, authenticationToken string, note *Note) (r *Note, err error)
	// 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 Note.sharedNotes field will not be set.
	//   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.
	//
	// @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.notebookGuid" - user doesn't own destination
	//   <li> PERMISSION_DENIED "Note.tags" - user doesn't have permission to
	//     modify the note's tags. note.tags must be unset.
	//   </li>
	//   <li> PERMISSION_DENIED "Note.attributes" - user doesn't have permission
	//     to modify the note's attributes. note.attributes must be unset.
	//   </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
	UpdateNote(ctx context.Context, authenticationToken string, note *Note) (r *Note, err error)
	// 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
	DeleteNote(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)
	// 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
	ExpungeNote(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)
	// 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.
	//
	// If the original note has been shared and has SharedNote records, the shares
	// are NOT copied.
	//
	// @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
	CopyNote(ctx context.Context, authenticationToken string, noteGuid GUID, toNotebookGuid GUID) (r *Note, err error)
	// 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.
	// This call is only available for notes in Premium accounts. (I.e. access
	// to past versions of Notes is a Premium-only feature.)
	//
	// @throws EDAMUserException <ul>
	//   <li> DATA_REQUIRED "Note.guid" - if GUID is null or empty string.
	//   </li>
	//   <li> BAD_DATA_FORMAT "Note.guid" - if GUID is not of correct length.
	//   </li>
	// </ul>
	//
	// @throws EDAMNotFoundException <ul>
	//   <li> "Note.guid" - not found, by GUID.
	//   </li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - NoteGuid
	ListNoteVersions(ctx context.Context, authenticationToken string, noteGuid GUID) (r []*NoteVersionId, err error)
	// 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> DATA_REQUIRED "Note.guid" - if GUID is null or empty string.
	//   </li>
	//   <li> BAD_DATA_FORMAT "Note.guid" - if GUID is not of correct length.
	//   </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
	GetNoteVersion(ctx context.Context, authenticationToken string, noteGuid GUID, updateSequenceNum int32, withResourcesData bool, withResourcesRecognition bool, withResourcesAlternateData bool) (r *Note, err error)
	// 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
	GetResource(ctx context.Context, authenticationToken string, guid GUID, withData bool, withRecognition bool, withAttributes bool, withAlternateData bool) (r *Resource, err error)
	// 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
	GetResourceApplicationData(ctx context.Context, authenticationToken string, guid GUID) (r *LazyMap, err error)
	// 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
	GetResourceApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string) (r string, err error)
	// Update, or create, an entry in the applicationData map for
	// the Resource identified by guid.
	//
	// Parameters:
	//  - AuthenticationToken
	//  - GUID
	//  - Key
	//  - Value
	SetResourceApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string, value string) (r int32, err error)
	// Remove an entry identified by 'key' from the applicationData map for
	// the Resource identified by 'guid'.
	//
	// Parameters:
	//  - AuthenticationToken
	//  - GUID
	//  - Key
	UnsetResourceApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string) (r int32, err error)
	// 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
	UpdateResource(ctx context.Context, authenticationToken string, resource *Resource) (r int32, err error)
	// 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
	GetResourceData(ctx context.Context, authenticationToken string, guid GUID) (r []byte, err error)
	// 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
	GetResourceByHash(ctx context.Context, authenticationToken string, noteGuid GUID, contentHash []byte, withData bool, withRecognition bool, withAlternateData bool) (r *Resource, err error)
	// 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
	GetResourceRecognition(ctx context.Context, authenticationToken string, guid GUID) (r []byte, err error)
	// 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
	GetResourceAlternateData(ctx context.Context, authenticationToken string, guid GUID) (r []byte, err error)
	// 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
	GetResourceAttributes(ctx context.Context, authenticationToken string, guid GUID) (r *ResourceAttributes, err error)
	// <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
	GetPublicNotebook(ctx context.Context, userId UserID, publicUri string) (r *Notebook, err error)
	// * @Deprecated for first-party clients. See createOrUpdateNotebookShares.
	// *
	// * Share a notebook with an email address, and optionally to a specific
	// * recipient. If an existing SharedNotebook associated with
	// * sharedNotebook.notebookGuid is found by recipientUsername or email, then
	// * the values of sharedNotebook will be used to update the existing record,
	// * else a new record will be created.
	// *
	// * If recipientUsername is set and there is already a SharedNotebook
	// * for that Notebook with that recipientUsername and the privileges on the
	// * existing notebook are lower, than on this one, this will update the
	// * privileges and sharerUserId. If there isn't an existing SharedNotebook for
	// * recipientUsername, this will create and return a shared notebook for that
	// * email and recipientUsername. If recipientUsername is not set and there
	// * already is a SharedNotebook for a Notebook for that email address and the
	// * privileges on the existing SharedNotebook are lower than on this one, this
	// * will update the privileges and sharerUserId, and return the updated
	// * SharedNotebook. Otherwise, this will create and return a SharedNotebook for
	// * the email address.
	// *
	// * If the authenticationToken is a Business auth token, recipientUsername is
	// * set and the recipient is in the same business as the business auth token,
	// * this method will also auto-join the business user to the SharedNotebook -
	// * that is it will set serviceJoined on the SharedNotebook and create a
	// * LinkedNotebook on the recipient's account pointing to the SharedNotebook.
	// * The LinkedNotebook creation happens out-of-band, so there will be a delay
	// * on the order of half a minute between the SharedNotebook and LinkedNotebook
	// * creation.
	// *
	// * Also handles sending an email to the email addresses: if a SharedNotebook
	// * is being created, this will send the shared notebook invite email, and
	// * if a SharedNotebook already exists, it will send the shared notebook
	// * reminder email. Both these emails contain a link to join the notebook.
	// * If the notebook is being auto-joined, it sends an email with that
	// * information to the recipient.
	// *
	// * @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
	// *   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.
	// *
	// * @param message
	// *   The sharer-defined message to put in the email sent out.
	// *
	// * @return
	// *   The fully populated SharedNotebook object including the server assigned
	// *   globalId 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>DATA_REQUIRED "SharedNotebook.privilege" - if the
	// *       SharedNotebook.privilegeLevel was not set.</li>
	// *   <li>BAD_DATA_FORMAT "SharedNotebook.requireLogin" - if requireLogin was
	// *       set. requireLogin is deprecated.</li>
	// *   <li>BAD_DATA_FORMAT "SharedNotebook.privilegeLevel" - if the
	// *       SharedNotebook.privilegeLevel field was unset or set to GROUP.</li>
	// *   <li>PERMISSION_DENIED "user" - if the email address on the authenticationToken's
	//         owner's account is not confirmed.</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>
	// *   <li>EDAMErrorCode.LIMIT_REACHED "SharedNotebook" - The notebook already has
	// *       EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX shares.</li>
	// *   </ul>
	// * @throws EDAMNotFoundException <ul>
	// *   <li>Notebook.guid - if the notebookGuid is not a valid GUID for the user.
	// *   </li>
	// *   </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - SharedNotebook
	//  - Message
	ShareNotebook(ctx context.Context, authenticationToken string, sharedNotebook *SharedNotebook, message string) (r *SharedNotebook, err error)
	// Share a notebook by a messaging thread ID or a list of contacts. This function is
	// intended to be used in conjunction with Evernote messaging, and as such does not
	// notify the recipient that a notebook has been shared with them.
	//
	// Sharing with a subset of participants on a thread is accomplished by specifying both
	// a thread ID and a list of contacts. This ensures that even if those contacts are
	// on the thread under a deactivated identity, the correct user (the one who has the
	// given contact on the thread) receives the share.
	//
	// @param authenticationToken
	//   An authentication token that grants the caller permission to share the notebook.
	//   This should be an owner token if the notebook is owned by the caller.
	//   If the notebook is a business notebook to which the caller has full access,
	//   this should be their business authentication token. If the notebook is a shared
	//   (non-business) notebook to which the caller has full access, this should be the
	//   shared notebook authentication token returned by NoteStore.authenticateToNotebook.
	//
	// @param shareTemplate
	//   Specifies the GUID of the notebook to be shared, the privilege at which the notebook
	//   should be shared, and the recipient information.
	//
	// @return
	//   A structure containing the USN of the Notebook after the change and a list of created
	//   or updated SharedNotebooks.
	//
	// @throws EDAMUserException <ul>
	//   <li>DATA_REQUIRED "Notebook.guid" - if no notebook GUID was specified</li>
	//   <li>BAD_DATA_FORMAT "Notebook.guid" - if shareTemplate.notebookGuid is not a
	//     valid GUID</li>
	//   <li>DATA_REQUIRED "shareTemplate" - if the shareTemplate parameter was missing</li>
	//   <li>DATA_REQUIRED "NotebookShareTemplate.privilege" - if no privilege was
	//     specified</li>
	//   <li>DATA_CONFLICT "NotebookShareTemplate.privilege" - if the specified privilege
	//     is not allowed.</li>
	//   <li>DATA_REQUIRED "NotebookShareTemplate.recipients" - if no recipients were
	//     specified, either by thread ID or as a list of contacts</li>
	//   <li>LIMIT_REACHED "SharedNotebook" - if the notebook has reached its maximum
	//     number of shares</li>
	// </ul>
	//
	// @throws EDAMInvalidContactsException <ul>
	//   <li>"NotebookShareTemplate.recipients" - if one or more of the recipients specified
	//     in shareTemplate.recipients was not syntactically valid, or if attempting to
	//     share a notebook with an Evernote identity that the sharer does not have a
	//     connection to. The exception will specify which recipients were invalid.</li>
	// </ul>
	//
	// @throws EDAMNotFoundException <ul>
	//   <li>"Notebook.guid" - if no notebook with the specified GUID was found</li>
	//   <li>"NotebookShareTemplate.recipientThreadId" - if the recipient thread ID was
	//     specified, but no thread with that ID exists</li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - ShareTemplate
	CreateOrUpdateNotebookShares(ctx context.Context, authenticationToken string, shareTemplate *NotebookShareTemplate) (r *CreateOrUpdateNotebookSharesResult_, err error)
	// @Deprecated See createOrUpdateNotebookShares and manageNotebookShares.
	//
	// Parameters:
	//  - AuthenticationToken
	//  - SharedNotebook
	UpdateSharedNotebook(ctx context.Context, authenticationToken string, sharedNotebook *SharedNotebook) (r int32, err error)
	// Set values for the recipient settings associated with a notebook share. Only the
	// recipient of the share can update their recipient settings.
	//
	// If you do <i>not</i> wish to, or cannot, change one of the recipient settings fields,
	// you must leave that field unset in recipientSettings.
	// This method will skip that field for updates and attempt to leave the existing value as
	// it is.
	//
	// If recipientSettings.inMyList is false, both reminderNotifyInApp and reminderNotifyEmail
	// will be either left as null or converted to false (if currently true).
	//
	// To unset a notebook's stack, pass in the empty string for the stack field.
	//
	// @param authenticationToken The owner authentication token for the recipient of the share.
	//
	// @return The updated Notebook with the new recipient settings. Note that some of the
	// recipient settings may differ from what was requested. Clients should update their state
	// based on this return value.
	//
	// @throws EDAMNotFoundException <ul>
	//   <li>Notebook.guid - Thrown if the service does not have a notebook record with the
	//       notebookGuid on the given shard.</li>
	//   <li>Publishing.publishState - Thrown if the business notebook is not shared with the
	//       user and is also not published to their business.</li>
	// </ul>
	//
	// @throws EDAMUserException <ul>
	//   <li>PEMISSION_DENIED "authenticationToken" - If the owner of the given token is not
	//       allowed to set recipient settings on the specified notebook.</li>
	//   <li>DATA_CONFLICT "recipientSettings.reminderNotifyEmail" - Setting reminderNotifyEmail
	//       is allowed only for notebooks which belong to the same business as the user.</li>
	//   <li>DATA_CONFLICT "recipientSettings.inMyList" - If the request is setting inMyList
	//       to false and any of reminder* settings to true.</li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - NotebookGuid
	//  - RecipientSettings
	SetNotebookRecipientSettings(ctx context.Context, authenticationToken string, notebookGuid string, recipientSettings *NotebookRecipientSettings) (r *Notebook, err error)
	// Lists the collection of shared notebooks for all notebooks in the
	// users account.
	//
	// @return
	//  The list of all SharedNotebooks for the user
	//
	// Parameters:
	//  - AuthenticationToken
	ListSharedNotebooks(ctx context.Context, authenticationToken string) (r []*SharedNotebook, err error)
	// 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> DATA_REQUIRED "LinkedNotebook.shareName" - missing shareName
	//   <li> BAD_DATA_FORMAT "LinkedNotebook.name" - invalid shareName 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> DATA_REQUIRED "LinkedNotebook.shardId" -
	//     if private notebook but shard id not provided
	//   </li>
	//   <li> BAD_DATA_FORMAT "LinkedNotebook.stack" - invalid stack name length or pattern
	//   </li>
	// </ul>
	//
	// @throws EDAMSystemException <ul>
	//   <li> BAD_DATA_FORMAT "LinkedNotebook.sharedNotebookGlobalId" -
	//     if a bad global identifer was set on a private notebook
	//   </li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - LinkedNotebook
	CreateLinkedNotebook(ctx context.Context, authenticationToken string, linkedNotebook *LinkedNotebook) (r *LinkedNotebook, err error)
	// @param linkedNotebook
	//   Updates the name of a linked notebook.
	//
	// @return
	//   The Update Sequence Number for this change within the account.
	//
	// @throws EDAMUserException <ul>
	//   <li> DATA_REQUIRED "LinkedNotebook.shareName" - missing shareName
	//   </li>
	//   <li> BAD_DATA_FORMAT "LinkedNotebook.shareName" - invalid shareName length or pattern
	//   </li>
	//   <li> BAD_DATA_FORMAT "LinkedNotebook.stack" - invalid stack name length or pattern
	//   </li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - LinkedNotebook
	UpdateLinkedNotebook(ctx context.Context, authenticationToken string, linkedNotebook *LinkedNotebook) (r int32, err error)
	// Returns a list of linked notebooks
	//
	// Parameters:
	//  - AuthenticationToken
	ListLinkedNotebooks(ctx context.Context, authenticationToken string) (r []*LinkedNotebook, err error)
	// 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
	ExpungeLinkedNotebook(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)
	// 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 shareKeyOrGlobalId
	//   May be one of the following:
	//   <ul>
	//     <li>A share key for a shared notebook that was granted to some recipient
	//         Must be used if you are joining a notebook unless it was shared via
	//         createOrUpdateNotebookShares. Share keys are delivered out-of-band
	//         and are generally not available to clients. For security reasons,
	//         share keys may be invalidated at the discretion of the service.
	//     </li>
	//     <li>The shared notebook global identifier. May be used to access a
	//         notebook that is already joined.
	//     </li>
	//     <li>The Notebook GUID. May be used to access a notebook that was already
	//         joined, or to access a notebook that was shared with the recipient
	//         via createOrUpdateNotebookShares.
	//     </li>
	//   </ul>
	//
	// @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.
	//   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:
	//  - ShareKeyOrGlobalId
	//  - AuthenticationToken
	AuthenticateToSharedNotebook(ctx context.Context, shareKeyOrGlobalId string, authenticationToken string) (r *AuthenticationResult_, err error)
	// 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
	GetSharedNotebookByAuth(ctx context.Context, authenticationToken string) (r *SharedNotebook, err error)
	// 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
	EmailNote(ctx context.Context, authenticationToken string, parameters *NoteEmailParameters) (err error)
	// If this note is not already shared publicly (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
	ShareNote(ctx context.Context, authenticationToken string, guid GUID) (r string, err error)
	// If this note is shared publicly 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.
	//
	// This function does not remove invididual shares for the note. To remove
	// individual shares, see stopSharingNoteWithRecipients.
	//
	// @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
	StopSharingNote(ctx context.Context, authenticationToken string, guid GUID) (err error)
	// 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
	AuthenticateToSharedNote(ctx context.Context, guid string, noteKey string, authenticationToken string) (r *AuthenticationResult_, err error)
	// Identify related entities on the service, such as notes,
	// notebooks, tags and users in a business 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>PERMISSION_DENIED "authenticationToken" - If the caller has requested to
	//     findExperts in the context of a non business user (i.e. The authenticationToken
	//     is not a business auth token).
	//   </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
	FindRelated(ctx context.Context, authenticationToken string, query *RelatedQuery, resultSpec *RelatedResultSpec) (r *RelatedResult_, err error)
	// Perform the same operation as updateNote() would provided that the update
	// sequence number on the parameter Note object matches the current update sequence
	// number that the service has for the note.  If they do <i>not</i> match, then
	// <i>no</i> update is performed and the return value will have the current server
	// state in the note field and updated will be false.  If the update sequence
	// numbers between the client and server do match, then the note will be updated
	// and the note field of the return value will be returned as it would be for the
	// updateNote method.  This method allows you to check for an update to the note
	// on the service, by another client instance, from when you obtained the
	// note state as a baseline for your edits and the time when you wish to save your
	// edits.  If your client can merge the conflict, you can avoid overwriting changes
	// that were saved to the service by the other client.
	//
	// See the updateNote method for information on the exceptions and parameters for
	// this method.  The only difference is that you must have an update sequence number
	// defined on the note parameter (equal to the USN of the note as synched to the
	// client), and the following additional exceptions might be thrown.
	//
	// @throws EDAMUserException <ul>
	//   <li>DATA_REQUIRED "Note.updateSequenceNum" - If the update sequence number was
	//       not provided.  This includes a value that is set as 0.</li>
	//   <li>BAD_DATA_FORMAT "Note.updateSequenceNum" - If the note has an update
	//       sequence number that is larger than the current server value, which should
	//       not happen if your client is working correctly.</li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - Note
	UpdateNoteIfUsnMatches(ctx context.Context, authenticationToken string, note *Note) (r *UpdateNoteIfUsnMatchesResult_, err error)
	// Manage invitations and memberships associated with a given notebook.
	//
	// <i>Note:</i> Beta method! This method is currently intended for
	// limited use by Evernote clients that have discussed using this
	// routine with the platform team.
	//
	// @param parameters A structure containing all parameters for the updates.
	//    See the structure documentation for details.
	//
	// @throws EDAMUserException <ul>
	//   <li>EDAMErrorCode.LIMIT_REACHED "SharedNotebook" - Trying to share a
	//    notebook while the notebook already has EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX
	//    shares.</li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - Parameters
	ManageNotebookShares(ctx context.Context, authenticationToken string, parameters *ManageNotebookSharesParameters) (r *ManageNotebookSharesResult_, err error)
	// Return the share relationships for the given notebook, including
	// both the invitations and the memberships.
	//
	// <i>Note:</i> Beta method! This method is currently intended for
	// limited use by Evernote clients that have discussed using this
	// routine with the platform team.
	//
	// Parameters:
	//  - AuthenticationToken
	//  - NotebookGuid
	GetNotebookShares(ctx context.Context, authenticationToken string, notebookGuid string) (r *ShareRelationships, err error)
}

type NoteStoreAuthenticateToSharedNoteArgs

type NoteStoreAuthenticateToSharedNoteArgs struct {
	GUID                string `thrift:"guid,1" db:"guid" json:"guid"`
	NoteKey             string `thrift:"noteKey,2" db:"noteKey" json:"noteKey"`
	AuthenticationToken string `thrift:"authenticationToken,3" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • GUID
  • NoteKey
  • AuthenticationToken

func NewNoteStoreAuthenticateToSharedNoteArgs

func NewNoteStoreAuthenticateToSharedNoteArgs() *NoteStoreAuthenticateToSharedNoteArgs

func (*NoteStoreAuthenticateToSharedNoteArgs) GetAuthenticationToken

func (p *NoteStoreAuthenticateToSharedNoteArgs) GetAuthenticationToken() string

func (*NoteStoreAuthenticateToSharedNoteArgs) GetGUID

func (*NoteStoreAuthenticateToSharedNoteArgs) GetNoteKey

func (*NoteStoreAuthenticateToSharedNoteArgs) Read

func (*NoteStoreAuthenticateToSharedNoteArgs) ReadField1

func (*NoteStoreAuthenticateToSharedNoteArgs) ReadField2

func (*NoteStoreAuthenticateToSharedNoteArgs) ReadField3

func (*NoteStoreAuthenticateToSharedNoteArgs) String

func (*NoteStoreAuthenticateToSharedNoteArgs) Write

type NoteStoreAuthenticateToSharedNoteResult

type NoteStoreAuthenticateToSharedNoteResult struct {
	Success           *AuthenticationResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreAuthenticateToSharedNoteResult

func NewNoteStoreAuthenticateToSharedNoteResult() *NoteStoreAuthenticateToSharedNoteResult

func (*NoteStoreAuthenticateToSharedNoteResult) GetNotFoundException

func (*NoteStoreAuthenticateToSharedNoteResult) GetSuccess

func (*NoteStoreAuthenticateToSharedNoteResult) GetSystemException

func (*NoteStoreAuthenticateToSharedNoteResult) GetUserException

func (*NoteStoreAuthenticateToSharedNoteResult) IsSetNotFoundException

func (p *NoteStoreAuthenticateToSharedNoteResult) IsSetNotFoundException() bool

func (*NoteStoreAuthenticateToSharedNoteResult) IsSetSuccess

func (*NoteStoreAuthenticateToSharedNoteResult) IsSetSystemException

func (p *NoteStoreAuthenticateToSharedNoteResult) IsSetSystemException() bool

func (*NoteStoreAuthenticateToSharedNoteResult) IsSetUserException

func (p *NoteStoreAuthenticateToSharedNoteResult) IsSetUserException() bool

func (*NoteStoreAuthenticateToSharedNoteResult) Read

func (*NoteStoreAuthenticateToSharedNoteResult) ReadField0

func (*NoteStoreAuthenticateToSharedNoteResult) ReadField1

func (*NoteStoreAuthenticateToSharedNoteResult) ReadField2

func (*NoteStoreAuthenticateToSharedNoteResult) ReadField3

func (*NoteStoreAuthenticateToSharedNoteResult) String

func (*NoteStoreAuthenticateToSharedNoteResult) Write

type NoteStoreAuthenticateToSharedNotebookArgs

type NoteStoreAuthenticateToSharedNotebookArgs struct {
	ShareKeyOrGlobalId  string `thrift:"shareKeyOrGlobalId,1" db:"shareKeyOrGlobalId" json:"shareKeyOrGlobalId"`
	AuthenticationToken string `thrift:"authenticationToken,2" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • ShareKeyOrGlobalId
  • AuthenticationToken

func NewNoteStoreAuthenticateToSharedNotebookArgs

func NewNoteStoreAuthenticateToSharedNotebookArgs() *NoteStoreAuthenticateToSharedNotebookArgs

func (*NoteStoreAuthenticateToSharedNotebookArgs) GetAuthenticationToken

func (p *NoteStoreAuthenticateToSharedNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreAuthenticateToSharedNotebookArgs) GetShareKeyOrGlobalId

func (p *NoteStoreAuthenticateToSharedNotebookArgs) GetShareKeyOrGlobalId() string

func (*NoteStoreAuthenticateToSharedNotebookArgs) Read

func (*NoteStoreAuthenticateToSharedNotebookArgs) ReadField1

func (*NoteStoreAuthenticateToSharedNotebookArgs) ReadField2

func (*NoteStoreAuthenticateToSharedNotebookArgs) String

func (*NoteStoreAuthenticateToSharedNotebookArgs) Write

type NoteStoreAuthenticateToSharedNotebookResult

type NoteStoreAuthenticateToSharedNotebookResult struct {
	Success           *AuthenticationResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreAuthenticateToSharedNotebookResult

func NewNoteStoreAuthenticateToSharedNotebookResult() *NoteStoreAuthenticateToSharedNotebookResult

func (*NoteStoreAuthenticateToSharedNotebookResult) GetNotFoundException

func (*NoteStoreAuthenticateToSharedNotebookResult) GetSuccess

func (*NoteStoreAuthenticateToSharedNotebookResult) GetSystemException

func (*NoteStoreAuthenticateToSharedNotebookResult) GetUserException

func (*NoteStoreAuthenticateToSharedNotebookResult) IsSetNotFoundException

func (p *NoteStoreAuthenticateToSharedNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreAuthenticateToSharedNotebookResult) IsSetSuccess

func (*NoteStoreAuthenticateToSharedNotebookResult) IsSetSystemException

func (p *NoteStoreAuthenticateToSharedNotebookResult) IsSetSystemException() bool

func (*NoteStoreAuthenticateToSharedNotebookResult) IsSetUserException

func (p *NoteStoreAuthenticateToSharedNotebookResult) IsSetUserException() bool

func (*NoteStoreAuthenticateToSharedNotebookResult) Read

func (*NoteStoreAuthenticateToSharedNotebookResult) ReadField0

func (*NoteStoreAuthenticateToSharedNotebookResult) ReadField1

func (*NoteStoreAuthenticateToSharedNotebookResult) ReadField2

func (*NoteStoreAuthenticateToSharedNotebookResult) ReadField3

func (*NoteStoreAuthenticateToSharedNotebookResult) String

func (*NoteStoreAuthenticateToSharedNotebookResult) Write

type NoteStoreClient

type NoteStoreClient struct {
	// contains filtered or unexported fields
}

Service: NoteStore <p> The NoteStore service is used by EDAM clients to exchange information about the collection of notes in an account. This is primarily used for synchronization, but could also be used by a "thin" client without a full local cache. </p><p> Most functions take an "authenticationToken" parameter, which is the value returned by the UserStore which permits access to the account. </p>

Calls which require an authenticationToken may throw an EDAMUserException for the following reasons: <ul>

<li>DATA_REQUIRED "authenticationToken" - token is empty</li>
<li>BAD_DATA_FORMAT "authenticationToken" - token is malformed</li>
<li>INVALID_AUTH "authenticationToken" - token signature is invalid</li>
<li>AUTH_EXPIRED "authenticationToken" - token has expired or been revoked</li>
<li>PERMISSION_DENIED "authenticationToken" - token does not grant permission
    to perform the requested action</li>
<li>BUSINESS_SECURITY_LOGIN_REQUIRED "sso" - the user is a member of a business
    that requires single sign-on, and must complete SSO before accessing business
    content.

</ul>

func NewNoteStoreClient

func NewNoteStoreClient(c thrift.TClient) *NoteStoreClient

func NewNoteStoreClientProtocol

func NewNoteStoreClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *NoteStoreClient

func (*NoteStoreClient) AuthenticateToSharedNote

func (p *NoteStoreClient) AuthenticateToSharedNote(ctx context.Context, guid string, noteKey string, authenticationToken string) (r *AuthenticationResult_, err error)

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

func (*NoteStoreClient) AuthenticateToSharedNotebook

func (p *NoteStoreClient) AuthenticateToSharedNotebook(ctx context.Context, shareKeyOrGlobalId string, authenticationToken string) (r *AuthenticationResult_, err error)

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 shareKeyOrGlobalId

May be one of the following:
<ul>
  <li>A share key for a shared notebook that was granted to some recipient
      Must be used if you are joining a notebook unless it was shared via
      createOrUpdateNotebookShares. Share keys are delivered out-of-band
      and are generally not available to clients. For security reasons,
      share keys may be invalidated at the discretion of the service.
  </li>
  <li>The shared notebook global identifier. May be used to access a
      notebook that is already joined.
  </li>
  <li>The Notebook GUID. May be used to access a notebook that was already
      joined, or to access a notebook that was shared with the recipient
      via createOrUpdateNotebookShares.
  </li>
</ul>

@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.
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:

  • ShareKeyOrGlobalId
  • AuthenticationToken

func (*NoteStoreClient) Client_

func (p *NoteStoreClient) Client_() thrift.TClient

func (*NoteStoreClient) CopyNote

func (p *NoteStoreClient) CopyNote(ctx context.Context, authenticationToken string, noteGuid GUID, toNotebookGuid GUID) (r *Note, err error)

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.

If the original note has been shared and has SharedNote records, the shares are NOT copied.

@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

func (*NoteStoreClient) CreateLinkedNotebook

func (p *NoteStoreClient) CreateLinkedNotebook(ctx context.Context, authenticationToken string, linkedNotebook *LinkedNotebook) (r *LinkedNotebook, err error)

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> DATA_REQUIRED "LinkedNotebook.shareName" - missing shareName
<li> BAD_DATA_FORMAT "LinkedNotebook.name" - invalid shareName 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> DATA_REQUIRED "LinkedNotebook.shardId" -
  if private notebook but shard id not provided
</li>
<li> BAD_DATA_FORMAT "LinkedNotebook.stack" - invalid stack name length or pattern
</li>

</ul>

@throws EDAMSystemException <ul>

<li> BAD_DATA_FORMAT "LinkedNotebook.sharedNotebookGlobalId" -
  if a bad global identifer was set on a private notebook
</li>

</ul>

Parameters:

  • AuthenticationToken
  • LinkedNotebook

func (*NoteStoreClient) CreateNote

func (p *NoteStoreClient) CreateNote(ctx context.Context, authenticationToken string, note *Note) (r *Note, err error)

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.
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 (except Recognition Resource body,
for which the behavior is unspecified).

@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

func (*NoteStoreClient) CreateNotebook

func (p *NoteStoreClient) CreateNotebook(ctx context.Context, authenticationToken string, notebook *Notebook) (r *Notebook, err error)

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> DATA_REQUIRED "Notebook" - notebook parameter was null</li>
<li> PERMISSION_DENIED "Notebook.defaultNotebook" - if the 'defaultNotebook' field
     is set to 'true' for a Notebook that is not owned by the user identified by
     the passed authenticationToken.</li>
<li> LIMIT_REACHED "Notebook" - at max number of notebooks</li>

</ul>

@throws EDAMNotFoundException <ul>

<li> "Workspace.guid" - if workspaceGuid set and no Workspace exists for the GUID
</li>

</ul>

Parameters:

  • AuthenticationToken
  • Notebook

func (*NoteStoreClient) CreateOrUpdateNotebookShares

func (p *NoteStoreClient) CreateOrUpdateNotebookShares(ctx context.Context, authenticationToken string, shareTemplate *NotebookShareTemplate) (r *CreateOrUpdateNotebookSharesResult_, err error)

Share a notebook by a messaging thread ID or a list of contacts. This function is intended to be used in conjunction with Evernote messaging, and as such does not notify the recipient that a notebook has been shared with them.

Sharing with a subset of participants on a thread is accomplished by specifying both a thread ID and a list of contacts. This ensures that even if those contacts are on the thread under a deactivated identity, the correct user (the one who has the given contact on the thread) receives the share.

@param authenticationToken

An authentication token that grants the caller permission to share the notebook.
This should be an owner token if the notebook is owned by the caller.
If the notebook is a business notebook to which the caller has full access,
this should be their business authentication token. If the notebook is a shared
(non-business) notebook to which the caller has full access, this should be the
shared notebook authentication token returned by NoteStore.authenticateToNotebook.

@param shareTemplate

Specifies the GUID of the notebook to be shared, the privilege at which the notebook
should be shared, and the recipient information.

@return

A structure containing the USN of the Notebook after the change and a list of created
or updated SharedNotebooks.

@throws EDAMUserException <ul>

<li>DATA_REQUIRED "Notebook.guid" - if no notebook GUID was specified</li>
<li>BAD_DATA_FORMAT "Notebook.guid" - if shareTemplate.notebookGuid is not a
  valid GUID</li>
<li>DATA_REQUIRED "shareTemplate" - if the shareTemplate parameter was missing</li>
<li>DATA_REQUIRED "NotebookShareTemplate.privilege" - if no privilege was
  specified</li>
<li>DATA_CONFLICT "NotebookShareTemplate.privilege" - if the specified privilege
  is not allowed.</li>
<li>DATA_REQUIRED "NotebookShareTemplate.recipients" - if no recipients were
  specified, either by thread ID or as a list of contacts</li>
<li>LIMIT_REACHED "SharedNotebook" - if the notebook has reached its maximum
  number of shares</li>

</ul>

@throws EDAMInvalidContactsException <ul>

<li>"NotebookShareTemplate.recipients" - if one or more of the recipients specified
  in shareTemplate.recipients was not syntactically valid, or if attempting to
  share a notebook with an Evernote identity that the sharer does not have a
  connection to. The exception will specify which recipients were invalid.</li>

</ul>

@throws EDAMNotFoundException <ul>

<li>"Notebook.guid" - if no notebook with the specified GUID was found</li>
<li>"NotebookShareTemplate.recipientThreadId" - if the recipient thread ID was
  specified, but no thread with that ID exists</li>

</ul>

Parameters:

  • AuthenticationToken
  • ShareTemplate

func (*NoteStoreClient) CreateSearch

func (p *NoteStoreClient) CreateSearch(ctx context.Context, authenticationToken string, search *SavedSearch) (r *SavedSearch, err error)

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

func (*NoteStoreClient) CreateTag

func (p *NoteStoreClient) CreateTag(ctx context.Context, authenticationToken string, tag *Tag) (r *Tag, err error)

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

func (*NoteStoreClient) DeleteNote

func (p *NoteStoreClient) DeleteNote(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)

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

func (*NoteStoreClient) EmailNote

func (p *NoteStoreClient) EmailNote(ctx context.Context, authenticationToken string, parameters *NoteEmailParameters) (err error)

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

func (*NoteStoreClient) ExpungeLinkedNotebook

func (p *NoteStoreClient) ExpungeLinkedNotebook(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)

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

func (*NoteStoreClient) ExpungeNote

func (p *NoteStoreClient) ExpungeNote(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)

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

func (*NoteStoreClient) ExpungeNotebook

func (p *NoteStoreClient) ExpungeNotebook(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)

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

func (*NoteStoreClient) ExpungeSearch

func (p *NoteStoreClient) ExpungeSearch(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)

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

func (*NoteStoreClient) ExpungeTag

func (p *NoteStoreClient) ExpungeTag(ctx context.Context, authenticationToken string, guid GUID) (r int32, err error)

Permanently deletes the tag with the provided GUID, if present. <p/> NOTE: This function is not generally 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

func (*NoteStoreClient) FindNoteCounts

func (p *NoteStoreClient) FindNoteCounts(ctx context.Context, authenticationToken string, filter *NoteFilter, withTrash bool) (r *NoteCollectionCounts, err error)

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

func (*NoteStoreClient) FindNoteOffset

func (p *NoteStoreClient) FindNoteOffset(ctx context.Context, authenticationToken string, filter *NoteFilter, guid GUID) (r int32, err error)

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

func (*NoteStoreClient) FindNotesMetadata

func (p *NoteStoreClient) FindNotesMetadata(ctx context.Context, authenticationToken string, filter *NoteFilter, offset int32, maxNotes int32, resultSpec *NotesMetadataResultSpec) (r *NotesMetadataList, err error)

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 maximum 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.
Currently, the service will not return more than 250 notes in a single request,
but this number may change in the future.

@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.
The Notes.sharedNotes field will not be set.

@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

func (*NoteStoreClient) FindRelated

func (p *NoteStoreClient) FindRelated(ctx context.Context, authenticationToken string, query *RelatedQuery, resultSpec *RelatedResultSpec) (r *RelatedResult_, err error)

Identify related entities on the service, such as notes, notebooks, tags and users in a business 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>PERMISSION_DENIED "authenticationToken" - If the caller has requested to
  findExperts in the context of a non business user (i.e. The authenticationToken
  is not a business auth token).
</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

func (*NoteStoreClient) GetDefaultNotebook

func (p *NoteStoreClient) GetDefaultNotebook(ctx context.Context, authenticationToken string) (r *Notebook, err error)

Returns the notebook that should be used to store new notes in the user's account when no other notebooks are specified.

Parameters:

  • AuthenticationToken

func (*NoteStoreClient) GetFilteredSyncChunk

func (p *NoteStoreClient) GetFilteredSyncChunk(ctx context.Context, authenticationToken string, afterUSN int32, maxEntries int32, filter *SyncChunkFilter) (r *SyncChunk, err error)

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

func (*NoteStoreClient) GetLinkedNotebookSyncChunk

func (p *NoteStoreClient) GetLinkedNotebookSyncChunk(ctx context.Context, authenticationToken string, linkedNotebook *LinkedNotebook, afterUSN int32, maxEntries int32, fullSyncOnly bool) (r *SyncChunk, err error)

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

func (*NoteStoreClient) GetLinkedNotebookSyncState

func (p *NoteStoreClient) GetLinkedNotebookSyncState(ctx context.Context, authenticationToken string, linkedNotebook *LinkedNotebook) (r *SyncState, err error)

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.

@throws EDAMUserException <ul>

<li>DATA_REQUIRED "LinkedNotebook.username" - The username field must be
    populated with the current username of the owner of the notebook for which
    you are obtaining sync state.
</li>

</ul>

@throws EDAMNotFoundException <ul>

<li>"LinkedNotebook.username" - If the LinkedNotebook.username field does not
    correspond to a current user on the service.
</li>

</ul>

@throws SystemException <ul>

<li>SHARD_UNAVAILABLE - If the provided LinkedNotebook.username corresponds to a
    user whose account is on a shard other than that on which this method was
    invoked.
</li>

</ul>

Parameters:

  • AuthenticationToken
  • LinkedNotebook

func (*NoteStoreClient) GetNote

func (p *NoteStoreClient) GetNote(ctx context.Context, authenticationToken string, guid GUID, withContent bool, withResourcesData bool, withResourcesRecognition bool, withResourcesAlternateData bool) (r *Note, err error)

DEPRECATED. See getNoteWithResultSpec.

This function is equivalent to getNoteWithResultSpec, with each of the boolean parameters mapping to the equivalent field of a NoteResultSpec. The Note.sharedNotes field is never populated on the returned note. To get a note with its shares, use getNoteWithResultSpec.

Parameters:

  • AuthenticationToken
  • GUID
  • WithContent
  • WithResourcesData
  • WithResourcesRecognition
  • WithResourcesAlternateData

func (*NoteStoreClient) GetNoteApplicationData

func (p *NoteStoreClient) GetNoteApplicationData(ctx context.Context, authenticationToken string, guid GUID) (r *LazyMap, err error)

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

func (*NoteStoreClient) GetNoteApplicationDataEntry

func (p *NoteStoreClient) GetNoteApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string) (r string, err error)

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

func (*NoteStoreClient) GetNoteContent

func (p *NoteStoreClient) GetNoteContent(ctx context.Context, authenticationToken string, guid GUID) (r string, err error)

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

func (*NoteStoreClient) GetNoteSearchText

func (p *NoteStoreClient) GetNoteSearchText(ctx context.Context, authenticationToken string, guid GUID, noteOnly bool, tokenizeForIndexing bool) (r string, err error)

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

func (*NoteStoreClient) GetNoteTagNames

func (p *NoteStoreClient) GetNoteTagNames(ctx context.Context, authenticationToken string, guid GUID) (r []string, err error)

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

func (*NoteStoreClient) GetNoteVersion

func (p *NoteStoreClient) GetNoteVersion(ctx context.Context, authenticationToken string, noteGuid GUID, updateSequenceNum int32, withResourcesData bool, withResourcesRecognition bool, withResourcesAlternateData bool) (r *Note, err error)

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> DATA_REQUIRED "Note.guid" - if GUID is null or empty string.
</li>
<li> BAD_DATA_FORMAT "Note.guid" - if GUID is not of correct length.
</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

func (*NoteStoreClient) GetNoteWithResultSpec

func (p *NoteStoreClient) GetNoteWithResultSpec(ctx context.Context, authenticationToken string, guid GUID, resultSpec *NoteResultSpec) (r *Note, err error)

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 content depends on whether it is explicitly requested in resultSpec parameter. 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 authenticationToken

An authentication token that grants the caller access to the requested note.

@param guid

The GUID of the note to be retrieved.

@param resultSpec

A structure specifying the fields of the note that the caller would like to get.

@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
  • ResultSpec

func (*NoteStoreClient) GetNotebook

func (p *NoteStoreClient) GetNotebook(ctx context.Context, authenticationToken string, guid GUID) (r *Notebook, err error)

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

func (*NoteStoreClient) GetNotebookShares

func (p *NoteStoreClient) GetNotebookShares(ctx context.Context, authenticationToken string, notebookGuid string) (r *ShareRelationships, err error)

Return the share relationships for the given notebook, including both the invitations and the memberships.

<i>Note:</i> Beta method! This method is currently intended for limited use by Evernote clients that have discussed using this routine with the platform team.

Parameters:

  • AuthenticationToken
  • NotebookGuid

func (*NoteStoreClient) GetPublicNotebook

func (p *NoteStoreClient) GetPublicNotebook(ctx context.Context, userId UserID, publicUri string) (r *Notebook, err error)

<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

func (*NoteStoreClient) GetResource

func (p *NoteStoreClient) GetResource(ctx context.Context, authenticationToken string, guid GUID, withData bool, withRecognition bool, withAttributes bool, withAlternateData bool) (r *Resource, err error)

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

func (*NoteStoreClient) GetResourceAlternateData

func (p *NoteStoreClient) GetResourceAlternateData(ctx context.Context, authenticationToken string, guid GUID) (r []byte, err error)

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

func (*NoteStoreClient) GetResourceApplicationData

func (p *NoteStoreClient) GetResourceApplicationData(ctx context.Context, authenticationToken string, guid GUID) (r *LazyMap, err error)

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

func (*NoteStoreClient) GetResourceApplicationDataEntry

func (p *NoteStoreClient) GetResourceApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string) (r string, err error)

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

func (*NoteStoreClient) GetResourceAttributes

func (p *NoteStoreClient) GetResourceAttributes(ctx context.Context, authenticationToken string, guid GUID) (r *ResourceAttributes, err error)

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

func (*NoteStoreClient) GetResourceByHash

func (p *NoteStoreClient) GetResourceByHash(ctx context.Context, authenticationToken string, noteGuid GUID, contentHash []byte, withData bool, withRecognition bool, withAlternateData bool) (r *Resource, err error)

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

func (*NoteStoreClient) GetResourceData

func (p *NoteStoreClient) GetResourceData(ctx context.Context, authenticationToken string, guid GUID) (r []byte, err error)

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

func (*NoteStoreClient) GetResourceRecognition

func (p *NoteStoreClient) GetResourceRecognition(ctx context.Context, authenticationToken string, guid GUID) (r []byte, err error)

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

func (*NoteStoreClient) GetResourceSearchText

func (p *NoteStoreClient) GetResourceSearchText(ctx context.Context, authenticationToken string, guid GUID) (r string, err error)

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

func (*NoteStoreClient) GetSearch

func (p *NoteStoreClient) GetSearch(ctx context.Context, authenticationToken string, guid GUID) (r *SavedSearch, err error)

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

func (*NoteStoreClient) GetSharedNotebookByAuth

func (p *NoteStoreClient) GetSharedNotebookByAuth(ctx context.Context, authenticationToken string) (r *SharedNotebook, err error)

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

func (*NoteStoreClient) GetSyncState

func (p *NoteStoreClient) GetSyncState(ctx context.Context, authenticationToken string) (r *SyncState, err error)

Asks the NoteStore to provide information about the status of the user account corresponding to the provided authentication token.

Parameters:

  • AuthenticationToken

func (*NoteStoreClient) GetTag

func (p *NoteStoreClient) GetTag(ctx context.Context, authenticationToken string, guid GUID) (r *Tag, err error)

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

func (*NoteStoreClient) ListAccessibleBusinessNotebooks

func (p *NoteStoreClient) ListAccessibleBusinessNotebooks(ctx context.Context, authenticationToken string) (r []*Notebook, err error)

Returns a list of all the notebooks in a business that the user has permission to access, regardless of whether the user has joined them. This includes notebooks that have been shared with the entire business as well as notebooks that have been shared directly with the user.

@param authenticationToken A business authentication token obtained by calling

UserStore.authenticateToBusiness.

@throws EDAMUserException <ul>

<li> INVALID_AUTH "authenticationToken" - if the authentication token is not a
  business auth token.</li>

</ul>

Parameters:

  • AuthenticationToken

func (*NoteStoreClient) ListLinkedNotebooks

func (p *NoteStoreClient) ListLinkedNotebooks(ctx context.Context, authenticationToken string) (r []*LinkedNotebook, err error)

Returns a list of linked notebooks

Parameters:

  • AuthenticationToken

func (*NoteStoreClient) ListNoteVersions

func (p *NoteStoreClient) ListNoteVersions(ctx context.Context, authenticationToken string, noteGuid GUID) (r []*NoteVersionId, err error)

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. This call is only available for notes in Premium accounts. (I.e. access to past versions of Notes is a Premium-only feature.)

@throws EDAMUserException <ul>

<li> DATA_REQUIRED "Note.guid" - if GUID is null or empty string.
</li>
<li> BAD_DATA_FORMAT "Note.guid" - if GUID is not of correct length.
</li>

</ul>

@throws EDAMNotFoundException <ul>

<li> "Note.guid" - not found, by GUID.
</li>

</ul>

Parameters:

  • AuthenticationToken
  • NoteGuid

func (*NoteStoreClient) ListNotebooks

func (p *NoteStoreClient) ListNotebooks(ctx context.Context, authenticationToken string) (r []*Notebook, err error)

Returns a list of all of the notebooks in the account.

Parameters:

  • AuthenticationToken

func (*NoteStoreClient) ListSearches

func (p *NoteStoreClient) ListSearches(ctx context.Context, authenticationToken string) (r []*SavedSearch, err error)

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

func (*NoteStoreClient) ListSharedNotebooks

func (p *NoteStoreClient) ListSharedNotebooks(ctx context.Context, authenticationToken string) (r []*SharedNotebook, err error)

Lists the collection of shared notebooks for all notebooks in the users account.

@return

The list of all SharedNotebooks for the user

Parameters:

  • AuthenticationToken

func (*NoteStoreClient) ListTags

func (p *NoteStoreClient) ListTags(ctx context.Context, authenticationToken string) (r []*Tag, err error)

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

func (*NoteStoreClient) ListTagsByNotebook

func (p *NoteStoreClient) ListTagsByNotebook(ctx context.Context, authenticationToken string, notebookGuid GUID) (r []*Tag, err error)

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

func (*NoteStoreClient) ManageNotebookShares

func (p *NoteStoreClient) ManageNotebookShares(ctx context.Context, authenticationToken string, parameters *ManageNotebookSharesParameters) (r *ManageNotebookSharesResult_, err error)

Manage invitations and memberships associated with a given notebook.

<i>Note:</i> Beta method! This method is currently intended for limited use by Evernote clients that have discussed using this routine with the platform team.

@param parameters A structure containing all parameters for the updates.

See the structure documentation for details.

@throws EDAMUserException <ul>

<li>EDAMErrorCode.LIMIT_REACHED "SharedNotebook" - Trying to share a
 notebook while the notebook already has EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX
 shares.</li>

</ul>

Parameters:

  • AuthenticationToken
  • Parameters

func (*NoteStoreClient) SetNoteApplicationDataEntry

func (p *NoteStoreClient) SetNoteApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string, value string) (r int32, err error)

Update, or create, an entry in the applicationData map for the note identified by guid.

Parameters:

  • AuthenticationToken
  • GUID
  • Key
  • Value

func (*NoteStoreClient) SetNotebookRecipientSettings

func (p *NoteStoreClient) SetNotebookRecipientSettings(ctx context.Context, authenticationToken string, notebookGuid string, recipientSettings *NotebookRecipientSettings) (r *Notebook, err error)

Set values for the recipient settings associated with a notebook share. Only the recipient of the share can update their recipient settings.

If you do <i>not</i> wish to, or cannot, change one of the recipient settings fields, you must leave that field unset in recipientSettings. This method will skip that field for updates and attempt to leave the existing value as it is.

If recipientSettings.inMyList is false, both reminderNotifyInApp and reminderNotifyEmail will be either left as null or converted to false (if currently true).

To unset a notebook's stack, pass in the empty string for the stack field.

@param authenticationToken The owner authentication token for the recipient of the share.

@return The updated Notebook with the new recipient settings. Note that some of the recipient settings may differ from what was requested. Clients should update their state based on this return value.

@throws EDAMNotFoundException <ul>

<li>Notebook.guid - Thrown if the service does not have a notebook record with the
    notebookGuid on the given shard.</li>
<li>Publishing.publishState - Thrown if the business notebook is not shared with the
    user and is also not published to their business.</li>

</ul>

@throws EDAMUserException <ul>

<li>PEMISSION_DENIED "authenticationToken" - If the owner of the given token is not
    allowed to set recipient settings on the specified notebook.</li>
<li>DATA_CONFLICT "recipientSettings.reminderNotifyEmail" - Setting reminderNotifyEmail
    is allowed only for notebooks which belong to the same business as the user.</li>
<li>DATA_CONFLICT "recipientSettings.inMyList" - If the request is setting inMyList
    to false and any of reminder* settings to true.</li>

</ul>

Parameters:

  • AuthenticationToken
  • NotebookGuid
  • RecipientSettings

func (*NoteStoreClient) SetResourceApplicationDataEntry

func (p *NoteStoreClient) SetResourceApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string, value string) (r int32, err error)

Update, or create, an entry in the applicationData map for the Resource identified by guid.

Parameters:

  • AuthenticationToken
  • GUID
  • Key
  • Value

func (*NoteStoreClient) ShareNote

func (p *NoteStoreClient) ShareNote(ctx context.Context, authenticationToken string, guid GUID) (r string, err error)

If this note is not already shared publicly (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

func (*NoteStoreClient) ShareNotebook

func (p *NoteStoreClient) ShareNotebook(ctx context.Context, authenticationToken string, sharedNotebook *SharedNotebook, message string) (r *SharedNotebook, err error)

* @Deprecated for first-party clients. See createOrUpdateNotebookShares. * * Share a notebook with an email address, and optionally to a specific * recipient. If an existing SharedNotebook associated with * sharedNotebook.notebookGuid is found by recipientUsername or email, then * the values of sharedNotebook will be used to update the existing record, * else a new record will be created. * * If recipientUsername is set and there is already a SharedNotebook * for that Notebook with that recipientUsername and the privileges on the * existing notebook are lower, than on this one, this will update the * privileges and sharerUserId. If there isn't an existing SharedNotebook for * recipientUsername, this will create and return a shared notebook for that * email and recipientUsername. If recipientUsername is not set and there * already is a SharedNotebook for a Notebook for that email address and the * privileges on the existing SharedNotebook are lower than on this one, this * will update the privileges and sharerUserId, and return the updated * SharedNotebook. Otherwise, this will create and return a SharedNotebook for * the email address. * * If the authenticationToken is a Business auth token, recipientUsername is * set and the recipient is in the same business as the business auth token, * this method will also auto-join the business user to the SharedNotebook - * that is it will set serviceJoined on the SharedNotebook and create a * LinkedNotebook on the recipient's account pointing to the SharedNotebook. * The LinkedNotebook creation happens out-of-band, so there will be a delay * on the order of half a minute between the SharedNotebook and LinkedNotebook * creation. * * Also handles sending an email to the email addresses: if a SharedNotebook * is being created, this will send the shared notebook invite email, and * if a SharedNotebook already exists, it will send the shared notebook * reminder email. Both these emails contain a link to join the notebook. * If the notebook is being auto-joined, it sends an email with that * information to the recipient. * * @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 * 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. * * @param message * The sharer-defined message to put in the email sent out. * * @return * The fully populated SharedNotebook object including the server assigned * globalId 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>DATA_REQUIRED "SharedNotebook.privilege" - if the
  • SharedNotebook.privilegeLevel was not set.</li>
  • <li>BAD_DATA_FORMAT "SharedNotebook.requireLogin" - if requireLogin was
  • set. requireLogin is deprecated.</li>
  • <li>BAD_DATA_FORMAT "SharedNotebook.privilegeLevel" - if the
  • SharedNotebook.privilegeLevel field was unset or set to GROUP.</li>
  • <li>PERMISSION_DENIED "user" - if the email address on the authenticationToken's owner's account is not confirmed.</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>
  • <li>EDAMErrorCode.LIMIT_REACHED "SharedNotebook" - The notebook already has
  • EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX shares.</li>
  • </ul>
  • @throws EDAMNotFoundException <ul>
  • <li>Notebook.guid - if the notebookGuid is not a valid GUID for the user.
  • </li>
  • </ul>

Parameters:

  • AuthenticationToken
  • SharedNotebook
  • Message

func (*NoteStoreClient) StopSharingNote

func (p *NoteStoreClient) StopSharingNote(ctx context.Context, authenticationToken string, guid GUID) (err error)

If this note is shared publicly 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.

This function does not remove invididual shares for the note. To remove individual shares, see stopSharingNoteWithRecipients.

@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

func (*NoteStoreClient) UnsetNoteApplicationDataEntry

func (p *NoteStoreClient) UnsetNoteApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string) (r int32, err error)

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

func (*NoteStoreClient) UnsetResourceApplicationDataEntry

func (p *NoteStoreClient) UnsetResourceApplicationDataEntry(ctx context.Context, authenticationToken string, guid GUID, key string) (r int32, err error)

Remove an entry identified by 'key' from the applicationData map for the Resource identified by 'guid'.

Parameters:

  • AuthenticationToken
  • GUID
  • Key

func (*NoteStoreClient) UntagAll

func (p *NoteStoreClient) UntagAll(ctx context.Context, authenticationToken string, guid GUID) (err error)

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

func (*NoteStoreClient) UpdateLinkedNotebook

func (p *NoteStoreClient) UpdateLinkedNotebook(ctx context.Context, authenticationToken string, linkedNotebook *LinkedNotebook) (r int32, err error)

@param linkedNotebook

Updates the name of a linked notebook.

@return

The Update Sequence Number for this change within the account.

@throws EDAMUserException <ul>

<li> DATA_REQUIRED "LinkedNotebook.shareName" - missing shareName
</li>
<li> BAD_DATA_FORMAT "LinkedNotebook.shareName" - invalid shareName length or pattern
</li>
<li> BAD_DATA_FORMAT "LinkedNotebook.stack" - invalid stack name length or pattern
</li>

</ul>

Parameters:

  • AuthenticationToken
  • LinkedNotebook

func (*NoteStoreClient) UpdateNote

func (p *NoteStoreClient) UpdateNote(ctx context.Context, authenticationToken string, note *Note) (r *Note, err error)

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 Note.sharedNotes field will not be set.
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.

@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.notebookGuid" - user doesn't own destination
<li> PERMISSION_DENIED "Note.tags" - user doesn't have permission to
  modify the note's tags. note.tags must be unset.
</li>
<li> PERMISSION_DENIED "Note.attributes" - user doesn't have permission
  to modify the note's attributes. note.attributes must be unset.
</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

func (*NoteStoreClient) UpdateNoteIfUsnMatches

func (p *NoteStoreClient) UpdateNoteIfUsnMatches(ctx context.Context, authenticationToken string, note *Note) (r *UpdateNoteIfUsnMatchesResult_, err error)

Perform the same operation as updateNote() would provided that the update sequence number on the parameter Note object matches the current update sequence number that the service has for the note. If they do <i>not</i> match, then <i>no</i> update is performed and the return value will have the current server state in the note field and updated will be false. If the update sequence numbers between the client and server do match, then the note will be updated and the note field of the return value will be returned as it would be for the updateNote method. This method allows you to check for an update to the note on the service, by another client instance, from when you obtained the note state as a baseline for your edits and the time when you wish to save your edits. If your client can merge the conflict, you can avoid overwriting changes that were saved to the service by the other client.

See the updateNote method for information on the exceptions and parameters for this method. The only difference is that you must have an update sequence number defined on the note parameter (equal to the USN of the note as synched to the client), and the following additional exceptions might be thrown.

@throws EDAMUserException <ul>

<li>DATA_REQUIRED "Note.updateSequenceNum" - If the update sequence number was
    not provided.  This includes a value that is set as 0.</li>
<li>BAD_DATA_FORMAT "Note.updateSequenceNum" - If the note has an update
    sequence number that is larger than the current server value, which should
    not happen if your client is working correctly.</li>

</ul>

Parameters:

  • AuthenticationToken
  • Note

func (*NoteStoreClient) UpdateNotebook

func (p *NoteStoreClient) UpdateNotebook(ctx context.Context, authenticationToken string, notebook *Notebook) (r int32, err error)

Submits notebook changes to the service. The provided data must include the notebook's guid field for identification. <p /> The Notebook will be moved to the specified Workspace, if a non empty Notebook.workspaceGuid is provided. If an empty Notebook.workspaceGuid is set and the Notebook is in a Workspace, then it will be removed from the Workspace and a full access SharedNotebook record will be ensured for the caller. If the caller does not already have a full access share, either the privilege of an existing share will be upgraded or a new share will be created. It is illegal to set a Notebook.workspaceGuid on a Workspace backing Notebook.

@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>
<li> DATA_REQUIRED "Notebook" - notebook parameter was null</li>
<li> PERMISSION_DENIED "Notebook.defaultNotebook" - if the 'defaultNotebook' field
     is set to 'true' for a Notebook that is not owned by the user identified by
     the passed authenticationToken.</li>

</ul>

@throws EDAMNotFoundException <ul>

<li> "Notebook.guid" - not found, by GUID</li>
<li> "Workspace.guid" - if a non empty workspaceGuid set and no Workspace exists
     for the GUID
</li>

</ul>

Parameters:

  • AuthenticationToken
  • Notebook

func (*NoteStoreClient) UpdateResource

func (p *NoteStoreClient) UpdateResource(ctx context.Context, authenticationToken string, resource *Resource) (r int32, err error)

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

func (*NoteStoreClient) UpdateSearch

func (p *NoteStoreClient) UpdateSearch(ctx context.Context, authenticationToken string, search *SavedSearch) (r int32, err error)

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

func (*NoteStoreClient) UpdateSharedNotebook

func (p *NoteStoreClient) UpdateSharedNotebook(ctx context.Context, authenticationToken string, sharedNotebook *SharedNotebook) (r int32, err error)

@Deprecated See createOrUpdateNotebookShares and manageNotebookShares.

Parameters:

  • AuthenticationToken
  • SharedNotebook

func (*NoteStoreClient) UpdateTag

func (p *NoteStoreClient) UpdateTag(ctx context.Context, authenticationToken string, tag *Tag) (r int32, err error)

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

type NoteStoreCopyNoteArgs

type NoteStoreCopyNoteArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	NoteGuid            GUID   `thrift:"noteGuid,2" db:"noteGuid" json:"noteGuid"`
	ToNotebookGuid      GUID   `thrift:"toNotebookGuid,3" db:"toNotebookGuid" json:"toNotebookGuid"`
}

Attributes:

  • AuthenticationToken
  • NoteGuid
  • ToNotebookGuid

func NewNoteStoreCopyNoteArgs

func NewNoteStoreCopyNoteArgs() *NoteStoreCopyNoteArgs

func (*NoteStoreCopyNoteArgs) GetAuthenticationToken

func (p *NoteStoreCopyNoteArgs) GetAuthenticationToken() string

func (*NoteStoreCopyNoteArgs) GetNoteGuid

func (p *NoteStoreCopyNoteArgs) GetNoteGuid() GUID

func (*NoteStoreCopyNoteArgs) GetToNotebookGuid

func (p *NoteStoreCopyNoteArgs) GetToNotebookGuid() GUID

func (*NoteStoreCopyNoteArgs) Read

func (*NoteStoreCopyNoteArgs) ReadField1

func (p *NoteStoreCopyNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreCopyNoteArgs) ReadField2

func (p *NoteStoreCopyNoteArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreCopyNoteArgs) ReadField3

func (p *NoteStoreCopyNoteArgs) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreCopyNoteArgs) String

func (p *NoteStoreCopyNoteArgs) String() string

func (*NoteStoreCopyNoteArgs) Write

func (p *NoteStoreCopyNoteArgs) Write(oprot thrift.TProtocol) error

type NoteStoreCopyNoteResult

type NoteStoreCopyNoteResult struct {
	Success           *Note                  `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreCopyNoteResult

func NewNoteStoreCopyNoteResult() *NoteStoreCopyNoteResult

func (*NoteStoreCopyNoteResult) GetNotFoundException

func (p *NoteStoreCopyNoteResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreCopyNoteResult) GetSuccess

func (p *NoteStoreCopyNoteResult) GetSuccess() *Note

func (*NoteStoreCopyNoteResult) GetSystemException

func (p *NoteStoreCopyNoteResult) GetSystemException() *EDAMSystemException

func (*NoteStoreCopyNoteResult) GetUserException

func (p *NoteStoreCopyNoteResult) GetUserException() *EDAMUserException

func (*NoteStoreCopyNoteResult) IsSetNotFoundException

func (p *NoteStoreCopyNoteResult) IsSetNotFoundException() bool

func (*NoteStoreCopyNoteResult) IsSetSuccess

func (p *NoteStoreCopyNoteResult) IsSetSuccess() bool

func (*NoteStoreCopyNoteResult) IsSetSystemException

func (p *NoteStoreCopyNoteResult) IsSetSystemException() bool

func (*NoteStoreCopyNoteResult) IsSetUserException

func (p *NoteStoreCopyNoteResult) IsSetUserException() bool

func (*NoteStoreCopyNoteResult) Read

func (*NoteStoreCopyNoteResult) ReadField0

func (p *NoteStoreCopyNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreCopyNoteResult) ReadField1

func (p *NoteStoreCopyNoteResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreCopyNoteResult) ReadField2

func (p *NoteStoreCopyNoteResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreCopyNoteResult) ReadField3

func (p *NoteStoreCopyNoteResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreCopyNoteResult) String

func (p *NoteStoreCopyNoteResult) String() string

func (*NoteStoreCopyNoteResult) Write

type NoteStoreCreateLinkedNotebookArgs

type NoteStoreCreateLinkedNotebookArgs struct {
	AuthenticationToken string          `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	LinkedNotebook      *LinkedNotebook `thrift:"linkedNotebook,2" db:"linkedNotebook" json:"linkedNotebook"`
}

Attributes:

  • AuthenticationToken
  • LinkedNotebook

func NewNoteStoreCreateLinkedNotebookArgs

func NewNoteStoreCreateLinkedNotebookArgs() *NoteStoreCreateLinkedNotebookArgs

func (*NoteStoreCreateLinkedNotebookArgs) GetAuthenticationToken

func (p *NoteStoreCreateLinkedNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreCreateLinkedNotebookArgs) GetLinkedNotebook

func (p *NoteStoreCreateLinkedNotebookArgs) GetLinkedNotebook() *LinkedNotebook

func (*NoteStoreCreateLinkedNotebookArgs) IsSetLinkedNotebook

func (p *NoteStoreCreateLinkedNotebookArgs) IsSetLinkedNotebook() bool

func (*NoteStoreCreateLinkedNotebookArgs) Read

func (*NoteStoreCreateLinkedNotebookArgs) ReadField1

func (*NoteStoreCreateLinkedNotebookArgs) ReadField2

func (*NoteStoreCreateLinkedNotebookArgs) String

func (*NoteStoreCreateLinkedNotebookArgs) Write

type NoteStoreCreateLinkedNotebookResult

type NoteStoreCreateLinkedNotebookResult struct {
	Success           *LinkedNotebook        `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreCreateLinkedNotebookResult

func NewNoteStoreCreateLinkedNotebookResult() *NoteStoreCreateLinkedNotebookResult

func (*NoteStoreCreateLinkedNotebookResult) GetNotFoundException

func (*NoteStoreCreateLinkedNotebookResult) GetSuccess

func (*NoteStoreCreateLinkedNotebookResult) GetSystemException

func (*NoteStoreCreateLinkedNotebookResult) GetUserException

func (*NoteStoreCreateLinkedNotebookResult) IsSetNotFoundException

func (p *NoteStoreCreateLinkedNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreCreateLinkedNotebookResult) IsSetSuccess

func (p *NoteStoreCreateLinkedNotebookResult) IsSetSuccess() bool

func (*NoteStoreCreateLinkedNotebookResult) IsSetSystemException

func (p *NoteStoreCreateLinkedNotebookResult) IsSetSystemException() bool

func (*NoteStoreCreateLinkedNotebookResult) IsSetUserException

func (p *NoteStoreCreateLinkedNotebookResult) IsSetUserException() bool

func (*NoteStoreCreateLinkedNotebookResult) Read

func (*NoteStoreCreateLinkedNotebookResult) ReadField0

func (*NoteStoreCreateLinkedNotebookResult) ReadField1

func (*NoteStoreCreateLinkedNotebookResult) ReadField2

func (*NoteStoreCreateLinkedNotebookResult) ReadField3

func (*NoteStoreCreateLinkedNotebookResult) String

func (*NoteStoreCreateLinkedNotebookResult) Write

type NoteStoreCreateNoteArgs

type NoteStoreCreateNoteArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Note                *Note  `thrift:"note,2" db:"note" json:"note"`
}

Attributes:

  • AuthenticationToken
  • Note

func NewNoteStoreCreateNoteArgs

func NewNoteStoreCreateNoteArgs() *NoteStoreCreateNoteArgs

func (*NoteStoreCreateNoteArgs) GetAuthenticationToken

func (p *NoteStoreCreateNoteArgs) GetAuthenticationToken() string

func (*NoteStoreCreateNoteArgs) GetNote

func (p *NoteStoreCreateNoteArgs) GetNote() *Note

func (*NoteStoreCreateNoteArgs) IsSetNote

func (p *NoteStoreCreateNoteArgs) IsSetNote() bool

func (*NoteStoreCreateNoteArgs) Read

func (*NoteStoreCreateNoteArgs) ReadField1

func (p *NoteStoreCreateNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreCreateNoteArgs) ReadField2

func (p *NoteStoreCreateNoteArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreCreateNoteArgs) String

func (p *NoteStoreCreateNoteArgs) String() string

func (*NoteStoreCreateNoteArgs) Write

type NoteStoreCreateNoteResult

type NoteStoreCreateNoteResult struct {
	Success           *Note                  `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreCreateNoteResult

func NewNoteStoreCreateNoteResult() *NoteStoreCreateNoteResult

func (*NoteStoreCreateNoteResult) GetNotFoundException

func (p *NoteStoreCreateNoteResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreCreateNoteResult) GetSuccess

func (p *NoteStoreCreateNoteResult) GetSuccess() *Note

func (*NoteStoreCreateNoteResult) GetSystemException

func (p *NoteStoreCreateNoteResult) GetSystemException() *EDAMSystemException

func (*NoteStoreCreateNoteResult) GetUserException

func (p *NoteStoreCreateNoteResult) GetUserException() *EDAMUserException

func (*NoteStoreCreateNoteResult) IsSetNotFoundException

func (p *NoteStoreCreateNoteResult) IsSetNotFoundException() bool

func (*NoteStoreCreateNoteResult) IsSetSuccess

func (p *NoteStoreCreateNoteResult) IsSetSuccess() bool

func (*NoteStoreCreateNoteResult) IsSetSystemException

func (p *NoteStoreCreateNoteResult) IsSetSystemException() bool

func (*NoteStoreCreateNoteResult) IsSetUserException

func (p *NoteStoreCreateNoteResult) IsSetUserException() bool

func (*NoteStoreCreateNoteResult) Read

func (*NoteStoreCreateNoteResult) ReadField0

func (p *NoteStoreCreateNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreCreateNoteResult) ReadField1

func (p *NoteStoreCreateNoteResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreCreateNoteResult) ReadField2

func (p *NoteStoreCreateNoteResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreCreateNoteResult) ReadField3

func (p *NoteStoreCreateNoteResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreCreateNoteResult) String

func (p *NoteStoreCreateNoteResult) String() string

func (*NoteStoreCreateNoteResult) Write

type NoteStoreCreateNotebookArgs

type NoteStoreCreateNotebookArgs struct {
	AuthenticationToken string    `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Notebook            *Notebook `thrift:"notebook,2" db:"notebook" json:"notebook"`
}

Attributes:

  • AuthenticationToken
  • Notebook

func NewNoteStoreCreateNotebookArgs

func NewNoteStoreCreateNotebookArgs() *NoteStoreCreateNotebookArgs

func (*NoteStoreCreateNotebookArgs) GetAuthenticationToken

func (p *NoteStoreCreateNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreCreateNotebookArgs) GetNotebook

func (p *NoteStoreCreateNotebookArgs) GetNotebook() *Notebook

func (*NoteStoreCreateNotebookArgs) IsSetNotebook

func (p *NoteStoreCreateNotebookArgs) IsSetNotebook() bool

func (*NoteStoreCreateNotebookArgs) Read

func (*NoteStoreCreateNotebookArgs) ReadField1

func (p *NoteStoreCreateNotebookArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreCreateNotebookArgs) ReadField2

func (p *NoteStoreCreateNotebookArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreCreateNotebookArgs) String

func (p *NoteStoreCreateNotebookArgs) String() string

func (*NoteStoreCreateNotebookArgs) Write

type NoteStoreCreateNotebookResult

type NoteStoreCreateNotebookResult struct {
	Success           *Notebook              `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreCreateNotebookResult

func NewNoteStoreCreateNotebookResult() *NoteStoreCreateNotebookResult

func (*NoteStoreCreateNotebookResult) GetNotFoundException

func (p *NoteStoreCreateNotebookResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreCreateNotebookResult) GetSuccess

func (p *NoteStoreCreateNotebookResult) GetSuccess() *Notebook

func (*NoteStoreCreateNotebookResult) GetSystemException

func (p *NoteStoreCreateNotebookResult) GetSystemException() *EDAMSystemException

func (*NoteStoreCreateNotebookResult) GetUserException

func (p *NoteStoreCreateNotebookResult) GetUserException() *EDAMUserException

func (*NoteStoreCreateNotebookResult) IsSetNotFoundException

func (p *NoteStoreCreateNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreCreateNotebookResult) IsSetSuccess

func (p *NoteStoreCreateNotebookResult) IsSetSuccess() bool

func (*NoteStoreCreateNotebookResult) IsSetSystemException

func (p *NoteStoreCreateNotebookResult) IsSetSystemException() bool

func (*NoteStoreCreateNotebookResult) IsSetUserException

func (p *NoteStoreCreateNotebookResult) IsSetUserException() bool

func (*NoteStoreCreateNotebookResult) Read

func (*NoteStoreCreateNotebookResult) ReadField0

func (p *NoteStoreCreateNotebookResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreCreateNotebookResult) ReadField1

func (p *NoteStoreCreateNotebookResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreCreateNotebookResult) ReadField2

func (p *NoteStoreCreateNotebookResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreCreateNotebookResult) ReadField3

func (p *NoteStoreCreateNotebookResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreCreateNotebookResult) String

func (*NoteStoreCreateNotebookResult) Write

type NoteStoreCreateOrUpdateNotebookSharesArgs

type NoteStoreCreateOrUpdateNotebookSharesArgs struct {
	AuthenticationToken string                 `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	ShareTemplate       *NotebookShareTemplate `thrift:"shareTemplate,2" db:"shareTemplate" json:"shareTemplate"`
}

Attributes:

  • AuthenticationToken
  • ShareTemplate

func NewNoteStoreCreateOrUpdateNotebookSharesArgs

func NewNoteStoreCreateOrUpdateNotebookSharesArgs() *NoteStoreCreateOrUpdateNotebookSharesArgs

func (*NoteStoreCreateOrUpdateNotebookSharesArgs) GetAuthenticationToken

func (p *NoteStoreCreateOrUpdateNotebookSharesArgs) GetAuthenticationToken() string

func (*NoteStoreCreateOrUpdateNotebookSharesArgs) GetShareTemplate

func (*NoteStoreCreateOrUpdateNotebookSharesArgs) IsSetShareTemplate

func (p *NoteStoreCreateOrUpdateNotebookSharesArgs) IsSetShareTemplate() bool

func (*NoteStoreCreateOrUpdateNotebookSharesArgs) Read

func (*NoteStoreCreateOrUpdateNotebookSharesArgs) ReadField1

func (*NoteStoreCreateOrUpdateNotebookSharesArgs) ReadField2

func (*NoteStoreCreateOrUpdateNotebookSharesArgs) String

func (*NoteStoreCreateOrUpdateNotebookSharesArgs) Write

type NoteStoreCreateOrUpdateNotebookSharesResult

type NoteStoreCreateOrUpdateNotebookSharesResult struct {
	Success                  *CreateOrUpdateNotebookSharesResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException            *EDAMUserException                   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException        *EDAMNotFoundException               `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException          *EDAMSystemException                 `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
	InvalidContactsException *EDAMInvalidContactsException        `thrift:"invalidContactsException,4" db:"invalidContactsException" json:"invalidContactsException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException
  • InvalidContactsException

func NewNoteStoreCreateOrUpdateNotebookSharesResult

func NewNoteStoreCreateOrUpdateNotebookSharesResult() *NoteStoreCreateOrUpdateNotebookSharesResult

func (*NoteStoreCreateOrUpdateNotebookSharesResult) GetInvalidContactsException

func (*NoteStoreCreateOrUpdateNotebookSharesResult) GetNotFoundException

func (*NoteStoreCreateOrUpdateNotebookSharesResult) GetSuccess

func (*NoteStoreCreateOrUpdateNotebookSharesResult) GetSystemException

func (*NoteStoreCreateOrUpdateNotebookSharesResult) GetUserException

func (*NoteStoreCreateOrUpdateNotebookSharesResult) IsSetInvalidContactsException

func (p *NoteStoreCreateOrUpdateNotebookSharesResult) IsSetInvalidContactsException() bool

func (*NoteStoreCreateOrUpdateNotebookSharesResult) IsSetNotFoundException

func (p *NoteStoreCreateOrUpdateNotebookSharesResult) IsSetNotFoundException() bool

func (*NoteStoreCreateOrUpdateNotebookSharesResult) IsSetSuccess

func (*NoteStoreCreateOrUpdateNotebookSharesResult) IsSetSystemException

func (p *NoteStoreCreateOrUpdateNotebookSharesResult) IsSetSystemException() bool

func (*NoteStoreCreateOrUpdateNotebookSharesResult) IsSetUserException

func (p *NoteStoreCreateOrUpdateNotebookSharesResult) IsSetUserException() bool

func (*NoteStoreCreateOrUpdateNotebookSharesResult) Read

func (*NoteStoreCreateOrUpdateNotebookSharesResult) ReadField0

func (*NoteStoreCreateOrUpdateNotebookSharesResult) ReadField1

func (*NoteStoreCreateOrUpdateNotebookSharesResult) ReadField2

func (*NoteStoreCreateOrUpdateNotebookSharesResult) ReadField3

func (*NoteStoreCreateOrUpdateNotebookSharesResult) ReadField4

func (*NoteStoreCreateOrUpdateNotebookSharesResult) String

func (*NoteStoreCreateOrUpdateNotebookSharesResult) Write

type NoteStoreCreateSearchArgs

type NoteStoreCreateSearchArgs struct {
	AuthenticationToken string       `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Search              *SavedSearch `thrift:"search,2" db:"search" json:"search"`
}

Attributes:

  • AuthenticationToken
  • Search

func NewNoteStoreCreateSearchArgs

func NewNoteStoreCreateSearchArgs() *NoteStoreCreateSearchArgs

func (*NoteStoreCreateSearchArgs) GetAuthenticationToken

func (p *NoteStoreCreateSearchArgs) GetAuthenticationToken() string

func (*NoteStoreCreateSearchArgs) GetSearch

func (p *NoteStoreCreateSearchArgs) GetSearch() *SavedSearch

func (*NoteStoreCreateSearchArgs) IsSetSearch

func (p *NoteStoreCreateSearchArgs) IsSetSearch() bool

func (*NoteStoreCreateSearchArgs) Read

func (*NoteStoreCreateSearchArgs) ReadField1

func (p *NoteStoreCreateSearchArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreCreateSearchArgs) ReadField2

func (p *NoteStoreCreateSearchArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreCreateSearchArgs) String

func (p *NoteStoreCreateSearchArgs) String() string

func (*NoteStoreCreateSearchArgs) Write

type NoteStoreCreateSearchResult

type NoteStoreCreateSearchResult struct {
	Success         *SavedSearch         `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewNoteStoreCreateSearchResult

func NewNoteStoreCreateSearchResult() *NoteStoreCreateSearchResult

func (*NoteStoreCreateSearchResult) GetSuccess

func (p *NoteStoreCreateSearchResult) GetSuccess() *SavedSearch

func (*NoteStoreCreateSearchResult) GetSystemException

func (p *NoteStoreCreateSearchResult) GetSystemException() *EDAMSystemException

func (*NoteStoreCreateSearchResult) GetUserException

func (p *NoteStoreCreateSearchResult) GetUserException() *EDAMUserException

func (*NoteStoreCreateSearchResult) IsSetSuccess

func (p *NoteStoreCreateSearchResult) IsSetSuccess() bool

func (*NoteStoreCreateSearchResult) IsSetSystemException

func (p *NoteStoreCreateSearchResult) IsSetSystemException() bool

func (*NoteStoreCreateSearchResult) IsSetUserException

func (p *NoteStoreCreateSearchResult) IsSetUserException() bool

func (*NoteStoreCreateSearchResult) Read

func (*NoteStoreCreateSearchResult) ReadField0

func (p *NoteStoreCreateSearchResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreCreateSearchResult) ReadField1

func (p *NoteStoreCreateSearchResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreCreateSearchResult) ReadField2

func (p *NoteStoreCreateSearchResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreCreateSearchResult) String

func (p *NoteStoreCreateSearchResult) String() string

func (*NoteStoreCreateSearchResult) Write

type NoteStoreCreateTagArgs

type NoteStoreCreateTagArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Tag                 *Tag   `thrift:"tag,2" db:"tag" json:"tag"`
}

Attributes:

  • AuthenticationToken
  • Tag

func NewNoteStoreCreateTagArgs

func NewNoteStoreCreateTagArgs() *NoteStoreCreateTagArgs

func (*NoteStoreCreateTagArgs) GetAuthenticationToken

func (p *NoteStoreCreateTagArgs) GetAuthenticationToken() string

func (*NoteStoreCreateTagArgs) GetTag

func (p *NoteStoreCreateTagArgs) GetTag() *Tag

func (*NoteStoreCreateTagArgs) IsSetTag

func (p *NoteStoreCreateTagArgs) IsSetTag() bool

func (*NoteStoreCreateTagArgs) Read

func (*NoteStoreCreateTagArgs) ReadField1

func (p *NoteStoreCreateTagArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreCreateTagArgs) ReadField2

func (p *NoteStoreCreateTagArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreCreateTagArgs) String

func (p *NoteStoreCreateTagArgs) String() string

func (*NoteStoreCreateTagArgs) Write

func (p *NoteStoreCreateTagArgs) Write(oprot thrift.TProtocol) error

type NoteStoreCreateTagResult

type NoteStoreCreateTagResult struct {
	Success           *Tag                   `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreCreateTagResult

func NewNoteStoreCreateTagResult() *NoteStoreCreateTagResult

func (*NoteStoreCreateTagResult) GetNotFoundException

func (p *NoteStoreCreateTagResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreCreateTagResult) GetSuccess

func (p *NoteStoreCreateTagResult) GetSuccess() *Tag

func (*NoteStoreCreateTagResult) GetSystemException

func (p *NoteStoreCreateTagResult) GetSystemException() *EDAMSystemException

func (*NoteStoreCreateTagResult) GetUserException

func (p *NoteStoreCreateTagResult) GetUserException() *EDAMUserException

func (*NoteStoreCreateTagResult) IsSetNotFoundException

func (p *NoteStoreCreateTagResult) IsSetNotFoundException() bool

func (*NoteStoreCreateTagResult) IsSetSuccess

func (p *NoteStoreCreateTagResult) IsSetSuccess() bool

func (*NoteStoreCreateTagResult) IsSetSystemException

func (p *NoteStoreCreateTagResult) IsSetSystemException() bool

func (*NoteStoreCreateTagResult) IsSetUserException

func (p *NoteStoreCreateTagResult) IsSetUserException() bool

func (*NoteStoreCreateTagResult) Read

func (*NoteStoreCreateTagResult) ReadField0

func (p *NoteStoreCreateTagResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreCreateTagResult) ReadField1

func (p *NoteStoreCreateTagResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreCreateTagResult) ReadField2

func (p *NoteStoreCreateTagResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreCreateTagResult) ReadField3

func (p *NoteStoreCreateTagResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreCreateTagResult) String

func (p *NoteStoreCreateTagResult) String() string

func (*NoteStoreCreateTagResult) Write

type NoteStoreDeleteNoteArgs

type NoteStoreDeleteNoteArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreDeleteNoteArgs

func NewNoteStoreDeleteNoteArgs() *NoteStoreDeleteNoteArgs

func (*NoteStoreDeleteNoteArgs) GetAuthenticationToken

func (p *NoteStoreDeleteNoteArgs) GetAuthenticationToken() string

func (*NoteStoreDeleteNoteArgs) GetGUID

func (p *NoteStoreDeleteNoteArgs) GetGUID() GUID

func (*NoteStoreDeleteNoteArgs) Read

func (*NoteStoreDeleteNoteArgs) ReadField1

func (p *NoteStoreDeleteNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreDeleteNoteArgs) ReadField2

func (p *NoteStoreDeleteNoteArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreDeleteNoteArgs) String

func (p *NoteStoreDeleteNoteArgs) String() string

func (*NoteStoreDeleteNoteArgs) Write

type NoteStoreDeleteNoteResult

type NoteStoreDeleteNoteResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreDeleteNoteResult

func NewNoteStoreDeleteNoteResult() *NoteStoreDeleteNoteResult

func (*NoteStoreDeleteNoteResult) GetNotFoundException

func (p *NoteStoreDeleteNoteResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreDeleteNoteResult) GetSuccess

func (p *NoteStoreDeleteNoteResult) GetSuccess() int32

func (*NoteStoreDeleteNoteResult) GetSystemException

func (p *NoteStoreDeleteNoteResult) GetSystemException() *EDAMSystemException

func (*NoteStoreDeleteNoteResult) GetUserException

func (p *NoteStoreDeleteNoteResult) GetUserException() *EDAMUserException

func (*NoteStoreDeleteNoteResult) IsSetNotFoundException

func (p *NoteStoreDeleteNoteResult) IsSetNotFoundException() bool

func (*NoteStoreDeleteNoteResult) IsSetSuccess

func (p *NoteStoreDeleteNoteResult) IsSetSuccess() bool

func (*NoteStoreDeleteNoteResult) IsSetSystemException

func (p *NoteStoreDeleteNoteResult) IsSetSystemException() bool

func (*NoteStoreDeleteNoteResult) IsSetUserException

func (p *NoteStoreDeleteNoteResult) IsSetUserException() bool

func (*NoteStoreDeleteNoteResult) Read

func (*NoteStoreDeleteNoteResult) ReadField0

func (p *NoteStoreDeleteNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreDeleteNoteResult) ReadField1

func (p *NoteStoreDeleteNoteResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreDeleteNoteResult) ReadField2

func (p *NoteStoreDeleteNoteResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreDeleteNoteResult) ReadField3

func (p *NoteStoreDeleteNoteResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreDeleteNoteResult) String

func (p *NoteStoreDeleteNoteResult) String() string

func (*NoteStoreDeleteNoteResult) Write

type NoteStoreEmailNoteArgs

type NoteStoreEmailNoteArgs struct {
	AuthenticationToken string               `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Parameters          *NoteEmailParameters `thrift:"parameters,2" db:"parameters" json:"parameters"`
}

Attributes:

  • AuthenticationToken
  • Parameters

func NewNoteStoreEmailNoteArgs

func NewNoteStoreEmailNoteArgs() *NoteStoreEmailNoteArgs

func (*NoteStoreEmailNoteArgs) GetAuthenticationToken

func (p *NoteStoreEmailNoteArgs) GetAuthenticationToken() string

func (*NoteStoreEmailNoteArgs) GetParameters

func (p *NoteStoreEmailNoteArgs) GetParameters() *NoteEmailParameters

func (*NoteStoreEmailNoteArgs) IsSetParameters

func (p *NoteStoreEmailNoteArgs) IsSetParameters() bool

func (*NoteStoreEmailNoteArgs) Read

func (*NoteStoreEmailNoteArgs) ReadField1

func (p *NoteStoreEmailNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreEmailNoteArgs) ReadField2

func (p *NoteStoreEmailNoteArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreEmailNoteArgs) String

func (p *NoteStoreEmailNoteArgs) String() string

func (*NoteStoreEmailNoteArgs) Write

func (p *NoteStoreEmailNoteArgs) Write(oprot thrift.TProtocol) error

type NoteStoreEmailNoteResult

type NoteStoreEmailNoteResult struct {
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreEmailNoteResult

func NewNoteStoreEmailNoteResult() *NoteStoreEmailNoteResult

func (*NoteStoreEmailNoteResult) GetNotFoundException

func (p *NoteStoreEmailNoteResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreEmailNoteResult) GetSystemException

func (p *NoteStoreEmailNoteResult) GetSystemException() *EDAMSystemException

func (*NoteStoreEmailNoteResult) GetUserException

func (p *NoteStoreEmailNoteResult) GetUserException() *EDAMUserException

func (*NoteStoreEmailNoteResult) IsSetNotFoundException

func (p *NoteStoreEmailNoteResult) IsSetNotFoundException() bool

func (*NoteStoreEmailNoteResult) IsSetSystemException

func (p *NoteStoreEmailNoteResult) IsSetSystemException() bool

func (*NoteStoreEmailNoteResult) IsSetUserException

func (p *NoteStoreEmailNoteResult) IsSetUserException() bool

func (*NoteStoreEmailNoteResult) Read

func (*NoteStoreEmailNoteResult) ReadField1

func (p *NoteStoreEmailNoteResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreEmailNoteResult) ReadField2

func (p *NoteStoreEmailNoteResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreEmailNoteResult) ReadField3

func (p *NoteStoreEmailNoteResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreEmailNoteResult) String

func (p *NoteStoreEmailNoteResult) String() string

func (*NoteStoreEmailNoteResult) Write

type NoteStoreExpungeLinkedNotebookArgs

type NoteStoreExpungeLinkedNotebookArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreExpungeLinkedNotebookArgs

func NewNoteStoreExpungeLinkedNotebookArgs() *NoteStoreExpungeLinkedNotebookArgs

func (*NoteStoreExpungeLinkedNotebookArgs) GetAuthenticationToken

func (p *NoteStoreExpungeLinkedNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreExpungeLinkedNotebookArgs) GetGUID

func (*NoteStoreExpungeLinkedNotebookArgs) Read

func (*NoteStoreExpungeLinkedNotebookArgs) ReadField1

func (*NoteStoreExpungeLinkedNotebookArgs) ReadField2

func (*NoteStoreExpungeLinkedNotebookArgs) String

func (*NoteStoreExpungeLinkedNotebookArgs) Write

type NoteStoreExpungeLinkedNotebookResult

type NoteStoreExpungeLinkedNotebookResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreExpungeLinkedNotebookResult

func NewNoteStoreExpungeLinkedNotebookResult() *NoteStoreExpungeLinkedNotebookResult

func (*NoteStoreExpungeLinkedNotebookResult) GetNotFoundException

func (*NoteStoreExpungeLinkedNotebookResult) GetSuccess

func (*NoteStoreExpungeLinkedNotebookResult) GetSystemException

func (*NoteStoreExpungeLinkedNotebookResult) GetUserException

func (*NoteStoreExpungeLinkedNotebookResult) IsSetNotFoundException

func (p *NoteStoreExpungeLinkedNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreExpungeLinkedNotebookResult) IsSetSuccess

func (p *NoteStoreExpungeLinkedNotebookResult) IsSetSuccess() bool

func (*NoteStoreExpungeLinkedNotebookResult) IsSetSystemException

func (p *NoteStoreExpungeLinkedNotebookResult) IsSetSystemException() bool

func (*NoteStoreExpungeLinkedNotebookResult) IsSetUserException

func (p *NoteStoreExpungeLinkedNotebookResult) IsSetUserException() bool

func (*NoteStoreExpungeLinkedNotebookResult) Read

func (*NoteStoreExpungeLinkedNotebookResult) ReadField0

func (*NoteStoreExpungeLinkedNotebookResult) ReadField1

func (*NoteStoreExpungeLinkedNotebookResult) ReadField2

func (*NoteStoreExpungeLinkedNotebookResult) ReadField3

func (*NoteStoreExpungeLinkedNotebookResult) String

func (*NoteStoreExpungeLinkedNotebookResult) Write

type NoteStoreExpungeNoteArgs

type NoteStoreExpungeNoteArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreExpungeNoteArgs

func NewNoteStoreExpungeNoteArgs() *NoteStoreExpungeNoteArgs

func (*NoteStoreExpungeNoteArgs) GetAuthenticationToken

func (p *NoteStoreExpungeNoteArgs) GetAuthenticationToken() string

func (*NoteStoreExpungeNoteArgs) GetGUID

func (p *NoteStoreExpungeNoteArgs) GetGUID() GUID

func (*NoteStoreExpungeNoteArgs) Read

func (*NoteStoreExpungeNoteArgs) ReadField1

func (p *NoteStoreExpungeNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreExpungeNoteArgs) ReadField2

func (p *NoteStoreExpungeNoteArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreExpungeNoteArgs) String

func (p *NoteStoreExpungeNoteArgs) String() string

func (*NoteStoreExpungeNoteArgs) Write

type NoteStoreExpungeNoteResult

type NoteStoreExpungeNoteResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreExpungeNoteResult

func NewNoteStoreExpungeNoteResult() *NoteStoreExpungeNoteResult

func (*NoteStoreExpungeNoteResult) GetNotFoundException

func (p *NoteStoreExpungeNoteResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreExpungeNoteResult) GetSuccess

func (p *NoteStoreExpungeNoteResult) GetSuccess() int32

func (*NoteStoreExpungeNoteResult) GetSystemException

func (p *NoteStoreExpungeNoteResult) GetSystemException() *EDAMSystemException

func (*NoteStoreExpungeNoteResult) GetUserException

func (p *NoteStoreExpungeNoteResult) GetUserException() *EDAMUserException

func (*NoteStoreExpungeNoteResult) IsSetNotFoundException

func (p *NoteStoreExpungeNoteResult) IsSetNotFoundException() bool

func (*NoteStoreExpungeNoteResult) IsSetSuccess

func (p *NoteStoreExpungeNoteResult) IsSetSuccess() bool

func (*NoteStoreExpungeNoteResult) IsSetSystemException

func (p *NoteStoreExpungeNoteResult) IsSetSystemException() bool

func (*NoteStoreExpungeNoteResult) IsSetUserException

func (p *NoteStoreExpungeNoteResult) IsSetUserException() bool

func (*NoteStoreExpungeNoteResult) Read

func (*NoteStoreExpungeNoteResult) ReadField0

func (p *NoteStoreExpungeNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreExpungeNoteResult) ReadField1

func (p *NoteStoreExpungeNoteResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreExpungeNoteResult) ReadField2

func (p *NoteStoreExpungeNoteResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreExpungeNoteResult) ReadField3

func (p *NoteStoreExpungeNoteResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreExpungeNoteResult) String

func (p *NoteStoreExpungeNoteResult) String() string

func (*NoteStoreExpungeNoteResult) Write

type NoteStoreExpungeNotebookArgs

type NoteStoreExpungeNotebookArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreExpungeNotebookArgs

func NewNoteStoreExpungeNotebookArgs() *NoteStoreExpungeNotebookArgs

func (*NoteStoreExpungeNotebookArgs) GetAuthenticationToken

func (p *NoteStoreExpungeNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreExpungeNotebookArgs) GetGUID

func (p *NoteStoreExpungeNotebookArgs) GetGUID() GUID

func (*NoteStoreExpungeNotebookArgs) Read

func (*NoteStoreExpungeNotebookArgs) ReadField1

func (p *NoteStoreExpungeNotebookArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreExpungeNotebookArgs) ReadField2

func (p *NoteStoreExpungeNotebookArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreExpungeNotebookArgs) String

func (*NoteStoreExpungeNotebookArgs) Write

type NoteStoreExpungeNotebookResult

type NoteStoreExpungeNotebookResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreExpungeNotebookResult

func NewNoteStoreExpungeNotebookResult() *NoteStoreExpungeNotebookResult

func (*NoteStoreExpungeNotebookResult) GetNotFoundException

func (p *NoteStoreExpungeNotebookResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreExpungeNotebookResult) GetSuccess

func (p *NoteStoreExpungeNotebookResult) GetSuccess() int32

func (*NoteStoreExpungeNotebookResult) GetSystemException

func (p *NoteStoreExpungeNotebookResult) GetSystemException() *EDAMSystemException

func (*NoteStoreExpungeNotebookResult) GetUserException

func (p *NoteStoreExpungeNotebookResult) GetUserException() *EDAMUserException

func (*NoteStoreExpungeNotebookResult) IsSetNotFoundException

func (p *NoteStoreExpungeNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreExpungeNotebookResult) IsSetSuccess

func (p *NoteStoreExpungeNotebookResult) IsSetSuccess() bool

func (*NoteStoreExpungeNotebookResult) IsSetSystemException

func (p *NoteStoreExpungeNotebookResult) IsSetSystemException() bool

func (*NoteStoreExpungeNotebookResult) IsSetUserException

func (p *NoteStoreExpungeNotebookResult) IsSetUserException() bool

func (*NoteStoreExpungeNotebookResult) Read

func (*NoteStoreExpungeNotebookResult) ReadField0

func (*NoteStoreExpungeNotebookResult) ReadField1

func (*NoteStoreExpungeNotebookResult) ReadField2

func (*NoteStoreExpungeNotebookResult) ReadField3

func (*NoteStoreExpungeNotebookResult) String

func (*NoteStoreExpungeNotebookResult) Write

type NoteStoreExpungeSearchArgs

type NoteStoreExpungeSearchArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreExpungeSearchArgs

func NewNoteStoreExpungeSearchArgs() *NoteStoreExpungeSearchArgs

func (*NoteStoreExpungeSearchArgs) GetAuthenticationToken

func (p *NoteStoreExpungeSearchArgs) GetAuthenticationToken() string

func (*NoteStoreExpungeSearchArgs) GetGUID

func (p *NoteStoreExpungeSearchArgs) GetGUID() GUID

func (*NoteStoreExpungeSearchArgs) Read

func (*NoteStoreExpungeSearchArgs) ReadField1

func (p *NoteStoreExpungeSearchArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreExpungeSearchArgs) ReadField2

func (p *NoteStoreExpungeSearchArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreExpungeSearchArgs) String

func (p *NoteStoreExpungeSearchArgs) String() string

func (*NoteStoreExpungeSearchArgs) Write

type NoteStoreExpungeSearchResult

type NoteStoreExpungeSearchResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreExpungeSearchResult

func NewNoteStoreExpungeSearchResult() *NoteStoreExpungeSearchResult

func (*NoteStoreExpungeSearchResult) GetNotFoundException

func (p *NoteStoreExpungeSearchResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreExpungeSearchResult) GetSuccess

func (p *NoteStoreExpungeSearchResult) GetSuccess() int32

func (*NoteStoreExpungeSearchResult) GetSystemException

func (p *NoteStoreExpungeSearchResult) GetSystemException() *EDAMSystemException

func (*NoteStoreExpungeSearchResult) GetUserException

func (p *NoteStoreExpungeSearchResult) GetUserException() *EDAMUserException

func (*NoteStoreExpungeSearchResult) IsSetNotFoundException

func (p *NoteStoreExpungeSearchResult) IsSetNotFoundException() bool

func (*NoteStoreExpungeSearchResult) IsSetSuccess

func (p *NoteStoreExpungeSearchResult) IsSetSuccess() bool

func (*NoteStoreExpungeSearchResult) IsSetSystemException

func (p *NoteStoreExpungeSearchResult) IsSetSystemException() bool

func (*NoteStoreExpungeSearchResult) IsSetUserException

func (p *NoteStoreExpungeSearchResult) IsSetUserException() bool

func (*NoteStoreExpungeSearchResult) Read

func (*NoteStoreExpungeSearchResult) ReadField0

func (p *NoteStoreExpungeSearchResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreExpungeSearchResult) ReadField1

func (p *NoteStoreExpungeSearchResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreExpungeSearchResult) ReadField2

func (p *NoteStoreExpungeSearchResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreExpungeSearchResult) ReadField3

func (p *NoteStoreExpungeSearchResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreExpungeSearchResult) String

func (*NoteStoreExpungeSearchResult) Write

type NoteStoreExpungeTagArgs

type NoteStoreExpungeTagArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreExpungeTagArgs

func NewNoteStoreExpungeTagArgs() *NoteStoreExpungeTagArgs

func (*NoteStoreExpungeTagArgs) GetAuthenticationToken

func (p *NoteStoreExpungeTagArgs) GetAuthenticationToken() string

func (*NoteStoreExpungeTagArgs) GetGUID

func (p *NoteStoreExpungeTagArgs) GetGUID() GUID

func (*NoteStoreExpungeTagArgs) Read

func (*NoteStoreExpungeTagArgs) ReadField1

func (p *NoteStoreExpungeTagArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreExpungeTagArgs) ReadField2

func (p *NoteStoreExpungeTagArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreExpungeTagArgs) String

func (p *NoteStoreExpungeTagArgs) String() string

func (*NoteStoreExpungeTagArgs) Write

type NoteStoreExpungeTagResult

type NoteStoreExpungeTagResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreExpungeTagResult

func NewNoteStoreExpungeTagResult() *NoteStoreExpungeTagResult

func (*NoteStoreExpungeTagResult) GetNotFoundException

func (p *NoteStoreExpungeTagResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreExpungeTagResult) GetSuccess

func (p *NoteStoreExpungeTagResult) GetSuccess() int32

func (*NoteStoreExpungeTagResult) GetSystemException

func (p *NoteStoreExpungeTagResult) GetSystemException() *EDAMSystemException

func (*NoteStoreExpungeTagResult) GetUserException

func (p *NoteStoreExpungeTagResult) GetUserException() *EDAMUserException

func (*NoteStoreExpungeTagResult) IsSetNotFoundException

func (p *NoteStoreExpungeTagResult) IsSetNotFoundException() bool

func (*NoteStoreExpungeTagResult) IsSetSuccess

func (p *NoteStoreExpungeTagResult) IsSetSuccess() bool

func (*NoteStoreExpungeTagResult) IsSetSystemException

func (p *NoteStoreExpungeTagResult) IsSetSystemException() bool

func (*NoteStoreExpungeTagResult) IsSetUserException

func (p *NoteStoreExpungeTagResult) IsSetUserException() bool

func (*NoteStoreExpungeTagResult) Read

func (*NoteStoreExpungeTagResult) ReadField0

func (p *NoteStoreExpungeTagResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreExpungeTagResult) ReadField1

func (p *NoteStoreExpungeTagResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreExpungeTagResult) ReadField2

func (p *NoteStoreExpungeTagResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreExpungeTagResult) ReadField3

func (p *NoteStoreExpungeTagResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreExpungeTagResult) String

func (p *NoteStoreExpungeTagResult) String() string

func (*NoteStoreExpungeTagResult) Write

type NoteStoreFindNoteCountsArgs

type NoteStoreFindNoteCountsArgs struct {
	AuthenticationToken string      `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Filter              *NoteFilter `thrift:"filter,2" db:"filter" json:"filter"`
	WithTrash           bool        `thrift:"withTrash,3" db:"withTrash" json:"withTrash"`
}

Attributes:

  • AuthenticationToken
  • Filter
  • WithTrash

func NewNoteStoreFindNoteCountsArgs

func NewNoteStoreFindNoteCountsArgs() *NoteStoreFindNoteCountsArgs

func (*NoteStoreFindNoteCountsArgs) GetAuthenticationToken

func (p *NoteStoreFindNoteCountsArgs) GetAuthenticationToken() string

func (*NoteStoreFindNoteCountsArgs) GetFilter

func (p *NoteStoreFindNoteCountsArgs) GetFilter() *NoteFilter

func (*NoteStoreFindNoteCountsArgs) GetWithTrash

func (p *NoteStoreFindNoteCountsArgs) GetWithTrash() bool

func (*NoteStoreFindNoteCountsArgs) IsSetFilter

func (p *NoteStoreFindNoteCountsArgs) IsSetFilter() bool

func (*NoteStoreFindNoteCountsArgs) Read

func (*NoteStoreFindNoteCountsArgs) ReadField1

func (p *NoteStoreFindNoteCountsArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteCountsArgs) ReadField2

func (p *NoteStoreFindNoteCountsArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteCountsArgs) ReadField3

func (p *NoteStoreFindNoteCountsArgs) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteCountsArgs) String

func (p *NoteStoreFindNoteCountsArgs) String() string

func (*NoteStoreFindNoteCountsArgs) Write

type NoteStoreFindNoteCountsResult

type NoteStoreFindNoteCountsResult struct {
	Success           *NoteCollectionCounts  `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreFindNoteCountsResult

func NewNoteStoreFindNoteCountsResult() *NoteStoreFindNoteCountsResult

func (*NoteStoreFindNoteCountsResult) GetNotFoundException

func (p *NoteStoreFindNoteCountsResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreFindNoteCountsResult) GetSuccess

func (*NoteStoreFindNoteCountsResult) GetSystemException

func (p *NoteStoreFindNoteCountsResult) GetSystemException() *EDAMSystemException

func (*NoteStoreFindNoteCountsResult) GetUserException

func (p *NoteStoreFindNoteCountsResult) GetUserException() *EDAMUserException

func (*NoteStoreFindNoteCountsResult) IsSetNotFoundException

func (p *NoteStoreFindNoteCountsResult) IsSetNotFoundException() bool

func (*NoteStoreFindNoteCountsResult) IsSetSuccess

func (p *NoteStoreFindNoteCountsResult) IsSetSuccess() bool

func (*NoteStoreFindNoteCountsResult) IsSetSystemException

func (p *NoteStoreFindNoteCountsResult) IsSetSystemException() bool

func (*NoteStoreFindNoteCountsResult) IsSetUserException

func (p *NoteStoreFindNoteCountsResult) IsSetUserException() bool

func (*NoteStoreFindNoteCountsResult) Read

func (*NoteStoreFindNoteCountsResult) ReadField0

func (p *NoteStoreFindNoteCountsResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteCountsResult) ReadField1

func (p *NoteStoreFindNoteCountsResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteCountsResult) ReadField2

func (p *NoteStoreFindNoteCountsResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteCountsResult) ReadField3

func (p *NoteStoreFindNoteCountsResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteCountsResult) String

func (*NoteStoreFindNoteCountsResult) Write

type NoteStoreFindNoteOffsetArgs

type NoteStoreFindNoteOffsetArgs struct {
	AuthenticationToken string      `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Filter              *NoteFilter `thrift:"filter,2" db:"filter" json:"filter"`
	GUID                GUID        `thrift:"guid,3" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • Filter
  • GUID

func NewNoteStoreFindNoteOffsetArgs

func NewNoteStoreFindNoteOffsetArgs() *NoteStoreFindNoteOffsetArgs

func (*NoteStoreFindNoteOffsetArgs) GetAuthenticationToken

func (p *NoteStoreFindNoteOffsetArgs) GetAuthenticationToken() string

func (*NoteStoreFindNoteOffsetArgs) GetFilter

func (p *NoteStoreFindNoteOffsetArgs) GetFilter() *NoteFilter

func (*NoteStoreFindNoteOffsetArgs) GetGUID

func (p *NoteStoreFindNoteOffsetArgs) GetGUID() GUID

func (*NoteStoreFindNoteOffsetArgs) IsSetFilter

func (p *NoteStoreFindNoteOffsetArgs) IsSetFilter() bool

func (*NoteStoreFindNoteOffsetArgs) Read

func (*NoteStoreFindNoteOffsetArgs) ReadField1

func (p *NoteStoreFindNoteOffsetArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteOffsetArgs) ReadField2

func (p *NoteStoreFindNoteOffsetArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteOffsetArgs) ReadField3

func (p *NoteStoreFindNoteOffsetArgs) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteOffsetArgs) String

func (p *NoteStoreFindNoteOffsetArgs) String() string

func (*NoteStoreFindNoteOffsetArgs) Write

type NoteStoreFindNoteOffsetResult

type NoteStoreFindNoteOffsetResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreFindNoteOffsetResult

func NewNoteStoreFindNoteOffsetResult() *NoteStoreFindNoteOffsetResult

func (*NoteStoreFindNoteOffsetResult) GetNotFoundException

func (p *NoteStoreFindNoteOffsetResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreFindNoteOffsetResult) GetSuccess

func (p *NoteStoreFindNoteOffsetResult) GetSuccess() int32

func (*NoteStoreFindNoteOffsetResult) GetSystemException

func (p *NoteStoreFindNoteOffsetResult) GetSystemException() *EDAMSystemException

func (*NoteStoreFindNoteOffsetResult) GetUserException

func (p *NoteStoreFindNoteOffsetResult) GetUserException() *EDAMUserException

func (*NoteStoreFindNoteOffsetResult) IsSetNotFoundException

func (p *NoteStoreFindNoteOffsetResult) IsSetNotFoundException() bool

func (*NoteStoreFindNoteOffsetResult) IsSetSuccess

func (p *NoteStoreFindNoteOffsetResult) IsSetSuccess() bool

func (*NoteStoreFindNoteOffsetResult) IsSetSystemException

func (p *NoteStoreFindNoteOffsetResult) IsSetSystemException() bool

func (*NoteStoreFindNoteOffsetResult) IsSetUserException

func (p *NoteStoreFindNoteOffsetResult) IsSetUserException() bool

func (*NoteStoreFindNoteOffsetResult) Read

func (*NoteStoreFindNoteOffsetResult) ReadField0

func (p *NoteStoreFindNoteOffsetResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteOffsetResult) ReadField1

func (p *NoteStoreFindNoteOffsetResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteOffsetResult) ReadField2

func (p *NoteStoreFindNoteOffsetResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteOffsetResult) ReadField3

func (p *NoteStoreFindNoteOffsetResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreFindNoteOffsetResult) String

func (*NoteStoreFindNoteOffsetResult) Write

type NoteStoreFindNotesMetadataArgs

type NoteStoreFindNotesMetadataArgs struct {
	AuthenticationToken string                   `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Filter              *NoteFilter              `thrift:"filter,2" db:"filter" json:"filter"`
	Offset              int32                    `thrift:"offset,3" db:"offset" json:"offset"`
	MaxNotes            int32                    `thrift:"maxNotes,4" db:"maxNotes" json:"maxNotes"`
	ResultSpec          *NotesMetadataResultSpec `thrift:"resultSpec,5" db:"resultSpec" json:"resultSpec"`
}

Attributes:

  • AuthenticationToken
  • Filter
  • Offset
  • MaxNotes
  • ResultSpec

func NewNoteStoreFindNotesMetadataArgs

func NewNoteStoreFindNotesMetadataArgs() *NoteStoreFindNotesMetadataArgs

func (*NoteStoreFindNotesMetadataArgs) GetAuthenticationToken

func (p *NoteStoreFindNotesMetadataArgs) GetAuthenticationToken() string

func (*NoteStoreFindNotesMetadataArgs) GetFilter

func (*NoteStoreFindNotesMetadataArgs) GetMaxNotes

func (p *NoteStoreFindNotesMetadataArgs) GetMaxNotes() int32

func (*NoteStoreFindNotesMetadataArgs) GetOffset

func (p *NoteStoreFindNotesMetadataArgs) GetOffset() int32

func (*NoteStoreFindNotesMetadataArgs) GetResultSpec

func (*NoteStoreFindNotesMetadataArgs) IsSetFilter

func (p *NoteStoreFindNotesMetadataArgs) IsSetFilter() bool

func (*NoteStoreFindNotesMetadataArgs) IsSetResultSpec

func (p *NoteStoreFindNotesMetadataArgs) IsSetResultSpec() bool

func (*NoteStoreFindNotesMetadataArgs) Read

func (*NoteStoreFindNotesMetadataArgs) ReadField1

func (*NoteStoreFindNotesMetadataArgs) ReadField2

func (*NoteStoreFindNotesMetadataArgs) ReadField3

func (*NoteStoreFindNotesMetadataArgs) ReadField4

func (*NoteStoreFindNotesMetadataArgs) ReadField5

func (*NoteStoreFindNotesMetadataArgs) String

func (*NoteStoreFindNotesMetadataArgs) Write

type NoteStoreFindNotesMetadataResult

type NoteStoreFindNotesMetadataResult struct {
	Success           *NotesMetadataList     `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreFindNotesMetadataResult

func NewNoteStoreFindNotesMetadataResult() *NoteStoreFindNotesMetadataResult

func (*NoteStoreFindNotesMetadataResult) GetNotFoundException

func (p *NoteStoreFindNotesMetadataResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreFindNotesMetadataResult) GetSuccess

func (*NoteStoreFindNotesMetadataResult) GetSystemException

func (p *NoteStoreFindNotesMetadataResult) GetSystemException() *EDAMSystemException

func (*NoteStoreFindNotesMetadataResult) GetUserException

func (p *NoteStoreFindNotesMetadataResult) GetUserException() *EDAMUserException

func (*NoteStoreFindNotesMetadataResult) IsSetNotFoundException

func (p *NoteStoreFindNotesMetadataResult) IsSetNotFoundException() bool

func (*NoteStoreFindNotesMetadataResult) IsSetSuccess

func (p *NoteStoreFindNotesMetadataResult) IsSetSuccess() bool

func (*NoteStoreFindNotesMetadataResult) IsSetSystemException

func (p *NoteStoreFindNotesMetadataResult) IsSetSystemException() bool

func (*NoteStoreFindNotesMetadataResult) IsSetUserException

func (p *NoteStoreFindNotesMetadataResult) IsSetUserException() bool

func (*NoteStoreFindNotesMetadataResult) Read

func (*NoteStoreFindNotesMetadataResult) ReadField0

func (*NoteStoreFindNotesMetadataResult) ReadField1

func (*NoteStoreFindNotesMetadataResult) ReadField2

func (*NoteStoreFindNotesMetadataResult) ReadField3

func (*NoteStoreFindNotesMetadataResult) String

func (*NoteStoreFindNotesMetadataResult) Write

type NoteStoreFindRelatedArgs

type NoteStoreFindRelatedArgs struct {
	AuthenticationToken string             `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Query               *RelatedQuery      `thrift:"query,2" db:"query" json:"query"`
	ResultSpec          *RelatedResultSpec `thrift:"resultSpec,3" db:"resultSpec" json:"resultSpec"`
}

Attributes:

  • AuthenticationToken
  • Query
  • ResultSpec

func NewNoteStoreFindRelatedArgs

func NewNoteStoreFindRelatedArgs() *NoteStoreFindRelatedArgs

func (*NoteStoreFindRelatedArgs) GetAuthenticationToken

func (p *NoteStoreFindRelatedArgs) GetAuthenticationToken() string

func (*NoteStoreFindRelatedArgs) GetQuery

func (p *NoteStoreFindRelatedArgs) GetQuery() *RelatedQuery

func (*NoteStoreFindRelatedArgs) GetResultSpec

func (p *NoteStoreFindRelatedArgs) GetResultSpec() *RelatedResultSpec

func (*NoteStoreFindRelatedArgs) IsSetQuery

func (p *NoteStoreFindRelatedArgs) IsSetQuery() bool

func (*NoteStoreFindRelatedArgs) IsSetResultSpec

func (p *NoteStoreFindRelatedArgs) IsSetResultSpec() bool

func (*NoteStoreFindRelatedArgs) Read

func (*NoteStoreFindRelatedArgs) ReadField1

func (p *NoteStoreFindRelatedArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreFindRelatedArgs) ReadField2

func (p *NoteStoreFindRelatedArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreFindRelatedArgs) ReadField3

func (p *NoteStoreFindRelatedArgs) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreFindRelatedArgs) String

func (p *NoteStoreFindRelatedArgs) String() string

func (*NoteStoreFindRelatedArgs) Write

type NoteStoreFindRelatedResult

type NoteStoreFindRelatedResult struct {
	Success           *RelatedResult_        `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreFindRelatedResult

func NewNoteStoreFindRelatedResult() *NoteStoreFindRelatedResult

func (*NoteStoreFindRelatedResult) GetNotFoundException

func (p *NoteStoreFindRelatedResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreFindRelatedResult) GetSuccess

func (p *NoteStoreFindRelatedResult) GetSuccess() *RelatedResult_

func (*NoteStoreFindRelatedResult) GetSystemException

func (p *NoteStoreFindRelatedResult) GetSystemException() *EDAMSystemException

func (*NoteStoreFindRelatedResult) GetUserException

func (p *NoteStoreFindRelatedResult) GetUserException() *EDAMUserException

func (*NoteStoreFindRelatedResult) IsSetNotFoundException

func (p *NoteStoreFindRelatedResult) IsSetNotFoundException() bool

func (*NoteStoreFindRelatedResult) IsSetSuccess

func (p *NoteStoreFindRelatedResult) IsSetSuccess() bool

func (*NoteStoreFindRelatedResult) IsSetSystemException

func (p *NoteStoreFindRelatedResult) IsSetSystemException() bool

func (*NoteStoreFindRelatedResult) IsSetUserException

func (p *NoteStoreFindRelatedResult) IsSetUserException() bool

func (*NoteStoreFindRelatedResult) Read

func (*NoteStoreFindRelatedResult) ReadField0

func (p *NoteStoreFindRelatedResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreFindRelatedResult) ReadField1

func (p *NoteStoreFindRelatedResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreFindRelatedResult) ReadField2

func (p *NoteStoreFindRelatedResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreFindRelatedResult) ReadField3

func (p *NoteStoreFindRelatedResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreFindRelatedResult) String

func (p *NoteStoreFindRelatedResult) String() string

func (*NoteStoreFindRelatedResult) Write

type NoteStoreGetDefaultNotebookArgs

type NoteStoreGetDefaultNotebookArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewNoteStoreGetDefaultNotebookArgs

func NewNoteStoreGetDefaultNotebookArgs() *NoteStoreGetDefaultNotebookArgs

func (*NoteStoreGetDefaultNotebookArgs) GetAuthenticationToken

func (p *NoteStoreGetDefaultNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreGetDefaultNotebookArgs) Read

func (*NoteStoreGetDefaultNotebookArgs) ReadField1

func (*NoteStoreGetDefaultNotebookArgs) String

func (*NoteStoreGetDefaultNotebookArgs) Write

type NoteStoreGetDefaultNotebookResult

type NoteStoreGetDefaultNotebookResult struct {
	Success         *Notebook            `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewNoteStoreGetDefaultNotebookResult

func NewNoteStoreGetDefaultNotebookResult() *NoteStoreGetDefaultNotebookResult

func (*NoteStoreGetDefaultNotebookResult) GetSuccess

func (*NoteStoreGetDefaultNotebookResult) GetSystemException

func (p *NoteStoreGetDefaultNotebookResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetDefaultNotebookResult) GetUserException

func (*NoteStoreGetDefaultNotebookResult) IsSetSuccess

func (p *NoteStoreGetDefaultNotebookResult) IsSetSuccess() bool

func (*NoteStoreGetDefaultNotebookResult) IsSetSystemException

func (p *NoteStoreGetDefaultNotebookResult) IsSetSystemException() bool

func (*NoteStoreGetDefaultNotebookResult) IsSetUserException

func (p *NoteStoreGetDefaultNotebookResult) IsSetUserException() bool

func (*NoteStoreGetDefaultNotebookResult) Read

func (*NoteStoreGetDefaultNotebookResult) ReadField0

func (*NoteStoreGetDefaultNotebookResult) ReadField1

func (*NoteStoreGetDefaultNotebookResult) ReadField2

func (*NoteStoreGetDefaultNotebookResult) String

func (*NoteStoreGetDefaultNotebookResult) Write

type NoteStoreGetFilteredSyncChunkArgs

type NoteStoreGetFilteredSyncChunkArgs struct {
	AuthenticationToken string           `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	AfterUSN            int32            `thrift:"afterUSN,2" db:"afterUSN" json:"afterUSN"`
	MaxEntries          int32            `thrift:"maxEntries,3" db:"maxEntries" json:"maxEntries"`
	Filter              *SyncChunkFilter `thrift:"filter,4" db:"filter" json:"filter"`
}

Attributes:

  • AuthenticationToken
  • AfterUSN
  • MaxEntries
  • Filter

func NewNoteStoreGetFilteredSyncChunkArgs

func NewNoteStoreGetFilteredSyncChunkArgs() *NoteStoreGetFilteredSyncChunkArgs

func (*NoteStoreGetFilteredSyncChunkArgs) GetAfterUSN

func (p *NoteStoreGetFilteredSyncChunkArgs) GetAfterUSN() int32

func (*NoteStoreGetFilteredSyncChunkArgs) GetAuthenticationToken

func (p *NoteStoreGetFilteredSyncChunkArgs) GetAuthenticationToken() string

func (*NoteStoreGetFilteredSyncChunkArgs) GetFilter

func (*NoteStoreGetFilteredSyncChunkArgs) GetMaxEntries

func (p *NoteStoreGetFilteredSyncChunkArgs) GetMaxEntries() int32

func (*NoteStoreGetFilteredSyncChunkArgs) IsSetFilter

func (p *NoteStoreGetFilteredSyncChunkArgs) IsSetFilter() bool

func (*NoteStoreGetFilteredSyncChunkArgs) Read

func (*NoteStoreGetFilteredSyncChunkArgs) ReadField1

func (*NoteStoreGetFilteredSyncChunkArgs) ReadField2

func (*NoteStoreGetFilteredSyncChunkArgs) ReadField3

func (*NoteStoreGetFilteredSyncChunkArgs) ReadField4

func (*NoteStoreGetFilteredSyncChunkArgs) String

func (*NoteStoreGetFilteredSyncChunkArgs) Write

type NoteStoreGetFilteredSyncChunkResult

type NoteStoreGetFilteredSyncChunkResult struct {
	Success         *SyncChunk           `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewNoteStoreGetFilteredSyncChunkResult

func NewNoteStoreGetFilteredSyncChunkResult() *NoteStoreGetFilteredSyncChunkResult

func (*NoteStoreGetFilteredSyncChunkResult) GetSuccess

func (*NoteStoreGetFilteredSyncChunkResult) GetSystemException

func (*NoteStoreGetFilteredSyncChunkResult) GetUserException

func (*NoteStoreGetFilteredSyncChunkResult) IsSetSuccess

func (p *NoteStoreGetFilteredSyncChunkResult) IsSetSuccess() bool

func (*NoteStoreGetFilteredSyncChunkResult) IsSetSystemException

func (p *NoteStoreGetFilteredSyncChunkResult) IsSetSystemException() bool

func (*NoteStoreGetFilteredSyncChunkResult) IsSetUserException

func (p *NoteStoreGetFilteredSyncChunkResult) IsSetUserException() bool

func (*NoteStoreGetFilteredSyncChunkResult) Read

func (*NoteStoreGetFilteredSyncChunkResult) ReadField0

func (*NoteStoreGetFilteredSyncChunkResult) ReadField1

func (*NoteStoreGetFilteredSyncChunkResult) ReadField2

func (*NoteStoreGetFilteredSyncChunkResult) String

func (*NoteStoreGetFilteredSyncChunkResult) Write

type NoteStoreGetLinkedNotebookSyncChunkArgs

type NoteStoreGetLinkedNotebookSyncChunkArgs struct {
	AuthenticationToken string          `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	LinkedNotebook      *LinkedNotebook `thrift:"linkedNotebook,2" db:"linkedNotebook" json:"linkedNotebook"`
	AfterUSN            int32           `thrift:"afterUSN,3" db:"afterUSN" json:"afterUSN"`
	MaxEntries          int32           `thrift:"maxEntries,4" db:"maxEntries" json:"maxEntries"`
	FullSyncOnly        bool            `thrift:"fullSyncOnly,5" db:"fullSyncOnly" json:"fullSyncOnly"`
}

Attributes:

  • AuthenticationToken
  • LinkedNotebook
  • AfterUSN
  • MaxEntries
  • FullSyncOnly

func NewNoteStoreGetLinkedNotebookSyncChunkArgs

func NewNoteStoreGetLinkedNotebookSyncChunkArgs() *NoteStoreGetLinkedNotebookSyncChunkArgs

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) GetAfterUSN

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) GetAuthenticationToken

func (p *NoteStoreGetLinkedNotebookSyncChunkArgs) GetAuthenticationToken() string

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) GetFullSyncOnly

func (p *NoteStoreGetLinkedNotebookSyncChunkArgs) GetFullSyncOnly() bool

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) GetLinkedNotebook

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) GetMaxEntries

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) IsSetLinkedNotebook

func (p *NoteStoreGetLinkedNotebookSyncChunkArgs) IsSetLinkedNotebook() bool

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) Read

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) ReadField1

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) ReadField2

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) ReadField3

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) ReadField4

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) ReadField5

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) String

func (*NoteStoreGetLinkedNotebookSyncChunkArgs) Write

type NoteStoreGetLinkedNotebookSyncChunkResult

type NoteStoreGetLinkedNotebookSyncChunkResult struct {
	Success           *SyncChunk             `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetLinkedNotebookSyncChunkResult

func NewNoteStoreGetLinkedNotebookSyncChunkResult() *NoteStoreGetLinkedNotebookSyncChunkResult

func (*NoteStoreGetLinkedNotebookSyncChunkResult) GetNotFoundException

func (*NoteStoreGetLinkedNotebookSyncChunkResult) GetSuccess

func (*NoteStoreGetLinkedNotebookSyncChunkResult) GetSystemException

func (*NoteStoreGetLinkedNotebookSyncChunkResult) GetUserException

func (*NoteStoreGetLinkedNotebookSyncChunkResult) IsSetNotFoundException

func (p *NoteStoreGetLinkedNotebookSyncChunkResult) IsSetNotFoundException() bool

func (*NoteStoreGetLinkedNotebookSyncChunkResult) IsSetSuccess

func (*NoteStoreGetLinkedNotebookSyncChunkResult) IsSetSystemException

func (p *NoteStoreGetLinkedNotebookSyncChunkResult) IsSetSystemException() bool

func (*NoteStoreGetLinkedNotebookSyncChunkResult) IsSetUserException

func (p *NoteStoreGetLinkedNotebookSyncChunkResult) IsSetUserException() bool

func (*NoteStoreGetLinkedNotebookSyncChunkResult) Read

func (*NoteStoreGetLinkedNotebookSyncChunkResult) ReadField0

func (*NoteStoreGetLinkedNotebookSyncChunkResult) ReadField1

func (*NoteStoreGetLinkedNotebookSyncChunkResult) ReadField2

func (*NoteStoreGetLinkedNotebookSyncChunkResult) ReadField3

func (*NoteStoreGetLinkedNotebookSyncChunkResult) String

func (*NoteStoreGetLinkedNotebookSyncChunkResult) Write

type NoteStoreGetLinkedNotebookSyncStateArgs

type NoteStoreGetLinkedNotebookSyncStateArgs struct {
	AuthenticationToken string          `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	LinkedNotebook      *LinkedNotebook `thrift:"linkedNotebook,2" db:"linkedNotebook" json:"linkedNotebook"`
}

Attributes:

  • AuthenticationToken
  • LinkedNotebook

func NewNoteStoreGetLinkedNotebookSyncStateArgs

func NewNoteStoreGetLinkedNotebookSyncStateArgs() *NoteStoreGetLinkedNotebookSyncStateArgs

func (*NoteStoreGetLinkedNotebookSyncStateArgs) GetAuthenticationToken

func (p *NoteStoreGetLinkedNotebookSyncStateArgs) GetAuthenticationToken() string

func (*NoteStoreGetLinkedNotebookSyncStateArgs) GetLinkedNotebook

func (*NoteStoreGetLinkedNotebookSyncStateArgs) IsSetLinkedNotebook

func (p *NoteStoreGetLinkedNotebookSyncStateArgs) IsSetLinkedNotebook() bool

func (*NoteStoreGetLinkedNotebookSyncStateArgs) Read

func (*NoteStoreGetLinkedNotebookSyncStateArgs) ReadField1

func (*NoteStoreGetLinkedNotebookSyncStateArgs) ReadField2

func (*NoteStoreGetLinkedNotebookSyncStateArgs) String

func (*NoteStoreGetLinkedNotebookSyncStateArgs) Write

type NoteStoreGetLinkedNotebookSyncStateResult

type NoteStoreGetLinkedNotebookSyncStateResult struct {
	Success           *SyncState             `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetLinkedNotebookSyncStateResult

func NewNoteStoreGetLinkedNotebookSyncStateResult() *NoteStoreGetLinkedNotebookSyncStateResult

func (*NoteStoreGetLinkedNotebookSyncStateResult) GetNotFoundException

func (*NoteStoreGetLinkedNotebookSyncStateResult) GetSuccess

func (*NoteStoreGetLinkedNotebookSyncStateResult) GetSystemException

func (*NoteStoreGetLinkedNotebookSyncStateResult) GetUserException

func (*NoteStoreGetLinkedNotebookSyncStateResult) IsSetNotFoundException

func (p *NoteStoreGetLinkedNotebookSyncStateResult) IsSetNotFoundException() bool

func (*NoteStoreGetLinkedNotebookSyncStateResult) IsSetSuccess

func (*NoteStoreGetLinkedNotebookSyncStateResult) IsSetSystemException

func (p *NoteStoreGetLinkedNotebookSyncStateResult) IsSetSystemException() bool

func (*NoteStoreGetLinkedNotebookSyncStateResult) IsSetUserException

func (p *NoteStoreGetLinkedNotebookSyncStateResult) IsSetUserException() bool

func (*NoteStoreGetLinkedNotebookSyncStateResult) Read

func (*NoteStoreGetLinkedNotebookSyncStateResult) ReadField0

func (*NoteStoreGetLinkedNotebookSyncStateResult) ReadField1

func (*NoteStoreGetLinkedNotebookSyncStateResult) ReadField2

func (*NoteStoreGetLinkedNotebookSyncStateResult) ReadField3

func (*NoteStoreGetLinkedNotebookSyncStateResult) String

func (*NoteStoreGetLinkedNotebookSyncStateResult) Write

type NoteStoreGetNoteApplicationDataArgs

type NoteStoreGetNoteApplicationDataArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetNoteApplicationDataArgs

func NewNoteStoreGetNoteApplicationDataArgs() *NoteStoreGetNoteApplicationDataArgs

func (*NoteStoreGetNoteApplicationDataArgs) GetAuthenticationToken

func (p *NoteStoreGetNoteApplicationDataArgs) GetAuthenticationToken() string

func (*NoteStoreGetNoteApplicationDataArgs) GetGUID

func (*NoteStoreGetNoteApplicationDataArgs) Read

func (*NoteStoreGetNoteApplicationDataArgs) ReadField1

func (*NoteStoreGetNoteApplicationDataArgs) ReadField2

func (*NoteStoreGetNoteApplicationDataArgs) String

func (*NoteStoreGetNoteApplicationDataArgs) Write

type NoteStoreGetNoteApplicationDataEntryArgs

type NoteStoreGetNoteApplicationDataEntryArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
	Key                 string `thrift:"key,3" db:"key" json:"key"`
}

Attributes:

  • AuthenticationToken
  • GUID
  • Key

func NewNoteStoreGetNoteApplicationDataEntryArgs

func NewNoteStoreGetNoteApplicationDataEntryArgs() *NoteStoreGetNoteApplicationDataEntryArgs

func (*NoteStoreGetNoteApplicationDataEntryArgs) GetAuthenticationToken

func (p *NoteStoreGetNoteApplicationDataEntryArgs) GetAuthenticationToken() string

func (*NoteStoreGetNoteApplicationDataEntryArgs) GetGUID

func (*NoteStoreGetNoteApplicationDataEntryArgs) GetKey

func (*NoteStoreGetNoteApplicationDataEntryArgs) Read

func (*NoteStoreGetNoteApplicationDataEntryArgs) ReadField1

func (*NoteStoreGetNoteApplicationDataEntryArgs) ReadField2

func (*NoteStoreGetNoteApplicationDataEntryArgs) ReadField3

func (*NoteStoreGetNoteApplicationDataEntryArgs) String

func (*NoteStoreGetNoteApplicationDataEntryArgs) Write

type NoteStoreGetNoteApplicationDataEntryResult

type NoteStoreGetNoteApplicationDataEntryResult struct {
	Success           *string                `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetNoteApplicationDataEntryResult

func NewNoteStoreGetNoteApplicationDataEntryResult() *NoteStoreGetNoteApplicationDataEntryResult

func (*NoteStoreGetNoteApplicationDataEntryResult) GetNotFoundException

func (*NoteStoreGetNoteApplicationDataEntryResult) GetSuccess

func (*NoteStoreGetNoteApplicationDataEntryResult) GetSystemException

func (*NoteStoreGetNoteApplicationDataEntryResult) GetUserException

func (*NoteStoreGetNoteApplicationDataEntryResult) IsSetNotFoundException

func (p *NoteStoreGetNoteApplicationDataEntryResult) IsSetNotFoundException() bool

func (*NoteStoreGetNoteApplicationDataEntryResult) IsSetSuccess

func (*NoteStoreGetNoteApplicationDataEntryResult) IsSetSystemException

func (p *NoteStoreGetNoteApplicationDataEntryResult) IsSetSystemException() bool

func (*NoteStoreGetNoteApplicationDataEntryResult) IsSetUserException

func (p *NoteStoreGetNoteApplicationDataEntryResult) IsSetUserException() bool

func (*NoteStoreGetNoteApplicationDataEntryResult) Read

func (*NoteStoreGetNoteApplicationDataEntryResult) ReadField0

func (*NoteStoreGetNoteApplicationDataEntryResult) ReadField1

func (*NoteStoreGetNoteApplicationDataEntryResult) ReadField2

func (*NoteStoreGetNoteApplicationDataEntryResult) ReadField3

func (*NoteStoreGetNoteApplicationDataEntryResult) String

func (*NoteStoreGetNoteApplicationDataEntryResult) Write

type NoteStoreGetNoteApplicationDataResult

type NoteStoreGetNoteApplicationDataResult struct {
	Success           *LazyMap               `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetNoteApplicationDataResult

func NewNoteStoreGetNoteApplicationDataResult() *NoteStoreGetNoteApplicationDataResult

func (*NoteStoreGetNoteApplicationDataResult) GetNotFoundException

func (*NoteStoreGetNoteApplicationDataResult) GetSuccess

func (*NoteStoreGetNoteApplicationDataResult) GetSystemException

func (*NoteStoreGetNoteApplicationDataResult) GetUserException

func (*NoteStoreGetNoteApplicationDataResult) IsSetNotFoundException

func (p *NoteStoreGetNoteApplicationDataResult) IsSetNotFoundException() bool

func (*NoteStoreGetNoteApplicationDataResult) IsSetSuccess

func (p *NoteStoreGetNoteApplicationDataResult) IsSetSuccess() bool

func (*NoteStoreGetNoteApplicationDataResult) IsSetSystemException

func (p *NoteStoreGetNoteApplicationDataResult) IsSetSystemException() bool

func (*NoteStoreGetNoteApplicationDataResult) IsSetUserException

func (p *NoteStoreGetNoteApplicationDataResult) IsSetUserException() bool

func (*NoteStoreGetNoteApplicationDataResult) Read

func (*NoteStoreGetNoteApplicationDataResult) ReadField0

func (*NoteStoreGetNoteApplicationDataResult) ReadField1

func (*NoteStoreGetNoteApplicationDataResult) ReadField2

func (*NoteStoreGetNoteApplicationDataResult) ReadField3

func (*NoteStoreGetNoteApplicationDataResult) String

func (*NoteStoreGetNoteApplicationDataResult) Write

type NoteStoreGetNoteArgs

type NoteStoreGetNoteArgs struct {
	AuthenticationToken        string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                       GUID   `thrift:"guid,2" db:"guid" json:"guid"`
	WithContent                bool   `thrift:"withContent,3" db:"withContent" json:"withContent"`
	WithResourcesData          bool   `thrift:"withResourcesData,4" db:"withResourcesData" json:"withResourcesData"`
	WithResourcesRecognition   bool   `thrift:"withResourcesRecognition,5" db:"withResourcesRecognition" json:"withResourcesRecognition"`
	WithResourcesAlternateData bool   `thrift:"withResourcesAlternateData,6" db:"withResourcesAlternateData" json:"withResourcesAlternateData"`
}

Attributes:

  • AuthenticationToken
  • GUID
  • WithContent
  • WithResourcesData
  • WithResourcesRecognition
  • WithResourcesAlternateData

func NewNoteStoreGetNoteArgs

func NewNoteStoreGetNoteArgs() *NoteStoreGetNoteArgs

func (*NoteStoreGetNoteArgs) GetAuthenticationToken

func (p *NoteStoreGetNoteArgs) GetAuthenticationToken() string

func (*NoteStoreGetNoteArgs) GetGUID

func (p *NoteStoreGetNoteArgs) GetGUID() GUID

func (*NoteStoreGetNoteArgs) GetWithContent

func (p *NoteStoreGetNoteArgs) GetWithContent() bool

func (*NoteStoreGetNoteArgs) GetWithResourcesAlternateData

func (p *NoteStoreGetNoteArgs) GetWithResourcesAlternateData() bool

func (*NoteStoreGetNoteArgs) GetWithResourcesData

func (p *NoteStoreGetNoteArgs) GetWithResourcesData() bool

func (*NoteStoreGetNoteArgs) GetWithResourcesRecognition

func (p *NoteStoreGetNoteArgs) GetWithResourcesRecognition() bool

func (*NoteStoreGetNoteArgs) Read

func (p *NoteStoreGetNoteArgs) Read(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteArgs) ReadField1

func (p *NoteStoreGetNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteArgs) ReadField2

func (p *NoteStoreGetNoteArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteArgs) ReadField3

func (p *NoteStoreGetNoteArgs) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteArgs) ReadField4

func (p *NoteStoreGetNoteArgs) ReadField4(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteArgs) ReadField5

func (p *NoteStoreGetNoteArgs) ReadField5(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteArgs) ReadField6

func (p *NoteStoreGetNoteArgs) ReadField6(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteArgs) String

func (p *NoteStoreGetNoteArgs) String() string

func (*NoteStoreGetNoteArgs) Write

func (p *NoteStoreGetNoteArgs) Write(oprot thrift.TProtocol) error

type NoteStoreGetNoteContentArgs

type NoteStoreGetNoteContentArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetNoteContentArgs

func NewNoteStoreGetNoteContentArgs() *NoteStoreGetNoteContentArgs

func (*NoteStoreGetNoteContentArgs) GetAuthenticationToken

func (p *NoteStoreGetNoteContentArgs) GetAuthenticationToken() string

func (*NoteStoreGetNoteContentArgs) GetGUID

func (p *NoteStoreGetNoteContentArgs) GetGUID() GUID

func (*NoteStoreGetNoteContentArgs) Read

func (*NoteStoreGetNoteContentArgs) ReadField1

func (p *NoteStoreGetNoteContentArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteContentArgs) ReadField2

func (p *NoteStoreGetNoteContentArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteContentArgs) String

func (p *NoteStoreGetNoteContentArgs) String() string

func (*NoteStoreGetNoteContentArgs) Write

type NoteStoreGetNoteContentResult

type NoteStoreGetNoteContentResult struct {
	Success           *string                `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetNoteContentResult

func NewNoteStoreGetNoteContentResult() *NoteStoreGetNoteContentResult

func (*NoteStoreGetNoteContentResult) GetNotFoundException

func (p *NoteStoreGetNoteContentResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetNoteContentResult) GetSuccess

func (p *NoteStoreGetNoteContentResult) GetSuccess() string

func (*NoteStoreGetNoteContentResult) GetSystemException

func (p *NoteStoreGetNoteContentResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetNoteContentResult) GetUserException

func (p *NoteStoreGetNoteContentResult) GetUserException() *EDAMUserException

func (*NoteStoreGetNoteContentResult) IsSetNotFoundException

func (p *NoteStoreGetNoteContentResult) IsSetNotFoundException() bool

func (*NoteStoreGetNoteContentResult) IsSetSuccess

func (p *NoteStoreGetNoteContentResult) IsSetSuccess() bool

func (*NoteStoreGetNoteContentResult) IsSetSystemException

func (p *NoteStoreGetNoteContentResult) IsSetSystemException() bool

func (*NoteStoreGetNoteContentResult) IsSetUserException

func (p *NoteStoreGetNoteContentResult) IsSetUserException() bool

func (*NoteStoreGetNoteContentResult) Read

func (*NoteStoreGetNoteContentResult) ReadField0

func (p *NoteStoreGetNoteContentResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteContentResult) ReadField1

func (p *NoteStoreGetNoteContentResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteContentResult) ReadField2

func (p *NoteStoreGetNoteContentResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteContentResult) ReadField3

func (p *NoteStoreGetNoteContentResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteContentResult) String

func (*NoteStoreGetNoteContentResult) Write

type NoteStoreGetNoteResult

type NoteStoreGetNoteResult struct {
	Success           *Note                  `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetNoteResult

func NewNoteStoreGetNoteResult() *NoteStoreGetNoteResult

func (*NoteStoreGetNoteResult) GetNotFoundException

func (p *NoteStoreGetNoteResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetNoteResult) GetSuccess

func (p *NoteStoreGetNoteResult) GetSuccess() *Note

func (*NoteStoreGetNoteResult) GetSystemException

func (p *NoteStoreGetNoteResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetNoteResult) GetUserException

func (p *NoteStoreGetNoteResult) GetUserException() *EDAMUserException

func (*NoteStoreGetNoteResult) IsSetNotFoundException

func (p *NoteStoreGetNoteResult) IsSetNotFoundException() bool

func (*NoteStoreGetNoteResult) IsSetSuccess

func (p *NoteStoreGetNoteResult) IsSetSuccess() bool

func (*NoteStoreGetNoteResult) IsSetSystemException

func (p *NoteStoreGetNoteResult) IsSetSystemException() bool

func (*NoteStoreGetNoteResult) IsSetUserException

func (p *NoteStoreGetNoteResult) IsSetUserException() bool

func (*NoteStoreGetNoteResult) Read

func (*NoteStoreGetNoteResult) ReadField0

func (p *NoteStoreGetNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteResult) ReadField1

func (p *NoteStoreGetNoteResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteResult) ReadField2

func (p *NoteStoreGetNoteResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteResult) ReadField3

func (p *NoteStoreGetNoteResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteResult) String

func (p *NoteStoreGetNoteResult) String() string

func (*NoteStoreGetNoteResult) Write

func (p *NoteStoreGetNoteResult) Write(oprot thrift.TProtocol) error

type NoteStoreGetNoteSearchTextArgs

type NoteStoreGetNoteSearchTextArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
	NoteOnly            bool   `thrift:"noteOnly,3" db:"noteOnly" json:"noteOnly"`
	TokenizeForIndexing bool   `thrift:"tokenizeForIndexing,4" db:"tokenizeForIndexing" json:"tokenizeForIndexing"`
}

Attributes:

  • AuthenticationToken
  • GUID
  • NoteOnly
  • TokenizeForIndexing

func NewNoteStoreGetNoteSearchTextArgs

func NewNoteStoreGetNoteSearchTextArgs() *NoteStoreGetNoteSearchTextArgs

func (*NoteStoreGetNoteSearchTextArgs) GetAuthenticationToken

func (p *NoteStoreGetNoteSearchTextArgs) GetAuthenticationToken() string

func (*NoteStoreGetNoteSearchTextArgs) GetGUID

func (p *NoteStoreGetNoteSearchTextArgs) GetGUID() GUID

func (*NoteStoreGetNoteSearchTextArgs) GetNoteOnly

func (p *NoteStoreGetNoteSearchTextArgs) GetNoteOnly() bool

func (*NoteStoreGetNoteSearchTextArgs) GetTokenizeForIndexing

func (p *NoteStoreGetNoteSearchTextArgs) GetTokenizeForIndexing() bool

func (*NoteStoreGetNoteSearchTextArgs) Read

func (*NoteStoreGetNoteSearchTextArgs) ReadField1

func (*NoteStoreGetNoteSearchTextArgs) ReadField2

func (*NoteStoreGetNoteSearchTextArgs) ReadField3

func (*NoteStoreGetNoteSearchTextArgs) ReadField4

func (*NoteStoreGetNoteSearchTextArgs) String

func (*NoteStoreGetNoteSearchTextArgs) Write

type NoteStoreGetNoteSearchTextResult

type NoteStoreGetNoteSearchTextResult struct {
	Success           *string                `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetNoteSearchTextResult

func NewNoteStoreGetNoteSearchTextResult() *NoteStoreGetNoteSearchTextResult

func (*NoteStoreGetNoteSearchTextResult) GetNotFoundException

func (p *NoteStoreGetNoteSearchTextResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetNoteSearchTextResult) GetSuccess

func (p *NoteStoreGetNoteSearchTextResult) GetSuccess() string

func (*NoteStoreGetNoteSearchTextResult) GetSystemException

func (p *NoteStoreGetNoteSearchTextResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetNoteSearchTextResult) GetUserException

func (p *NoteStoreGetNoteSearchTextResult) GetUserException() *EDAMUserException

func (*NoteStoreGetNoteSearchTextResult) IsSetNotFoundException

func (p *NoteStoreGetNoteSearchTextResult) IsSetNotFoundException() bool

func (*NoteStoreGetNoteSearchTextResult) IsSetSuccess

func (p *NoteStoreGetNoteSearchTextResult) IsSetSuccess() bool

func (*NoteStoreGetNoteSearchTextResult) IsSetSystemException

func (p *NoteStoreGetNoteSearchTextResult) IsSetSystemException() bool

func (*NoteStoreGetNoteSearchTextResult) IsSetUserException

func (p *NoteStoreGetNoteSearchTextResult) IsSetUserException() bool

func (*NoteStoreGetNoteSearchTextResult) Read

func (*NoteStoreGetNoteSearchTextResult) ReadField0

func (*NoteStoreGetNoteSearchTextResult) ReadField1

func (*NoteStoreGetNoteSearchTextResult) ReadField2

func (*NoteStoreGetNoteSearchTextResult) ReadField3

func (*NoteStoreGetNoteSearchTextResult) String

func (*NoteStoreGetNoteSearchTextResult) Write

type NoteStoreGetNoteTagNamesArgs

type NoteStoreGetNoteTagNamesArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetNoteTagNamesArgs

func NewNoteStoreGetNoteTagNamesArgs() *NoteStoreGetNoteTagNamesArgs

func (*NoteStoreGetNoteTagNamesArgs) GetAuthenticationToken

func (p *NoteStoreGetNoteTagNamesArgs) GetAuthenticationToken() string

func (*NoteStoreGetNoteTagNamesArgs) GetGUID

func (p *NoteStoreGetNoteTagNamesArgs) GetGUID() GUID

func (*NoteStoreGetNoteTagNamesArgs) Read

func (*NoteStoreGetNoteTagNamesArgs) ReadField1

func (p *NoteStoreGetNoteTagNamesArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteTagNamesArgs) ReadField2

func (p *NoteStoreGetNoteTagNamesArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteTagNamesArgs) String

func (*NoteStoreGetNoteTagNamesArgs) Write

type NoteStoreGetNoteTagNamesResult

type NoteStoreGetNoteTagNamesResult struct {
	Success           []string               `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetNoteTagNamesResult

func NewNoteStoreGetNoteTagNamesResult() *NoteStoreGetNoteTagNamesResult

func (*NoteStoreGetNoteTagNamesResult) GetNotFoundException

func (p *NoteStoreGetNoteTagNamesResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetNoteTagNamesResult) GetSuccess

func (p *NoteStoreGetNoteTagNamesResult) GetSuccess() []string

func (*NoteStoreGetNoteTagNamesResult) GetSystemException

func (p *NoteStoreGetNoteTagNamesResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetNoteTagNamesResult) GetUserException

func (p *NoteStoreGetNoteTagNamesResult) GetUserException() *EDAMUserException

func (*NoteStoreGetNoteTagNamesResult) IsSetNotFoundException

func (p *NoteStoreGetNoteTagNamesResult) IsSetNotFoundException() bool

func (*NoteStoreGetNoteTagNamesResult) IsSetSuccess

func (p *NoteStoreGetNoteTagNamesResult) IsSetSuccess() bool

func (*NoteStoreGetNoteTagNamesResult) IsSetSystemException

func (p *NoteStoreGetNoteTagNamesResult) IsSetSystemException() bool

func (*NoteStoreGetNoteTagNamesResult) IsSetUserException

func (p *NoteStoreGetNoteTagNamesResult) IsSetUserException() bool

func (*NoteStoreGetNoteTagNamesResult) Read

func (*NoteStoreGetNoteTagNamesResult) ReadField0

func (*NoteStoreGetNoteTagNamesResult) ReadField1

func (*NoteStoreGetNoteTagNamesResult) ReadField2

func (*NoteStoreGetNoteTagNamesResult) ReadField3

func (*NoteStoreGetNoteTagNamesResult) String

func (*NoteStoreGetNoteTagNamesResult) Write

type NoteStoreGetNoteVersionArgs

type NoteStoreGetNoteVersionArgs struct {
	AuthenticationToken        string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	NoteGuid                   GUID   `thrift:"noteGuid,2" db:"noteGuid" json:"noteGuid"`
	UpdateSequenceNum          int32  `thrift:"updateSequenceNum,3" db:"updateSequenceNum" json:"updateSequenceNum"`
	WithResourcesData          bool   `thrift:"withResourcesData,4" db:"withResourcesData" json:"withResourcesData"`
	WithResourcesRecognition   bool   `thrift:"withResourcesRecognition,5" db:"withResourcesRecognition" json:"withResourcesRecognition"`
	WithResourcesAlternateData bool   `thrift:"withResourcesAlternateData,6" db:"withResourcesAlternateData" json:"withResourcesAlternateData"`
}

Attributes:

  • AuthenticationToken
  • NoteGuid
  • UpdateSequenceNum
  • WithResourcesData
  • WithResourcesRecognition
  • WithResourcesAlternateData

func NewNoteStoreGetNoteVersionArgs

func NewNoteStoreGetNoteVersionArgs() *NoteStoreGetNoteVersionArgs

func (*NoteStoreGetNoteVersionArgs) GetAuthenticationToken

func (p *NoteStoreGetNoteVersionArgs) GetAuthenticationToken() string

func (*NoteStoreGetNoteVersionArgs) GetNoteGuid

func (p *NoteStoreGetNoteVersionArgs) GetNoteGuid() GUID

func (*NoteStoreGetNoteVersionArgs) GetUpdateSequenceNum

func (p *NoteStoreGetNoteVersionArgs) GetUpdateSequenceNum() int32

func (*NoteStoreGetNoteVersionArgs) GetWithResourcesAlternateData

func (p *NoteStoreGetNoteVersionArgs) GetWithResourcesAlternateData() bool

func (*NoteStoreGetNoteVersionArgs) GetWithResourcesData

func (p *NoteStoreGetNoteVersionArgs) GetWithResourcesData() bool

func (*NoteStoreGetNoteVersionArgs) GetWithResourcesRecognition

func (p *NoteStoreGetNoteVersionArgs) GetWithResourcesRecognition() bool

func (*NoteStoreGetNoteVersionArgs) Read

func (*NoteStoreGetNoteVersionArgs) ReadField1

func (p *NoteStoreGetNoteVersionArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteVersionArgs) ReadField2

func (p *NoteStoreGetNoteVersionArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteVersionArgs) ReadField3

func (p *NoteStoreGetNoteVersionArgs) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteVersionArgs) ReadField4

func (p *NoteStoreGetNoteVersionArgs) ReadField4(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteVersionArgs) ReadField5

func (p *NoteStoreGetNoteVersionArgs) ReadField5(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteVersionArgs) ReadField6

func (p *NoteStoreGetNoteVersionArgs) ReadField6(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteVersionArgs) String

func (p *NoteStoreGetNoteVersionArgs) String() string

func (*NoteStoreGetNoteVersionArgs) Write

type NoteStoreGetNoteVersionResult

type NoteStoreGetNoteVersionResult struct {
	Success           *Note                  `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetNoteVersionResult

func NewNoteStoreGetNoteVersionResult() *NoteStoreGetNoteVersionResult

func (*NoteStoreGetNoteVersionResult) GetNotFoundException

func (p *NoteStoreGetNoteVersionResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetNoteVersionResult) GetSuccess

func (p *NoteStoreGetNoteVersionResult) GetSuccess() *Note

func (*NoteStoreGetNoteVersionResult) GetSystemException

func (p *NoteStoreGetNoteVersionResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetNoteVersionResult) GetUserException

func (p *NoteStoreGetNoteVersionResult) GetUserException() *EDAMUserException

func (*NoteStoreGetNoteVersionResult) IsSetNotFoundException

func (p *NoteStoreGetNoteVersionResult) IsSetNotFoundException() bool

func (*NoteStoreGetNoteVersionResult) IsSetSuccess

func (p *NoteStoreGetNoteVersionResult) IsSetSuccess() bool

func (*NoteStoreGetNoteVersionResult) IsSetSystemException

func (p *NoteStoreGetNoteVersionResult) IsSetSystemException() bool

func (*NoteStoreGetNoteVersionResult) IsSetUserException

func (p *NoteStoreGetNoteVersionResult) IsSetUserException() bool

func (*NoteStoreGetNoteVersionResult) Read

func (*NoteStoreGetNoteVersionResult) ReadField0

func (p *NoteStoreGetNoteVersionResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteVersionResult) ReadField1

func (p *NoteStoreGetNoteVersionResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteVersionResult) ReadField2

func (p *NoteStoreGetNoteVersionResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteVersionResult) ReadField3

func (p *NoteStoreGetNoteVersionResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreGetNoteVersionResult) String

func (*NoteStoreGetNoteVersionResult) Write

type NoteStoreGetNoteWithResultSpecArgs

type NoteStoreGetNoteWithResultSpecArgs struct {
	AuthenticationToken string          `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID            `thrift:"guid,2" db:"guid" json:"guid"`
	ResultSpec          *NoteResultSpec `thrift:"resultSpec,3" db:"resultSpec" json:"resultSpec"`
}

Attributes:

  • AuthenticationToken
  • GUID
  • ResultSpec

func NewNoteStoreGetNoteWithResultSpecArgs

func NewNoteStoreGetNoteWithResultSpecArgs() *NoteStoreGetNoteWithResultSpecArgs

func (*NoteStoreGetNoteWithResultSpecArgs) GetAuthenticationToken

func (p *NoteStoreGetNoteWithResultSpecArgs) GetAuthenticationToken() string

func (*NoteStoreGetNoteWithResultSpecArgs) GetGUID

func (*NoteStoreGetNoteWithResultSpecArgs) GetResultSpec

func (*NoteStoreGetNoteWithResultSpecArgs) IsSetResultSpec

func (p *NoteStoreGetNoteWithResultSpecArgs) IsSetResultSpec() bool

func (*NoteStoreGetNoteWithResultSpecArgs) Read

func (*NoteStoreGetNoteWithResultSpecArgs) ReadField1

func (*NoteStoreGetNoteWithResultSpecArgs) ReadField2

func (*NoteStoreGetNoteWithResultSpecArgs) ReadField3

func (*NoteStoreGetNoteWithResultSpecArgs) String

func (*NoteStoreGetNoteWithResultSpecArgs) Write

type NoteStoreGetNoteWithResultSpecResult

type NoteStoreGetNoteWithResultSpecResult struct {
	Success           *Note                  `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetNoteWithResultSpecResult

func NewNoteStoreGetNoteWithResultSpecResult() *NoteStoreGetNoteWithResultSpecResult

func (*NoteStoreGetNoteWithResultSpecResult) GetNotFoundException

func (*NoteStoreGetNoteWithResultSpecResult) GetSuccess

func (p *NoteStoreGetNoteWithResultSpecResult) GetSuccess() *Note

func (*NoteStoreGetNoteWithResultSpecResult) GetSystemException

func (*NoteStoreGetNoteWithResultSpecResult) GetUserException

func (*NoteStoreGetNoteWithResultSpecResult) IsSetNotFoundException

func (p *NoteStoreGetNoteWithResultSpecResult) IsSetNotFoundException() bool

func (*NoteStoreGetNoteWithResultSpecResult) IsSetSuccess

func (p *NoteStoreGetNoteWithResultSpecResult) IsSetSuccess() bool

func (*NoteStoreGetNoteWithResultSpecResult) IsSetSystemException

func (p *NoteStoreGetNoteWithResultSpecResult) IsSetSystemException() bool

func (*NoteStoreGetNoteWithResultSpecResult) IsSetUserException

func (p *NoteStoreGetNoteWithResultSpecResult) IsSetUserException() bool

func (*NoteStoreGetNoteWithResultSpecResult) Read

func (*NoteStoreGetNoteWithResultSpecResult) ReadField0

func (*NoteStoreGetNoteWithResultSpecResult) ReadField1

func (*NoteStoreGetNoteWithResultSpecResult) ReadField2

func (*NoteStoreGetNoteWithResultSpecResult) ReadField3

func (*NoteStoreGetNoteWithResultSpecResult) String

func (*NoteStoreGetNoteWithResultSpecResult) Write

type NoteStoreGetNotebookArgs

type NoteStoreGetNotebookArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetNotebookArgs

func NewNoteStoreGetNotebookArgs() *NoteStoreGetNotebookArgs

func (*NoteStoreGetNotebookArgs) GetAuthenticationToken

func (p *NoteStoreGetNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreGetNotebookArgs) GetGUID

func (p *NoteStoreGetNotebookArgs) GetGUID() GUID

func (*NoteStoreGetNotebookArgs) Read

func (*NoteStoreGetNotebookArgs) ReadField1

func (p *NoteStoreGetNotebookArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetNotebookArgs) ReadField2

func (p *NoteStoreGetNotebookArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetNotebookArgs) String

func (p *NoteStoreGetNotebookArgs) String() string

func (*NoteStoreGetNotebookArgs) Write

type NoteStoreGetNotebookResult

type NoteStoreGetNotebookResult struct {
	Success           *Notebook              `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetNotebookResult

func NewNoteStoreGetNotebookResult() *NoteStoreGetNotebookResult

func (*NoteStoreGetNotebookResult) GetNotFoundException

func (p *NoteStoreGetNotebookResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetNotebookResult) GetSuccess

func (p *NoteStoreGetNotebookResult) GetSuccess() *Notebook

func (*NoteStoreGetNotebookResult) GetSystemException

func (p *NoteStoreGetNotebookResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetNotebookResult) GetUserException

func (p *NoteStoreGetNotebookResult) GetUserException() *EDAMUserException

func (*NoteStoreGetNotebookResult) IsSetNotFoundException

func (p *NoteStoreGetNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreGetNotebookResult) IsSetSuccess

func (p *NoteStoreGetNotebookResult) IsSetSuccess() bool

func (*NoteStoreGetNotebookResult) IsSetSystemException

func (p *NoteStoreGetNotebookResult) IsSetSystemException() bool

func (*NoteStoreGetNotebookResult) IsSetUserException

func (p *NoteStoreGetNotebookResult) IsSetUserException() bool

func (*NoteStoreGetNotebookResult) Read

func (*NoteStoreGetNotebookResult) ReadField0

func (p *NoteStoreGetNotebookResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreGetNotebookResult) ReadField1

func (p *NoteStoreGetNotebookResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetNotebookResult) ReadField2

func (p *NoteStoreGetNotebookResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetNotebookResult) ReadField3

func (p *NoteStoreGetNotebookResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreGetNotebookResult) String

func (p *NoteStoreGetNotebookResult) String() string

func (*NoteStoreGetNotebookResult) Write

type NoteStoreGetNotebookSharesArgs

type NoteStoreGetNotebookSharesArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	NotebookGuid        string `thrift:"notebookGuid,2" db:"notebookGuid" json:"notebookGuid"`
}

Attributes:

  • AuthenticationToken
  • NotebookGuid

func NewNoteStoreGetNotebookSharesArgs

func NewNoteStoreGetNotebookSharesArgs() *NoteStoreGetNotebookSharesArgs

func (*NoteStoreGetNotebookSharesArgs) GetAuthenticationToken

func (p *NoteStoreGetNotebookSharesArgs) GetAuthenticationToken() string

func (*NoteStoreGetNotebookSharesArgs) GetNotebookGuid

func (p *NoteStoreGetNotebookSharesArgs) GetNotebookGuid() string

func (*NoteStoreGetNotebookSharesArgs) Read

func (*NoteStoreGetNotebookSharesArgs) ReadField1

func (*NoteStoreGetNotebookSharesArgs) ReadField2

func (*NoteStoreGetNotebookSharesArgs) String

func (*NoteStoreGetNotebookSharesArgs) Write

type NoteStoreGetNotebookSharesResult

type NoteStoreGetNotebookSharesResult struct {
	Success           *ShareRelationships    `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreGetNotebookSharesResult

func NewNoteStoreGetNotebookSharesResult() *NoteStoreGetNotebookSharesResult

func (*NoteStoreGetNotebookSharesResult) GetNotFoundException

func (p *NoteStoreGetNotebookSharesResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetNotebookSharesResult) GetSuccess

func (*NoteStoreGetNotebookSharesResult) GetSystemException

func (p *NoteStoreGetNotebookSharesResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetNotebookSharesResult) GetUserException

func (p *NoteStoreGetNotebookSharesResult) GetUserException() *EDAMUserException

func (*NoteStoreGetNotebookSharesResult) IsSetNotFoundException

func (p *NoteStoreGetNotebookSharesResult) IsSetNotFoundException() bool

func (*NoteStoreGetNotebookSharesResult) IsSetSuccess

func (p *NoteStoreGetNotebookSharesResult) IsSetSuccess() bool

func (*NoteStoreGetNotebookSharesResult) IsSetSystemException

func (p *NoteStoreGetNotebookSharesResult) IsSetSystemException() bool

func (*NoteStoreGetNotebookSharesResult) IsSetUserException

func (p *NoteStoreGetNotebookSharesResult) IsSetUserException() bool

func (*NoteStoreGetNotebookSharesResult) Read

func (*NoteStoreGetNotebookSharesResult) ReadField0

func (*NoteStoreGetNotebookSharesResult) ReadField1

func (*NoteStoreGetNotebookSharesResult) ReadField2

func (*NoteStoreGetNotebookSharesResult) ReadField3

func (*NoteStoreGetNotebookSharesResult) String

func (*NoteStoreGetNotebookSharesResult) Write

type NoteStoreGetPublicNotebookArgs

type NoteStoreGetPublicNotebookArgs struct {
	UserId    UserID `thrift:"userId,1" db:"userId" json:"userId"`
	PublicUri string `thrift:"publicUri,2" db:"publicUri" json:"publicUri"`
}

Attributes:

  • UserId
  • PublicUri

func NewNoteStoreGetPublicNotebookArgs

func NewNoteStoreGetPublicNotebookArgs() *NoteStoreGetPublicNotebookArgs

func (*NoteStoreGetPublicNotebookArgs) GetPublicUri

func (p *NoteStoreGetPublicNotebookArgs) GetPublicUri() string

func (*NoteStoreGetPublicNotebookArgs) GetUserId

func (p *NoteStoreGetPublicNotebookArgs) GetUserId() UserID

func (*NoteStoreGetPublicNotebookArgs) Read

func (*NoteStoreGetPublicNotebookArgs) ReadField1

func (*NoteStoreGetPublicNotebookArgs) ReadField2

func (*NoteStoreGetPublicNotebookArgs) String

func (*NoteStoreGetPublicNotebookArgs) Write

type NoteStoreGetPublicNotebookResult

type NoteStoreGetPublicNotebookResult struct {
	Success           *Notebook              `thrift:"success,0" db:"success" json:"success,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,1" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • SystemException
  • NotFoundException

func NewNoteStoreGetPublicNotebookResult

func NewNoteStoreGetPublicNotebookResult() *NoteStoreGetPublicNotebookResult

func (*NoteStoreGetPublicNotebookResult) GetNotFoundException

func (p *NoteStoreGetPublicNotebookResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetPublicNotebookResult) GetSuccess

func (p *NoteStoreGetPublicNotebookResult) GetSuccess() *Notebook

func (*NoteStoreGetPublicNotebookResult) GetSystemException

func (p *NoteStoreGetPublicNotebookResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetPublicNotebookResult) IsSetNotFoundException

func (p *NoteStoreGetPublicNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreGetPublicNotebookResult) IsSetSuccess

func (p *NoteStoreGetPublicNotebookResult) IsSetSuccess() bool

func (*NoteStoreGetPublicNotebookResult) IsSetSystemException

func (p *NoteStoreGetPublicNotebookResult) IsSetSystemException() bool

func (*NoteStoreGetPublicNotebookResult) Read

func (*NoteStoreGetPublicNotebookResult) ReadField0

func (*NoteStoreGetPublicNotebookResult) ReadField1

func (*NoteStoreGetPublicNotebookResult) ReadField2

func (*NoteStoreGetPublicNotebookResult) String

func (*NoteStoreGetPublicNotebookResult) Write

type NoteStoreGetResourceAlternateDataArgs

type NoteStoreGetResourceAlternateDataArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetResourceAlternateDataArgs

func NewNoteStoreGetResourceAlternateDataArgs() *NoteStoreGetResourceAlternateDataArgs

func (*NoteStoreGetResourceAlternateDataArgs) GetAuthenticationToken

func (p *NoteStoreGetResourceAlternateDataArgs) GetAuthenticationToken() string

func (*NoteStoreGetResourceAlternateDataArgs) GetGUID

func (*NoteStoreGetResourceAlternateDataArgs) Read

func (*NoteStoreGetResourceAlternateDataArgs) ReadField1

func (*NoteStoreGetResourceAlternateDataArgs) ReadField2

func (*NoteStoreGetResourceAlternateDataArgs) String

func (*NoteStoreGetResourceAlternateDataArgs) Write

type NoteStoreGetResourceAlternateDataResult

type NoteStoreGetResourceAlternateDataResult struct {
	Success           []byte                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetResourceAlternateDataResult

func NewNoteStoreGetResourceAlternateDataResult() *NoteStoreGetResourceAlternateDataResult

func (*NoteStoreGetResourceAlternateDataResult) GetNotFoundException

func (*NoteStoreGetResourceAlternateDataResult) GetSuccess

func (*NoteStoreGetResourceAlternateDataResult) GetSystemException

func (*NoteStoreGetResourceAlternateDataResult) GetUserException

func (*NoteStoreGetResourceAlternateDataResult) IsSetNotFoundException

func (p *NoteStoreGetResourceAlternateDataResult) IsSetNotFoundException() bool

func (*NoteStoreGetResourceAlternateDataResult) IsSetSuccess

func (*NoteStoreGetResourceAlternateDataResult) IsSetSystemException

func (p *NoteStoreGetResourceAlternateDataResult) IsSetSystemException() bool

func (*NoteStoreGetResourceAlternateDataResult) IsSetUserException

func (p *NoteStoreGetResourceAlternateDataResult) IsSetUserException() bool

func (*NoteStoreGetResourceAlternateDataResult) Read

func (*NoteStoreGetResourceAlternateDataResult) ReadField0

func (*NoteStoreGetResourceAlternateDataResult) ReadField1

func (*NoteStoreGetResourceAlternateDataResult) ReadField2

func (*NoteStoreGetResourceAlternateDataResult) ReadField3

func (*NoteStoreGetResourceAlternateDataResult) String

func (*NoteStoreGetResourceAlternateDataResult) Write

type NoteStoreGetResourceApplicationDataArgs

type NoteStoreGetResourceApplicationDataArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetResourceApplicationDataArgs

func NewNoteStoreGetResourceApplicationDataArgs() *NoteStoreGetResourceApplicationDataArgs

func (*NoteStoreGetResourceApplicationDataArgs) GetAuthenticationToken

func (p *NoteStoreGetResourceApplicationDataArgs) GetAuthenticationToken() string

func (*NoteStoreGetResourceApplicationDataArgs) GetGUID

func (*NoteStoreGetResourceApplicationDataArgs) Read

func (*NoteStoreGetResourceApplicationDataArgs) ReadField1

func (*NoteStoreGetResourceApplicationDataArgs) ReadField2

func (*NoteStoreGetResourceApplicationDataArgs) String

func (*NoteStoreGetResourceApplicationDataArgs) Write

type NoteStoreGetResourceApplicationDataEntryArgs

type NoteStoreGetResourceApplicationDataEntryArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
	Key                 string `thrift:"key,3" db:"key" json:"key"`
}

Attributes:

  • AuthenticationToken
  • GUID
  • Key

func NewNoteStoreGetResourceApplicationDataEntryArgs

func NewNoteStoreGetResourceApplicationDataEntryArgs() *NoteStoreGetResourceApplicationDataEntryArgs

func (*NoteStoreGetResourceApplicationDataEntryArgs) GetAuthenticationToken

func (p *NoteStoreGetResourceApplicationDataEntryArgs) GetAuthenticationToken() string

func (*NoteStoreGetResourceApplicationDataEntryArgs) GetGUID

func (*NoteStoreGetResourceApplicationDataEntryArgs) GetKey

func (*NoteStoreGetResourceApplicationDataEntryArgs) Read

func (*NoteStoreGetResourceApplicationDataEntryArgs) ReadField1

func (*NoteStoreGetResourceApplicationDataEntryArgs) ReadField2

func (*NoteStoreGetResourceApplicationDataEntryArgs) ReadField3

func (*NoteStoreGetResourceApplicationDataEntryArgs) String

func (*NoteStoreGetResourceApplicationDataEntryArgs) Write

type NoteStoreGetResourceApplicationDataEntryResult

type NoteStoreGetResourceApplicationDataEntryResult struct {
	Success           *string                `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetResourceApplicationDataEntryResult

func NewNoteStoreGetResourceApplicationDataEntryResult() *NoteStoreGetResourceApplicationDataEntryResult

func (*NoteStoreGetResourceApplicationDataEntryResult) GetNotFoundException

func (*NoteStoreGetResourceApplicationDataEntryResult) GetSuccess

func (*NoteStoreGetResourceApplicationDataEntryResult) GetSystemException

func (*NoteStoreGetResourceApplicationDataEntryResult) GetUserException

func (*NoteStoreGetResourceApplicationDataEntryResult) IsSetNotFoundException

func (p *NoteStoreGetResourceApplicationDataEntryResult) IsSetNotFoundException() bool

func (*NoteStoreGetResourceApplicationDataEntryResult) IsSetSuccess

func (*NoteStoreGetResourceApplicationDataEntryResult) IsSetSystemException

func (p *NoteStoreGetResourceApplicationDataEntryResult) IsSetSystemException() bool

func (*NoteStoreGetResourceApplicationDataEntryResult) IsSetUserException

func (p *NoteStoreGetResourceApplicationDataEntryResult) IsSetUserException() bool

func (*NoteStoreGetResourceApplicationDataEntryResult) Read

func (*NoteStoreGetResourceApplicationDataEntryResult) ReadField0

func (*NoteStoreGetResourceApplicationDataEntryResult) ReadField1

func (*NoteStoreGetResourceApplicationDataEntryResult) ReadField2

func (*NoteStoreGetResourceApplicationDataEntryResult) ReadField3

func (*NoteStoreGetResourceApplicationDataEntryResult) String

func (*NoteStoreGetResourceApplicationDataEntryResult) Write

type NoteStoreGetResourceApplicationDataResult

type NoteStoreGetResourceApplicationDataResult struct {
	Success           *LazyMap               `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetResourceApplicationDataResult

func NewNoteStoreGetResourceApplicationDataResult() *NoteStoreGetResourceApplicationDataResult

func (*NoteStoreGetResourceApplicationDataResult) GetNotFoundException

func (*NoteStoreGetResourceApplicationDataResult) GetSuccess

func (*NoteStoreGetResourceApplicationDataResult) GetSystemException

func (*NoteStoreGetResourceApplicationDataResult) GetUserException

func (*NoteStoreGetResourceApplicationDataResult) IsSetNotFoundException

func (p *NoteStoreGetResourceApplicationDataResult) IsSetNotFoundException() bool

func (*NoteStoreGetResourceApplicationDataResult) IsSetSuccess

func (*NoteStoreGetResourceApplicationDataResult) IsSetSystemException

func (p *NoteStoreGetResourceApplicationDataResult) IsSetSystemException() bool

func (*NoteStoreGetResourceApplicationDataResult) IsSetUserException

func (p *NoteStoreGetResourceApplicationDataResult) IsSetUserException() bool

func (*NoteStoreGetResourceApplicationDataResult) Read

func (*NoteStoreGetResourceApplicationDataResult) ReadField0

func (*NoteStoreGetResourceApplicationDataResult) ReadField1

func (*NoteStoreGetResourceApplicationDataResult) ReadField2

func (*NoteStoreGetResourceApplicationDataResult) ReadField3

func (*NoteStoreGetResourceApplicationDataResult) String

func (*NoteStoreGetResourceApplicationDataResult) Write

type NoteStoreGetResourceArgs

type NoteStoreGetResourceArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
	WithData            bool   `thrift:"withData,3" db:"withData" json:"withData"`
	WithRecognition     bool   `thrift:"withRecognition,4" db:"withRecognition" json:"withRecognition"`
	WithAttributes      bool   `thrift:"withAttributes,5" db:"withAttributes" json:"withAttributes"`
	WithAlternateData   bool   `thrift:"withAlternateData,6" db:"withAlternateData" json:"withAlternateData"`
}

Attributes:

  • AuthenticationToken
  • GUID
  • WithData
  • WithRecognition
  • WithAttributes
  • WithAlternateData

func NewNoteStoreGetResourceArgs

func NewNoteStoreGetResourceArgs() *NoteStoreGetResourceArgs

func (*NoteStoreGetResourceArgs) GetAuthenticationToken

func (p *NoteStoreGetResourceArgs) GetAuthenticationToken() string

func (*NoteStoreGetResourceArgs) GetGUID

func (p *NoteStoreGetResourceArgs) GetGUID() GUID

func (*NoteStoreGetResourceArgs) GetWithAlternateData

func (p *NoteStoreGetResourceArgs) GetWithAlternateData() bool

func (*NoteStoreGetResourceArgs) GetWithAttributes

func (p *NoteStoreGetResourceArgs) GetWithAttributes() bool

func (*NoteStoreGetResourceArgs) GetWithData

func (p *NoteStoreGetResourceArgs) GetWithData() bool

func (*NoteStoreGetResourceArgs) GetWithRecognition

func (p *NoteStoreGetResourceArgs) GetWithRecognition() bool

func (*NoteStoreGetResourceArgs) Read

func (*NoteStoreGetResourceArgs) ReadField1

func (p *NoteStoreGetResourceArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceArgs) ReadField2

func (p *NoteStoreGetResourceArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceArgs) ReadField3

func (p *NoteStoreGetResourceArgs) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceArgs) ReadField4

func (p *NoteStoreGetResourceArgs) ReadField4(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceArgs) ReadField5

func (p *NoteStoreGetResourceArgs) ReadField5(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceArgs) ReadField6

func (p *NoteStoreGetResourceArgs) ReadField6(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceArgs) String

func (p *NoteStoreGetResourceArgs) String() string

func (*NoteStoreGetResourceArgs) Write

type NoteStoreGetResourceAttributesArgs

type NoteStoreGetResourceAttributesArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetResourceAttributesArgs

func NewNoteStoreGetResourceAttributesArgs() *NoteStoreGetResourceAttributesArgs

func (*NoteStoreGetResourceAttributesArgs) GetAuthenticationToken

func (p *NoteStoreGetResourceAttributesArgs) GetAuthenticationToken() string

func (*NoteStoreGetResourceAttributesArgs) GetGUID

func (*NoteStoreGetResourceAttributesArgs) Read

func (*NoteStoreGetResourceAttributesArgs) ReadField1

func (*NoteStoreGetResourceAttributesArgs) ReadField2

func (*NoteStoreGetResourceAttributesArgs) String

func (*NoteStoreGetResourceAttributesArgs) Write

type NoteStoreGetResourceAttributesResult

type NoteStoreGetResourceAttributesResult struct {
	Success           *ResourceAttributes    `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetResourceAttributesResult

func NewNoteStoreGetResourceAttributesResult() *NoteStoreGetResourceAttributesResult

func (*NoteStoreGetResourceAttributesResult) GetNotFoundException

func (*NoteStoreGetResourceAttributesResult) GetSuccess

func (*NoteStoreGetResourceAttributesResult) GetSystemException

func (*NoteStoreGetResourceAttributesResult) GetUserException

func (*NoteStoreGetResourceAttributesResult) IsSetNotFoundException

func (p *NoteStoreGetResourceAttributesResult) IsSetNotFoundException() bool

func (*NoteStoreGetResourceAttributesResult) IsSetSuccess

func (p *NoteStoreGetResourceAttributesResult) IsSetSuccess() bool

func (*NoteStoreGetResourceAttributesResult) IsSetSystemException

func (p *NoteStoreGetResourceAttributesResult) IsSetSystemException() bool

func (*NoteStoreGetResourceAttributesResult) IsSetUserException

func (p *NoteStoreGetResourceAttributesResult) IsSetUserException() bool

func (*NoteStoreGetResourceAttributesResult) Read

func (*NoteStoreGetResourceAttributesResult) ReadField0

func (*NoteStoreGetResourceAttributesResult) ReadField1

func (*NoteStoreGetResourceAttributesResult) ReadField2

func (*NoteStoreGetResourceAttributesResult) ReadField3

func (*NoteStoreGetResourceAttributesResult) String

func (*NoteStoreGetResourceAttributesResult) Write

type NoteStoreGetResourceByHashArgs

type NoteStoreGetResourceByHashArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	NoteGuid            GUID   `thrift:"noteGuid,2" db:"noteGuid" json:"noteGuid"`
	ContentHash         []byte `thrift:"contentHash,3" db:"contentHash" json:"contentHash"`
	WithData            bool   `thrift:"withData,4" db:"withData" json:"withData"`
	WithRecognition     bool   `thrift:"withRecognition,5" db:"withRecognition" json:"withRecognition"`
	WithAlternateData   bool   `thrift:"withAlternateData,6" db:"withAlternateData" json:"withAlternateData"`
}

Attributes:

  • AuthenticationToken
  • NoteGuid
  • ContentHash
  • WithData
  • WithRecognition
  • WithAlternateData

func NewNoteStoreGetResourceByHashArgs

func NewNoteStoreGetResourceByHashArgs() *NoteStoreGetResourceByHashArgs

func (*NoteStoreGetResourceByHashArgs) GetAuthenticationToken

func (p *NoteStoreGetResourceByHashArgs) GetAuthenticationToken() string

func (*NoteStoreGetResourceByHashArgs) GetContentHash

func (p *NoteStoreGetResourceByHashArgs) GetContentHash() []byte

func (*NoteStoreGetResourceByHashArgs) GetNoteGuid

func (p *NoteStoreGetResourceByHashArgs) GetNoteGuid() GUID

func (*NoteStoreGetResourceByHashArgs) GetWithAlternateData

func (p *NoteStoreGetResourceByHashArgs) GetWithAlternateData() bool

func (*NoteStoreGetResourceByHashArgs) GetWithData

func (p *NoteStoreGetResourceByHashArgs) GetWithData() bool

func (*NoteStoreGetResourceByHashArgs) GetWithRecognition

func (p *NoteStoreGetResourceByHashArgs) GetWithRecognition() bool

func (*NoteStoreGetResourceByHashArgs) Read

func (*NoteStoreGetResourceByHashArgs) ReadField1

func (*NoteStoreGetResourceByHashArgs) ReadField2

func (*NoteStoreGetResourceByHashArgs) ReadField3

func (*NoteStoreGetResourceByHashArgs) ReadField4

func (*NoteStoreGetResourceByHashArgs) ReadField5

func (*NoteStoreGetResourceByHashArgs) ReadField6

func (*NoteStoreGetResourceByHashArgs) String

func (*NoteStoreGetResourceByHashArgs) Write

type NoteStoreGetResourceByHashResult

type NoteStoreGetResourceByHashResult struct {
	Success           *Resource              `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetResourceByHashResult

func NewNoteStoreGetResourceByHashResult() *NoteStoreGetResourceByHashResult

func (*NoteStoreGetResourceByHashResult) GetNotFoundException

func (p *NoteStoreGetResourceByHashResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetResourceByHashResult) GetSuccess

func (p *NoteStoreGetResourceByHashResult) GetSuccess() *Resource

func (*NoteStoreGetResourceByHashResult) GetSystemException

func (p *NoteStoreGetResourceByHashResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetResourceByHashResult) GetUserException

func (p *NoteStoreGetResourceByHashResult) GetUserException() *EDAMUserException

func (*NoteStoreGetResourceByHashResult) IsSetNotFoundException

func (p *NoteStoreGetResourceByHashResult) IsSetNotFoundException() bool

func (*NoteStoreGetResourceByHashResult) IsSetSuccess

func (p *NoteStoreGetResourceByHashResult) IsSetSuccess() bool

func (*NoteStoreGetResourceByHashResult) IsSetSystemException

func (p *NoteStoreGetResourceByHashResult) IsSetSystemException() bool

func (*NoteStoreGetResourceByHashResult) IsSetUserException

func (p *NoteStoreGetResourceByHashResult) IsSetUserException() bool

func (*NoteStoreGetResourceByHashResult) Read

func (*NoteStoreGetResourceByHashResult) ReadField0

func (*NoteStoreGetResourceByHashResult) ReadField1

func (*NoteStoreGetResourceByHashResult) ReadField2

func (*NoteStoreGetResourceByHashResult) ReadField3

func (*NoteStoreGetResourceByHashResult) String

func (*NoteStoreGetResourceByHashResult) Write

type NoteStoreGetResourceDataArgs

type NoteStoreGetResourceDataArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetResourceDataArgs

func NewNoteStoreGetResourceDataArgs() *NoteStoreGetResourceDataArgs

func (*NoteStoreGetResourceDataArgs) GetAuthenticationToken

func (p *NoteStoreGetResourceDataArgs) GetAuthenticationToken() string

func (*NoteStoreGetResourceDataArgs) GetGUID

func (p *NoteStoreGetResourceDataArgs) GetGUID() GUID

func (*NoteStoreGetResourceDataArgs) Read

func (*NoteStoreGetResourceDataArgs) ReadField1

func (p *NoteStoreGetResourceDataArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceDataArgs) ReadField2

func (p *NoteStoreGetResourceDataArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceDataArgs) String

func (*NoteStoreGetResourceDataArgs) Write

type NoteStoreGetResourceDataResult

type NoteStoreGetResourceDataResult struct {
	Success           []byte                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetResourceDataResult

func NewNoteStoreGetResourceDataResult() *NoteStoreGetResourceDataResult

func (*NoteStoreGetResourceDataResult) GetNotFoundException

func (p *NoteStoreGetResourceDataResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetResourceDataResult) GetSuccess

func (p *NoteStoreGetResourceDataResult) GetSuccess() []byte

func (*NoteStoreGetResourceDataResult) GetSystemException

func (p *NoteStoreGetResourceDataResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetResourceDataResult) GetUserException

func (p *NoteStoreGetResourceDataResult) GetUserException() *EDAMUserException

func (*NoteStoreGetResourceDataResult) IsSetNotFoundException

func (p *NoteStoreGetResourceDataResult) IsSetNotFoundException() bool

func (*NoteStoreGetResourceDataResult) IsSetSuccess

func (p *NoteStoreGetResourceDataResult) IsSetSuccess() bool

func (*NoteStoreGetResourceDataResult) IsSetSystemException

func (p *NoteStoreGetResourceDataResult) IsSetSystemException() bool

func (*NoteStoreGetResourceDataResult) IsSetUserException

func (p *NoteStoreGetResourceDataResult) IsSetUserException() bool

func (*NoteStoreGetResourceDataResult) Read

func (*NoteStoreGetResourceDataResult) ReadField0

func (*NoteStoreGetResourceDataResult) ReadField1

func (*NoteStoreGetResourceDataResult) ReadField2

func (*NoteStoreGetResourceDataResult) ReadField3

func (*NoteStoreGetResourceDataResult) String

func (*NoteStoreGetResourceDataResult) Write

type NoteStoreGetResourceRecognitionArgs

type NoteStoreGetResourceRecognitionArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetResourceRecognitionArgs

func NewNoteStoreGetResourceRecognitionArgs() *NoteStoreGetResourceRecognitionArgs

func (*NoteStoreGetResourceRecognitionArgs) GetAuthenticationToken

func (p *NoteStoreGetResourceRecognitionArgs) GetAuthenticationToken() string

func (*NoteStoreGetResourceRecognitionArgs) GetGUID

func (*NoteStoreGetResourceRecognitionArgs) Read

func (*NoteStoreGetResourceRecognitionArgs) ReadField1

func (*NoteStoreGetResourceRecognitionArgs) ReadField2

func (*NoteStoreGetResourceRecognitionArgs) String

func (*NoteStoreGetResourceRecognitionArgs) Write

type NoteStoreGetResourceRecognitionResult

type NoteStoreGetResourceRecognitionResult struct {
	Success           []byte                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetResourceRecognitionResult

func NewNoteStoreGetResourceRecognitionResult() *NoteStoreGetResourceRecognitionResult

func (*NoteStoreGetResourceRecognitionResult) GetNotFoundException

func (*NoteStoreGetResourceRecognitionResult) GetSuccess

func (p *NoteStoreGetResourceRecognitionResult) GetSuccess() []byte

func (*NoteStoreGetResourceRecognitionResult) GetSystemException

func (*NoteStoreGetResourceRecognitionResult) GetUserException

func (*NoteStoreGetResourceRecognitionResult) IsSetNotFoundException

func (p *NoteStoreGetResourceRecognitionResult) IsSetNotFoundException() bool

func (*NoteStoreGetResourceRecognitionResult) IsSetSuccess

func (p *NoteStoreGetResourceRecognitionResult) IsSetSuccess() bool

func (*NoteStoreGetResourceRecognitionResult) IsSetSystemException

func (p *NoteStoreGetResourceRecognitionResult) IsSetSystemException() bool

func (*NoteStoreGetResourceRecognitionResult) IsSetUserException

func (p *NoteStoreGetResourceRecognitionResult) IsSetUserException() bool

func (*NoteStoreGetResourceRecognitionResult) Read

func (*NoteStoreGetResourceRecognitionResult) ReadField0

func (*NoteStoreGetResourceRecognitionResult) ReadField1

func (*NoteStoreGetResourceRecognitionResult) ReadField2

func (*NoteStoreGetResourceRecognitionResult) ReadField3

func (*NoteStoreGetResourceRecognitionResult) String

func (*NoteStoreGetResourceRecognitionResult) Write

type NoteStoreGetResourceResult

type NoteStoreGetResourceResult struct {
	Success           *Resource              `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetResourceResult

func NewNoteStoreGetResourceResult() *NoteStoreGetResourceResult

func (*NoteStoreGetResourceResult) GetNotFoundException

func (p *NoteStoreGetResourceResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetResourceResult) GetSuccess

func (p *NoteStoreGetResourceResult) GetSuccess() *Resource

func (*NoteStoreGetResourceResult) GetSystemException

func (p *NoteStoreGetResourceResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetResourceResult) GetUserException

func (p *NoteStoreGetResourceResult) GetUserException() *EDAMUserException

func (*NoteStoreGetResourceResult) IsSetNotFoundException

func (p *NoteStoreGetResourceResult) IsSetNotFoundException() bool

func (*NoteStoreGetResourceResult) IsSetSuccess

func (p *NoteStoreGetResourceResult) IsSetSuccess() bool

func (*NoteStoreGetResourceResult) IsSetSystemException

func (p *NoteStoreGetResourceResult) IsSetSystemException() bool

func (*NoteStoreGetResourceResult) IsSetUserException

func (p *NoteStoreGetResourceResult) IsSetUserException() bool

func (*NoteStoreGetResourceResult) Read

func (*NoteStoreGetResourceResult) ReadField0

func (p *NoteStoreGetResourceResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceResult) ReadField1

func (p *NoteStoreGetResourceResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceResult) ReadField2

func (p *NoteStoreGetResourceResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceResult) ReadField3

func (p *NoteStoreGetResourceResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreGetResourceResult) String

func (p *NoteStoreGetResourceResult) String() string

func (*NoteStoreGetResourceResult) Write

type NoteStoreGetResourceSearchTextArgs

type NoteStoreGetResourceSearchTextArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetResourceSearchTextArgs

func NewNoteStoreGetResourceSearchTextArgs() *NoteStoreGetResourceSearchTextArgs

func (*NoteStoreGetResourceSearchTextArgs) GetAuthenticationToken

func (p *NoteStoreGetResourceSearchTextArgs) GetAuthenticationToken() string

func (*NoteStoreGetResourceSearchTextArgs) GetGUID

func (*NoteStoreGetResourceSearchTextArgs) Read

func (*NoteStoreGetResourceSearchTextArgs) ReadField1

func (*NoteStoreGetResourceSearchTextArgs) ReadField2

func (*NoteStoreGetResourceSearchTextArgs) String

func (*NoteStoreGetResourceSearchTextArgs) Write

type NoteStoreGetResourceSearchTextResult

type NoteStoreGetResourceSearchTextResult struct {
	Success           *string                `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetResourceSearchTextResult

func NewNoteStoreGetResourceSearchTextResult() *NoteStoreGetResourceSearchTextResult

func (*NoteStoreGetResourceSearchTextResult) GetNotFoundException

func (*NoteStoreGetResourceSearchTextResult) GetSuccess

func (*NoteStoreGetResourceSearchTextResult) GetSystemException

func (*NoteStoreGetResourceSearchTextResult) GetUserException

func (*NoteStoreGetResourceSearchTextResult) IsSetNotFoundException

func (p *NoteStoreGetResourceSearchTextResult) IsSetNotFoundException() bool

func (*NoteStoreGetResourceSearchTextResult) IsSetSuccess

func (p *NoteStoreGetResourceSearchTextResult) IsSetSuccess() bool

func (*NoteStoreGetResourceSearchTextResult) IsSetSystemException

func (p *NoteStoreGetResourceSearchTextResult) IsSetSystemException() bool

func (*NoteStoreGetResourceSearchTextResult) IsSetUserException

func (p *NoteStoreGetResourceSearchTextResult) IsSetUserException() bool

func (*NoteStoreGetResourceSearchTextResult) Read

func (*NoteStoreGetResourceSearchTextResult) ReadField0

func (*NoteStoreGetResourceSearchTextResult) ReadField1

func (*NoteStoreGetResourceSearchTextResult) ReadField2

func (*NoteStoreGetResourceSearchTextResult) ReadField3

func (*NoteStoreGetResourceSearchTextResult) String

func (*NoteStoreGetResourceSearchTextResult) Write

type NoteStoreGetSearchArgs

type NoteStoreGetSearchArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetSearchArgs

func NewNoteStoreGetSearchArgs() *NoteStoreGetSearchArgs

func (*NoteStoreGetSearchArgs) GetAuthenticationToken

func (p *NoteStoreGetSearchArgs) GetAuthenticationToken() string

func (*NoteStoreGetSearchArgs) GetGUID

func (p *NoteStoreGetSearchArgs) GetGUID() GUID

func (*NoteStoreGetSearchArgs) Read

func (*NoteStoreGetSearchArgs) ReadField1

func (p *NoteStoreGetSearchArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetSearchArgs) ReadField2

func (p *NoteStoreGetSearchArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetSearchArgs) String

func (p *NoteStoreGetSearchArgs) String() string

func (*NoteStoreGetSearchArgs) Write

func (p *NoteStoreGetSearchArgs) Write(oprot thrift.TProtocol) error

type NoteStoreGetSearchResult

type NoteStoreGetSearchResult struct {
	Success           *SavedSearch           `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetSearchResult

func NewNoteStoreGetSearchResult() *NoteStoreGetSearchResult

func (*NoteStoreGetSearchResult) GetNotFoundException

func (p *NoteStoreGetSearchResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetSearchResult) GetSuccess

func (p *NoteStoreGetSearchResult) GetSuccess() *SavedSearch

func (*NoteStoreGetSearchResult) GetSystemException

func (p *NoteStoreGetSearchResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetSearchResult) GetUserException

func (p *NoteStoreGetSearchResult) GetUserException() *EDAMUserException

func (*NoteStoreGetSearchResult) IsSetNotFoundException

func (p *NoteStoreGetSearchResult) IsSetNotFoundException() bool

func (*NoteStoreGetSearchResult) IsSetSuccess

func (p *NoteStoreGetSearchResult) IsSetSuccess() bool

func (*NoteStoreGetSearchResult) IsSetSystemException

func (p *NoteStoreGetSearchResult) IsSetSystemException() bool

func (*NoteStoreGetSearchResult) IsSetUserException

func (p *NoteStoreGetSearchResult) IsSetUserException() bool

func (*NoteStoreGetSearchResult) Read

func (*NoteStoreGetSearchResult) ReadField0

func (p *NoteStoreGetSearchResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreGetSearchResult) ReadField1

func (p *NoteStoreGetSearchResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetSearchResult) ReadField2

func (p *NoteStoreGetSearchResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetSearchResult) ReadField3

func (p *NoteStoreGetSearchResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreGetSearchResult) String

func (p *NoteStoreGetSearchResult) String() string

func (*NoteStoreGetSearchResult) Write

type NoteStoreGetSharedNotebookByAuthArgs

type NoteStoreGetSharedNotebookByAuthArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewNoteStoreGetSharedNotebookByAuthArgs

func NewNoteStoreGetSharedNotebookByAuthArgs() *NoteStoreGetSharedNotebookByAuthArgs

func (*NoteStoreGetSharedNotebookByAuthArgs) GetAuthenticationToken

func (p *NoteStoreGetSharedNotebookByAuthArgs) GetAuthenticationToken() string

func (*NoteStoreGetSharedNotebookByAuthArgs) Read

func (*NoteStoreGetSharedNotebookByAuthArgs) ReadField1

func (*NoteStoreGetSharedNotebookByAuthArgs) String

func (*NoteStoreGetSharedNotebookByAuthArgs) Write

type NoteStoreGetSharedNotebookByAuthResult

type NoteStoreGetSharedNotebookByAuthResult struct {
	Success           *SharedNotebook        `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreGetSharedNotebookByAuthResult

func NewNoteStoreGetSharedNotebookByAuthResult() *NoteStoreGetSharedNotebookByAuthResult

func (*NoteStoreGetSharedNotebookByAuthResult) GetNotFoundException

func (*NoteStoreGetSharedNotebookByAuthResult) GetSuccess

func (*NoteStoreGetSharedNotebookByAuthResult) GetSystemException

func (*NoteStoreGetSharedNotebookByAuthResult) GetUserException

func (*NoteStoreGetSharedNotebookByAuthResult) IsSetNotFoundException

func (p *NoteStoreGetSharedNotebookByAuthResult) IsSetNotFoundException() bool

func (*NoteStoreGetSharedNotebookByAuthResult) IsSetSuccess

func (p *NoteStoreGetSharedNotebookByAuthResult) IsSetSuccess() bool

func (*NoteStoreGetSharedNotebookByAuthResult) IsSetSystemException

func (p *NoteStoreGetSharedNotebookByAuthResult) IsSetSystemException() bool

func (*NoteStoreGetSharedNotebookByAuthResult) IsSetUserException

func (p *NoteStoreGetSharedNotebookByAuthResult) IsSetUserException() bool

func (*NoteStoreGetSharedNotebookByAuthResult) Read

func (*NoteStoreGetSharedNotebookByAuthResult) ReadField0

func (*NoteStoreGetSharedNotebookByAuthResult) ReadField1

func (*NoteStoreGetSharedNotebookByAuthResult) ReadField2

func (*NoteStoreGetSharedNotebookByAuthResult) ReadField3

func (*NoteStoreGetSharedNotebookByAuthResult) String

func (*NoteStoreGetSharedNotebookByAuthResult) Write

type NoteStoreGetSyncStateArgs

type NoteStoreGetSyncStateArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewNoteStoreGetSyncStateArgs

func NewNoteStoreGetSyncStateArgs() *NoteStoreGetSyncStateArgs

func (*NoteStoreGetSyncStateArgs) GetAuthenticationToken

func (p *NoteStoreGetSyncStateArgs) GetAuthenticationToken() string

func (*NoteStoreGetSyncStateArgs) Read

func (*NoteStoreGetSyncStateArgs) ReadField1

func (p *NoteStoreGetSyncStateArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetSyncStateArgs) String

func (p *NoteStoreGetSyncStateArgs) String() string

func (*NoteStoreGetSyncStateArgs) Write

type NoteStoreGetSyncStateResult

type NoteStoreGetSyncStateResult struct {
	Success         *SyncState           `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewNoteStoreGetSyncStateResult

func NewNoteStoreGetSyncStateResult() *NoteStoreGetSyncStateResult

func (*NoteStoreGetSyncStateResult) GetSuccess

func (p *NoteStoreGetSyncStateResult) GetSuccess() *SyncState

func (*NoteStoreGetSyncStateResult) GetSystemException

func (p *NoteStoreGetSyncStateResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetSyncStateResult) GetUserException

func (p *NoteStoreGetSyncStateResult) GetUserException() *EDAMUserException

func (*NoteStoreGetSyncStateResult) IsSetSuccess

func (p *NoteStoreGetSyncStateResult) IsSetSuccess() bool

func (*NoteStoreGetSyncStateResult) IsSetSystemException

func (p *NoteStoreGetSyncStateResult) IsSetSystemException() bool

func (*NoteStoreGetSyncStateResult) IsSetUserException

func (p *NoteStoreGetSyncStateResult) IsSetUserException() bool

func (*NoteStoreGetSyncStateResult) Read

func (*NoteStoreGetSyncStateResult) ReadField0

func (p *NoteStoreGetSyncStateResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreGetSyncStateResult) ReadField1

func (p *NoteStoreGetSyncStateResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetSyncStateResult) ReadField2

func (p *NoteStoreGetSyncStateResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetSyncStateResult) String

func (p *NoteStoreGetSyncStateResult) String() string

func (*NoteStoreGetSyncStateResult) Write

type NoteStoreGetTagArgs

type NoteStoreGetTagArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreGetTagArgs

func NewNoteStoreGetTagArgs() *NoteStoreGetTagArgs

func (*NoteStoreGetTagArgs) GetAuthenticationToken

func (p *NoteStoreGetTagArgs) GetAuthenticationToken() string

func (*NoteStoreGetTagArgs) GetGUID

func (p *NoteStoreGetTagArgs) GetGUID() GUID

func (*NoteStoreGetTagArgs) Read

func (p *NoteStoreGetTagArgs) Read(iprot thrift.TProtocol) error

func (*NoteStoreGetTagArgs) ReadField1

func (p *NoteStoreGetTagArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetTagArgs) ReadField2

func (p *NoteStoreGetTagArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetTagArgs) String

func (p *NoteStoreGetTagArgs) String() string

func (*NoteStoreGetTagArgs) Write

func (p *NoteStoreGetTagArgs) Write(oprot thrift.TProtocol) error

type NoteStoreGetTagResult

type NoteStoreGetTagResult struct {
	Success           *Tag                   `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreGetTagResult

func NewNoteStoreGetTagResult() *NoteStoreGetTagResult

func (*NoteStoreGetTagResult) GetNotFoundException

func (p *NoteStoreGetTagResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreGetTagResult) GetSuccess

func (p *NoteStoreGetTagResult) GetSuccess() *Tag

func (*NoteStoreGetTagResult) GetSystemException

func (p *NoteStoreGetTagResult) GetSystemException() *EDAMSystemException

func (*NoteStoreGetTagResult) GetUserException

func (p *NoteStoreGetTagResult) GetUserException() *EDAMUserException

func (*NoteStoreGetTagResult) IsSetNotFoundException

func (p *NoteStoreGetTagResult) IsSetNotFoundException() bool

func (*NoteStoreGetTagResult) IsSetSuccess

func (p *NoteStoreGetTagResult) IsSetSuccess() bool

func (*NoteStoreGetTagResult) IsSetSystemException

func (p *NoteStoreGetTagResult) IsSetSystemException() bool

func (*NoteStoreGetTagResult) IsSetUserException

func (p *NoteStoreGetTagResult) IsSetUserException() bool

func (*NoteStoreGetTagResult) Read

func (*NoteStoreGetTagResult) ReadField0

func (p *NoteStoreGetTagResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreGetTagResult) ReadField1

func (p *NoteStoreGetTagResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreGetTagResult) ReadField2

func (p *NoteStoreGetTagResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreGetTagResult) ReadField3

func (p *NoteStoreGetTagResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreGetTagResult) String

func (p *NoteStoreGetTagResult) String() string

func (*NoteStoreGetTagResult) Write

func (p *NoteStoreGetTagResult) Write(oprot thrift.TProtocol) error

type NoteStoreListAccessibleBusinessNotebooksArgs

type NoteStoreListAccessibleBusinessNotebooksArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewNoteStoreListAccessibleBusinessNotebooksArgs

func NewNoteStoreListAccessibleBusinessNotebooksArgs() *NoteStoreListAccessibleBusinessNotebooksArgs

func (*NoteStoreListAccessibleBusinessNotebooksArgs) GetAuthenticationToken

func (p *NoteStoreListAccessibleBusinessNotebooksArgs) GetAuthenticationToken() string

func (*NoteStoreListAccessibleBusinessNotebooksArgs) Read

func (*NoteStoreListAccessibleBusinessNotebooksArgs) ReadField1

func (*NoteStoreListAccessibleBusinessNotebooksArgs) String

func (*NoteStoreListAccessibleBusinessNotebooksArgs) Write

type NoteStoreListAccessibleBusinessNotebooksResult

type NoteStoreListAccessibleBusinessNotebooksResult struct {
	Success         []*Notebook          `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewNoteStoreListAccessibleBusinessNotebooksResult

func NewNoteStoreListAccessibleBusinessNotebooksResult() *NoteStoreListAccessibleBusinessNotebooksResult

func (*NoteStoreListAccessibleBusinessNotebooksResult) GetSuccess

func (*NoteStoreListAccessibleBusinessNotebooksResult) GetSystemException

func (*NoteStoreListAccessibleBusinessNotebooksResult) GetUserException

func (*NoteStoreListAccessibleBusinessNotebooksResult) IsSetSuccess

func (*NoteStoreListAccessibleBusinessNotebooksResult) IsSetSystemException

func (p *NoteStoreListAccessibleBusinessNotebooksResult) IsSetSystemException() bool

func (*NoteStoreListAccessibleBusinessNotebooksResult) IsSetUserException

func (p *NoteStoreListAccessibleBusinessNotebooksResult) IsSetUserException() bool

func (*NoteStoreListAccessibleBusinessNotebooksResult) Read

func (*NoteStoreListAccessibleBusinessNotebooksResult) ReadField0

func (*NoteStoreListAccessibleBusinessNotebooksResult) ReadField1

func (*NoteStoreListAccessibleBusinessNotebooksResult) ReadField2

func (*NoteStoreListAccessibleBusinessNotebooksResult) String

func (*NoteStoreListAccessibleBusinessNotebooksResult) Write

type NoteStoreListLinkedNotebooksArgs

type NoteStoreListLinkedNotebooksArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewNoteStoreListLinkedNotebooksArgs

func NewNoteStoreListLinkedNotebooksArgs() *NoteStoreListLinkedNotebooksArgs

func (*NoteStoreListLinkedNotebooksArgs) GetAuthenticationToken

func (p *NoteStoreListLinkedNotebooksArgs) GetAuthenticationToken() string

func (*NoteStoreListLinkedNotebooksArgs) Read

func (*NoteStoreListLinkedNotebooksArgs) ReadField1

func (*NoteStoreListLinkedNotebooksArgs) String

func (*NoteStoreListLinkedNotebooksArgs) Write

type NoteStoreListLinkedNotebooksResult

type NoteStoreListLinkedNotebooksResult struct {
	Success           []*LinkedNotebook      `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreListLinkedNotebooksResult

func NewNoteStoreListLinkedNotebooksResult() *NoteStoreListLinkedNotebooksResult

func (*NoteStoreListLinkedNotebooksResult) GetNotFoundException

func (p *NoteStoreListLinkedNotebooksResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreListLinkedNotebooksResult) GetSuccess

func (*NoteStoreListLinkedNotebooksResult) GetSystemException

func (*NoteStoreListLinkedNotebooksResult) GetUserException

func (*NoteStoreListLinkedNotebooksResult) IsSetNotFoundException

func (p *NoteStoreListLinkedNotebooksResult) IsSetNotFoundException() bool

func (*NoteStoreListLinkedNotebooksResult) IsSetSuccess

func (p *NoteStoreListLinkedNotebooksResult) IsSetSuccess() bool

func (*NoteStoreListLinkedNotebooksResult) IsSetSystemException

func (p *NoteStoreListLinkedNotebooksResult) IsSetSystemException() bool

func (*NoteStoreListLinkedNotebooksResult) IsSetUserException

func (p *NoteStoreListLinkedNotebooksResult) IsSetUserException() bool

func (*NoteStoreListLinkedNotebooksResult) Read

func (*NoteStoreListLinkedNotebooksResult) ReadField0

func (*NoteStoreListLinkedNotebooksResult) ReadField1

func (*NoteStoreListLinkedNotebooksResult) ReadField2

func (*NoteStoreListLinkedNotebooksResult) ReadField3

func (*NoteStoreListLinkedNotebooksResult) String

func (*NoteStoreListLinkedNotebooksResult) Write

type NoteStoreListNoteVersionsArgs

type NoteStoreListNoteVersionsArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	NoteGuid            GUID   `thrift:"noteGuid,2" db:"noteGuid" json:"noteGuid"`
}

Attributes:

  • AuthenticationToken
  • NoteGuid

func NewNoteStoreListNoteVersionsArgs

func NewNoteStoreListNoteVersionsArgs() *NoteStoreListNoteVersionsArgs

func (*NoteStoreListNoteVersionsArgs) GetAuthenticationToken

func (p *NoteStoreListNoteVersionsArgs) GetAuthenticationToken() string

func (*NoteStoreListNoteVersionsArgs) GetNoteGuid

func (p *NoteStoreListNoteVersionsArgs) GetNoteGuid() GUID

func (*NoteStoreListNoteVersionsArgs) Read

func (*NoteStoreListNoteVersionsArgs) ReadField1

func (p *NoteStoreListNoteVersionsArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreListNoteVersionsArgs) ReadField2

func (p *NoteStoreListNoteVersionsArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreListNoteVersionsArgs) String

func (*NoteStoreListNoteVersionsArgs) Write

type NoteStoreListNoteVersionsResult

type NoteStoreListNoteVersionsResult struct {
	Success           []*NoteVersionId       `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreListNoteVersionsResult

func NewNoteStoreListNoteVersionsResult() *NoteStoreListNoteVersionsResult

func (*NoteStoreListNoteVersionsResult) GetNotFoundException

func (p *NoteStoreListNoteVersionsResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreListNoteVersionsResult) GetSuccess

func (*NoteStoreListNoteVersionsResult) GetSystemException

func (p *NoteStoreListNoteVersionsResult) GetSystemException() *EDAMSystemException

func (*NoteStoreListNoteVersionsResult) GetUserException

func (p *NoteStoreListNoteVersionsResult) GetUserException() *EDAMUserException

func (*NoteStoreListNoteVersionsResult) IsSetNotFoundException

func (p *NoteStoreListNoteVersionsResult) IsSetNotFoundException() bool

func (*NoteStoreListNoteVersionsResult) IsSetSuccess

func (p *NoteStoreListNoteVersionsResult) IsSetSuccess() bool

func (*NoteStoreListNoteVersionsResult) IsSetSystemException

func (p *NoteStoreListNoteVersionsResult) IsSetSystemException() bool

func (*NoteStoreListNoteVersionsResult) IsSetUserException

func (p *NoteStoreListNoteVersionsResult) IsSetUserException() bool

func (*NoteStoreListNoteVersionsResult) Read

func (*NoteStoreListNoteVersionsResult) ReadField0

func (*NoteStoreListNoteVersionsResult) ReadField1

func (*NoteStoreListNoteVersionsResult) ReadField2

func (*NoteStoreListNoteVersionsResult) ReadField3

func (*NoteStoreListNoteVersionsResult) String

func (*NoteStoreListNoteVersionsResult) Write

type NoteStoreListNotebooksArgs

type NoteStoreListNotebooksArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewNoteStoreListNotebooksArgs

func NewNoteStoreListNotebooksArgs() *NoteStoreListNotebooksArgs

func (*NoteStoreListNotebooksArgs) GetAuthenticationToken

func (p *NoteStoreListNotebooksArgs) GetAuthenticationToken() string

func (*NoteStoreListNotebooksArgs) Read

func (*NoteStoreListNotebooksArgs) ReadField1

func (p *NoteStoreListNotebooksArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreListNotebooksArgs) String

func (p *NoteStoreListNotebooksArgs) String() string

func (*NoteStoreListNotebooksArgs) Write

type NoteStoreListNotebooksResult

type NoteStoreListNotebooksResult struct {
	Success         []*Notebook          `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewNoteStoreListNotebooksResult

func NewNoteStoreListNotebooksResult() *NoteStoreListNotebooksResult

func (*NoteStoreListNotebooksResult) GetSuccess

func (p *NoteStoreListNotebooksResult) GetSuccess() []*Notebook

func (*NoteStoreListNotebooksResult) GetSystemException

func (p *NoteStoreListNotebooksResult) GetSystemException() *EDAMSystemException

func (*NoteStoreListNotebooksResult) GetUserException

func (p *NoteStoreListNotebooksResult) GetUserException() *EDAMUserException

func (*NoteStoreListNotebooksResult) IsSetSuccess

func (p *NoteStoreListNotebooksResult) IsSetSuccess() bool

func (*NoteStoreListNotebooksResult) IsSetSystemException

func (p *NoteStoreListNotebooksResult) IsSetSystemException() bool

func (*NoteStoreListNotebooksResult) IsSetUserException

func (p *NoteStoreListNotebooksResult) IsSetUserException() bool

func (*NoteStoreListNotebooksResult) Read

func (*NoteStoreListNotebooksResult) ReadField0

func (p *NoteStoreListNotebooksResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreListNotebooksResult) ReadField1

func (p *NoteStoreListNotebooksResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreListNotebooksResult) ReadField2

func (p *NoteStoreListNotebooksResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreListNotebooksResult) String

func (*NoteStoreListNotebooksResult) Write

type NoteStoreListSearchesArgs

type NoteStoreListSearchesArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewNoteStoreListSearchesArgs

func NewNoteStoreListSearchesArgs() *NoteStoreListSearchesArgs

func (*NoteStoreListSearchesArgs) GetAuthenticationToken

func (p *NoteStoreListSearchesArgs) GetAuthenticationToken() string

func (*NoteStoreListSearchesArgs) Read

func (*NoteStoreListSearchesArgs) ReadField1

func (p *NoteStoreListSearchesArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreListSearchesArgs) String

func (p *NoteStoreListSearchesArgs) String() string

func (*NoteStoreListSearchesArgs) Write

type NoteStoreListSearchesResult

type NoteStoreListSearchesResult struct {
	Success         []*SavedSearch       `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewNoteStoreListSearchesResult

func NewNoteStoreListSearchesResult() *NoteStoreListSearchesResult

func (*NoteStoreListSearchesResult) GetSuccess

func (p *NoteStoreListSearchesResult) GetSuccess() []*SavedSearch

func (*NoteStoreListSearchesResult) GetSystemException

func (p *NoteStoreListSearchesResult) GetSystemException() *EDAMSystemException

func (*NoteStoreListSearchesResult) GetUserException

func (p *NoteStoreListSearchesResult) GetUserException() *EDAMUserException

func (*NoteStoreListSearchesResult) IsSetSuccess

func (p *NoteStoreListSearchesResult) IsSetSuccess() bool

func (*NoteStoreListSearchesResult) IsSetSystemException

func (p *NoteStoreListSearchesResult) IsSetSystemException() bool

func (*NoteStoreListSearchesResult) IsSetUserException

func (p *NoteStoreListSearchesResult) IsSetUserException() bool

func (*NoteStoreListSearchesResult) Read

func (*NoteStoreListSearchesResult) ReadField0

func (p *NoteStoreListSearchesResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreListSearchesResult) ReadField1

func (p *NoteStoreListSearchesResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreListSearchesResult) ReadField2

func (p *NoteStoreListSearchesResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreListSearchesResult) String

func (p *NoteStoreListSearchesResult) String() string

func (*NoteStoreListSearchesResult) Write

type NoteStoreListSharedNotebooksArgs

type NoteStoreListSharedNotebooksArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewNoteStoreListSharedNotebooksArgs

func NewNoteStoreListSharedNotebooksArgs() *NoteStoreListSharedNotebooksArgs

func (*NoteStoreListSharedNotebooksArgs) GetAuthenticationToken

func (p *NoteStoreListSharedNotebooksArgs) GetAuthenticationToken() string

func (*NoteStoreListSharedNotebooksArgs) Read

func (*NoteStoreListSharedNotebooksArgs) ReadField1

func (*NoteStoreListSharedNotebooksArgs) String

func (*NoteStoreListSharedNotebooksArgs) Write

type NoteStoreListSharedNotebooksResult

type NoteStoreListSharedNotebooksResult struct {
	Success           []*SharedNotebook      `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreListSharedNotebooksResult

func NewNoteStoreListSharedNotebooksResult() *NoteStoreListSharedNotebooksResult

func (*NoteStoreListSharedNotebooksResult) GetNotFoundException

func (p *NoteStoreListSharedNotebooksResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreListSharedNotebooksResult) GetSuccess

func (*NoteStoreListSharedNotebooksResult) GetSystemException

func (*NoteStoreListSharedNotebooksResult) GetUserException

func (*NoteStoreListSharedNotebooksResult) IsSetNotFoundException

func (p *NoteStoreListSharedNotebooksResult) IsSetNotFoundException() bool

func (*NoteStoreListSharedNotebooksResult) IsSetSuccess

func (p *NoteStoreListSharedNotebooksResult) IsSetSuccess() bool

func (*NoteStoreListSharedNotebooksResult) IsSetSystemException

func (p *NoteStoreListSharedNotebooksResult) IsSetSystemException() bool

func (*NoteStoreListSharedNotebooksResult) IsSetUserException

func (p *NoteStoreListSharedNotebooksResult) IsSetUserException() bool

func (*NoteStoreListSharedNotebooksResult) Read

func (*NoteStoreListSharedNotebooksResult) ReadField0

func (*NoteStoreListSharedNotebooksResult) ReadField1

func (*NoteStoreListSharedNotebooksResult) ReadField2

func (*NoteStoreListSharedNotebooksResult) ReadField3

func (*NoteStoreListSharedNotebooksResult) String

func (*NoteStoreListSharedNotebooksResult) Write

type NoteStoreListTagsArgs

type NoteStoreListTagsArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewNoteStoreListTagsArgs

func NewNoteStoreListTagsArgs() *NoteStoreListTagsArgs

func (*NoteStoreListTagsArgs) GetAuthenticationToken

func (p *NoteStoreListTagsArgs) GetAuthenticationToken() string

func (*NoteStoreListTagsArgs) Read

func (*NoteStoreListTagsArgs) ReadField1

func (p *NoteStoreListTagsArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreListTagsArgs) String

func (p *NoteStoreListTagsArgs) String() string

func (*NoteStoreListTagsArgs) Write

func (p *NoteStoreListTagsArgs) Write(oprot thrift.TProtocol) error

type NoteStoreListTagsByNotebookArgs

type NoteStoreListTagsByNotebookArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	NotebookGuid        GUID   `thrift:"notebookGuid,2" db:"notebookGuid" json:"notebookGuid"`
}

Attributes:

  • AuthenticationToken
  • NotebookGuid

func NewNoteStoreListTagsByNotebookArgs

func NewNoteStoreListTagsByNotebookArgs() *NoteStoreListTagsByNotebookArgs

func (*NoteStoreListTagsByNotebookArgs) GetAuthenticationToken

func (p *NoteStoreListTagsByNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreListTagsByNotebookArgs) GetNotebookGuid

func (p *NoteStoreListTagsByNotebookArgs) GetNotebookGuid() GUID

func (*NoteStoreListTagsByNotebookArgs) Read

func (*NoteStoreListTagsByNotebookArgs) ReadField1

func (*NoteStoreListTagsByNotebookArgs) ReadField2

func (*NoteStoreListTagsByNotebookArgs) String

func (*NoteStoreListTagsByNotebookArgs) Write

type NoteStoreListTagsByNotebookResult

type NoteStoreListTagsByNotebookResult struct {
	Success           []*Tag                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreListTagsByNotebookResult

func NewNoteStoreListTagsByNotebookResult() *NoteStoreListTagsByNotebookResult

func (*NoteStoreListTagsByNotebookResult) GetNotFoundException

func (p *NoteStoreListTagsByNotebookResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreListTagsByNotebookResult) GetSuccess

func (p *NoteStoreListTagsByNotebookResult) GetSuccess() []*Tag

func (*NoteStoreListTagsByNotebookResult) GetSystemException

func (p *NoteStoreListTagsByNotebookResult) GetSystemException() *EDAMSystemException

func (*NoteStoreListTagsByNotebookResult) GetUserException

func (*NoteStoreListTagsByNotebookResult) IsSetNotFoundException

func (p *NoteStoreListTagsByNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreListTagsByNotebookResult) IsSetSuccess

func (p *NoteStoreListTagsByNotebookResult) IsSetSuccess() bool

func (*NoteStoreListTagsByNotebookResult) IsSetSystemException

func (p *NoteStoreListTagsByNotebookResult) IsSetSystemException() bool

func (*NoteStoreListTagsByNotebookResult) IsSetUserException

func (p *NoteStoreListTagsByNotebookResult) IsSetUserException() bool

func (*NoteStoreListTagsByNotebookResult) Read

func (*NoteStoreListTagsByNotebookResult) ReadField0

func (*NoteStoreListTagsByNotebookResult) ReadField1

func (*NoteStoreListTagsByNotebookResult) ReadField2

func (*NoteStoreListTagsByNotebookResult) ReadField3

func (*NoteStoreListTagsByNotebookResult) String

func (*NoteStoreListTagsByNotebookResult) Write

type NoteStoreListTagsResult

type NoteStoreListTagsResult struct {
	Success         []*Tag               `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewNoteStoreListTagsResult

func NewNoteStoreListTagsResult() *NoteStoreListTagsResult

func (*NoteStoreListTagsResult) GetSuccess

func (p *NoteStoreListTagsResult) GetSuccess() []*Tag

func (*NoteStoreListTagsResult) GetSystemException

func (p *NoteStoreListTagsResult) GetSystemException() *EDAMSystemException

func (*NoteStoreListTagsResult) GetUserException

func (p *NoteStoreListTagsResult) GetUserException() *EDAMUserException

func (*NoteStoreListTagsResult) IsSetSuccess

func (p *NoteStoreListTagsResult) IsSetSuccess() bool

func (*NoteStoreListTagsResult) IsSetSystemException

func (p *NoteStoreListTagsResult) IsSetSystemException() bool

func (*NoteStoreListTagsResult) IsSetUserException

func (p *NoteStoreListTagsResult) IsSetUserException() bool

func (*NoteStoreListTagsResult) Read

func (*NoteStoreListTagsResult) ReadField0

func (p *NoteStoreListTagsResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreListTagsResult) ReadField1

func (p *NoteStoreListTagsResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreListTagsResult) ReadField2

func (p *NoteStoreListTagsResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreListTagsResult) String

func (p *NoteStoreListTagsResult) String() string

func (*NoteStoreListTagsResult) Write

type NoteStoreManageNotebookSharesArgs

type NoteStoreManageNotebookSharesArgs struct {
	AuthenticationToken string                          `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Parameters          *ManageNotebookSharesParameters `thrift:"parameters,2" db:"parameters" json:"parameters"`
}

Attributes:

  • AuthenticationToken
  • Parameters

func NewNoteStoreManageNotebookSharesArgs

func NewNoteStoreManageNotebookSharesArgs() *NoteStoreManageNotebookSharesArgs

func (*NoteStoreManageNotebookSharesArgs) GetAuthenticationToken

func (p *NoteStoreManageNotebookSharesArgs) GetAuthenticationToken() string

func (*NoteStoreManageNotebookSharesArgs) GetParameters

func (*NoteStoreManageNotebookSharesArgs) IsSetParameters

func (p *NoteStoreManageNotebookSharesArgs) IsSetParameters() bool

func (*NoteStoreManageNotebookSharesArgs) Read

func (*NoteStoreManageNotebookSharesArgs) ReadField1

func (*NoteStoreManageNotebookSharesArgs) ReadField2

func (*NoteStoreManageNotebookSharesArgs) String

func (*NoteStoreManageNotebookSharesArgs) Write

type NoteStoreManageNotebookSharesResult

type NoteStoreManageNotebookSharesResult struct {
	Success           *ManageNotebookSharesResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException           `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException       `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException         `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreManageNotebookSharesResult

func NewNoteStoreManageNotebookSharesResult() *NoteStoreManageNotebookSharesResult

func (*NoteStoreManageNotebookSharesResult) GetNotFoundException

func (*NoteStoreManageNotebookSharesResult) GetSuccess

func (*NoteStoreManageNotebookSharesResult) GetSystemException

func (*NoteStoreManageNotebookSharesResult) GetUserException

func (*NoteStoreManageNotebookSharesResult) IsSetNotFoundException

func (p *NoteStoreManageNotebookSharesResult) IsSetNotFoundException() bool

func (*NoteStoreManageNotebookSharesResult) IsSetSuccess

func (p *NoteStoreManageNotebookSharesResult) IsSetSuccess() bool

func (*NoteStoreManageNotebookSharesResult) IsSetSystemException

func (p *NoteStoreManageNotebookSharesResult) IsSetSystemException() bool

func (*NoteStoreManageNotebookSharesResult) IsSetUserException

func (p *NoteStoreManageNotebookSharesResult) IsSetUserException() bool

func (*NoteStoreManageNotebookSharesResult) Read

func (*NoteStoreManageNotebookSharesResult) ReadField0

func (*NoteStoreManageNotebookSharesResult) ReadField1

func (*NoteStoreManageNotebookSharesResult) ReadField2

func (*NoteStoreManageNotebookSharesResult) ReadField3

func (*NoteStoreManageNotebookSharesResult) String

func (*NoteStoreManageNotebookSharesResult) Write

type NoteStoreProcessor

type NoteStoreProcessor struct {
	// contains filtered or unexported fields
}

func NewNoteStoreProcessor

func NewNoteStoreProcessor(handler NoteStore) *NoteStoreProcessor

func (*NoteStoreProcessor) AddToProcessorMap

func (p *NoteStoreProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*NoteStoreProcessor) GetProcessorFunction

func (p *NoteStoreProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*NoteStoreProcessor) Process

func (p *NoteStoreProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*NoteStoreProcessor) ProcessorMap

func (p *NoteStoreProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type NoteStoreSetNoteApplicationDataEntryArgs

type NoteStoreSetNoteApplicationDataEntryArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
	Key                 string `thrift:"key,3" db:"key" json:"key"`
	Value               string `thrift:"value,4" db:"value" json:"value"`
}

Attributes:

  • AuthenticationToken
  • GUID
  • Key
  • Value

func NewNoteStoreSetNoteApplicationDataEntryArgs

func NewNoteStoreSetNoteApplicationDataEntryArgs() *NoteStoreSetNoteApplicationDataEntryArgs

func (*NoteStoreSetNoteApplicationDataEntryArgs) GetAuthenticationToken

func (p *NoteStoreSetNoteApplicationDataEntryArgs) GetAuthenticationToken() string

func (*NoteStoreSetNoteApplicationDataEntryArgs) GetGUID

func (*NoteStoreSetNoteApplicationDataEntryArgs) GetKey

func (*NoteStoreSetNoteApplicationDataEntryArgs) GetValue

func (*NoteStoreSetNoteApplicationDataEntryArgs) Read

func (*NoteStoreSetNoteApplicationDataEntryArgs) ReadField1

func (*NoteStoreSetNoteApplicationDataEntryArgs) ReadField2

func (*NoteStoreSetNoteApplicationDataEntryArgs) ReadField3

func (*NoteStoreSetNoteApplicationDataEntryArgs) ReadField4

func (*NoteStoreSetNoteApplicationDataEntryArgs) String

func (*NoteStoreSetNoteApplicationDataEntryArgs) Write

type NoteStoreSetNoteApplicationDataEntryResult

type NoteStoreSetNoteApplicationDataEntryResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreSetNoteApplicationDataEntryResult

func NewNoteStoreSetNoteApplicationDataEntryResult() *NoteStoreSetNoteApplicationDataEntryResult

func (*NoteStoreSetNoteApplicationDataEntryResult) GetNotFoundException

func (*NoteStoreSetNoteApplicationDataEntryResult) GetSuccess

func (*NoteStoreSetNoteApplicationDataEntryResult) GetSystemException

func (*NoteStoreSetNoteApplicationDataEntryResult) GetUserException

func (*NoteStoreSetNoteApplicationDataEntryResult) IsSetNotFoundException

func (p *NoteStoreSetNoteApplicationDataEntryResult) IsSetNotFoundException() bool

func (*NoteStoreSetNoteApplicationDataEntryResult) IsSetSuccess

func (*NoteStoreSetNoteApplicationDataEntryResult) IsSetSystemException

func (p *NoteStoreSetNoteApplicationDataEntryResult) IsSetSystemException() bool

func (*NoteStoreSetNoteApplicationDataEntryResult) IsSetUserException

func (p *NoteStoreSetNoteApplicationDataEntryResult) IsSetUserException() bool

func (*NoteStoreSetNoteApplicationDataEntryResult) Read

func (*NoteStoreSetNoteApplicationDataEntryResult) ReadField0

func (*NoteStoreSetNoteApplicationDataEntryResult) ReadField1

func (*NoteStoreSetNoteApplicationDataEntryResult) ReadField2

func (*NoteStoreSetNoteApplicationDataEntryResult) ReadField3

func (*NoteStoreSetNoteApplicationDataEntryResult) String

func (*NoteStoreSetNoteApplicationDataEntryResult) Write

type NoteStoreSetNotebookRecipientSettingsArgs

type NoteStoreSetNotebookRecipientSettingsArgs struct {
	AuthenticationToken string                     `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	NotebookGuid        string                     `thrift:"notebookGuid,2" db:"notebookGuid" json:"notebookGuid"`
	RecipientSettings   *NotebookRecipientSettings `thrift:"recipientSettings,3" db:"recipientSettings" json:"recipientSettings"`
}

Attributes:

  • AuthenticationToken
  • NotebookGuid
  • RecipientSettings

func NewNoteStoreSetNotebookRecipientSettingsArgs

func NewNoteStoreSetNotebookRecipientSettingsArgs() *NoteStoreSetNotebookRecipientSettingsArgs

func (*NoteStoreSetNotebookRecipientSettingsArgs) GetAuthenticationToken

func (p *NoteStoreSetNotebookRecipientSettingsArgs) GetAuthenticationToken() string

func (*NoteStoreSetNotebookRecipientSettingsArgs) GetNotebookGuid

func (*NoteStoreSetNotebookRecipientSettingsArgs) GetRecipientSettings

func (*NoteStoreSetNotebookRecipientSettingsArgs) IsSetRecipientSettings

func (p *NoteStoreSetNotebookRecipientSettingsArgs) IsSetRecipientSettings() bool

func (*NoteStoreSetNotebookRecipientSettingsArgs) Read

func (*NoteStoreSetNotebookRecipientSettingsArgs) ReadField1

func (*NoteStoreSetNotebookRecipientSettingsArgs) ReadField2

func (*NoteStoreSetNotebookRecipientSettingsArgs) ReadField3

func (*NoteStoreSetNotebookRecipientSettingsArgs) String

func (*NoteStoreSetNotebookRecipientSettingsArgs) Write

type NoteStoreSetNotebookRecipientSettingsResult

type NoteStoreSetNotebookRecipientSettingsResult struct {
	Success           *Notebook              `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreSetNotebookRecipientSettingsResult

func NewNoteStoreSetNotebookRecipientSettingsResult() *NoteStoreSetNotebookRecipientSettingsResult

func (*NoteStoreSetNotebookRecipientSettingsResult) GetNotFoundException

func (*NoteStoreSetNotebookRecipientSettingsResult) GetSuccess

func (*NoteStoreSetNotebookRecipientSettingsResult) GetSystemException

func (*NoteStoreSetNotebookRecipientSettingsResult) GetUserException

func (*NoteStoreSetNotebookRecipientSettingsResult) IsSetNotFoundException

func (p *NoteStoreSetNotebookRecipientSettingsResult) IsSetNotFoundException() bool

func (*NoteStoreSetNotebookRecipientSettingsResult) IsSetSuccess

func (*NoteStoreSetNotebookRecipientSettingsResult) IsSetSystemException

func (p *NoteStoreSetNotebookRecipientSettingsResult) IsSetSystemException() bool

func (*NoteStoreSetNotebookRecipientSettingsResult) IsSetUserException

func (p *NoteStoreSetNotebookRecipientSettingsResult) IsSetUserException() bool

func (*NoteStoreSetNotebookRecipientSettingsResult) Read

func (*NoteStoreSetNotebookRecipientSettingsResult) ReadField0

func (*NoteStoreSetNotebookRecipientSettingsResult) ReadField1

func (*NoteStoreSetNotebookRecipientSettingsResult) ReadField2

func (*NoteStoreSetNotebookRecipientSettingsResult) ReadField3

func (*NoteStoreSetNotebookRecipientSettingsResult) String

func (*NoteStoreSetNotebookRecipientSettingsResult) Write

type NoteStoreSetResourceApplicationDataEntryArgs

type NoteStoreSetResourceApplicationDataEntryArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
	Key                 string `thrift:"key,3" db:"key" json:"key"`
	Value               string `thrift:"value,4" db:"value" json:"value"`
}

Attributes:

  • AuthenticationToken
  • GUID
  • Key
  • Value

func NewNoteStoreSetResourceApplicationDataEntryArgs

func NewNoteStoreSetResourceApplicationDataEntryArgs() *NoteStoreSetResourceApplicationDataEntryArgs

func (*NoteStoreSetResourceApplicationDataEntryArgs) GetAuthenticationToken

func (p *NoteStoreSetResourceApplicationDataEntryArgs) GetAuthenticationToken() string

func (*NoteStoreSetResourceApplicationDataEntryArgs) GetGUID

func (*NoteStoreSetResourceApplicationDataEntryArgs) GetKey

func (*NoteStoreSetResourceApplicationDataEntryArgs) GetValue

func (*NoteStoreSetResourceApplicationDataEntryArgs) Read

func (*NoteStoreSetResourceApplicationDataEntryArgs) ReadField1

func (*NoteStoreSetResourceApplicationDataEntryArgs) ReadField2

func (*NoteStoreSetResourceApplicationDataEntryArgs) ReadField3

func (*NoteStoreSetResourceApplicationDataEntryArgs) ReadField4

func (*NoteStoreSetResourceApplicationDataEntryArgs) String

func (*NoteStoreSetResourceApplicationDataEntryArgs) Write

type NoteStoreSetResourceApplicationDataEntryResult

type NoteStoreSetResourceApplicationDataEntryResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreSetResourceApplicationDataEntryResult

func NewNoteStoreSetResourceApplicationDataEntryResult() *NoteStoreSetResourceApplicationDataEntryResult

func (*NoteStoreSetResourceApplicationDataEntryResult) GetNotFoundException

func (*NoteStoreSetResourceApplicationDataEntryResult) GetSuccess

func (*NoteStoreSetResourceApplicationDataEntryResult) GetSystemException

func (*NoteStoreSetResourceApplicationDataEntryResult) GetUserException

func (*NoteStoreSetResourceApplicationDataEntryResult) IsSetNotFoundException

func (p *NoteStoreSetResourceApplicationDataEntryResult) IsSetNotFoundException() bool

func (*NoteStoreSetResourceApplicationDataEntryResult) IsSetSuccess

func (*NoteStoreSetResourceApplicationDataEntryResult) IsSetSystemException

func (p *NoteStoreSetResourceApplicationDataEntryResult) IsSetSystemException() bool

func (*NoteStoreSetResourceApplicationDataEntryResult) IsSetUserException

func (p *NoteStoreSetResourceApplicationDataEntryResult) IsSetUserException() bool

func (*NoteStoreSetResourceApplicationDataEntryResult) Read

func (*NoteStoreSetResourceApplicationDataEntryResult) ReadField0

func (*NoteStoreSetResourceApplicationDataEntryResult) ReadField1

func (*NoteStoreSetResourceApplicationDataEntryResult) ReadField2

func (*NoteStoreSetResourceApplicationDataEntryResult) ReadField3

func (*NoteStoreSetResourceApplicationDataEntryResult) String

func (*NoteStoreSetResourceApplicationDataEntryResult) Write

type NoteStoreShareNoteArgs

type NoteStoreShareNoteArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreShareNoteArgs

func NewNoteStoreShareNoteArgs() *NoteStoreShareNoteArgs

func (*NoteStoreShareNoteArgs) GetAuthenticationToken

func (p *NoteStoreShareNoteArgs) GetAuthenticationToken() string

func (*NoteStoreShareNoteArgs) GetGUID

func (p *NoteStoreShareNoteArgs) GetGUID() GUID

func (*NoteStoreShareNoteArgs) Read

func (*NoteStoreShareNoteArgs) ReadField1

func (p *NoteStoreShareNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreShareNoteArgs) ReadField2

func (p *NoteStoreShareNoteArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreShareNoteArgs) String

func (p *NoteStoreShareNoteArgs) String() string

func (*NoteStoreShareNoteArgs) Write

func (p *NoteStoreShareNoteArgs) Write(oprot thrift.TProtocol) error

type NoteStoreShareNoteResult

type NoteStoreShareNoteResult struct {
	Success           *string                `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreShareNoteResult

func NewNoteStoreShareNoteResult() *NoteStoreShareNoteResult

func (*NoteStoreShareNoteResult) GetNotFoundException

func (p *NoteStoreShareNoteResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreShareNoteResult) GetSuccess

func (p *NoteStoreShareNoteResult) GetSuccess() string

func (*NoteStoreShareNoteResult) GetSystemException

func (p *NoteStoreShareNoteResult) GetSystemException() *EDAMSystemException

func (*NoteStoreShareNoteResult) GetUserException

func (p *NoteStoreShareNoteResult) GetUserException() *EDAMUserException

func (*NoteStoreShareNoteResult) IsSetNotFoundException

func (p *NoteStoreShareNoteResult) IsSetNotFoundException() bool

func (*NoteStoreShareNoteResult) IsSetSuccess

func (p *NoteStoreShareNoteResult) IsSetSuccess() bool

func (*NoteStoreShareNoteResult) IsSetSystemException

func (p *NoteStoreShareNoteResult) IsSetSystemException() bool

func (*NoteStoreShareNoteResult) IsSetUserException

func (p *NoteStoreShareNoteResult) IsSetUserException() bool

func (*NoteStoreShareNoteResult) Read

func (*NoteStoreShareNoteResult) ReadField0

func (p *NoteStoreShareNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreShareNoteResult) ReadField1

func (p *NoteStoreShareNoteResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreShareNoteResult) ReadField2

func (p *NoteStoreShareNoteResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreShareNoteResult) ReadField3

func (p *NoteStoreShareNoteResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreShareNoteResult) String

func (p *NoteStoreShareNoteResult) String() string

func (*NoteStoreShareNoteResult) Write

type NoteStoreShareNotebookArgs

type NoteStoreShareNotebookArgs struct {
	AuthenticationToken string          `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	SharedNotebook      *SharedNotebook `thrift:"sharedNotebook,2" db:"sharedNotebook" json:"sharedNotebook"`
	Message             string          `thrift:"message,3" db:"message" json:"message"`
}

Attributes:

  • AuthenticationToken
  • SharedNotebook
  • Message

func NewNoteStoreShareNotebookArgs

func NewNoteStoreShareNotebookArgs() *NoteStoreShareNotebookArgs

func (*NoteStoreShareNotebookArgs) GetAuthenticationToken

func (p *NoteStoreShareNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreShareNotebookArgs) GetMessage

func (p *NoteStoreShareNotebookArgs) GetMessage() string

func (*NoteStoreShareNotebookArgs) GetSharedNotebook

func (p *NoteStoreShareNotebookArgs) GetSharedNotebook() *SharedNotebook

func (*NoteStoreShareNotebookArgs) IsSetSharedNotebook

func (p *NoteStoreShareNotebookArgs) IsSetSharedNotebook() bool

func (*NoteStoreShareNotebookArgs) Read

func (*NoteStoreShareNotebookArgs) ReadField1

func (p *NoteStoreShareNotebookArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreShareNotebookArgs) ReadField2

func (p *NoteStoreShareNotebookArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreShareNotebookArgs) ReadField3

func (p *NoteStoreShareNotebookArgs) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreShareNotebookArgs) String

func (p *NoteStoreShareNotebookArgs) String() string

func (*NoteStoreShareNotebookArgs) Write

type NoteStoreShareNotebookResult

type NoteStoreShareNotebookResult struct {
	Success           *SharedNotebook        `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreShareNotebookResult

func NewNoteStoreShareNotebookResult() *NoteStoreShareNotebookResult

func (*NoteStoreShareNotebookResult) GetNotFoundException

func (p *NoteStoreShareNotebookResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreShareNotebookResult) GetSuccess

func (*NoteStoreShareNotebookResult) GetSystemException

func (p *NoteStoreShareNotebookResult) GetSystemException() *EDAMSystemException

func (*NoteStoreShareNotebookResult) GetUserException

func (p *NoteStoreShareNotebookResult) GetUserException() *EDAMUserException

func (*NoteStoreShareNotebookResult) IsSetNotFoundException

func (p *NoteStoreShareNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreShareNotebookResult) IsSetSuccess

func (p *NoteStoreShareNotebookResult) IsSetSuccess() bool

func (*NoteStoreShareNotebookResult) IsSetSystemException

func (p *NoteStoreShareNotebookResult) IsSetSystemException() bool

func (*NoteStoreShareNotebookResult) IsSetUserException

func (p *NoteStoreShareNotebookResult) IsSetUserException() bool

func (*NoteStoreShareNotebookResult) Read

func (*NoteStoreShareNotebookResult) ReadField0

func (p *NoteStoreShareNotebookResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreShareNotebookResult) ReadField1

func (p *NoteStoreShareNotebookResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreShareNotebookResult) ReadField2

func (p *NoteStoreShareNotebookResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreShareNotebookResult) ReadField3

func (p *NoteStoreShareNotebookResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreShareNotebookResult) String

func (*NoteStoreShareNotebookResult) Write

type NoteStoreStopSharingNoteArgs

type NoteStoreStopSharingNoteArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreStopSharingNoteArgs

func NewNoteStoreStopSharingNoteArgs() *NoteStoreStopSharingNoteArgs

func (*NoteStoreStopSharingNoteArgs) GetAuthenticationToken

func (p *NoteStoreStopSharingNoteArgs) GetAuthenticationToken() string

func (*NoteStoreStopSharingNoteArgs) GetGUID

func (p *NoteStoreStopSharingNoteArgs) GetGUID() GUID

func (*NoteStoreStopSharingNoteArgs) Read

func (*NoteStoreStopSharingNoteArgs) ReadField1

func (p *NoteStoreStopSharingNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreStopSharingNoteArgs) ReadField2

func (p *NoteStoreStopSharingNoteArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreStopSharingNoteArgs) String

func (*NoteStoreStopSharingNoteArgs) Write

type NoteStoreStopSharingNoteResult

type NoteStoreStopSharingNoteResult struct {
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreStopSharingNoteResult

func NewNoteStoreStopSharingNoteResult() *NoteStoreStopSharingNoteResult

func (*NoteStoreStopSharingNoteResult) GetNotFoundException

func (p *NoteStoreStopSharingNoteResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreStopSharingNoteResult) GetSystemException

func (p *NoteStoreStopSharingNoteResult) GetSystemException() *EDAMSystemException

func (*NoteStoreStopSharingNoteResult) GetUserException

func (p *NoteStoreStopSharingNoteResult) GetUserException() *EDAMUserException

func (*NoteStoreStopSharingNoteResult) IsSetNotFoundException

func (p *NoteStoreStopSharingNoteResult) IsSetNotFoundException() bool

func (*NoteStoreStopSharingNoteResult) IsSetSystemException

func (p *NoteStoreStopSharingNoteResult) IsSetSystemException() bool

func (*NoteStoreStopSharingNoteResult) IsSetUserException

func (p *NoteStoreStopSharingNoteResult) IsSetUserException() bool

func (*NoteStoreStopSharingNoteResult) Read

func (*NoteStoreStopSharingNoteResult) ReadField1

func (*NoteStoreStopSharingNoteResult) ReadField2

func (*NoteStoreStopSharingNoteResult) ReadField3

func (*NoteStoreStopSharingNoteResult) String

func (*NoteStoreStopSharingNoteResult) Write

type NoteStoreUnsetNoteApplicationDataEntryArgs

type NoteStoreUnsetNoteApplicationDataEntryArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
	Key                 string `thrift:"key,3" db:"key" json:"key"`
}

Attributes:

  • AuthenticationToken
  • GUID
  • Key

func NewNoteStoreUnsetNoteApplicationDataEntryArgs

func NewNoteStoreUnsetNoteApplicationDataEntryArgs() *NoteStoreUnsetNoteApplicationDataEntryArgs

func (*NoteStoreUnsetNoteApplicationDataEntryArgs) GetAuthenticationToken

func (p *NoteStoreUnsetNoteApplicationDataEntryArgs) GetAuthenticationToken() string

func (*NoteStoreUnsetNoteApplicationDataEntryArgs) GetGUID

func (*NoteStoreUnsetNoteApplicationDataEntryArgs) GetKey

func (*NoteStoreUnsetNoteApplicationDataEntryArgs) Read

func (*NoteStoreUnsetNoteApplicationDataEntryArgs) ReadField1

func (*NoteStoreUnsetNoteApplicationDataEntryArgs) ReadField2

func (*NoteStoreUnsetNoteApplicationDataEntryArgs) ReadField3

func (*NoteStoreUnsetNoteApplicationDataEntryArgs) String

func (*NoteStoreUnsetNoteApplicationDataEntryArgs) Write

type NoteStoreUnsetNoteApplicationDataEntryResult

type NoteStoreUnsetNoteApplicationDataEntryResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreUnsetNoteApplicationDataEntryResult

func NewNoteStoreUnsetNoteApplicationDataEntryResult() *NoteStoreUnsetNoteApplicationDataEntryResult

func (*NoteStoreUnsetNoteApplicationDataEntryResult) GetNotFoundException

func (*NoteStoreUnsetNoteApplicationDataEntryResult) GetSuccess

func (*NoteStoreUnsetNoteApplicationDataEntryResult) GetSystemException

func (*NoteStoreUnsetNoteApplicationDataEntryResult) GetUserException

func (*NoteStoreUnsetNoteApplicationDataEntryResult) IsSetNotFoundException

func (p *NoteStoreUnsetNoteApplicationDataEntryResult) IsSetNotFoundException() bool

func (*NoteStoreUnsetNoteApplicationDataEntryResult) IsSetSuccess

func (*NoteStoreUnsetNoteApplicationDataEntryResult) IsSetSystemException

func (p *NoteStoreUnsetNoteApplicationDataEntryResult) IsSetSystemException() bool

func (*NoteStoreUnsetNoteApplicationDataEntryResult) IsSetUserException

func (p *NoteStoreUnsetNoteApplicationDataEntryResult) IsSetUserException() bool

func (*NoteStoreUnsetNoteApplicationDataEntryResult) Read

func (*NoteStoreUnsetNoteApplicationDataEntryResult) ReadField0

func (*NoteStoreUnsetNoteApplicationDataEntryResult) ReadField1

func (*NoteStoreUnsetNoteApplicationDataEntryResult) ReadField2

func (*NoteStoreUnsetNoteApplicationDataEntryResult) ReadField3

func (*NoteStoreUnsetNoteApplicationDataEntryResult) String

func (*NoteStoreUnsetNoteApplicationDataEntryResult) Write

type NoteStoreUnsetResourceApplicationDataEntryArgs

type NoteStoreUnsetResourceApplicationDataEntryArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
	Key                 string `thrift:"key,3" db:"key" json:"key"`
}

Attributes:

  • AuthenticationToken
  • GUID
  • Key

func NewNoteStoreUnsetResourceApplicationDataEntryArgs

func NewNoteStoreUnsetResourceApplicationDataEntryArgs() *NoteStoreUnsetResourceApplicationDataEntryArgs

func (*NoteStoreUnsetResourceApplicationDataEntryArgs) GetAuthenticationToken

func (p *NoteStoreUnsetResourceApplicationDataEntryArgs) GetAuthenticationToken() string

func (*NoteStoreUnsetResourceApplicationDataEntryArgs) GetGUID

func (*NoteStoreUnsetResourceApplicationDataEntryArgs) GetKey

func (*NoteStoreUnsetResourceApplicationDataEntryArgs) Read

func (*NoteStoreUnsetResourceApplicationDataEntryArgs) ReadField1

func (*NoteStoreUnsetResourceApplicationDataEntryArgs) ReadField2

func (*NoteStoreUnsetResourceApplicationDataEntryArgs) ReadField3

func (*NoteStoreUnsetResourceApplicationDataEntryArgs) String

func (*NoteStoreUnsetResourceApplicationDataEntryArgs) Write

type NoteStoreUnsetResourceApplicationDataEntryResult

type NoteStoreUnsetResourceApplicationDataEntryResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreUnsetResourceApplicationDataEntryResult

func NewNoteStoreUnsetResourceApplicationDataEntryResult() *NoteStoreUnsetResourceApplicationDataEntryResult

func (*NoteStoreUnsetResourceApplicationDataEntryResult) GetNotFoundException

func (*NoteStoreUnsetResourceApplicationDataEntryResult) GetSuccess

func (*NoteStoreUnsetResourceApplicationDataEntryResult) GetSystemException

func (*NoteStoreUnsetResourceApplicationDataEntryResult) GetUserException

func (*NoteStoreUnsetResourceApplicationDataEntryResult) IsSetNotFoundException

func (p *NoteStoreUnsetResourceApplicationDataEntryResult) IsSetNotFoundException() bool

func (*NoteStoreUnsetResourceApplicationDataEntryResult) IsSetSuccess

func (*NoteStoreUnsetResourceApplicationDataEntryResult) IsSetSystemException

func (p *NoteStoreUnsetResourceApplicationDataEntryResult) IsSetSystemException() bool

func (*NoteStoreUnsetResourceApplicationDataEntryResult) IsSetUserException

func (*NoteStoreUnsetResourceApplicationDataEntryResult) Read

func (*NoteStoreUnsetResourceApplicationDataEntryResult) ReadField0

func (*NoteStoreUnsetResourceApplicationDataEntryResult) ReadField1

func (*NoteStoreUnsetResourceApplicationDataEntryResult) ReadField2

func (*NoteStoreUnsetResourceApplicationDataEntryResult) ReadField3

func (*NoteStoreUnsetResourceApplicationDataEntryResult) String

func (*NoteStoreUnsetResourceApplicationDataEntryResult) Write

type NoteStoreUntagAllArgs

type NoteStoreUntagAllArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	GUID                GUID   `thrift:"guid,2" db:"guid" json:"guid"`
}

Attributes:

  • AuthenticationToken
  • GUID

func NewNoteStoreUntagAllArgs

func NewNoteStoreUntagAllArgs() *NoteStoreUntagAllArgs

func (*NoteStoreUntagAllArgs) GetAuthenticationToken

func (p *NoteStoreUntagAllArgs) GetAuthenticationToken() string

func (*NoteStoreUntagAllArgs) GetGUID

func (p *NoteStoreUntagAllArgs) GetGUID() GUID

func (*NoteStoreUntagAllArgs) Read

func (*NoteStoreUntagAllArgs) ReadField1

func (p *NoteStoreUntagAllArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUntagAllArgs) ReadField2

func (p *NoteStoreUntagAllArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUntagAllArgs) String

func (p *NoteStoreUntagAllArgs) String() string

func (*NoteStoreUntagAllArgs) Write

func (p *NoteStoreUntagAllArgs) Write(oprot thrift.TProtocol) error

type NoteStoreUntagAllResult

type NoteStoreUntagAllResult struct {
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreUntagAllResult

func NewNoteStoreUntagAllResult() *NoteStoreUntagAllResult

func (*NoteStoreUntagAllResult) GetNotFoundException

func (p *NoteStoreUntagAllResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreUntagAllResult) GetSystemException

func (p *NoteStoreUntagAllResult) GetSystemException() *EDAMSystemException

func (*NoteStoreUntagAllResult) GetUserException

func (p *NoteStoreUntagAllResult) GetUserException() *EDAMUserException

func (*NoteStoreUntagAllResult) IsSetNotFoundException

func (p *NoteStoreUntagAllResult) IsSetNotFoundException() bool

func (*NoteStoreUntagAllResult) IsSetSystemException

func (p *NoteStoreUntagAllResult) IsSetSystemException() bool

func (*NoteStoreUntagAllResult) IsSetUserException

func (p *NoteStoreUntagAllResult) IsSetUserException() bool

func (*NoteStoreUntagAllResult) Read

func (*NoteStoreUntagAllResult) ReadField1

func (p *NoteStoreUntagAllResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUntagAllResult) ReadField2

func (p *NoteStoreUntagAllResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUntagAllResult) ReadField3

func (p *NoteStoreUntagAllResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreUntagAllResult) String

func (p *NoteStoreUntagAllResult) String() string

func (*NoteStoreUntagAllResult) Write

type NoteStoreUpdateLinkedNotebookArgs

type NoteStoreUpdateLinkedNotebookArgs struct {
	AuthenticationToken string          `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	LinkedNotebook      *LinkedNotebook `thrift:"linkedNotebook,2" db:"linkedNotebook" json:"linkedNotebook"`
}

Attributes:

  • AuthenticationToken
  • LinkedNotebook

func NewNoteStoreUpdateLinkedNotebookArgs

func NewNoteStoreUpdateLinkedNotebookArgs() *NoteStoreUpdateLinkedNotebookArgs

func (*NoteStoreUpdateLinkedNotebookArgs) GetAuthenticationToken

func (p *NoteStoreUpdateLinkedNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreUpdateLinkedNotebookArgs) GetLinkedNotebook

func (p *NoteStoreUpdateLinkedNotebookArgs) GetLinkedNotebook() *LinkedNotebook

func (*NoteStoreUpdateLinkedNotebookArgs) IsSetLinkedNotebook

func (p *NoteStoreUpdateLinkedNotebookArgs) IsSetLinkedNotebook() bool

func (*NoteStoreUpdateLinkedNotebookArgs) Read

func (*NoteStoreUpdateLinkedNotebookArgs) ReadField1

func (*NoteStoreUpdateLinkedNotebookArgs) ReadField2

func (*NoteStoreUpdateLinkedNotebookArgs) String

func (*NoteStoreUpdateLinkedNotebookArgs) Write

type NoteStoreUpdateLinkedNotebookResult

type NoteStoreUpdateLinkedNotebookResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreUpdateLinkedNotebookResult

func NewNoteStoreUpdateLinkedNotebookResult() *NoteStoreUpdateLinkedNotebookResult

func (*NoteStoreUpdateLinkedNotebookResult) GetNotFoundException

func (*NoteStoreUpdateLinkedNotebookResult) GetSuccess

func (*NoteStoreUpdateLinkedNotebookResult) GetSystemException

func (*NoteStoreUpdateLinkedNotebookResult) GetUserException

func (*NoteStoreUpdateLinkedNotebookResult) IsSetNotFoundException

func (p *NoteStoreUpdateLinkedNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreUpdateLinkedNotebookResult) IsSetSuccess

func (p *NoteStoreUpdateLinkedNotebookResult) IsSetSuccess() bool

func (*NoteStoreUpdateLinkedNotebookResult) IsSetSystemException

func (p *NoteStoreUpdateLinkedNotebookResult) IsSetSystemException() bool

func (*NoteStoreUpdateLinkedNotebookResult) IsSetUserException

func (p *NoteStoreUpdateLinkedNotebookResult) IsSetUserException() bool

func (*NoteStoreUpdateLinkedNotebookResult) Read

func (*NoteStoreUpdateLinkedNotebookResult) ReadField0

func (*NoteStoreUpdateLinkedNotebookResult) ReadField1

func (*NoteStoreUpdateLinkedNotebookResult) ReadField2

func (*NoteStoreUpdateLinkedNotebookResult) ReadField3

func (*NoteStoreUpdateLinkedNotebookResult) String

func (*NoteStoreUpdateLinkedNotebookResult) Write

type NoteStoreUpdateNoteArgs

type NoteStoreUpdateNoteArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Note                *Note  `thrift:"note,2" db:"note" json:"note"`
}

Attributes:

  • AuthenticationToken
  • Note

func NewNoteStoreUpdateNoteArgs

func NewNoteStoreUpdateNoteArgs() *NoteStoreUpdateNoteArgs

func (*NoteStoreUpdateNoteArgs) GetAuthenticationToken

func (p *NoteStoreUpdateNoteArgs) GetAuthenticationToken() string

func (*NoteStoreUpdateNoteArgs) GetNote

func (p *NoteStoreUpdateNoteArgs) GetNote() *Note

func (*NoteStoreUpdateNoteArgs) IsSetNote

func (p *NoteStoreUpdateNoteArgs) IsSetNote() bool

func (*NoteStoreUpdateNoteArgs) Read

func (*NoteStoreUpdateNoteArgs) ReadField1

func (p *NoteStoreUpdateNoteArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNoteArgs) ReadField2

func (p *NoteStoreUpdateNoteArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNoteArgs) String

func (p *NoteStoreUpdateNoteArgs) String() string

func (*NoteStoreUpdateNoteArgs) Write

type NoteStoreUpdateNoteIfUsnMatchesArgs

type NoteStoreUpdateNoteIfUsnMatchesArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Note                *Note  `thrift:"note,2" db:"note" json:"note"`
}

Attributes:

  • AuthenticationToken
  • Note

func NewNoteStoreUpdateNoteIfUsnMatchesArgs

func NewNoteStoreUpdateNoteIfUsnMatchesArgs() *NoteStoreUpdateNoteIfUsnMatchesArgs

func (*NoteStoreUpdateNoteIfUsnMatchesArgs) GetAuthenticationToken

func (p *NoteStoreUpdateNoteIfUsnMatchesArgs) GetAuthenticationToken() string

func (*NoteStoreUpdateNoteIfUsnMatchesArgs) GetNote

func (*NoteStoreUpdateNoteIfUsnMatchesArgs) IsSetNote

func (*NoteStoreUpdateNoteIfUsnMatchesArgs) Read

func (*NoteStoreUpdateNoteIfUsnMatchesArgs) ReadField1

func (*NoteStoreUpdateNoteIfUsnMatchesArgs) ReadField2

func (*NoteStoreUpdateNoteIfUsnMatchesArgs) String

func (*NoteStoreUpdateNoteIfUsnMatchesArgs) Write

type NoteStoreUpdateNoteIfUsnMatchesResult

type NoteStoreUpdateNoteIfUsnMatchesResult struct {
	Success           *UpdateNoteIfUsnMatchesResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException             `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException         `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException           `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreUpdateNoteIfUsnMatchesResult

func NewNoteStoreUpdateNoteIfUsnMatchesResult() *NoteStoreUpdateNoteIfUsnMatchesResult

func (*NoteStoreUpdateNoteIfUsnMatchesResult) GetNotFoundException

func (*NoteStoreUpdateNoteIfUsnMatchesResult) GetSuccess

func (*NoteStoreUpdateNoteIfUsnMatchesResult) GetSystemException

func (*NoteStoreUpdateNoteIfUsnMatchesResult) GetUserException

func (*NoteStoreUpdateNoteIfUsnMatchesResult) IsSetNotFoundException

func (p *NoteStoreUpdateNoteIfUsnMatchesResult) IsSetNotFoundException() bool

func (*NoteStoreUpdateNoteIfUsnMatchesResult) IsSetSuccess

func (p *NoteStoreUpdateNoteIfUsnMatchesResult) IsSetSuccess() bool

func (*NoteStoreUpdateNoteIfUsnMatchesResult) IsSetSystemException

func (p *NoteStoreUpdateNoteIfUsnMatchesResult) IsSetSystemException() bool

func (*NoteStoreUpdateNoteIfUsnMatchesResult) IsSetUserException

func (p *NoteStoreUpdateNoteIfUsnMatchesResult) IsSetUserException() bool

func (*NoteStoreUpdateNoteIfUsnMatchesResult) Read

func (*NoteStoreUpdateNoteIfUsnMatchesResult) ReadField0

func (*NoteStoreUpdateNoteIfUsnMatchesResult) ReadField1

func (*NoteStoreUpdateNoteIfUsnMatchesResult) ReadField2

func (*NoteStoreUpdateNoteIfUsnMatchesResult) ReadField3

func (*NoteStoreUpdateNoteIfUsnMatchesResult) String

func (*NoteStoreUpdateNoteIfUsnMatchesResult) Write

type NoteStoreUpdateNoteResult

type NoteStoreUpdateNoteResult struct {
	Success           *Note                  `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreUpdateNoteResult

func NewNoteStoreUpdateNoteResult() *NoteStoreUpdateNoteResult

func (*NoteStoreUpdateNoteResult) GetNotFoundException

func (p *NoteStoreUpdateNoteResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreUpdateNoteResult) GetSuccess

func (p *NoteStoreUpdateNoteResult) GetSuccess() *Note

func (*NoteStoreUpdateNoteResult) GetSystemException

func (p *NoteStoreUpdateNoteResult) GetSystemException() *EDAMSystemException

func (*NoteStoreUpdateNoteResult) GetUserException

func (p *NoteStoreUpdateNoteResult) GetUserException() *EDAMUserException

func (*NoteStoreUpdateNoteResult) IsSetNotFoundException

func (p *NoteStoreUpdateNoteResult) IsSetNotFoundException() bool

func (*NoteStoreUpdateNoteResult) IsSetSuccess

func (p *NoteStoreUpdateNoteResult) IsSetSuccess() bool

func (*NoteStoreUpdateNoteResult) IsSetSystemException

func (p *NoteStoreUpdateNoteResult) IsSetSystemException() bool

func (*NoteStoreUpdateNoteResult) IsSetUserException

func (p *NoteStoreUpdateNoteResult) IsSetUserException() bool

func (*NoteStoreUpdateNoteResult) Read

func (*NoteStoreUpdateNoteResult) ReadField0

func (p *NoteStoreUpdateNoteResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNoteResult) ReadField1

func (p *NoteStoreUpdateNoteResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNoteResult) ReadField2

func (p *NoteStoreUpdateNoteResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNoteResult) ReadField3

func (p *NoteStoreUpdateNoteResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNoteResult) String

func (p *NoteStoreUpdateNoteResult) String() string

func (*NoteStoreUpdateNoteResult) Write

type NoteStoreUpdateNotebookArgs

type NoteStoreUpdateNotebookArgs struct {
	AuthenticationToken string    `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Notebook            *Notebook `thrift:"notebook,2" db:"notebook" json:"notebook"`
}

Attributes:

  • AuthenticationToken
  • Notebook

func NewNoteStoreUpdateNotebookArgs

func NewNoteStoreUpdateNotebookArgs() *NoteStoreUpdateNotebookArgs

func (*NoteStoreUpdateNotebookArgs) GetAuthenticationToken

func (p *NoteStoreUpdateNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreUpdateNotebookArgs) GetNotebook

func (p *NoteStoreUpdateNotebookArgs) GetNotebook() *Notebook

func (*NoteStoreUpdateNotebookArgs) IsSetNotebook

func (p *NoteStoreUpdateNotebookArgs) IsSetNotebook() bool

func (*NoteStoreUpdateNotebookArgs) Read

func (*NoteStoreUpdateNotebookArgs) ReadField1

func (p *NoteStoreUpdateNotebookArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNotebookArgs) ReadField2

func (p *NoteStoreUpdateNotebookArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNotebookArgs) String

func (p *NoteStoreUpdateNotebookArgs) String() string

func (*NoteStoreUpdateNotebookArgs) Write

type NoteStoreUpdateNotebookResult

type NoteStoreUpdateNotebookResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreUpdateNotebookResult

func NewNoteStoreUpdateNotebookResult() *NoteStoreUpdateNotebookResult

func (*NoteStoreUpdateNotebookResult) GetNotFoundException

func (p *NoteStoreUpdateNotebookResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreUpdateNotebookResult) GetSuccess

func (p *NoteStoreUpdateNotebookResult) GetSuccess() int32

func (*NoteStoreUpdateNotebookResult) GetSystemException

func (p *NoteStoreUpdateNotebookResult) GetSystemException() *EDAMSystemException

func (*NoteStoreUpdateNotebookResult) GetUserException

func (p *NoteStoreUpdateNotebookResult) GetUserException() *EDAMUserException

func (*NoteStoreUpdateNotebookResult) IsSetNotFoundException

func (p *NoteStoreUpdateNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreUpdateNotebookResult) IsSetSuccess

func (p *NoteStoreUpdateNotebookResult) IsSetSuccess() bool

func (*NoteStoreUpdateNotebookResult) IsSetSystemException

func (p *NoteStoreUpdateNotebookResult) IsSetSystemException() bool

func (*NoteStoreUpdateNotebookResult) IsSetUserException

func (p *NoteStoreUpdateNotebookResult) IsSetUserException() bool

func (*NoteStoreUpdateNotebookResult) Read

func (*NoteStoreUpdateNotebookResult) ReadField0

func (p *NoteStoreUpdateNotebookResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNotebookResult) ReadField1

func (p *NoteStoreUpdateNotebookResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNotebookResult) ReadField2

func (p *NoteStoreUpdateNotebookResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNotebookResult) ReadField3

func (p *NoteStoreUpdateNotebookResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreUpdateNotebookResult) String

func (*NoteStoreUpdateNotebookResult) Write

type NoteStoreUpdateResourceArgs

type NoteStoreUpdateResourceArgs struct {
	AuthenticationToken string    `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Resource            *Resource `thrift:"resource,2" db:"resource" json:"resource"`
}

Attributes:

  • AuthenticationToken
  • Resource

func NewNoteStoreUpdateResourceArgs

func NewNoteStoreUpdateResourceArgs() *NoteStoreUpdateResourceArgs

func (*NoteStoreUpdateResourceArgs) GetAuthenticationToken

func (p *NoteStoreUpdateResourceArgs) GetAuthenticationToken() string

func (*NoteStoreUpdateResourceArgs) GetResource

func (p *NoteStoreUpdateResourceArgs) GetResource() *Resource

func (*NoteStoreUpdateResourceArgs) IsSetResource

func (p *NoteStoreUpdateResourceArgs) IsSetResource() bool

func (*NoteStoreUpdateResourceArgs) Read

func (*NoteStoreUpdateResourceArgs) ReadField1

func (p *NoteStoreUpdateResourceArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUpdateResourceArgs) ReadField2

func (p *NoteStoreUpdateResourceArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUpdateResourceArgs) String

func (p *NoteStoreUpdateResourceArgs) String() string

func (*NoteStoreUpdateResourceArgs) Write

type NoteStoreUpdateResourceResult

type NoteStoreUpdateResourceResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreUpdateResourceResult

func NewNoteStoreUpdateResourceResult() *NoteStoreUpdateResourceResult

func (*NoteStoreUpdateResourceResult) GetNotFoundException

func (p *NoteStoreUpdateResourceResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreUpdateResourceResult) GetSuccess

func (p *NoteStoreUpdateResourceResult) GetSuccess() int32

func (*NoteStoreUpdateResourceResult) GetSystemException

func (p *NoteStoreUpdateResourceResult) GetSystemException() *EDAMSystemException

func (*NoteStoreUpdateResourceResult) GetUserException

func (p *NoteStoreUpdateResourceResult) GetUserException() *EDAMUserException

func (*NoteStoreUpdateResourceResult) IsSetNotFoundException

func (p *NoteStoreUpdateResourceResult) IsSetNotFoundException() bool

func (*NoteStoreUpdateResourceResult) IsSetSuccess

func (p *NoteStoreUpdateResourceResult) IsSetSuccess() bool

func (*NoteStoreUpdateResourceResult) IsSetSystemException

func (p *NoteStoreUpdateResourceResult) IsSetSystemException() bool

func (*NoteStoreUpdateResourceResult) IsSetUserException

func (p *NoteStoreUpdateResourceResult) IsSetUserException() bool

func (*NoteStoreUpdateResourceResult) Read

func (*NoteStoreUpdateResourceResult) ReadField0

func (p *NoteStoreUpdateResourceResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreUpdateResourceResult) ReadField1

func (p *NoteStoreUpdateResourceResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUpdateResourceResult) ReadField2

func (p *NoteStoreUpdateResourceResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUpdateResourceResult) ReadField3

func (p *NoteStoreUpdateResourceResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreUpdateResourceResult) String

func (*NoteStoreUpdateResourceResult) Write

type NoteStoreUpdateSearchArgs

type NoteStoreUpdateSearchArgs struct {
	AuthenticationToken string       `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Search              *SavedSearch `thrift:"search,2" db:"search" json:"search"`
}

Attributes:

  • AuthenticationToken
  • Search

func NewNoteStoreUpdateSearchArgs

func NewNoteStoreUpdateSearchArgs() *NoteStoreUpdateSearchArgs

func (*NoteStoreUpdateSearchArgs) GetAuthenticationToken

func (p *NoteStoreUpdateSearchArgs) GetAuthenticationToken() string

func (*NoteStoreUpdateSearchArgs) GetSearch

func (p *NoteStoreUpdateSearchArgs) GetSearch() *SavedSearch

func (*NoteStoreUpdateSearchArgs) IsSetSearch

func (p *NoteStoreUpdateSearchArgs) IsSetSearch() bool

func (*NoteStoreUpdateSearchArgs) Read

func (*NoteStoreUpdateSearchArgs) ReadField1

func (p *NoteStoreUpdateSearchArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUpdateSearchArgs) ReadField2

func (p *NoteStoreUpdateSearchArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUpdateSearchArgs) String

func (p *NoteStoreUpdateSearchArgs) String() string

func (*NoteStoreUpdateSearchArgs) Write

type NoteStoreUpdateSearchResult

type NoteStoreUpdateSearchResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreUpdateSearchResult

func NewNoteStoreUpdateSearchResult() *NoteStoreUpdateSearchResult

func (*NoteStoreUpdateSearchResult) GetNotFoundException

func (p *NoteStoreUpdateSearchResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreUpdateSearchResult) GetSuccess

func (p *NoteStoreUpdateSearchResult) GetSuccess() int32

func (*NoteStoreUpdateSearchResult) GetSystemException

func (p *NoteStoreUpdateSearchResult) GetSystemException() *EDAMSystemException

func (*NoteStoreUpdateSearchResult) GetUserException

func (p *NoteStoreUpdateSearchResult) GetUserException() *EDAMUserException

func (*NoteStoreUpdateSearchResult) IsSetNotFoundException

func (p *NoteStoreUpdateSearchResult) IsSetNotFoundException() bool

func (*NoteStoreUpdateSearchResult) IsSetSuccess

func (p *NoteStoreUpdateSearchResult) IsSetSuccess() bool

func (*NoteStoreUpdateSearchResult) IsSetSystemException

func (p *NoteStoreUpdateSearchResult) IsSetSystemException() bool

func (*NoteStoreUpdateSearchResult) IsSetUserException

func (p *NoteStoreUpdateSearchResult) IsSetUserException() bool

func (*NoteStoreUpdateSearchResult) Read

func (*NoteStoreUpdateSearchResult) ReadField0

func (p *NoteStoreUpdateSearchResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreUpdateSearchResult) ReadField1

func (p *NoteStoreUpdateSearchResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUpdateSearchResult) ReadField2

func (p *NoteStoreUpdateSearchResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUpdateSearchResult) ReadField3

func (p *NoteStoreUpdateSearchResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreUpdateSearchResult) String

func (p *NoteStoreUpdateSearchResult) String() string

func (*NoteStoreUpdateSearchResult) Write

type NoteStoreUpdateSharedNotebookArgs

type NoteStoreUpdateSharedNotebookArgs struct {
	AuthenticationToken string          `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	SharedNotebook      *SharedNotebook `thrift:"sharedNotebook,2" db:"sharedNotebook" json:"sharedNotebook"`
}

Attributes:

  • AuthenticationToken
  • SharedNotebook

func NewNoteStoreUpdateSharedNotebookArgs

func NewNoteStoreUpdateSharedNotebookArgs() *NoteStoreUpdateSharedNotebookArgs

func (*NoteStoreUpdateSharedNotebookArgs) GetAuthenticationToken

func (p *NoteStoreUpdateSharedNotebookArgs) GetAuthenticationToken() string

func (*NoteStoreUpdateSharedNotebookArgs) GetSharedNotebook

func (p *NoteStoreUpdateSharedNotebookArgs) GetSharedNotebook() *SharedNotebook

func (*NoteStoreUpdateSharedNotebookArgs) IsSetSharedNotebook

func (p *NoteStoreUpdateSharedNotebookArgs) IsSetSharedNotebook() bool

func (*NoteStoreUpdateSharedNotebookArgs) Read

func (*NoteStoreUpdateSharedNotebookArgs) ReadField1

func (*NoteStoreUpdateSharedNotebookArgs) ReadField2

func (*NoteStoreUpdateSharedNotebookArgs) String

func (*NoteStoreUpdateSharedNotebookArgs) Write

type NoteStoreUpdateSharedNotebookResult

type NoteStoreUpdateSharedNotebookResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,2" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,3" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • NotFoundException
  • SystemException

func NewNoteStoreUpdateSharedNotebookResult

func NewNoteStoreUpdateSharedNotebookResult() *NoteStoreUpdateSharedNotebookResult

func (*NoteStoreUpdateSharedNotebookResult) GetNotFoundException

func (*NoteStoreUpdateSharedNotebookResult) GetSuccess

func (*NoteStoreUpdateSharedNotebookResult) GetSystemException

func (*NoteStoreUpdateSharedNotebookResult) GetUserException

func (*NoteStoreUpdateSharedNotebookResult) IsSetNotFoundException

func (p *NoteStoreUpdateSharedNotebookResult) IsSetNotFoundException() bool

func (*NoteStoreUpdateSharedNotebookResult) IsSetSuccess

func (p *NoteStoreUpdateSharedNotebookResult) IsSetSuccess() bool

func (*NoteStoreUpdateSharedNotebookResult) IsSetSystemException

func (p *NoteStoreUpdateSharedNotebookResult) IsSetSystemException() bool

func (*NoteStoreUpdateSharedNotebookResult) IsSetUserException

func (p *NoteStoreUpdateSharedNotebookResult) IsSetUserException() bool

func (*NoteStoreUpdateSharedNotebookResult) Read

func (*NoteStoreUpdateSharedNotebookResult) ReadField0

func (*NoteStoreUpdateSharedNotebookResult) ReadField1

func (*NoteStoreUpdateSharedNotebookResult) ReadField2

func (*NoteStoreUpdateSharedNotebookResult) ReadField3

func (*NoteStoreUpdateSharedNotebookResult) String

func (*NoteStoreUpdateSharedNotebookResult) Write

type NoteStoreUpdateTagArgs

type NoteStoreUpdateTagArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	Tag                 *Tag   `thrift:"tag,2" db:"tag" json:"tag"`
}

Attributes:

  • AuthenticationToken
  • Tag

func NewNoteStoreUpdateTagArgs

func NewNoteStoreUpdateTagArgs() *NoteStoreUpdateTagArgs

func (*NoteStoreUpdateTagArgs) GetAuthenticationToken

func (p *NoteStoreUpdateTagArgs) GetAuthenticationToken() string

func (*NoteStoreUpdateTagArgs) GetTag

func (p *NoteStoreUpdateTagArgs) GetTag() *Tag

func (*NoteStoreUpdateTagArgs) IsSetTag

func (p *NoteStoreUpdateTagArgs) IsSetTag() bool

func (*NoteStoreUpdateTagArgs) Read

func (*NoteStoreUpdateTagArgs) ReadField1

func (p *NoteStoreUpdateTagArgs) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUpdateTagArgs) ReadField2

func (p *NoteStoreUpdateTagArgs) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUpdateTagArgs) String

func (p *NoteStoreUpdateTagArgs) String() string

func (*NoteStoreUpdateTagArgs) Write

func (p *NoteStoreUpdateTagArgs) Write(oprot thrift.TProtocol) error

type NoteStoreUpdateTagResult

type NoteStoreUpdateTagResult struct {
	Success           *int32                 `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException
  • NotFoundException

func NewNoteStoreUpdateTagResult

func NewNoteStoreUpdateTagResult() *NoteStoreUpdateTagResult

func (*NoteStoreUpdateTagResult) GetNotFoundException

func (p *NoteStoreUpdateTagResult) GetNotFoundException() *EDAMNotFoundException

func (*NoteStoreUpdateTagResult) GetSuccess

func (p *NoteStoreUpdateTagResult) GetSuccess() int32

func (*NoteStoreUpdateTagResult) GetSystemException

func (p *NoteStoreUpdateTagResult) GetSystemException() *EDAMSystemException

func (*NoteStoreUpdateTagResult) GetUserException

func (p *NoteStoreUpdateTagResult) GetUserException() *EDAMUserException

func (*NoteStoreUpdateTagResult) IsSetNotFoundException

func (p *NoteStoreUpdateTagResult) IsSetNotFoundException() bool

func (*NoteStoreUpdateTagResult) IsSetSuccess

func (p *NoteStoreUpdateTagResult) IsSetSuccess() bool

func (*NoteStoreUpdateTagResult) IsSetSystemException

func (p *NoteStoreUpdateTagResult) IsSetSystemException() bool

func (*NoteStoreUpdateTagResult) IsSetUserException

func (p *NoteStoreUpdateTagResult) IsSetUserException() bool

func (*NoteStoreUpdateTagResult) Read

func (*NoteStoreUpdateTagResult) ReadField0

func (p *NoteStoreUpdateTagResult) ReadField0(iprot thrift.TProtocol) error

func (*NoteStoreUpdateTagResult) ReadField1

func (p *NoteStoreUpdateTagResult) ReadField1(iprot thrift.TProtocol) error

func (*NoteStoreUpdateTagResult) ReadField2

func (p *NoteStoreUpdateTagResult) ReadField2(iprot thrift.TProtocol) error

func (*NoteStoreUpdateTagResult) ReadField3

func (p *NoteStoreUpdateTagResult) ReadField3(iprot thrift.TProtocol) error

func (*NoteStoreUpdateTagResult) String

func (p *NoteStoreUpdateTagResult) String() string

func (*NoteStoreUpdateTagResult) Write

type NoteVersionId

type NoteVersionId struct {
	UpdateSequenceNum int32     `thrift:"updateSequenceNum,1,required" db:"updateSequenceNum" json:"updateSequenceNum"`
	Updated           Timestamp `thrift:"updated,2,required" db:"updated" json:"updated"`
	Saved             Timestamp `thrift:"saved,3,required" db:"saved" json:"saved"`
	Title             string    `thrift:"title,4,required" db:"title" json:"title"`
	LastEditorId      *UserID   `thrift:"lastEditorId,5" db:"lastEditorId" json:"lastEditorId,omitempty"`
}

Identifying information about previous versions of a note that are backed up within Evernote's servers. Used in the return value of the listNoteVersions call.

<dl>

<dt>updateSequenceNum</dt>
<dd>
  The update sequence number for the Note when it last had this content.
  This serves to uniquely identify each version of the note, since USN
  values are unique within an account for each update.
</dd>
<dt>updated</dt>
<dd>
  The 'updated' time that was set on the Note when it had this version
  of the content.  This is the user-modifiable modification time on the
  note, so it's not reliable for guaranteeing the order of various
  versions.  (E.g. if someone modifies the note, then changes this time
  manually into the past and then updates the note again.)
</dd>
<dt>saved</dt>
<dd>
  A timestamp that holds the date and time when this version of the note
  was backed up by Evernote's servers.
</dd>
<dt>title</dt>
<dd>
  The title of the note when this particular version was saved.  (The
  current title of the note may differ from this value.)
</dd>
<dt>lastEditorId</dt>
<dd>
  The ID of the user who made the change to this version of the note. This will be
  unset if the note version was edited by the owner of the account.
</dd>

</dl>

Attributes:

  • UpdateSequenceNum
  • Updated
  • Saved
  • Title
  • LastEditorId

func NewNoteVersionId

func NewNoteVersionId() *NoteVersionId

func (*NoteVersionId) GetLastEditorId

func (p *NoteVersionId) GetLastEditorId() UserID

func (*NoteVersionId) GetSaved

func (p *NoteVersionId) GetSaved() Timestamp

func (*NoteVersionId) GetTitle

func (p *NoteVersionId) GetTitle() string

func (*NoteVersionId) GetUpdateSequenceNum

func (p *NoteVersionId) GetUpdateSequenceNum() int32

func (*NoteVersionId) GetUpdated

func (p *NoteVersionId) GetUpdated() Timestamp

func (*NoteVersionId) IsSetLastEditorId

func (p *NoteVersionId) IsSetLastEditorId() bool

func (*NoteVersionId) Read

func (p *NoteVersionId) Read(iprot thrift.TProtocol) error

func (*NoteVersionId) ReadField1

func (p *NoteVersionId) ReadField1(iprot thrift.TProtocol) error

func (*NoteVersionId) ReadField2

func (p *NoteVersionId) ReadField2(iprot thrift.TProtocol) error

func (*NoteVersionId) ReadField3

func (p *NoteVersionId) ReadField3(iprot thrift.TProtocol) error

func (*NoteVersionId) ReadField4

func (p *NoteVersionId) ReadField4(iprot thrift.TProtocol) error

func (*NoteVersionId) ReadField5

func (p *NoteVersionId) ReadField5(iprot thrift.TProtocol) error

func (*NoteVersionId) String

func (p *NoteVersionId) String() string

func (*NoteVersionId) Write

func (p *NoteVersionId) Write(oprot thrift.TProtocol) error

type Notebook

type Notebook struct {
	GUID *GUID   `thrift:"guid,1" db:"guid" json:"guid,omitempty"`
	Name *string `thrift:"name,2" db:"name" json:"name,omitempty"`
	// unused fields # 3 to 4
	UpdateSequenceNum *int32     `thrift:"updateSequenceNum,5" db:"updateSequenceNum" json:"updateSequenceNum,omitempty"`
	DefaultNotebook   *bool      `thrift:"defaultNotebook,6" db:"defaultNotebook" json:"defaultNotebook,omitempty"`
	ServiceCreated    *Timestamp `thrift:"serviceCreated,7" db:"serviceCreated" json:"serviceCreated,omitempty"`
	ServiceUpdated    *Timestamp `thrift:"serviceUpdated,8" db:"serviceUpdated" json:"serviceUpdated,omitempty"`
	// unused field # 9
	Publishing        *Publishing                `thrift:"publishing,10" db:"publishing" json:"publishing,omitempty"`
	Published         *bool                      `thrift:"published,11" db:"published" json:"published,omitempty"`
	Stack             *string                    `thrift:"stack,12" db:"stack" json:"stack,omitempty"`
	SharedNotebookIds []int64                    `thrift:"sharedNotebookIds,13" db:"sharedNotebookIds" json:"sharedNotebookIds,omitempty"`
	SharedNotebooks   []*SharedNotebook          `thrift:"sharedNotebooks,14" db:"sharedNotebooks" json:"sharedNotebooks,omitempty"`
	BusinessNotebook  *BusinessNotebook          `thrift:"businessNotebook,15" db:"businessNotebook" json:"businessNotebook,omitempty"`
	Contact           *User                      `thrift:"contact,16" db:"contact" json:"contact,omitempty"`
	Restrictions      *NotebookRestrictions      `thrift:"restrictions,17" db:"restrictions" json:"restrictions,omitempty"`
	RecipientSettings *NotebookRecipientSettings `thrift:"recipientSettings,18" db:"recipientSettings" json:"recipientSettings,omitempty"`
}

A unique container for a set of notes. <dl> <dt>guid</dt>

<dd>The unique identifier of this notebook.
<br/>
Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
<br/>
Regex:  EDAM_GUID_REGEX
</dd>

<dt>name</dt>

<dd>A sequence of characters representing the name of the
notebook.  May be changed by clients, but the account may not contain two
notebooks with names that are equal via a case-insensitive comparison.
Can't begin or end with a space.
<br/>
Length:  EDAM_NOTEBOOK_NAME_LEN_MIN - EDAM_NOTEBOOK_NAME_LEN_MAX
<br/>
Regex:  EDAM_NOTEBOOK_NAME_REGEX
</dd>

<dt>updateSequenceNum</dt>

<dd>A number identifying the last transaction to
modify the state of this object.  The USN values are sequential within an
account, and can be used to compare the order of modifications within the
service.
</dd>

<dt>defaultNotebook</dt>

<dd>If true, this notebook should be used for new notes
whenever the user has not (or cannot) specify a desired target notebook.
For example, if a note is submitted via SMTP email.
The service will maintain at most one defaultNotebook per account.
If a second notebook is created or updated with defaultNotebook set to
true, the service will automatically update the prior notebook's
defaultNotebook field to false.  If the default notebook is deleted
(i.e. "active" set to false), the "defaultNotebook" field will be
set to false by the service.  If the account has no default notebook
set, the service will use the most recent notebook as the default.
</dd>

<dt>serviceCreated</dt>

<dd>The time when this notebook was created on the
service. This will be set on the service during creation, and the service
will provide this value when it returns a Notebook to a client.
The service will ignore this value if it is sent by clients.
</dd>

<dt>serviceUpdated</dt>

<dd>The time when this notebook was last modified on the
service.  This will be set on the service during creation, and the service
will provide this value when it returns a Notebook to a client.
The service will ignore this value if it is sent by clients.
</dd>

<dt>publishing</dt>

<dd>If the Notebook has been opened for public access, then this will point to the set of
publishing information for the Notebook (URI, description, etc.). A Notebook cannot be
published without providing this information, but it will persist for later use if publishing
is ever disabled on the Notebook. Clients that do not wish to change the publishing behavior
of a Notebook should not set this value when calling NoteStore.updateNotebook().
Note that this structure is never populated for business notebooks, see the businessNotebook
field.
</dd>

<dt>published</dt>

<dd>If this is set to true, then the Notebook will be
accessible either to the public, or for business users to their business,
via the 'publishing' or 'businessNotebook' specifications, which must also be set. If this is
set to false, the Notebook will not be available to the public (or business).
Clients that do not wish to change the publishing behavior of a Notebook
should not set this value when calling NoteStore.updateNotebook().
</dd>

<dt>stack</dt>

<dd>If this is set, then the notebook is visually contained within a stack
of notebooks with this name.  All notebooks in the same account with the
same 'stack' field are considered to be in the same stack.
Notebooks with no stack set are "top level" and not contained within a
stack.
</dd>

<dt>sharedNotebookIds</dt>

<dd><i>DEPRECATED</i> - replaced by sharedNotebooks.</dd>

<dt>sharedNotebooks</dt>

<dd>The list of recipients to whom this notebook has been shared
(one SharedNotebook object per recipient email address). This field will
be unset if you do not have permission to access this data. If you are
accessing the notebook as the owner or via a shared notebook that is
modifiable, then you have access to this data and the value will be set.
This field is read-only. Clients may not make changes to shared notebooks
via this field.
</dd>

<dt>businessNotebook</dt>

<dd>If the notebook is part of a business account and has been shared with the entire
business, this will contain sharing information. The presence or absence of this field
is not a reliable test of whether a given notebook is in fact a business notebook - the
field is only used when a notebook is or has been shared with the entire business.
</dd>

<dt>contact</dt>

<dd>Intended for use with Business accounts, this field identifies the user who
has been designated as the "contact".  For notebooks created in business
accounts, the server will automatically set this value to the user who created
the notebook unless Notebook.contact.username has been set, in which that value
will be used.  When updating a notebook, it is common to leave Notebook.contact
field unset, indicating that no change to the value is being requested and that
the existing value, if any, should be preserved.
</dd>

<dt>recipientSettings</dt>

<dd>This represents the preferences/settings that a recipient has set for this
notebook. These are intended to be changed only by the recipient, and each
recipient has their own recipient settings.
</dd>

</dl>

Attributes:

  • GUID
  • Name
  • UpdateSequenceNum
  • DefaultNotebook
  • ServiceCreated
  • ServiceUpdated
  • Publishing
  • Published
  • Stack
  • SharedNotebookIds
  • SharedNotebooks
  • BusinessNotebook
  • Contact
  • Restrictions
  • RecipientSettings
var NoteStoreCreateNotebookArgs_Notebook_DEFAULT *Notebook
var NoteStoreCreateNotebookResult_Success_DEFAULT *Notebook
var NoteStoreGetDefaultNotebookResult_Success_DEFAULT *Notebook
var NoteStoreGetNotebookResult_Success_DEFAULT *Notebook
var NoteStoreGetPublicNotebookResult_Success_DEFAULT *Notebook
var NoteStoreSetNotebookRecipientSettingsResult_Success_DEFAULT *Notebook
var NoteStoreUpdateNotebookArgs_Notebook_DEFAULT *Notebook

func NewNotebook

func NewNotebook() *Notebook

func (*Notebook) GetBusinessNotebook

func (p *Notebook) GetBusinessNotebook() *BusinessNotebook

func (*Notebook) GetContact

func (p *Notebook) GetContact() *User

func (*Notebook) GetDefaultNotebook

func (p *Notebook) GetDefaultNotebook() bool

func (*Notebook) GetGUID

func (p *Notebook) GetGUID() GUID

func (*Notebook) GetName

func (p *Notebook) GetName() string

func (*Notebook) GetPublished

func (p *Notebook) GetPublished() bool

func (*Notebook) GetPublishing

func (p *Notebook) GetPublishing() *Publishing

func (*Notebook) GetRecipientSettings

func (p *Notebook) GetRecipientSettings() *NotebookRecipientSettings

func (*Notebook) GetRestrictions

func (p *Notebook) GetRestrictions() *NotebookRestrictions

func (*Notebook) GetServiceCreated

func (p *Notebook) GetServiceCreated() Timestamp

func (*Notebook) GetServiceUpdated

func (p *Notebook) GetServiceUpdated() Timestamp

func (*Notebook) GetSharedNotebookIds

func (p *Notebook) GetSharedNotebookIds() []int64

func (*Notebook) GetSharedNotebooks

func (p *Notebook) GetSharedNotebooks() []*SharedNotebook

func (*Notebook) GetStack

func (p *Notebook) GetStack() string

func (*Notebook) GetUpdateSequenceNum

func (p *Notebook) GetUpdateSequenceNum() int32

func (*Notebook) IsSetBusinessNotebook

func (p *Notebook) IsSetBusinessNotebook() bool

func (*Notebook) IsSetContact

func (p *Notebook) IsSetContact() bool

func (*Notebook) IsSetDefaultNotebook

func (p *Notebook) IsSetDefaultNotebook() bool

func (*Notebook) IsSetGUID

func (p *Notebook) IsSetGUID() bool

func (*Notebook) IsSetName

func (p *Notebook) IsSetName() bool

func (*Notebook) IsSetPublished

func (p *Notebook) IsSetPublished() bool

func (*Notebook) IsSetPublishing

func (p *Notebook) IsSetPublishing() bool

func (*Notebook) IsSetRecipientSettings

func (p *Notebook) IsSetRecipientSettings() bool

func (*Notebook) IsSetRestrictions

func (p *Notebook) IsSetRestrictions() bool

func (*Notebook) IsSetServiceCreated

func (p *Notebook) IsSetServiceCreated() bool

func (*Notebook) IsSetServiceUpdated

func (p *Notebook) IsSetServiceUpdated() bool

func (*Notebook) IsSetSharedNotebookIds

func (p *Notebook) IsSetSharedNotebookIds() bool

func (*Notebook) IsSetSharedNotebooks

func (p *Notebook) IsSetSharedNotebooks() bool

func (*Notebook) IsSetStack

func (p *Notebook) IsSetStack() bool

func (*Notebook) IsSetUpdateSequenceNum

func (p *Notebook) IsSetUpdateSequenceNum() bool

func (*Notebook) Read

func (p *Notebook) Read(iprot thrift.TProtocol) error

func (*Notebook) ReadField1

func (p *Notebook) ReadField1(iprot thrift.TProtocol) error

func (*Notebook) ReadField10

func (p *Notebook) ReadField10(iprot thrift.TProtocol) error

func (*Notebook) ReadField11

func (p *Notebook) ReadField11(iprot thrift.TProtocol) error

func (*Notebook) ReadField12

func (p *Notebook) ReadField12(iprot thrift.TProtocol) error

func (*Notebook) ReadField13

func (p *Notebook) ReadField13(iprot thrift.TProtocol) error

func (*Notebook) ReadField14

func (p *Notebook) ReadField14(iprot thrift.TProtocol) error

func (*Notebook) ReadField15

func (p *Notebook) ReadField15(iprot thrift.TProtocol) error

func (*Notebook) ReadField16

func (p *Notebook) ReadField16(iprot thrift.TProtocol) error

func (*Notebook) ReadField17

func (p *Notebook) ReadField17(iprot thrift.TProtocol) error

func (*Notebook) ReadField18

func (p *Notebook) ReadField18(iprot thrift.TProtocol) error

func (*Notebook) ReadField2

func (p *Notebook) ReadField2(iprot thrift.TProtocol) error

func (*Notebook) ReadField5

func (p *Notebook) ReadField5(iprot thrift.TProtocol) error

func (*Notebook) ReadField6

func (p *Notebook) ReadField6(iprot thrift.TProtocol) error

func (*Notebook) ReadField7

func (p *Notebook) ReadField7(iprot thrift.TProtocol) error

func (*Notebook) ReadField8

func (p *Notebook) ReadField8(iprot thrift.TProtocol) error

func (*Notebook) String

func (p *Notebook) String() string

func (*Notebook) Write

func (p *Notebook) Write(oprot thrift.TProtocol) error

type NotebookDescriptor

type NotebookDescriptor struct {
	GUID                *GUID   `thrift:"guid,1" db:"guid" json:"guid,omitempty"`
	NotebookDisplayName *string `thrift:"notebookDisplayName,2" db:"notebookDisplayName" json:"notebookDisplayName,omitempty"`
	ContactName         *string `thrift:"contactName,3" db:"contactName" json:"contactName,omitempty"`
	HasSharedNotebook   *bool   `thrift:"hasSharedNotebook,4" db:"hasSharedNotebook" json:"hasSharedNotebook,omitempty"`
	JoinedUserCount     *int32  `thrift:"joinedUserCount,5" db:"joinedUserCount" json:"joinedUserCount,omitempty"`
}

A structure that describes a notebook or a user's relationship with a notebook. NotebookDescriptor is expected to remain a lighter-weight structure when compared to Notebook. <dl> <dt>guid</dt>

<dd>The unique identifier of the notebook.
</dd>

<dt>notebookDisplayName</dt>

<dd>A sequence of characters representing the name of the
notebook.
</dd>

<dt>contactName</dt>

<dd>The User.name value of the notebook's "contact".
</dd>

<dt>hasSharedNotebook</dt>

<dd>Whether a SharedNotebook record exists between the calling user and this
notebook.
</dd>

<dt>joinedUserCount</dt>

<dd>The number of users who have joined this notebook.
</dd>

</dl>

Attributes:

  • GUID
  • NotebookDisplayName
  • ContactName
  • HasSharedNotebook
  • JoinedUserCount

func NewNotebookDescriptor

func NewNotebookDescriptor() *NotebookDescriptor

func (*NotebookDescriptor) GetContactName

func (p *NotebookDescriptor) GetContactName() string

func (*NotebookDescriptor) GetGUID

func (p *NotebookDescriptor) GetGUID() GUID

func (*NotebookDescriptor) GetHasSharedNotebook

func (p *NotebookDescriptor) GetHasSharedNotebook() bool

func (*NotebookDescriptor) GetJoinedUserCount

func (p *NotebookDescriptor) GetJoinedUserCount() int32

func (*NotebookDescriptor) GetNotebookDisplayName

func (p *NotebookDescriptor) GetNotebookDisplayName() string

func (*NotebookDescriptor) IsSetContactName

func (p *NotebookDescriptor) IsSetContactName() bool

func (*NotebookDescriptor) IsSetGUID

func (p *NotebookDescriptor) IsSetGUID() bool

func (*NotebookDescriptor) IsSetHasSharedNotebook

func (p *NotebookDescriptor) IsSetHasSharedNotebook() bool

func (*NotebookDescriptor) IsSetJoinedUserCount

func (p *NotebookDescriptor) IsSetJoinedUserCount() bool

func (*NotebookDescriptor) IsSetNotebookDisplayName

func (p *NotebookDescriptor) IsSetNotebookDisplayName() bool

func (*NotebookDescriptor) Read

func (p *NotebookDescriptor) Read(iprot thrift.TProtocol) error

func (*NotebookDescriptor) ReadField1

func (p *NotebookDescriptor) ReadField1(iprot thrift.TProtocol) error

func (*NotebookDescriptor) ReadField2

func (p *NotebookDescriptor) ReadField2(iprot thrift.TProtocol) error

func (*NotebookDescriptor) ReadField3

func (p *NotebookDescriptor) ReadField3(iprot thrift.TProtocol) error

func (*NotebookDescriptor) ReadField4

func (p *NotebookDescriptor) ReadField4(iprot thrift.TProtocol) error

func (*NotebookDescriptor) ReadField5

func (p *NotebookDescriptor) ReadField5(iprot thrift.TProtocol) error

func (*NotebookDescriptor) String

func (p *NotebookDescriptor) String() string

func (*NotebookDescriptor) Write

func (p *NotebookDescriptor) Write(oprot thrift.TProtocol) error

type NotebookRecipientSettings

type NotebookRecipientSettings struct {
	ReminderNotifyEmail *bool            `thrift:"reminderNotifyEmail,1" db:"reminderNotifyEmail" json:"reminderNotifyEmail,omitempty"`
	ReminderNotifyInApp *bool            `thrift:"reminderNotifyInApp,2" db:"reminderNotifyInApp" json:"reminderNotifyInApp,omitempty"`
	InMyList            *bool            `thrift:"inMyList,3" db:"inMyList" json:"inMyList,omitempty"`
	Stack               *string          `thrift:"stack,4" db:"stack" json:"stack,omitempty"`
	RecipientStatus     *RecipientStatus `thrift:"recipientStatus,5" db:"recipientStatus" json:"recipientStatus,omitempty"`
}

Settings meant for the recipient of a notebook share.

Some of these fields have a 3-state read value but a 2-state write value. On read, it is possible to observe "unset", true, or false. The initial state is "unset". When you choose to set a value, you may set it to either true or false, but you cannot unset the value. Once one of these members has a true/false value, it will always have a true/false value.

<dl> <dt>reminderNotifyEmail</dt> <dd>Indicates that the user wishes to receive daily e-mail notifications

for reminders associated with the notebook. This may be
true only for business notebooks that belong to the business of
which the user is a member. You may only set this value on a
notebook in your business. This value will initially be unset.</dd>

<dt>reminderNotifyInApp</dt> <dd>Indicates that the user wishes to receive notifications for

reminders by applications that support providing such
notifications.  The exact nature of the notification is defined
by the individual applications. This value will initially be unset.</dd>

</dl> <dt>inMyList</dt> <dd>DEPRECATED: Use recipientStatus instead.

The notebook is on the recipient's notebook list (formerly, we would say
that the recipient has "joined" the notebook)</dd>

<dt>recipientStatus</dt> <dd>The notebook is on/off the recipient's notebook list (formerly, we would say

that the recipient has "joined" the notebook) and perhaps also their
default notebook</dd>

<dt>stack</dt> <dd>The stack the recipient has put this notebook into. See Notebook.stack for a definition. Every recipient can have their own stack value for the same notebook.</dd> </dl>

Attributes:

  • ReminderNotifyEmail
  • ReminderNotifyInApp
  • InMyList
  • Stack
  • RecipientStatus
var NoteStoreSetNotebookRecipientSettingsArgs_RecipientSettings_DEFAULT *NotebookRecipientSettings
var Notebook_RecipientSettings_DEFAULT *NotebookRecipientSettings

func NewNotebookRecipientSettings

func NewNotebookRecipientSettings() *NotebookRecipientSettings

func (*NotebookRecipientSettings) GetInMyList

func (p *NotebookRecipientSettings) GetInMyList() bool

func (*NotebookRecipientSettings) GetRecipientStatus

func (p *NotebookRecipientSettings) GetRecipientStatus() RecipientStatus

func (*NotebookRecipientSettings) GetReminderNotifyEmail

func (p *NotebookRecipientSettings) GetReminderNotifyEmail() bool

func (*NotebookRecipientSettings) GetReminderNotifyInApp

func (p *NotebookRecipientSettings) GetReminderNotifyInApp() bool

func (*NotebookRecipientSettings) GetStack

func (p *NotebookRecipientSettings) GetStack() string

func (*NotebookRecipientSettings) IsSetInMyList

func (p *NotebookRecipientSettings) IsSetInMyList() bool

func (*NotebookRecipientSettings) IsSetRecipientStatus

func (p *NotebookRecipientSettings) IsSetRecipientStatus() bool

func (*NotebookRecipientSettings) IsSetReminderNotifyEmail

func (p *NotebookRecipientSettings) IsSetReminderNotifyEmail() bool

func (*NotebookRecipientSettings) IsSetReminderNotifyInApp

func (p *NotebookRecipientSettings) IsSetReminderNotifyInApp() bool

func (*NotebookRecipientSettings) IsSetStack

func (p *NotebookRecipientSettings) IsSetStack() bool

func (*NotebookRecipientSettings) Read

func (*NotebookRecipientSettings) ReadField1

func (p *NotebookRecipientSettings) ReadField1(iprot thrift.TProtocol) error

func (*NotebookRecipientSettings) ReadField2

func (p *NotebookRecipientSettings) ReadField2(iprot thrift.TProtocol) error

func (*NotebookRecipientSettings) ReadField3

func (p *NotebookRecipientSettings) ReadField3(iprot thrift.TProtocol) error

func (*NotebookRecipientSettings) ReadField4

func (p *NotebookRecipientSettings) ReadField4(iprot thrift.TProtocol) error

func (*NotebookRecipientSettings) ReadField5

func (p *NotebookRecipientSettings) ReadField5(iprot thrift.TProtocol) error

func (*NotebookRecipientSettings) String

func (p *NotebookRecipientSettings) String() string

func (*NotebookRecipientSettings) Write

type NotebookRestrictions

type NotebookRestrictions struct {
	NoReadNotes                            *bool                               `thrift:"noReadNotes,1" db:"noReadNotes" json:"noReadNotes,omitempty"`
	NoCreateNotes                          *bool                               `thrift:"noCreateNotes,2" db:"noCreateNotes" json:"noCreateNotes,omitempty"`
	NoUpdateNotes                          *bool                               `thrift:"noUpdateNotes,3" db:"noUpdateNotes" json:"noUpdateNotes,omitempty"`
	NoExpungeNotes                         *bool                               `thrift:"noExpungeNotes,4" db:"noExpungeNotes" json:"noExpungeNotes,omitempty"`
	NoShareNotes                           *bool                               `thrift:"noShareNotes,5" db:"noShareNotes" json:"noShareNotes,omitempty"`
	NoEmailNotes                           *bool                               `thrift:"noEmailNotes,6" db:"noEmailNotes" json:"noEmailNotes,omitempty"`
	NoSendMessageToRecipients              *bool                               `thrift:"noSendMessageToRecipients,7" db:"noSendMessageToRecipients" json:"noSendMessageToRecipients,omitempty"`
	NoUpdateNotebook                       *bool                               `thrift:"noUpdateNotebook,8" db:"noUpdateNotebook" json:"noUpdateNotebook,omitempty"`
	NoExpungeNotebook                      *bool                               `thrift:"noExpungeNotebook,9" db:"noExpungeNotebook" json:"noExpungeNotebook,omitempty"`
	NoSetDefaultNotebook                   *bool                               `thrift:"noSetDefaultNotebook,10" db:"noSetDefaultNotebook" json:"noSetDefaultNotebook,omitempty"`
	NoSetNotebookStack                     *bool                               `thrift:"noSetNotebookStack,11" db:"noSetNotebookStack" json:"noSetNotebookStack,omitempty"`
	NoPublishToPublic                      *bool                               `thrift:"noPublishToPublic,12" db:"noPublishToPublic" json:"noPublishToPublic,omitempty"`
	NoPublishToBusinessLibrary             *bool                               `thrift:"noPublishToBusinessLibrary,13" db:"noPublishToBusinessLibrary" json:"noPublishToBusinessLibrary,omitempty"`
	NoCreateTags                           *bool                               `thrift:"noCreateTags,14" db:"noCreateTags" json:"noCreateTags,omitempty"`
	NoUpdateTags                           *bool                               `thrift:"noUpdateTags,15" db:"noUpdateTags" json:"noUpdateTags,omitempty"`
	NoExpungeTags                          *bool                               `thrift:"noExpungeTags,16" db:"noExpungeTags" json:"noExpungeTags,omitempty"`
	NoSetParentTag                         *bool                               `thrift:"noSetParentTag,17" db:"noSetParentTag" json:"noSetParentTag,omitempty"`
	NoCreateSharedNotebooks                *bool                               `thrift:"noCreateSharedNotebooks,18" db:"noCreateSharedNotebooks" json:"noCreateSharedNotebooks,omitempty"`
	UpdateWhichSharedNotebookRestrictions  *SharedNotebookInstanceRestrictions `` /* 147-byte string literal not displayed */
	ExpungeWhichSharedNotebookRestrictions *SharedNotebookInstanceRestrictions `` /* 150-byte string literal not displayed */
	NoShareNotesWithBusiness               *bool                               `thrift:"noShareNotesWithBusiness,21" db:"noShareNotesWithBusiness" json:"noShareNotesWithBusiness,omitempty"`
	NoRenameNotebook                       *bool                               `thrift:"noRenameNotebook,22" db:"noRenameNotebook" json:"noRenameNotebook,omitempty"`
	NoSetInMyList                          *bool                               `thrift:"noSetInMyList,23" db:"noSetInMyList" json:"noSetInMyList,omitempty"`
	NoChangeContact                        *bool                               `thrift:"noChangeContact,24" db:"noChangeContact" json:"noChangeContact,omitempty"`
	// unused field # 25
	CanMoveToContainerRestrictions *CanMoveToContainerRestrictions `` /* 126-byte string literal not displayed */
	NoSetReminderNotifyEmail       *bool                           `thrift:"noSetReminderNotifyEmail,27" db:"noSetReminderNotifyEmail" json:"noSetReminderNotifyEmail,omitempty"`
	NoSetReminderNotifyInApp       *bool                           `thrift:"noSetReminderNotifyInApp,28" db:"noSetReminderNotifyInApp" json:"noSetReminderNotifyInApp,omitempty"`
	NoSetRecipientSettingsStack    *bool                           `thrift:"noSetRecipientSettingsStack,29" db:"noSetRecipientSettingsStack" json:"noSetRecipientSettingsStack,omitempty"`
	NoCanMoveNote                  *bool                           `thrift:"noCanMoveNote,30" db:"noCanMoveNote" json:"noCanMoveNote,omitempty"`
}

This structure captures information about the types of operations that cannot be performed on a given notebook with a type of authenticated access and credentials. The values filled into this structure are based on then-current values in the server database for shared notebooks and notebook publishing records, as well as information related to the authentication token. Information from the authentication token includes the application that is accessing the server, as defined by the permissions granted by consumer (api) key, and the method used to obtain the token, for example via authenticateToSharedNotebook, authenticateToBusiness, etc. Note that changes to values in this structure that are the result of shared notebook or publishing record changes are communicated to the client via a change in the notebook USN during sync. It is important to use the same access method, parameters, and consumer key in order obtain correct results from the sync engine.

The server has the final say on what is allowed as values may change between calls to obtain NotebookRestrictions instances and to operate on data on the service.

If the following are set and true, then the given restriction is in effect, as accessed by the same authentication token from which the values were obtained.

<dl> <dt>noReadNotes</dt>

<dd>The client is not able to read notes from the service and
the notebook is write-only.
</dd>

<dt>noCreateNotes</dt>

<dd>The client may not create new notes in the notebook.
</dd>

<dt>noUpdateNotes</dt>

<dd>The client may not update notes currently in the notebook.
</dd>

<dt>noExpungeNotes</dt>

<dd>The client may not expunge notes currently in the notebook.
</dd>

<dt>noShareNotes</dt>

<dd>The client may not share notes in the notebook via the
shareNote or createOrUpdateSharedNotes methods.
</dd>

<dt>noEmailNotes</dt>

<dd>The client may not e-mail notes by guid via the Evernote
service by using the emailNote method.  Email notes by value
by populating the note parameter instead.
</dd>

<dt>noSendMessageToRecipients</dt>

<dd>The client may not send messages to the share recipients of
the notebook.
</dd>

<dt>noUpdateNotebook</dt>

<dd>The client may not update the Notebook object itself, for
example, via the updateNotebook method.
</dd>

<dt>noExpungeNotebook</dt>

<dd>The client may not expunge the Notebook object itself, for
example, via the expungeNotebook method.
</dd>

<dt>noSetDefaultNotebook</dt>

<dd>The client may not set this notebook to be the default notebook.
The caller should leave Notebook.defaultNotebook unset.
</dd>

<dt>noSetNotebookStack</dt>

<dd>If the client is able to update the Notebook, the Notebook.stack
value may not be set.
</dd>

<dt>noPublishToPublic</dt>

<dd>The client may not publish the notebook to the public.
For example, business notebooks may not be shared publicly.
</dd>

<dt>noPublishToBusinessLibrary</dt>

<dd>The client may not publish the notebook to the business library.
</dd>

<dt>noCreateTags</dt>

<dd>The client may not complete an operation that results in a new tag
being created in the owner's account.
</dd>

<dt>noUpdateTags</dt>

<dd>The client may not update tags in the owner's account.
</dd>

<dt>noExpungeTags</dt>

<dd>The client may not expunge tags in the owner's account.
</dd>

<dt>noSetParentTag</dt>

<dd>If the client is able to create or update tags in the owner's account,
then they will not be able to set the parent tag.  Leave the value unset.
</dd>

<dt>noCreateSharedNotebooks</dt>

<dd>The client is unable to create shared notebooks for the notebook.
</dd>

<dt>updateWhichSharedNotebookRestrictions</dt>

<dd>Restrictions on which shared notebook instances can be updated.  If the
value is not set or null, then the client can update any of the shared notebooks
associated with the notebook on which the NotebookRestrictions are defined.
See the enumeration for further details.
</dd>

<dt>expungeWhichSharedNotebookRestrictions</dt>

<dd>Restrictions on which shared notebook instances can be expunged.  If the
value is not set or null, then the client can expunge any of the shared notebooks
associated with the notebook on which the NotebookRestrictions are defined.
See the enumeration for further details.
</dd>

<dt>noShareNotesWithBusiness</dt>

<dd>The client may not share notes in the notebook via the shareNoteWithBusiness
method.
</dd>

<dt>noRenameNotebook</dt>

<dd>The client may not rename this notebook.</dd>

<dt>noSetInMyList</dt>

<dd>clients may not change the NotebookRecipientSettings.inMyList settings for
this notebook.</dd>

<dt>noSetContact</dt>

<dd>The contact for this notebook may not be changed.</dd>

</dl> <dt>canMoveToContainerRestrictions</dt>

<dd>Specifies if the client can move this notebook to a container and if not,
the reason why.</dd>

<dt>noCanMoveNote</dt>

<dd>If set, the client cannot move a Note into or out of the Notebook.</dd>

</dl>

Attributes:

  • NoReadNotes
  • NoCreateNotes
  • NoUpdateNotes
  • NoExpungeNotes
  • NoShareNotes
  • NoEmailNotes
  • NoSendMessageToRecipients
  • NoUpdateNotebook
  • NoExpungeNotebook
  • NoSetDefaultNotebook
  • NoSetNotebookStack
  • NoPublishToPublic
  • NoPublishToBusinessLibrary
  • NoCreateTags
  • NoUpdateTags
  • NoExpungeTags
  • NoSetParentTag
  • NoCreateSharedNotebooks
  • UpdateWhichSharedNotebookRestrictions
  • ExpungeWhichSharedNotebookRestrictions
  • NoShareNotesWithBusiness
  • NoRenameNotebook
  • NoSetInMyList
  • NoChangeContact
  • CanMoveToContainerRestrictions
  • NoSetReminderNotifyEmail
  • NoSetReminderNotifyInApp
  • NoSetRecipientSettingsStack
  • NoCanMoveNote
var Notebook_Restrictions_DEFAULT *NotebookRestrictions

func NewNotebookRestrictions

func NewNotebookRestrictions() *NotebookRestrictions

func (*NotebookRestrictions) GetCanMoveToContainerRestrictions

func (p *NotebookRestrictions) GetCanMoveToContainerRestrictions() *CanMoveToContainerRestrictions

func (*NotebookRestrictions) GetExpungeWhichSharedNotebookRestrictions

func (p *NotebookRestrictions) GetExpungeWhichSharedNotebookRestrictions() SharedNotebookInstanceRestrictions

func (*NotebookRestrictions) GetNoCanMoveNote

func (p *NotebookRestrictions) GetNoCanMoveNote() bool

func (*NotebookRestrictions) GetNoChangeContact

func (p *NotebookRestrictions) GetNoChangeContact() bool

func (*NotebookRestrictions) GetNoCreateNotes

func (p *NotebookRestrictions) GetNoCreateNotes() bool

func (*NotebookRestrictions) GetNoCreateSharedNotebooks

func (p *NotebookRestrictions) GetNoCreateSharedNotebooks() bool

func (*NotebookRestrictions) GetNoCreateTags

func (p *NotebookRestrictions) GetNoCreateTags() bool

func (*NotebookRestrictions) GetNoEmailNotes

func (p *NotebookRestrictions) GetNoEmailNotes() bool

func (*NotebookRestrictions) GetNoExpungeNotebook

func (p *NotebookRestrictions) GetNoExpungeNotebook() bool

func (*NotebookRestrictions) GetNoExpungeNotes

func (p *NotebookRestrictions) GetNoExpungeNotes() bool

func (*NotebookRestrictions) GetNoExpungeTags

func (p *NotebookRestrictions) GetNoExpungeTags() bool

func (*NotebookRestrictions) GetNoPublishToBusinessLibrary

func (p *NotebookRestrictions) GetNoPublishToBusinessLibrary() bool

func (*NotebookRestrictions) GetNoPublishToPublic

func (p *NotebookRestrictions) GetNoPublishToPublic() bool

func (*NotebookRestrictions) GetNoReadNotes

func (p *NotebookRestrictions) GetNoReadNotes() bool

func (*NotebookRestrictions) GetNoRenameNotebook

func (p *NotebookRestrictions) GetNoRenameNotebook() bool

func (*NotebookRestrictions) GetNoSendMessageToRecipients

func (p *NotebookRestrictions) GetNoSendMessageToRecipients() bool

func (*NotebookRestrictions) GetNoSetDefaultNotebook

func (p *NotebookRestrictions) GetNoSetDefaultNotebook() bool

func (*NotebookRestrictions) GetNoSetInMyList

func (p *NotebookRestrictions) GetNoSetInMyList() bool

func (*NotebookRestrictions) GetNoSetNotebookStack

func (p *NotebookRestrictions) GetNoSetNotebookStack() bool

func (*NotebookRestrictions) GetNoSetParentTag

func (p *NotebookRestrictions) GetNoSetParentTag() bool

func (*NotebookRestrictions) GetNoSetRecipientSettingsStack

func (p *NotebookRestrictions) GetNoSetRecipientSettingsStack() bool

func (*NotebookRestrictions) GetNoSetReminderNotifyEmail

func (p *NotebookRestrictions) GetNoSetReminderNotifyEmail() bool

func (*NotebookRestrictions) GetNoSetReminderNotifyInApp

func (p *NotebookRestrictions) GetNoSetReminderNotifyInApp() bool

func (*NotebookRestrictions) GetNoShareNotes

func (p *NotebookRestrictions) GetNoShareNotes() bool

func (*NotebookRestrictions) GetNoShareNotesWithBusiness

func (p *NotebookRestrictions) GetNoShareNotesWithBusiness() bool

func (*NotebookRestrictions) GetNoUpdateNotebook

func (p *NotebookRestrictions) GetNoUpdateNotebook() bool

func (*NotebookRestrictions) GetNoUpdateNotes

func (p *NotebookRestrictions) GetNoUpdateNotes() bool

func (*NotebookRestrictions) GetNoUpdateTags

func (p *NotebookRestrictions) GetNoUpdateTags() bool

func (*NotebookRestrictions) GetUpdateWhichSharedNotebookRestrictions

func (p *NotebookRestrictions) GetUpdateWhichSharedNotebookRestrictions() SharedNotebookInstanceRestrictions

func (*NotebookRestrictions) IsSetCanMoveToContainerRestrictions

func (p *NotebookRestrictions) IsSetCanMoveToContainerRestrictions() bool

func (*NotebookRestrictions) IsSetExpungeWhichSharedNotebookRestrictions

func (p *NotebookRestrictions) IsSetExpungeWhichSharedNotebookRestrictions() bool

func (*NotebookRestrictions) IsSetNoCanMoveNote

func (p *NotebookRestrictions) IsSetNoCanMoveNote() bool

func (*NotebookRestrictions) IsSetNoChangeContact

func (p *NotebookRestrictions) IsSetNoChangeContact() bool

func (*NotebookRestrictions) IsSetNoCreateNotes

func (p *NotebookRestrictions) IsSetNoCreateNotes() bool

func (*NotebookRestrictions) IsSetNoCreateSharedNotebooks

func (p *NotebookRestrictions) IsSetNoCreateSharedNotebooks() bool

func (*NotebookRestrictions) IsSetNoCreateTags

func (p *NotebookRestrictions) IsSetNoCreateTags() bool

func (*NotebookRestrictions) IsSetNoEmailNotes

func (p *NotebookRestrictions) IsSetNoEmailNotes() bool

func (*NotebookRestrictions) IsSetNoExpungeNotebook

func (p *NotebookRestrictions) IsSetNoExpungeNotebook() bool

func (*NotebookRestrictions) IsSetNoExpungeNotes

func (p *NotebookRestrictions) IsSetNoExpungeNotes() bool

func (*NotebookRestrictions) IsSetNoExpungeTags

func (p *NotebookRestrictions) IsSetNoExpungeTags() bool

func (*NotebookRestrictions) IsSetNoPublishToBusinessLibrary

func (p *NotebookRestrictions) IsSetNoPublishToBusinessLibrary() bool

func (*NotebookRestrictions) IsSetNoPublishToPublic

func (p *NotebookRestrictions) IsSetNoPublishToPublic() bool

func (*NotebookRestrictions) IsSetNoReadNotes

func (p *NotebookRestrictions) IsSetNoReadNotes() bool

func (*NotebookRestrictions) IsSetNoRenameNotebook

func (p *NotebookRestrictions) IsSetNoRenameNotebook() bool

func (*NotebookRestrictions) IsSetNoSendMessageToRecipients

func (p *NotebookRestrictions) IsSetNoSendMessageToRecipients() bool

func (*NotebookRestrictions) IsSetNoSetDefaultNotebook

func (p *NotebookRestrictions) IsSetNoSetDefaultNotebook() bool

func (*NotebookRestrictions) IsSetNoSetInMyList

func (p *NotebookRestrictions) IsSetNoSetInMyList() bool

func (*NotebookRestrictions) IsSetNoSetNotebookStack

func (p *NotebookRestrictions) IsSetNoSetNotebookStack() bool

func (*NotebookRestrictions) IsSetNoSetParentTag

func (p *NotebookRestrictions) IsSetNoSetParentTag() bool

func (*NotebookRestrictions) IsSetNoSetRecipientSettingsStack

func (p *NotebookRestrictions) IsSetNoSetRecipientSettingsStack() bool

func (*NotebookRestrictions) IsSetNoSetReminderNotifyEmail

func (p *NotebookRestrictions) IsSetNoSetReminderNotifyEmail() bool

func (*NotebookRestrictions) IsSetNoSetReminderNotifyInApp

func (p *NotebookRestrictions) IsSetNoSetReminderNotifyInApp() bool

func (*NotebookRestrictions) IsSetNoShareNotes

func (p *NotebookRestrictions) IsSetNoShareNotes() bool

func (*NotebookRestrictions) IsSetNoShareNotesWithBusiness

func (p *NotebookRestrictions) IsSetNoShareNotesWithBusiness() bool

func (*NotebookRestrictions) IsSetNoUpdateNotebook

func (p *NotebookRestrictions) IsSetNoUpdateNotebook() bool

func (*NotebookRestrictions) IsSetNoUpdateNotes

func (p *NotebookRestrictions) IsSetNoUpdateNotes() bool

func (*NotebookRestrictions) IsSetNoUpdateTags

func (p *NotebookRestrictions) IsSetNoUpdateTags() bool

func (*NotebookRestrictions) IsSetUpdateWhichSharedNotebookRestrictions

func (p *NotebookRestrictions) IsSetUpdateWhichSharedNotebookRestrictions() bool

func (*NotebookRestrictions) Read

func (p *NotebookRestrictions) Read(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField1

func (p *NotebookRestrictions) ReadField1(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField10

func (p *NotebookRestrictions) ReadField10(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField11

func (p *NotebookRestrictions) ReadField11(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField12

func (p *NotebookRestrictions) ReadField12(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField13

func (p *NotebookRestrictions) ReadField13(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField14

func (p *NotebookRestrictions) ReadField14(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField15

func (p *NotebookRestrictions) ReadField15(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField16

func (p *NotebookRestrictions) ReadField16(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField17

func (p *NotebookRestrictions) ReadField17(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField18

func (p *NotebookRestrictions) ReadField18(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField19

func (p *NotebookRestrictions) ReadField19(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField2

func (p *NotebookRestrictions) ReadField2(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField20

func (p *NotebookRestrictions) ReadField20(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField21

func (p *NotebookRestrictions) ReadField21(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField22

func (p *NotebookRestrictions) ReadField22(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField23

func (p *NotebookRestrictions) ReadField23(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField24

func (p *NotebookRestrictions) ReadField24(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField26

func (p *NotebookRestrictions) ReadField26(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField27

func (p *NotebookRestrictions) ReadField27(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField28

func (p *NotebookRestrictions) ReadField28(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField29

func (p *NotebookRestrictions) ReadField29(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField3

func (p *NotebookRestrictions) ReadField3(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField30

func (p *NotebookRestrictions) ReadField30(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField4

func (p *NotebookRestrictions) ReadField4(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField5

func (p *NotebookRestrictions) ReadField5(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField6

func (p *NotebookRestrictions) ReadField6(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField7

func (p *NotebookRestrictions) ReadField7(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField8

func (p *NotebookRestrictions) ReadField8(iprot thrift.TProtocol) error

func (*NotebookRestrictions) ReadField9

func (p *NotebookRestrictions) ReadField9(iprot thrift.TProtocol) error

func (*NotebookRestrictions) String

func (p *NotebookRestrictions) String() string

func (*NotebookRestrictions) Write

func (p *NotebookRestrictions) Write(oprot thrift.TProtocol) error

type NotebookShareTemplate

type NotebookShareTemplate struct {
	NotebookGuid      *GUID                         `thrift:"notebookGuid,1" db:"notebookGuid" json:"notebookGuid,omitempty"`
	RecipientContacts []*Contact                    `thrift:"recipientContacts,2" db:"recipientContacts" json:"recipientContacts,omitempty"`
	Privilege         *SharedNotebookPrivilegeLevel `thrift:"privilege,3" db:"privilege" json:"privilege,omitempty"`
	RecipientThreadId *MessageThreadID              `thrift:"recipientThreadId,4" db:"recipientThreadId" json:"recipientThreadId,omitempty"`
}

A structure used to share a notebook with one or more recipients at a given privilege.

<dl>

<dt>notebookGuid</dt>
<dd>The GUID of the notebook.</dd>

<dt>recipientThreadId</dt>
<dd>The recipients of the notebook share specified as a messaging thread ID. If you
    have an existing messaging thread to share the note with, specify its ID
    here instead of recipientContacts in order to properly support defunct
    identities. The sharer must be a participant of the thread. Either this field
    or recipientContacts must be set.</dd>

<dt>recipientContacts</dt>
<dd>The recipients of the notebook share specified as a list of contacts. This should
    only be set if the sharing takes place before the thread is created. Use
    recipientThreadId instead when sharing with an existing thread. Either this
    field or recipientThreadId must be set.</dd>

<dt>privilege</dt>
<dd>The privilege level to be granted.</dd>

</dl>

Attributes:

  • NotebookGuid
  • RecipientThreadId
  • RecipientContacts
  • Privilege
var NoteStoreCreateOrUpdateNotebookSharesArgs_ShareTemplate_DEFAULT *NotebookShareTemplate

func NewNotebookShareTemplate

func NewNotebookShareTemplate() *NotebookShareTemplate

func (*NotebookShareTemplate) GetNotebookGuid

func (p *NotebookShareTemplate) GetNotebookGuid() GUID

func (*NotebookShareTemplate) GetPrivilege

func (*NotebookShareTemplate) GetRecipientContacts

func (p *NotebookShareTemplate) GetRecipientContacts() []*Contact

func (*NotebookShareTemplate) GetRecipientThreadId

func (p *NotebookShareTemplate) GetRecipientThreadId() MessageThreadID

func (*NotebookShareTemplate) IsSetNotebookGuid

func (p *NotebookShareTemplate) IsSetNotebookGuid() bool

func (*NotebookShareTemplate) IsSetPrivilege

func (p *NotebookShareTemplate) IsSetPrivilege() bool

func (*NotebookShareTemplate) IsSetRecipientContacts

func (p *NotebookShareTemplate) IsSetRecipientContacts() bool

func (*NotebookShareTemplate) IsSetRecipientThreadId

func (p *NotebookShareTemplate) IsSetRecipientThreadId() bool

func (*NotebookShareTemplate) Read

func (*NotebookShareTemplate) ReadField1

func (p *NotebookShareTemplate) ReadField1(iprot thrift.TProtocol) error

func (*NotebookShareTemplate) ReadField2

func (p *NotebookShareTemplate) ReadField2(iprot thrift.TProtocol) error

func (*NotebookShareTemplate) ReadField3

func (p *NotebookShareTemplate) ReadField3(iprot thrift.TProtocol) error

func (*NotebookShareTemplate) ReadField4

func (p *NotebookShareTemplate) ReadField4(iprot thrift.TProtocol) error

func (*NotebookShareTemplate) String

func (p *NotebookShareTemplate) String() string

func (*NotebookShareTemplate) Write

func (p *NotebookShareTemplate) Write(oprot thrift.TProtocol) error

type NotesMetadataList

type NotesMetadataList struct {
	StartIndex         int32           `thrift:"startIndex,1,required" db:"startIndex" json:"startIndex"`
	TotalNotes         int32           `thrift:"totalNotes,2,required" db:"totalNotes" json:"totalNotes"`
	Notes              []*NoteMetadata `thrift:"notes,3,required" db:"notes" json:"notes"`
	StoppedWords       []string        `thrift:"stoppedWords,4" db:"stoppedWords" json:"stoppedWords,omitempty"`
	SearchedWords      []string        `thrift:"searchedWords,5" db:"searchedWords" json:"searchedWords,omitempty"`
	UpdateCount        *int32          `thrift:"updateCount,6" db:"updateCount" json:"updateCount,omitempty"`
	SearchContextBytes []byte          `thrift:"searchContextBytes,7" db:"searchContextBytes" json:"searchContextBytes,omitempty"`
	// unused field # 8
	DebugInfo *string `thrift:"debugInfo,9" db:"debugInfo" json:"debugInfo,omitempty"`
}
This structure is returned from calls to the findNotesMetadata function to
give the high-level metadata about a subset of Notes that are found to
match a specified NoteFilter in a search.

<dl>

<dt>startIndex</dt>
  <dd>
  The starting index within the overall set of notes.  This
  is also the number of notes that are "before" this list in the set.
  </dd>

<dt>totalNotes</dt>
  <dd>
  The number of notes in the larger set.  This can be used
  to calculate how many notes are "after" this note in the set.
  (I.e.  remaining = totalNotes - (startIndex + notes.length)  )
  </dd>

<dt>notes</dt>
  <dd>
  The list of metadata for Notes in this range.  The set of optional fields
  that are set in each metadata structure will depend on the
  NotesMetadataResultSpec provided by the caller when the search was
  performed.  Only the 'guid' field will be guaranteed to be set in each
  Note.
  </dd>

<dt>stoppedWords</dt>
  <dd>
  If the NoteList was produced using a text based search
  query that included words that are not indexed or searched by the service,
  this will include a list of those ignored words.
  </dd>

<dt>searchedWords</dt>
  <dd>
  If the NoteList was produced using a text based search
  query that included viable search words or quoted expressions, this will
  include a list of those words.  Any stopped words will not be included
  in this list.
  </dd>

<dt>updateCount</dt>
  <dd>
  Indicates the total number of transactions that have
  been committed within the account.  This reflects (for example) the
  number of discrete additions or modifications that have been made to
  the data in this account (tags, notes, resources, etc.).
  This number is the "high water mark" for Update Sequence Numbers (USN)
  within the account.
  </dd>

<dt>searchContextBytes</dt>
  <dd>
  Specifies the correlating information about the current search session, in byte array.
  </dd>

<dt>debugInfo</dt>
  <dd>
  Depends on the value of <code>context</code> in NoteFilter, this field
  may contain debug information if the service decides to do so.
  </dd>

</dl>

Attributes:

  • StartIndex
  • TotalNotes
  • Notes
  • StoppedWords
  • SearchedWords
  • UpdateCount
  • SearchContextBytes
  • DebugInfo
var NoteStoreFindNotesMetadataResult_Success_DEFAULT *NotesMetadataList

func NewNotesMetadataList

func NewNotesMetadataList() *NotesMetadataList

func (*NotesMetadataList) GetDebugInfo

func (p *NotesMetadataList) GetDebugInfo() string

func (*NotesMetadataList) GetNotes

func (p *NotesMetadataList) GetNotes() []*NoteMetadata

func (*NotesMetadataList) GetSearchContextBytes

func (p *NotesMetadataList) GetSearchContextBytes() []byte

func (*NotesMetadataList) GetSearchedWords

func (p *NotesMetadataList) GetSearchedWords() []string

func (*NotesMetadataList) GetStartIndex

func (p *NotesMetadataList) GetStartIndex() int32

func (*NotesMetadataList) GetStoppedWords

func (p *NotesMetadataList) GetStoppedWords() []string

func (*NotesMetadataList) GetTotalNotes

func (p *NotesMetadataList) GetTotalNotes() int32

func (*NotesMetadataList) GetUpdateCount

func (p *NotesMetadataList) GetUpdateCount() int32

func (*NotesMetadataList) IsSetDebugInfo

func (p *NotesMetadataList) IsSetDebugInfo() bool

func (*NotesMetadataList) IsSetSearchContextBytes

func (p *NotesMetadataList) IsSetSearchContextBytes() bool

func (*NotesMetadataList) IsSetSearchedWords

func (p *NotesMetadataList) IsSetSearchedWords() bool

func (*NotesMetadataList) IsSetStoppedWords

func (p *NotesMetadataList) IsSetStoppedWords() bool

func (*NotesMetadataList) IsSetUpdateCount

func (p *NotesMetadataList) IsSetUpdateCount() bool

func (*NotesMetadataList) Read

func (p *NotesMetadataList) Read(iprot thrift.TProtocol) error

func (*NotesMetadataList) ReadField1

func (p *NotesMetadataList) ReadField1(iprot thrift.TProtocol) error

func (*NotesMetadataList) ReadField2

func (p *NotesMetadataList) ReadField2(iprot thrift.TProtocol) error

func (*NotesMetadataList) ReadField3

func (p *NotesMetadataList) ReadField3(iprot thrift.TProtocol) error

func (*NotesMetadataList) ReadField4

func (p *NotesMetadataList) ReadField4(iprot thrift.TProtocol) error

func (*NotesMetadataList) ReadField5

func (p *NotesMetadataList) ReadField5(iprot thrift.TProtocol) error

func (*NotesMetadataList) ReadField6

func (p *NotesMetadataList) ReadField6(iprot thrift.TProtocol) error

func (*NotesMetadataList) ReadField7

func (p *NotesMetadataList) ReadField7(iprot thrift.TProtocol) error

func (*NotesMetadataList) ReadField9

func (p *NotesMetadataList) ReadField9(iprot thrift.TProtocol) error

func (*NotesMetadataList) String

func (p *NotesMetadataList) String() string

func (*NotesMetadataList) Write

func (p *NotesMetadataList) Write(oprot thrift.TProtocol) error

type NotesMetadataResultSpec

type NotesMetadataResultSpec struct {
	// unused field # 1
	IncludeTitle *bool `thrift:"includeTitle,2" db:"includeTitle" json:"includeTitle,omitempty"`
	// unused fields # 3 to 4
	IncludeContentLength *bool `thrift:"includeContentLength,5" db:"includeContentLength" json:"includeContentLength,omitempty"`
	IncludeCreated       *bool `thrift:"includeCreated,6" db:"includeCreated" json:"includeCreated,omitempty"`
	IncludeUpdated       *bool `thrift:"includeUpdated,7" db:"includeUpdated" json:"includeUpdated,omitempty"`
	IncludeDeleted       *bool `thrift:"includeDeleted,8" db:"includeDeleted" json:"includeDeleted,omitempty"`
	// unused field # 9
	IncludeUpdateSequenceNum *bool `thrift:"includeUpdateSequenceNum,10" db:"includeUpdateSequenceNum" json:"includeUpdateSequenceNum,omitempty"`
	IncludeNotebookGuid      *bool `thrift:"includeNotebookGuid,11" db:"includeNotebookGuid" json:"includeNotebookGuid,omitempty"`
	IncludeTagGuids          *bool `thrift:"includeTagGuids,12" db:"includeTagGuids" json:"includeTagGuids,omitempty"`
	// unused field # 13
	IncludeAttributes *bool `thrift:"includeAttributes,14" db:"includeAttributes" json:"includeAttributes,omitempty"`
	// unused fields # 15 to 19
	IncludeLargestResourceMime *bool `thrift:"includeLargestResourceMime,20" db:"includeLargestResourceMime" json:"includeLargestResourceMime,omitempty"`
	IncludeLargestResourceSize *bool `thrift:"includeLargestResourceSize,21" db:"includeLargestResourceSize" json:"includeLargestResourceSize,omitempty"`
}

This structure is provided to the findNotesMetadata function to specify the subset of fields that should be included in each NoteMetadata element that is returned in the NotesMetadataList. Each field on this structure is a boolean flag that indicates whether the corresponding field should be included in the NoteMetadata structure when it is returned. For example, if the 'includeTitle' field is set on this structure when calling findNotesMetadata, then each NoteMetadata in the list should have its 'title' field set. If one of the fields in this spec is not set, then it will be treated as 'false' by the server, so the default behavior is to include nothing in replies (but the mandatory GUID)

Attributes:

  • IncludeTitle
  • IncludeContentLength
  • IncludeCreated
  • IncludeUpdated
  • IncludeDeleted
  • IncludeUpdateSequenceNum
  • IncludeNotebookGuid
  • IncludeTagGuids
  • IncludeAttributes
  • IncludeLargestResourceMime
  • IncludeLargestResourceSize
var NoteStoreFindNotesMetadataArgs_ResultSpec_DEFAULT *NotesMetadataResultSpec

func NewNotesMetadataResultSpec

func NewNotesMetadataResultSpec() *NotesMetadataResultSpec

func (*NotesMetadataResultSpec) GetIncludeAttributes

func (p *NotesMetadataResultSpec) GetIncludeAttributes() bool

func (*NotesMetadataResultSpec) GetIncludeContentLength

func (p *NotesMetadataResultSpec) GetIncludeContentLength() bool

func (*NotesMetadataResultSpec) GetIncludeCreated

func (p *NotesMetadataResultSpec) GetIncludeCreated() bool

func (*NotesMetadataResultSpec) GetIncludeDeleted

func (p *NotesMetadataResultSpec) GetIncludeDeleted() bool

func (*NotesMetadataResultSpec) GetIncludeLargestResourceMime

func (p *NotesMetadataResultSpec) GetIncludeLargestResourceMime() bool

func (*NotesMetadataResultSpec) GetIncludeLargestResourceSize

func (p *NotesMetadataResultSpec) GetIncludeLargestResourceSize() bool

func (*NotesMetadataResultSpec) GetIncludeNotebookGuid

func (p *NotesMetadataResultSpec) GetIncludeNotebookGuid() bool

func (*NotesMetadataResultSpec) GetIncludeTagGuids

func (p *NotesMetadataResultSpec) GetIncludeTagGuids() bool

func (*NotesMetadataResultSpec) GetIncludeTitle

func (p *NotesMetadataResultSpec) GetIncludeTitle() bool

func (*NotesMetadataResultSpec) GetIncludeUpdateSequenceNum

func (p *NotesMetadataResultSpec) GetIncludeUpdateSequenceNum() bool

func (*NotesMetadataResultSpec) GetIncludeUpdated

func (p *NotesMetadataResultSpec) GetIncludeUpdated() bool

func (*NotesMetadataResultSpec) IsSetIncludeAttributes

func (p *NotesMetadataResultSpec) IsSetIncludeAttributes() bool

func (*NotesMetadataResultSpec) IsSetIncludeContentLength

func (p *NotesMetadataResultSpec) IsSetIncludeContentLength() bool

func (*NotesMetadataResultSpec) IsSetIncludeCreated

func (p *NotesMetadataResultSpec) IsSetIncludeCreated() bool

func (*NotesMetadataResultSpec) IsSetIncludeDeleted

func (p *NotesMetadataResultSpec) IsSetIncludeDeleted() bool

func (*NotesMetadataResultSpec) IsSetIncludeLargestResourceMime

func (p *NotesMetadataResultSpec) IsSetIncludeLargestResourceMime() bool

func (*NotesMetadataResultSpec) IsSetIncludeLargestResourceSize

func (p *NotesMetadataResultSpec) IsSetIncludeLargestResourceSize() bool

func (*NotesMetadataResultSpec) IsSetIncludeNotebookGuid

func (p *NotesMetadataResultSpec) IsSetIncludeNotebookGuid() bool

func (*NotesMetadataResultSpec) IsSetIncludeTagGuids

func (p *NotesMetadataResultSpec) IsSetIncludeTagGuids() bool

func (*NotesMetadataResultSpec) IsSetIncludeTitle

func (p *NotesMetadataResultSpec) IsSetIncludeTitle() bool

func (*NotesMetadataResultSpec) IsSetIncludeUpdateSequenceNum

func (p *NotesMetadataResultSpec) IsSetIncludeUpdateSequenceNum() bool

func (*NotesMetadataResultSpec) IsSetIncludeUpdated

func (p *NotesMetadataResultSpec) IsSetIncludeUpdated() bool

func (*NotesMetadataResultSpec) Read

func (*NotesMetadataResultSpec) ReadField10

func (p *NotesMetadataResultSpec) ReadField10(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) ReadField11

func (p *NotesMetadataResultSpec) ReadField11(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) ReadField12

func (p *NotesMetadataResultSpec) ReadField12(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) ReadField14

func (p *NotesMetadataResultSpec) ReadField14(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) ReadField2

func (p *NotesMetadataResultSpec) ReadField2(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) ReadField20

func (p *NotesMetadataResultSpec) ReadField20(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) ReadField21

func (p *NotesMetadataResultSpec) ReadField21(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) ReadField5

func (p *NotesMetadataResultSpec) ReadField5(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) ReadField6

func (p *NotesMetadataResultSpec) ReadField6(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) ReadField7

func (p *NotesMetadataResultSpec) ReadField7(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) ReadField8

func (p *NotesMetadataResultSpec) ReadField8(iprot thrift.TProtocol) error

func (*NotesMetadataResultSpec) String

func (p *NotesMetadataResultSpec) String() string

func (*NotesMetadataResultSpec) Write

type PremiumOrderStatus

type PremiumOrderStatus int64

This enumeration defines the possible states of a premium account

NONE: the user has never attempted to become a premium subscriber

PENDING: the user has requested a premium account but their charge has not

been confirmed

ACTIVE: the user has been charged and their premium account is in good standing

FAILED: the system attempted to charge the was denied. We will periodically attempt to re-validate their order.

CANCELLATION_PENDING: the user has requested that no further charges be made

but the current account is still active.

CANCELED: the premium account was canceled either because of failure to pay

or user cancelation. No more attempts will be made to activate the account.
const (
	PremiumOrderStatus_NONE                 PremiumOrderStatus = 0
	PremiumOrderStatus_PENDING              PremiumOrderStatus = 1
	PremiumOrderStatus_ACTIVE               PremiumOrderStatus = 2
	PremiumOrderStatus_FAILED               PremiumOrderStatus = 3
	PremiumOrderStatus_CANCELLATION_PENDING PremiumOrderStatus = 4
	PremiumOrderStatus_CANCELED             PremiumOrderStatus = 5
)
var Accounting_PremiumServiceStatus_DEFAULT PremiumOrderStatus

func PremiumOrderStatusFromString

func PremiumOrderStatusFromString(s string) (PremiumOrderStatus, error)

func PremiumOrderStatusPtr

func PremiumOrderStatusPtr(v PremiumOrderStatus) *PremiumOrderStatus

func (PremiumOrderStatus) MarshalText

func (p PremiumOrderStatus) MarshalText() ([]byte, error)

func (*PremiumOrderStatus) Scan

func (p *PremiumOrderStatus) Scan(value interface{}) error

func (PremiumOrderStatus) String

func (p PremiumOrderStatus) String() string

func (*PremiumOrderStatus) UnmarshalText

func (p *PremiumOrderStatus) UnmarshalText(text []byte) error

func (*PremiumOrderStatus) Value

func (p *PremiumOrderStatus) Value() (driver.Value, error)

type PrivilegeLevel

type PrivilegeLevel int64

This enumeration defines the possible permission levels for a user. Free accounts will have a level of NORMAL and paid Premium accounts will have a level of PREMIUM.

const (
	PrivilegeLevel_NORMAL  PrivilegeLevel = 1
	PrivilegeLevel_PREMIUM PrivilegeLevel = 3
	PrivilegeLevel_VIP     PrivilegeLevel = 5
	PrivilegeLevel_MANAGER PrivilegeLevel = 7
	PrivilegeLevel_SUPPORT PrivilegeLevel = 8
	PrivilegeLevel_ADMIN   PrivilegeLevel = 9
)
var User_Privilege_DEFAULT PrivilegeLevel

func PrivilegeLevelFromString

func PrivilegeLevelFromString(s string) (PrivilegeLevel, error)

func PrivilegeLevelPtr

func PrivilegeLevelPtr(v PrivilegeLevel) *PrivilegeLevel

func (PrivilegeLevel) MarshalText

func (p PrivilegeLevel) MarshalText() ([]byte, error)

func (*PrivilegeLevel) Scan

func (p *PrivilegeLevel) Scan(value interface{}) error

func (PrivilegeLevel) String

func (p PrivilegeLevel) String() string

func (*PrivilegeLevel) UnmarshalText

func (p *PrivilegeLevel) UnmarshalText(text []byte) error

func (*PrivilegeLevel) Value

func (p *PrivilegeLevel) Value() (driver.Value, error)

type PublicUserInfo

type PublicUserInfo struct {
	UserId UserID `thrift:"userId,1,required" db:"userId" json:"userId"`
	// unused fields # 2 to 3
	Username        *string       `thrift:"username,4" db:"username" json:"username,omitempty"`
	NoteStoreUrl    *string       `thrift:"noteStoreUrl,5" db:"noteStoreUrl" json:"noteStoreUrl,omitempty"`
	WebApiUrlPrefix *string       `thrift:"webApiUrlPrefix,6" db:"webApiUrlPrefix" json:"webApiUrlPrefix,omitempty"`
	ServiceLevel    *ServiceLevel `thrift:"serviceLevel,7" db:"serviceLevel" json:"serviceLevel,omitempty"`
}
This structure is used to provide publicly-available user information
about a particular account.

<dl>

<dt>userId:</dt>
  <dd>
  The unique numeric user identifier for the user account.
  </dd>
<dt>serviceLevel:</dt>
  <dd>
  The service level of the account.
  </dd>
<dt>noteStoreUrl:</dt>
  <dd>
  This field will contain the full URL that clients should use to make
  NoteStore requests to the server shard that contains that user's data.
  I.e. this is the URL that should be used to create the Thrift HTTP client
  transport to send messages to the NoteStore service for the account.
  </dd>
<dt>webApiUrlPrefix:</dt>
  <dd>
  This field will contain the initial part of the URLs that should be used
  to make requests to Evernote's thin client "web API", which provide
  optimized operations for clients that aren't capable of manipulating
  the full contents of accounts via the full Thrift data model. Clients
  should concatenate the relative path for the various servlets onto the
  end of this string to construct the full URL, as documented on our
  developer web site.
  </dd>
</dl>

Attributes:

  • UserId
  • ServiceLevel
  • Username
  • NoteStoreUrl
  • WebApiUrlPrefix
var AuthenticationResult__PublicUserInfo_DEFAULT *PublicUserInfo
var UserStoreGetPublicUserInfoResult_Success_DEFAULT *PublicUserInfo

func NewPublicUserInfo

func NewPublicUserInfo() *PublicUserInfo

func (*PublicUserInfo) GetNoteStoreUrl

func (p *PublicUserInfo) GetNoteStoreUrl() string

func (*PublicUserInfo) GetServiceLevel

func (p *PublicUserInfo) GetServiceLevel() ServiceLevel

func (*PublicUserInfo) GetUserId

func (p *PublicUserInfo) GetUserId() UserID

func (*PublicUserInfo) GetUsername

func (p *PublicUserInfo) GetUsername() string

func (*PublicUserInfo) GetWebApiUrlPrefix

func (p *PublicUserInfo) GetWebApiUrlPrefix() string

func (*PublicUserInfo) IsSetNoteStoreUrl

func (p *PublicUserInfo) IsSetNoteStoreUrl() bool

func (*PublicUserInfo) IsSetServiceLevel

func (p *PublicUserInfo) IsSetServiceLevel() bool

func (*PublicUserInfo) IsSetUsername

func (p *PublicUserInfo) IsSetUsername() bool

func (*PublicUserInfo) IsSetWebApiUrlPrefix

func (p *PublicUserInfo) IsSetWebApiUrlPrefix() bool

func (*PublicUserInfo) Read

func (p *PublicUserInfo) Read(iprot thrift.TProtocol) error

func (*PublicUserInfo) ReadField1

func (p *PublicUserInfo) ReadField1(iprot thrift.TProtocol) error

func (*PublicUserInfo) ReadField4

func (p *PublicUserInfo) ReadField4(iprot thrift.TProtocol) error

func (*PublicUserInfo) ReadField5

func (p *PublicUserInfo) ReadField5(iprot thrift.TProtocol) error

func (*PublicUserInfo) ReadField6

func (p *PublicUserInfo) ReadField6(iprot thrift.TProtocol) error

func (*PublicUserInfo) ReadField7

func (p *PublicUserInfo) ReadField7(iprot thrift.TProtocol) error

func (*PublicUserInfo) String

func (p *PublicUserInfo) String() string

func (*PublicUserInfo) Write

func (p *PublicUserInfo) Write(oprot thrift.TProtocol) error

type Publishing

type Publishing struct {
	URI               *string        `thrift:"uri,1" db:"uri" json:"uri,omitempty"`
	Order             *NoteSortOrder `thrift:"order,2" db:"order" json:"order,omitempty"`
	Ascending         *bool          `thrift:"ascending,3" db:"ascending" json:"ascending,omitempty"`
	PublicDescription *string        `thrift:"publicDescription,4" db:"publicDescription" json:"publicDescription,omitempty"`
}

If a Notebook has been opened to the public, the Notebook will have a reference to one of these structures, which gives the location and optional description of the externally-visible public Notebook. <dl> <dt>uri</dt>

<dd>If this field is present, then the notebook is published for
mass consumption on the Internet under the provided URI, which is
relative to a defined base publishing URI defined by the service.
This field can only be modified via the web service GUI ... publishing
cannot be modified via an offline client.
<br/>
Length:  EDAM_PUBLISHING_URI_LEN_MIN - EDAM_PUBLISHING_URI_LEN_MAX
<br/>
Regex:  EDAM_PUBLISHING_URI_REGEX
</dd>

<dt>order</dt>

<dd>When the notes are publicly displayed, they will be sorted
based on the requested criteria.
</dd>

<dt>ascending</dt>

<dd>If this is set to true, then the public notes will be
displayed in ascending order (e.g. from oldest to newest).  Otherwise,
the notes will be displayed in descending order (e.g. newest to oldest).
</dd>

<dt>publicDescription</dt>

<dd>This field may be used to provide a short
description of the notebook, which may be displayed when (e.g.) the
notebook is shown in a public view.  Can't begin or end with a space.
<br/>
Length:  EDAM_PUBLISHING_DESCRIPTION_LEN_MIN -
         EDAM_PUBLISHING_DESCRIPTION_LEN_MAX
<br/>
Regex:  EDAM_PUBLISHING_DESCRIPTION_REGEX
</dd>

</dl>

Attributes:

  • URI
  • Order
  • Ascending
  • PublicDescription
var Notebook_Publishing_DEFAULT *Publishing

func NewPublishing

func NewPublishing() *Publishing

func (*Publishing) GetAscending

func (p *Publishing) GetAscending() bool

func (*Publishing) GetOrder

func (p *Publishing) GetOrder() NoteSortOrder

func (*Publishing) GetPublicDescription

func (p *Publishing) GetPublicDescription() string

func (*Publishing) GetURI

func (p *Publishing) GetURI() string

func (*Publishing) IsSetAscending

func (p *Publishing) IsSetAscending() bool

func (*Publishing) IsSetOrder

func (p *Publishing) IsSetOrder() bool

func (*Publishing) IsSetPublicDescription

func (p *Publishing) IsSetPublicDescription() bool

func (*Publishing) IsSetURI

func (p *Publishing) IsSetURI() bool

func (*Publishing) Read

func (p *Publishing) Read(iprot thrift.TProtocol) error

func (*Publishing) ReadField1

func (p *Publishing) ReadField1(iprot thrift.TProtocol) error

func (*Publishing) ReadField2

func (p *Publishing) ReadField2(iprot thrift.TProtocol) error

func (*Publishing) ReadField3

func (p *Publishing) ReadField3(iprot thrift.TProtocol) error

func (*Publishing) ReadField4

func (p *Publishing) ReadField4(iprot thrift.TProtocol) error

func (*Publishing) String

func (p *Publishing) String() string

func (*Publishing) Write

func (p *Publishing) Write(oprot thrift.TProtocol) error

type QueryFormat

type QueryFormat int64

Every search query is specified as a sequence of characters. Currently, only the USER query format is supported.

const (
	QueryFormat_USER QueryFormat = 1
	QueryFormat_SEXP QueryFormat = 2
)
var SavedSearch_Format_DEFAULT QueryFormat

func QueryFormatFromString

func QueryFormatFromString(s string) (QueryFormat, error)

func QueryFormatPtr

func QueryFormatPtr(v QueryFormat) *QueryFormat

func (QueryFormat) MarshalText

func (p QueryFormat) MarshalText() ([]byte, error)

func (*QueryFormat) Scan

func (p *QueryFormat) Scan(value interface{}) error

func (QueryFormat) String

func (p QueryFormat) String() string

func (*QueryFormat) UnmarshalText

func (p *QueryFormat) UnmarshalText(text []byte) error

func (*QueryFormat) Value

func (p *QueryFormat) Value() (driver.Value, error)

type RecipientStatus

type RecipientStatus int64

This enumeration defines the possible states that a notebook can be in for a recipient. It encompasses the "inMyList" boolean and default notebook status.

<dl> <dt>NOT_IN_MY_LIST</dt> <dd>The notebook is not in the recipient's list (not "joined").</dd> <dt>IN_MY_LIST</dt> <dd>The notebook is in the recipient's notebook list (formerly, we would say

that the recipient has "joined" the notebook)</dd>

<dt>IN_MY_LIST_AND_DEFAULT_NOTEBOOK</dt> <dd>The same as IN_MY_LIST and this notebook is the user's default notebook.</dd> </dl>

const (
	RecipientStatus_NOT_IN_MY_LIST                  RecipientStatus = 1
	RecipientStatus_IN_MY_LIST                      RecipientStatus = 2
	RecipientStatus_IN_MY_LIST_AND_DEFAULT_NOTEBOOK RecipientStatus = 3
)
var NotebookRecipientSettings_RecipientStatus_DEFAULT RecipientStatus

func RecipientStatusFromString

func RecipientStatusFromString(s string) (RecipientStatus, error)

func RecipientStatusPtr

func RecipientStatusPtr(v RecipientStatus) *RecipientStatus

func (RecipientStatus) MarshalText

func (p RecipientStatus) MarshalText() ([]byte, error)

func (*RecipientStatus) Scan

func (p *RecipientStatus) Scan(value interface{}) error

func (RecipientStatus) String

func (p RecipientStatus) String() string

func (*RecipientStatus) UnmarshalText

func (p *RecipientStatus) UnmarshalText(text []byte) error

func (*RecipientStatus) Value

func (p *RecipientStatus) Value() (driver.Value, error)

type RelatedContent

type RelatedContent struct {
	ContentId        *string                `thrift:"contentId,1" db:"contentId" json:"contentId,omitempty"`
	Title            *string                `thrift:"title,2" db:"title" json:"title,omitempty"`
	URL              *string                `thrift:"url,3" db:"url" json:"url,omitempty"`
	SourceId         *string                `thrift:"sourceId,4" db:"sourceId" json:"sourceId,omitempty"`
	SourceUrl        *string                `thrift:"sourceUrl,5" db:"sourceUrl" json:"sourceUrl,omitempty"`
	SourceFaviconUrl *string                `thrift:"sourceFaviconUrl,6" db:"sourceFaviconUrl" json:"sourceFaviconUrl,omitempty"`
	SourceName       *string                `thrift:"sourceName,7" db:"sourceName" json:"sourceName,omitempty"`
	Date             *Timestamp             `thrift:"date,8" db:"date" json:"date,omitempty"`
	Teaser           *string                `thrift:"teaser,9" db:"teaser" json:"teaser,omitempty"`
	Thumbnails       []*RelatedContentImage `thrift:"thumbnails,10" db:"thumbnails" json:"thumbnails,omitempty"`
	ContentType      *RelatedContentType    `thrift:"contentType,11" db:"contentType" json:"contentType,omitempty"`
	AccessType       *RelatedContentAccess  `thrift:"accessType,12" db:"accessType" json:"accessType,omitempty"`
	VisibleUrl       *string                `thrift:"visibleUrl,13" db:"visibleUrl" json:"visibleUrl,omitempty"`
	ClipUrl          *string                `thrift:"clipUrl,14" db:"clipUrl" json:"clipUrl,omitempty"`
	Contact          *Contact               `thrift:"contact,15" db:"contact" json:"contact,omitempty"`
	Authors          []string               `thrift:"authors,16" db:"authors" json:"authors,omitempty"`
}

A structure identifying one snippet of related content (some information that is not part of an Evernote account but might still be relevant to the user).

<dl>

<dt>contentId</dt> <dd>An identifier that uniquely identifies the content.</dd>

<dt>title</dt> <dd>The main title to show.</dd>

<dt>url</dt> <dd>The URL the client can use to retrieve the content.</dd>

<dt>sourceId</dt> <dd>An identifier that uniquely identifies the source.</dd>

<dt>sourceUrl</dt> <dd>A URL the client can access to know more about the source.</dd>

<dt>sourceFaviconUrl</dt> <dd>The favicon URL of the source which the content belongs to.</dd> </dl>

<dt>sourceName</dt> <dd>A human-readable name of the source that provided this content.</dd>

<dt>date</dt> <dd>A timestamp telling the user about the recency of the content.</dd>

<dt>teaser</dt> <dd>A teaser text to show to the user; usually the first few sentences of the content,

excluding the title.</dd>

<dt>thumbnails</dt> <dd>A list of thumbnails the client can show in the snippet.</dd>

<dt>contentType</dt> <dd>The type of this related content.</dd>

<dt>accessType</dt> <dd>An indication of how this content can be accessed. This type influences the

semantics of the <code>url</code> parameter.</dd>

<dt>visibleUrl</dt> <dd>If set, the client should show this URL to the user, instead of the URL that was

used to retrieve the content. This URL should be used when opening the content
in an external browser window, or when sharing with another person.</dd>

<dt>clipUrl</dt> <dd>If set, the client should use this URL for clipping purposes, instead of the URL

that was used to retrieve the content. The clipUrl may directly point to an .enex
file, for example.</dd>

<dt>contact</dt> <dd>If set, the client may use this Contact for messaging purposes. This will typically

only be set for user profiles.</dd>

<dt>authors</dt> <dd>For News articles only. A list of names of the article authors, if available.</dd>

</dl>

Attributes:

  • ContentId
  • Title
  • URL
  • SourceId
  • SourceUrl
  • SourceFaviconUrl
  • SourceName
  • Date
  • Teaser
  • Thumbnails
  • ContentType
  • AccessType
  • VisibleUrl
  • ClipUrl
  • Contact
  • Authors

func NewRelatedContent

func NewRelatedContent() *RelatedContent

func (*RelatedContent) GetAccessType

func (p *RelatedContent) GetAccessType() RelatedContentAccess

func (*RelatedContent) GetAuthors

func (p *RelatedContent) GetAuthors() []string

func (*RelatedContent) GetClipUrl

func (p *RelatedContent) GetClipUrl() string

func (*RelatedContent) GetContact

func (p *RelatedContent) GetContact() *Contact

func (*RelatedContent) GetContentId

func (p *RelatedContent) GetContentId() string

func (*RelatedContent) GetContentType

func (p *RelatedContent) GetContentType() RelatedContentType

func (*RelatedContent) GetDate

func (p *RelatedContent) GetDate() Timestamp

func (*RelatedContent) GetSourceFaviconUrl

func (p *RelatedContent) GetSourceFaviconUrl() string

func (*RelatedContent) GetSourceId

func (p *RelatedContent) GetSourceId() string

func (*RelatedContent) GetSourceName

func (p *RelatedContent) GetSourceName() string

func (*RelatedContent) GetSourceUrl

func (p *RelatedContent) GetSourceUrl() string

func (*RelatedContent) GetTeaser

func (p *RelatedContent) GetTeaser() string

func (*RelatedContent) GetThumbnails

func (p *RelatedContent) GetThumbnails() []*RelatedContentImage

func (*RelatedContent) GetTitle

func (p *RelatedContent) GetTitle() string

func (*RelatedContent) GetURL

func (p *RelatedContent) GetURL() string

func (*RelatedContent) GetVisibleUrl

func (p *RelatedContent) GetVisibleUrl() string

func (*RelatedContent) IsSetAccessType

func (p *RelatedContent) IsSetAccessType() bool

func (*RelatedContent) IsSetAuthors

func (p *RelatedContent) IsSetAuthors() bool

func (*RelatedContent) IsSetClipUrl

func (p *RelatedContent) IsSetClipUrl() bool

func (*RelatedContent) IsSetContact

func (p *RelatedContent) IsSetContact() bool

func (*RelatedContent) IsSetContentId

func (p *RelatedContent) IsSetContentId() bool

func (*RelatedContent) IsSetContentType

func (p *RelatedContent) IsSetContentType() bool

func (*RelatedContent) IsSetDate

func (p *RelatedContent) IsSetDate() bool

func (*RelatedContent) IsSetSourceFaviconUrl

func (p *RelatedContent) IsSetSourceFaviconUrl() bool

func (*RelatedContent) IsSetSourceId

func (p *RelatedContent) IsSetSourceId() bool

func (*RelatedContent) IsSetSourceName

func (p *RelatedContent) IsSetSourceName() bool

func (*RelatedContent) IsSetSourceUrl

func (p *RelatedContent) IsSetSourceUrl() bool

func (*RelatedContent) IsSetTeaser

func (p *RelatedContent) IsSetTeaser() bool

func (*RelatedContent) IsSetThumbnails

func (p *RelatedContent) IsSetThumbnails() bool

func (*RelatedContent) IsSetTitle

func (p *RelatedContent) IsSetTitle() bool

func (*RelatedContent) IsSetURL

func (p *RelatedContent) IsSetURL() bool

func (*RelatedContent) IsSetVisibleUrl

func (p *RelatedContent) IsSetVisibleUrl() bool

func (*RelatedContent) Read

func (p *RelatedContent) Read(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField1

func (p *RelatedContent) ReadField1(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField10

func (p *RelatedContent) ReadField10(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField11

func (p *RelatedContent) ReadField11(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField12

func (p *RelatedContent) ReadField12(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField13

func (p *RelatedContent) ReadField13(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField14

func (p *RelatedContent) ReadField14(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField15

func (p *RelatedContent) ReadField15(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField16

func (p *RelatedContent) ReadField16(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField2

func (p *RelatedContent) ReadField2(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField3

func (p *RelatedContent) ReadField3(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField4

func (p *RelatedContent) ReadField4(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField5

func (p *RelatedContent) ReadField5(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField6

func (p *RelatedContent) ReadField6(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField7

func (p *RelatedContent) ReadField7(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField8

func (p *RelatedContent) ReadField8(iprot thrift.TProtocol) error

func (*RelatedContent) ReadField9

func (p *RelatedContent) ReadField9(iprot thrift.TProtocol) error

func (*RelatedContent) String

func (p *RelatedContent) String() string

func (*RelatedContent) Write

func (p *RelatedContent) Write(oprot thrift.TProtocol) error

type RelatedContentAccess

type RelatedContentAccess int64

This enumeration defines the possible ways to access related content.

NOT_ACCESSIBLE: The content is not accessible given the user's privilege level, but

still worth showing as a snippet. The content url may point to a webpage that
explains why not, or explains how to access that content.

DIRECT_LINK_ACCESS_OK: The content is accessible directly, and no additional login is

required.

DIRECT_LINK_LOGIN_REQUIRED: The content is accessible directly, but an additional login

is required.

DIRECT_LINK_EMBEDDED_VIEW: The content is accessible directly, and should be shown in

an embedded web view.
If the URL refers to a secured location under our control (for example,
https://www.evernote.com/*), the client may include user-specific authentication
credentials with the request.
const (
	RelatedContentAccess_NOT_ACCESSIBLE             RelatedContentAccess = 0
	RelatedContentAccess_DIRECT_LINK_ACCESS_OK      RelatedContentAccess = 1
	RelatedContentAccess_DIRECT_LINK_LOGIN_REQUIRED RelatedContentAccess = 2
	RelatedContentAccess_DIRECT_LINK_EMBEDDED_VIEW  RelatedContentAccess = 3
)
var RelatedContent_AccessType_DEFAULT RelatedContentAccess

func RelatedContentAccessFromString

func RelatedContentAccessFromString(s string) (RelatedContentAccess, error)

func (RelatedContentAccess) MarshalText

func (p RelatedContentAccess) MarshalText() ([]byte, error)

func (*RelatedContentAccess) Scan

func (p *RelatedContentAccess) Scan(value interface{}) error

func (RelatedContentAccess) String

func (p RelatedContentAccess) String() string

func (*RelatedContentAccess) UnmarshalText

func (p *RelatedContentAccess) UnmarshalText(text []byte) error

func (*RelatedContentAccess) Value

func (p *RelatedContentAccess) Value() (driver.Value, error)

type RelatedContentImage

type RelatedContentImage struct {
	URL        *string  `thrift:"url,1" db:"url" json:"url,omitempty"`
	Width      *int32   `thrift:"width,2" db:"width" json:"width,omitempty"`
	Height     *int32   `thrift:"height,3" db:"height" json:"height,omitempty"`
	PixelRatio *float64 `thrift:"pixelRatio,4" db:"pixelRatio" json:"pixelRatio,omitempty"`
	FileSize   *int32   `thrift:"fileSize,5" db:"fileSize" json:"fileSize,omitempty"`
}

An external image that can be shown with a related content snippet, usually either a JPEG or PNG image. It is up to the client which image(s) are shown, depending on available screen real estate, resolution and aspect ratio.

<dl>

<dt>url</dt>
  <dd>The external URL of the image</dd>
<dt>width</dt>
  <dd>The width of the image, in pixels.</dd>
<dt>height</dt>
  <dd>The height of the image, in pixels.</dd>
<dt>pixelRatio</dt>
  <dd>the pixel ratio (usually either 1.0, 1.5 or 2.0)</dd>
<dt>fileSize</dt>
  <dd>the size of the image file, in bytes</dd>

</dl>

Attributes:

  • URL
  • Width
  • Height
  • PixelRatio
  • FileSize

func NewRelatedContentImage

func NewRelatedContentImage() *RelatedContentImage

func (*RelatedContentImage) GetFileSize

func (p *RelatedContentImage) GetFileSize() int32

func (*RelatedContentImage) GetHeight

func (p *RelatedContentImage) GetHeight() int32

func (*RelatedContentImage) GetPixelRatio

func (p *RelatedContentImage) GetPixelRatio() float64

func (*RelatedContentImage) GetURL

func (p *RelatedContentImage) GetURL() string

func (*RelatedContentImage) GetWidth

func (p *RelatedContentImage) GetWidth() int32

func (*RelatedContentImage) IsSetFileSize

func (p *RelatedContentImage) IsSetFileSize() bool

func (*RelatedContentImage) IsSetHeight

func (p *RelatedContentImage) IsSetHeight() bool

func (*RelatedContentImage) IsSetPixelRatio

func (p *RelatedContentImage) IsSetPixelRatio() bool

func (*RelatedContentImage) IsSetURL

func (p *RelatedContentImage) IsSetURL() bool

func (*RelatedContentImage) IsSetWidth

func (p *RelatedContentImage) IsSetWidth() bool

func (*RelatedContentImage) Read

func (p *RelatedContentImage) Read(iprot thrift.TProtocol) error

func (*RelatedContentImage) ReadField1

func (p *RelatedContentImage) ReadField1(iprot thrift.TProtocol) error

func (*RelatedContentImage) ReadField2

func (p *RelatedContentImage) ReadField2(iprot thrift.TProtocol) error

func (*RelatedContentImage) ReadField3

func (p *RelatedContentImage) ReadField3(iprot thrift.TProtocol) error

func (*RelatedContentImage) ReadField4

func (p *RelatedContentImage) ReadField4(iprot thrift.TProtocol) error

func (*RelatedContentImage) ReadField5

func (p *RelatedContentImage) ReadField5(iprot thrift.TProtocol) error

func (*RelatedContentImage) String

func (p *RelatedContentImage) String() string

func (*RelatedContentImage) Write

func (p *RelatedContentImage) Write(oprot thrift.TProtocol) error

type RelatedContentType

type RelatedContentType int64

This enumeration defines the possible types of related content.

NEWS_ARTICLE: This related content is a news article PROFILE_PERSON: This match refers to the profile of an individual person PROFILE_ORGANIZATION: This match refers to the profile of an organization REFERENCE_MATERIAL: This related content is material from reference works

const (
	RelatedContentType_NEWS_ARTICLE         RelatedContentType = 1
	RelatedContentType_PROFILE_PERSON       RelatedContentType = 2
	RelatedContentType_PROFILE_ORGANIZATION RelatedContentType = 3
	RelatedContentType_REFERENCE_MATERIAL   RelatedContentType = 4
)
var RelatedContent_ContentType_DEFAULT RelatedContentType

func RelatedContentTypeFromString

func RelatedContentTypeFromString(s string) (RelatedContentType, error)

func RelatedContentTypePtr

func RelatedContentTypePtr(v RelatedContentType) *RelatedContentType

func (RelatedContentType) MarshalText

func (p RelatedContentType) MarshalText() ([]byte, error)

func (*RelatedContentType) Scan

func (p *RelatedContentType) Scan(value interface{}) error

func (RelatedContentType) String

func (p RelatedContentType) String() string

func (*RelatedContentType) UnmarshalText

func (p *RelatedContentType) UnmarshalText(text []byte) error

func (*RelatedContentType) Value

func (p *RelatedContentType) Value() (driver.Value, error)

type RelatedQuery

type RelatedQuery struct {
	NoteGuid     *string     `thrift:"noteGuid,1" db:"noteGuid" json:"noteGuid,omitempty"`
	PlainText    *string     `thrift:"plainText,2" db:"plainText" json:"plainText,omitempty"`
	Filter       *NoteFilter `thrift:"filter,3" db:"filter" json:"filter,omitempty"`
	ReferenceUri *string     `thrift:"referenceUri,4" db:"referenceUri" json:"referenceUri,omitempty"`
	Context      *string     `thrift:"context,5" db:"context" json:"context,omitempty"`
	CacheKey     *string     `thrift:"cacheKey,6" db:"cacheKey" json:"cacheKey,omitempty"`
}

A description of the thing for which we are searching for related entities.

You must specify either <em>noteGuid</em> or <em>plainText</em>, but not both. <em>filter</em> and <em>referenceUri</em> are optional.

<dl> <dt>noteGuid</dt> <dd>The GUID of an existing note in your account for which related

entities will be found.</dd>

<dt>plainText</dt> <dd>A string of plain text for which to find related entities.

You should provide a text block with a number of characters between
EDAM_RELATED_PLAINTEXT_LEN_MIN and EDAM_RELATED_PLAINTEXT_LEN_MAX.
</dd>

<dt>filter</dt> <dd>The list of criteria that will constrain the notes being considered

related.
Please note that some of the parameters may be ignored, such as
<em>order</em> and <em>ascending</em>.

</dd>

<dt>referenceUri</dt> <dd>A URI string specifying a reference entity, around which "relatedness"

should be based. This can be an URL pointing to a web page, for example.

</dd>

<dt>context</dt> <dd>Specifies the context to consider when determining related results.

Clients must leave this value unset unless they wish to explicitly specify a known
non-default context.

</dd>

<dt>cacheKey</dt> <dd>If set and non-empty, this is an indicator for the server whether it is actually

necessary to perform a new findRelated call at all. Cache Keys are opaque strings
which are returned by the server as part of "RelatedResult" in response
to a "NoteStore.findRelated" query. Cache Keys are inherently query specific.

If set to an empty string, this indicates that the server should generate a cache
key in the response as part of "RelatedResult".

If not set, the server will not attempt to generate a cache key at all.

</dd> </dl>

Attributes:

  • NoteGuid
  • PlainText
  • Filter
  • ReferenceUri
  • Context
  • CacheKey
var NoteStoreFindRelatedArgs_Query_DEFAULT *RelatedQuery

func NewRelatedQuery

func NewRelatedQuery() *RelatedQuery

func (*RelatedQuery) GetCacheKey

func (p *RelatedQuery) GetCacheKey() string

func (*RelatedQuery) GetContext

func (p *RelatedQuery) GetContext() string

func (*RelatedQuery) GetFilter

func (p *RelatedQuery) GetFilter() *NoteFilter

func (*RelatedQuery) GetNoteGuid

func (p *RelatedQuery) GetNoteGuid() string

func (*RelatedQuery) GetPlainText

func (p *RelatedQuery) GetPlainText() string

func (*RelatedQuery) GetReferenceUri

func (p *RelatedQuery) GetReferenceUri() string

func (*RelatedQuery) IsSetCacheKey

func (p *RelatedQuery) IsSetCacheKey() bool

func (*RelatedQuery) IsSetContext

func (p *RelatedQuery) IsSetContext() bool

func (*RelatedQuery) IsSetFilter

func (p *RelatedQuery) IsSetFilter() bool

func (*RelatedQuery) IsSetNoteGuid

func (p *RelatedQuery) IsSetNoteGuid() bool

func (*RelatedQuery) IsSetPlainText

func (p *RelatedQuery) IsSetPlainText() bool

func (*RelatedQuery) IsSetReferenceUri

func (p *RelatedQuery) IsSetReferenceUri() bool

func (*RelatedQuery) Read

func (p *RelatedQuery) Read(iprot thrift.TProtocol) error

func (*RelatedQuery) ReadField1

func (p *RelatedQuery) ReadField1(iprot thrift.TProtocol) error

func (*RelatedQuery) ReadField2

func (p *RelatedQuery) ReadField2(iprot thrift.TProtocol) error

func (*RelatedQuery) ReadField3

func (p *RelatedQuery) ReadField3(iprot thrift.TProtocol) error

func (*RelatedQuery) ReadField4

func (p *RelatedQuery) ReadField4(iprot thrift.TProtocol) error

func (*RelatedQuery) ReadField5

func (p *RelatedQuery) ReadField5(iprot thrift.TProtocol) error

func (*RelatedQuery) ReadField6

func (p *RelatedQuery) ReadField6(iprot thrift.TProtocol) error

func (*RelatedQuery) String

func (p *RelatedQuery) String() string

func (*RelatedQuery) Write

func (p *RelatedQuery) Write(oprot thrift.TProtocol) error

type RelatedResultSpec

type RelatedResultSpec struct {
	MaxNotes                   *int32               `thrift:"maxNotes,1" db:"maxNotes" json:"maxNotes,omitempty"`
	MaxNotebooks               *int32               `thrift:"maxNotebooks,2" db:"maxNotebooks" json:"maxNotebooks,omitempty"`
	MaxTags                    *int32               `thrift:"maxTags,3" db:"maxTags" json:"maxTags,omitempty"`
	WritableNotebooksOnly      *bool                `thrift:"writableNotebooksOnly,4" db:"writableNotebooksOnly" json:"writableNotebooksOnly,omitempty"`
	IncludeContainingNotebooks *bool                `thrift:"includeContainingNotebooks,5" db:"includeContainingNotebooks" json:"includeContainingNotebooks,omitempty"`
	IncludeDebugInfo           *bool                `thrift:"includeDebugInfo,6" db:"includeDebugInfo" json:"includeDebugInfo,omitempty"`
	MaxExperts                 *int32               `thrift:"maxExperts,7" db:"maxExperts" json:"maxExperts,omitempty"`
	MaxRelatedContent          *int32               `thrift:"maxRelatedContent,8" db:"maxRelatedContent" json:"maxRelatedContent,omitempty"`
	RelatedContentTypes        []RelatedContentType `thrift:"relatedContentTypes,9" db:"relatedContentTypes" json:"relatedContentTypes,omitempty"`
}

A description of the thing for which the service will find related entities, via findRelated(), together with a description of what type of entities and how many you are seeking in the RelatedResult.

<dl> <dt>maxNotes</dt> <dd>Return notes that are related to the query, but no more than

this many.  Any value greater than EDAM_RELATED_MAX_NOTES
will be silently capped.  If you do not set this field, then
no notes will be returned.</dd>

<dt>maxNotebooks</dt> <dd>Return notebooks that are related to the query, but no more than

this many.  Any value greater than EDAM_RELATED_MAX_NOTEBOOKS
will be silently capped.  If you do not set this field, then
no notebooks will be returned.</dd>

<dt>maxTags</dt> <dd>Return tags that are related to the query, but no more than

this many.  Any value greater than EDAM_RELATED_MAX_TAGS
will be silently capped.  If you do not set this field, then
no tags will be returned.</dd>

</dl>

<dt>writableNotebooksOnly</dt> <dd>Require that all returned related notebooks are writable.

The user will be able to create notes in all returned notebooks.
However, individual notes returned may still belong to notebooks
in which the user lacks the ability to create notes.</dd>

</dl>

<dt>includeContainingNotebooks</dt> <dd>If set to <code>true</code>, return the containingNotebooks field

in the RelatedResult, which will contain the list of notebooks to
to which the returned related notes belong.</dd>

</dl>

<dt>includeDebugInfo</dt> <dd>If set to <code>true</code>, indicate that debug information should

be returned in the 'debugInfo' field of RelatedResult. Note that the call may
be slower if this flag is set.</dd>

<dt>maxExperts</dt> <dd>This can only be used when making a findRelated call against a business.

Find users within your business who have knowledge about the specified query.
No more than this many users will be returned. Any value greater than
EDAM_RELATED_MAX_EXPERTS will be silently capped.

</dd>

<dt>maxRelatedContent</dt> <dd>Return snippets of related content that is related to the query, but no more than

this many. Any value greater than EDAM_RELATED_MAX_RELATED_CONTENT will be silently
capped. If you do not set this field, then no related content will be returned.</dd>

</dl>

<dt>relatedContentTypes</dt> <dd>Specifies the types of Related Content that should be returned.</dd> </dl>

Attributes:

  • MaxNotes
  • MaxNotebooks
  • MaxTags
  • WritableNotebooksOnly
  • IncludeContainingNotebooks
  • IncludeDebugInfo
  • MaxExperts
  • MaxRelatedContent
  • RelatedContentTypes
var NoteStoreFindRelatedArgs_ResultSpec_DEFAULT *RelatedResultSpec

func NewRelatedResultSpec

func NewRelatedResultSpec() *RelatedResultSpec

func (*RelatedResultSpec) GetIncludeContainingNotebooks

func (p *RelatedResultSpec) GetIncludeContainingNotebooks() bool

func (*RelatedResultSpec) GetIncludeDebugInfo

func (p *RelatedResultSpec) GetIncludeDebugInfo() bool

func (*RelatedResultSpec) GetMaxExperts

func (p *RelatedResultSpec) GetMaxExperts() int32

func (*RelatedResultSpec) GetMaxNotebooks

func (p *RelatedResultSpec) GetMaxNotebooks() int32

func (*RelatedResultSpec) GetMaxNotes

func (p *RelatedResultSpec) GetMaxNotes() int32

func (*RelatedResultSpec) GetMaxRelatedContent

func (p *RelatedResultSpec) GetMaxRelatedContent() int32

func (*RelatedResultSpec) GetMaxTags

func (p *RelatedResultSpec) GetMaxTags() int32

func (*RelatedResultSpec) GetRelatedContentTypes

func (p *RelatedResultSpec) GetRelatedContentTypes() []RelatedContentType

func (*RelatedResultSpec) GetWritableNotebooksOnly

func (p *RelatedResultSpec) GetWritableNotebooksOnly() bool

func (*RelatedResultSpec) IsSetIncludeContainingNotebooks

func (p *RelatedResultSpec) IsSetIncludeContainingNotebooks() bool

func (*RelatedResultSpec) IsSetIncludeDebugInfo

func (p *RelatedResultSpec) IsSetIncludeDebugInfo() bool

func (*RelatedResultSpec) IsSetMaxExperts

func (p *RelatedResultSpec) IsSetMaxExperts() bool

func (*RelatedResultSpec) IsSetMaxNotebooks

func (p *RelatedResultSpec) IsSetMaxNotebooks() bool

func (*RelatedResultSpec) IsSetMaxNotes

func (p *RelatedResultSpec) IsSetMaxNotes() bool

func (*RelatedResultSpec) IsSetMaxRelatedContent

func (p *RelatedResultSpec) IsSetMaxRelatedContent() bool

func (*RelatedResultSpec) IsSetMaxTags

func (p *RelatedResultSpec) IsSetMaxTags() bool

func (*RelatedResultSpec) IsSetRelatedContentTypes

func (p *RelatedResultSpec) IsSetRelatedContentTypes() bool

func (*RelatedResultSpec) IsSetWritableNotebooksOnly

func (p *RelatedResultSpec) IsSetWritableNotebooksOnly() bool

func (*RelatedResultSpec) Read

func (p *RelatedResultSpec) Read(iprot thrift.TProtocol) error

func (*RelatedResultSpec) ReadField1

func (p *RelatedResultSpec) ReadField1(iprot thrift.TProtocol) error

func (*RelatedResultSpec) ReadField2

func (p *RelatedResultSpec) ReadField2(iprot thrift.TProtocol) error

func (*RelatedResultSpec) ReadField3

func (p *RelatedResultSpec) ReadField3(iprot thrift.TProtocol) error

func (*RelatedResultSpec) ReadField4

func (p *RelatedResultSpec) ReadField4(iprot thrift.TProtocol) error

func (*RelatedResultSpec) ReadField5

func (p *RelatedResultSpec) ReadField5(iprot thrift.TProtocol) error

func (*RelatedResultSpec) ReadField6

func (p *RelatedResultSpec) ReadField6(iprot thrift.TProtocol) error

func (*RelatedResultSpec) ReadField7

func (p *RelatedResultSpec) ReadField7(iprot thrift.TProtocol) error

func (*RelatedResultSpec) ReadField8

func (p *RelatedResultSpec) ReadField8(iprot thrift.TProtocol) error

func (*RelatedResultSpec) ReadField9

func (p *RelatedResultSpec) ReadField9(iprot thrift.TProtocol) error

func (*RelatedResultSpec) String

func (p *RelatedResultSpec) String() string

func (*RelatedResultSpec) Write

func (p *RelatedResultSpec) Write(oprot thrift.TProtocol) error

type RelatedResult_

type RelatedResult_ struct {
	Notes               []*Note               `thrift:"notes,1" db:"notes" json:"notes,omitempty"`
	Notebooks           []*Notebook           `thrift:"notebooks,2" db:"notebooks" json:"notebooks,omitempty"`
	Tags                []*Tag                `thrift:"tags,3" db:"tags" json:"tags,omitempty"`
	ContainingNotebooks []*NotebookDescriptor `thrift:"containingNotebooks,4" db:"containingNotebooks" json:"containingNotebooks,omitempty"`
	DebugInfo           *string               `thrift:"debugInfo,5" db:"debugInfo" json:"debugInfo,omitempty"`
	Experts             []*UserProfile        `thrift:"experts,6" db:"experts" json:"experts,omitempty"`
	RelatedContent      []*RelatedContent     `thrift:"relatedContent,7" db:"relatedContent" json:"relatedContent,omitempty"`
	CacheKey            *string               `thrift:"cacheKey,8" db:"cacheKey" json:"cacheKey,omitempty"`
	CacheExpires        *int32                `thrift:"cacheExpires,9" db:"cacheExpires" json:"cacheExpires,omitempty"`
}

The result of calling findRelated(). The contents of the notes, notebooks, and tags fields will be in decreasing order of expected relevance. It is possible that fewer results than requested will be returned even if there are enough distinct entities in the account in cases where the relevance is estimated to be low.

<dl> <dt>notes</dt> <dd>If notes have been requested to be included, this will be the

list of notes.</dd>

<dt>notebooks</dt> <dd>If notebooks have been requested to be included, this will be the

list of notebooks.</dd>

<dt>tags</dt> <dd>If tags have been requested to be included, this will be the list

of tags.</dd>

<dt>containingNotebooks</dt> <dd>If <code>includeContainingNotebooks</code> is set to <code>true</code>

in the RelatedResultSpec, return the list of notebooks to
to which the returned related notes belong. The notebooks in this
list will occur once per notebook GUID and are represented as
NotebookDescriptor objects.</dd>

<dt>experts</dt> <dd>If experts have been requested to be included, this will return

a list of users within your business who have knowledge about the specified query.

</dd>

<dt>relatedContent</dt> <dd>If related content has been requested to be included, this will be the list of

related content snippets.

</dd>

<dt>cacheKey</dt> <dd>If set and non-empty, this cache key may be used in subsequent

"NoteStore.findRelated" calls (via "RelatedQuery") to re-use previous
responses that were cached on the client-side, instead of actually performing
another search.

If set to an empty string, this indicates that the server could not determine
a specific key for this response, but the client should nevertheless remove
any previously cached result for this request.

If unset/null, it is up to the client whether to re-use cached results or to
use the server's response.

If set to the exact non-empty cache key that was specified in
"RelatedQuery.cacheKey", this indicates that the server decided that cached results
could be reused.

Depending on the cache key specified in the query, the "RelatedResult" may only be
partially filled. For each set field, the client should replace the corresponding
part in the previously cached result with the new partial result.

For example, for a specific query that has both "RelatedResultSpec.maxNotes" and
"RelatedResultSpec.maxRelatedContent" set to positive values, the server may decide
that the previously requested and cached <em>Related Content</em> are unchanged,
but new results for <em>Related Notes</em> are available. The
response will have a new cache key and have "RelatedResult.notes" set, but have
"RelatedResult.relatedContent" unset (not just empty, but really unset).

In this situation, the client should replace any cached notes with the newly
returned "RelatedResult.notes", but it can re-use the previously cached entries for
"RelatedResult.relatedContent". List fields that are set, but empty indicate that
no results could be found; the cache should be updated correspondingly.

</dd>

<dt>cacheExpires</dt> <dd> If set, clients should reuse this response for any situations where the same input

parameters are applicable for up to this many seconds after receiving this result.

After this time has passed, the client may request a new result from the service,
but it should supply the stored cacheKey to the service when checking for an
update.

</dd>

</dl>

Attributes:

  • Notes
  • Notebooks
  • Tags
  • ContainingNotebooks
  • DebugInfo
  • Experts
  • RelatedContent
  • CacheKey
  • CacheExpires
var NoteStoreFindRelatedResult_Success_DEFAULT *RelatedResult_

func NewRelatedResult_

func NewRelatedResult_() *RelatedResult_

func (*RelatedResult_) GetCacheExpires

func (p *RelatedResult_) GetCacheExpires() int32

func (*RelatedResult_) GetCacheKey

func (p *RelatedResult_) GetCacheKey() string

func (*RelatedResult_) GetContainingNotebooks

func (p *RelatedResult_) GetContainingNotebooks() []*NotebookDescriptor

func (*RelatedResult_) GetDebugInfo

func (p *RelatedResult_) GetDebugInfo() string

func (*RelatedResult_) GetExperts

func (p *RelatedResult_) GetExperts() []*UserProfile

func (*RelatedResult_) GetNotebooks

func (p *RelatedResult_) GetNotebooks() []*Notebook

func (*RelatedResult_) GetNotes

func (p *RelatedResult_) GetNotes() []*Note

func (*RelatedResult_) GetRelatedContent

func (p *RelatedResult_) GetRelatedContent() []*RelatedContent

func (*RelatedResult_) GetTags

func (p *RelatedResult_) GetTags() []*Tag

func (*RelatedResult_) IsSetCacheExpires

func (p *RelatedResult_) IsSetCacheExpires() bool

func (*RelatedResult_) IsSetCacheKey

func (p *RelatedResult_) IsSetCacheKey() bool

func (*RelatedResult_) IsSetContainingNotebooks

func (p *RelatedResult_) IsSetContainingNotebooks() bool

func (*RelatedResult_) IsSetDebugInfo

func (p *RelatedResult_) IsSetDebugInfo() bool

func (*RelatedResult_) IsSetExperts

func (p *RelatedResult_) IsSetExperts() bool

func (*RelatedResult_) IsSetNotebooks

func (p *RelatedResult_) IsSetNotebooks() bool

func (*RelatedResult_) IsSetNotes

func (p *RelatedResult_) IsSetNotes() bool

func (*RelatedResult_) IsSetRelatedContent

func (p *RelatedResult_) IsSetRelatedContent() bool

func (*RelatedResult_) IsSetTags

func (p *RelatedResult_) IsSetTags() bool

func (*RelatedResult_) Read

func (p *RelatedResult_) Read(iprot thrift.TProtocol) error

func (*RelatedResult_) ReadField1

func (p *RelatedResult_) ReadField1(iprot thrift.TProtocol) error

func (*RelatedResult_) ReadField2

func (p *RelatedResult_) ReadField2(iprot thrift.TProtocol) error

func (*RelatedResult_) ReadField3

func (p *RelatedResult_) ReadField3(iprot thrift.TProtocol) error

func (*RelatedResult_) ReadField4

func (p *RelatedResult_) ReadField4(iprot thrift.TProtocol) error

func (*RelatedResult_) ReadField5

func (p *RelatedResult_) ReadField5(iprot thrift.TProtocol) error

func (*RelatedResult_) ReadField6

func (p *RelatedResult_) ReadField6(iprot thrift.TProtocol) error

func (*RelatedResult_) ReadField7

func (p *RelatedResult_) ReadField7(iprot thrift.TProtocol) error

func (*RelatedResult_) ReadField8

func (p *RelatedResult_) ReadField8(iprot thrift.TProtocol) error

func (*RelatedResult_) ReadField9

func (p *RelatedResult_) ReadField9(iprot thrift.TProtocol) error

func (*RelatedResult_) String

func (p *RelatedResult_) String() string

func (*RelatedResult_) Write

func (p *RelatedResult_) Write(oprot thrift.TProtocol) error

type ReminderEmailConfig

type ReminderEmailConfig int64

An enumeration describing the configuration state related to receiving reminder e-mails from the service. Reminder e-mails summarize notes based on their Note.attributes.reminderTime values.

DO_NOT_SEND: The user has selected to not receive reminder e-mail.

SEND_DAILY_EMAIL: The user has selected to receive reminder e-mail for those

days when there is a reminder.
const (
	ReminderEmailConfig_DO_NOT_SEND      ReminderEmailConfig = 1
	ReminderEmailConfig_SEND_DAILY_EMAIL ReminderEmailConfig = 2
)
var UserAttributes_ReminderEmailConfig_DEFAULT ReminderEmailConfig

func ReminderEmailConfigFromString

func ReminderEmailConfigFromString(s string) (ReminderEmailConfig, error)

func ReminderEmailConfigPtr

func ReminderEmailConfigPtr(v ReminderEmailConfig) *ReminderEmailConfig

func (ReminderEmailConfig) MarshalText

func (p ReminderEmailConfig) MarshalText() ([]byte, error)

func (*ReminderEmailConfig) Scan

func (p *ReminderEmailConfig) Scan(value interface{}) error

func (ReminderEmailConfig) String

func (p ReminderEmailConfig) String() string

func (*ReminderEmailConfig) UnmarshalText

func (p *ReminderEmailConfig) UnmarshalText(text []byte) error

func (*ReminderEmailConfig) Value

func (p *ReminderEmailConfig) Value() (driver.Value, error)

type Resource

type Resource struct {
	GUID        *GUID   `thrift:"guid,1" db:"guid" json:"guid,omitempty"`
	NoteGuid    *GUID   `thrift:"noteGuid,2" db:"noteGuid" json:"noteGuid,omitempty"`
	Data        *Data   `thrift:"data,3" db:"data" json:"data,omitempty"`
	Mime        *string `thrift:"mime,4" db:"mime" json:"mime,omitempty"`
	Width       *int16  `thrift:"width,5" db:"width" json:"width,omitempty"`
	Height      *int16  `thrift:"height,6" db:"height" json:"height,omitempty"`
	Duration    *int16  `thrift:"duration,7" db:"duration" json:"duration,omitempty"`
	Active      *bool   `thrift:"active,8" db:"active" json:"active,omitempty"`
	Recognition *Data   `thrift:"recognition,9" db:"recognition" json:"recognition,omitempty"`
	// unused field # 10
	Attributes        *ResourceAttributes `thrift:"attributes,11" db:"attributes" json:"attributes,omitempty"`
	UpdateSequenceNum *int32              `thrift:"updateSequenceNum,12" db:"updateSequenceNum" json:"updateSequenceNum,omitempty"`
	AlternateData     *Data               `thrift:"alternateData,13" db:"alternateData" json:"alternateData,omitempty"`
}

Every media file that is embedded or attached to a note is represented through a Resource entry. <dl> <dt>guid</dt>

<dd>The unique identifier of this resource.  Will be set whenever
a resource is retrieved from the service, but may be null when a client
is creating a resource.
<br/>
Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
<br/>
Regex:  EDAM_GUID_REGEX
</dd>

<dt>noteGuid</dt>

<dd>The unique identifier of the Note that holds this
Resource. Will be set whenever the resource is retrieved from the service,
but may be null when a client is creating a resource.
<br/>
Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
<br/>
Regex:  EDAM_GUID_REGEX
</dd>

<dt>data</dt>

<dd>The contents of the resource.
Maximum length:  The data.body is limited to EDAM_RESOURCE_SIZE_MAX_FREE
for free accounts and EDAM_RESOURCE_SIZE_MAX_PREMIUM for premium accounts.
</dd>

<dt>mime</dt>

<dd>The MIME type for the embedded resource.  E.g. "image/gif"
<br/>
Length:  EDAM_MIME_LEN_MIN - EDAM_MIME_LEN_MAX
<br/>
Regex:  EDAM_MIME_REGEX
</dd>

<dt>width</dt>

<dd>If set, this contains the display width of this resource, in
pixels.
</dd>

<dt>height</dt>

<dd>If set, this contains the display height of this resource,
in pixels.
</dd>

<dt>duration</dt>

<dd>DEPRECATED: ignored.
</dd>

<dt>active</dt>

<dd>If the resource is active or not.
</dd>

<dt>recognition</dt>

<dd>If set, this will hold the encoded data that provides
information on search and recognition within this resource.
</dd>

<dt>attributes</dt>

<dd>A list of the attributes for this resource.
</dd>

<dt>updateSequenceNum</dt>

<dd>A number identifying the last transaction to
modify the state of this object. The USN values are sequential within an
account, and can be used to compare the order of modifications within the
service.
</dd>

<dt>alternateData</dt>

<dd>Some Resources may be assigned an alternate data format by the service
which may be more appropriate for indexing or rendering than the original
data provided by the user.  In these cases, the alternate data form will
be available via this Data element.  If a Resource has no alternate form,
this field will be unset.</dd>

</dl>

Attributes:

  • GUID
  • NoteGuid
  • Data
  • Mime
  • Width
  • Height
  • Duration
  • Active
  • Recognition
  • Attributes
  • UpdateSequenceNum
  • AlternateData
var NoteStoreGetResourceByHashResult_Success_DEFAULT *Resource
var NoteStoreGetResourceResult_Success_DEFAULT *Resource
var NoteStoreUpdateResourceArgs_Resource_DEFAULT *Resource

func NewResource

func NewResource() *Resource

func (*Resource) GetActive

func (p *Resource) GetActive() bool

func (*Resource) GetAlternateData

func (p *Resource) GetAlternateData() *Data

func (*Resource) GetAttributes

func (p *Resource) GetAttributes() *ResourceAttributes

func (*Resource) GetData

func (p *Resource) GetData() *Data

func (*Resource) GetDuration

func (p *Resource) GetDuration() int16

func (*Resource) GetGUID

func (p *Resource) GetGUID() GUID

func (*Resource) GetHeight

func (p *Resource) GetHeight() int16

func (*Resource) GetMime

func (p *Resource) GetMime() string

func (*Resource) GetNoteGuid

func (p *Resource) GetNoteGuid() GUID

func (*Resource) GetRecognition

func (p *Resource) GetRecognition() *Data

func (*Resource) GetUpdateSequenceNum

func (p *Resource) GetUpdateSequenceNum() int32

func (*Resource) GetWidth

func (p *Resource) GetWidth() int16

func (*Resource) IsSetActive

func (p *Resource) IsSetActive() bool

func (*Resource) IsSetAlternateData

func (p *Resource) IsSetAlternateData() bool

func (*Resource) IsSetAttributes

func (p *Resource) IsSetAttributes() bool

func (*Resource) IsSetData

func (p *Resource) IsSetData() bool

func (*Resource) IsSetDuration

func (p *Resource) IsSetDuration() bool

func (*Resource) IsSetGUID

func (p *Resource) IsSetGUID() bool

func (*Resource) IsSetHeight

func (p *Resource) IsSetHeight() bool

func (*Resource) IsSetMime

func (p *Resource) IsSetMime() bool

func (*Resource) IsSetNoteGuid

func (p *Resource) IsSetNoteGuid() bool

func (*Resource) IsSetRecognition

func (p *Resource) IsSetRecognition() bool

func (*Resource) IsSetUpdateSequenceNum

func (p *Resource) IsSetUpdateSequenceNum() bool

func (*Resource) IsSetWidth

func (p *Resource) IsSetWidth() bool

func (*Resource) Read

func (p *Resource) Read(iprot thrift.TProtocol) error

func (*Resource) ReadField1

func (p *Resource) ReadField1(iprot thrift.TProtocol) error

func (*Resource) ReadField11

func (p *Resource) ReadField11(iprot thrift.TProtocol) error

func (*Resource) ReadField12

func (p *Resource) ReadField12(iprot thrift.TProtocol) error

func (*Resource) ReadField13

func (p *Resource) ReadField13(iprot thrift.TProtocol) error

func (*Resource) ReadField2

func (p *Resource) ReadField2(iprot thrift.TProtocol) error

func (*Resource) ReadField3

func (p *Resource) ReadField3(iprot thrift.TProtocol) error

func (*Resource) ReadField4

func (p *Resource) ReadField4(iprot thrift.TProtocol) error

func (*Resource) ReadField5

func (p *Resource) ReadField5(iprot thrift.TProtocol) error

func (*Resource) ReadField6

func (p *Resource) ReadField6(iprot thrift.TProtocol) error

func (*Resource) ReadField7

func (p *Resource) ReadField7(iprot thrift.TProtocol) error

func (*Resource) ReadField8

func (p *Resource) ReadField8(iprot thrift.TProtocol) error

func (*Resource) ReadField9

func (p *Resource) ReadField9(iprot thrift.TProtocol) error

func (*Resource) String

func (p *Resource) String() string

func (*Resource) Write

func (p *Resource) Write(oprot thrift.TProtocol) error

type ResourceAttributes

type ResourceAttributes struct {
	SourceURL       *string    `thrift:"sourceURL,1" db:"sourceURL" json:"sourceURL,omitempty"`
	Timestamp       *Timestamp `thrift:"timestamp,2" db:"timestamp" json:"timestamp,omitempty"`
	Latitude        *float64   `thrift:"latitude,3" db:"latitude" json:"latitude,omitempty"`
	Longitude       *float64   `thrift:"longitude,4" db:"longitude" json:"longitude,omitempty"`
	Altitude        *float64   `thrift:"altitude,5" db:"altitude" json:"altitude,omitempty"`
	CameraMake      *string    `thrift:"cameraMake,6" db:"cameraMake" json:"cameraMake,omitempty"`
	CameraModel     *string    `thrift:"cameraModel,7" db:"cameraModel" json:"cameraModel,omitempty"`
	ClientWillIndex *bool      `thrift:"clientWillIndex,8" db:"clientWillIndex" json:"clientWillIndex,omitempty"`
	RecoType        *string    `thrift:"recoType,9" db:"recoType" json:"recoType,omitempty"`
	FileName        *string    `thrift:"fileName,10" db:"fileName" json:"fileName,omitempty"`
	Attachment      *bool      `thrift:"attachment,11" db:"attachment" json:"attachment,omitempty"`
	ApplicationData *LazyMap   `thrift:"applicationData,12" db:"applicationData" json:"applicationData,omitempty"`
}

Structure holding the optional attributes of a Resource <dl> <dt>sourceURL</dt>

<dd>the original location where the resource was hosted
<br/>
 Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
</dd>

<dt>timestamp</dt>

<dd>the date and time that is associated with this resource
(e.g. the time embedded in an image from a digital camera with a clock)
</dd>

<dt>latitude</dt>

<dd>the latitude where the resource was captured
</dd>

<dt>longitude</dt>

<dd>the longitude where the resource was captured
</dd>

<dt>altitude</dt>

<dd>the altitude where the resource was captured
</dd>

<dt>cameraMake</dt>

<dd>information about an image's camera, e.g. as embedded in
the image's EXIF data
<br/>
Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
</dd>

<dt>cameraModel</dt>

<dd>information about an image's camera, e.g. as embedded
in the image's EXIF data
<br/>
Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
</dd>

<dt>clientWillIndex</dt>

<dd>if true, then the original client that submitted
the resource plans to submit the recognition index for this resource at a
later time.
</dd>

<dt>recoType</dt>

<dd>DEPRECATED - this field is no longer set by the service, so should
  be ignored.
</dd>

<dt>fileName</dt>

<dd>if the resource came from a source that provided an
explicit file name, the original name will be stored here.  Many resources
come from unnamed sources, so this will not always be set.
</dd>

<dt>attachment</dt>

<dd>this will be true if the resource should be displayed as an attachment,
or false if the resource should be displayed inline (if possible).
</dd>

<dt>applicationData</dt> <dd>Provides a location for applications to store a relatively small (4kb) blob of data associated with a Resource that is not visible to the user and that is opaque to the Evernote service. A single application may use at most one entry in this map, using its API consumer key as the map key. See the documentation for LazyMap for a description of when the actual map values are returned by the service. <p>To safely add or modify your application's entry in the map, use NoteStore.setResourceApplicationDataEntry. To safely remove your application's entry from the map, use NoteStore.unsetResourceApplicationDataEntry.</p> Minimum length of a name (key): EDAM_APPLICATIONDATA_NAME_LEN_MIN <br/> Sum max size of key and value: EDAM_APPLICATIONDATA_ENTRY_LEN_MAX <br/> Syntax regex for name (key): EDAM_APPLICATIONDATA_NAME_REGEX </dd>

</dl>

Attributes:

  • SourceURL
  • Timestamp
  • Latitude
  • Longitude
  • Altitude
  • CameraMake
  • CameraModel
  • ClientWillIndex
  • RecoType
  • FileName
  • Attachment
  • ApplicationData
var NoteStoreGetResourceAttributesResult_Success_DEFAULT *ResourceAttributes
var Resource_Attributes_DEFAULT *ResourceAttributes

func NewResourceAttributes

func NewResourceAttributes() *ResourceAttributes

func (*ResourceAttributes) GetAltitude

func (p *ResourceAttributes) GetAltitude() float64

func (*ResourceAttributes) GetApplicationData

func (p *ResourceAttributes) GetApplicationData() *LazyMap

func (*ResourceAttributes) GetAttachment

func (p *ResourceAttributes) GetAttachment() bool

func (*ResourceAttributes) GetCameraMake

func (p *ResourceAttributes) GetCameraMake() string

func (*ResourceAttributes) GetCameraModel

func (p *ResourceAttributes) GetCameraModel() string

func (*ResourceAttributes) GetClientWillIndex

func (p *ResourceAttributes) GetClientWillIndex() bool

func (*ResourceAttributes) GetFileName

func (p *ResourceAttributes) GetFileName() string

func (*ResourceAttributes) GetLatitude

func (p *ResourceAttributes) GetLatitude() float64

func (*ResourceAttributes) GetLongitude

func (p *ResourceAttributes) GetLongitude() float64

func (*ResourceAttributes) GetRecoType

func (p *ResourceAttributes) GetRecoType() string

func (*ResourceAttributes) GetSourceURL

func (p *ResourceAttributes) GetSourceURL() string

func (*ResourceAttributes) GetTimestamp

func (p *ResourceAttributes) GetTimestamp() Timestamp

func (*ResourceAttributes) IsSetAltitude

func (p *ResourceAttributes) IsSetAltitude() bool

func (*ResourceAttributes) IsSetApplicationData

func (p *ResourceAttributes) IsSetApplicationData() bool

func (*ResourceAttributes) IsSetAttachment

func (p *ResourceAttributes) IsSetAttachment() bool

func (*ResourceAttributes) IsSetCameraMake

func (p *ResourceAttributes) IsSetCameraMake() bool

func (*ResourceAttributes) IsSetCameraModel

func (p *ResourceAttributes) IsSetCameraModel() bool

func (*ResourceAttributes) IsSetClientWillIndex

func (p *ResourceAttributes) IsSetClientWillIndex() bool

func (*ResourceAttributes) IsSetFileName

func (p *ResourceAttributes) IsSetFileName() bool

func (*ResourceAttributes) IsSetLatitude

func (p *ResourceAttributes) IsSetLatitude() bool

func (*ResourceAttributes) IsSetLongitude

func (p *ResourceAttributes) IsSetLongitude() bool

func (*ResourceAttributes) IsSetRecoType

func (p *ResourceAttributes) IsSetRecoType() bool

func (*ResourceAttributes) IsSetSourceURL

func (p *ResourceAttributes) IsSetSourceURL() bool

func (*ResourceAttributes) IsSetTimestamp

func (p *ResourceAttributes) IsSetTimestamp() bool

func (*ResourceAttributes) Read

func (p *ResourceAttributes) Read(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField1

func (p *ResourceAttributes) ReadField1(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField10

func (p *ResourceAttributes) ReadField10(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField11

func (p *ResourceAttributes) ReadField11(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField12

func (p *ResourceAttributes) ReadField12(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField2

func (p *ResourceAttributes) ReadField2(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField3

func (p *ResourceAttributes) ReadField3(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField4

func (p *ResourceAttributes) ReadField4(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField5

func (p *ResourceAttributes) ReadField5(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField6

func (p *ResourceAttributes) ReadField6(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField7

func (p *ResourceAttributes) ReadField7(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField8

func (p *ResourceAttributes) ReadField8(iprot thrift.TProtocol) error

func (*ResourceAttributes) ReadField9

func (p *ResourceAttributes) ReadField9(iprot thrift.TProtocol) error

func (*ResourceAttributes) String

func (p *ResourceAttributes) String() string

func (*ResourceAttributes) Write

func (p *ResourceAttributes) Write(oprot thrift.TProtocol) error

type SavedSearch

type SavedSearch struct {
	GUID              *GUID             `thrift:"guid,1" db:"guid" json:"guid,omitempty"`
	Name              *string           `thrift:"name,2" db:"name" json:"name,omitempty"`
	Query             *string           `thrift:"query,3" db:"query" json:"query,omitempty"`
	Format            *QueryFormat      `thrift:"format,4" db:"format" json:"format,omitempty"`
	UpdateSequenceNum *int32            `thrift:"updateSequenceNum,5" db:"updateSequenceNum" json:"updateSequenceNum,omitempty"`
	Scope             *SavedSearchScope `thrift:"scope,6" db:"scope" json:"scope,omitempty"`
}

A named search associated with the account that can be quickly re-used. <dl> <dt>guid</dt>

<dd>The unique identifier of this search.  Will be set by the
service, so may be omitted by the client when creating.
<br/>
Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
<br/>
Regex:  EDAM_GUID_REGEX
</dd>

<dt>name</dt>

<dd>The name of the saved search to display in the GUI.  The
account may only contain one search with a given name (case-insensitive
compare). Can't begin or end with a space.
<br/>
Length:  EDAM_SAVED_SEARCH_NAME_LEN_MIN - EDAM_SAVED_SEARCH_NAME_LEN_MAX
<br/>
Regex:  EDAM_SAVED_SEARCH_NAME_REGEX
</dd>

<dt>query</dt>

<dd>A string expressing the search to be performed.
<br/>
Length:  EDAM_SAVED_SEARCH_QUERY_LEN_MIN - EDAM_SAVED_SEARCH_QUERY_LEN_MAX
</dd>

<dt>format</dt>

<dd>The format of the query string, to determine how to parse
and process it.
</dd>

<dt>updateSequenceNum</dt>

<dd>A number identifying the last transaction to
modify the state of this object.  The USN values are sequential within an
account, and can be used to compare the order of modifications within the
service.
</dd>

<dt>scope</dt>

<dd><p>Specifies the set of notes that should be included in the search, if
 possible.</p>
 <p>Clients are expected to search as much of the desired scope as possible,
 with the understanding that a given client may not be able to cover the full
 specified scope. For example, when executing a search that includes notes in both
 the owner's account and business notebooks, a mobile client may choose to only
 search within the user's account because it is not capable of searching both
 scopes simultaneously. When a search across multiple scopes is not possible,
 a client may choose which scope to search based on the current application
 context. If a client cannot search any of the desired scopes, it should refuse
 to execute the search.</p>
 </dd>

</dl>

Attributes:

  • GUID
  • Name
  • Query
  • Format
  • UpdateSequenceNum
  • Scope
var NoteStoreCreateSearchArgs_Search_DEFAULT *SavedSearch
var NoteStoreCreateSearchResult_Success_DEFAULT *SavedSearch
var NoteStoreGetSearchResult_Success_DEFAULT *SavedSearch
var NoteStoreUpdateSearchArgs_Search_DEFAULT *SavedSearch

func NewSavedSearch

func NewSavedSearch() *SavedSearch

func (*SavedSearch) GetFormat

func (p *SavedSearch) GetFormat() QueryFormat

func (*SavedSearch) GetGUID

func (p *SavedSearch) GetGUID() GUID

func (*SavedSearch) GetName

func (p *SavedSearch) GetName() string

func (*SavedSearch) GetQuery

func (p *SavedSearch) GetQuery() string

func (*SavedSearch) GetScope

func (p *SavedSearch) GetScope() *SavedSearchScope

func (*SavedSearch) GetUpdateSequenceNum

func (p *SavedSearch) GetUpdateSequenceNum() int32

func (*SavedSearch) IsSetFormat

func (p *SavedSearch) IsSetFormat() bool

func (*SavedSearch) IsSetGUID

func (p *SavedSearch) IsSetGUID() bool

func (*SavedSearch) IsSetName

func (p *SavedSearch) IsSetName() bool

func (*SavedSearch) IsSetQuery

func (p *SavedSearch) IsSetQuery() bool

func (*SavedSearch) IsSetScope

func (p *SavedSearch) IsSetScope() bool

func (*SavedSearch) IsSetUpdateSequenceNum

func (p *SavedSearch) IsSetUpdateSequenceNum() bool

func (*SavedSearch) Read

func (p *SavedSearch) Read(iprot thrift.TProtocol) error

func (*SavedSearch) ReadField1

func (p *SavedSearch) ReadField1(iprot thrift.TProtocol) error

func (*SavedSearch) ReadField2

func (p *SavedSearch) ReadField2(iprot thrift.TProtocol) error

func (*SavedSearch) ReadField3

func (p *SavedSearch) ReadField3(iprot thrift.TProtocol) error

func (*SavedSearch) ReadField4

func (p *SavedSearch) ReadField4(iprot thrift.TProtocol) error

func (*SavedSearch) ReadField5

func (p *SavedSearch) ReadField5(iprot thrift.TProtocol) error

func (*SavedSearch) ReadField6

func (p *SavedSearch) ReadField6(iprot thrift.TProtocol) error

func (*SavedSearch) String

func (p *SavedSearch) String() string

func (*SavedSearch) Write

func (p *SavedSearch) Write(oprot thrift.TProtocol) error

type SavedSearchScope

type SavedSearchScope struct {
	IncludeAccount                 *bool `thrift:"includeAccount,1" db:"includeAccount" json:"includeAccount,omitempty"`
	IncludePersonalLinkedNotebooks *bool `thrift:"includePersonalLinkedNotebooks,2" db:"includePersonalLinkedNotebooks" json:"includePersonalLinkedNotebooks,omitempty"`
	IncludeBusinessLinkedNotebooks *bool `thrift:"includeBusinessLinkedNotebooks,3" db:"includeBusinessLinkedNotebooks" json:"includeBusinessLinkedNotebooks,omitempty"`
}

A structure defining the scope of a SavedSearch.

<dl>

<dt>includeAccount</dt>
<dd>The search should include notes from the account that contains the SavedSearch.</dd>

<dt>includePersonalLinkedNotebooks</dt>
<dd>The search should include notes within those shared notebooks
that the user has joined that are NOT business notebooks.</dd>

<dt>includeBusinessLinkedNotebooks</dt>
<dd>The search should include notes within those shared notebooks
that the user has joined that are business notebooks in the business that
the user is currently a member of.</dd>

</dl>

Attributes:

  • IncludeAccount
  • IncludePersonalLinkedNotebooks
  • IncludeBusinessLinkedNotebooks
var SavedSearch_Scope_DEFAULT *SavedSearchScope

func NewSavedSearchScope

func NewSavedSearchScope() *SavedSearchScope

func (*SavedSearchScope) GetIncludeAccount

func (p *SavedSearchScope) GetIncludeAccount() bool

func (*SavedSearchScope) GetIncludeBusinessLinkedNotebooks

func (p *SavedSearchScope) GetIncludeBusinessLinkedNotebooks() bool

func (*SavedSearchScope) GetIncludePersonalLinkedNotebooks

func (p *SavedSearchScope) GetIncludePersonalLinkedNotebooks() bool

func (*SavedSearchScope) IsSetIncludeAccount

func (p *SavedSearchScope) IsSetIncludeAccount() bool

func (*SavedSearchScope) IsSetIncludeBusinessLinkedNotebooks

func (p *SavedSearchScope) IsSetIncludeBusinessLinkedNotebooks() bool

func (*SavedSearchScope) IsSetIncludePersonalLinkedNotebooks

func (p *SavedSearchScope) IsSetIncludePersonalLinkedNotebooks() bool

func (*SavedSearchScope) Read

func (p *SavedSearchScope) Read(iprot thrift.TProtocol) error

func (*SavedSearchScope) ReadField1

func (p *SavedSearchScope) ReadField1(iprot thrift.TProtocol) error

func (*SavedSearchScope) ReadField2

func (p *SavedSearchScope) ReadField2(iprot thrift.TProtocol) error

func (*SavedSearchScope) ReadField3

func (p *SavedSearchScope) ReadField3(iprot thrift.TProtocol) error

func (*SavedSearchScope) String

func (p *SavedSearchScope) String() string

func (*SavedSearchScope) Write

func (p *SavedSearchScope) Write(oprot thrift.TProtocol) error

type ServiceLevel

type ServiceLevel int64

This enumeration defines the possible tiers of service that a user may have. A ServiceLevel of BUSINESS signifies a business-only account, which can never be any other ServiceLevel.

const (
	ServiceLevel_BASIC    ServiceLevel = 1
	ServiceLevel_PLUS     ServiceLevel = 2
	ServiceLevel_PREMIUM  ServiceLevel = 3
	ServiceLevel_BUSINESS ServiceLevel = 4
)
var PublicUserInfo_ServiceLevel_DEFAULT ServiceLevel
var User_ServiceLevel_DEFAULT ServiceLevel

func ServiceLevelFromString

func ServiceLevelFromString(s string) (ServiceLevel, error)

func ServiceLevelPtr

func ServiceLevelPtr(v ServiceLevel) *ServiceLevel

func (ServiceLevel) MarshalText

func (p ServiceLevel) MarshalText() ([]byte, error)

func (*ServiceLevel) Scan

func (p *ServiceLevel) Scan(value interface{}) error

func (ServiceLevel) String

func (p ServiceLevel) String() string

func (*ServiceLevel) UnmarshalText

func (p *ServiceLevel) UnmarshalText(text []byte) error

func (*ServiceLevel) Value

func (p *ServiceLevel) Value() (driver.Value, error)

type ShareRelationshipPrivilegeLevel

type ShareRelationshipPrivilegeLevel int64

Privilege levels for accessing shared notebooks.

READ_NOTEBOOK: Recipient is able to read the contents of the shared notebook

but does not have access to information about other recipients of the
notebook or the activity stream information.

READ_NOTEBOOK_PLUS_ACTIVITY: Recipient has READ_NOTEBOOK rights and can also

access information about other recipients and the activity stream.

MODIFY_NOTEBOOK_PLUS_ACTIVITY: Recipient has rights to read and modify the contents

of the shared notebook, including the right to move notes to the trash and to create
notes in the notebook.  The recipient can also access information about other
recipients and the activity stream.

FULL_ACCESS: Recipient has full rights to the shared notebook and recipient lists,

including privilege to revoke and create invitations and to change privilege
levels on invitations for individuals. If the user is a member of the same group,
(e.g. the same business) as the shared notebook, they will additionally be granted
permissions to update the publishing status of the notebook.
const (
	ShareRelationshipPrivilegeLevel_READ_NOTEBOOK                 ShareRelationshipPrivilegeLevel = 0
	ShareRelationshipPrivilegeLevel_READ_NOTEBOOK_PLUS_ACTIVITY   ShareRelationshipPrivilegeLevel = 10
	ShareRelationshipPrivilegeLevel_MODIFY_NOTEBOOK_PLUS_ACTIVITY ShareRelationshipPrivilegeLevel = 20
	ShareRelationshipPrivilegeLevel_FULL_ACCESS                   ShareRelationshipPrivilegeLevel = 30
)
var InvitationShareRelationship_Privilege_DEFAULT ShareRelationshipPrivilegeLevel
var MemberShareRelationship_BestPrivilege_DEFAULT ShareRelationshipPrivilegeLevel
var MemberShareRelationship_IndividualPrivilege_DEFAULT ShareRelationshipPrivilegeLevel

func ShareRelationshipPrivilegeLevelFromString

func ShareRelationshipPrivilegeLevelFromString(s string) (ShareRelationshipPrivilegeLevel, error)

func (ShareRelationshipPrivilegeLevel) MarshalText

func (p ShareRelationshipPrivilegeLevel) MarshalText() ([]byte, error)

func (*ShareRelationshipPrivilegeLevel) Scan

func (p *ShareRelationshipPrivilegeLevel) Scan(value interface{}) error

func (ShareRelationshipPrivilegeLevel) String

func (*ShareRelationshipPrivilegeLevel) UnmarshalText

func (p *ShareRelationshipPrivilegeLevel) UnmarshalText(text []byte) error

func (*ShareRelationshipPrivilegeLevel) Value

type ShareRelationshipRestrictions

type ShareRelationshipRestrictions struct {
	NoSetReadOnly         *bool `thrift:"noSetReadOnly,1" db:"noSetReadOnly" json:"noSetReadOnly,omitempty"`
	NoSetReadPlusActivity *bool `thrift:"noSetReadPlusActivity,2" db:"noSetReadPlusActivity" json:"noSetReadPlusActivity,omitempty"`
	NoSetModify           *bool `thrift:"noSetModify,3" db:"noSetModify" json:"noSetModify,omitempty"`
	NoSetFullAccess       *bool `thrift:"noSetFullAccess,4" db:"noSetFullAccess" json:"noSetFullAccess,omitempty"`
}

Attributes:

  • NoSetReadOnly
  • NoSetReadPlusActivity
  • NoSetModify
  • NoSetFullAccess
var MemberShareRelationship_Restrictions_DEFAULT *ShareRelationshipRestrictions
var ShareRelationships_InvitationRestrictions_DEFAULT *ShareRelationshipRestrictions

func NewShareRelationshipRestrictions

func NewShareRelationshipRestrictions() *ShareRelationshipRestrictions

func (*ShareRelationshipRestrictions) GetNoSetFullAccess

func (p *ShareRelationshipRestrictions) GetNoSetFullAccess() bool

func (*ShareRelationshipRestrictions) GetNoSetModify

func (p *ShareRelationshipRestrictions) GetNoSetModify() bool

func (*ShareRelationshipRestrictions) GetNoSetReadOnly

func (p *ShareRelationshipRestrictions) GetNoSetReadOnly() bool

func (*ShareRelationshipRestrictions) GetNoSetReadPlusActivity

func (p *ShareRelationshipRestrictions) GetNoSetReadPlusActivity() bool

func (*ShareRelationshipRestrictions) IsSetNoSetFullAccess

func (p *ShareRelationshipRestrictions) IsSetNoSetFullAccess() bool

func (*ShareRelationshipRestrictions) IsSetNoSetModify

func (p *ShareRelationshipRestrictions) IsSetNoSetModify() bool

func (*ShareRelationshipRestrictions) IsSetNoSetReadOnly

func (p *ShareRelationshipRestrictions) IsSetNoSetReadOnly() bool

func (*ShareRelationshipRestrictions) IsSetNoSetReadPlusActivity

func (p *ShareRelationshipRestrictions) IsSetNoSetReadPlusActivity() bool

func (*ShareRelationshipRestrictions) Read

func (*ShareRelationshipRestrictions) ReadField1

func (p *ShareRelationshipRestrictions) ReadField1(iprot thrift.TProtocol) error

func (*ShareRelationshipRestrictions) ReadField2

func (p *ShareRelationshipRestrictions) ReadField2(iprot thrift.TProtocol) error

func (*ShareRelationshipRestrictions) ReadField3

func (p *ShareRelationshipRestrictions) ReadField3(iprot thrift.TProtocol) error

func (*ShareRelationshipRestrictions) ReadField4

func (p *ShareRelationshipRestrictions) ReadField4(iprot thrift.TProtocol) error

func (*ShareRelationshipRestrictions) String

func (*ShareRelationshipRestrictions) Write

type ShareRelationships

type ShareRelationships struct {
	Invitations            []*InvitationShareRelationship `thrift:"invitations,1" db:"invitations" json:"invitations,omitempty"`
	Memberships            []*MemberShareRelationship     `thrift:"memberships,2" db:"memberships" json:"memberships,omitempty"`
	InvitationRestrictions *ShareRelationshipRestrictions `thrift:"invitationRestrictions,3" db:"invitationRestrictions" json:"invitationRestrictions,omitempty"`
}

Captures a collection of share relationships for a notebook, for example, as returned by the getNotebookShares method. The share relationships fall into two broad categories: members, and invitations that can be used to become members.

<dl> <dt>invitations</dt> <dd>A list of open invitations that can be redeemed into memberships to the notebook.</dd>

<dt>memberships</dt> <dd>A list of memberships of the notebook. A member is identified by their Evernote UserID and has rights to access the notebook.</dd>

<dt>invitationRestrictions</dt> <dd>The restrictions on what privileges may be granted to invitees to this notebook. These restrictions may be specific to the calling user or to the notebook itself. They represent the union of all possible invite cases, so it is possible that once the recipient of the invitation has been identified by the service, such as by a business auto-join, the actual assigned privilege may change. </dd> </dl>

Attributes:

  • Invitations
  • Memberships
  • InvitationRestrictions
var NoteStoreGetNotebookSharesResult_Success_DEFAULT *ShareRelationships

func NewShareRelationships

func NewShareRelationships() *ShareRelationships

func (*ShareRelationships) GetInvitationRestrictions

func (p *ShareRelationships) GetInvitationRestrictions() *ShareRelationshipRestrictions

func (*ShareRelationships) GetInvitations

func (p *ShareRelationships) GetInvitations() []*InvitationShareRelationship

func (*ShareRelationships) GetMemberships

func (p *ShareRelationships) GetMemberships() []*MemberShareRelationship

func (*ShareRelationships) IsSetInvitationRestrictions

func (p *ShareRelationships) IsSetInvitationRestrictions() bool

func (*ShareRelationships) IsSetInvitations

func (p *ShareRelationships) IsSetInvitations() bool

func (*ShareRelationships) IsSetMemberships

func (p *ShareRelationships) IsSetMemberships() bool

func (*ShareRelationships) Read

func (p *ShareRelationships) Read(iprot thrift.TProtocol) error

func (*ShareRelationships) ReadField1

func (p *ShareRelationships) ReadField1(iprot thrift.TProtocol) error

func (*ShareRelationships) ReadField2

func (p *ShareRelationships) ReadField2(iprot thrift.TProtocol) error

func (*ShareRelationships) ReadField3

func (p *ShareRelationships) ReadField3(iprot thrift.TProtocol) error

func (*ShareRelationships) String

func (p *ShareRelationships) String() string

func (*ShareRelationships) Write

func (p *ShareRelationships) Write(oprot thrift.TProtocol) error

type SharedNote

type SharedNote struct {
	SharerUserID      *UserID                   `thrift:"sharerUserID,1" db:"sharerUserID" json:"sharerUserID,omitempty"`
	RecipientIdentity *Identity                 `thrift:"recipientIdentity,2" db:"recipientIdentity" json:"recipientIdentity,omitempty"`
	Privilege         *SharedNotePrivilegeLevel `thrift:"privilege,3" db:"privilege" json:"privilege,omitempty"`
	ServiceCreated    *Timestamp                `thrift:"serviceCreated,4" db:"serviceCreated" json:"serviceCreated,omitempty"`
	ServiceUpdated    *Timestamp                `thrift:"serviceUpdated,5" db:"serviceUpdated" json:"serviceUpdated,omitempty"`
	ServiceAssigned   *Timestamp                `thrift:"serviceAssigned,6" db:"serviceAssigned" json:"serviceAssigned,omitempty"`
}

Represents a relationship between a note and a single share invitation recipient. The recipient is identified via an Identity, and has a given privilege that specifies what actions they may take on the note.

<dl>

<dt>sharerUserID</dt>
<dd>The user ID of the user who shared the note with the recipient.</dd>

<dt>recipientIdentity</dt>
<dd>The identity of the recipient of the share. For a given note, there may be only one
  SharedNote per recipient identity. Only recipientIdentity.id is guaranteed to be set.
  Other fields on the Identity may or my not be set based on the requesting user's
  relationship with the recipient.</dd>

<dt>privilege</dt>
<dd>The privilege level that the share grants to the recipient.</dd>

<dt>serviceCreated</dt>
<dd>The time at which the share was created.</dd>

<dt>serviceUpdated</dt>
<dd>The time at which the share was last updated.</dd>

<dt>serviceAssigned</dt>
<dd>The time at which the share was assigned to a specific recipient user ID.</dd>

</dl>

Attributes:

  • SharerUserID
  • RecipientIdentity
  • Privilege
  • ServiceCreated
  • ServiceUpdated
  • ServiceAssigned

func NewSharedNote

func NewSharedNote() *SharedNote

func (*SharedNote) GetPrivilege

func (p *SharedNote) GetPrivilege() SharedNotePrivilegeLevel

func (*SharedNote) GetRecipientIdentity

func (p *SharedNote) GetRecipientIdentity() *Identity

func (*SharedNote) GetServiceAssigned

func (p *SharedNote) GetServiceAssigned() Timestamp

func (*SharedNote) GetServiceCreated

func (p *SharedNote) GetServiceCreated() Timestamp

func (*SharedNote) GetServiceUpdated

func (p *SharedNote) GetServiceUpdated() Timestamp

func (*SharedNote) GetSharerUserID

func (p *SharedNote) GetSharerUserID() UserID

func (*SharedNote) IsSetPrivilege

func (p *SharedNote) IsSetPrivilege() bool

func (*SharedNote) IsSetRecipientIdentity

func (p *SharedNote) IsSetRecipientIdentity() bool

func (*SharedNote) IsSetServiceAssigned

func (p *SharedNote) IsSetServiceAssigned() bool

func (*SharedNote) IsSetServiceCreated

func (p *SharedNote) IsSetServiceCreated() bool

func (*SharedNote) IsSetServiceUpdated

func (p *SharedNote) IsSetServiceUpdated() bool

func (*SharedNote) IsSetSharerUserID

func (p *SharedNote) IsSetSharerUserID() bool

func (*SharedNote) Read

func (p *SharedNote) Read(iprot thrift.TProtocol) error

func (*SharedNote) ReadField1

func (p *SharedNote) ReadField1(iprot thrift.TProtocol) error

func (*SharedNote) ReadField2

func (p *SharedNote) ReadField2(iprot thrift.TProtocol) error

func (*SharedNote) ReadField3

func (p *SharedNote) ReadField3(iprot thrift.TProtocol) error

func (*SharedNote) ReadField4

func (p *SharedNote) ReadField4(iprot thrift.TProtocol) error

func (*SharedNote) ReadField5

func (p *SharedNote) ReadField5(iprot thrift.TProtocol) error

func (*SharedNote) ReadField6

func (p *SharedNote) ReadField6(iprot thrift.TProtocol) error

func (*SharedNote) String

func (p *SharedNote) String() string

func (*SharedNote) Write

func (p *SharedNote) Write(oprot thrift.TProtocol) error

type SharedNotePrivilegeLevel

type SharedNotePrivilegeLevel int64

Privilege levels for accessing a shared note. All privilege levels convey "activity feed" access, which allows the recipient to access information about other recipients and the activity stream.

READ_NOTE: Recipient has rights to read the shared note.

MODIFY_NOTE: Recipient has all of the rights of READ_NOTE, plus rights to modify the shared

note's content, title and resources. Other fields, including the notebook, tags and metadata,
may not be modified.

FULL_ACCESS: Recipient has all of the rights of MODIFY_NOTE, plus rights to share the note with

other users via email, public note links, and note sharing. Recipient may also update and
remove other recipient's note sharing rights.
const (
	SharedNotePrivilegeLevel_READ_NOTE   SharedNotePrivilegeLevel = 0
	SharedNotePrivilegeLevel_MODIFY_NOTE SharedNotePrivilegeLevel = 1
	SharedNotePrivilegeLevel_FULL_ACCESS SharedNotePrivilegeLevel = 2
)
var NoteInvitationShareRelationship_Privilege_DEFAULT SharedNotePrivilegeLevel
var NoteMemberShareRelationship_Privilege_DEFAULT SharedNotePrivilegeLevel
var SharedNoteTemplate_Privilege_DEFAULT SharedNotePrivilegeLevel
var SharedNote_Privilege_DEFAULT SharedNotePrivilegeLevel

func SharedNotePrivilegeLevelFromString

func SharedNotePrivilegeLevelFromString(s string) (SharedNotePrivilegeLevel, error)

func (SharedNotePrivilegeLevel) MarshalText

func (p SharedNotePrivilegeLevel) MarshalText() ([]byte, error)

func (*SharedNotePrivilegeLevel) Scan

func (p *SharedNotePrivilegeLevel) Scan(value interface{}) error

func (SharedNotePrivilegeLevel) String

func (p SharedNotePrivilegeLevel) String() string

func (*SharedNotePrivilegeLevel) UnmarshalText

func (p *SharedNotePrivilegeLevel) UnmarshalText(text []byte) error

func (*SharedNotePrivilegeLevel) Value

type SharedNoteTemplate

type SharedNoteTemplate struct {
	NoteGuid          *GUID                     `thrift:"noteGuid,1" db:"noteGuid" json:"noteGuid,omitempty"`
	RecipientContacts []*Contact                `thrift:"recipientContacts,2" db:"recipientContacts" json:"recipientContacts,omitempty"`
	Privilege         *SharedNotePrivilegeLevel `thrift:"privilege,3" db:"privilege" json:"privilege,omitempty"`
	RecipientThreadId *MessageThreadID          `thrift:"recipientThreadId,4" db:"recipientThreadId" json:"recipientThreadId,omitempty"`
}

A structure used to share a note with one or more recipients at a given privilege.

<dl>

<dt>noteGuid</dt>
<dd>The GUID of the note.</dd>

<dt>recipientThreadId</dt>
<dd>The recipients of the note share specified as a messaging thread ID. If you
    have an existing messaging thread to share the note with, specify its ID
    here instead of recipientContacts in order to properly support defunct
    identities. The sharer must be a participant of the thread. Either this
    field or recipientContacts must be set.</dd>

<dt>recipientContacts</dt>
<dd>The recipients of the note share specified as a list of contacts. This should
    only be set if the sharing takes place before the thread is created. Use
    recipientThreadId instead when sharing with an existing thread. Either this
    field or recipientThreadId must be set.</dd>

<dt>privilege</dt>
<dd>The privilege level to be granted.</dd>

</dl>

Attributes:

  • NoteGuid
  • RecipientThreadId
  • RecipientContacts
  • Privilege

func NewSharedNoteTemplate

func NewSharedNoteTemplate() *SharedNoteTemplate

func (*SharedNoteTemplate) GetNoteGuid

func (p *SharedNoteTemplate) GetNoteGuid() GUID

func (*SharedNoteTemplate) GetPrivilege

func (p *SharedNoteTemplate) GetPrivilege() SharedNotePrivilegeLevel

func (*SharedNoteTemplate) GetRecipientContacts

func (p *SharedNoteTemplate) GetRecipientContacts() []*Contact

func (*SharedNoteTemplate) GetRecipientThreadId

func (p *SharedNoteTemplate) GetRecipientThreadId() MessageThreadID

func (*SharedNoteTemplate) IsSetNoteGuid

func (p *SharedNoteTemplate) IsSetNoteGuid() bool

func (*SharedNoteTemplate) IsSetPrivilege

func (p *SharedNoteTemplate) IsSetPrivilege() bool

func (*SharedNoteTemplate) IsSetRecipientContacts

func (p *SharedNoteTemplate) IsSetRecipientContacts() bool

func (*SharedNoteTemplate) IsSetRecipientThreadId

func (p *SharedNoteTemplate) IsSetRecipientThreadId() bool

func (*SharedNoteTemplate) Read

func (p *SharedNoteTemplate) Read(iprot thrift.TProtocol) error

func (*SharedNoteTemplate) ReadField1

func (p *SharedNoteTemplate) ReadField1(iprot thrift.TProtocol) error

func (*SharedNoteTemplate) ReadField2

func (p *SharedNoteTemplate) ReadField2(iprot thrift.TProtocol) error

func (*SharedNoteTemplate) ReadField3

func (p *SharedNoteTemplate) ReadField3(iprot thrift.TProtocol) error

func (*SharedNoteTemplate) ReadField4

func (p *SharedNoteTemplate) ReadField4(iprot thrift.TProtocol) error

func (*SharedNoteTemplate) String

func (p *SharedNoteTemplate) String() string

func (*SharedNoteTemplate) Write

func (p *SharedNoteTemplate) Write(oprot thrift.TProtocol) error

type SharedNotebook

type SharedNotebook struct {
	ID                 *int64  `thrift:"id,1" db:"id" json:"id,omitempty"`
	UserId             *UserID `thrift:"userId,2" db:"userId" json:"userId,omitempty"`
	NotebookGuid       *GUID   `thrift:"notebookGuid,3" db:"notebookGuid" json:"notebookGuid,omitempty"`
	Email              *string `thrift:"email,4" db:"email" json:"email,omitempty"`
	NotebookModifiable *bool   `thrift:"notebookModifiable,5" db:"notebookModifiable" json:"notebookModifiable,omitempty"`
	// unused field # 6
	ServiceCreated *Timestamp                    `thrift:"serviceCreated,7" db:"serviceCreated" json:"serviceCreated,omitempty"`
	GlobalId       *string                       `thrift:"globalId,8" db:"globalId" json:"globalId,omitempty"`
	Username       *string                       `thrift:"username,9" db:"username" json:"username,omitempty"`
	ServiceUpdated *Timestamp                    `thrift:"serviceUpdated,10" db:"serviceUpdated" json:"serviceUpdated,omitempty"`
	Privilege      *SharedNotebookPrivilegeLevel `thrift:"privilege,11" db:"privilege" json:"privilege,omitempty"`
	// unused field # 12
	RecipientSettings   *SharedNotebookRecipientSettings `thrift:"recipientSettings,13" db:"recipientSettings" json:"recipientSettings,omitempty"`
	SharerUserId        *UserID                          `thrift:"sharerUserId,14" db:"sharerUserId" json:"sharerUserId,omitempty"`
	RecipientUsername   *string                          `thrift:"recipientUsername,15" db:"recipientUsername" json:"recipientUsername,omitempty"`
	ServiceAssigned     *Timestamp                       `thrift:"serviceAssigned,16" db:"serviceAssigned" json:"serviceAssigned,omitempty"`
	RecipientUserId     *UserID                          `thrift:"recipientUserId,17" db:"recipientUserId" json:"recipientUserId,omitempty"`
	RecipientIdentityId *IdentityID                      `thrift:"recipientIdentityId,18" db:"recipientIdentityId" json:"recipientIdentityId,omitempty"`
}

Shared notebooks represent a relationship between a notebook and a single share invitation recipient. <dl> <dt>id</dt> <dd>The primary identifier of the share, which is not globally unique.</dd>

<dt>userId</dt> <dd>The user id of the owner of the notebook.</dd>

<dt>notebookGuid</dt> <dd>The GUID of the notebook that has been shared.</dd>

<dt>email</dt> <dd>A string containing a display name for the recipient of the share. This may

be an email address, a phone number, a full name, or some other descriptive
string This field is read-only to clients. It will be filled in by the service
when returning shared notebooks.

</dd>

<dt>recipientIdentityId</dt> <dd>The IdentityID of the share recipient. If present, only the user who has

claimed that identity may access this share.

</dd>

<dt>notebookModifiable</dt> <dd>DEPRECATED</dd>

<dt>serviceCreated</dt> <dd>The date that the owner first created the share with the specific email

address.</dd>

<dt>serviceUpdated</dt> <dd>The date the shared notebook was last updated on the service. This

will be updated when authenticateToSharedNotebook is called the first
time with a shared notebook (i.e. when the username is bound to that
shared notebook), and also when the SharedNotebook privilege is updated
as part of a shareNotebook(...) call, as well as on any calls to
updateSharedNotebook(...).

</dd>

<dt>username</dt> <dd>DEPRECATED. The username of the user who can access this share. This

value is read-only to clients. It will be filled in by the service when
returning shared notebooks.

</dd>

<dt>privilege</dt> <dd>The privilege level granted to the notebook, activity stream, and

invitations.  See the corresponding enumeration for details.

</dd>

<dt>recipientSettings</dt> <dd>Settings intended for use only by the recipient of this shared

notebook.  You should skip setting this value unless you want
to change the value contained inside the structure, and only if
you are the recipient.</dd>

<dt>globalId</dt> <dd>An immutable, opaque string that acts as a globally unique

identifier for this shared notebook record.  You can use this field to
match linked notebook and shared notebook records as well as to
create new LinkedNotebook records.  This field replaces the deprecated
shareKey field.

</dd>

<dt>sharerUserId</dt> <dd>The user id of the user who shared a notebook via this shared notebook

instance. This may not be the same as userId, since a user with full
access to a notebook may have created a new share for that notebook. For
Business, this represents the user who shared the business notebook. This
field is currently unset for a SharedNotebook created by joining a
notebook that has been published to the business.

</dd>

<dt>recipientUsername</dt> <dd>The username of the user who can access this share. This is the username

for the user with the id in recipientUserId. This value can be set
by clients when calling shareNotebook(...), and that will result in the
created SharedNotebook being assigned to a user. This value is always set
if serviceAssigned is set.

</dd>

<dt>recipientUserId</dt> <dd>The id of the user who can access this share. This is the id for the user

with the username in recipientUsername. This value is read-only and set
by the service. Value set by clients will be ignored. This field may be unset
for unjoined notebooks and is always set if serviceAssigned is set. Clients should
prefer this field over recipientUsername unless they need to use usernames
directly.

</dd>

<dt>serviceAssigned</dt> <dd>The date this SharedNotebook was assigned (i.e. has been associated with an

Evernote user whose user ID is set in recipientUserId). Unset if the SharedNotebook
is not assigned. This field is a read-only value that is set by the service.

</dd> </dl>

Attributes:

  • ID
  • UserId
  • NotebookGuid
  • Email
  • RecipientIdentityId
  • NotebookModifiable
  • ServiceCreated
  • ServiceUpdated
  • GlobalId
  • Username
  • Privilege
  • RecipientSettings
  • SharerUserId
  • RecipientUsername
  • RecipientUserId
  • ServiceAssigned
var NoteStoreGetSharedNotebookByAuthResult_Success_DEFAULT *SharedNotebook
var NoteStoreShareNotebookArgs_SharedNotebook_DEFAULT *SharedNotebook
var NoteStoreShareNotebookResult_Success_DEFAULT *SharedNotebook
var NoteStoreUpdateSharedNotebookArgs_SharedNotebook_DEFAULT *SharedNotebook

func NewSharedNotebook

func NewSharedNotebook() *SharedNotebook

func (*SharedNotebook) GetEmail

func (p *SharedNotebook) GetEmail() string

func (*SharedNotebook) GetGlobalId

func (p *SharedNotebook) GetGlobalId() string

func (*SharedNotebook) GetID

func (p *SharedNotebook) GetID() int64

func (*SharedNotebook) GetNotebookGuid

func (p *SharedNotebook) GetNotebookGuid() GUID

func (*SharedNotebook) GetNotebookModifiable

func (p *SharedNotebook) GetNotebookModifiable() bool

func (*SharedNotebook) GetPrivilege

func (p *SharedNotebook) GetPrivilege() SharedNotebookPrivilegeLevel

func (*SharedNotebook) GetRecipientIdentityId

func (p *SharedNotebook) GetRecipientIdentityId() IdentityID

func (*SharedNotebook) GetRecipientSettings

func (p *SharedNotebook) GetRecipientSettings() *SharedNotebookRecipientSettings

func (*SharedNotebook) GetRecipientUserId

func (p *SharedNotebook) GetRecipientUserId() UserID

func (*SharedNotebook) GetRecipientUsername

func (p *SharedNotebook) GetRecipientUsername() string

func (*SharedNotebook) GetServiceAssigned

func (p *SharedNotebook) GetServiceAssigned() Timestamp

func (*SharedNotebook) GetServiceCreated

func (p *SharedNotebook) GetServiceCreated() Timestamp

func (*SharedNotebook) GetServiceUpdated

func (p *SharedNotebook) GetServiceUpdated() Timestamp

func (*SharedNotebook) GetSharerUserId

func (p *SharedNotebook) GetSharerUserId() UserID

func (*SharedNotebook) GetUserId

func (p *SharedNotebook) GetUserId() UserID

func (*SharedNotebook) GetUsername

func (p *SharedNotebook) GetUsername() string

func (*SharedNotebook) IsSetEmail

func (p *SharedNotebook) IsSetEmail() bool

func (*SharedNotebook) IsSetGlobalId

func (p *SharedNotebook) IsSetGlobalId() bool

func (*SharedNotebook) IsSetID

func (p *SharedNotebook) IsSetID() bool

func (*SharedNotebook) IsSetNotebookGuid

func (p *SharedNotebook) IsSetNotebookGuid() bool

func (*SharedNotebook) IsSetNotebookModifiable

func (p *SharedNotebook) IsSetNotebookModifiable() bool

func (*SharedNotebook) IsSetPrivilege

func (p *SharedNotebook) IsSetPrivilege() bool

func (*SharedNotebook) IsSetRecipientIdentityId

func (p *SharedNotebook) IsSetRecipientIdentityId() bool

func (*SharedNotebook) IsSetRecipientSettings

func (p *SharedNotebook) IsSetRecipientSettings() bool

func (*SharedNotebook) IsSetRecipientUserId

func (p *SharedNotebook) IsSetRecipientUserId() bool

func (*SharedNotebook) IsSetRecipientUsername

func (p *SharedNotebook) IsSetRecipientUsername() bool

func (*SharedNotebook) IsSetServiceAssigned

func (p *SharedNotebook) IsSetServiceAssigned() bool

func (*SharedNotebook) IsSetServiceCreated

func (p *SharedNotebook) IsSetServiceCreated() bool

func (*SharedNotebook) IsSetServiceUpdated

func (p *SharedNotebook) IsSetServiceUpdated() bool

func (*SharedNotebook) IsSetSharerUserId

func (p *SharedNotebook) IsSetSharerUserId() bool

func (*SharedNotebook) IsSetUserId

func (p *SharedNotebook) IsSetUserId() bool

func (*SharedNotebook) IsSetUsername

func (p *SharedNotebook) IsSetUsername() bool

func (*SharedNotebook) Read

func (p *SharedNotebook) Read(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField1

func (p *SharedNotebook) ReadField1(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField10

func (p *SharedNotebook) ReadField10(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField11

func (p *SharedNotebook) ReadField11(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField13

func (p *SharedNotebook) ReadField13(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField14

func (p *SharedNotebook) ReadField14(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField15

func (p *SharedNotebook) ReadField15(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField16

func (p *SharedNotebook) ReadField16(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField17

func (p *SharedNotebook) ReadField17(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField18

func (p *SharedNotebook) ReadField18(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField2

func (p *SharedNotebook) ReadField2(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField3

func (p *SharedNotebook) ReadField3(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField4

func (p *SharedNotebook) ReadField4(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField5

func (p *SharedNotebook) ReadField5(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField7

func (p *SharedNotebook) ReadField7(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField8

func (p *SharedNotebook) ReadField8(iprot thrift.TProtocol) error

func (*SharedNotebook) ReadField9

func (p *SharedNotebook) ReadField9(iprot thrift.TProtocol) error

func (*SharedNotebook) String

func (p *SharedNotebook) String() string

func (*SharedNotebook) Write

func (p *SharedNotebook) Write(oprot thrift.TProtocol) error

type SharedNotebookInstanceRestrictions

type SharedNotebookInstanceRestrictions int64

An enumeration describing restrictions on the domain of shared notebook instances that are valid for a given operation, as used, for example, in NotebookRestrictions.

ASSIGNED: The domain consists of shared notebooks that belong, or are assigned, to the recipient.

NO_SHARED_NOTEBOOKS: No shared notebooks are applicable to the operation.

const (
	SharedNotebookInstanceRestrictions_ASSIGNED            SharedNotebookInstanceRestrictions = 1
	SharedNotebookInstanceRestrictions_NO_SHARED_NOTEBOOKS SharedNotebookInstanceRestrictions = 2
)
var NotebookRestrictions_ExpungeWhichSharedNotebookRestrictions_DEFAULT SharedNotebookInstanceRestrictions
var NotebookRestrictions_UpdateWhichSharedNotebookRestrictions_DEFAULT SharedNotebookInstanceRestrictions

func SharedNotebookInstanceRestrictionsFromString

func SharedNotebookInstanceRestrictionsFromString(s string) (SharedNotebookInstanceRestrictions, error)

func (SharedNotebookInstanceRestrictions) MarshalText

func (p SharedNotebookInstanceRestrictions) MarshalText() ([]byte, error)

func (*SharedNotebookInstanceRestrictions) Scan

func (p *SharedNotebookInstanceRestrictions) Scan(value interface{}) error

func (SharedNotebookInstanceRestrictions) String

func (*SharedNotebookInstanceRestrictions) UnmarshalText

func (p *SharedNotebookInstanceRestrictions) UnmarshalText(text []byte) error

func (*SharedNotebookInstanceRestrictions) Value

type SharedNotebookPrivilegeLevel

type SharedNotebookPrivilegeLevel int64

Privilege levels for accessing shared notebooks.

Note that as of 2014-04, FULL_ACCESS is synonymous with BUSINESS_FULL_ACCESS. If a user is a member of a business and has FULL_ACCESS privileges, then they will automatically be granted BUSINESS_FULL_ACCESS for notebooks in their business. This will happen implicitly when they attempt to access the corresponding notebooks of the business. BUSINESS_FULL_ACCESS is therefore deprecated.

READ_NOTEBOOK: Recipient is able to read the contents of the shared notebook

but does not have access to information about other recipients of the
notebook or the activity stream information.

MODIFY_NOTEBOOK_PLUS_ACTIVITY: Recipient has rights to read and modify the contents

of the shared notebook, including the right to move notes to the trash and to create
notes in the notebook.  The recipient can also access information about other
recipients and the activity stream.

READ_NOTEBOOK_PLUS_ACTIVITY: Recipient has READ_NOTEBOOK rights and can also

access information about other recipients and the activity stream.

GROUP: If the user belongs to a group, such as a Business, that has a defined

privilege level, use the privilege level of the group as the privilege for
the individual.

FULL_ACCESS: Recipient has full rights to the shared notebook and recipient lists,

including privilege to revoke and create invitations and to change privilege
levels on invitations for individuals.  For members of a business, FULL_ACCESS
privilege on business notebooks also grants the ability to change how the notebook
will appear when shared with the business, including the rights to share and
unshare the notebook with the business.

BUSINESS_FULL_ACCESS: Deprecated. See the note above about BUSINESS_FULL_ACCESS and

FULL_ACCESS being synonymous.
const (
	SharedNotebookPrivilegeLevel_READ_NOTEBOOK                 SharedNotebookPrivilegeLevel = 0
	SharedNotebookPrivilegeLevel_MODIFY_NOTEBOOK_PLUS_ACTIVITY SharedNotebookPrivilegeLevel = 1
	SharedNotebookPrivilegeLevel_READ_NOTEBOOK_PLUS_ACTIVITY   SharedNotebookPrivilegeLevel = 2
	SharedNotebookPrivilegeLevel_GROUP                         SharedNotebookPrivilegeLevel = 3
	SharedNotebookPrivilegeLevel_FULL_ACCESS                   SharedNotebookPrivilegeLevel = 4
	SharedNotebookPrivilegeLevel_BUSINESS_FULL_ACCESS          SharedNotebookPrivilegeLevel = 5
)
var BusinessNotebook_Privilege_DEFAULT SharedNotebookPrivilegeLevel
var NotebookShareTemplate_Privilege_DEFAULT SharedNotebookPrivilegeLevel
var SharedNotebook_Privilege_DEFAULT SharedNotebookPrivilegeLevel

func SharedNotebookPrivilegeLevelFromString

func SharedNotebookPrivilegeLevelFromString(s string) (SharedNotebookPrivilegeLevel, error)

func (SharedNotebookPrivilegeLevel) MarshalText

func (p SharedNotebookPrivilegeLevel) MarshalText() ([]byte, error)

func (*SharedNotebookPrivilegeLevel) Scan

func (p *SharedNotebookPrivilegeLevel) Scan(value interface{}) error

func (SharedNotebookPrivilegeLevel) String

func (*SharedNotebookPrivilegeLevel) UnmarshalText

func (p *SharedNotebookPrivilegeLevel) UnmarshalText(text []byte) error

func (*SharedNotebookPrivilegeLevel) Value

type SharedNotebookRecipientSettings

type SharedNotebookRecipientSettings struct {
	ReminderNotifyEmail *bool `thrift:"reminderNotifyEmail,1" db:"reminderNotifyEmail" json:"reminderNotifyEmail,omitempty"`
	ReminderNotifyInApp *bool `thrift:"reminderNotifyInApp,2" db:"reminderNotifyInApp" json:"reminderNotifyInApp,omitempty"`
}

Settings meant for the recipient of a shared notebook, such as for indicating which types of notifications the recipient wishes for reminders, etc.

The reminderNotifyEmail and reminderNotifyInApp fields have a 3-state read value but a 2-state write value. On read, it is possible to observe "unset", true, or false. The initial state is "unset". When you choose to set a value, you may set it to either true or false, but you cannot unset the value. Once one of these members has a true/false value, it will always have a true/false value.

<dl> <dt>reminderNotifyEmail</dt> <dd>Indicates that the user wishes to receive daily e-mail notifications

for reminders associated with the notebook. This may be true only for
business notebooks that belong to the business of which the user is a
member. You may only set this value on a notebook in your business.</dd>

<dt>reminderNotifyInApp</dt> <dd>Indicates that the user wishes to receive notifications for

reminders by applications that support providing such
notifications.  The exact nature of the notification is defined
by the individual applications.</dd>

</dl>

Attributes:

  • ReminderNotifyEmail
  • ReminderNotifyInApp
var SharedNotebook_RecipientSettings_DEFAULT *SharedNotebookRecipientSettings

func NewSharedNotebookRecipientSettings

func NewSharedNotebookRecipientSettings() *SharedNotebookRecipientSettings

func (*SharedNotebookRecipientSettings) GetReminderNotifyEmail

func (p *SharedNotebookRecipientSettings) GetReminderNotifyEmail() bool

func (*SharedNotebookRecipientSettings) GetReminderNotifyInApp

func (p *SharedNotebookRecipientSettings) GetReminderNotifyInApp() bool

func (*SharedNotebookRecipientSettings) IsSetReminderNotifyEmail

func (p *SharedNotebookRecipientSettings) IsSetReminderNotifyEmail() bool

func (*SharedNotebookRecipientSettings) IsSetReminderNotifyInApp

func (p *SharedNotebookRecipientSettings) IsSetReminderNotifyInApp() bool

func (*SharedNotebookRecipientSettings) Read

func (*SharedNotebookRecipientSettings) ReadField1

func (*SharedNotebookRecipientSettings) ReadField2

func (*SharedNotebookRecipientSettings) String

func (*SharedNotebookRecipientSettings) Write

type SponsoredGroupRole

type SponsoredGroupRole int64

Enumeration of the roles that a User can have within a sponsored group.

GROUP_MEMBER: The user is a member of the group with no special privileges.

GROUP_ADMIN: The user is an administrator within the group.

GROUP_OWNER: The user is the owner of the group.

const (
	SponsoredGroupRole_GROUP_MEMBER SponsoredGroupRole = 1
	SponsoredGroupRole_GROUP_ADMIN  SponsoredGroupRole = 2
	SponsoredGroupRole_GROUP_OWNER  SponsoredGroupRole = 3
)

func SponsoredGroupRoleFromString

func SponsoredGroupRoleFromString(s string) (SponsoredGroupRole, error)

func SponsoredGroupRolePtr

func SponsoredGroupRolePtr(v SponsoredGroupRole) *SponsoredGroupRole

func (SponsoredGroupRole) MarshalText

func (p SponsoredGroupRole) MarshalText() ([]byte, error)

func (*SponsoredGroupRole) Scan

func (p *SponsoredGroupRole) Scan(value interface{}) error

func (SponsoredGroupRole) String

func (p SponsoredGroupRole) String() string

func (*SponsoredGroupRole) UnmarshalText

func (p *SponsoredGroupRole) UnmarshalText(text []byte) error

func (*SponsoredGroupRole) Value

func (p *SponsoredGroupRole) Value() (driver.Value, error)

type SyncChunk

type SyncChunk struct {
	CurrentTime             Timestamp         `thrift:"currentTime,1,required" db:"currentTime" json:"currentTime"`
	ChunkHighUSN            *int32            `thrift:"chunkHighUSN,2" db:"chunkHighUSN" json:"chunkHighUSN,omitempty"`
	UpdateCount             int32             `thrift:"updateCount,3,required" db:"updateCount" json:"updateCount"`
	Notes                   []*Note           `thrift:"notes,4" db:"notes" json:"notes,omitempty"`
	Notebooks               []*Notebook       `thrift:"notebooks,5" db:"notebooks" json:"notebooks,omitempty"`
	Tags                    []*Tag            `thrift:"tags,6" db:"tags" json:"tags,omitempty"`
	Searches                []*SavedSearch    `thrift:"searches,7" db:"searches" json:"searches,omitempty"`
	Resources               []*Resource       `thrift:"resources,8" db:"resources" json:"resources,omitempty"`
	ExpungedNotes           []GUID            `thrift:"expungedNotes,9" db:"expungedNotes" json:"expungedNotes,omitempty"`
	ExpungedNotebooks       []GUID            `thrift:"expungedNotebooks,10" db:"expungedNotebooks" json:"expungedNotebooks,omitempty"`
	ExpungedTags            []GUID            `thrift:"expungedTags,11" db:"expungedTags" json:"expungedTags,omitempty"`
	ExpungedSearches        []GUID            `thrift:"expungedSearches,12" db:"expungedSearches" json:"expungedSearches,omitempty"`
	LinkedNotebooks         []*LinkedNotebook `thrift:"linkedNotebooks,13" db:"linkedNotebooks" json:"linkedNotebooks,omitempty"`
	ExpungedLinkedNotebooks []GUID            `thrift:"expungedLinkedNotebooks,14" db:"expungedLinkedNotebooks" json:"expungedLinkedNotebooks,omitempty"`
}
This structure is given out by the NoteStore when a client asks to
receive the current state of an account.  The client asks for the server's
state one chunk at a time in order to allow clients to retrieve the state
of a large account without needing to transfer the entire account in
a single message.

The server always gives SyncChunks using an ascending series of Update
Sequence Numbers (USNs).

<dl>

<dt>currentTime</dt>
  <dd>
  The server's current date and time.
  </dd>

<dt>chunkHighUSN</dt>
  <dd>
  The highest USN for any of the data objects represented
  in this sync chunk.  If there are no objects in the chunk, this will not be
  set.
  </dd>

<dt>updateCount</dt>
  <dd>
  The total number of updates that have been performed in
  the service for this account.  This is equal to the highest USN within the
  account at the point that this SyncChunk was generated.  If updateCount
  and chunkHighUSN are identical, that means that this is the last chunk
  in the account ... there is no more recent information.
  </dd>

<dt>notes</dt>
  <dd>
  If present, this is a list of non-expunged notes that
  have a USN in this chunk.  This will include notes that are "deleted"
  but not expunged (i.e. in the trash).  The notes will include their list
  of tags and resources, but the note content, resource content, resource
  recognition data and resource alternate data will not be supplied.
  </dd>

<dt>notebooks</dt>
  <dd>
  If present, this is a list of non-expunged notebooks that
  have a USN in this chunk.
  </dd>

<dt>tags</dt>
  <dd>
  If present, this is a list of the non-expunged tags that have a
  USN in this chunk.
  </dd>

<dt>searches</dt>
  <dd>
  If present, this is a list of non-expunged searches that
  have a USN in this chunk.
  </dd>

<dt>resources</dt>
  <dd>
  If present, this is a list of the non-expunged resources
  that have a USN in this chunk.  This will include the metadata for each
  resource, but not its binary contents or recognition data, which must be
  retrieved separately.
  </dd>

<dt>expungedNotes</dt>
  <dd>
  If present, the GUIDs of all of the notes that were
  permanently expunged in this chunk.
  </dd>

<dt>expungedNotebooks</dt>
  <dd>
  If present, the GUIDs of all of the notebooks that
  were permanently expunged in this chunk.  When a notebook is expunged,
  this implies that all of its child notes (and their resources) were
  also expunged.
  </dd>

<dt>expungedTags</dt>
  <dd>
  If present, the GUIDs of all of the tags that were
  permanently expunged in this chunk.
  </dd>

<dt>expungedSearches</dt>
  <dd>
  If present, the GUIDs of all of the saved searches
  that were permanently expunged in this chunk.
  </dd>

<dt>linkedNotebooks</dt>
  <dd>
  If present, this is a list of non-expunged LinkedNotebooks that
  have a USN in this chunk.
  </dd>

<dt>expungedLinkedNotebooks</dt>
  <dd>
  If present, the GUIDs of all of the LinkedNotebooks
  that were permanently expunged in this chunk.
  </dd>

Attributes:

  • CurrentTime
  • ChunkHighUSN
  • UpdateCount
  • Notes
  • Notebooks
  • Tags
  • Searches
  • Resources
  • ExpungedNotes
  • ExpungedNotebooks
  • ExpungedTags
  • ExpungedSearches
  • LinkedNotebooks
  • ExpungedLinkedNotebooks
var NoteStoreGetFilteredSyncChunkResult_Success_DEFAULT *SyncChunk
var NoteStoreGetLinkedNotebookSyncChunkResult_Success_DEFAULT *SyncChunk

func NewSyncChunk

func NewSyncChunk() *SyncChunk

func (*SyncChunk) GetChunkHighUSN

func (p *SyncChunk) GetChunkHighUSN() int32

func (*SyncChunk) GetCurrentTime

func (p *SyncChunk) GetCurrentTime() Timestamp

func (*SyncChunk) GetExpungedLinkedNotebooks

func (p *SyncChunk) GetExpungedLinkedNotebooks() []GUID

func (*SyncChunk) GetExpungedNotebooks

func (p *SyncChunk) GetExpungedNotebooks() []GUID

func (*SyncChunk) GetExpungedNotes

func (p *SyncChunk) GetExpungedNotes() []GUID

func (*SyncChunk) GetExpungedSearches

func (p *SyncChunk) GetExpungedSearches() []GUID

func (*SyncChunk) GetExpungedTags

func (p *SyncChunk) GetExpungedTags() []GUID

func (*SyncChunk) GetLinkedNotebooks

func (p *SyncChunk) GetLinkedNotebooks() []*LinkedNotebook

func (*SyncChunk) GetNotebooks

func (p *SyncChunk) GetNotebooks() []*Notebook

func (*SyncChunk) GetNotes

func (p *SyncChunk) GetNotes() []*Note

func (*SyncChunk) GetResources

func (p *SyncChunk) GetResources() []*Resource

func (*SyncChunk) GetSearches

func (p *SyncChunk) GetSearches() []*SavedSearch

func (*SyncChunk) GetTags

func (p *SyncChunk) GetTags() []*Tag

func (*SyncChunk) GetUpdateCount

func (p *SyncChunk) GetUpdateCount() int32

func (*SyncChunk) IsSetChunkHighUSN

func (p *SyncChunk) IsSetChunkHighUSN() bool

func (*SyncChunk) IsSetExpungedLinkedNotebooks

func (p *SyncChunk) IsSetExpungedLinkedNotebooks() bool

func (*SyncChunk) IsSetExpungedNotebooks

func (p *SyncChunk) IsSetExpungedNotebooks() bool

func (*SyncChunk) IsSetExpungedNotes

func (p *SyncChunk) IsSetExpungedNotes() bool

func (*SyncChunk) IsSetExpungedSearches

func (p *SyncChunk) IsSetExpungedSearches() bool

func (*SyncChunk) IsSetExpungedTags

func (p *SyncChunk) IsSetExpungedTags() bool

func (*SyncChunk) IsSetLinkedNotebooks

func (p *SyncChunk) IsSetLinkedNotebooks() bool

func (*SyncChunk) IsSetNotebooks

func (p *SyncChunk) IsSetNotebooks() bool

func (*SyncChunk) IsSetNotes

func (p *SyncChunk) IsSetNotes() bool

func (*SyncChunk) IsSetResources

func (p *SyncChunk) IsSetResources() bool

func (*SyncChunk) IsSetSearches

func (p *SyncChunk) IsSetSearches() bool

func (*SyncChunk) IsSetTags

func (p *SyncChunk) IsSetTags() bool

func (*SyncChunk) Read

func (p *SyncChunk) Read(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField1

func (p *SyncChunk) ReadField1(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField10

func (p *SyncChunk) ReadField10(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField11

func (p *SyncChunk) ReadField11(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField12

func (p *SyncChunk) ReadField12(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField13

func (p *SyncChunk) ReadField13(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField14

func (p *SyncChunk) ReadField14(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField2

func (p *SyncChunk) ReadField2(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField3

func (p *SyncChunk) ReadField3(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField4

func (p *SyncChunk) ReadField4(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField5

func (p *SyncChunk) ReadField5(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField6

func (p *SyncChunk) ReadField6(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField7

func (p *SyncChunk) ReadField7(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField8

func (p *SyncChunk) ReadField8(iprot thrift.TProtocol) error

func (*SyncChunk) ReadField9

func (p *SyncChunk) ReadField9(iprot thrift.TProtocol) error

func (*SyncChunk) String

func (p *SyncChunk) String() string

func (*SyncChunk) Write

func (p *SyncChunk) Write(oprot thrift.TProtocol) error

type SyncChunkFilter

type SyncChunkFilter struct {
	IncludeNotes                              *bool   `thrift:"includeNotes,1" db:"includeNotes" json:"includeNotes,omitempty"`
	IncludeNoteResources                      *bool   `thrift:"includeNoteResources,2" db:"includeNoteResources" json:"includeNoteResources,omitempty"`
	IncludeNoteAttributes                     *bool   `thrift:"includeNoteAttributes,3" db:"includeNoteAttributes" json:"includeNoteAttributes,omitempty"`
	IncludeNotebooks                          *bool   `thrift:"includeNotebooks,4" db:"includeNotebooks" json:"includeNotebooks,omitempty"`
	IncludeTags                               *bool   `thrift:"includeTags,5" db:"includeTags" json:"includeTags,omitempty"`
	IncludeSearches                           *bool   `thrift:"includeSearches,6" db:"includeSearches" json:"includeSearches,omitempty"`
	IncludeResources                          *bool   `thrift:"includeResources,7" db:"includeResources" json:"includeResources,omitempty"`
	IncludeLinkedNotebooks                    *bool   `thrift:"includeLinkedNotebooks,8" db:"includeLinkedNotebooks" json:"includeLinkedNotebooks,omitempty"`
	IncludeExpunged                           *bool   `thrift:"includeExpunged,9" db:"includeExpunged" json:"includeExpunged,omitempty"`
	IncludeNoteApplicationDataFullMap         *bool   `` /* 135-byte string literal not displayed */
	RequireNoteContentClass                   *string `thrift:"requireNoteContentClass,11" db:"requireNoteContentClass" json:"requireNoteContentClass,omitempty"`
	IncludeResourceApplicationDataFullMap     *bool   `` /* 147-byte string literal not displayed */
	IncludeNoteResourceApplicationDataFullMap *bool   `` /* 159-byte string literal not displayed */
	// unused field # 14
	NotebookGuids       []string `thrift:"notebookGuids,15" db:"notebookGuids" json:"notebookGuids,omitempty"`
	OmitSharedNotebooks *bool    `thrift:"omitSharedNotebooks,16" db:"omitSharedNotebooks" json:"omitSharedNotebooks,omitempty"`
	IncludeSharedNotes  *bool    `thrift:"includeSharedNotes,17" db:"includeSharedNotes" json:"includeSharedNotes,omitempty"`
}
This structure is used with the 'getFilteredSyncChunk' call to provide
fine-grained control over the data that's returned when a client needs
to synchronize with the service. Each flag in this structure specifies
whether to include one class of data in the results of that call.

<dl>

<dt>includeNotes</dt>
  <dd>
  If true, then the server will include the SyncChunks.notes field
  </dd>

<dt>includeNoteResources</dt>
  <dd>
  If true, then the server will include the 'resources' field on all of
  the Notes that are in SyncChunk.notes.
  If 'includeNotes' is false, then this will have no effect.
  </dd>

<dt>includeNoteAttributes</dt>
  <dd>
  If true, then the server will include the 'attributes' field on all of
  the Notes that are in SyncChunks.notes.
  If 'includeNotes' is false, then this will have no effect.
  </dd>

<dt>includeNotebooks</dt>
  <dd>
  If true, then the server will include the SyncChunks.notebooks field
  </dd>

<dt>includeTags</dt>
  <dd>
  If true, then the server will include the SyncChunks.tags field
  </dd>

<dt>includeSearches</dt>
  <dd>
  If true, then the server will include the SyncChunks.searches field
  </dd>

<dt>includeResources</dt>
  <dd>
  If true, then the server will include the SyncChunks.resources field.
  Since the Resources are also provided with their Note
  (in the Notes.resources list), this is primarily useful for clients that
  want to watch for changes to individual Resources due to recognition data
  being added.
  </dd>

<dt>includeLinkedNotebooks</dt>
  <dd>
  If true, then the server will include the SyncChunks.linkedNotebooks field.
  </dd>

<dt>includeExpunged</dt>
  <dd>
  If true, then the server will include the 'expunged' data for any type
  of included data.  For example, if 'includeTags' and 'includeExpunged'
  are both true, then the SyncChunks.expungedTags field will be set with
  the GUIDs of tags that have been expunged from the server.
  </dd>

<dt>includeNoteApplicationDataFullMap</dt>
  <dd>
  If true, then the values for the applicationData map will be filled
  in, assuming notes and note attributes are being returned.  Otherwise,
  only the keysOnly field will be filled in.
  </dd>

<dt>includeResourceApplicationDataFullMap</dt>
  <dd>
  If true, then the fullMap values for the applicationData map will be
  filled in, assuming resources and resource attributes are being returned
  (includeResources is true).  Otherwise, only the keysOnly field will be
  filled in.
  </dd>

<dt>includeNoteResourceApplicationDataFullMap</dt>
  <dd>
  If true, then the fullMap values for the applicationData map will be
  filled in for resources found inside of notes, assuming resources are
  being returned in notes (includeNoteResources is true).  Otherwise,
  only the keysOnly field will be filled in.
  </dd>

<dt>omitSharedNotebooks<dt>
  <dd>
  Normally, if 'includeNotebooks' is true, then the SyncChunks will
  include Notebooks that may include a set of SharedNotebook
  invitations via Notebook.sharedNotebookIds and Notebook.sharedNotebooks.
  However, if omitSharedNotebooks is set to true, then the Notebooks
  will omit those two fields and leave them unset. This should be used
  by clients who want to know their own set of Notebooks (and the
  associated permissions via Notebook.recipientSettings), and who
  do not need to know the full set of other people who can also see
  that same notebook.
  </dd>

<dt>requireNoteContentClass</dt>
  <dd>
  If set, then only send notes whose content class matches this value.
  The value can be a literal match or, if the last character is an
  asterisk, a prefix match.
  </dd>

<dt>notebookGuids</dt>
  <dd>
  If set, then restrict the returned notebooks, notes, and
  resources to those associated with one of the notebooks whose
  GUID is provided in this list.  If not set, then no filtering on
  notebook GUID will be performed.  If you set this field, you may
  not also set includeExpunged else an EDAMUserException with an
  error code of DATA_CONFLICT will be thrown.  You only need to set
  this field if you want to restrict the returned entities more
  than what your authentication token allows you to access.  For
  example, there is no need to set this field for single notebook
  tokens such as for shared notebooks.  You can use this field to
  synchronize a newly discovered business notebook while
  incrementally synchronizing a business account, in which case you
  will only need to consider setting includeNotes,
  includeNotebooks, includeNoteAttributes, includeNoteResources,
  and maybe some of the "FullMap" fields.
  </dd>

<dt>includeSharedNotes</dt>
  <dd>
  If true, then the service will include the sharedNotes field on all
  notes that are in SyncChunk.notes. If 'includeNotes' is false, then
  this will have no effect.
  </dd>
</dl>

Attributes:

  • IncludeNotes
  • IncludeNoteResources
  • IncludeNoteAttributes
  • IncludeNotebooks
  • IncludeTags
  • IncludeSearches
  • IncludeResources
  • IncludeLinkedNotebooks
  • IncludeExpunged
  • IncludeNoteApplicationDataFullMap
  • IncludeResourceApplicationDataFullMap
  • IncludeNoteResourceApplicationDataFullMap
  • IncludeSharedNotes
  • OmitSharedNotebooks
  • RequireNoteContentClass
  • NotebookGuids
var NoteStoreGetFilteredSyncChunkArgs_Filter_DEFAULT *SyncChunkFilter

func NewSyncChunkFilter

func NewSyncChunkFilter() *SyncChunkFilter

func (*SyncChunkFilter) GetIncludeExpunged

func (p *SyncChunkFilter) GetIncludeExpunged() bool

func (*SyncChunkFilter) GetIncludeLinkedNotebooks

func (p *SyncChunkFilter) GetIncludeLinkedNotebooks() bool

func (*SyncChunkFilter) GetIncludeNoteApplicationDataFullMap

func (p *SyncChunkFilter) GetIncludeNoteApplicationDataFullMap() bool

func (*SyncChunkFilter) GetIncludeNoteAttributes

func (p *SyncChunkFilter) GetIncludeNoteAttributes() bool

func (*SyncChunkFilter) GetIncludeNoteResourceApplicationDataFullMap

func (p *SyncChunkFilter) GetIncludeNoteResourceApplicationDataFullMap() bool

func (*SyncChunkFilter) GetIncludeNoteResources

func (p *SyncChunkFilter) GetIncludeNoteResources() bool

func (*SyncChunkFilter) GetIncludeNotebooks

func (p *SyncChunkFilter) GetIncludeNotebooks() bool

func (*SyncChunkFilter) GetIncludeNotes

func (p *SyncChunkFilter) GetIncludeNotes() bool

func (*SyncChunkFilter) GetIncludeResourceApplicationDataFullMap

func (p *SyncChunkFilter) GetIncludeResourceApplicationDataFullMap() bool

func (*SyncChunkFilter) GetIncludeResources

func (p *SyncChunkFilter) GetIncludeResources() bool

func (*SyncChunkFilter) GetIncludeSearches

func (p *SyncChunkFilter) GetIncludeSearches() bool

func (*SyncChunkFilter) GetIncludeSharedNotes

func (p *SyncChunkFilter) GetIncludeSharedNotes() bool

func (*SyncChunkFilter) GetIncludeTags

func (p *SyncChunkFilter) GetIncludeTags() bool

func (*SyncChunkFilter) GetNotebookGuids

func (p *SyncChunkFilter) GetNotebookGuids() []string

func (*SyncChunkFilter) GetOmitSharedNotebooks

func (p *SyncChunkFilter) GetOmitSharedNotebooks() bool

func (*SyncChunkFilter) GetRequireNoteContentClass

func (p *SyncChunkFilter) GetRequireNoteContentClass() string

func (*SyncChunkFilter) IsSetIncludeExpunged

func (p *SyncChunkFilter) IsSetIncludeExpunged() bool

func (*SyncChunkFilter) IsSetIncludeLinkedNotebooks

func (p *SyncChunkFilter) IsSetIncludeLinkedNotebooks() bool

func (*SyncChunkFilter) IsSetIncludeNoteApplicationDataFullMap

func (p *SyncChunkFilter) IsSetIncludeNoteApplicationDataFullMap() bool

func (*SyncChunkFilter) IsSetIncludeNoteAttributes

func (p *SyncChunkFilter) IsSetIncludeNoteAttributes() bool

func (*SyncChunkFilter) IsSetIncludeNoteResourceApplicationDataFullMap

func (p *SyncChunkFilter) IsSetIncludeNoteResourceApplicationDataFullMap() bool

func (*SyncChunkFilter) IsSetIncludeNoteResources

func (p *SyncChunkFilter) IsSetIncludeNoteResources() bool

func (*SyncChunkFilter) IsSetIncludeNotebooks

func (p *SyncChunkFilter) IsSetIncludeNotebooks() bool

func (*SyncChunkFilter) IsSetIncludeNotes

func (p *SyncChunkFilter) IsSetIncludeNotes() bool

func (*SyncChunkFilter) IsSetIncludeResourceApplicationDataFullMap

func (p *SyncChunkFilter) IsSetIncludeResourceApplicationDataFullMap() bool

func (*SyncChunkFilter) IsSetIncludeResources

func (p *SyncChunkFilter) IsSetIncludeResources() bool

func (*SyncChunkFilter) IsSetIncludeSearches

func (p *SyncChunkFilter) IsSetIncludeSearches() bool

func (*SyncChunkFilter) IsSetIncludeSharedNotes

func (p *SyncChunkFilter) IsSetIncludeSharedNotes() bool

func (*SyncChunkFilter) IsSetIncludeTags

func (p *SyncChunkFilter) IsSetIncludeTags() bool

func (*SyncChunkFilter) IsSetNotebookGuids

func (p *SyncChunkFilter) IsSetNotebookGuids() bool

func (*SyncChunkFilter) IsSetOmitSharedNotebooks

func (p *SyncChunkFilter) IsSetOmitSharedNotebooks() bool

func (*SyncChunkFilter) IsSetRequireNoteContentClass

func (p *SyncChunkFilter) IsSetRequireNoteContentClass() bool

func (*SyncChunkFilter) Read

func (p *SyncChunkFilter) Read(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField1

func (p *SyncChunkFilter) ReadField1(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField10

func (p *SyncChunkFilter) ReadField10(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField11

func (p *SyncChunkFilter) ReadField11(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField12

func (p *SyncChunkFilter) ReadField12(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField13

func (p *SyncChunkFilter) ReadField13(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField15

func (p *SyncChunkFilter) ReadField15(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField16

func (p *SyncChunkFilter) ReadField16(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField17

func (p *SyncChunkFilter) ReadField17(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField2

func (p *SyncChunkFilter) ReadField2(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField3

func (p *SyncChunkFilter) ReadField3(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField4

func (p *SyncChunkFilter) ReadField4(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField5

func (p *SyncChunkFilter) ReadField5(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField6

func (p *SyncChunkFilter) ReadField6(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField7

func (p *SyncChunkFilter) ReadField7(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField8

func (p *SyncChunkFilter) ReadField8(iprot thrift.TProtocol) error

func (*SyncChunkFilter) ReadField9

func (p *SyncChunkFilter) ReadField9(iprot thrift.TProtocol) error

func (*SyncChunkFilter) String

func (p *SyncChunkFilter) String() string

func (*SyncChunkFilter) Write

func (p *SyncChunkFilter) Write(oprot thrift.TProtocol) error

type SyncState

type SyncState struct {
	CurrentTime           Timestamp       `thrift:"currentTime,1,required" db:"currentTime" json:"currentTime"`
	FullSyncBefore        Timestamp       `thrift:"fullSyncBefore,2,required" db:"fullSyncBefore" json:"fullSyncBefore"`
	UpdateCount           int32           `thrift:"updateCount,3,required" db:"updateCount" json:"updateCount"`
	Uploaded              *int64          `thrift:"uploaded,4" db:"uploaded" json:"uploaded,omitempty"`
	UserLastUpdated       *Timestamp      `thrift:"userLastUpdated,5" db:"userLastUpdated" json:"userLastUpdated,omitempty"`
	UserMaxMessageEventId *MessageEventID `thrift:"userMaxMessageEventId,6" db:"userMaxMessageEventId" json:"userMaxMessageEventId,omitempty"`
}

This structure encapsulates the information about the state of the user's account for the purpose of "state based" synchronization. <dl> <dt>currentTime</dt>

<dd>
The server's current date and time.
</dd>

<dt>fullSyncBefore</dt>

<dd>
The cutoff date and time for client caches to be
updated via incremental synchronization.  Any clients that were last
synched with the server before this date/time must do a full resync of all
objects.  This cutoff point will change over time as archival data is
deleted or special circumstances on the service require resynchronization.
</dd>

<dt>updateCount</dt>

<dd>
Indicates the total number of transactions that have
been committed within the account.  This reflects (for example) the
number of discrete additions or modifications that have been made to
the data in this account (tags, notes, resources, etc.).
This number is the "high water mark" for Update Sequence Numbers (USN)
within the account.
</dd>

<dt>uploaded</dt>

<dd>
The total number of bytes that have been uploaded to
this account in the current monthly period.  This can be compared against
Accounting.uploadLimit (from the UserStore) to determine how close the user
is to their monthly upload limit.
This value may not be present if the SyncState has been retrieved by
a caller that only has read access to the account.
</dd>

<dt>userLastUpdated</dt>

<dd>
The last time when a user's account level information was changed. This value
is the latest time when a modification was made to any of the following:
accounting information (billing, quota, premium status, etc.), user attributes
and business user information (business name, business user attributes, etc.) if
the user is in a business.
Clients who need to maintain account information about a User should watch this
field for updates rather than polling UserStore.getUser for updates. Here is the
basic flow that clients should follow:
<ol>
  <li>Call NoteStore.getSyncState to retrieve the SyncState object</li>
  <li>Compare SyncState.userLastUpdated to previously stored value:
      if (SyncState.userLastUpdated > previousValue)
        call UserStore.getUser to get the latest User object;
      else
        do nothing;</li>
  <li>Update previousValue = SyncState.userLastUpdated</li>
</ol>
</dd>

<dt>userMaxMessageEventId</dt>

<dd>
The greatest MessageEventID for this user's account. Clients that do a full
sync should store this value locally and compare their local copy to the
value returned by getSyncState to determine if they need to sync with
MessageStore. This value will be omitted if the user has never sent or
received a message.
</dd>

</dl>

Attributes:

  • CurrentTime
  • FullSyncBefore
  • UpdateCount
  • Uploaded
  • UserLastUpdated
  • UserMaxMessageEventId
var NoteStoreGetLinkedNotebookSyncStateResult_Success_DEFAULT *SyncState
var NoteStoreGetSyncStateResult_Success_DEFAULT *SyncState

func NewSyncState

func NewSyncState() *SyncState

func (*SyncState) GetCurrentTime

func (p *SyncState) GetCurrentTime() Timestamp

func (*SyncState) GetFullSyncBefore

func (p *SyncState) GetFullSyncBefore() Timestamp

func (*SyncState) GetUpdateCount

func (p *SyncState) GetUpdateCount() int32

func (*SyncState) GetUploaded

func (p *SyncState) GetUploaded() int64

func (*SyncState) GetUserLastUpdated

func (p *SyncState) GetUserLastUpdated() Timestamp

func (*SyncState) GetUserMaxMessageEventId

func (p *SyncState) GetUserMaxMessageEventId() MessageEventID

func (*SyncState) IsSetUploaded

func (p *SyncState) IsSetUploaded() bool

func (*SyncState) IsSetUserLastUpdated

func (p *SyncState) IsSetUserLastUpdated() bool

func (*SyncState) IsSetUserMaxMessageEventId

func (p *SyncState) IsSetUserMaxMessageEventId() bool

func (*SyncState) Read

func (p *SyncState) Read(iprot thrift.TProtocol) error

func (*SyncState) ReadField1

func (p *SyncState) ReadField1(iprot thrift.TProtocol) error

func (*SyncState) ReadField2

func (p *SyncState) ReadField2(iprot thrift.TProtocol) error

func (*SyncState) ReadField3

func (p *SyncState) ReadField3(iprot thrift.TProtocol) error

func (*SyncState) ReadField4

func (p *SyncState) ReadField4(iprot thrift.TProtocol) error

func (*SyncState) ReadField5

func (p *SyncState) ReadField5(iprot thrift.TProtocol) error

func (*SyncState) ReadField6

func (p *SyncState) ReadField6(iprot thrift.TProtocol) error

func (*SyncState) String

func (p *SyncState) String() string

func (*SyncState) Write

func (p *SyncState) Write(oprot thrift.TProtocol) error

type Tag

type Tag struct {
	GUID              *GUID   `thrift:"guid,1" db:"guid" json:"guid,omitempty"`
	Name              *string `thrift:"name,2" db:"name" json:"name,omitempty"`
	ParentGuid        *GUID   `thrift:"parentGuid,3" db:"parentGuid" json:"parentGuid,omitempty"`
	UpdateSequenceNum *int32  `thrift:"updateSequenceNum,4" db:"updateSequenceNum" json:"updateSequenceNum,omitempty"`
}
A tag within a user's account is a unique name which may be organized
a simple hierarchy.

<dl>

<dt>guid</dt>
  <dd>The unique identifier of this tag. Will be set by the service,
  so may be omitted by the client when creating the Tag.
  <br/>
  Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
  <br/>
  Regex:  EDAM_GUID_REGEX
  </dd>

<dt>name</dt>
  <dd>A sequence of characters representing the tag's identifier.
  Case is preserved, but is ignored for comparisons.
  This means that an account may only have one tag with a given name, via
  case-insensitive comparison, so an account may not have both "food" and
  "Food" tags.
  May not contain a comma (','), and may not begin or end with a space.
  <br/>
  Length:  EDAM_TAG_NAME_LEN_MIN - EDAM_TAG_NAME_LEN_MAX
  <br/>
  Regex:  EDAM_TAG_NAME_REGEX
  </dd>

<dt>parentGuid</dt>
  <dd>If this is set, then this is the GUID of the tag that
  holds this tag within the tag organizational hierarchy.  If this is
  not set, then the tag has no parent and it is a "top level" tag.
  Cycles are not allowed (e.g. a->parent->parent == a) and will be
  rejected by the service.
  <br/>
  Length:  EDAM_GUID_LEN_MIN - EDAM_GUID_LEN_MAX
  <br/>
  Regex:  EDAM_GUID_REGEX
  </dd>

<dt>updateSequenceNum</dt>
  <dd>A number identifying the last transaction to
  modify the state of this object.  The USN values are sequential within an
  account, and can be used to compare the order of modifications within the
  service.
  </dd>
</dl>

Attributes:

  • GUID
  • Name
  • ParentGuid
  • UpdateSequenceNum
var NoteStoreCreateTagArgs_Tag_DEFAULT *Tag
var NoteStoreCreateTagResult_Success_DEFAULT *Tag
var NoteStoreGetTagResult_Success_DEFAULT *Tag
var NoteStoreUpdateTagArgs_Tag_DEFAULT *Tag

func NewTag

func NewTag() *Tag

func (*Tag) GetGUID

func (p *Tag) GetGUID() GUID

func (*Tag) GetName

func (p *Tag) GetName() string

func (*Tag) GetParentGuid

func (p *Tag) GetParentGuid() GUID

func (*Tag) GetUpdateSequenceNum

func (p *Tag) GetUpdateSequenceNum() int32

func (*Tag) IsSetGUID

func (p *Tag) IsSetGUID() bool

func (*Tag) IsSetName

func (p *Tag) IsSetName() bool

func (*Tag) IsSetParentGuid

func (p *Tag) IsSetParentGuid() bool

func (*Tag) IsSetUpdateSequenceNum

func (p *Tag) IsSetUpdateSequenceNum() bool

func (*Tag) Read

func (p *Tag) Read(iprot thrift.TProtocol) error

func (*Tag) ReadField1

func (p *Tag) ReadField1(iprot thrift.TProtocol) error

func (*Tag) ReadField2

func (p *Tag) ReadField2(iprot thrift.TProtocol) error

func (*Tag) ReadField3

func (p *Tag) ReadField3(iprot thrift.TProtocol) error

func (*Tag) ReadField4

func (p *Tag) ReadField4(iprot thrift.TProtocol) error

func (*Tag) String

func (p *Tag) String() string

func (*Tag) Write

func (p *Tag) Write(oprot thrift.TProtocol) error

type Timestamp

type Timestamp int64

An Evernote Timestamp is the date and time of an event in UTC time. This is expressed as a specific number of milliseconds since the standard base "epoch" of:

January 1, 1970, 00:00:00 GMT

NOTE: the time is expressed at the resolution of milliseconds, but the value is only precise to the level of seconds. This means that the last three (decimal) digits of the timestamp will be '000'.

The Thrift IDL specification does not include a native date/time type, so this value is used instead.

The service will accept timestamp values (e.g. for Note created and update times) between 1000-01-01 and 9999-12-31

var Accounting_LastFailedCharge_DEFAULT Timestamp
var Accounting_LastRequestedCharge_DEFAULT Timestamp
var Accounting_LastSuccessfulCharge_DEFAULT Timestamp
var Accounting_NextChargeDate_DEFAULT Timestamp
var Accounting_NextPaymentDue_DEFAULT Timestamp
var Accounting_PremiumLockUntil_DEFAULT Timestamp
var Accounting_PremiumServiceStart_DEFAULT Timestamp
var Accounting_Updated_DEFAULT Timestamp
var Accounting_UploadLimitEnd_DEFAULT Timestamp
var BusinessInvitation_Created_DEFAULT Timestamp
var BusinessInvitation_MostRecentReminder_DEFAULT Timestamp
var BusinessUserAttributes_CompanyStartDate_DEFAULT Timestamp
var BusinessUserInfo_Updated_DEFAULT Timestamp
var Contact_MessagingPermitExpires_DEFAULT Timestamp
var Contact_PhotoLastUpdated_DEFAULT Timestamp
var NoteAttributes_ReminderDoneTime_DEFAULT Timestamp
var NoteAttributes_ReminderTime_DEFAULT Timestamp
var NoteAttributes_ShareDate_DEFAULT Timestamp
var NoteAttributes_SubjectDate_DEFAULT Timestamp
var NoteMetadata_Created_DEFAULT Timestamp
var NoteMetadata_Deleted_DEFAULT Timestamp
var NoteMetadata_Updated_DEFAULT Timestamp
var Note_Created_DEFAULT Timestamp
var Note_Deleted_DEFAULT Timestamp
var Note_Updated_DEFAULT Timestamp
var Notebook_ServiceCreated_DEFAULT Timestamp
var Notebook_ServiceUpdated_DEFAULT Timestamp
var RelatedContent_Date_DEFAULT Timestamp
var ResourceAttributes_Timestamp_DEFAULT Timestamp
var SharedNote_ServiceAssigned_DEFAULT Timestamp
var SharedNote_ServiceCreated_DEFAULT Timestamp
var SharedNote_ServiceUpdated_DEFAULT Timestamp
var SharedNotebook_ServiceAssigned_DEFAULT Timestamp
var SharedNotebook_ServiceCreated_DEFAULT Timestamp
var SharedNotebook_ServiceUpdated_DEFAULT Timestamp
var SyncState_UserLastUpdated_DEFAULT Timestamp
var UserAttributes_DateAgreedToTermsOfService_DEFAULT Timestamp
var UserAttributes_EmailAddressLastConfirmed_DEFAULT Timestamp
var UserAttributes_EmailOptOutDate_DEFAULT Timestamp
var UserAttributes_PartnerEmailOptInDate_DEFAULT Timestamp
var UserAttributes_PasswordUpdated_DEFAULT Timestamp
var UserAttributes_SentEmailDate_DEFAULT Timestamp
var UserProfile_Joined_DEFAULT Timestamp
var UserProfile_PhotoLastUpdated_DEFAULT Timestamp
var User_Created_DEFAULT Timestamp
var User_Deleted_DEFAULT Timestamp
var User_PhotoLastUpdated_DEFAULT Timestamp
var User_Updated_DEFAULT Timestamp

func TimestampPtr

func TimestampPtr(v Timestamp) *Timestamp

type UpdateNoteIfUsnMatchesResult_

type UpdateNoteIfUsnMatchesResult_ struct {
	Note    *Note `thrift:"note,1" db:"note" json:"note,omitempty"`
	Updated *bool `thrift:"updated,2" db:"updated" json:"updated,omitempty"`
}

The result of a call to updateNoteIfUsnMatches, which optionally updates a note based on the current value of the note's update sequence number on the service.

<dl> <dt>note</dt> <dd>Either the current state of the note if <tt>updated</tt> is false or the result of updating the note as would be done via the <tt>updateNote</tt> method. If the note was not updated, you will receive a Note that does not include note content, resources data, resources recognition data, or resources alternate data. You can check for updates to these large objects by checking the Data.bodyHash values and downloading accordingly.</dd>

<dt>updated</dt> <dd>Whether or not the note was updated by the operation.</dd> </dl>

Attributes:

  • Note
  • Updated
var NoteStoreUpdateNoteIfUsnMatchesResult_Success_DEFAULT *UpdateNoteIfUsnMatchesResult_

func NewUpdateNoteIfUsnMatchesResult_

func NewUpdateNoteIfUsnMatchesResult_() *UpdateNoteIfUsnMatchesResult_

func (*UpdateNoteIfUsnMatchesResult_) GetNote

func (p *UpdateNoteIfUsnMatchesResult_) GetNote() *Note

func (*UpdateNoteIfUsnMatchesResult_) GetUpdated

func (p *UpdateNoteIfUsnMatchesResult_) GetUpdated() bool

func (*UpdateNoteIfUsnMatchesResult_) IsSetNote

func (p *UpdateNoteIfUsnMatchesResult_) IsSetNote() bool

func (*UpdateNoteIfUsnMatchesResult_) IsSetUpdated

func (p *UpdateNoteIfUsnMatchesResult_) IsSetUpdated() bool

func (*UpdateNoteIfUsnMatchesResult_) Read

func (*UpdateNoteIfUsnMatchesResult_) ReadField1

func (p *UpdateNoteIfUsnMatchesResult_) ReadField1(iprot thrift.TProtocol) error

func (*UpdateNoteIfUsnMatchesResult_) ReadField2

func (p *UpdateNoteIfUsnMatchesResult_) ReadField2(iprot thrift.TProtocol) error

func (*UpdateNoteIfUsnMatchesResult_) String

func (*UpdateNoteIfUsnMatchesResult_) Write

type User

type User struct {
	ID       *UserID `thrift:"id,1" db:"id" json:"id,omitempty"`
	Username *string `thrift:"username,2" db:"username" json:"username,omitempty"`
	Email    *string `thrift:"email,3" db:"email" json:"email,omitempty"`
	Name     *string `thrift:"name,4" db:"name" json:"name,omitempty"`
	// unused field # 5
	Timezone  *string         `thrift:"timezone,6" db:"timezone" json:"timezone,omitempty"`
	Privilege *PrivilegeLevel `thrift:"privilege,7" db:"privilege" json:"privilege,omitempty"`
	// unused field # 8
	Created *Timestamp `thrift:"created,9" db:"created" json:"created,omitempty"`
	Updated *Timestamp `thrift:"updated,10" db:"updated" json:"updated,omitempty"`
	Deleted *Timestamp `thrift:"deleted,11" db:"deleted" json:"deleted,omitempty"`
	// unused field # 12
	Active     *bool           `thrift:"active,13" db:"active" json:"active,omitempty"`
	ShardId    *string         `thrift:"shardId,14" db:"shardId" json:"shardId,omitempty"`
	Attributes *UserAttributes `thrift:"attributes,15" db:"attributes" json:"attributes,omitempty"`
	Accounting *Accounting     `thrift:"accounting,16" db:"accounting" json:"accounting,omitempty"`
	// unused field # 17
	BusinessUserInfo *BusinessUserInfo `thrift:"businessUserInfo,18" db:"businessUserInfo" json:"businessUserInfo,omitempty"`
	PhotoUrl         *string           `thrift:"photoUrl,19" db:"photoUrl" json:"photoUrl,omitempty"`
	PhotoLastUpdated *Timestamp        `thrift:"photoLastUpdated,20" db:"photoLastUpdated" json:"photoLastUpdated,omitempty"`
	ServiceLevel     *ServiceLevel     `thrift:"serviceLevel,21" db:"serviceLevel" json:"serviceLevel,omitempty"`
	AccountLimits    *AccountLimits    `thrift:"accountLimits,22" db:"accountLimits" json:"accountLimits,omitempty"`
}
This represents the information about a single user account.

<dl>

<dt>id</dt>
  <dd>The unique numeric identifier for the account, which will not
  change for the lifetime of the account.
  </dd>

<dt>username</dt>
  <dd>The name that uniquely identifies a single user account. This name
  may be presented by the user, along with their password, to log into
  their account.
  May only contain a-z, 0-9, or '-', and may not start or end with the '-'
  <br/>
  Length:  EDAM_USER_USERNAME_LEN_MIN - EDAM_USER_USERNAME_LEN_MAX
  <br/>
  Regex:  EDAM_USER_USERNAME_REGEX
  </dd>

<dt>email</dt>
  <dd>The email address registered for the user.  Must comply with
  RFC 2821 and RFC 2822.<br/>
  Third party applications that authenticate using OAuth do not have
  access to this field.
  Length:  EDAM_EMAIL_LEN_MIN - EDAM_EMAIL_LEN_MAX
  <br/>
  Regex:  EDAM_EMAIL_REGEX
  </dd>

<dt>name</dt>
  <dd>The printable name of the user, which may be a combination
  of given and family names.  This is used instead of separate "first"
  and "last" names due to variations in international name format/order.
  May not start or end with a whitespace character.  May contain any
  character but carriage return or newline (Unicode classes Zl and Zp).
  <br/>
  Length:  EDAM_USER_NAME_LEN_MIN - EDAM_USER_NAME_LEN_MAX
  <br/>
  Regex:  EDAM_USER_NAME_REGEX
  </dd>

<dt>timezone</dt>
  <dd>The zone ID for the user's default location.  If present,
  this may be used to localize the display of any timestamp for which no
  other timezone is available.
  The format must be encoded as a standard zone ID such as
  "America/Los_Angeles" or "GMT+08:00"
  <br/>
  Length:  EDAM_TIMEZONE_LEN_MIN - EDAM_TIMEZONE_LEN_MAX
  <br/>
  Regex:  EDAM_TIMEZONE_REGEX
  </dd>

<dt>serviceLevel</dt>
  <dd>The level of service the user currently receives. This will always be populated
      for users retrieved from the Evernote service.
  </dd>

<dt>created</dt>
  <dd>The date and time when this user account was created in the
  service.
  </dd>

<dt>updated</dt>
  <dd>The date and time when this user account was last modified
  in the service.
  </dd>

<dt>deleted</dt>
  <dd>If the account has been deleted from the system (e.g. as
  the result of a legal request by the user), the date and time of the
  deletion will be represented here.  If not, this value will not be set.
  </dd>

<dt>active</dt>
  <dd>If the user account is available for login and
  synchronization, this flag will be set to true.
  </dd>

<dt>shardId</dt>
  <dd>DEPRECATED - Client applications should have no need to use this field.
  </dd>

<dt>attributes</dt>
  <dd>If present, this will contain a list of the attributes
  for this user account.
  </dd>

<dt>accounting</dt>
  <dd>Bookkeeping information for the user's subscription.
  </dd>

<dt>businessUserInfo</dt>
  <dd>If present, this will contain a set of business information
  relating to the user's business membership.  If not present, the
  user is not currently part of a business.
  </dd>

<dt>photoUrl</dt>
  <dd>The URL of the photo that represents this User. This field is filled in by the
  service and is read-only to clients. If <code>photoLastUpdated</code> is
  not set, this url will point to a placeholder user photo generated by the
  service.</dd>

<dt>photoLastUpdated</dt>
  <dd>The time at which the photo at 'photoUrl' was last updated by this User. This
  field will be null if the User never set a profile photo. This field is filled in by
  the service and is read-only to clients.</dd>

<dt>accountLimits</dt>
  <dd>Account limits applicable for this user.</dd>

Attributes:

  • ID
  • Username
  • Email
  • Name
  • Timezone
  • Privilege
  • ServiceLevel
  • Created
  • Updated
  • Deleted
  • Active
  • ShardId
  • Attributes
  • Accounting
  • BusinessUserInfo
  • PhotoUrl
  • PhotoLastUpdated
  • AccountLimits
var AuthenticationResult__User_DEFAULT *User
var Notebook_Contact_DEFAULT *User
var UserStoreGetUserResult_Success_DEFAULT *User

func NewUser

func NewUser() *User

func (*User) GetAccountLimits

func (p *User) GetAccountLimits() *AccountLimits

func (*User) GetAccounting

func (p *User) GetAccounting() *Accounting

func (*User) GetActive

func (p *User) GetActive() bool

func (*User) GetAttributes

func (p *User) GetAttributes() *UserAttributes

func (*User) GetBusinessUserInfo

func (p *User) GetBusinessUserInfo() *BusinessUserInfo

func (*User) GetCreated

func (p *User) GetCreated() Timestamp

func (*User) GetDeleted

func (p *User) GetDeleted() Timestamp

func (*User) GetEmail

func (p *User) GetEmail() string

func (*User) GetID

func (p *User) GetID() UserID

func (*User) GetName

func (p *User) GetName() string

func (*User) GetPhotoLastUpdated

func (p *User) GetPhotoLastUpdated() Timestamp

func (*User) GetPhotoUrl

func (p *User) GetPhotoUrl() string

func (*User) GetPrivilege

func (p *User) GetPrivilege() PrivilegeLevel

func (*User) GetServiceLevel

func (p *User) GetServiceLevel() ServiceLevel

func (*User) GetShardId

func (p *User) GetShardId() string

func (*User) GetTimezone

func (p *User) GetTimezone() string

func (*User) GetUpdated

func (p *User) GetUpdated() Timestamp

func (*User) GetUsername

func (p *User) GetUsername() string

func (*User) IsSetAccountLimits

func (p *User) IsSetAccountLimits() bool

func (*User) IsSetAccounting

func (p *User) IsSetAccounting() bool

func (*User) IsSetActive

func (p *User) IsSetActive() bool

func (*User) IsSetAttributes

func (p *User) IsSetAttributes() bool

func (*User) IsSetBusinessUserInfo

func (p *User) IsSetBusinessUserInfo() bool

func (*User) IsSetCreated

func (p *User) IsSetCreated() bool

func (*User) IsSetDeleted

func (p *User) IsSetDeleted() bool

func (*User) IsSetEmail

func (p *User) IsSetEmail() bool

func (*User) IsSetID

func (p *User) IsSetID() bool

func (*User) IsSetName

func (p *User) IsSetName() bool

func (*User) IsSetPhotoLastUpdated

func (p *User) IsSetPhotoLastUpdated() bool

func (*User) IsSetPhotoUrl

func (p *User) IsSetPhotoUrl() bool

func (*User) IsSetPrivilege

func (p *User) IsSetPrivilege() bool

func (*User) IsSetServiceLevel

func (p *User) IsSetServiceLevel() bool

func (*User) IsSetShardId

func (p *User) IsSetShardId() bool

func (*User) IsSetTimezone

func (p *User) IsSetTimezone() bool

func (*User) IsSetUpdated

func (p *User) IsSetUpdated() bool

func (*User) IsSetUsername

func (p *User) IsSetUsername() bool

func (*User) Read

func (p *User) Read(iprot thrift.TProtocol) error

func (*User) ReadField1

func (p *User) ReadField1(iprot thrift.TProtocol) error

func (*User) ReadField10

func (p *User) ReadField10(iprot thrift.TProtocol) error

func (*User) ReadField11

func (p *User) ReadField11(iprot thrift.TProtocol) error

func (*User) ReadField13

func (p *User) ReadField13(iprot thrift.TProtocol) error

func (*User) ReadField14

func (p *User) ReadField14(iprot thrift.TProtocol) error

func (*User) ReadField15

func (p *User) ReadField15(iprot thrift.TProtocol) error

func (*User) ReadField16

func (p *User) ReadField16(iprot thrift.TProtocol) error

func (*User) ReadField18

func (p *User) ReadField18(iprot thrift.TProtocol) error

func (*User) ReadField19

func (p *User) ReadField19(iprot thrift.TProtocol) error

func (*User) ReadField2

func (p *User) ReadField2(iprot thrift.TProtocol) error

func (*User) ReadField20

func (p *User) ReadField20(iprot thrift.TProtocol) error

func (*User) ReadField21

func (p *User) ReadField21(iprot thrift.TProtocol) error

func (*User) ReadField22

func (p *User) ReadField22(iprot thrift.TProtocol) error

func (*User) ReadField3

func (p *User) ReadField3(iprot thrift.TProtocol) error

func (*User) ReadField4

func (p *User) ReadField4(iprot thrift.TProtocol) error

func (*User) ReadField6

func (p *User) ReadField6(iprot thrift.TProtocol) error

func (*User) ReadField7

func (p *User) ReadField7(iprot thrift.TProtocol) error

func (*User) ReadField9

func (p *User) ReadField9(iprot thrift.TProtocol) error

func (*User) String

func (p *User) String() string

func (*User) Write

func (p *User) Write(oprot thrift.TProtocol) error

type UserAttributes

type UserAttributes struct {
	DefaultLocationName   *string  `thrift:"defaultLocationName,1" db:"defaultLocationName" json:"defaultLocationName,omitempty"`
	DefaultLatitude       *float64 `thrift:"defaultLatitude,2" db:"defaultLatitude" json:"defaultLatitude,omitempty"`
	DefaultLongitude      *float64 `thrift:"defaultLongitude,3" db:"defaultLongitude" json:"defaultLongitude,omitempty"`
	Preactivation         *bool    `thrift:"preactivation,4" db:"preactivation" json:"preactivation,omitempty"`
	ViewedPromotions      []string `thrift:"viewedPromotions,5" db:"viewedPromotions" json:"viewedPromotions,omitempty"`
	IncomingEmailAddress  *string  `thrift:"incomingEmailAddress,6" db:"incomingEmailAddress" json:"incomingEmailAddress,omitempty"`
	RecentMailedAddresses []string `thrift:"recentMailedAddresses,7" db:"recentMailedAddresses" json:"recentMailedAddresses,omitempty"`
	// unused field # 8
	Comments *string `thrift:"comments,9" db:"comments" json:"comments,omitempty"`
	// unused field # 10
	DateAgreedToTermsOfService *Timestamp `thrift:"dateAgreedToTermsOfService,11" db:"dateAgreedToTermsOfService" json:"dateAgreedToTermsOfService,omitempty"`
	MaxReferrals               *int32     `thrift:"maxReferrals,12" db:"maxReferrals" json:"maxReferrals,omitempty"`
	ReferralCount              *int32     `thrift:"referralCount,13" db:"referralCount" json:"referralCount,omitempty"`
	RefererCode                *string    `thrift:"refererCode,14" db:"refererCode" json:"refererCode,omitempty"`
	SentEmailDate              *Timestamp `thrift:"sentEmailDate,15" db:"sentEmailDate" json:"sentEmailDate,omitempty"`
	SentEmailCount             *int32     `thrift:"sentEmailCount,16" db:"sentEmailCount" json:"sentEmailCount,omitempty"`
	DailyEmailLimit            *int32     `thrift:"dailyEmailLimit,17" db:"dailyEmailLimit" json:"dailyEmailLimit,omitempty"`
	EmailOptOutDate            *Timestamp `thrift:"emailOptOutDate,18" db:"emailOptOutDate" json:"emailOptOutDate,omitempty"`
	PartnerEmailOptInDate      *Timestamp `thrift:"partnerEmailOptInDate,19" db:"partnerEmailOptInDate" json:"partnerEmailOptInDate,omitempty"`
	PreferredLanguage          *string    `thrift:"preferredLanguage,20" db:"preferredLanguage" json:"preferredLanguage,omitempty"`
	PreferredCountry           *string    `thrift:"preferredCountry,21" db:"preferredCountry" json:"preferredCountry,omitempty"`
	ClipFullPage               *bool      `thrift:"clipFullPage,22" db:"clipFullPage" json:"clipFullPage,omitempty"`
	TwitterUserName            *string    `thrift:"twitterUserName,23" db:"twitterUserName" json:"twitterUserName,omitempty"`
	TwitterId                  *string    `thrift:"twitterId,24" db:"twitterId" json:"twitterId,omitempty"`
	GroupName                  *string    `thrift:"groupName,25" db:"groupName" json:"groupName,omitempty"`
	RecognitionLanguage        *string    `thrift:"recognitionLanguage,26" db:"recognitionLanguage" json:"recognitionLanguage,omitempty"`
	// unused field # 27
	ReferralProof       *string `thrift:"referralProof,28" db:"referralProof" json:"referralProof,omitempty"`
	EducationalDiscount *bool   `thrift:"educationalDiscount,29" db:"educationalDiscount" json:"educationalDiscount,omitempty"`
	BusinessAddress     *string `thrift:"businessAddress,30" db:"businessAddress" json:"businessAddress,omitempty"`
	HideSponsorBilling  *bool   `thrift:"hideSponsorBilling,31" db:"hideSponsorBilling" json:"hideSponsorBilling,omitempty"`
	// unused field # 32
	UseEmailAutoFiling        *bool                `thrift:"useEmailAutoFiling,33" db:"useEmailAutoFiling" json:"useEmailAutoFiling,omitempty"`
	ReminderEmailConfig       *ReminderEmailConfig `thrift:"reminderEmailConfig,34" db:"reminderEmailConfig" json:"reminderEmailConfig,omitempty"`
	EmailAddressLastConfirmed *Timestamp           `thrift:"emailAddressLastConfirmed,35" db:"emailAddressLastConfirmed" json:"emailAddressLastConfirmed,omitempty"`
	PasswordUpdated           *Timestamp           `thrift:"passwordUpdated,36" db:"passwordUpdated" json:"passwordUpdated,omitempty"`
	SalesforcePushEnabled     *bool                `thrift:"salesforcePushEnabled,37" db:"salesforcePushEnabled" json:"salesforcePushEnabled,omitempty"`
	ShouldLogClientEvent      *bool                `thrift:"shouldLogClientEvent,38" db:"shouldLogClientEvent" json:"shouldLogClientEvent,omitempty"`
	OptOutMachineLearning     *bool                `thrift:"optOutMachineLearning,39" db:"optOutMachineLearning" json:"optOutMachineLearning,omitempty"`
}
A structure holding the optional attributes that can be stored
on a User.  These are generally less critical than the core User fields.

<dl>

<dt>defaultLocationName</dt>
  <dd>the location string that should be associated
  with the user in order to determine where notes are taken if not otherwise
  specified.<br/>
  Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
  </dd>

<dt>defaultLatitude</dt>
  <dd>if set, this is the latitude that should be
  assigned to any notes that have no other latitude information.
  </dd>

<dt>defaultLongitude</dt>
  <dd>if set, this is the longitude that should be
  assigned to any notes that have no other longitude information.
  </dd>

<dt>preactivation</dt>
  <dd>if set, the user account is not yet confirmed for
  login.  I.e. the account has been created, but we are still waiting for
  the user to complete the activation step.
  </dd>

<dt>viewedPromotions</dt>
  <dd>a list of promotions the user has seen.
   This list may occasionally be modified by the system when promotions are
   no longer available.<br/>
   Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
  </dd>

<dt>incomingEmailAddress</dt>
  <dd>if set, this is the email address that the
   user may send email to in order to add an email note directly into the
   account via the SMTP email gateway.  This is the part of the email
   address before the '@' symbol ... our domain is not included.
   If this is not set, the user may not add notes via the gateway.<br/>
   Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
  </dd>

<dt>recentMailedAddresses</dt>
  <dd>if set, this will contain a list of email
   addresses that have recently been used as recipients
   of outbound emails by the user.  This can be used to pre-populate a
   list of possible destinations when a user wishes to send a note via
   email.<br/>
   Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX each<br/>
   Max:  EDAM_USER_RECENT_MAILED_ADDRESSES_MAX entries
  </dd>

<dt>comments</dt>
  <dd>Free-form text field that may hold general support
   information, etc.<br/>
   Length:  EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX
  </dd>

<dt>dateAgreedToTermsOfService</dt>
  <dd>The date/time when the user agreed to
   the terms of service.  This can be used as the effective "start date"
   for the account.
  </dd>

<dt>maxReferrals</dt>
  <dd>The number of referrals that the user is permitted
   to make.
  </dd>

<dt>referralCount</dt>
  <dd>The number of referrals sent from this account.
  </dd>

<dt>refererCode</dt>
  <dd>A code indicating where the user was sent from. AKA
   promotion code
  </dd>

<dt>sentEmailDate</dt>
  <dd>The most recent date when the user sent outbound
   emails from the service.  Used with sentEmailCount to limit the number
   of emails that can be sent per day.
  </dd>

<dt>sentEmailCount</dt>
  <dd>The number of emails that were sent from the user
   via the service on sentEmailDate.  Used to enforce a limit on the number
   of emails per user per day to prevent spamming.
  </dd>

<dt>dailyEmailLimit</dt>
  <dd>If set, this is the maximum number of emails that
   may be sent in a given day from this account.  If unset, the server will
   use the configured default limit.
  </dd>

<dt>emailOptOutDate</dt>
  <dd>If set, this is the date when the user asked
   to be excluded from offers and promotions sent by Evernote.  If not set,
   then the user currently agrees to receive these messages.
  </dd>

<dt>partnerEmailOptInDate</dt>
  <dd>If set, this is the date when the user asked
   to be included in offers and promotions sent by Evernote's partners.
   If not sent, then the user currently does not agree to receive these
   emails.
  </dd>

<dt>preferredLanguage</dt>
  <dd>a 2 character language codes based on:
      http://ftp.ics.uci.edu/pub/ietf/http/related/iso639.txt used for
     localization purposes to determine what language to use for the web
     interface and for other direct communication (e.g. emails).
  </dd>

<dt>preferredCountry</dt>
  <dd>Preferred country code based on ISO 3166-1-alpha-2 indicating the
  users preferred country</dd>

<dt>clipFullPage</dt>
  <dd>Boolean flag set to true if the user wants to clip full pages by
  default when they use the web clipper without a selection.</dd>

<dt>twitterUserName</dt>
  <dd>The username of the account of someone who has chosen to enable
  Twittering into Evernote.  This value is subject to change, since users
  may change their Twitter user name.</dd>

<dt>twitterId</dt>
  <dd>The unique identifier of the user's Twitter account if that user
  has chosen to enable Twittering into Evernote.</dd>

<dt>groupName</dt>
  <dd>A name identifier used to identify a particular set of branding and
   light customization.</dd>

<dt>recognitionLanguage</dt>
  <dd>a 2 character language codes based on:
      http://ftp.ics.uci.edu/pub/ietf/http/related/iso639.txt
      If set, this is used to determine the language that should be used
      when processing images and PDF files to find text.
      If not set, then the 'preferredLanguage' will be used.
  </dd>

<dt>educationalInstitution</dt>
  <dd>a flag indicating that the user is part of an educational institution which
  makes them eligible for discounts on bulk purchases
  </dd>

<dt>businessAddress</dt>
  <dd>A string recording the business address of a Sponsored Account user who has requested invoicing.
  </dd>

<dt>hideSponsorBilling</dt>
  <dd>A flag indicating whether to hide the billing information on a sponsored
      account owner's settings page
  </dd>

<dt>useEmailAutoFiling</dt>
  <dd>A flag indicating whether the user chooses to allow Evernote to automatically
      file and tag emailed notes
  </dd>

<dt>reminderEmailConfig</dt>
  <dd>Configuration state for whether or not the user wishes to receive
      reminder e-mail.  This setting applies to both the reminder e-mail sent
      for personal reminder notes and for the reminder e-mail sent for reminder
      notes in the user's business notebooks that the user has configured for
      e-mail notifications.
  </dd>

<dt>emailAddressLastConfirmed</dt>
  <dd>If set, this contains the time at which the user last confirmed that the
      configured email address for this account is correct and up-to-date. If this is
      unset that indicates that the user's email address is unverified.
  </dd>

<dt>passwordUpdated</dt>
  <dd>If set, this contains the time at which the user's password last changed. This
      will be unset for users created before the addition of this field who have not
      changed their passwords since the addition of this field.
  </dd>

<dt>shouldLogClientEvent</dt>
  <dd>If set to True, the server will record LogRequest send from clients of this
       user as ClientEventLog.
  </dd>

<dt>optOutMachineLearning</dt>
  <dd>If set to True, no Machine Learning nor human review will be done to this
       user's note contents.
  </dd>
  </dl>

Attributes:

  • DefaultLocationName
  • DefaultLatitude
  • DefaultLongitude
  • Preactivation
  • ViewedPromotions
  • IncomingEmailAddress
  • RecentMailedAddresses
  • Comments
  • DateAgreedToTermsOfService
  • MaxReferrals
  • ReferralCount
  • RefererCode
  • SentEmailDate
  • SentEmailCount
  • DailyEmailLimit
  • EmailOptOutDate
  • PartnerEmailOptInDate
  • PreferredLanguage
  • PreferredCountry
  • ClipFullPage
  • TwitterUserName
  • TwitterId
  • GroupName
  • RecognitionLanguage
  • ReferralProof
  • EducationalDiscount
  • BusinessAddress
  • HideSponsorBilling
  • UseEmailAutoFiling
  • ReminderEmailConfig
  • EmailAddressLastConfirmed
  • PasswordUpdated
  • SalesforcePushEnabled
  • ShouldLogClientEvent
  • OptOutMachineLearning
var User_Attributes_DEFAULT *UserAttributes

func NewUserAttributes

func NewUserAttributes() *UserAttributes

func (*UserAttributes) GetBusinessAddress

func (p *UserAttributes) GetBusinessAddress() string

func (*UserAttributes) GetClipFullPage

func (p *UserAttributes) GetClipFullPage() bool

func (*UserAttributes) GetComments

func (p *UserAttributes) GetComments() string

func (*UserAttributes) GetDailyEmailLimit

func (p *UserAttributes) GetDailyEmailLimit() int32

func (*UserAttributes) GetDateAgreedToTermsOfService

func (p *UserAttributes) GetDateAgreedToTermsOfService() Timestamp

func (*UserAttributes) GetDefaultLatitude

func (p *UserAttributes) GetDefaultLatitude() float64

func (*UserAttributes) GetDefaultLocationName

func (p *UserAttributes) GetDefaultLocationName() string

func (*UserAttributes) GetDefaultLongitude

func (p *UserAttributes) GetDefaultLongitude() float64

func (*UserAttributes) GetEducationalDiscount

func (p *UserAttributes) GetEducationalDiscount() bool

func (*UserAttributes) GetEmailAddressLastConfirmed

func (p *UserAttributes) GetEmailAddressLastConfirmed() Timestamp

func (*UserAttributes) GetEmailOptOutDate

func (p *UserAttributes) GetEmailOptOutDate() Timestamp

func (*UserAttributes) GetGroupName

func (p *UserAttributes) GetGroupName() string

func (*UserAttributes) GetHideSponsorBilling

func (p *UserAttributes) GetHideSponsorBilling() bool

func (*UserAttributes) GetIncomingEmailAddress

func (p *UserAttributes) GetIncomingEmailAddress() string

func (*UserAttributes) GetMaxReferrals

func (p *UserAttributes) GetMaxReferrals() int32

func (*UserAttributes) GetOptOutMachineLearning

func (p *UserAttributes) GetOptOutMachineLearning() bool

func (*UserAttributes) GetPartnerEmailOptInDate

func (p *UserAttributes) GetPartnerEmailOptInDate() Timestamp

func (*UserAttributes) GetPasswordUpdated

func (p *UserAttributes) GetPasswordUpdated() Timestamp

func (*UserAttributes) GetPreactivation

func (p *UserAttributes) GetPreactivation() bool

func (*UserAttributes) GetPreferredCountry

func (p *UserAttributes) GetPreferredCountry() string

func (*UserAttributes) GetPreferredLanguage

func (p *UserAttributes) GetPreferredLanguage() string

func (*UserAttributes) GetRecentMailedAddresses

func (p *UserAttributes) GetRecentMailedAddresses() []string

func (*UserAttributes) GetRecognitionLanguage

func (p *UserAttributes) GetRecognitionLanguage() string

func (*UserAttributes) GetRefererCode

func (p *UserAttributes) GetRefererCode() string

func (*UserAttributes) GetReferralCount

func (p *UserAttributes) GetReferralCount() int32

func (*UserAttributes) GetReferralProof

func (p *UserAttributes) GetReferralProof() string

func (*UserAttributes) GetReminderEmailConfig

func (p *UserAttributes) GetReminderEmailConfig() ReminderEmailConfig

func (*UserAttributes) GetSalesforcePushEnabled

func (p *UserAttributes) GetSalesforcePushEnabled() bool

func (*UserAttributes) GetSentEmailCount

func (p *UserAttributes) GetSentEmailCount() int32

func (*UserAttributes) GetSentEmailDate

func (p *UserAttributes) GetSentEmailDate() Timestamp

func (*UserAttributes) GetShouldLogClientEvent

func (p *UserAttributes) GetShouldLogClientEvent() bool

func (*UserAttributes) GetTwitterId

func (p *UserAttributes) GetTwitterId() string

func (*UserAttributes) GetTwitterUserName

func (p *UserAttributes) GetTwitterUserName() string

func (*UserAttributes) GetUseEmailAutoFiling

func (p *UserAttributes) GetUseEmailAutoFiling() bool

func (*UserAttributes) GetViewedPromotions

func (p *UserAttributes) GetViewedPromotions() []string

func (*UserAttributes) IsSetBusinessAddress

func (p *UserAttributes) IsSetBusinessAddress() bool

func (*UserAttributes) IsSetClipFullPage

func (p *UserAttributes) IsSetClipFullPage() bool

func (*UserAttributes) IsSetComments

func (p *UserAttributes) IsSetComments() bool

func (*UserAttributes) IsSetDailyEmailLimit

func (p *UserAttributes) IsSetDailyEmailLimit() bool

func (*UserAttributes) IsSetDateAgreedToTermsOfService

func (p *UserAttributes) IsSetDateAgreedToTermsOfService() bool

func (*UserAttributes) IsSetDefaultLatitude

func (p *UserAttributes) IsSetDefaultLatitude() bool

func (*UserAttributes) IsSetDefaultLocationName

func (p *UserAttributes) IsSetDefaultLocationName() bool

func (*UserAttributes) IsSetDefaultLongitude

func (p *UserAttributes) IsSetDefaultLongitude() bool

func (*UserAttributes) IsSetEducationalDiscount

func (p *UserAttributes) IsSetEducationalDiscount() bool

func (*UserAttributes) IsSetEmailAddressLastConfirmed

func (p *UserAttributes) IsSetEmailAddressLastConfirmed() bool

func (*UserAttributes) IsSetEmailOptOutDate

func (p *UserAttributes) IsSetEmailOptOutDate() bool

func (*UserAttributes) IsSetGroupName

func (p *UserAttributes) IsSetGroupName() bool

func (*UserAttributes) IsSetHideSponsorBilling

func (p *UserAttributes) IsSetHideSponsorBilling() bool

func (*UserAttributes) IsSetIncomingEmailAddress

func (p *UserAttributes) IsSetIncomingEmailAddress() bool

func (*UserAttributes) IsSetMaxReferrals

func (p *UserAttributes) IsSetMaxReferrals() bool

func (*UserAttributes) IsSetOptOutMachineLearning

func (p *UserAttributes) IsSetOptOutMachineLearning() bool

func (*UserAttributes) IsSetPartnerEmailOptInDate

func (p *UserAttributes) IsSetPartnerEmailOptInDate() bool

func (*UserAttributes) IsSetPasswordUpdated

func (p *UserAttributes) IsSetPasswordUpdated() bool

func (*UserAttributes) IsSetPreactivation

func (p *UserAttributes) IsSetPreactivation() bool

func (*UserAttributes) IsSetPreferredCountry

func (p *UserAttributes) IsSetPreferredCountry() bool

func (*UserAttributes) IsSetPreferredLanguage

func (p *UserAttributes) IsSetPreferredLanguage() bool

func (*UserAttributes) IsSetRecentMailedAddresses

func (p *UserAttributes) IsSetRecentMailedAddresses() bool

func (*UserAttributes) IsSetRecognitionLanguage

func (p *UserAttributes) IsSetRecognitionLanguage() bool

func (*UserAttributes) IsSetRefererCode

func (p *UserAttributes) IsSetRefererCode() bool

func (*UserAttributes) IsSetReferralCount

func (p *UserAttributes) IsSetReferralCount() bool

func (*UserAttributes) IsSetReferralProof

func (p *UserAttributes) IsSetReferralProof() bool

func (*UserAttributes) IsSetReminderEmailConfig

func (p *UserAttributes) IsSetReminderEmailConfig() bool

func (*UserAttributes) IsSetSalesforcePushEnabled

func (p *UserAttributes) IsSetSalesforcePushEnabled() bool

func (*UserAttributes) IsSetSentEmailCount

func (p *UserAttributes) IsSetSentEmailCount() bool

func (*UserAttributes) IsSetSentEmailDate

func (p *UserAttributes) IsSetSentEmailDate() bool

func (*UserAttributes) IsSetShouldLogClientEvent

func (p *UserAttributes) IsSetShouldLogClientEvent() bool

func (*UserAttributes) IsSetTwitterId

func (p *UserAttributes) IsSetTwitterId() bool

func (*UserAttributes) IsSetTwitterUserName

func (p *UserAttributes) IsSetTwitterUserName() bool

func (*UserAttributes) IsSetUseEmailAutoFiling

func (p *UserAttributes) IsSetUseEmailAutoFiling() bool

func (*UserAttributes) IsSetViewedPromotions

func (p *UserAttributes) IsSetViewedPromotions() bool

func (*UserAttributes) Read

func (p *UserAttributes) Read(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField1

func (p *UserAttributes) ReadField1(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField11

func (p *UserAttributes) ReadField11(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField12

func (p *UserAttributes) ReadField12(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField13

func (p *UserAttributes) ReadField13(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField14

func (p *UserAttributes) ReadField14(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField15

func (p *UserAttributes) ReadField15(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField16

func (p *UserAttributes) ReadField16(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField17

func (p *UserAttributes) ReadField17(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField18

func (p *UserAttributes) ReadField18(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField19

func (p *UserAttributes) ReadField19(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField2

func (p *UserAttributes) ReadField2(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField20

func (p *UserAttributes) ReadField20(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField21

func (p *UserAttributes) ReadField21(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField22

func (p *UserAttributes) ReadField22(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField23

func (p *UserAttributes) ReadField23(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField24

func (p *UserAttributes) ReadField24(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField25

func (p *UserAttributes) ReadField25(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField26

func (p *UserAttributes) ReadField26(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField28

func (p *UserAttributes) ReadField28(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField29

func (p *UserAttributes) ReadField29(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField3

func (p *UserAttributes) ReadField3(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField30

func (p *UserAttributes) ReadField30(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField31

func (p *UserAttributes) ReadField31(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField33

func (p *UserAttributes) ReadField33(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField34

func (p *UserAttributes) ReadField34(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField35

func (p *UserAttributes) ReadField35(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField36

func (p *UserAttributes) ReadField36(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField37

func (p *UserAttributes) ReadField37(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField38

func (p *UserAttributes) ReadField38(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField39

func (p *UserAttributes) ReadField39(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField4

func (p *UserAttributes) ReadField4(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField5

func (p *UserAttributes) ReadField5(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField6

func (p *UserAttributes) ReadField6(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField7

func (p *UserAttributes) ReadField7(iprot thrift.TProtocol) error

func (*UserAttributes) ReadField9

func (p *UserAttributes) ReadField9(iprot thrift.TProtocol) error

func (*UserAttributes) String

func (p *UserAttributes) String() string

func (*UserAttributes) Write

func (p *UserAttributes) Write(oprot thrift.TProtocol) error

type UserID

type UserID int32

Every Evernote account is assigned a unique numeric identifier which will not change for the life of the account. This is independent of the (string-based) "username" which is known by the user for login purposes. The user should have no reason to know their UserID.

var BusinessInvitation_RequesterId_DEFAULT UserID
var Identity_UserId_DEFAULT UserID
var InvitationShareRelationship_SharerUserId_DEFAULT UserID
var ManageNoteSharesError_UserID_DEFAULT UserID
var MemberShareRelationship_RecipientUserId_DEFAULT UserID
var MemberShareRelationship_SharerUserId_DEFAULT UserID
var NoteAttributes_CreatorId_DEFAULT UserID
var NoteAttributes_LastEditorId_DEFAULT UserID
var NoteInvitationShareRelationship_SharerUserId_DEFAULT UserID
var NoteMemberShareRelationship_RecipientUserId_DEFAULT UserID
var NoteMemberShareRelationship_SharerUserId_DEFAULT UserID
var NoteVersionId_LastEditorId_DEFAULT UserID
var SharedNote_SharerUserID_DEFAULT UserID
var SharedNotebook_RecipientUserId_DEFAULT UserID
var SharedNotebook_SharerUserId_DEFAULT UserID
var SharedNotebook_UserId_DEFAULT UserID
var UserProfile_ID_DEFAULT UserID
var User_ID_DEFAULT UserID

func UserIDPtr

func UserIDPtr(v UserID) *UserID

type UserIdentity

type UserIdentity struct {
	Type             *UserIdentityType `thrift:"type,1" db:"type" json:"type,omitempty"`
	StringIdentifier *string           `thrift:"stringIdentifier,2" db:"stringIdentifier" json:"stringIdentifier,omitempty"`
	LongIdentifier   *int64            `thrift:"longIdentifier,3" db:"longIdentifier" json:"longIdentifier,omitempty"`
}

A structure that holds user identifying information such as an email address, Evernote user ID, or an identifier from a 3rd party service. An instance consists of a type and a value, where the value will be stored in one of the value fields depending upon the data type required for the identity type.

When used with shared notebook invitations, a UserIdentity identifies a particular person who may not (yet) have an Evernote UserID UserIdentity but who has (almost) unique access to the service endpoint described by the UserIdentity. For example, an e-mail UserIdentity can identify the person who receives e-mail at the given address, and who can therefore read the share key that has a cryptographic signature from the Evernote service. With the share key, this person can supply their Evernote UserID via an authentication token to join the notebook (authenticateToSharedNotebook), at which time we have associated the e-mail UserIdentity with an Evernote UserID UserIdentity. Note that using shared notebook records, the relationship between Evernote UserIDs and e-mail addresses is many to many.

Note that the identifier may not directly identify a particular Evernote UserID UserIdentity without further verification. For example, an e-mail UserIdentity may be associated with an invitation to join a notebook (via a shared notebook record), but until a user uses a share key, that was sent to that e-mail address, to join the notebook, we do not know an Evernote UserID UserIdentity ID to match the e-mail address.

Attributes:

  • Type
  • StringIdentifier
  • LongIdentifier
var InvitationShareRelationship_RecipientUserIdentity_DEFAULT *UserIdentity
var ManageNotebookSharesError_UserIdentity_DEFAULT *UserIdentity

func NewUserIdentity

func NewUserIdentity() *UserIdentity

func (*UserIdentity) GetLongIdentifier

func (p *UserIdentity) GetLongIdentifier() int64

func (*UserIdentity) GetStringIdentifier

func (p *UserIdentity) GetStringIdentifier() string

func (*UserIdentity) GetType

func (p *UserIdentity) GetType() UserIdentityType

func (*UserIdentity) IsSetLongIdentifier

func (p *UserIdentity) IsSetLongIdentifier() bool

func (*UserIdentity) IsSetStringIdentifier

func (p *UserIdentity) IsSetStringIdentifier() bool

func (*UserIdentity) IsSetType

func (p *UserIdentity) IsSetType() bool

func (*UserIdentity) Read

func (p *UserIdentity) Read(iprot thrift.TProtocol) error

func (*UserIdentity) ReadField1

func (p *UserIdentity) ReadField1(iprot thrift.TProtocol) error

func (*UserIdentity) ReadField2

func (p *UserIdentity) ReadField2(iprot thrift.TProtocol) error

func (*UserIdentity) ReadField3

func (p *UserIdentity) ReadField3(iprot thrift.TProtocol) error

func (*UserIdentity) String

func (p *UserIdentity) String() string

func (*UserIdentity) Write

func (p *UserIdentity) Write(oprot thrift.TProtocol) error

type UserIdentityType

type UserIdentityType int64
const (
	UserIdentityType_EVERNOTE_USERID UserIdentityType = 1
	UserIdentityType_EMAIL           UserIdentityType = 2
	UserIdentityType_IDENTITYID      UserIdentityType = 3
)
var UserIdentity_Type_DEFAULT UserIdentityType

func UserIdentityTypeFromString

func UserIdentityTypeFromString(s string) (UserIdentityType, error)

func UserIdentityTypePtr

func UserIdentityTypePtr(v UserIdentityType) *UserIdentityType

func (UserIdentityType) MarshalText

func (p UserIdentityType) MarshalText() ([]byte, error)

func (*UserIdentityType) Scan

func (p *UserIdentityType) Scan(value interface{}) error

func (UserIdentityType) String

func (p UserIdentityType) String() string

func (*UserIdentityType) UnmarshalText

func (p *UserIdentityType) UnmarshalText(text []byte) error

func (*UserIdentityType) Value

func (p *UserIdentityType) Value() (driver.Value, error)

type UserProfile

type UserProfile struct {
	ID               *UserID                 `thrift:"id,1" db:"id" json:"id,omitempty"`
	Name             *string                 `thrift:"name,2" db:"name" json:"name,omitempty"`
	Email            *string                 `thrift:"email,3" db:"email" json:"email,omitempty"`
	Username         *string                 `thrift:"username,4" db:"username" json:"username,omitempty"`
	Attributes       *BusinessUserAttributes `thrift:"attributes,5" db:"attributes" json:"attributes,omitempty"`
	Joined           *Timestamp              `thrift:"joined,6" db:"joined" json:"joined,omitempty"`
	PhotoLastUpdated *Timestamp              `thrift:"photoLastUpdated,7" db:"photoLastUpdated" json:"photoLastUpdated,omitempty"`
	PhotoUrl         *string                 `thrift:"photoUrl,8" db:"photoUrl" json:"photoUrl,omitempty"`
	Role             *BusinessUserRole       `thrift:"role,9" db:"role" json:"role,omitempty"`
	Status           *BusinessUserStatus     `thrift:"status,10" db:"status" json:"status,omitempty"`
}

This structure represents profile information for a user in a business.

<dl> <dt>id</dt> <dd>The numeric identifier that uniquely identifies a user.</dd>

<dt>name</dt> <dd>The full name of the user.</dd>

<dt>email</dt> <dd>The user's business email address. If the user has not registered their business

email address, this field will be empty.

</dd>

<dt>username</dt> <dd>The user's Evernote username.</dd>

<dt>attributes</dt> <dd>The user's business specific attributes.</dd>

<dt>joined</dt> <dd>The time when the user joined the business</dd>

<dt>photoLastUpdated</dt> <dd>The time when the user's profile photo was most recently updated</dd>

<dt>photoUrl</dt> <dd>A URL identifying a copy of the user's current profile photo</dd>

<dt>role</dt> <dd>The BusinessUserRole for the user</dd>

<dt>status</dt> <dd>The BusinessUserStatus for the user</dd>

</dl>

Attributes:

  • ID
  • Name
  • Email
  • Username
  • Attributes
  • Joined
  • PhotoLastUpdated
  • PhotoUrl
  • Role
  • Status

func NewUserProfile

func NewUserProfile() *UserProfile

func (*UserProfile) GetAttributes

func (p *UserProfile) GetAttributes() *BusinessUserAttributes

func (*UserProfile) GetEmail

func (p *UserProfile) GetEmail() string

func (*UserProfile) GetID

func (p *UserProfile) GetID() UserID

func (*UserProfile) GetJoined

func (p *UserProfile) GetJoined() Timestamp

func (*UserProfile) GetName

func (p *UserProfile) GetName() string

func (*UserProfile) GetPhotoLastUpdated

func (p *UserProfile) GetPhotoLastUpdated() Timestamp

func (*UserProfile) GetPhotoUrl

func (p *UserProfile) GetPhotoUrl() string

func (*UserProfile) GetRole

func (p *UserProfile) GetRole() BusinessUserRole

func (*UserProfile) GetStatus

func (p *UserProfile) GetStatus() BusinessUserStatus

func (*UserProfile) GetUsername

func (p *UserProfile) GetUsername() string

func (*UserProfile) IsSetAttributes

func (p *UserProfile) IsSetAttributes() bool

func (*UserProfile) IsSetEmail

func (p *UserProfile) IsSetEmail() bool

func (*UserProfile) IsSetID

func (p *UserProfile) IsSetID() bool

func (*UserProfile) IsSetJoined

func (p *UserProfile) IsSetJoined() bool

func (*UserProfile) IsSetName

func (p *UserProfile) IsSetName() bool

func (*UserProfile) IsSetPhotoLastUpdated

func (p *UserProfile) IsSetPhotoLastUpdated() bool

func (*UserProfile) IsSetPhotoUrl

func (p *UserProfile) IsSetPhotoUrl() bool

func (*UserProfile) IsSetRole

func (p *UserProfile) IsSetRole() bool

func (*UserProfile) IsSetStatus

func (p *UserProfile) IsSetStatus() bool

func (*UserProfile) IsSetUsername

func (p *UserProfile) IsSetUsername() bool

func (*UserProfile) Read

func (p *UserProfile) Read(iprot thrift.TProtocol) error

func (*UserProfile) ReadField1

func (p *UserProfile) ReadField1(iprot thrift.TProtocol) error

func (*UserProfile) ReadField10

func (p *UserProfile) ReadField10(iprot thrift.TProtocol) error

func (*UserProfile) ReadField2

func (p *UserProfile) ReadField2(iprot thrift.TProtocol) error

func (*UserProfile) ReadField3

func (p *UserProfile) ReadField3(iprot thrift.TProtocol) error

func (*UserProfile) ReadField4

func (p *UserProfile) ReadField4(iprot thrift.TProtocol) error

func (*UserProfile) ReadField5

func (p *UserProfile) ReadField5(iprot thrift.TProtocol) error

func (*UserProfile) ReadField6

func (p *UserProfile) ReadField6(iprot thrift.TProtocol) error

func (*UserProfile) ReadField7

func (p *UserProfile) ReadField7(iprot thrift.TProtocol) error

func (*UserProfile) ReadField8

func (p *UserProfile) ReadField8(iprot thrift.TProtocol) error

func (*UserProfile) ReadField9

func (p *UserProfile) ReadField9(iprot thrift.TProtocol) error

func (*UserProfile) String

func (p *UserProfile) String() string

func (*UserProfile) Write

func (p *UserProfile) Write(oprot thrift.TProtocol) error

type UserStore

type UserStore interface {

	// This should be the first call made by a client to the EDAM service.  It
	// tells the service what protocol version is used by the client.  The
	// service will then return true if the client is capable of talking to
	// the service, and false if the client's protocol version is incompatible
	// with the service, so the client must upgrade.  If a client receives a
	// false value, it should report the incompatibility to the user and not
	// continue with any more EDAM requests (UserStore or NoteStore).
	//
	// @param clientName
	//   This string provides some information about the client for
	//   tracking/logging on the service.  It should provide information about
	//   the client's software and platform. The structure should be:
	//   application/version; platform/version; [ device/version ]
	//   E.g. "Evernote Windows/3.0.1; Windows/XP SP3".
	//
	// @param edamVersionMajor
	//   This should be the major protocol version that was compiled by the
	//   client.  This should be the current value of the EDAM_VERSION_MAJOR
	//   constant for the client.
	//
	// @param edamVersionMinor
	//   This should be the major protocol version that was compiled by the
	//   client.  This should be the current value of the EDAM_VERSION_MINOR
	//   constant for the client.
	//
	// Parameters:
	//  - ClientName
	//  - EdamVersionMajor
	//  - EdamVersionMinor
	CheckVersion(ctx context.Context, clientName string, edamVersionMajor int16, edamVersionMinor int16) (r bool, err error)
	// This provides bootstrap information to the client. Various bootstrap
	// profiles and settings may be used by the client to configure itself.
	//
	// @param locale
	//   The client's current locale, expressed in language[_country]
	//   format. E.g., "en_US". See ISO-639 and ISO-3166 for valid
	//   language and country codes.
	//
	// @return
	//   The bootstrap information suitable for this client.
	//
	// Parameters:
	//  - Locale
	GetBootstrapInfo(ctx context.Context, locale string) (r *BootstrapInfo, err error)
	// This is used to check a username and password in order to create a
	// long-lived authentication token that can be used for further actions.
	//
	// This function is not available to most third party applications,
	// which typically authenticate using OAuth as
	// described at
	// <a href="http://dev.evernote.com/documentation/cloud/">dev.evernote.com</a>.
	// If you believe that your application requires permission to authenticate
	// using username and password instead of OAuth, please contact Evernote
	// developer support by visiting
	// <a href="http://dev.evernote.com">dev.evernote.com</a>.
	//
	// @param username
	//   The username or registered email address of the account to
	//   authenticate against.
	//
	// @param password
	//   The plaintext password to check against the account.  Since
	//   this is not protected by the EDAM protocol, this information must be
	//   provided over a protected transport (i.e. SSL).
	//
	// @param consumerKey
	//   The "consumer key" portion of the API key issued to the client application
	//   by Evernote.
	//
	// @param consumerSecret
	//   The "consumer secret" portion of the API key issued to the client application
	//   by Evernote.
	//
	// @param deviceIdentifier
	//   An optional string that uniquely identifies the device from which the
	//   authentication is being performed. This string allows the service to return the
	//   same authentication token when a given application requests authentication
	//   repeatedly from the same device. This may happen when the user logs out of an
	//   application and then logs back in, or when the application is uninstalled
	//   and later reinstalled. If no reliable device identifier can be created,
	//   this value should be omitted. If set, the device identifier must be between
	//   1 and EDAM_DEVICE_ID_LEN_MAX characters long and must match the regular expression
	//   EDAM_DEVICE_ID_REGEX.
	//
	// @param deviceDescription
	//   A description of the device from which the authentication is being performed.
	//   This field is displayed to the user in a list of authorized applications to
	//   allow them to distinguish between multiple tokens issued to the same client
	//   application on different devices. For example, the Evernote iOS client on
	//   a user's iPhone and iPad might pass the iOS device names "Bob's iPhone" and
	//   "Bob's iPad". The device description must be between 1 and
	//   EDAM_DEVICE_DESCRIPTION_LEN_MAX characters long and must match the regular
	//   expression EDAM_DEVICE_DESCRIPTION_REGEX.
	//
	// @param supportsTwoFactor
	//   Whether the calling application supports two-factor authentication. If this
	//   parameter is false, this method will fail with the error code INVALID_AUTH and the
	//   parameter "password" when called for a user who has enabled two-factor
	//   authentication.
	//
	// @return
	//   <p>The result of the authentication. The level of detail provided in the returned
	//   AuthenticationResult.User structure depends on the access level granted by
	//   calling application's API key.</p>
	//   <p>If the user has two-factor authentication enabled,
	//   AuthenticationResult.secondFactorRequired will be set and
	//   AuthenticationResult.authenticationToken will contain a short-lived token
	//   that may only be used to complete the two-factor authentication process by calling
	//   UserStore.completeTwoFactorAuthentication.</p>
	//
	// @throws EDAMUserException <ul>
	//   <li> DATA_REQUIRED "username" - username is empty
	//   <li> DATA_REQUIRED "password" - password is empty
	//   <li> DATA_REQUIRED "consumerKey" - consumerKey is empty
	//   <li> DATA_REQUIRED "consumerSecret" - consumerSecret is empty
	//   <li> DATA_REQUIRED "deviceDescription" - deviceDescription is empty
	//   <li> BAD_DATA_FORMAT "deviceDescription" - deviceDescription is not valid.
	//   <li> BAD_DATA_FORMAT "deviceIdentifier" - deviceIdentifier is not valid.
	//   <li> INVALID_AUTH "username" - username not found
	//   <li> INVALID_AUTH "password" - password did not match
	//   <li> INVALID_AUTH "consumerKey" - consumerKey is not authorized
	//   <li> INVALID_AUTH "consumerSecret" - consumerSecret is incorrect
	//   <li> INVALID_AUTH "businessOnly" - the user is a business-only account
	//   <li> PERMISSION_DENIED "User.active" - user account is closed
	//   <li> PERMISSION_DENIED "User.tooManyFailuresTryAgainLater" - user has
	//     failed authentication too often
	//   <li> AUTH_EXPIRED "password" - user password is expired
	// </ul>
	//
	// Parameters:
	//  - Username
	//  - Password
	//  - ConsumerKey
	//  - ConsumerSecret
	//  - DeviceIdentifier
	//  - DeviceDescription
	//  - SupportsTwoFactor
	AuthenticateLongSession(ctx context.Context, username string, password string, consumerKey string, consumerSecret string, deviceIdentifier string, deviceDescription string, supportsTwoFactor bool) (r *AuthenticationResult_, err error)
	// Complete the authentication process when a second factor is required. This
	// call is made after a successful call to authenticate or authenticateLongSession
	// when the authenticating user has enabled two-factor authentication.
	//
	// @param authenticationToken An authentication token returned by a previous
	//   call to UserStore.authenticate or UserStore.authenticateLongSession that
	//   could not be completed in a single call because a second factor was required.
	//
	// @param oneTimeCode The one time code entered by the user. This value is delivered
	//   out-of-band, typically via SMS or an authenticator application.
	//
	// @param deviceIdentifier See the corresponding parameter in authenticateLongSession.
	//
	// @param deviceDescription See the corresponding parameter in authenticateLongSession.
	//
	// @return
	//   The result of the authentication. The level of detail provided in the returned
	//   AuthenticationResult.User structure depends on the access level granted by the
	//   calling application's API key. If the initial authentication call was made to
	//   authenticateLongSession, the AuthenticationResult will contain a long-lived
	//   authentication token.
	//
	// @throws EDAMUserException <ul>
	//   <li> DATA_REQUIRED "authenticationToken" - authenticationToken is empty
	//   <li> DATA_REQUIRED "oneTimeCode" - oneTimeCode is empty
	//   <li> BAD_DATA_FORMAT "deviceIdentifier" - deviceIdentifier is not valid
	//   <li> BAD_DATA_FORMAT "authenticationToken" - authenticationToken is not well formed
	//   <li> INVALID_AUTH "oneTimeCode" - oneTimeCode did not match
	//   <li> AUTH_EXPIRED "authenticationToken" - authenticationToken has expired
	//   <li> PERMISSION_DENIED "authenticationToken" - authenticationToken is not valid
	//   <li> PERMISSION_DENIED "User.active" - user account is closed
	//   <li> PERMISSION_DENIED "User.tooManyFailuresTryAgainLater" - user has
	//     failed authentication too often
	//   <li> DATA_CONFLICT "User.twoFactorAuthentication" - The user has not enabled
	//      two-factor authentication.</li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - OneTimeCode
	//  - DeviceIdentifier
	//  - DeviceDescription
	CompleteTwoFactorAuthentication(ctx context.Context, authenticationToken string, oneTimeCode string, deviceIdentifier string, deviceDescription string) (r *AuthenticationResult_, err error)
	// Revoke an existing long lived authentication token. This can be used to
	// revoke OAuth tokens or tokens created by calling authenticateLongSession,
	// and allows a user to effectively log out of Evernote from the perspective
	// of the application that holds the token. The authentication token that is
	// passed is immediately revoked and may not be used to call any authenticated
	// EDAM function.
	//
	// @param authenticationToken the authentication token to revoke.
	//
	// @throws EDAMUserException <ul>
	//   <li> DATA_REQUIRED "authenticationToken" - no authentication token provided
	//   <li> BAD_DATA_FORMAT "authenticationToken" - the authentication token is not well formed
	//   <li> INVALID_AUTH "authenticationToken" - the authentication token is invalid
	//   <li> AUTH_EXPIRED "authenticationToken" - the authentication token is expired or
	//     is already revoked.
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	RevokeLongSession(ctx context.Context, authenticationToken string) (err error)
	// This is used to take an existing authentication token that grants access
	// to an individual user account (returned from 'authenticate',
	// 'authenticateLongSession' or an OAuth authorization) and obtain an additional
	// authentication token that may be used to access business notebooks if the user
	// is a member of an Evernote Business account.
	//
	// The resulting authentication token may be used to make NoteStore API calls
	// against the business using the NoteStore URL returned in the result.
	//
	// @param authenticationToken
	//   The authentication token for the user. This may not be a shared authentication
	//   token (returned by NoteStore.authenticateToSharedNotebook or
	//   NoteStore.authenticateToSharedNote) or a business authentication token.
	//
	// @return
	//   The result of the authentication, with the token granting access to the
	//   business in the result's 'authenticationToken' field. The URL that must
	//   be used to access the business account NoteStore will be returned in the
	//   result's 'noteStoreUrl' field.  The 'User' field will
	//   not be set in the result.
	//
	// @throws EDAMUserException <ul>
	//   <li> PERMISSION_DENIED "authenticationToken" - the provided authentication token
	//        is a shared or business authentication token. </li>
	//   <li> PERMISSION_DENIED "Business" - the user identified by the provided
	//        authentication token is not currently a member of a business. </li>
	//   <li> PERMISSION_DENIED "Business.status" - the business that the user is a
	//        member of is not currently in an active status. </li>
	//   <li> BUSINESS_SECURITY_LOGIN_REQUIRED "sso" - the user must complete single
	//        sign-on before authenticating to the business.
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	AuthenticateToBusiness(ctx context.Context, authenticationToken string) (r *AuthenticationResult_, err error)
	// Returns the User corresponding to the provided authentication token,
	// or throws an exception if this token is not valid.
	// The level of detail provided in the returned User structure depends on
	// the access level granted by the token, so a web service client may receive
	// fewer fields than an integrated desktop client.
	//
	// Parameters:
	//  - AuthenticationToken
	GetUser(ctx context.Context, authenticationToken string) (r *User, err error)
	// Asks the UserStore about the publicly available location information for
	// a particular username.
	//
	// @throws EDAMUserException <ul>
	//   <li> DATA_REQUIRED "username" - username is empty
	// </ul>
	//
	// Parameters:
	//  - Username
	GetPublicUserInfo(ctx context.Context, username string) (r *PublicUserInfo, err error)
	// <p>Returns the URLs that should be used when sending requests to the service on
	// behalf of the account represented by the provided authenticationToken.</p>
	//
	// <p>This method isn't needed by most clients, who can retreive the correct set of
	// UserUrls from the AuthenticationResult returned from
	// UserStore#authenticateLongSession(). This method is typically only needed to look up
	// the correct URLs for an existing long-lived authentication token.</p>
	//
	// Parameters:
	//  - AuthenticationToken
	GetUserUrls(ctx context.Context, authenticationToken string) (r *UserUrls, err error)
	// Invite a user to join an Evernote Business account.
	//
	// Behavior will depend on the auth token. <ol>
	//   <li>
	//     auth token with privileges to manage Evernote Business membership.
	//       "External Provisioning" - The user will receive an email inviting
	//       them to join the business. They do not need to have an existing Evernote
	//       account. If the user has already been invited, a new invitation email
	//       will be sent.
	//   </li>
	//   <li>
	//     business auth token issued to an admin user. Only for first-party clients:
	//       "Approve Invitation" - If there has been a request to invite the email,
	//       approve it. Invited user will receive email with a link to join business.
	//       "Invite User" - If no invitation for the email exists, create an approved
	//       invitation for the email. An email will be sent to the emailAddress with
	//       a link to join the caller's business.
	//   </li>
	//   </li>
	//     business auth token:
	//       "Request Invitation" - If no invitation exists, create a request to
	//       invite the user to the business. These requests do not count towards a
	//       business' max active user limit.
	//   </li>
	// </ol>
	//
	// @param authenticationToken
	//   the authentication token with sufficient privileges to manage Evernote Business
	//   membership or a business auth token.
	//
	// @param emailAddress
	//   the email address of the user to invite to join the Evernote Business account.
	//
	// @throws EDAMUserException <ul>
	//   <li> DATA_REQUIRED "email" - if no email address was provided </li>
	//   <li> BAD_DATA_FORMAT "email" - if the email address is not well formed </li>
	//   <li> DATA_CONFLICT "BusinessUser.email" - if there is already a user in the business
	//     whose business email address matches the specified email address. </li>
	//   <li> LIMIT_REACHED "Business.maxActiveUsers" - if the business has reached its
	//     user limit. </li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - EmailAddress
	InviteToBusiness(ctx context.Context, authenticationToken string, emailAddress string) (err error)
	// Remove a user from an Evernote Business account. Once removed, the user will no
	// longer be able to access content within the Evernote Business account.
	//
	// <p>The email address of the user to remove from the business must match the email
	// address used to invite a user to join the business via UserStore.inviteToBusiness.
	// This function will only remove users who were invited by external provisioning</p>
	//
	// @param authenticationToken
	//   An authentication token with sufficient privileges to manage Evernote Business
	//   membership.
	//
	// @param emailAddress
	//   The email address of the user to remove from the Evernote Business account.
	//
	// @throws EDAMUserException <ul>
	//   <li> DATA_REQUIRED "email" - if no email address was provided </li>
	//   <li> BAD_DATA_FORMAT "email" - The email address is not well formed </li>
	// </ul>
	// @throws EDAMNotFoundException <ul>
	//   <li> "email" - If there is no user with the specified email address in the
	//     business or that user was not invited via external provisioning. </li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - EmailAddress
	RemoveFromBusiness(ctx context.Context, authenticationToken string, emailAddress string) (err error)
	// Update the email address used to uniquely identify an Evernote Business user.
	//
	// This will update the identifier for a user who was previously invited using
	// inviteToBusiness, ensuring that caller and the Evernote service maintain an
	// agreed-upon identifier for a specific user.
	//
	// For example, the following sequence of calls would invite a user to join
	// a business, update their email address, and then remove the user
	// from the business using the updated email address.
	//
	// inviteToBusiness("foo@bar.com")
	// updateBusinessUserIdentifier("foo@bar.com", "baz@bar.com")
	// removeFromBusiness("baz@bar.com")
	//
	// @param authenticationToken
	//   An authentication token with sufficient privileges to manage Evernote Business
	//   membership.
	//
	// @param oldEmailAddress
	//   The existing email address used to uniquely identify the user.
	//
	// @param newEmailAddress
	//   The new email address used to uniquely identify the user.
	//
	// @throws EDAMUserException <ul>
	//   <li>DATA_REQUIRED "oldEmailAddress" - No old email address was provided</li>
	//   <li>DATA_REQUIRED "newEmailAddress" - No new email address was provided</li>
	//   <li>BAD_DATA_FORMAT "oldEmailAddress" - The old email address is not well formed</li>
	//   <li>BAD_DATA_FORMAT "newEmailAddress" - The new email address is not well formed</li>
	//   <li>DATA_CONFLICT "oldEmailAddress" - The old and new email addresses were the same</li>
	//   <li>DATA_CONFLICT "newEmailAddress" - There is already an invitation or registered user with
	//     the provided new email address.</li>
	//   <li>DATA_CONFLICT "invitation.externallyProvisioned" - The user identified by
	//     oldEmailAddress was not added via UserStore.inviteToBusiness and therefore cannot be
	//     updated.</li>
	// </ul>
	// @throws EDAMNotFoundException <ul>
	//   <li>"oldEmailAddress" - If there is no user or invitation with the specified oldEmailAddress
	//     in the business.</li>
	// </ul>
	//
	// Parameters:
	//  - AuthenticationToken
	//  - OldEmailAddress
	//  - NewEmailAddress_
	UpdateBusinessUserIdentifier(ctx context.Context, authenticationToken string, oldEmailAddress string, newEmailAddress string) (err error)
	// Returns a list of active business users in a given business.
	//
	// Clients are required to cache this information and re-fetch no more than once per day
	// or when they encountered a user ID or username that was not known to them.
	//
	// To avoid excessive look ups, clients should also track user IDs and usernames that belong
	// to users who are not in the business, since they will not be included in the result.
	//
	// I.e., when a client encounters a previously unknown user ID as a note's creator, it may query
	// listBusinessUsers to find information about this user. If the user is not in the resulting
	// list, the client should track that fact and not re-query the service the next time that it sees
	// this user on a note.
	//
	// @param authenticationToken
	//   A business authentication token returned by authenticateToBusiness or with sufficient
	//   privileges to manage Evernote Business membership.
	//
	// Parameters:
	//  - AuthenticationToken
	ListBusinessUsers(ctx context.Context, authenticationToken string) (r []*UserProfile, err error)
	// Returns a list of outstanding invitations to join an Evernote Business account.
	//
	// Only outstanding invitations are returned by this function. Users who have accepted an
	// invitation and joined a business are listed using listBusinessUsers.
	//
	// @param authenticationToken
	//   An authentication token with sufficient privileges to manage Evernote Business membership.
	//
	// @param includeRequestedInvitations
	//   If true, invitations with a status of BusinessInvitationStatus.REQUESTED will be included
	//   in the returned list. If false, only invitations with a status of
	//   BusinessInvitationStatus.APPROVED will be included.
	//
	// Parameters:
	//  - AuthenticationToken
	//  - IncludeRequestedInvitations
	ListBusinessInvitations(ctx context.Context, authenticationToken string, includeRequestedInvitations bool) (r []*BusinessInvitation, err error)
	// Retrieve the standard account limits for a given service level. This should only be
	// called when necessary, e.g. to determine if a higher level is available should the
	// user upgrade, and should be cached for long periods (e.g. 30 days) as the values are
	// not expected to fluctuate frequently.
	//
	// @throws EDAMUserException <ul>
	//   <li>DATA_REQUIRED "serviceLevel" - serviceLevel is null</li>
	// </ul>
	//
	// Parameters:
	//  - ServiceLevel
	GetAccountLimits(ctx context.Context, serviceLevel ServiceLevel) (r *AccountLimits, err error)
}

type UserStoreAuthenticateLongSessionArgs

type UserStoreAuthenticateLongSessionArgs struct {
	Username          string `thrift:"username,1" db:"username" json:"username"`
	Password          string `thrift:"password,2" db:"password" json:"password"`
	ConsumerKey       string `thrift:"consumerKey,3" db:"consumerKey" json:"consumerKey"`
	ConsumerSecret    string `thrift:"consumerSecret,4" db:"consumerSecret" json:"consumerSecret"`
	DeviceIdentifier  string `thrift:"deviceIdentifier,5" db:"deviceIdentifier" json:"deviceIdentifier"`
	DeviceDescription string `thrift:"deviceDescription,6" db:"deviceDescription" json:"deviceDescription"`
	SupportsTwoFactor bool   `thrift:"supportsTwoFactor,7" db:"supportsTwoFactor" json:"supportsTwoFactor"`
}

Attributes:

  • Username
  • Password
  • ConsumerKey
  • ConsumerSecret
  • DeviceIdentifier
  • DeviceDescription
  • SupportsTwoFactor

func NewUserStoreAuthenticateLongSessionArgs

func NewUserStoreAuthenticateLongSessionArgs() *UserStoreAuthenticateLongSessionArgs

func (*UserStoreAuthenticateLongSessionArgs) GetConsumerKey

func (p *UserStoreAuthenticateLongSessionArgs) GetConsumerKey() string

func (*UserStoreAuthenticateLongSessionArgs) GetConsumerSecret

func (p *UserStoreAuthenticateLongSessionArgs) GetConsumerSecret() string

func (*UserStoreAuthenticateLongSessionArgs) GetDeviceDescription

func (p *UserStoreAuthenticateLongSessionArgs) GetDeviceDescription() string

func (*UserStoreAuthenticateLongSessionArgs) GetDeviceIdentifier

func (p *UserStoreAuthenticateLongSessionArgs) GetDeviceIdentifier() string

func (*UserStoreAuthenticateLongSessionArgs) GetPassword

func (*UserStoreAuthenticateLongSessionArgs) GetSupportsTwoFactor

func (p *UserStoreAuthenticateLongSessionArgs) GetSupportsTwoFactor() bool

func (*UserStoreAuthenticateLongSessionArgs) GetUsername

func (*UserStoreAuthenticateLongSessionArgs) Read

func (*UserStoreAuthenticateLongSessionArgs) ReadField1

func (*UserStoreAuthenticateLongSessionArgs) ReadField2

func (*UserStoreAuthenticateLongSessionArgs) ReadField3

func (*UserStoreAuthenticateLongSessionArgs) ReadField4

func (*UserStoreAuthenticateLongSessionArgs) ReadField5

func (*UserStoreAuthenticateLongSessionArgs) ReadField6

func (*UserStoreAuthenticateLongSessionArgs) ReadField7

func (*UserStoreAuthenticateLongSessionArgs) String

func (*UserStoreAuthenticateLongSessionArgs) Write

type UserStoreAuthenticateLongSessionResult

type UserStoreAuthenticateLongSessionResult struct {
	Success         *AuthenticationResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewUserStoreAuthenticateLongSessionResult

func NewUserStoreAuthenticateLongSessionResult() *UserStoreAuthenticateLongSessionResult

func (*UserStoreAuthenticateLongSessionResult) GetSuccess

func (*UserStoreAuthenticateLongSessionResult) GetSystemException

func (*UserStoreAuthenticateLongSessionResult) GetUserException

func (*UserStoreAuthenticateLongSessionResult) IsSetSuccess

func (p *UserStoreAuthenticateLongSessionResult) IsSetSuccess() bool

func (*UserStoreAuthenticateLongSessionResult) IsSetSystemException

func (p *UserStoreAuthenticateLongSessionResult) IsSetSystemException() bool

func (*UserStoreAuthenticateLongSessionResult) IsSetUserException

func (p *UserStoreAuthenticateLongSessionResult) IsSetUserException() bool

func (*UserStoreAuthenticateLongSessionResult) Read

func (*UserStoreAuthenticateLongSessionResult) ReadField0

func (*UserStoreAuthenticateLongSessionResult) ReadField1

func (*UserStoreAuthenticateLongSessionResult) ReadField2

func (*UserStoreAuthenticateLongSessionResult) String

func (*UserStoreAuthenticateLongSessionResult) Write

type UserStoreAuthenticateToBusinessArgs

type UserStoreAuthenticateToBusinessArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewUserStoreAuthenticateToBusinessArgs

func NewUserStoreAuthenticateToBusinessArgs() *UserStoreAuthenticateToBusinessArgs

func (*UserStoreAuthenticateToBusinessArgs) GetAuthenticationToken

func (p *UserStoreAuthenticateToBusinessArgs) GetAuthenticationToken() string

func (*UserStoreAuthenticateToBusinessArgs) Read

func (*UserStoreAuthenticateToBusinessArgs) ReadField1

func (*UserStoreAuthenticateToBusinessArgs) String

func (*UserStoreAuthenticateToBusinessArgs) Write

type UserStoreAuthenticateToBusinessResult

type UserStoreAuthenticateToBusinessResult struct {
	Success         *AuthenticationResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewUserStoreAuthenticateToBusinessResult

func NewUserStoreAuthenticateToBusinessResult() *UserStoreAuthenticateToBusinessResult

func (*UserStoreAuthenticateToBusinessResult) GetSuccess

func (*UserStoreAuthenticateToBusinessResult) GetSystemException

func (*UserStoreAuthenticateToBusinessResult) GetUserException

func (*UserStoreAuthenticateToBusinessResult) IsSetSuccess

func (p *UserStoreAuthenticateToBusinessResult) IsSetSuccess() bool

func (*UserStoreAuthenticateToBusinessResult) IsSetSystemException

func (p *UserStoreAuthenticateToBusinessResult) IsSetSystemException() bool

func (*UserStoreAuthenticateToBusinessResult) IsSetUserException

func (p *UserStoreAuthenticateToBusinessResult) IsSetUserException() bool

func (*UserStoreAuthenticateToBusinessResult) Read

func (*UserStoreAuthenticateToBusinessResult) ReadField0

func (*UserStoreAuthenticateToBusinessResult) ReadField1

func (*UserStoreAuthenticateToBusinessResult) ReadField2

func (*UserStoreAuthenticateToBusinessResult) String

func (*UserStoreAuthenticateToBusinessResult) Write

type UserStoreCheckVersionArgs

type UserStoreCheckVersionArgs struct {
	ClientName       string `thrift:"clientName,1" db:"clientName" json:"clientName"`
	EdamVersionMajor int16  `thrift:"edamVersionMajor,2" db:"edamVersionMajor" json:"edamVersionMajor"`
	EdamVersionMinor int16  `thrift:"edamVersionMinor,3" db:"edamVersionMinor" json:"edamVersionMinor"`
}

Attributes:

  • ClientName
  • EdamVersionMajor
  • EdamVersionMinor

func NewUserStoreCheckVersionArgs

func NewUserStoreCheckVersionArgs() *UserStoreCheckVersionArgs

func (*UserStoreCheckVersionArgs) GetClientName

func (p *UserStoreCheckVersionArgs) GetClientName() string

func (*UserStoreCheckVersionArgs) GetEdamVersionMajor

func (p *UserStoreCheckVersionArgs) GetEdamVersionMajor() int16

func (*UserStoreCheckVersionArgs) GetEdamVersionMinor

func (p *UserStoreCheckVersionArgs) GetEdamVersionMinor() int16

func (*UserStoreCheckVersionArgs) Read

func (*UserStoreCheckVersionArgs) ReadField1

func (p *UserStoreCheckVersionArgs) ReadField1(iprot thrift.TProtocol) error

func (*UserStoreCheckVersionArgs) ReadField2

func (p *UserStoreCheckVersionArgs) ReadField2(iprot thrift.TProtocol) error

func (*UserStoreCheckVersionArgs) ReadField3

func (p *UserStoreCheckVersionArgs) ReadField3(iprot thrift.TProtocol) error

func (*UserStoreCheckVersionArgs) String

func (p *UserStoreCheckVersionArgs) String() string

func (*UserStoreCheckVersionArgs) Write

type UserStoreCheckVersionResult

type UserStoreCheckVersionResult struct {
	Success *bool `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewUserStoreCheckVersionResult

func NewUserStoreCheckVersionResult() *UserStoreCheckVersionResult

func (*UserStoreCheckVersionResult) GetSuccess

func (p *UserStoreCheckVersionResult) GetSuccess() bool

func (*UserStoreCheckVersionResult) IsSetSuccess

func (p *UserStoreCheckVersionResult) IsSetSuccess() bool

func (*UserStoreCheckVersionResult) Read

func (*UserStoreCheckVersionResult) ReadField0

func (p *UserStoreCheckVersionResult) ReadField0(iprot thrift.TProtocol) error

func (*UserStoreCheckVersionResult) String

func (p *UserStoreCheckVersionResult) String() string

func (*UserStoreCheckVersionResult) Write

type UserStoreClient

type UserStoreClient struct {
	// contains filtered or unexported fields
}

Service: UserStore <p> The UserStore service is primarily used by EDAM clients to establish authentication via username and password over a trusted connection (e.g. SSL). A client's first call to this interface should be checkVersion() to ensure that the client's software is up to date. </p> All calls which require an authenticationToken may throw an EDAMUserException for the following reasons: <ul>

<li> AUTH_EXPIRED "authenticationToken" - token has expired
<li> BAD_DATA_FORMAT "authenticationToken" - token is malformed
<li> DATA_REQUIRED "authenticationToken" - token is empty
<li> INVALID_AUTH "authenticationToken" - token signature is invalid
<li> PERMISSION_DENIED "authenticationToken" - token does not convey sufficient
  privileges

</ul>

func NewUserStoreClient

func NewUserStoreClient(c thrift.TClient) *UserStoreClient

func NewUserStoreClientProtocol

func NewUserStoreClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *UserStoreClient

func (*UserStoreClient) AuthenticateLongSession

func (p *UserStoreClient) AuthenticateLongSession(ctx context.Context, username string, password string, consumerKey string, consumerSecret string, deviceIdentifier string, deviceDescription string, supportsTwoFactor bool) (r *AuthenticationResult_, err error)

This is used to check a username and password in order to create a long-lived authentication token that can be used for further actions.

This function is not available to most third party applications, which typically authenticate using OAuth as described at <a href="http://dev.evernote.com/documentation/cloud/">dev.evernote.com</a>. If you believe that your application requires permission to authenticate using username and password instead of OAuth, please contact Evernote developer support by visiting <a href="http://dev.evernote.com">dev.evernote.com</a>.

@param username

The username or registered email address of the account to
authenticate against.

@param password

The plaintext password to check against the account.  Since
this is not protected by the EDAM protocol, this information must be
provided over a protected transport (i.e. SSL).

@param consumerKey

The "consumer key" portion of the API key issued to the client application
by Evernote.

@param consumerSecret

The "consumer secret" portion of the API key issued to the client application
by Evernote.

@param deviceIdentifier

An optional string that uniquely identifies the device from which the
authentication is being performed. This string allows the service to return the
same authentication token when a given application requests authentication
repeatedly from the same device. This may happen when the user logs out of an
application and then logs back in, or when the application is uninstalled
and later reinstalled. If no reliable device identifier can be created,
this value should be omitted. If set, the device identifier must be between
1 and EDAM_DEVICE_ID_LEN_MAX characters long and must match the regular expression
EDAM_DEVICE_ID_REGEX.

@param deviceDescription

A description of the device from which the authentication is being performed.
This field is displayed to the user in a list of authorized applications to
allow them to distinguish between multiple tokens issued to the same client
application on different devices. For example, the Evernote iOS client on
a user's iPhone and iPad might pass the iOS device names "Bob's iPhone" and
"Bob's iPad". The device description must be between 1 and
EDAM_DEVICE_DESCRIPTION_LEN_MAX characters long and must match the regular
expression EDAM_DEVICE_DESCRIPTION_REGEX.

@param supportsTwoFactor

Whether the calling application supports two-factor authentication. If this
parameter is false, this method will fail with the error code INVALID_AUTH and the
parameter "password" when called for a user who has enabled two-factor
authentication.

@return

<p>The result of the authentication. The level of detail provided in the returned
AuthenticationResult.User structure depends on the access level granted by
calling application's API key.</p>
<p>If the user has two-factor authentication enabled,
AuthenticationResult.secondFactorRequired will be set and
AuthenticationResult.authenticationToken will contain a short-lived token
that may only be used to complete the two-factor authentication process by calling
UserStore.completeTwoFactorAuthentication.</p>

@throws EDAMUserException <ul>

<li> DATA_REQUIRED "username" - username is empty
<li> DATA_REQUIRED "password" - password is empty
<li> DATA_REQUIRED "consumerKey" - consumerKey is empty
<li> DATA_REQUIRED "consumerSecret" - consumerSecret is empty
<li> DATA_REQUIRED "deviceDescription" - deviceDescription is empty
<li> BAD_DATA_FORMAT "deviceDescription" - deviceDescription is not valid.
<li> BAD_DATA_FORMAT "deviceIdentifier" - deviceIdentifier is not valid.
<li> INVALID_AUTH "username" - username not found
<li> INVALID_AUTH "password" - password did not match
<li> INVALID_AUTH "consumerKey" - consumerKey is not authorized
<li> INVALID_AUTH "consumerSecret" - consumerSecret is incorrect
<li> INVALID_AUTH "businessOnly" - the user is a business-only account
<li> PERMISSION_DENIED "User.active" - user account is closed
<li> PERMISSION_DENIED "User.tooManyFailuresTryAgainLater" - user has
  failed authentication too often
<li> AUTH_EXPIRED "password" - user password is expired

</ul>

Parameters:

  • Username
  • Password
  • ConsumerKey
  • ConsumerSecret
  • DeviceIdentifier
  • DeviceDescription
  • SupportsTwoFactor

func (*UserStoreClient) AuthenticateToBusiness

func (p *UserStoreClient) AuthenticateToBusiness(ctx context.Context, authenticationToken string) (r *AuthenticationResult_, err error)

This is used to take an existing authentication token that grants access to an individual user account (returned from 'authenticate', 'authenticateLongSession' or an OAuth authorization) and obtain an additional authentication token that may be used to access business notebooks if the user is a member of an Evernote Business account.

The resulting authentication token may be used to make NoteStore API calls against the business using the NoteStore URL returned in the result.

@param authenticationToken

The authentication token for the user. This may not be a shared authentication
token (returned by NoteStore.authenticateToSharedNotebook or
NoteStore.authenticateToSharedNote) or a business authentication token.

@return

The result of the authentication, with the token granting access to the
business in the result's 'authenticationToken' field. The URL that must
be used to access the business account NoteStore will be returned in the
result's 'noteStoreUrl' field.  The 'User' field will
not be set in the result.

@throws EDAMUserException <ul>

<li> PERMISSION_DENIED "authenticationToken" - the provided authentication token
     is a shared or business authentication token. </li>
<li> PERMISSION_DENIED "Business" - the user identified by the provided
     authentication token is not currently a member of a business. </li>
<li> PERMISSION_DENIED "Business.status" - the business that the user is a
     member of is not currently in an active status. </li>
<li> BUSINESS_SECURITY_LOGIN_REQUIRED "sso" - the user must complete single
     sign-on before authenticating to the business.

</ul>

Parameters:

  • AuthenticationToken

func (*UserStoreClient) CheckVersion

func (p *UserStoreClient) CheckVersion(ctx context.Context, clientName string, edamVersionMajor int16, edamVersionMinor int16) (r bool, err error)

This should be the first call made by a client to the EDAM service. It tells the service what protocol version is used by the client. The service will then return true if the client is capable of talking to the service, and false if the client's protocol version is incompatible with the service, so the client must upgrade. If a client receives a false value, it should report the incompatibility to the user and not continue with any more EDAM requests (UserStore or NoteStore).

@param clientName

This string provides some information about the client for
tracking/logging on the service.  It should provide information about
the client's software and platform. The structure should be:
application/version; platform/version; [ device/version ]
E.g. "Evernote Windows/3.0.1; Windows/XP SP3".

@param edamVersionMajor

This should be the major protocol version that was compiled by the
client.  This should be the current value of the EDAM_VERSION_MAJOR
constant for the client.

@param edamVersionMinor

This should be the major protocol version that was compiled by the
client.  This should be the current value of the EDAM_VERSION_MINOR
constant for the client.

Parameters:

  • ClientName
  • EdamVersionMajor
  • EdamVersionMinor

func (*UserStoreClient) Client_

func (p *UserStoreClient) Client_() thrift.TClient

func (*UserStoreClient) CompleteTwoFactorAuthentication

func (p *UserStoreClient) CompleteTwoFactorAuthentication(ctx context.Context, authenticationToken string, oneTimeCode string, deviceIdentifier string, deviceDescription string) (r *AuthenticationResult_, err error)

Complete the authentication process when a second factor is required. This call is made after a successful call to authenticate or authenticateLongSession when the authenticating user has enabled two-factor authentication.

@param authenticationToken An authentication token returned by a previous

call to UserStore.authenticate or UserStore.authenticateLongSession that
could not be completed in a single call because a second factor was required.

@param oneTimeCode The one time code entered by the user. This value is delivered

out-of-band, typically via SMS or an authenticator application.

@param deviceIdentifier See the corresponding parameter in authenticateLongSession.

@param deviceDescription See the corresponding parameter in authenticateLongSession.

@return

The result of the authentication. The level of detail provided in the returned
AuthenticationResult.User structure depends on the access level granted by the
calling application's API key. If the initial authentication call was made to
authenticateLongSession, the AuthenticationResult will contain a long-lived
authentication token.

@throws EDAMUserException <ul>

<li> DATA_REQUIRED "authenticationToken" - authenticationToken is empty
<li> DATA_REQUIRED "oneTimeCode" - oneTimeCode is empty
<li> BAD_DATA_FORMAT "deviceIdentifier" - deviceIdentifier is not valid
<li> BAD_DATA_FORMAT "authenticationToken" - authenticationToken is not well formed
<li> INVALID_AUTH "oneTimeCode" - oneTimeCode did not match
<li> AUTH_EXPIRED "authenticationToken" - authenticationToken has expired
<li> PERMISSION_DENIED "authenticationToken" - authenticationToken is not valid
<li> PERMISSION_DENIED "User.active" - user account is closed
<li> PERMISSION_DENIED "User.tooManyFailuresTryAgainLater" - user has
  failed authentication too often
<li> DATA_CONFLICT "User.twoFactorAuthentication" - The user has not enabled
   two-factor authentication.</li>

</ul>

Parameters:

  • AuthenticationToken
  • OneTimeCode
  • DeviceIdentifier
  • DeviceDescription

func (*UserStoreClient) GetAccountLimits

func (p *UserStoreClient) GetAccountLimits(ctx context.Context, serviceLevel ServiceLevel) (r *AccountLimits, err error)

Retrieve the standard account limits for a given service level. This should only be called when necessary, e.g. to determine if a higher level is available should the user upgrade, and should be cached for long periods (e.g. 30 days) as the values are not expected to fluctuate frequently.

@throws EDAMUserException <ul>

<li>DATA_REQUIRED "serviceLevel" - serviceLevel is null</li>

</ul>

Parameters:

  • ServiceLevel

func (*UserStoreClient) GetBootstrapInfo

func (p *UserStoreClient) GetBootstrapInfo(ctx context.Context, locale string) (r *BootstrapInfo, err error)

This provides bootstrap information to the client. Various bootstrap profiles and settings may be used by the client to configure itself.

@param locale

The client's current locale, expressed in language[_country]
format. E.g., "en_US". See ISO-639 and ISO-3166 for valid
language and country codes.

@return

The bootstrap information suitable for this client.

Parameters:

  • Locale

func (*UserStoreClient) GetPublicUserInfo

func (p *UserStoreClient) GetPublicUserInfo(ctx context.Context, username string) (r *PublicUserInfo, err error)

Asks the UserStore about the publicly available location information for a particular username.

@throws EDAMUserException <ul>

<li> DATA_REQUIRED "username" - username is empty

</ul>

Parameters:

  • Username

func (*UserStoreClient) GetUser

func (p *UserStoreClient) GetUser(ctx context.Context, authenticationToken string) (r *User, err error)

Returns the User corresponding to the provided authentication token, or throws an exception if this token is not valid. The level of detail provided in the returned User structure depends on the access level granted by the token, so a web service client may receive fewer fields than an integrated desktop client.

Parameters:

  • AuthenticationToken

func (*UserStoreClient) GetUserUrls

func (p *UserStoreClient) GetUserUrls(ctx context.Context, authenticationToken string) (r *UserUrls, err error)

<p>Returns the URLs that should be used when sending requests to the service on behalf of the account represented by the provided authenticationToken.</p>

<p>This method isn't needed by most clients, who can retreive the correct set of UserUrls from the AuthenticationResult returned from UserStore#authenticateLongSession(). This method is typically only needed to look up the correct URLs for an existing long-lived authentication token.</p>

Parameters:

  • AuthenticationToken

func (*UserStoreClient) InviteToBusiness

func (p *UserStoreClient) InviteToBusiness(ctx context.Context, authenticationToken string, emailAddress string) (err error)

Invite a user to join an Evernote Business account.

Behavior will depend on the auth token. <ol>

<li>
  auth token with privileges to manage Evernote Business membership.
    "External Provisioning" - The user will receive an email inviting
    them to join the business. They do not need to have an existing Evernote
    account. If the user has already been invited, a new invitation email
    will be sent.
</li>
<li>
  business auth token issued to an admin user. Only for first-party clients:
    "Approve Invitation" - If there has been a request to invite the email,
    approve it. Invited user will receive email with a link to join business.
    "Invite User" - If no invitation for the email exists, create an approved
    invitation for the email. An email will be sent to the emailAddress with
    a link to join the caller's business.
</li>
</li>
  business auth token:
    "Request Invitation" - If no invitation exists, create a request to
    invite the user to the business. These requests do not count towards a
    business' max active user limit.
</li>

</ol>

@param authenticationToken

the authentication token with sufficient privileges to manage Evernote Business
membership or a business auth token.

@param emailAddress

the email address of the user to invite to join the Evernote Business account.

@throws EDAMUserException <ul>

<li> DATA_REQUIRED "email" - if no email address was provided </li>
<li> BAD_DATA_FORMAT "email" - if the email address is not well formed </li>
<li> DATA_CONFLICT "BusinessUser.email" - if there is already a user in the business
  whose business email address matches the specified email address. </li>
<li> LIMIT_REACHED "Business.maxActiveUsers" - if the business has reached its
  user limit. </li>

</ul>

Parameters:

  • AuthenticationToken
  • EmailAddress

func (*UserStoreClient) ListBusinessInvitations

func (p *UserStoreClient) ListBusinessInvitations(ctx context.Context, authenticationToken string, includeRequestedInvitations bool) (r []*BusinessInvitation, err error)

Returns a list of outstanding invitations to join an Evernote Business account.

Only outstanding invitations are returned by this function. Users who have accepted an invitation and joined a business are listed using listBusinessUsers.

@param authenticationToken

An authentication token with sufficient privileges to manage Evernote Business membership.

@param includeRequestedInvitations

If true, invitations with a status of BusinessInvitationStatus.REQUESTED will be included
in the returned list. If false, only invitations with a status of
BusinessInvitationStatus.APPROVED will be included.

Parameters:

  • AuthenticationToken
  • IncludeRequestedInvitations

func (*UserStoreClient) ListBusinessUsers

func (p *UserStoreClient) ListBusinessUsers(ctx context.Context, authenticationToken string) (r []*UserProfile, err error)

Returns a list of active business users in a given business.

Clients are required to cache this information and re-fetch no more than once per day or when they encountered a user ID or username that was not known to them.

To avoid excessive look ups, clients should also track user IDs and usernames that belong to users who are not in the business, since they will not be included in the result.

I.e., when a client encounters a previously unknown user ID as a note's creator, it may query listBusinessUsers to find information about this user. If the user is not in the resulting list, the client should track that fact and not re-query the service the next time that it sees this user on a note.

@param authenticationToken

A business authentication token returned by authenticateToBusiness or with sufficient
privileges to manage Evernote Business membership.

Parameters:

  • AuthenticationToken

func (*UserStoreClient) RemoveFromBusiness

func (p *UserStoreClient) RemoveFromBusiness(ctx context.Context, authenticationToken string, emailAddress string) (err error)

Remove a user from an Evernote Business account. Once removed, the user will no longer be able to access content within the Evernote Business account.

<p>The email address of the user to remove from the business must match the email address used to invite a user to join the business via UserStore.inviteToBusiness. This function will only remove users who were invited by external provisioning</p>

@param authenticationToken

An authentication token with sufficient privileges to manage Evernote Business
membership.

@param emailAddress

The email address of the user to remove from the Evernote Business account.

@throws EDAMUserException <ul>

<li> DATA_REQUIRED "email" - if no email address was provided </li>
<li> BAD_DATA_FORMAT "email" - The email address is not well formed </li>

</ul> @throws EDAMNotFoundException <ul>

<li> "email" - If there is no user with the specified email address in the
  business or that user was not invited via external provisioning. </li>

</ul>

Parameters:

  • AuthenticationToken
  • EmailAddress

func (*UserStoreClient) RevokeLongSession

func (p *UserStoreClient) RevokeLongSession(ctx context.Context, authenticationToken string) (err error)

Revoke an existing long lived authentication token. This can be used to revoke OAuth tokens or tokens created by calling authenticateLongSession, and allows a user to effectively log out of Evernote from the perspective of the application that holds the token. The authentication token that is passed is immediately revoked and may not be used to call any authenticated EDAM function.

@param authenticationToken the authentication token to revoke.

@throws EDAMUserException <ul>

<li> DATA_REQUIRED "authenticationToken" - no authentication token provided
<li> BAD_DATA_FORMAT "authenticationToken" - the authentication token is not well formed
<li> INVALID_AUTH "authenticationToken" - the authentication token is invalid
<li> AUTH_EXPIRED "authenticationToken" - the authentication token is expired or
  is already revoked.

</ul>

Parameters:

  • AuthenticationToken

func (*UserStoreClient) UpdateBusinessUserIdentifier

func (p *UserStoreClient) UpdateBusinessUserIdentifier(ctx context.Context, authenticationToken string, oldEmailAddress string, newEmailAddress string) (err error)

Update the email address used to uniquely identify an Evernote Business user.

This will update the identifier for a user who was previously invited using inviteToBusiness, ensuring that caller and the Evernote service maintain an agreed-upon identifier for a specific user.

For example, the following sequence of calls would invite a user to join a business, update their email address, and then remove the user from the business using the updated email address.

inviteToBusiness("foo@bar.com") updateBusinessUserIdentifier("foo@bar.com", "baz@bar.com") removeFromBusiness("baz@bar.com")

@param authenticationToken

An authentication token with sufficient privileges to manage Evernote Business
membership.

@param oldEmailAddress

The existing email address used to uniquely identify the user.

@param newEmailAddress

The new email address used to uniquely identify the user.

@throws EDAMUserException <ul>

<li>DATA_REQUIRED "oldEmailAddress" - No old email address was provided</li>
<li>DATA_REQUIRED "newEmailAddress" - No new email address was provided</li>
<li>BAD_DATA_FORMAT "oldEmailAddress" - The old email address is not well formed</li>
<li>BAD_DATA_FORMAT "newEmailAddress" - The new email address is not well formed</li>
<li>DATA_CONFLICT "oldEmailAddress" - The old and new email addresses were the same</li>
<li>DATA_CONFLICT "newEmailAddress" - There is already an invitation or registered user with
  the provided new email address.</li>
<li>DATA_CONFLICT "invitation.externallyProvisioned" - The user identified by
  oldEmailAddress was not added via UserStore.inviteToBusiness and therefore cannot be
  updated.</li>

</ul> @throws EDAMNotFoundException <ul>

<li>"oldEmailAddress" - If there is no user or invitation with the specified oldEmailAddress
  in the business.</li>

</ul>

Parameters:

  • AuthenticationToken
  • OldEmailAddress
  • NewEmailAddress_

type UserStoreCompleteTwoFactorAuthenticationArgs

type UserStoreCompleteTwoFactorAuthenticationArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	OneTimeCode         string `thrift:"oneTimeCode,2" db:"oneTimeCode" json:"oneTimeCode"`
	DeviceIdentifier    string `thrift:"deviceIdentifier,3" db:"deviceIdentifier" json:"deviceIdentifier"`
	DeviceDescription   string `thrift:"deviceDescription,4" db:"deviceDescription" json:"deviceDescription"`
}

Attributes:

  • AuthenticationToken
  • OneTimeCode
  • DeviceIdentifier
  • DeviceDescription

func NewUserStoreCompleteTwoFactorAuthenticationArgs

func NewUserStoreCompleteTwoFactorAuthenticationArgs() *UserStoreCompleteTwoFactorAuthenticationArgs

func (*UserStoreCompleteTwoFactorAuthenticationArgs) GetAuthenticationToken

func (p *UserStoreCompleteTwoFactorAuthenticationArgs) GetAuthenticationToken() string

func (*UserStoreCompleteTwoFactorAuthenticationArgs) GetDeviceDescription

func (p *UserStoreCompleteTwoFactorAuthenticationArgs) GetDeviceDescription() string

func (*UserStoreCompleteTwoFactorAuthenticationArgs) GetDeviceIdentifier

func (p *UserStoreCompleteTwoFactorAuthenticationArgs) GetDeviceIdentifier() string

func (*UserStoreCompleteTwoFactorAuthenticationArgs) GetOneTimeCode

func (*UserStoreCompleteTwoFactorAuthenticationArgs) Read

func (*UserStoreCompleteTwoFactorAuthenticationArgs) ReadField1

func (*UserStoreCompleteTwoFactorAuthenticationArgs) ReadField2

func (*UserStoreCompleteTwoFactorAuthenticationArgs) ReadField3

func (*UserStoreCompleteTwoFactorAuthenticationArgs) ReadField4

func (*UserStoreCompleteTwoFactorAuthenticationArgs) String

func (*UserStoreCompleteTwoFactorAuthenticationArgs) Write

type UserStoreCompleteTwoFactorAuthenticationResult

type UserStoreCompleteTwoFactorAuthenticationResult struct {
	Success         *AuthenticationResult_ `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewUserStoreCompleteTwoFactorAuthenticationResult

func NewUserStoreCompleteTwoFactorAuthenticationResult() *UserStoreCompleteTwoFactorAuthenticationResult

func (*UserStoreCompleteTwoFactorAuthenticationResult) GetSuccess

func (*UserStoreCompleteTwoFactorAuthenticationResult) GetSystemException

func (*UserStoreCompleteTwoFactorAuthenticationResult) GetUserException

func (*UserStoreCompleteTwoFactorAuthenticationResult) IsSetSuccess

func (*UserStoreCompleteTwoFactorAuthenticationResult) IsSetSystemException

func (p *UserStoreCompleteTwoFactorAuthenticationResult) IsSetSystemException() bool

func (*UserStoreCompleteTwoFactorAuthenticationResult) IsSetUserException

func (p *UserStoreCompleteTwoFactorAuthenticationResult) IsSetUserException() bool

func (*UserStoreCompleteTwoFactorAuthenticationResult) Read

func (*UserStoreCompleteTwoFactorAuthenticationResult) ReadField0

func (*UserStoreCompleteTwoFactorAuthenticationResult) ReadField1

func (*UserStoreCompleteTwoFactorAuthenticationResult) ReadField2

func (*UserStoreCompleteTwoFactorAuthenticationResult) String

func (*UserStoreCompleteTwoFactorAuthenticationResult) Write

type UserStoreGetAccountLimitsArgs

type UserStoreGetAccountLimitsArgs struct {
	ServiceLevel ServiceLevel `thrift:"serviceLevel,1" db:"serviceLevel" json:"serviceLevel"`
}

Attributes:

  • ServiceLevel

func NewUserStoreGetAccountLimitsArgs

func NewUserStoreGetAccountLimitsArgs() *UserStoreGetAccountLimitsArgs

func (*UserStoreGetAccountLimitsArgs) GetServiceLevel

func (p *UserStoreGetAccountLimitsArgs) GetServiceLevel() ServiceLevel

func (*UserStoreGetAccountLimitsArgs) Read

func (*UserStoreGetAccountLimitsArgs) ReadField1

func (p *UserStoreGetAccountLimitsArgs) ReadField1(iprot thrift.TProtocol) error

func (*UserStoreGetAccountLimitsArgs) String

func (*UserStoreGetAccountLimitsArgs) Write

type UserStoreGetAccountLimitsResult

type UserStoreGetAccountLimitsResult struct {
	Success       *AccountLimits     `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException *EDAMUserException `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
}

Attributes:

  • Success
  • UserException

func NewUserStoreGetAccountLimitsResult

func NewUserStoreGetAccountLimitsResult() *UserStoreGetAccountLimitsResult

func (*UserStoreGetAccountLimitsResult) GetSuccess

func (*UserStoreGetAccountLimitsResult) GetUserException

func (p *UserStoreGetAccountLimitsResult) GetUserException() *EDAMUserException

func (*UserStoreGetAccountLimitsResult) IsSetSuccess

func (p *UserStoreGetAccountLimitsResult) IsSetSuccess() bool

func (*UserStoreGetAccountLimitsResult) IsSetUserException

func (p *UserStoreGetAccountLimitsResult) IsSetUserException() bool

func (*UserStoreGetAccountLimitsResult) Read

func (*UserStoreGetAccountLimitsResult) ReadField0

func (*UserStoreGetAccountLimitsResult) ReadField1

func (*UserStoreGetAccountLimitsResult) String

func (*UserStoreGetAccountLimitsResult) Write

type UserStoreGetBootstrapInfoArgs

type UserStoreGetBootstrapInfoArgs struct {
	Locale string `thrift:"locale,1" db:"locale" json:"locale"`
}

Attributes:

  • Locale

func NewUserStoreGetBootstrapInfoArgs

func NewUserStoreGetBootstrapInfoArgs() *UserStoreGetBootstrapInfoArgs

func (*UserStoreGetBootstrapInfoArgs) GetLocale

func (p *UserStoreGetBootstrapInfoArgs) GetLocale() string

func (*UserStoreGetBootstrapInfoArgs) Read

func (*UserStoreGetBootstrapInfoArgs) ReadField1

func (p *UserStoreGetBootstrapInfoArgs) ReadField1(iprot thrift.TProtocol) error

func (*UserStoreGetBootstrapInfoArgs) String

func (*UserStoreGetBootstrapInfoArgs) Write

type UserStoreGetBootstrapInfoResult

type UserStoreGetBootstrapInfoResult struct {
	Success *BootstrapInfo `thrift:"success,0" db:"success" json:"success,omitempty"`
}

Attributes:

  • Success

func NewUserStoreGetBootstrapInfoResult

func NewUserStoreGetBootstrapInfoResult() *UserStoreGetBootstrapInfoResult

func (*UserStoreGetBootstrapInfoResult) GetSuccess

func (*UserStoreGetBootstrapInfoResult) IsSetSuccess

func (p *UserStoreGetBootstrapInfoResult) IsSetSuccess() bool

func (*UserStoreGetBootstrapInfoResult) Read

func (*UserStoreGetBootstrapInfoResult) ReadField0

func (*UserStoreGetBootstrapInfoResult) String

func (*UserStoreGetBootstrapInfoResult) Write

type UserStoreGetPublicUserInfoArgs

type UserStoreGetPublicUserInfoArgs struct {
	Username string `thrift:"username,1" db:"username" json:"username"`
}

Attributes:

  • Username

func NewUserStoreGetPublicUserInfoArgs

func NewUserStoreGetPublicUserInfoArgs() *UserStoreGetPublicUserInfoArgs

func (*UserStoreGetPublicUserInfoArgs) GetUsername

func (p *UserStoreGetPublicUserInfoArgs) GetUsername() string

func (*UserStoreGetPublicUserInfoArgs) Read

func (*UserStoreGetPublicUserInfoArgs) ReadField1

func (*UserStoreGetPublicUserInfoArgs) String

func (*UserStoreGetPublicUserInfoArgs) Write

type UserStoreGetPublicUserInfoResult

type UserStoreGetPublicUserInfoResult struct {
	Success           *PublicUserInfo        `thrift:"success,0" db:"success" json:"success,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,1" db:"notFoundException" json:"notFoundException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	UserException     *EDAMUserException     `thrift:"userException,3" db:"userException" json:"userException,omitempty"`
}

Attributes:

  • Success
  • NotFoundException
  • SystemException
  • UserException

func NewUserStoreGetPublicUserInfoResult

func NewUserStoreGetPublicUserInfoResult() *UserStoreGetPublicUserInfoResult

func (*UserStoreGetPublicUserInfoResult) GetNotFoundException

func (p *UserStoreGetPublicUserInfoResult) GetNotFoundException() *EDAMNotFoundException

func (*UserStoreGetPublicUserInfoResult) GetSuccess

func (*UserStoreGetPublicUserInfoResult) GetSystemException

func (p *UserStoreGetPublicUserInfoResult) GetSystemException() *EDAMSystemException

func (*UserStoreGetPublicUserInfoResult) GetUserException

func (p *UserStoreGetPublicUserInfoResult) GetUserException() *EDAMUserException

func (*UserStoreGetPublicUserInfoResult) IsSetNotFoundException

func (p *UserStoreGetPublicUserInfoResult) IsSetNotFoundException() bool

func (*UserStoreGetPublicUserInfoResult) IsSetSuccess

func (p *UserStoreGetPublicUserInfoResult) IsSetSuccess() bool

func (*UserStoreGetPublicUserInfoResult) IsSetSystemException

func (p *UserStoreGetPublicUserInfoResult) IsSetSystemException() bool

func (*UserStoreGetPublicUserInfoResult) IsSetUserException

func (p *UserStoreGetPublicUserInfoResult) IsSetUserException() bool

func (*UserStoreGetPublicUserInfoResult) Read

func (*UserStoreGetPublicUserInfoResult) ReadField0

func (*UserStoreGetPublicUserInfoResult) ReadField1

func (*UserStoreGetPublicUserInfoResult) ReadField2

func (*UserStoreGetPublicUserInfoResult) ReadField3

func (*UserStoreGetPublicUserInfoResult) String

func (*UserStoreGetPublicUserInfoResult) Write

type UserStoreGetUserArgs

type UserStoreGetUserArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewUserStoreGetUserArgs

func NewUserStoreGetUserArgs() *UserStoreGetUserArgs

func (*UserStoreGetUserArgs) GetAuthenticationToken

func (p *UserStoreGetUserArgs) GetAuthenticationToken() string

func (*UserStoreGetUserArgs) Read

func (p *UserStoreGetUserArgs) Read(iprot thrift.TProtocol) error

func (*UserStoreGetUserArgs) ReadField1

func (p *UserStoreGetUserArgs) ReadField1(iprot thrift.TProtocol) error

func (*UserStoreGetUserArgs) String

func (p *UserStoreGetUserArgs) String() string

func (*UserStoreGetUserArgs) Write

func (p *UserStoreGetUserArgs) Write(oprot thrift.TProtocol) error

type UserStoreGetUserResult

type UserStoreGetUserResult struct {
	Success         *User                `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewUserStoreGetUserResult

func NewUserStoreGetUserResult() *UserStoreGetUserResult

func (*UserStoreGetUserResult) GetSuccess

func (p *UserStoreGetUserResult) GetSuccess() *User

func (*UserStoreGetUserResult) GetSystemException

func (p *UserStoreGetUserResult) GetSystemException() *EDAMSystemException

func (*UserStoreGetUserResult) GetUserException

func (p *UserStoreGetUserResult) GetUserException() *EDAMUserException

func (*UserStoreGetUserResult) IsSetSuccess

func (p *UserStoreGetUserResult) IsSetSuccess() bool

func (*UserStoreGetUserResult) IsSetSystemException

func (p *UserStoreGetUserResult) IsSetSystemException() bool

func (*UserStoreGetUserResult) IsSetUserException

func (p *UserStoreGetUserResult) IsSetUserException() bool

func (*UserStoreGetUserResult) Read

func (*UserStoreGetUserResult) ReadField0

func (p *UserStoreGetUserResult) ReadField0(iprot thrift.TProtocol) error

func (*UserStoreGetUserResult) ReadField1

func (p *UserStoreGetUserResult) ReadField1(iprot thrift.TProtocol) error

func (*UserStoreGetUserResult) ReadField2

func (p *UserStoreGetUserResult) ReadField2(iprot thrift.TProtocol) error

func (*UserStoreGetUserResult) String

func (p *UserStoreGetUserResult) String() string

func (*UserStoreGetUserResult) Write

func (p *UserStoreGetUserResult) Write(oprot thrift.TProtocol) error

type UserStoreGetUserUrlsArgs

type UserStoreGetUserUrlsArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewUserStoreGetUserUrlsArgs

func NewUserStoreGetUserUrlsArgs() *UserStoreGetUserUrlsArgs

func (*UserStoreGetUserUrlsArgs) GetAuthenticationToken

func (p *UserStoreGetUserUrlsArgs) GetAuthenticationToken() string

func (*UserStoreGetUserUrlsArgs) Read

func (*UserStoreGetUserUrlsArgs) ReadField1

func (p *UserStoreGetUserUrlsArgs) ReadField1(iprot thrift.TProtocol) error

func (*UserStoreGetUserUrlsArgs) String

func (p *UserStoreGetUserUrlsArgs) String() string

func (*UserStoreGetUserUrlsArgs) Write

type UserStoreGetUserUrlsResult

type UserStoreGetUserUrlsResult struct {
	Success         *UserUrls            `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewUserStoreGetUserUrlsResult

func NewUserStoreGetUserUrlsResult() *UserStoreGetUserUrlsResult

func (*UserStoreGetUserUrlsResult) GetSuccess

func (p *UserStoreGetUserUrlsResult) GetSuccess() *UserUrls

func (*UserStoreGetUserUrlsResult) GetSystemException

func (p *UserStoreGetUserUrlsResult) GetSystemException() *EDAMSystemException

func (*UserStoreGetUserUrlsResult) GetUserException

func (p *UserStoreGetUserUrlsResult) GetUserException() *EDAMUserException

func (*UserStoreGetUserUrlsResult) IsSetSuccess

func (p *UserStoreGetUserUrlsResult) IsSetSuccess() bool

func (*UserStoreGetUserUrlsResult) IsSetSystemException

func (p *UserStoreGetUserUrlsResult) IsSetSystemException() bool

func (*UserStoreGetUserUrlsResult) IsSetUserException

func (p *UserStoreGetUserUrlsResult) IsSetUserException() bool

func (*UserStoreGetUserUrlsResult) Read

func (*UserStoreGetUserUrlsResult) ReadField0

func (p *UserStoreGetUserUrlsResult) ReadField0(iprot thrift.TProtocol) error

func (*UserStoreGetUserUrlsResult) ReadField1

func (p *UserStoreGetUserUrlsResult) ReadField1(iprot thrift.TProtocol) error

func (*UserStoreGetUserUrlsResult) ReadField2

func (p *UserStoreGetUserUrlsResult) ReadField2(iprot thrift.TProtocol) error

func (*UserStoreGetUserUrlsResult) String

func (p *UserStoreGetUserUrlsResult) String() string

func (*UserStoreGetUserUrlsResult) Write

type UserStoreInviteToBusinessArgs

type UserStoreInviteToBusinessArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	EmailAddress        string `thrift:"emailAddress,2" db:"emailAddress" json:"emailAddress"`
}

Attributes:

  • AuthenticationToken
  • EmailAddress

func NewUserStoreInviteToBusinessArgs

func NewUserStoreInviteToBusinessArgs() *UserStoreInviteToBusinessArgs

func (*UserStoreInviteToBusinessArgs) GetAuthenticationToken

func (p *UserStoreInviteToBusinessArgs) GetAuthenticationToken() string

func (*UserStoreInviteToBusinessArgs) GetEmailAddress

func (p *UserStoreInviteToBusinessArgs) GetEmailAddress() string

func (*UserStoreInviteToBusinessArgs) Read

func (*UserStoreInviteToBusinessArgs) ReadField1

func (p *UserStoreInviteToBusinessArgs) ReadField1(iprot thrift.TProtocol) error

func (*UserStoreInviteToBusinessArgs) ReadField2

func (p *UserStoreInviteToBusinessArgs) ReadField2(iprot thrift.TProtocol) error

func (*UserStoreInviteToBusinessArgs) String

func (*UserStoreInviteToBusinessArgs) Write

type UserStoreInviteToBusinessResult

type UserStoreInviteToBusinessResult struct {
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • UserException
  • SystemException

func NewUserStoreInviteToBusinessResult

func NewUserStoreInviteToBusinessResult() *UserStoreInviteToBusinessResult

func (*UserStoreInviteToBusinessResult) GetSystemException

func (p *UserStoreInviteToBusinessResult) GetSystemException() *EDAMSystemException

func (*UserStoreInviteToBusinessResult) GetUserException

func (p *UserStoreInviteToBusinessResult) GetUserException() *EDAMUserException

func (*UserStoreInviteToBusinessResult) IsSetSystemException

func (p *UserStoreInviteToBusinessResult) IsSetSystemException() bool

func (*UserStoreInviteToBusinessResult) IsSetUserException

func (p *UserStoreInviteToBusinessResult) IsSetUserException() bool

func (*UserStoreInviteToBusinessResult) Read

func (*UserStoreInviteToBusinessResult) ReadField1

func (*UserStoreInviteToBusinessResult) ReadField2

func (*UserStoreInviteToBusinessResult) String

func (*UserStoreInviteToBusinessResult) Write

type UserStoreListBusinessInvitationsArgs

type UserStoreListBusinessInvitationsArgs struct {
	AuthenticationToken         string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	IncludeRequestedInvitations bool   `thrift:"includeRequestedInvitations,2" db:"includeRequestedInvitations" json:"includeRequestedInvitations"`
}

Attributes:

  • AuthenticationToken
  • IncludeRequestedInvitations

func NewUserStoreListBusinessInvitationsArgs

func NewUserStoreListBusinessInvitationsArgs() *UserStoreListBusinessInvitationsArgs

func (*UserStoreListBusinessInvitationsArgs) GetAuthenticationToken

func (p *UserStoreListBusinessInvitationsArgs) GetAuthenticationToken() string

func (*UserStoreListBusinessInvitationsArgs) GetIncludeRequestedInvitations

func (p *UserStoreListBusinessInvitationsArgs) GetIncludeRequestedInvitations() bool

func (*UserStoreListBusinessInvitationsArgs) Read

func (*UserStoreListBusinessInvitationsArgs) ReadField1

func (*UserStoreListBusinessInvitationsArgs) ReadField2

func (*UserStoreListBusinessInvitationsArgs) String

func (*UserStoreListBusinessInvitationsArgs) Write

type UserStoreListBusinessInvitationsResult

type UserStoreListBusinessInvitationsResult struct {
	Success         []*BusinessInvitation `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException    `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException  `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewUserStoreListBusinessInvitationsResult

func NewUserStoreListBusinessInvitationsResult() *UserStoreListBusinessInvitationsResult

func (*UserStoreListBusinessInvitationsResult) GetSuccess

func (*UserStoreListBusinessInvitationsResult) GetSystemException

func (*UserStoreListBusinessInvitationsResult) GetUserException

func (*UserStoreListBusinessInvitationsResult) IsSetSuccess

func (p *UserStoreListBusinessInvitationsResult) IsSetSuccess() bool

func (*UserStoreListBusinessInvitationsResult) IsSetSystemException

func (p *UserStoreListBusinessInvitationsResult) IsSetSystemException() bool

func (*UserStoreListBusinessInvitationsResult) IsSetUserException

func (p *UserStoreListBusinessInvitationsResult) IsSetUserException() bool

func (*UserStoreListBusinessInvitationsResult) Read

func (*UserStoreListBusinessInvitationsResult) ReadField0

func (*UserStoreListBusinessInvitationsResult) ReadField1

func (*UserStoreListBusinessInvitationsResult) ReadField2

func (*UserStoreListBusinessInvitationsResult) String

func (*UserStoreListBusinessInvitationsResult) Write

type UserStoreListBusinessUsersArgs

type UserStoreListBusinessUsersArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewUserStoreListBusinessUsersArgs

func NewUserStoreListBusinessUsersArgs() *UserStoreListBusinessUsersArgs

func (*UserStoreListBusinessUsersArgs) GetAuthenticationToken

func (p *UserStoreListBusinessUsersArgs) GetAuthenticationToken() string

func (*UserStoreListBusinessUsersArgs) Read

func (*UserStoreListBusinessUsersArgs) ReadField1

func (*UserStoreListBusinessUsersArgs) String

func (*UserStoreListBusinessUsersArgs) Write

type UserStoreListBusinessUsersResult

type UserStoreListBusinessUsersResult struct {
	Success         []*UserProfile       `thrift:"success,0" db:"success" json:"success,omitempty"`
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • Success
  • UserException
  • SystemException

func NewUserStoreListBusinessUsersResult

func NewUserStoreListBusinessUsersResult() *UserStoreListBusinessUsersResult

func (*UserStoreListBusinessUsersResult) GetSuccess

func (p *UserStoreListBusinessUsersResult) GetSuccess() []*UserProfile

func (*UserStoreListBusinessUsersResult) GetSystemException

func (p *UserStoreListBusinessUsersResult) GetSystemException() *EDAMSystemException

func (*UserStoreListBusinessUsersResult) GetUserException

func (p *UserStoreListBusinessUsersResult) GetUserException() *EDAMUserException

func (*UserStoreListBusinessUsersResult) IsSetSuccess

func (p *UserStoreListBusinessUsersResult) IsSetSuccess() bool

func (*UserStoreListBusinessUsersResult) IsSetSystemException

func (p *UserStoreListBusinessUsersResult) IsSetSystemException() bool

func (*UserStoreListBusinessUsersResult) IsSetUserException

func (p *UserStoreListBusinessUsersResult) IsSetUserException() bool

func (*UserStoreListBusinessUsersResult) Read

func (*UserStoreListBusinessUsersResult) ReadField0

func (*UserStoreListBusinessUsersResult) ReadField1

func (*UserStoreListBusinessUsersResult) ReadField2

func (*UserStoreListBusinessUsersResult) String

func (*UserStoreListBusinessUsersResult) Write

type UserStoreProcessor

type UserStoreProcessor struct {
	// contains filtered or unexported fields
}

func NewUserStoreProcessor

func NewUserStoreProcessor(handler UserStore) *UserStoreProcessor

func (*UserStoreProcessor) AddToProcessorMap

func (p *UserStoreProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*UserStoreProcessor) GetProcessorFunction

func (p *UserStoreProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*UserStoreProcessor) Process

func (p *UserStoreProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*UserStoreProcessor) ProcessorMap

func (p *UserStoreProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type UserStoreRemoveFromBusinessArgs

type UserStoreRemoveFromBusinessArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	EmailAddress        string `thrift:"emailAddress,2" db:"emailAddress" json:"emailAddress"`
}

Attributes:

  • AuthenticationToken
  • EmailAddress

func NewUserStoreRemoveFromBusinessArgs

func NewUserStoreRemoveFromBusinessArgs() *UserStoreRemoveFromBusinessArgs

func (*UserStoreRemoveFromBusinessArgs) GetAuthenticationToken

func (p *UserStoreRemoveFromBusinessArgs) GetAuthenticationToken() string

func (*UserStoreRemoveFromBusinessArgs) GetEmailAddress

func (p *UserStoreRemoveFromBusinessArgs) GetEmailAddress() string

func (*UserStoreRemoveFromBusinessArgs) Read

func (*UserStoreRemoveFromBusinessArgs) ReadField1

func (*UserStoreRemoveFromBusinessArgs) ReadField2

func (*UserStoreRemoveFromBusinessArgs) String

func (*UserStoreRemoveFromBusinessArgs) Write

type UserStoreRemoveFromBusinessResult

type UserStoreRemoveFromBusinessResult struct {
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • UserException
  • SystemException
  • NotFoundException

func NewUserStoreRemoveFromBusinessResult

func NewUserStoreRemoveFromBusinessResult() *UserStoreRemoveFromBusinessResult

func (*UserStoreRemoveFromBusinessResult) GetNotFoundException

func (p *UserStoreRemoveFromBusinessResult) GetNotFoundException() *EDAMNotFoundException

func (*UserStoreRemoveFromBusinessResult) GetSystemException

func (p *UserStoreRemoveFromBusinessResult) GetSystemException() *EDAMSystemException

func (*UserStoreRemoveFromBusinessResult) GetUserException

func (*UserStoreRemoveFromBusinessResult) IsSetNotFoundException

func (p *UserStoreRemoveFromBusinessResult) IsSetNotFoundException() bool

func (*UserStoreRemoveFromBusinessResult) IsSetSystemException

func (p *UserStoreRemoveFromBusinessResult) IsSetSystemException() bool

func (*UserStoreRemoveFromBusinessResult) IsSetUserException

func (p *UserStoreRemoveFromBusinessResult) IsSetUserException() bool

func (*UserStoreRemoveFromBusinessResult) Read

func (*UserStoreRemoveFromBusinessResult) ReadField1

func (*UserStoreRemoveFromBusinessResult) ReadField2

func (*UserStoreRemoveFromBusinessResult) ReadField3

func (*UserStoreRemoveFromBusinessResult) String

func (*UserStoreRemoveFromBusinessResult) Write

type UserStoreRevokeLongSessionArgs

type UserStoreRevokeLongSessionArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
}

Attributes:

  • AuthenticationToken

func NewUserStoreRevokeLongSessionArgs

func NewUserStoreRevokeLongSessionArgs() *UserStoreRevokeLongSessionArgs

func (*UserStoreRevokeLongSessionArgs) GetAuthenticationToken

func (p *UserStoreRevokeLongSessionArgs) GetAuthenticationToken() string

func (*UserStoreRevokeLongSessionArgs) Read

func (*UserStoreRevokeLongSessionArgs) ReadField1

func (*UserStoreRevokeLongSessionArgs) String

func (*UserStoreRevokeLongSessionArgs) Write

type UserStoreRevokeLongSessionResult

type UserStoreRevokeLongSessionResult struct {
	UserException   *EDAMUserException   `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException *EDAMSystemException `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
}

Attributes:

  • UserException
  • SystemException

func NewUserStoreRevokeLongSessionResult

func NewUserStoreRevokeLongSessionResult() *UserStoreRevokeLongSessionResult

func (*UserStoreRevokeLongSessionResult) GetSystemException

func (p *UserStoreRevokeLongSessionResult) GetSystemException() *EDAMSystemException

func (*UserStoreRevokeLongSessionResult) GetUserException

func (p *UserStoreRevokeLongSessionResult) GetUserException() *EDAMUserException

func (*UserStoreRevokeLongSessionResult) IsSetSystemException

func (p *UserStoreRevokeLongSessionResult) IsSetSystemException() bool

func (*UserStoreRevokeLongSessionResult) IsSetUserException

func (p *UserStoreRevokeLongSessionResult) IsSetUserException() bool

func (*UserStoreRevokeLongSessionResult) Read

func (*UserStoreRevokeLongSessionResult) ReadField1

func (*UserStoreRevokeLongSessionResult) ReadField2

func (*UserStoreRevokeLongSessionResult) String

func (*UserStoreRevokeLongSessionResult) Write

type UserStoreUpdateBusinessUserIdentifierArgs

type UserStoreUpdateBusinessUserIdentifierArgs struct {
	AuthenticationToken string `thrift:"authenticationToken,1" db:"authenticationToken" json:"authenticationToken"`
	OldEmailAddress     string `thrift:"oldEmailAddress,2" db:"oldEmailAddress" json:"oldEmailAddress"`
	NewEmailAddress_    string `thrift:"newEmailAddress,3" db:"newEmailAddress" json:"newEmailAddress"`
}

Attributes:

  • AuthenticationToken
  • OldEmailAddress
  • NewEmailAddress_

func NewUserStoreUpdateBusinessUserIdentifierArgs

func NewUserStoreUpdateBusinessUserIdentifierArgs() *UserStoreUpdateBusinessUserIdentifierArgs

func (*UserStoreUpdateBusinessUserIdentifierArgs) GetAuthenticationToken

func (p *UserStoreUpdateBusinessUserIdentifierArgs) GetAuthenticationToken() string

func (*UserStoreUpdateBusinessUserIdentifierArgs) GetNewEmailAddress_

func (p *UserStoreUpdateBusinessUserIdentifierArgs) GetNewEmailAddress_() string

func (*UserStoreUpdateBusinessUserIdentifierArgs) GetOldEmailAddress

func (p *UserStoreUpdateBusinessUserIdentifierArgs) GetOldEmailAddress() string

func (*UserStoreUpdateBusinessUserIdentifierArgs) Read

func (*UserStoreUpdateBusinessUserIdentifierArgs) ReadField1

func (*UserStoreUpdateBusinessUserIdentifierArgs) ReadField2

func (*UserStoreUpdateBusinessUserIdentifierArgs) ReadField3

func (*UserStoreUpdateBusinessUserIdentifierArgs) String

func (*UserStoreUpdateBusinessUserIdentifierArgs) Write

type UserStoreUpdateBusinessUserIdentifierResult

type UserStoreUpdateBusinessUserIdentifierResult struct {
	UserException     *EDAMUserException     `thrift:"userException,1" db:"userException" json:"userException,omitempty"`
	SystemException   *EDAMSystemException   `thrift:"systemException,2" db:"systemException" json:"systemException,omitempty"`
	NotFoundException *EDAMNotFoundException `thrift:"notFoundException,3" db:"notFoundException" json:"notFoundException,omitempty"`
}

Attributes:

  • UserException
  • SystemException
  • NotFoundException

func NewUserStoreUpdateBusinessUserIdentifierResult

func NewUserStoreUpdateBusinessUserIdentifierResult() *UserStoreUpdateBusinessUserIdentifierResult

func (*UserStoreUpdateBusinessUserIdentifierResult) GetNotFoundException

func (*UserStoreUpdateBusinessUserIdentifierResult) GetSystemException

func (*UserStoreUpdateBusinessUserIdentifierResult) GetUserException

func (*UserStoreUpdateBusinessUserIdentifierResult) IsSetNotFoundException

func (p *UserStoreUpdateBusinessUserIdentifierResult) IsSetNotFoundException() bool

func (*UserStoreUpdateBusinessUserIdentifierResult) IsSetSystemException

func (p *UserStoreUpdateBusinessUserIdentifierResult) IsSetSystemException() bool

func (*UserStoreUpdateBusinessUserIdentifierResult) IsSetUserException

func (p *UserStoreUpdateBusinessUserIdentifierResult) IsSetUserException() bool

func (*UserStoreUpdateBusinessUserIdentifierResult) Read

func (*UserStoreUpdateBusinessUserIdentifierResult) ReadField1

func (*UserStoreUpdateBusinessUserIdentifierResult) ReadField2

func (*UserStoreUpdateBusinessUserIdentifierResult) ReadField3

func (*UserStoreUpdateBusinessUserIdentifierResult) String

func (*UserStoreUpdateBusinessUserIdentifierResult) Write

type UserUrls

type UserUrls struct {
	NoteStoreUrl     *string `thrift:"noteStoreUrl,1" db:"noteStoreUrl" json:"noteStoreUrl,omitempty"`
	WebApiUrlPrefix  *string `thrift:"webApiUrlPrefix,2" db:"webApiUrlPrefix" json:"webApiUrlPrefix,omitempty"`
	UserStoreUrl     *string `thrift:"userStoreUrl,3" db:"userStoreUrl" json:"userStoreUrl,omitempty"`
	UtilityUrl       *string `thrift:"utilityUrl,4" db:"utilityUrl" json:"utilityUrl,omitempty"`
	MessageStoreUrl  *string `thrift:"messageStoreUrl,5" db:"messageStoreUrl" json:"messageStoreUrl,omitempty"`
	UserWebSocketUrl *string `thrift:"userWebSocketUrl,6" db:"userWebSocketUrl" json:"userWebSocketUrl,omitempty"`
}

<dl> <dt>noteStoreUrl:</dt>

<dd>
This field will contain the full URL that clients should use to make
NoteStore requests to the server shard that contains that user's data.
I.e. this is the URL that should be used to create the Thrift HTTP client
transport to send messages to the NoteStore service for the account.
</dd>

<dt>webApiUrlPrefix:</dt>

<dd>
This field will contain the initial part of the URLs that should be used
to make requests to Evernote's thin client "web API", which provide
optimized operations for clients that aren't capable of manipulating
the full contents of accounts via the full Thrift data model. Clients
should concatenate the relative path for the various servlets onto the
end of this string to construct the full URL, as documented on our
developer web site.
</dd>

<dt>userStoreUrl:</dt>

<dd>
This field will contain the full URL that clients should use to make UserStore
requests after successfully authenticating. I.e. this is the URL that should be used
to create the Thrift HTTP client transport to send messages to the UserStore service
for this account.
</dd>

<dt>utilityUrl:</dt>

<dd>
This field will contain the full URL that clients should use to make Utility requests
to the server shard that contains that user's data. I.e. this is the URL that should
be used to create the Thrift HTTP client transport to send messages to the Utility
service for the account.
</dd>

<dt>messageStoreUrl:</dt>

<dd>
This field will contain the full URL that clients should use to make MessageStore
requests to the server. I.e. this is the URL that should be used to create the
Thrift HTTP client transport to send messages to the MessageStore service for the
account.
</dd>

<dt>userWebSocketUrl:</dt>

<dd>
This field will contain the full URL that clients should use when opening a
persistent web socket to recieve notification of events for the authenticated user.
</dd>

</dl>

Attributes:

  • NoteStoreUrl
  • WebApiUrlPrefix
  • UserStoreUrl
  • UtilityUrl
  • MessageStoreUrl
  • UserWebSocketUrl
var AuthenticationResult__Urls_DEFAULT *UserUrls
var UserStoreGetUserUrlsResult_Success_DEFAULT *UserUrls

func NewUserUrls

func NewUserUrls() *UserUrls

func (*UserUrls) GetMessageStoreUrl

func (p *UserUrls) GetMessageStoreUrl() string

func (*UserUrls) GetNoteStoreUrl

func (p *UserUrls) GetNoteStoreUrl() string

func (*UserUrls) GetUserStoreUrl

func (p *UserUrls) GetUserStoreUrl() string

func (*UserUrls) GetUserWebSocketUrl

func (p *UserUrls) GetUserWebSocketUrl() string

func (*UserUrls) GetUtilityUrl

func (p *UserUrls) GetUtilityUrl() string

func (*UserUrls) GetWebApiUrlPrefix

func (p *UserUrls) GetWebApiUrlPrefix() string

func (*UserUrls) IsSetMessageStoreUrl

func (p *UserUrls) IsSetMessageStoreUrl() bool

func (*UserUrls) IsSetNoteStoreUrl

func (p *UserUrls) IsSetNoteStoreUrl() bool

func (*UserUrls) IsSetUserStoreUrl

func (p *UserUrls) IsSetUserStoreUrl() bool

func (*UserUrls) IsSetUserWebSocketUrl

func (p *UserUrls) IsSetUserWebSocketUrl() bool

func (*UserUrls) IsSetUtilityUrl

func (p *UserUrls) IsSetUtilityUrl() bool

func (*UserUrls) IsSetWebApiUrlPrefix

func (p *UserUrls) IsSetWebApiUrlPrefix() bool

func (*UserUrls) Read

func (p *UserUrls) Read(iprot thrift.TProtocol) error

func (*UserUrls) ReadField1

func (p *UserUrls) ReadField1(iprot thrift.TProtocol) error

func (*UserUrls) ReadField2

func (p *UserUrls) ReadField2(iprot thrift.TProtocol) error

func (*UserUrls) ReadField3

func (p *UserUrls) ReadField3(iprot thrift.TProtocol) error

func (*UserUrls) ReadField4

func (p *UserUrls) ReadField4(iprot thrift.TProtocol) error

func (*UserUrls) ReadField5

func (p *UserUrls) ReadField5(iprot thrift.TProtocol) error

func (*UserUrls) ReadField6

func (p *UserUrls) ReadField6(iprot thrift.TProtocol) error

func (*UserUrls) String

func (p *UserUrls) String() string

func (*UserUrls) Write

func (p *UserUrls) Write(oprot thrift.TProtocol) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL