Class: OpenApiSDK::Models::Operations::ClickEvent

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(event:, timestamp:, click:, link:, click_id:, link_id:, domain:, key:, url:, continent:, country:, city:, device:, browser:, os:, qr:, ip:) ⇒ ClickEvent

Returns a new instance of ClickEvent.



77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# File 'lib/open_api_sdk/models/operations/clickevent.rb', line 77

def initialize(event:, timestamp:, click:, link:, click_id:, link_id:, domain:, key:, url:, continent:, country:, city:, device:, browser:, os:, qr:, ip:)
  @event = event
  @timestamp = timestamp
  @click = click
  @link = link
  @click_id = click_id
  @link_id = link_id
  @domain = domain
  @key = key
  @url = url
  @continent = continent
  @country = country
  @city = city
  @device = device
  @browser = browser
  @os = os
  @qr = qr
  @ip = ip
end

Instance Method Details

#==(other) ⇒ Object



98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# File 'lib/open_api_sdk/models/operations/clickevent.rb', line 98

def ==(other)
  return false unless other.is_a? self.class
  return false unless @event == other.event
  return false unless @timestamp == other.timestamp
  return false unless @click == other.click
  return false unless @link == other.link
  return false unless @click_id == other.click_id
  return false unless @link_id == other.link_id
  return false unless @domain == other.domain
  return false unless @key == other.key
  return false unless @url == other.url
  return false unless @continent == other.continent
  return false unless @country == other.country
  return false unless @city == other.city
  return false unless @device == other.device
  return false unless @browser == other.browser
  return false unless @os == other.os
  return false unless @qr == other.qr
  return false unless @ip == other.ip
  true
end