Class: Viewpoint::EWS::SOAP::RootFolder

Inherits:
Object
  • Object
show all
Defined in:
lib/ews/soap/responses/find_item_response_message.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(root) ⇒ RootFolder

Returns a new instance of RootFolder



25
26
27
# File 'lib/ews/soap/responses/find_item_response_message.rb', line 25

def initialize(root)
  @root = root
end

Instance Attribute Details

#rootObject (readonly)

Returns the value of attribute root



23
24
25
# File 'lib/ews/soap/responses/find_item_response_message.rb', line 23

def root
  @root
end

Instance Method Details

#absolute_denominatorObject



37
38
39
# File 'lib/ews/soap/responses/find_item_response_message.rb', line 37

def absolute_denominator
  attrib :absolute_denominator
end

#groupsObject



53
54
55
# File 'lib/ews/soap/responses/find_item_response_message.rb', line 53

def groups
  root[:elems][0][:groups][:elems]
end

#includes_last_item_in_rangeObject



41
42
43
# File 'lib/ews/soap/responses/find_item_response_message.rb', line 41

def includes_last_item_in_range
  attrib :includes_last_item_in_range
end

#indexed_paging_offsetObject



29
30
31
# File 'lib/ews/soap/responses/find_item_response_message.rb', line 29

def indexed_paging_offset
  attrib :index_paging_offset
end

#itemsObject



49
50
51
# File 'lib/ews/soap/responses/find_item_response_message.rb', line 49

def items
  root[:elems][0][:items][:elems] || []
end

#numerator_offsetObject



33
34
35
# File 'lib/ews/soap/responses/find_item_response_message.rb', line 33

def numerator_offset
  attrib :numerator_offset
end

#total_items_in_viewObject



45
46
47
# File 'lib/ews/soap/responses/find_item_response_message.rb', line 45

def total_items_in_view
  attrib :total_items_in_view
end