public static InstanceResponse Failure(CreateInstanceRequest request)
 {
     return(new InstanceResponse
     {
         IsSuccess = false
     });
 }
        public static InstanceResponse Success(CreateInstanceRequest request, StitchInstance createdInstance, string data = null)
        {
            var response = new InstanceResponse
            {
                Id        = createdInstance.Id,
                Data      = data,
                IsSuccess = true
            };

            response.Instances.Add(createdInstance);
            return(response);
        }