logo
logo

Class UploadRequest

Describes the upload request.

Inheritance
System.Object
UploadRequest
Namespace: Stylelabs.M.Sdk.WebClient.Models.Upload
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
public class UploadRequest : object

Constructors

UploadRequest(IUploadSource, String, String)

Initializes a new instance of the UploadRequest class.

Declaration
public UploadRequest(IUploadSource source, string configurationName, string actionName)
Parameters
Type Name Description
IUploadSource source

The source.

System.String configurationName

The configuration name.

System.String actionName

The action name.

Properties

ActionName

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

Declaration
public string ActionName { get; }
Property Value
Type Description
System.String

ActionParameters

Gets or sets the upload action parameters.

Declaration
public IDictionary<string, object> ActionParameters { get; set; }
Property Value
Type Description
IDictionary<System.String, System.Object>

ConfigurationName

Gets the upload configuration name.

Declaration
public string ConfigurationName { get; }
Property Value
Type Description
System.String

ConfigurationParameters

Gets or sets the upload configuration parameters.

Declaration
public IDictionary<string, object> ConfigurationParameters { get; set; }
Property Value
Type Description
IDictionary<System.String, System.Object>

Source

Gets provides access the the file that will be uploaded.

Declaration
public IUploadSource Source { get; }
Property Value
Type Description
IUploadSource

Can we improve this article ? Provide feedback