/// <summary>
        /// Updates a stream.
        /// </summary>
        /// <param name="streamInput">Note: the id field needs to be a valid stream id.</param>
        /// <returns>The stream's id.</returns>
        public async Task <bool> StreamUpdate(CancellationToken cancellationToken, StreamUpdateInput streamInput)
        {
            try
            {
                var request = new GraphQLRequest
                {
                    Query     = @"mutation streamUpdate($myStream: StreamUpdateInput!) { streamUpdate(stream:$myStream) }",
                    Variables = new
                    {
                        myStream = streamInput
                    }
                };

                var res = await GQLClient.SendMutationAsync <Dictionary <string, object> >(request, cancellationToken).ConfigureAwait(false);

                if (res.Errors != null)
                {
                    throw new SpeckleException("Could not update stream", res.Errors);
                }

                return((bool)res.Data["streamUpdate"]);
            }
            catch (Exception e)
            {
                throw new SpeckleException(e.Message, e);
            }
        }
 /// <summary>
 /// Updates a stream.
 /// </summary>
 /// <param name="streamInput">Note: the id field needs to be a valid stream id.</param>
 /// <returns>The stream's id.</returns>
 public Task <bool> StreamUpdate(StreamUpdateInput streamInput)
 {
     return(StreamUpdate(CancellationToken.None, streamInput));
 }