/// <inheritdoc /> public override Response UpdateStatus(CancellationToken cancellationToken = default) { if (!HasCompleted) { _response = _client.GetConversionInternal(_response.Value.ConversionId, $"{nameof(AssetConversionOperation)}.{nameof(UpdateStatus)}", cancellationToken); } return(_response.GetRawResponse()); }
/// <summary> /// Construct an operation from a conversion which already exists. /// </summary> /// <param name="conversionId"></param> /// <param name="client"></param> public AssetConversionOperation(string conversionId, RemoteRenderingClient client) { _client = client; _response = client.GetConversionInternal(conversionId, $"{nameof(AssetConversionOperation)}.{nameof(AssetConversionOperation)}"); }