def valid?
      type_validator = EnumAttributeValidator.new('String', ["NORMAL", "GIFT_CARD", "OTHER"])
      return false unless type_validator.valid?(@type)
      color_validator = EnumAttributeValidator.new('String', ["9da2a6", "4ab200", "0b8000", "2952cc", "a82ee5", "e5457a", "b21212", "593c00", "e5BF00"])
      return false unless color_validator.valid?(@color)
      visibility_validator = EnumAttributeValidator.new('String', ["PUBLIC", "PRIVATE"])
      return false unless visibility_validator.valid?(@visibility)
      return true
    end
def valid?
      type_validator = EnumAttributeValidator.new('String', ["NORMAL", "GIFT_CARD", "OTHER"])
      return false unless type_validator.valid?(@type)
      color_validator = EnumAttributeValidator.new('String', ["9da2a6", "4ab200", "0b8000", "2952cc", "a82ee5", "e5457a", "b21212", "593c00", "e5BF00"])
      return false unless color_validator.valid?(@color)
      visibility_validator = EnumAttributeValidator.new('String', ["PUBLIC", "PRIVATE"])
      return false unless visibility_validator.valid?(@visibility)
      return true
    end
Check to see if the all the properties in the model are valid
 @return true if the model is valid