Class: OpenApiSDK::Models::Operations::ListEventsResponseBodyEventsClick

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/open_api_sdk/models/operations/listevents_responsebody_events_click.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(id:, timestamp:, url:, country:, city:, region:, continent:, device:, browser:, os:, referer:, referer_url:, qr:, ip:, trigger: nil) ⇒ ListEventsResponseBodyEventsClick

Returns a new instance of ListEventsResponseBodyEventsClick.



47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# File 'lib/open_api_sdk/models/operations/listevents_responsebody_events_click.rb', line 47

def initialize(id:, timestamp:, url:, country:, city:, region:, continent:, device:, browser:, os:, referer:, referer_url:, qr:, ip:, trigger: nil)
  @id = id
  @timestamp = timestamp
  @url = url
  @country = country
  @city = city
  @region = region
  @continent = continent
  @device = device
  @browser = browser
  @os = os
  @referer = referer
  @referer_url = referer_url
  @qr = qr
  @ip = ip
  @trigger = trigger
end

Instance Method Details

#==(other) ⇒ Object



66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'lib/open_api_sdk/models/operations/listevents_responsebody_events_click.rb', line 66

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @timestamp == other.timestamp
  return false unless @url == other.url
  return false unless @country == other.country
  return false unless @city == other.city
  return false unless @region == other.region
  return false unless @continent == other.continent
  return false unless @device == other.device
  return false unless @browser == other.browser
  return false unless @os == other.os
  return false unless @referer == other.referer
  return false unless @referer_url == other.referer_url
  return false unless @qr == other.qr
  return false unless @ip == other.ip
  return false unless @trigger == other.trigger
  true
end