Parent

Included Modules

Files

Class Index [+]

Quicksearch

Evernote::EDAM::Type::SavedSearch

A named search associated with the account that can be quickly re-used.

guid

  <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>

name

  <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>

query

  <dd>A string expressing the search to be performed.
  <br/>
  Length:  EDAM_SAVED_SEARCH_QUERY_LEN_MIN - EDAM_SAVED_SEARCH_QUERY_LEN_MAX
  </dd>

format

  <dd>The format of the query string, to determine how to parse
  and process it.
  </dd>

updateSequenceNum

  <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>

Constants

GUID
NAME
QUERY
FORMAT
UPDATESEQUENCENUM
FIELDS

Public Instance Methods

struct_fields() click to toggle source
      # File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/types_types.rb, line 1328
1328:               def struct_fields; FIELDS; end
validate() click to toggle source
      # File /tmp/buildd/evernote-mode-0.10/ruby/lib/Evernote/EDAM/types_types.rb, line 1330
1330:               def validate
1331:                 unless @format.nil? || Evernote::EDAM::Type::QueryFormat::VALID_VALUES.include?(@format)
1332:                   raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field format!')
1333:                 end
1334:               end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.