com.evernote.edam.notestore
Class NotesMetadataResultSpec

java.lang.Object
  extended by com.evernote.edam.notestore.NotesMetadataResultSpec
All Implemented Interfaces:
com.evernote.thrift.TBase<NotesMetadataResultSpec>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<NotesMetadataResultSpec>

public class NotesMetadataResultSpec
extends java.lang.Object
implements com.evernote.thrift.TBase<NotesMetadataResultSpec>, java.io.Serializable, java.lang.Cloneable

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)

See Also:
Serialized Form

Constructor Summary
NotesMetadataResultSpec()
           
NotesMetadataResultSpec(NotesMetadataResultSpec other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
          Return to the state of having just been initialized, as though you had just called the default constructor.
 int compareTo(NotesMetadataResultSpec other)
           
 NotesMetadataResultSpec deepCopy()
          Creates a deep copy of the object.
 boolean equals(NotesMetadataResultSpec that)
           
 boolean equals(java.lang.Object that)
           
 int hashCode()
           
 boolean isIncludeAttributes()
           
 boolean isIncludeContentLength()
           
 boolean isIncludeCreated()
           
 boolean isIncludeDeleted()
           
 boolean isIncludeLargestResourceMime()
           
 boolean isIncludeLargestResourceSize()
           
 boolean isIncludeNotebookGuid()
           
 boolean isIncludeTagGuids()
           
 boolean isIncludeTitle()
           
 boolean isIncludeUpdated()
           
 boolean isIncludeUpdateSequenceNum()
           
 boolean isSetIncludeAttributes()
          Returns true if field includeAttributes is set (has been asigned a value) and false otherwise
 boolean isSetIncludeContentLength()
          Returns true if field includeContentLength is set (has been asigned a value) and false otherwise
 boolean isSetIncludeCreated()
          Returns true if field includeCreated is set (has been asigned a value) and false otherwise
 boolean isSetIncludeDeleted()
          Returns true if field includeDeleted is set (has been asigned a value) and false otherwise
 boolean isSetIncludeLargestResourceMime()
          Returns true if field includeLargestResourceMime is set (has been asigned a value) and false otherwise
 boolean isSetIncludeLargestResourceSize()
          Returns true if field includeLargestResourceSize is set (has been asigned a value) and false otherwise
 boolean isSetIncludeNotebookGuid()
          Returns true if field includeNotebookGuid is set (has been asigned a value) and false otherwise
 boolean isSetIncludeTagGuids()
          Returns true if field includeTagGuids is set (has been asigned a value) and false otherwise
 boolean isSetIncludeTitle()
          Returns true if field includeTitle is set (has been asigned a value) and false otherwise
 boolean isSetIncludeUpdated()
          Returns true if field includeUpdated is set (has been asigned a value) and false otherwise
 boolean isSetIncludeUpdateSequenceNum()
          Returns true if field includeUpdateSequenceNum is set (has been asigned a value) and false otherwise
 void read(com.evernote.thrift.protocol.TProtocol iprot)
          Reads an instance of the object from the given protocol.
 void setIncludeAttributes(boolean includeAttributes)
           
 void setIncludeAttributesIsSet(boolean value)
           
 void setIncludeContentLength(boolean includeContentLength)
           
 void setIncludeContentLengthIsSet(boolean value)
           
 void setIncludeCreated(boolean includeCreated)
           
 void setIncludeCreatedIsSet(boolean value)
           
 void setIncludeDeleted(boolean includeDeleted)
           
 void setIncludeDeletedIsSet(boolean value)
           
 void setIncludeLargestResourceMime(boolean includeLargestResourceMime)
           
 void setIncludeLargestResourceMimeIsSet(boolean value)
           
 void setIncludeLargestResourceSize(boolean includeLargestResourceSize)
           
 void setIncludeLargestResourceSizeIsSet(boolean value)
           
 void setIncludeNotebookGuid(boolean includeNotebookGuid)
           
 void setIncludeNotebookGuidIsSet(boolean value)
           
 void setIncludeTagGuids(boolean includeTagGuids)
           
 void setIncludeTagGuidsIsSet(boolean value)
           
 void setIncludeTitle(boolean includeTitle)
           
 void setIncludeTitleIsSet(boolean value)
           
 void setIncludeUpdated(boolean includeUpdated)
           
 void setIncludeUpdatedIsSet(boolean value)
           
 void setIncludeUpdateSequenceNum(boolean includeUpdateSequenceNum)
           
 void setIncludeUpdateSequenceNumIsSet(boolean value)
           
 java.lang.String toString()
           
 void unsetIncludeAttributes()
           
 void unsetIncludeContentLength()
           
 void unsetIncludeCreated()
           
 void unsetIncludeDeleted()
           
 void unsetIncludeLargestResourceMime()
           
 void unsetIncludeLargestResourceSize()
           
 void unsetIncludeNotebookGuid()
           
 void unsetIncludeTagGuids()
           
 void unsetIncludeTitle()
           
 void unsetIncludeUpdated()
           
 void unsetIncludeUpdateSequenceNum()
           
 void validate()
           
 void write(com.evernote.thrift.protocol.TProtocol oprot)
          Writes the object to the given protocol.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotesMetadataResultSpec

public NotesMetadataResultSpec()

NotesMetadataResultSpec

public NotesMetadataResultSpec(NotesMetadataResultSpec other)
Performs a deep copy on other.

Method Detail

deepCopy

public NotesMetadataResultSpec deepCopy()
Description copied from interface: com.evernote.thrift.TBase
Creates a deep copy of the object.

Specified by:
deepCopy in interface com.evernote.thrift.TBase<NotesMetadataResultSpec>

clear

public void clear()
Description copied from interface: com.evernote.thrift.TBase
Return to the state of having just been initialized, as though you had just called the default constructor.

Specified by:
clear in interface com.evernote.thrift.TBase<NotesMetadataResultSpec>

isIncludeTitle

public boolean isIncludeTitle()

setIncludeTitle

public void setIncludeTitle(boolean includeTitle)

unsetIncludeTitle

public void unsetIncludeTitle()

isSetIncludeTitle

public boolean isSetIncludeTitle()
Returns true if field includeTitle is set (has been asigned a value) and false otherwise


setIncludeTitleIsSet

public void setIncludeTitleIsSet(boolean value)

isIncludeContentLength

public boolean isIncludeContentLength()

setIncludeContentLength

public void setIncludeContentLength(boolean includeContentLength)

unsetIncludeContentLength

public void unsetIncludeContentLength()

isSetIncludeContentLength

public boolean isSetIncludeContentLength()
Returns true if field includeContentLength is set (has been asigned a value) and false otherwise


setIncludeContentLengthIsSet

public void setIncludeContentLengthIsSet(boolean value)

isIncludeCreated

public boolean isIncludeCreated()

setIncludeCreated

public void setIncludeCreated(boolean includeCreated)

unsetIncludeCreated

public void unsetIncludeCreated()

isSetIncludeCreated

public boolean isSetIncludeCreated()
Returns true if field includeCreated is set (has been asigned a value) and false otherwise


setIncludeCreatedIsSet

public void setIncludeCreatedIsSet(boolean value)

isIncludeUpdated

public boolean isIncludeUpdated()

setIncludeUpdated

public void setIncludeUpdated(boolean includeUpdated)

unsetIncludeUpdated

public void unsetIncludeUpdated()

isSetIncludeUpdated

public boolean isSetIncludeUpdated()
Returns true if field includeUpdated is set (has been asigned a value) and false otherwise


setIncludeUpdatedIsSet

public void setIncludeUpdatedIsSet(boolean value)

isIncludeDeleted

public boolean isIncludeDeleted()

setIncludeDeleted

public void setIncludeDeleted(boolean includeDeleted)

unsetIncludeDeleted

public void unsetIncludeDeleted()

isSetIncludeDeleted

public boolean isSetIncludeDeleted()
Returns true if field includeDeleted is set (has been asigned a value) and false otherwise


setIncludeDeletedIsSet

public void setIncludeDeletedIsSet(boolean value)

isIncludeUpdateSequenceNum

public boolean isIncludeUpdateSequenceNum()

setIncludeUpdateSequenceNum

public void setIncludeUpdateSequenceNum(boolean includeUpdateSequenceNum)

unsetIncludeUpdateSequenceNum

public void unsetIncludeUpdateSequenceNum()

isSetIncludeUpdateSequenceNum

public boolean isSetIncludeUpdateSequenceNum()
Returns true if field includeUpdateSequenceNum is set (has been asigned a value) and false otherwise


setIncludeUpdateSequenceNumIsSet

public void setIncludeUpdateSequenceNumIsSet(boolean value)

isIncludeNotebookGuid

public boolean isIncludeNotebookGuid()

setIncludeNotebookGuid

public void setIncludeNotebookGuid(boolean includeNotebookGuid)

unsetIncludeNotebookGuid

public void unsetIncludeNotebookGuid()

isSetIncludeNotebookGuid

public boolean isSetIncludeNotebookGuid()
Returns true if field includeNotebookGuid is set (has been asigned a value) and false otherwise


setIncludeNotebookGuidIsSet

public void setIncludeNotebookGuidIsSet(boolean value)

isIncludeTagGuids

public boolean isIncludeTagGuids()

setIncludeTagGuids

public void setIncludeTagGuids(boolean includeTagGuids)

unsetIncludeTagGuids

public void unsetIncludeTagGuids()

isSetIncludeTagGuids

public boolean isSetIncludeTagGuids()
Returns true if field includeTagGuids is set (has been asigned a value) and false otherwise


setIncludeTagGuidsIsSet

public void setIncludeTagGuidsIsSet(boolean value)

isIncludeAttributes

public boolean isIncludeAttributes()

setIncludeAttributes

public void setIncludeAttributes(boolean includeAttributes)

unsetIncludeAttributes

public void unsetIncludeAttributes()

isSetIncludeAttributes

public boolean isSetIncludeAttributes()
Returns true if field includeAttributes is set (has been asigned a value) and false otherwise


setIncludeAttributesIsSet

public void setIncludeAttributesIsSet(boolean value)

isIncludeLargestResourceMime

public boolean isIncludeLargestResourceMime()

setIncludeLargestResourceMime

public void setIncludeLargestResourceMime(boolean includeLargestResourceMime)

unsetIncludeLargestResourceMime

public void unsetIncludeLargestResourceMime()

isSetIncludeLargestResourceMime

public boolean isSetIncludeLargestResourceMime()
Returns true if field includeLargestResourceMime is set (has been asigned a value) and false otherwise


setIncludeLargestResourceMimeIsSet

public void setIncludeLargestResourceMimeIsSet(boolean value)

isIncludeLargestResourceSize

public boolean isIncludeLargestResourceSize()

setIncludeLargestResourceSize

public void setIncludeLargestResourceSize(boolean includeLargestResourceSize)

unsetIncludeLargestResourceSize

public void unsetIncludeLargestResourceSize()

isSetIncludeLargestResourceSize

public boolean isSetIncludeLargestResourceSize()
Returns true if field includeLargestResourceSize is set (has been asigned a value) and false otherwise


setIncludeLargestResourceSizeIsSet

public void setIncludeLargestResourceSizeIsSet(boolean value)

equals

public boolean equals(java.lang.Object that)
Overrides:
equals in class java.lang.Object

equals

public boolean equals(NotesMetadataResultSpec that)

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(NotesMetadataResultSpec other)
Specified by:
compareTo in interface java.lang.Comparable<NotesMetadataResultSpec>

read

public void read(com.evernote.thrift.protocol.TProtocol iprot)
          throws com.evernote.thrift.TException
Description copied from interface: com.evernote.thrift.TBase
Reads an instance of the object from the given protocol.

Specified by:
read in interface com.evernote.thrift.TBase<NotesMetadataResultSpec>
Parameters:
iprot - Input protocol
Throws:
com.evernote.thrift.TException

write

public void write(com.evernote.thrift.protocol.TProtocol oprot)
           throws com.evernote.thrift.TException
Description copied from interface: com.evernote.thrift.TBase
Writes the object to the given protocol.

Specified by:
write in interface com.evernote.thrift.TBase<NotesMetadataResultSpec>
Parameters:
oprot - Output protocol
Throws:
com.evernote.thrift.TException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

validate

public void validate()
              throws com.evernote.thrift.TException
Throws:
com.evernote.thrift.TException