Class: Evernote::EDAM::Type::NotebookDescriptor

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/Evernote/EDAM/types_types.rb

Overview

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>

Constant Summary collapse

GUID =
1
NOTEBOOKDISPLAYNAME =
2
CONTACTNAME =
3
HASSHAREDNOTEBOOK =
4
JOINEDUSERCOUNT =
5
FIELDS =
{
  GUID => {:type => ::Thrift::Types::STRING, :name => 'guid', :optional => true},
  NOTEBOOKDISPLAYNAME => {:type => ::Thrift::Types::STRING, :name => 'notebookDisplayName', :optional => true},
  CONTACTNAME => {:type => ::Thrift::Types::STRING, :name => 'contactName', :optional => true},
  HASSHAREDNOTEBOOK => {:type => ::Thrift::Types::BOOL, :name => 'hasSharedNotebook', :optional => true},
  JOINEDUSERCOUNT => {:type => ::Thrift::Types::I32, :name => 'joinedUserCount', :optional => true}
}

Constants included from Thrift::Struct_Union

Thrift::Struct_Union::CONTAINER_TYPES

Instance Method Summary collapse

Methods included from Thrift::Struct

#<=>, #==, #differences, #eql?, field_accessor, #fields_with_default_values, generate_accessors, #hash, #initialize, #inspect, qmark_isset_method, #read, #write

Methods included from Thrift::Struct_Union

#each_field, #field_info, #inspect_collection, #inspect_field, #is_container?, #name_to_id, #read_field, #sorted_field_ids, #write_container, #write_data

Instance Method Details

#struct_fieldsObject



2418
# File 'lib/Evernote/EDAM/types_types.rb', line 2418

def struct_fields; FIELDS; end

#validateObject



2420
2421
# File 'lib/Evernote/EDAM/types_types.rb', line 2420

def validate
end