Class: OpenApiSDK::Models::Operations::LeadEvent
- Inherits:
-
Object
- Object
- OpenApiSDK::Models::Operations::LeadEvent
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/open_api_sdk/models/operations/leadevent.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(event:, timestamp:, event_id:, event_name:, click:, link:, customer:, click_id:, link_id:, domain:, key:, url:, continent:, country:, city:, device:, browser:, os:, qr:, ip:, metadata: nil) ⇒ LeadEvent
constructor
A new instance of LeadEvent.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(event:, timestamp:, event_id:, event_name:, click:, link:, customer:, click_id:, link_id:, domain:, key:, url:, continent:, country:, city:, device:, browser:, os:, qr:, ip:, metadata: nil) ⇒ LeadEvent
Returns a new instance of LeadEvent.
85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
# File 'lib/open_api_sdk/models/operations/leadevent.rb', line 85 def initialize(event:, timestamp:, event_id:, event_name:, click:, link:, customer:, click_id:, link_id:, domain:, key:, url:, continent:, country:, city:, device:, browser:, os:, qr:, ip:, metadata: nil) @event = event @timestamp = @event_id = event_id @event_name = event_name @click = click @link = link @customer = customer @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 @metadata = end |
Instance Method Details
#==(other) ⇒ Object
110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 |
# File 'lib/open_api_sdk/models/operations/leadevent.rb', line 110 def ==(other) return false unless other.is_a? self.class return false unless @event == other.event return false unless @timestamp == other. return false unless @event_id == other.event_id return false unless @event_name == other.event_name return false unless @click == other.click return false unless @link == other.link return false unless @customer == other.customer 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 return false unless @metadata == other. true end |