Class: Evernote::EDAM::NoteStore::ClientUsageMetrics

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

Overview

to relay coarse-grained usage metrics to the service to help improve products.

<dl>

<dt>sessions</dt>
<dd>
  This field contains a count of the number of usage "sessions" that have
  occurred with this client which have not previously been reported to
  the service.
  A "session" is defined as one of the 96 fifteen-minute intervals of the
  day when someone used Evernote's interface at least once.
  So if a user interacts with an Evernote client at 12:18, 12:24, and 12:36,
  and then the client synchronizes at 12:39, it would report that there were
  two previously-unreported sessions (one session for the 12:15-12:30 time
  period, and one for the 12:30-12:45 period).
  If the user used Evernote again at 12:41 and synchronized at 12:43, it
  would not report any new sessions, because the 12:30-12:45 session had
  already been reported.
</dd>

</dl>

Constant Summary collapse

SESSIONS =
1
FIELDS =
{
  SESSIONS => {:type => ::Thrift::Types::I32, :name => 'sessions', :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



917
# File 'lib/Evernote/EDAM/note_store_types.rb', line 917

def struct_fields; FIELDS; end

#validateObject



919
920
# File 'lib/Evernote/EDAM/note_store_types.rb', line 919

def validate
end