def remove_app_when_mdm_profile_is_removed=(new_val)
      return nil if new_val == @remove_app_when_mdm_profile_is_removed
      raise JSS::InvalidDataError, 'New value must be true or false' unless new_val.jss_boolean?
      @remove_app_when_mdm_profile_is_removed = new_val
      @need_to_update = true
    end
def remove_app_when_mdm_profile_is_removed=(new_val)
      return nil if new_val == @remove_app_when_mdm_profile_is_removed
      raise JSS::InvalidDataError, 'New value must be true or false' unless new_val.jss_boolean?
      @remove_app_when_mdm_profile_is_removed = new_val
      @need_to_update = true
    end
Set whether or not this app should be removed when
 the device is unmanaged

 @param new_val[Boolean] The new value

 @return [void]