Class: FastpixClient::Models::Components::Custom1
- Inherits:
-
Object
- Object
- FastpixClient::Models::Components::Custom1
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/fastpix_client/models/components/custom_1.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(dimension_name: nil, display_name: nil, value: nil) ⇒ Custom1
constructor
A new instance of Custom1.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(dimension_name: nil, display_name: nil, value: nil) ⇒ Custom1
Returns a new instance of Custom1.
26 27 28 29 30 |
# File 'lib/fastpix_client/models/components/custom_1.rb', line 26 def initialize(dimension_name: nil, display_name: nil, value: nil) @dimension_name = dimension_name @display_name = display_name @value = value end |
Instance Method Details
#==(other) ⇒ Object
33 34 35 36 37 38 39 |
# File 'lib/fastpix_client/models/components/custom_1.rb', line 33 def ==(other) return false unless other.is_a? self.class return false unless @dimension_name == other.dimension_name return false unless @display_name == other.display_name return false unless @value == other.value true end |