1. Stylelabs.M.Sdk.WebClient.Models.Upload

Class UploadRequest

Describes the upload request.

Inheritance

object

UploadRequest

Namespace: StylelabsStylelabs.MSdkWebClientModelsUpload

Assembly: Stylelabs.M.Sdk.WebClient.dll

Syntax

public class UploadRequest

Constructors

UploadRequest(IUploadSource, string, string)

Initializes a new instance of the UploadRequest class.

Declaration

public UploadRequest(IUploadSource source, string configurationName, string actionName)

Parameters

TypeNameDescription
IUploadSourcesourceThe source.
stringconfigurationNameThe configuration name.
stringactionNameThe action name.

Properties

ActionName

Gets the upload action name (e.g. "NewAsset", "NewMainFile", "NewAlternativeFile").

Declaration

public string ActionName { get; }

Property Value

TypeDescription
string

ActionParameters

Gets or sets the upload action parameters.

Declaration

public IDictionary<string, object> ActionParameters { get; set; }

Property Value

TypeDescription
IDictionary<, >stringobject

ConfigurationName

Gets the upload configuration name.

Declaration

public string ConfigurationName { get; }

Property Value

TypeDescription
string

ConfigurationParameters

Gets or sets the upload configuration parameters.

Declaration

public IDictionary<string, object> ConfigurationParameters { get; set; }

Property Value

TypeDescription
IDictionary<, >stringobject

Source

Gets provides access the the file that will be uploaded.

Declaration

public IUploadSource Source { get; }

Property Value

TypeDescription
IUploadSource
If you have suggestions for improving this article, let us know!