Documentation
¶
Index ¶
- Constants
- Variables
- type Accounting
- func (p *Accounting) IsSetBusinessId() bool
- func (p *Accounting) IsSetBusinessName() bool
- func (p *Accounting) IsSetBusinessRole() bool
- func (p *Accounting) IsSetCurrency() bool
- func (p *Accounting) IsSetLastFailedCharge() bool
- func (p *Accounting) IsSetLastFailedChargeReason() bool
- func (p *Accounting) IsSetLastRequestedCharge() bool
- func (p *Accounting) IsSetLastSuccessfulCharge() bool
- func (p *Accounting) IsSetNextChargeDate() bool
- func (p *Accounting) IsSetNextPaymentDue() bool
- func (p *Accounting) IsSetPremiumCommerceService() bool
- func (p *Accounting) IsSetPremiumLockUntil() bool
- func (p *Accounting) IsSetPremiumOrderNumber() bool
- func (p *Accounting) IsSetPremiumServiceSKU() bool
- func (p *Accounting) IsSetPremiumServiceStart() bool
- func (p *Accounting) IsSetPremiumServiceStatus() bool
- func (p *Accounting) IsSetPremiumSubscriptionNumber() bool
- func (p *Accounting) IsSetUnitDiscount() bool
- func (p *Accounting) IsSetUnitPrice() bool
- func (p *Accounting) IsSetUpdated() bool
- func (p *Accounting) IsSetUploadLimit() bool
- func (p *Accounting) IsSetUploadLimitEnd() bool
- func (p *Accounting) IsSetUploadLimitNextMonth() bool
- func (p *Accounting) Read(iprot thrift.TProtocol) error
- func (p *Accounting) String() string
- func (p *Accounting) Write(oprot thrift.TProtocol) error
- type BusinessNotebook
- func (p *BusinessNotebook) IsSetNotebookDescription() bool
- func (p *BusinessNotebook) IsSetPrivilege() bool
- func (p *BusinessNotebook) IsSetRecommended() bool
- func (p *BusinessNotebook) Read(iprot thrift.TProtocol) error
- func (p *BusinessNotebook) String() string
- func (p *BusinessNotebook) Write(oprot thrift.TProtocol) error
- type BusinessUserInfo
- func (p *BusinessUserInfo) IsSetBusinessId() bool
- func (p *BusinessUserInfo) IsSetBusinessName() bool
- func (p *BusinessUserInfo) IsSetEmail() bool
- func (p *BusinessUserInfo) IsSetRole() bool
- func (p *BusinessUserInfo) Read(iprot thrift.TProtocol) error
- func (p *BusinessUserInfo) String() string
- func (p *BusinessUserInfo) Write(oprot thrift.TProtocol) error
- type BusinessUserRole
- type Data
- type Guid
- type LazyMap
- type LinkedNotebook
- func (p *LinkedNotebook) IsSetBusinessId() bool
- func (p *LinkedNotebook) IsSetGuid() bool
- func (p *LinkedNotebook) IsSetNoteStoreUrl() bool
- func (p *LinkedNotebook) IsSetShardId() bool
- func (p *LinkedNotebook) IsSetShareKey() bool
- func (p *LinkedNotebook) IsSetShareName() bool
- func (p *LinkedNotebook) IsSetStack() bool
- func (p *LinkedNotebook) IsSetUpdateSequenceNum() bool
- func (p *LinkedNotebook) IsSetUri() bool
- func (p *LinkedNotebook) IsSetUsername() bool
- func (p *LinkedNotebook) IsSetWebApiUrlPrefix() bool
- func (p *LinkedNotebook) Read(iprot thrift.TProtocol) error
- func (p *LinkedNotebook) String() string
- func (p *LinkedNotebook) Write(oprot thrift.TProtocol) error
- type Note
- func (p *Note) IsSetActive() bool
- func (p *Note) IsSetAttributes() bool
- func (p *Note) IsSetContent() bool
- func (p *Note) IsSetContentHash() bool
- func (p *Note) IsSetContentLength() bool
- func (p *Note) IsSetCreated() bool
- func (p *Note) IsSetDeleted() bool
- func (p *Note) IsSetGuid() bool
- func (p *Note) IsSetNotebookGuid() bool
- func (p *Note) IsSetResources() bool
- func (p *Note) IsSetTagGuids() bool
- func (p *Note) IsSetTagNames() bool
- func (p *Note) IsSetTitle() bool
- func (p *Note) IsSetUpdateSequenceNum() bool
- func (p *Note) IsSetUpdated() bool
- func (p *Note) Read(iprot thrift.TProtocol) error
- func (p *Note) String() string
- func (p *Note) Write(oprot thrift.TProtocol) error
- type NoteAttributes
- func (p *NoteAttributes) IsSetAltitude() bool
- func (p *NoteAttributes) IsSetApplicationData() bool
- func (p *NoteAttributes) IsSetAuthor() bool
- func (p *NoteAttributes) IsSetClassifications() bool
- func (p *NoteAttributes) IsSetContentClass() bool
- func (p *NoteAttributes) IsSetCreatorId() bool
- func (p *NoteAttributes) IsSetLastEditedBy() bool
- func (p *NoteAttributes) IsSetLastEditorId() bool
- func (p *NoteAttributes) IsSetLatitude() bool
- func (p *NoteAttributes) IsSetLongitude() bool
- func (p *NoteAttributes) IsSetPlaceName() bool
- func (p *NoteAttributes) IsSetReminderDoneTime() bool
- func (p *NoteAttributes) IsSetReminderOrder() bool
- func (p *NoteAttributes) IsSetReminderTime() bool
- func (p *NoteAttributes) IsSetShareDate() bool
- func (p *NoteAttributes) IsSetSource() bool
- func (p *NoteAttributes) IsSetSourceApplication() bool
- func (p *NoteAttributes) IsSetSourceURL() bool
- func (p *NoteAttributes) IsSetSubjectDate() bool
- func (p *NoteAttributes) Read(iprot thrift.TProtocol) error
- func (p *NoteAttributes) String() string
- func (p *NoteAttributes) Write(oprot thrift.TProtocol) error
- type NoteSortOrder
- type Notebook
- func (p *Notebook) IsSetBusinessNotebook() bool
- func (p *Notebook) IsSetContact() bool
- func (p *Notebook) IsSetDefaultNotebook() bool
- func (p *Notebook) IsSetGuid() bool
- func (p *Notebook) IsSetName() bool
- func (p *Notebook) IsSetPublished() bool
- func (p *Notebook) IsSetPublishing() bool
- func (p *Notebook) IsSetRestrictions() bool
- func (p *Notebook) IsSetServiceCreated() bool
- func (p *Notebook) IsSetServiceUpdated() bool
- func (p *Notebook) IsSetSharedNotebookIds() bool
- func (p *Notebook) IsSetSharedNotebooks() bool
- func (p *Notebook) IsSetStack() bool
- func (p *Notebook) IsSetUpdateSequenceNum() bool
- func (p *Notebook) Read(iprot thrift.TProtocol) error
- func (p *Notebook) String() string
- func (p *Notebook) Write(oprot thrift.TProtocol) error
- type NotebookDescriptor
- func (p *NotebookDescriptor) IsSetContactName() bool
- func (p *NotebookDescriptor) IsSetGuid() bool
- func (p *NotebookDescriptor) IsSetHasSharedNotebook() bool
- func (p *NotebookDescriptor) IsSetJoinedUserCount() bool
- func (p *NotebookDescriptor) IsSetNotebookDisplayName() bool
- func (p *NotebookDescriptor) Read(iprot thrift.TProtocol) error
- func (p *NotebookDescriptor) String() string
- func (p *NotebookDescriptor) Write(oprot thrift.TProtocol) error
- type NotebookRestrictions
- func (p *NotebookRestrictions) IsSetExpungeWhichSharedNotebookRestrictions() bool
- func (p *NotebookRestrictions) IsSetNoCreateNotes() bool
- func (p *NotebookRestrictions) IsSetNoCreateSharedNotebooks() bool
- func (p *NotebookRestrictions) IsSetNoCreateTags() bool
- func (p *NotebookRestrictions) IsSetNoEmailNotes() bool
- func (p *NotebookRestrictions) IsSetNoExpungeNotebook() bool
- func (p *NotebookRestrictions) IsSetNoExpungeNotes() bool
- func (p *NotebookRestrictions) IsSetNoExpungeTags() bool
- func (p *NotebookRestrictions) IsSetNoPublishToBusinessLibrary() bool
- func (p *NotebookRestrictions) IsSetNoPublishToPublic() bool
- func (p *NotebookRestrictions) IsSetNoReadNotes() bool
- func (p *NotebookRestrictions) IsSetNoSendMessageToRecipients() bool
- func (p *NotebookRestrictions) IsSetNoSetDefaultNotebook() bool
- func (p *NotebookRestrictions) IsSetNoSetNotebookStack() bool
- func (p *NotebookRestrictions) IsSetNoSetParentTag() bool
- func (p *NotebookRestrictions) IsSetNoShareNotes() bool
- func (p *NotebookRestrictions) IsSetNoUpdateNotebook() bool
- func (p *NotebookRestrictions) IsSetNoUpdateNotes() bool
- func (p *NotebookRestrictions) IsSetNoUpdateTags() bool
- func (p *NotebookRestrictions) IsSetUpdateWhichSharedNotebookRestrictions() bool
- func (p *NotebookRestrictions) Read(iprot thrift.TProtocol) error
- func (p *NotebookRestrictions) String() string
- func (p *NotebookRestrictions) Write(oprot thrift.TProtocol) error
- type PremiumInfo
- func (p *PremiumInfo) IsSetPremiumExpirationDate() bool
- func (p *PremiumInfo) IsSetPremiumUpgradable() bool
- func (p *PremiumInfo) IsSetSponsoredGroupName() bool
- func (p *PremiumInfo) IsSetSponsoredGroupRole() bool
- func (p *PremiumInfo) Read(iprot thrift.TProtocol) error
- func (p *PremiumInfo) String() string
- func (p *PremiumInfo) Write(oprot thrift.TProtocol) error
- type PremiumOrderStatus
- type PrivilegeLevel
- type Publishing
- func (p *Publishing) IsSetAscending() bool
- func (p *Publishing) IsSetOrder() bool
- func (p *Publishing) IsSetPublicDescription() bool
- func (p *Publishing) IsSetUri() bool
- func (p *Publishing) Read(iprot thrift.TProtocol) error
- func (p *Publishing) String() string
- func (p *Publishing) Write(oprot thrift.TProtocol) error
- type QueryFormat
- type ReminderEmailConfig
- type Resource
- func (p *Resource) IsSetActive() bool
- func (p *Resource) IsSetAlternateData() bool
- func (p *Resource) IsSetAttributes() bool
- func (p *Resource) IsSetData() bool
- func (p *Resource) IsSetDuration() bool
- func (p *Resource) IsSetGuid() bool
- func (p *Resource) IsSetHeight() bool
- func (p *Resource) IsSetMime() bool
- func (p *Resource) IsSetNoteGuid() bool
- func (p *Resource) IsSetRecognition() bool
- func (p *Resource) IsSetUpdateSequenceNum() bool
- func (p *Resource) IsSetWidth() bool
- func (p *Resource) Read(iprot thrift.TProtocol) error
- func (p *Resource) String() string
- func (p *Resource) Write(oprot thrift.TProtocol) error
- type ResourceAttributes
- func (p *ResourceAttributes) IsSetAltitude() bool
- func (p *ResourceAttributes) IsSetApplicationData() bool
- func (p *ResourceAttributes) IsSetAttachment() bool
- func (p *ResourceAttributes) IsSetCameraMake() bool
- func (p *ResourceAttributes) IsSetCameraModel() bool
- func (p *ResourceAttributes) IsSetClientWillIndex() bool
- func (p *ResourceAttributes) IsSetFileName() bool
- func (p *ResourceAttributes) IsSetLatitude() bool
- func (p *ResourceAttributes) IsSetLongitude() bool
- func (p *ResourceAttributes) IsSetRecoType() bool
- func (p *ResourceAttributes) IsSetSourceURL() bool
- func (p *ResourceAttributes) IsSetTimestamp() bool
- func (p *ResourceAttributes) Read(iprot thrift.TProtocol) error
- func (p *ResourceAttributes) String() string
- func (p *ResourceAttributes) Write(oprot thrift.TProtocol) error
- type SavedSearch
- func (p *SavedSearch) IsSetFormat() bool
- func (p *SavedSearch) IsSetGuid() bool
- func (p *SavedSearch) IsSetName() bool
- func (p *SavedSearch) IsSetQuery() bool
- func (p *SavedSearch) IsSetScope() bool
- func (p *SavedSearch) IsSetUpdateSequenceNum() bool
- func (p *SavedSearch) Read(iprot thrift.TProtocol) error
- func (p *SavedSearch) String() string
- func (p *SavedSearch) Write(oprot thrift.TProtocol) error
- type SavedSearchScope
- func (p *SavedSearchScope) IsSetIncludeAccount() bool
- func (p *SavedSearchScope) IsSetIncludeBusinessLinkedNotebooks() bool
- func (p *SavedSearchScope) IsSetIncludePersonalLinkedNotebooks() bool
- func (p *SavedSearchScope) Read(iprot thrift.TProtocol) error
- func (p *SavedSearchScope) String() string
- func (p *SavedSearchScope) Write(oprot thrift.TProtocol) error
- type SharedNotebook
- func (p *SharedNotebook) IsSetAllowPreview() bool
- func (p *SharedNotebook) IsSetEmail() bool
- func (p *SharedNotebook) IsSetId() bool
- func (p *SharedNotebook) IsSetNotebookGuid() bool
- func (p *SharedNotebook) IsSetNotebookModifiable() bool
- func (p *SharedNotebook) IsSetPrivilege() bool
- func (p *SharedNotebook) IsSetRecipientSettings() bool
- func (p *SharedNotebook) IsSetRequireLogin() bool
- func (p *SharedNotebook) IsSetServiceCreated() bool
- func (p *SharedNotebook) IsSetServiceUpdated() bool
- func (p *SharedNotebook) IsSetShareKey() bool
- func (p *SharedNotebook) IsSetUserId() bool
- func (p *SharedNotebook) IsSetUsername() bool
- func (p *SharedNotebook) Read(iprot thrift.TProtocol) error
- func (p *SharedNotebook) String() string
- func (p *SharedNotebook) Write(oprot thrift.TProtocol) error
- type SharedNotebookInstanceRestrictions
- type SharedNotebookPrivilegeLevel
- type SharedNotebookRecipientSettings
- func (p *SharedNotebookRecipientSettings) IsSetReminderNotifyEmail() bool
- func (p *SharedNotebookRecipientSettings) IsSetReminderNotifyInApp() bool
- func (p *SharedNotebookRecipientSettings) Read(iprot thrift.TProtocol) error
- func (p *SharedNotebookRecipientSettings) String() string
- func (p *SharedNotebookRecipientSettings) Write(oprot thrift.TProtocol) error
- type SponsoredGroupRole
- type Tag
- type Timestamp
- type User
- func (p *User) IsSetAccounting() bool
- func (p *User) IsSetActive() bool
- func (p *User) IsSetAttributes() bool
- func (p *User) IsSetBusinessUserInfo() bool
- func (p *User) IsSetCreated() bool
- func (p *User) IsSetDeleted() bool
- func (p *User) IsSetEmail() bool
- func (p *User) IsSetId() bool
- func (p *User) IsSetName() bool
- func (p *User) IsSetPremiumInfo() bool
- func (p *User) IsSetPrivilege() bool
- func (p *User) IsSetShardId() bool
- func (p *User) IsSetTimezone() bool
- func (p *User) IsSetUpdated() bool
- func (p *User) IsSetUsername() bool
- func (p *User) Read(iprot thrift.TProtocol) error
- func (p *User) String() string
- func (p *User) Write(oprot thrift.TProtocol) error
- type UserAttributes
- func (p *UserAttributes) IsSetBusinessAddress() bool
- func (p *UserAttributes) IsSetClipFullPage() bool
- func (p *UserAttributes) IsSetComments() bool
- func (p *UserAttributes) IsSetDailyEmailLimit() bool
- func (p *UserAttributes) IsSetDateAgreedToTermsOfService() bool
- func (p *UserAttributes) IsSetDefaultLatitude() bool
- func (p *UserAttributes) IsSetDefaultLocationName() bool
- func (p *UserAttributes) IsSetDefaultLongitude() bool
- func (p *UserAttributes) IsSetEducationalDiscount() bool
- func (p *UserAttributes) IsSetEmailOptOutDate() bool
- func (p *UserAttributes) IsSetGroupName() bool
- func (p *UserAttributes) IsSetHideSponsorBilling() bool
- func (p *UserAttributes) IsSetIncomingEmailAddress() bool
- func (p *UserAttributes) IsSetMaxReferrals() bool
- func (p *UserAttributes) IsSetPartnerEmailOptInDate() bool
- func (p *UserAttributes) IsSetPreactivation() bool
- func (p *UserAttributes) IsSetPreferredCountry() bool
- func (p *UserAttributes) IsSetPreferredLanguage() bool
- func (p *UserAttributes) IsSetRecentMailedAddresses() bool
- func (p *UserAttributes) IsSetRecognitionLanguage() bool
- func (p *UserAttributes) IsSetRefererCode() bool
- func (p *UserAttributes) IsSetReferralCount() bool
- func (p *UserAttributes) IsSetReferralProof() bool
- func (p *UserAttributes) IsSetReminderEmailConfig() bool
- func (p *UserAttributes) IsSetSentEmailCount() bool
- func (p *UserAttributes) IsSetSentEmailDate() bool
- func (p *UserAttributes) IsSetTaxExempt() bool
- func (p *UserAttributes) IsSetTwitterId() bool
- func (p *UserAttributes) IsSetTwitterUserName() bool
- func (p *UserAttributes) IsSetUseEmailAutoFiling() bool
- func (p *UserAttributes) IsSetViewedPromotions() bool
- func (p *UserAttributes) Read(iprot thrift.TProtocol) error
- func (p *UserAttributes) String() string
- func (p *UserAttributes) Write(oprot thrift.TProtocol) error
- type UserID
Constants ¶
const CLASSIFICATION_RECIPE_SERVICE_RECIPE = "002"
const CLASSIFICATION_RECIPE_USER_NON_RECIPE = "000"
const CLASSIFICATION_RECIPE_USER_RECIPE = "001"
const EDAM_NOTE_SOURCE_MAIL_CLIP = "mail.clip"
const EDAM_NOTE_SOURCE_MAIL_SMTP_GATEWAY = "mail.smtp"
const EDAM_NOTE_SOURCE_WEB_CLIP = "web.clip"
Variables ¶
var GoUnusedProtection__ int
Functions ¶
This section is empty.
Types ¶
type Accounting ¶
type Accounting struct { UploadLimit int64 `thrift:"uploadLimit,1"` UploadLimitEnd Timestamp `thrift:"uploadLimitEnd,2"` UploadLimitNextMonth int64 `thrift:"uploadLimitNextMonth,3"` PremiumServiceStatus PremiumOrderStatus `thrift:"premiumServiceStatus,4"` PremiumOrderNumber string `thrift:"premiumOrderNumber,5"` PremiumCommerceService string `thrift:"premiumCommerceService,6"` PremiumServiceStart Timestamp `thrift:"premiumServiceStart,7"` PremiumServiceSKU string `thrift:"premiumServiceSKU,8"` LastSuccessfulCharge Timestamp `thrift:"lastSuccessfulCharge,9"` LastFailedCharge Timestamp `thrift:"lastFailedCharge,10"` LastFailedChargeReason string `thrift:"lastFailedChargeReason,11"` NextPaymentDue Timestamp `thrift:"nextPaymentDue,12"` PremiumLockUntil Timestamp `thrift:"premiumLockUntil,13"` Updated Timestamp `thrift:"updated,14"` // unused field # 15 PremiumSubscriptionNumber string `thrift:"premiumSubscriptionNumber,16"` LastRequestedCharge Timestamp `thrift:"lastRequestedCharge,17"` Currency string `thrift:"currency,18"` UnitPrice int32 `thrift:"unitPrice,19"` BusinessId int32 `thrift:"businessId,20"` BusinessName string `thrift:"businessName,21"` BusinessRole BusinessUserRole `thrift:"businessRole,22"` UnitDiscount int32 `thrift:"unitDiscount,23"` NextChargeDate Timestamp `thrift:"nextChargeDate,24"` }
func NewAccounting ¶
func NewAccounting() *Accounting
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) IsSetUploadLimit ¶
func (p *Accounting) IsSetUploadLimit() bool
func (*Accounting) IsSetUploadLimitEnd ¶
func (p *Accounting) IsSetUploadLimitEnd() bool
func (*Accounting) IsSetUploadLimitNextMonth ¶
func (p *Accounting) IsSetUploadLimitNextMonth() bool
func (*Accounting) String ¶
func (p *Accounting) String() string
type BusinessNotebook ¶
type BusinessNotebook struct { NotebookDescription string `thrift:"notebookDescription,1"` Privilege SharedNotebookPrivilegeLevel `thrift:"privilege,2"` Recommended bool `thrift:"recommended,3"` }
func NewBusinessNotebook ¶
func NewBusinessNotebook() *BusinessNotebook
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) String ¶
func (p *BusinessNotebook) String() string
type BusinessUserInfo ¶
type BusinessUserInfo struct { BusinessId int32 `thrift:"businessId,1"` BusinessName string `thrift:"businessName,2"` Role BusinessUserRole `thrift:"role,3"` Email string `thrift:"email,4"` }
func NewBusinessUserInfo ¶
func NewBusinessUserInfo() *BusinessUserInfo
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) String ¶
func (p *BusinessUserInfo) String() string
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 )
func BusinessUserRoleFromString ¶
func BusinessUserRoleFromString(s string) (BusinessUserRole, error)
func (BusinessUserRole) String ¶
func (p BusinessUserRole) String() string
type Data ¶
type Data struct { BodyHash []byte `thrift:"bodyHash,1"` Size int32 `thrift:"size,2"` Body []byte `thrift:"body,3"` }
func (*Data) IsSetBodyHash ¶
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.
type LazyMap ¶
type LazyMap struct { KeysOnly map[string]bool `thrift:"keysOnly,1"` FullMap map[string]string `thrift:"fullMap,2"` }
func NewLazyMap ¶
func NewLazyMap() *LazyMap
func (*LazyMap) IsSetFullMap ¶
func (*LazyMap) IsSetKeysOnly ¶
type LinkedNotebook ¶
type LinkedNotebook struct { // unused field # 1 Username string `thrift:"username,3"` ShardId string `thrift:"shardId,4"` Uri string `thrift:"uri,6"` Guid Guid `thrift:"guid,7"` UpdateSequenceNum int32 `thrift:"updateSequenceNum,8"` NoteStoreUrl string `thrift:"noteStoreUrl,9"` WebApiUrlPrefix string `thrift:"webApiUrlPrefix,10"` Stack string `thrift:"stack,11"` BusinessId int32 `thrift:"businessId,12"` }
func NewLinkedNotebook ¶
func NewLinkedNotebook() *LinkedNotebook
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) IsSetShareKey ¶
func (p *LinkedNotebook) IsSetShareKey() bool
func (*LinkedNotebook) IsSetShareName ¶
func (p *LinkedNotebook) IsSetShareName() bool
func (*LinkedNotebook) IsSetStack ¶
func (p *LinkedNotebook) IsSetStack() bool
func (*LinkedNotebook) IsSetUpdateSequenceNum ¶
func (p *LinkedNotebook) IsSetUpdateSequenceNum() bool
func (*LinkedNotebook) IsSetUri ¶
func (p *LinkedNotebook) IsSetUri() bool
func (*LinkedNotebook) IsSetUsername ¶
func (p *LinkedNotebook) IsSetUsername() bool
func (*LinkedNotebook) IsSetWebApiUrlPrefix ¶
func (p *LinkedNotebook) IsSetWebApiUrlPrefix() bool
func (*LinkedNotebook) String ¶
func (p *LinkedNotebook) String() string
type Note ¶
type Note struct { Guid Guid `thrift:"guid,1"` Title string `thrift:"title,2"` Content string `thrift:"content,3"` ContentHash []byte `thrift:"contentHash,4"` ContentLength int32 `thrift:"contentLength,5"` Created Timestamp `thrift:"created,6"` Updated Timestamp `thrift:"updated,7"` Deleted Timestamp `thrift:"deleted,8"` Active bool `thrift:"active,9"` UpdateSequenceNum int32 `thrift:"updateSequenceNum,10"` NotebookGuid string `thrift:"notebookGuid,11"` TagGuids []Guid `thrift:"tagGuids,12"` Resources []*Resource `thrift:"resources,13"` Attributes *NoteAttributes `thrift:"attributes,14"` TagNames []string `thrift:"tagNames,15"` }
func (*Note) IsSetActive ¶
func (*Note) IsSetAttributes ¶
func (*Note) IsSetContent ¶
func (*Note) IsSetContentHash ¶
func (*Note) IsSetContentLength ¶
func (*Note) IsSetCreated ¶
func (*Note) IsSetDeleted ¶
func (*Note) IsSetNotebookGuid ¶
func (*Note) IsSetResources ¶
func (*Note) IsSetTagGuids ¶
func (*Note) IsSetTagNames ¶
func (*Note) IsSetTitle ¶
func (*Note) IsSetUpdateSequenceNum ¶
func (*Note) IsSetUpdated ¶
type NoteAttributes ¶
type NoteAttributes struct { SubjectDate Timestamp `thrift:"subjectDate,1"` // unused field # 2 // unused field # 3 // unused field # 4 // unused field # 5 // unused field # 6 // unused field # 7 // unused field # 8 // unused field # 9 Latitude float64 `thrift:"latitude,10"` Longitude float64 `thrift:"longitude,11"` Altitude float64 `thrift:"altitude,12"` Author string `thrift:"author,13"` Source string `thrift:"source,14"` SourceURL string `thrift:"sourceURL,15"` SourceApplication string `thrift:"sourceApplication,16"` ReminderOrder int64 `thrift:"reminderOrder,18"` ReminderDoneTime Timestamp `thrift:"reminderDoneTime,19"` ReminderTime Timestamp `thrift:"reminderTime,20"` PlaceName string `thrift:"placeName,21"` ContentClass string `thrift:"contentClass,22"` ApplicationData *LazyMap `thrift:"applicationData,23"` LastEditedBy string `thrift:"lastEditedBy,24"` // unused field # 25 Classifications map[string]string `thrift:"classifications,26"` CreatorId UserID `thrift:"creatorId,27"` LastEditorId UserID `thrift:"lastEditorId,28"` }
func NewNoteAttributes ¶
func NewNoteAttributes() *NoteAttributes
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) 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) 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) 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) String ¶
func (p *NoteAttributes) String() string
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 )
func NoteSortOrderFromString ¶
func NoteSortOrderFromString(s string) (NoteSortOrder, error)
func (NoteSortOrder) String ¶
func (p NoteSortOrder) String() string
type Notebook ¶
type Notebook struct { Guid Guid `thrift:"guid,1"` Name string `thrift:"name,2"` // unused field # 3 // unused field # 4 UpdateSequenceNum int32 `thrift:"updateSequenceNum,5"` DefaultNotebook bool `thrift:"defaultNotebook,6"` ServiceCreated Timestamp `thrift:"serviceCreated,7"` ServiceUpdated Timestamp `thrift:"serviceUpdated,8"` // unused field # 9 Publishing *Publishing `thrift:"publishing,10"` Published bool `thrift:"published,11"` Stack string `thrift:"stack,12"` BusinessNotebook *BusinessNotebook `thrift:"businessNotebook,15"` Contact *User `thrift:"contact,16"` Restrictions *NotebookRestrictions `thrift:"restrictions,17"` }
func NewNotebook ¶
func NewNotebook() *Notebook
func (*Notebook) IsSetBusinessNotebook ¶
func (*Notebook) IsSetContact ¶
func (*Notebook) IsSetDefaultNotebook ¶
func (*Notebook) IsSetPublished ¶
func (*Notebook) IsSetPublishing ¶
func (*Notebook) IsSetRestrictions ¶
func (*Notebook) IsSetServiceCreated ¶
func (*Notebook) IsSetServiceUpdated ¶
func (*Notebook) IsSetSharedNotebookIds ¶
func (*Notebook) IsSetSharedNotebooks ¶
func (*Notebook) IsSetStack ¶
func (*Notebook) IsSetUpdateSequenceNum ¶
type NotebookDescriptor ¶
type NotebookDescriptor struct { Guid Guid `thrift:"guid,1"` NotebookDisplayName string `thrift:"notebookDisplayName,2"` ContactName string `thrift:"contactName,3"` JoinedUserCount int32 `thrift:"joinedUserCount,5"` }
func NewNotebookDescriptor ¶
func NewNotebookDescriptor() *NotebookDescriptor
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) String ¶
func (p *NotebookDescriptor) String() string
type NotebookRestrictions ¶
type NotebookRestrictions struct { NoReadNotes bool `thrift:"noReadNotes,1"` NoCreateNotes bool `thrift:"noCreateNotes,2"` NoUpdateNotes bool `thrift:"noUpdateNotes,3"` NoExpungeNotes bool `thrift:"noExpungeNotes,4"` NoEmailNotes bool `thrift:"noEmailNotes,6"` NoSendMessageToRecipients bool `thrift:"noSendMessageToRecipients,7"` NoUpdateNotebook bool `thrift:"noUpdateNotebook,8"` NoExpungeNotebook bool `thrift:"noExpungeNotebook,9"` NoSetDefaultNotebook bool `thrift:"noSetDefaultNotebook,10"` NoSetNotebookStack bool `thrift:"noSetNotebookStack,11"` NoPublishToPublic bool `thrift:"noPublishToPublic,12"` NoPublishToBusinessLibrary bool `thrift:"noPublishToBusinessLibrary,13"` NoCreateTags bool `thrift:"noCreateTags,14"` NoUpdateTags bool `thrift:"noUpdateTags,15"` NoExpungeTags bool `thrift:"noExpungeTags,16"` NoSetParentTag bool `thrift:"noSetParentTag,17"` }
func NewNotebookRestrictions ¶
func NewNotebookRestrictions() *NotebookRestrictions
func (*NotebookRestrictions) IsSetExpungeWhichSharedNotebookRestrictions ¶
func (p *NotebookRestrictions) IsSetExpungeWhichSharedNotebookRestrictions() 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) IsSetNoSendMessageToRecipients ¶
func (p *NotebookRestrictions) IsSetNoSendMessageToRecipients() bool
func (*NotebookRestrictions) IsSetNoSetDefaultNotebook ¶
func (p *NotebookRestrictions) IsSetNoSetDefaultNotebook() bool
func (*NotebookRestrictions) IsSetNoSetNotebookStack ¶
func (p *NotebookRestrictions) IsSetNoSetNotebookStack() bool
func (*NotebookRestrictions) IsSetNoSetParentTag ¶
func (p *NotebookRestrictions) IsSetNoSetParentTag() bool
func (*NotebookRestrictions) IsSetNoShareNotes ¶
func (p *NotebookRestrictions) IsSetNoShareNotes() 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) String ¶
func (p *NotebookRestrictions) String() string
type PremiumInfo ¶
type PremiumInfo struct { CurrentTime Timestamp `thrift:"currentTime,1,required"` Premium bool `thrift:"premium,2,required"` PremiumRecurring bool `thrift:"premiumRecurring,3,required"` PremiumExpirationDate Timestamp `thrift:"premiumExpirationDate,4"` PremiumExtendable bool `thrift:"premiumExtendable,5,required"` PremiumPending bool `thrift:"premiumPending,6,required"` PremiumCancellationPending bool `thrift:"premiumCancellationPending,7,required"` CanPurchaseUploadAllowance bool `thrift:"canPurchaseUploadAllowance,8,required"` SponsoredGroupName string `thrift:"sponsoredGroupName,9"` SponsoredGroupRole SponsoredGroupRole `thrift:"sponsoredGroupRole,10"` PremiumUpgradable bool `thrift:"premiumUpgradable,11"` }
func NewPremiumInfo ¶
func NewPremiumInfo() *PremiumInfo
func (*PremiumInfo) IsSetPremiumExpirationDate ¶
func (p *PremiumInfo) IsSetPremiumExpirationDate() bool
func (*PremiumInfo) IsSetPremiumUpgradable ¶
func (p *PremiumInfo) IsSetPremiumUpgradable() bool
func (*PremiumInfo) IsSetSponsoredGroupName ¶
func (p *PremiumInfo) IsSetSponsoredGroupName() bool
func (*PremiumInfo) IsSetSponsoredGroupRole ¶
func (p *PremiumInfo) IsSetSponsoredGroupRole() bool
func (*PremiumInfo) String ¶
func (p *PremiumInfo) String() string
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. Their premium
privileges have been revoked. 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 )
func PremiumOrderStatusFromString ¶
func PremiumOrderStatusFromString(s string) (PremiumOrderStatus, error)
func (PremiumOrderStatus) String ¶
func (p PremiumOrderStatus) String() string
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 )
func PrivilegeLevelFromString ¶
func PrivilegeLevelFromString(s string) (PrivilegeLevel, error)
func (PrivilegeLevel) String ¶
func (p PrivilegeLevel) String() string
type Publishing ¶
type Publishing struct { Uri string `thrift:"uri,1"` Order NoteSortOrder `thrift:"order,2"` Ascending bool `thrift:"ascending,3"` PublicDescription string `thrift:"publicDescription,4"` }
func NewPublishing ¶
func NewPublishing() *Publishing
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) String ¶
func (p *Publishing) String() string
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 )
func QueryFormatFromString ¶
func QueryFormatFromString(s string) (QueryFormat, error)
func (QueryFormat) String ¶
func (p QueryFormat) String() string
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 )
func ReminderEmailConfigFromString ¶
func ReminderEmailConfigFromString(s string) (ReminderEmailConfig, error)
func (ReminderEmailConfig) String ¶
func (p ReminderEmailConfig) String() string
type Resource ¶
type Resource struct { Guid Guid `thrift:"guid,1"` NoteGuid Guid `thrift:"noteGuid,2"` Data *Data `thrift:"data,3"` Mime string `thrift:"mime,4"` Width int16 `thrift:"width,5"` Height int16 `thrift:"height,6"` Duration int16 `thrift:"duration,7"` Active bool `thrift:"active,8"` Recognition *Data `thrift:"recognition,9"` // unused field # 10 Attributes *ResourceAttributes `thrift:"attributes,11"` UpdateSequenceNum int32 `thrift:"updateSequenceNum,12"` AlternateData *Data `thrift:"alternateData,13"` }
func NewResource ¶
func NewResource() *Resource
func (*Resource) IsSetActive ¶
func (*Resource) IsSetAlternateData ¶
func (*Resource) IsSetAttributes ¶
func (*Resource) IsSetDuration ¶
func (*Resource) IsSetHeight ¶
func (*Resource) IsSetNoteGuid ¶
func (*Resource) IsSetRecognition ¶
func (*Resource) IsSetUpdateSequenceNum ¶
func (*Resource) IsSetWidth ¶
type ResourceAttributes ¶
type ResourceAttributes struct { SourceURL string `thrift:"sourceURL,1"` Timestamp Timestamp `thrift:"timestamp,2"` Latitude float64 `thrift:"latitude,3"` Longitude float64 `thrift:"longitude,4"` Altitude float64 `thrift:"altitude,5"` CameraMake string `thrift:"cameraMake,6"` CameraModel string `thrift:"cameraModel,7"` ClientWillIndex bool `thrift:"clientWillIndex,8"` RecoType string `thrift:"recoType,9"` FileName string `thrift:"fileName,10"` Attachment bool `thrift:"attachment,11"` ApplicationData *LazyMap `thrift:"applicationData,12"` }
func NewResourceAttributes ¶
func NewResourceAttributes() *ResourceAttributes
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) String ¶
func (p *ResourceAttributes) String() string
type SavedSearch ¶
type SavedSearch struct { Guid Guid `thrift:"guid,1"` Name string `thrift:"name,2"` Query string `thrift:"query,3"` Format QueryFormat `thrift:"format,4"` UpdateSequenceNum int32 `thrift:"updateSequenceNum,5"` Scope *SavedSearchScope `thrift:"scope,6"` }
func NewSavedSearch ¶
func NewSavedSearch() *SavedSearch
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) String ¶
func (p *SavedSearch) String() string
type SavedSearchScope ¶
type SavedSearchScope struct { IncludeAccount bool `thrift:"includeAccount,1"` IncludePersonalLinkedNotebooks bool `thrift:"includePersonalLinkedNotebooks,2"` IncludeBusinessLinkedNotebooks bool `thrift:"includeBusinessLinkedNotebooks,3"` }
func NewSavedSearchScope ¶
func NewSavedSearchScope() *SavedSearchScope
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) String ¶
func (p *SavedSearchScope) String() string
type SharedNotebook ¶
type SharedNotebook struct {}
func NewSharedNotebook ¶
func NewSharedNotebook() *SharedNotebook
func (*SharedNotebook) IsSetAllowPreview ¶
func (p *SharedNotebook) IsSetAllowPreview() bool
func (*SharedNotebook) IsSetEmail ¶
func (p *SharedNotebook) IsSetEmail() 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) IsSetRecipientSettings ¶
func (p *SharedNotebook) IsSetRecipientSettings() bool
func (*SharedNotebook) IsSetRequireLogin ¶
func (p *SharedNotebook) IsSetRequireLogin() bool
func (*SharedNotebook) IsSetServiceCreated ¶
func (p *SharedNotebook) IsSetServiceCreated() bool
func (*SharedNotebook) IsSetServiceUpdated ¶
func (p *SharedNotebook) IsSetServiceUpdated() bool
func (*SharedNotebook) IsSetShareKey ¶
func (p *SharedNotebook) IsSetShareKey() bool
func (*SharedNotebook) IsSetUserId ¶
func (p *SharedNotebook) IsSetUserId() bool
func (*SharedNotebook) IsSetUsername ¶
func (p *SharedNotebook) IsSetUsername() bool
func (*SharedNotebook) String ¶
func (p *SharedNotebook) String() string
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.
ONLY_JOINED_OR_PREVIEW: The domain consists of shared notebooks that
"belong" to the recipient or still available for preview by any recipient. Shared notebooks that the recipient has joined (the username has already been assigned to our user) are in the domain. Additionally, shared notebooks that allow preview and have not yet been joined are in the domain.
NO_SHARED_NOTEBOOKS: No shared notebooks are applicable to the operation.
const ()
func SharedNotebookInstanceRestrictionsFromString ¶
func SharedNotebookInstanceRestrictionsFromString(s string) (SharedNotebookInstanceRestrictions, error)
func (SharedNotebookInstanceRestrictions) String ¶
func (p SharedNotebookInstanceRestrictions) String() string
type SharedNotebookPrivilegeLevel ¶
type SharedNotebookPrivilegeLevel int64
Privilege levels for accessing shared notebooks.
READ_NOTEBOOK: Recipient is able to read the contents of the shared notebook
but does to 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. This privilege level is primarily intended for use by individual shares.
BUSINESS_FULL_ACCESS: Intended for use with Business Notebooks, a BUSINESS_FULL_ACCESS level is FULL_ACCESS with the additional rights to change how the notebook will appear in the business library, including the rights to publish and unpublish the notebook from the library.
const ()
func SharedNotebookPrivilegeLevelFromString ¶
func SharedNotebookPrivilegeLevelFromString(s string) (SharedNotebookPrivilegeLevel, error)
func (SharedNotebookPrivilegeLevel) String ¶
func (p SharedNotebookPrivilegeLevel) String() string
type SharedNotebookRecipientSettings ¶
type SharedNotebookRecipientSettings struct {}
func NewSharedNotebookRecipientSettings ¶
func NewSharedNotebookRecipientSettings() *SharedNotebookRecipientSettings
func (*SharedNotebookRecipientSettings) IsSetReminderNotifyEmail ¶
func (p *SharedNotebookRecipientSettings) IsSetReminderNotifyEmail() bool
func (*SharedNotebookRecipientSettings) IsSetReminderNotifyInApp ¶
func (p *SharedNotebookRecipientSettings) IsSetReminderNotifyInApp() bool
func (*SharedNotebookRecipientSettings) Read ¶
func (p *SharedNotebookRecipientSettings) Read(iprot thrift.TProtocol) error
func (*SharedNotebookRecipientSettings) String ¶
func (p *SharedNotebookRecipientSettings) String() string
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 (SponsoredGroupRole) String ¶
func (p SponsoredGroupRole) String() string
type Tag ¶
type Tag struct { Guid Guid `thrift:"guid,1"` Name string `thrift:"name,2"` ParentGuid Guid `thrift:"parentGuid,3"` UpdateSequenceNum int32 `thrift:"updateSequenceNum,4"` }
func (*Tag) IsSetParentGuid ¶
func (*Tag) IsSetUpdateSequenceNum ¶
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
type User ¶
type User struct { Id UserID `thrift:"id,1"` Username string `thrift:"username,2"` Email string `thrift:"email,3"` Name string `thrift:"name,4"` // unused field # 5 Timezone string `thrift:"timezone,6"` Privilege PrivilegeLevel `thrift:"privilege,7"` // unused field # 8 Created Timestamp `thrift:"created,9"` Updated Timestamp `thrift:"updated,10"` Deleted Timestamp `thrift:"deleted,11"` // unused field # 12 Active bool `thrift:"active,13"` ShardId string `thrift:"shardId,14"` Attributes *UserAttributes `thrift:"attributes,15"` Accounting *Accounting `thrift:"accounting,16"` PremiumInfo *PremiumInfo `thrift:"premiumInfo,17"` BusinessUserInfo *BusinessUserInfo `thrift:"businessUserInfo,18"` }
func (*User) IsSetAccounting ¶
func (*User) IsSetActive ¶
func (*User) IsSetAttributes ¶
func (*User) IsSetBusinessUserInfo ¶
func (*User) IsSetCreated ¶
func (*User) IsSetDeleted ¶
func (*User) IsSetEmail ¶
func (*User) IsSetPremiumInfo ¶
func (*User) IsSetPrivilege ¶
func (*User) IsSetShardId ¶
func (*User) IsSetTimezone ¶
func (*User) IsSetUpdated ¶
func (*User) IsSetUsername ¶
type UserAttributes ¶
type UserAttributes struct { DefaultLocationName string `thrift:"defaultLocationName,1"` DefaultLatitude float64 `thrift:"defaultLatitude,2"` DefaultLongitude float64 `thrift:"defaultLongitude,3"` Preactivation bool `thrift:"preactivation,4"` ViewedPromotions []string `thrift:"viewedPromotions,5"` IncomingEmailAddress string `thrift:"incomingEmailAddress,6"` RecentMailedAddresses []string `thrift:"recentMailedAddresses,7"` // unused field # 8 Comments string `thrift:"comments,9"` // unused field # 10 DateAgreedToTermsOfService Timestamp `thrift:"dateAgreedToTermsOfService,11"` MaxReferrals int32 `thrift:"maxReferrals,12"` ReferralCount int32 `thrift:"referralCount,13"` RefererCode string `thrift:"refererCode,14"` SentEmailDate Timestamp `thrift:"sentEmailDate,15"` SentEmailCount int32 `thrift:"sentEmailCount,16"` DailyEmailLimit int32 `thrift:"dailyEmailLimit,17"` EmailOptOutDate Timestamp `thrift:"emailOptOutDate,18"` PartnerEmailOptInDate Timestamp `thrift:"partnerEmailOptInDate,19"` PreferredLanguage string `thrift:"preferredLanguage,20"` PreferredCountry string `thrift:"preferredCountry,21"` ClipFullPage bool `thrift:"clipFullPage,22"` TwitterUserName string `thrift:"twitterUserName,23"` TwitterId string `thrift:"twitterId,24"` GroupName string `thrift:"groupName,25"` RecognitionLanguage string `thrift:"recognitionLanguage,26"` // unused field # 27 ReferralProof string `thrift:"referralProof,28"` EducationalDiscount bool `thrift:"educationalDiscount,29"` BusinessAddress string `thrift:"businessAddress,30"` HideSponsorBilling bool `thrift:"hideSponsorBilling,31"` TaxExempt bool `thrift:"taxExempt,32"` UseEmailAutoFiling bool `thrift:"useEmailAutoFiling,33"` ReminderEmailConfig ReminderEmailConfig `thrift:"reminderEmailConfig,34"` }
func NewUserAttributes ¶
func NewUserAttributes() *UserAttributes
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) 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) IsSetPartnerEmailOptInDate ¶
func (p *UserAttributes) IsSetPartnerEmailOptInDate() 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) IsSetSentEmailCount ¶
func (p *UserAttributes) IsSetSentEmailCount() bool
func (*UserAttributes) IsSetSentEmailDate ¶
func (p *UserAttributes) IsSetSentEmailDate() bool
func (*UserAttributes) IsSetTaxExempt ¶
func (p *UserAttributes) IsSetTaxExempt() 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) String ¶
func (p *UserAttributes) String() string