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