Class: Viewpoint::EWS::Types::ExportItemsResponseMessage

Inherits:
Object
  • Object
show all
Includes:
Viewpoint::EWS, Viewpoint::EWS::Types, Item
Defined in:
lib/ews/types/export_items_response_message.rb

Constant Summary

BULK_KEY_PATHS =
{
  :id          => [:item_id, :attribs, :id],
  :change_key  => [:item_id, :attribs, :change_key],
  :data        => [:data, :text]
}
BULK_KEY_TYPES =
{ }
BULK_KEY_ALIAS =
{ }

Constants included from Item

Item::ITEM_KEY_ALIAS, Item::ITEM_KEY_PATHS, Item::ITEM_KEY_TYPES

Constants included from ItemFieldUriMap

ItemFieldUriMap::FIELD_URIS

Constants included from Viewpoint::EWS::Types

KEY_ALIAS, KEY_PATHS, KEY_TYPES, OOF_KEY_ALIAS, OOF_KEY_PATHS, OOF_KEY_TYPES

Constants included from StringUtils

StringUtils::DURATION_RE

Constants included from Viewpoint::EWS

ConnectingSID

Instance Attribute Summary

Attributes included from Item

#ews_item, #parent

Attributes included from Viewpoint::EWS::Types

#ews_item

Attributes included from Viewpoint::EWS

#logger

Instance Method Summary collapse

Methods included from Item

#add_file_attachment, #add_inline_attachment, #add_item_attachment, #copy, #default_body_type=, #delete!, #forward, #get_all_properties!, included, #mark_read!, #move!, #recycle!, #reply_to, #reply_to_all, #submit!, #submit_attachments!

Methods included from Viewpoint::EWS::Types

#auto_deepen?, #deepen!, #ews_methods, #freeze!, #frozen?, #mark_deep!, #method_missing, #methods, #respond_to?, #shallow?, #to_s, #unfreeze!

Methods included from StringUtils

included

Methods included from Viewpoint::EWS

#remove_impersonation, root_logger, #set_impersonation

Constructor Details

#initialize(ews, bulk_item) ⇒ ExportItemsResponseMessage

Returns a new instance of ExportItemsResponseMessage



18
19
20
21
22
# File 'lib/ews/types/export_items_response_message.rb', line 18

def initialize(ews, bulk_item)
  super(ews, bulk_item)
  @item = bulk_item
  @ews = ews
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Viewpoint::EWS::Types

Instance Method Details

#change_keyObject



28
29
30
# File 'lib/ews/types/export_items_response_message.rb', line 28

def change_key
  @item[:item_id][:attribs][:change_key]
end

#dataObject



32
33
34
# File 'lib/ews/types/export_items_response_message.rb', line 32

def data
  @item[:data][:text]
end

#idObject



24
25
26
# File 'lib/ews/types/export_items_response_message.rb', line 24

def id
  @item[:item_id][:attribs][:id]
end