Method: VoucherifySdk::ParameterFiltersListLocationsName#initialize

Defined in:
lib/VoucherifySdk/models/parameter_filters_list_locations_name.rb

#initialize(attributes = {}) ⇒ ParameterFiltersListLocationsName

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



47
48
49
50
51
52
53
54
55
56
# File 'lib/VoucherifySdk/models/parameter_filters_list_locations_name.rb', line 47

def initialize(attributes = {})
  # check to see if the attribute exists and convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h|
    h[k.to_sym] = v
  }

  if attributes.key?(:'conditions')
    self.conditions = attributes[:'conditions']
  end
end