def valid?
      object_type_validator = EnumAttributeValidator.new('String', ["ITEM", "DISCOUNT", "CATEGORY", "PLACEHOLDER"])
      return false unless object_type_validator.valid?(@object_type)
      placeholder_type_validator = EnumAttributeValidator.new('String', ["ALL_ITEMS", "DISCOUNTS_CATEGORY", "REWARDS_FINDER"])
      return false unless placeholder_type_validator.valid?(@placeholder_type)
      return true
    end
def valid?
      object_type_validator = EnumAttributeValidator.new('String', ["ITEM", "DISCOUNT", "CATEGORY", "PLACEHOLDER"])
      return false unless object_type_validator.valid?(@object_type)
      placeholder_type_validator = EnumAttributeValidator.new('String', ["ALL_ITEMS", "DISCOUNTS_CATEGORY", "REWARDS_FINDER"])
      return false unless placeholder_type_validator.valid?(@placeholder_type)
      return true
    end
Check to see if the all the properties in the model are valid
 @return true if the model is valid