def toggle_factory_sync(id, factory_sync_body, opts = {})
      data, _status_code, _headers = toggle_factory_sync_with_http_info(id, factory_sync_body, opts)
      return data
    end
def toggle_factory_sync(id, factory_sync_body, opts = {})
      data, _status_code, _headers = toggle_factory_sync_with_http_info(id, factory_sync_body, opts)
      return data
    end
Toggles synchronisation settings.

 @param id id of the factory
 @param factory_sync_body
 @param [Hash] opts the optional parameters
 @return [FactorySync]