Class: Pandarus::PageView

Inherits:
ModelBase show all
Defined in:
lib/pandarus/models/page_view.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Methods inherited from ModelBase

#assign, #attr, #has_attr?, #initialize, #inspect, #to_body, #vivify

Constructor Details

This class inherits a constructor from Pandarus::ModelBase

Instance Attribute Details

#actionObject

Returns the value of attribute action.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def action
  @action
end

#asset_typeObject

Returns the value of attribute asset_type.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def asset_type
  @asset_type
end

#context_typeObject

Returns the value of attribute context_type.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def context_type
  @context_type
end

#contributedObject

Returns the value of attribute contributed.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def contributed
  @contributed
end

#controllerObject

Returns the value of attribute controller.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def controller
  @controller
end

#created_atObject

Returns the value of attribute created_at.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def created_at
  @created_at
end

#http_methodObject

Returns the value of attribute http_method.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def http_method
  @http_method
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def id
  @id
end

#interaction_secondsObject

Returns the value of attribute interaction_seconds.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def interaction_seconds
  @interaction_seconds
end

Returns the value of attribute links.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def links
  @links
end

#participatedObject

Returns the value of attribute participated.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def participated
  @participated
end

#remote_ipObject

Returns the value of attribute remote_ip.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def remote_ip
  @remote_ip
end

#render_timeObject

Returns the value of attribute render_time.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def render_time
  @render_time
end

#urlObject

Returns the value of attribute url.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def url
  @url
end

#user_agentObject

Returns the value of attribute user_agent.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def user_agent
  @user_agent
end

#user_requestObject

Returns the value of attribute user_request.



6
7
8
# File 'lib/pandarus/models/page_view.rb', line 6

def user_request
  @user_request
end

Class Method Details

.attribute_mapObject



9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/pandarus/models/page_view.rb', line 9

def self.attribute_map
  {
    :id => {:external => "id", :container => false, :type => "String"},
    :url => {:external => "url", :container => false, :type => "String"},
    :context_type => {:external => "context_type", :container => false, :type => "String"},
    :asset_type => {:external => "asset_type", :container => false, :type => "String"},
    :controller => {:external => "controller", :container => false, :type => "String"},
    :action => {:external => "action", :container => false, :type => "String"},
    :contributed => {:external => "contributed", :container => false, :type => nil},
    :interaction_seconds => {:external => "interaction_seconds", :container => false, :type => "Float"},
    :created_at => {:external => "created_at", :container => false, :type => "DateTime"},
    :user_request => {:external => "user_request", :container => false, :type => nil},
    :render_time => {:external => "render_time", :container => false, :type => "Float"},
    :user_agent => {:external => "user_agent", :container => false, :type => "String"},
    :participated => {:external => "participated", :container => false, :type => nil},
    :http_method => {:external => "http_method", :container => false, :type => "String"},
    :remote_ip => {:external => "remote_ip", :container => false, :type => "String"},
    :links => {:external => "links", :container => false, :type => "PageViewLinks"}

  }
end