Class: FastpixClient::Models::Components::BrowserNameDimensiondetails

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/fastpix_client/models/components/browsernamedimensiondetails.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(value: nil, unique_count: nil, count: nil) ⇒ BrowserNameDimensiondetails

Returns a new instance of BrowserNameDimensiondetails.



23
24
25
26
27
# File 'lib/fastpix_client/models/components/browsernamedimensiondetails.rb', line 23

def initialize(value: nil, unique_count: nil, count: nil)
  @value = value
  @unique_count = unique_count
  @count = count
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/fastpix_client/models/components/browsernamedimensiondetails.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @value == other.value
  return false unless @unique_count == other.unique_count
  return false unless @count == other.count
  true
end