// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
namespace Microsoft.Graph
{
using System;
///
/// Result that we get from uploading a slice
///
///
public class UploadResult
{
///
/// The UploadSession containing information about the created upload session.
///
public IUploadSession UploadSession;
///
/// The uploaded item, once upload has completed.
///
public T ItemResponse;
///
/// The uploaded item location, once upload has completed.
///
public Uri Location;
///
/// Status of the request.
///
public bool UploadSucceeded => (this.ItemResponse != null) || (this.Location != null);
}
}