def event=(event)
      validator = EnumAttributeValidator.new('String', ["video-passed", "video-error", "video-warning", "video-rejected", "video-canceled"])
      unless validator.valid?(event)
        fail ArgumentError, "invalid value for 'event', must be one of #{validator.allowable_values}."
      end
      @event = event
    end
def event=(event)
      validator = EnumAttributeValidator.new('String', ["video-passed", "video-error", "video-warning", "video-rejected", "video-canceled"])
      unless validator.valid?(event)
        fail ArgumentError, "invalid value for 'event', must be one of #{validator.allowable_values}."
      end
      @event = event
    end
Custom attribute writer method checking allowed values (enum).
 @param [Object] event Object to be assigned