Table of Contents

Class Upload

Namespace
Tudormobile.Strava.Model
Assembly
Tudormobile.Strava.dll

Represents the result of a file upload to Strava, including status and error information.

public class Upload
Inheritance
Upload
Inherited Members

Remarks

This class is used to track the state and outcome of an upload operation, such as a FIT, TCX, or GPX file.

Properties

ActivityId

Gets or sets the identifier of the activity created by this upload, if available.

public long ActivityId { get; set; }

Property Value

long

Error

Gets or sets the error message if the upload failed, or null if no error occurred.

public string Error { get; set; }

Property Value

string

ExternalId

Gets or sets the external identifier for the uploaded file (e.g., filename).

public string ExternalId { get; set; }

Property Value

string

Id

Gets or sets the unique identifier for the upload.

public long Id { get; set; }

Property Value

long

IdStr

Gets or sets the string representation of the upload identifier.

public string IdStr { get; set; }

Property Value

string

Status

Gets or sets the status message describing the current state of the upload.

public string Status { get; set; }

Property Value

string

Remarks

Typical values include "Your activity is ready.", "Your activity is still being processed.", or an error message.