QEverCloud  6.1.0
Unofficial Evernote Cloud API for Qt
Public Member Functions | Public Attributes | List of all members
qevercloud::ResourceAttributes Struct Reference

#include <Types.h>

Inheritance diagram for qevercloud::ResourceAttributes:
qevercloud::Printable

Public Member Functions

virtual void print (QTextStream &strm) const override
 
bool operator== (const ResourceAttributes &other) const
 
bool operator!= (const ResourceAttributes &other) const
 
- Public Member Functions inherited from qevercloud::Printable
 Printable ()=default
 
virtual ~Printable ()=default
 
virtual QString toString () const
 

Public Attributes

EverCloudLocalData localData
 
Optional< QString > sourceURL
 
Optional< Timestamptimestamp
 
Optional< double > latitude
 
Optional< double > longitude
 
Optional< double > altitude
 
Optional< QString > cameraMake
 
Optional< QString > cameraModel
 
Optional< bool > clientWillIndex
 
Optional< QString > recoType
 
Optional< QString > fileName
 
Optional< bool > attachment
 
Optional< LazyMapapplicationData
 

Detailed Description

Structure holding the optional attributes of a Resource

Member Function Documentation

◆ operator!=()

bool qevercloud::ResourceAttributes::operator!= ( const ResourceAttributes other) const
inline

◆ operator==()

bool qevercloud::ResourceAttributes::operator== ( const ResourceAttributes other) const
inline

◆ print()

virtual void qevercloud::ResourceAttributes::print ( QTextStream &  strm) const
overridevirtual

Implements qevercloud::Printable.

Member Data Documentation

◆ altitude

Optional< double > qevercloud::ResourceAttributes::altitude

the altitude where the resource was captured

◆ applicationData

Optional< LazyMap > qevercloud::ResourceAttributes::applicationData

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.

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.

Minimum length of a name (key): EDAM_APPLICATIONDATA_NAME_LEN_MIN
Sum max size of key and value: EDAM_APPLICATIONDATA_ENTRY_LEN_MAX
Syntax regex for name (key): EDAM_APPLICATIONDATA_NAME_REGEX

◆ attachment

Optional< bool > qevercloud::ResourceAttributes::attachment

this will be true if the resource should be displayed as an attachment, or false if the resource should be displayed inline (if possible).

◆ cameraMake

Optional< QString > qevercloud::ResourceAttributes::cameraMake

information about an image's camera, e.g. as embedded in the image's EXIF data
Length: EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX

◆ cameraModel

Optional< QString > qevercloud::ResourceAttributes::cameraModel

information about an image's camera, e.g. as embedded in the image's EXIF data
Length: EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX

◆ clientWillIndex

Optional< bool > qevercloud::ResourceAttributes::clientWillIndex

if true, then the original client that submitted the resource plans to submit the recognition index for this resource at a later time.

◆ fileName

Optional< QString > qevercloud::ResourceAttributes::fileName

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.

◆ latitude

Optional< double > qevercloud::ResourceAttributes::latitude

the latitude where the resource was captured

◆ localData

EverCloudLocalData qevercloud::ResourceAttributes::localData

See the declaration of EverCloudLocalData for details

◆ longitude

Optional< double > qevercloud::ResourceAttributes::longitude

the longitude where the resource was captured

◆ recoType

Optional< QString > qevercloud::ResourceAttributes::recoType

DEPRECATED - this field is no longer set by the service, so should be ignored.

◆ sourceURL

Optional< QString > qevercloud::ResourceAttributes::sourceURL

the original location where the resource was hosted
Length: EDAM_ATTRIBUTE_LEN_MIN - EDAM_ATTRIBUTE_LEN_MAX

◆ timestamp

Optional< Timestamp > qevercloud::ResourceAttributes::timestamp

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)