/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <returns>An empty write result</returns> public Task <WriteResult> Deregister(CatalogDeregistration reg, CancellationToken ct = default(CancellationToken)) { return(Deregister(reg, WriteOptions.Default, ct)); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <param name="q">Customized write options</param> /// <returns>An empty write result</returns> public Task <WriteResult> Deregister(CatalogDeregistration reg, WriteOptions q, CancellationToken ct = default(CancellationToken)) { return(_client.Put("/v1/catalog/deregister", reg, q).Execute(ct)); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <returns>An empty write result</returns> public Task <WriteResult> Deregister(CatalogDeregistration reg) { return(Deregister(reg, WriteOptions.Default)); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <param name="q">Customized write options</param> /// <returns>An empty write result</returns> public Task <WriteResult> Deregister(CatalogDeregistration reg, WriteOptions q) { return(_client.Put("/v1/catalog/deregister", reg, q).Execute()); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <returns>An empty write result</returns> public WriteResult Deregister(CatalogDeregistration reg) { return(Deregister(reg, WriteOptions.Empty)); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <param name="q">Customized write options</param> /// <returns>An empty write result</returns> public WriteResult Deregister(CatalogDeregistration reg, WriteOptions q) { return(_client.CreateInWrite <CatalogDeregistration>("/v1/catalog/deregister", reg, q) .Execute()); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <returns>An empty write result</returns> public WriteResult<object> Deregister(CatalogDeregistration reg) { return Deregister(reg, WriteOptions.Empty); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <param name="q">Customized write options</param> /// <returns>An empty write result</returns> public WriteResult<object> Deregister(CatalogDeregistration reg, WriteOptions q) { return _client.CreateWriteRequest<CatalogDeregistration, object>("/v1/catalog/deregister", reg, q) .Execute(); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <param name="q">Customized write options</param> /// <returns>An empty write result</returns> public WriteResult Deregister(CatalogDeregistration reg, WriteOptions q) { return _client.CreateInWrite<CatalogDeregistration>("/v1/catalog/deregister", reg, q) .Execute(); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <param name="q">Customized write options</param> /// <returns>An empty write result</returns> public async Task<WriteResult> Deregister(CatalogDeregistration reg, WriteOptions q) { return await _client.Put("/v1/catalog/deregister", reg, q).Execute().ConfigureAwait(false); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <returns>An empty write result</returns> public async Task<WriteResult> Deregister(CatalogDeregistration reg) { return await Deregister(reg, WriteOptions.Default).ConfigureAwait(false); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <param name="q">Customized write options</param> /// <returns>An empty write result</returns> public Task<WriteResult> Deregister(CatalogDeregistration reg, WriteOptions q) { return _client.Put("/v1/catalog/deregister", reg, q).Execute(); }
/// <summary> /// Deregister an existing catalog item /// </summary> /// <param name="reg">A catalog deregistration</param> /// <returns>An empty write result</returns> public Task<WriteResult> Deregister(CatalogDeregistration reg) { return Deregister(reg, WriteOptions.Default); }