Class UploadRequest

Version: 3.2

Describes the upload request.

Inheritance
object
UploadRequest
Namespace: StylelabsStylelabs.MSdkWebClientModelsUpload
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
RequestResponse
public class UploadRequest

Constructors

UploadRequest(IUploadSource, string, string)

Initializes a new instance of the UploadRequest class.

Declaration
RequestResponse
public UploadRequest(IUploadSource source, string configurationName, string actionName)
Parameters
TypeNameDescription
IUploadSourcesource

The source.

stringconfigurationName

The configuration name.

stringactionName

The action name.

Properties

ActionName

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

Declaration
RequestResponse
public string ActionName { get; }
Property Value
TypeDescription
string

ActionParameters

Gets or sets the upload action parameters.

Declaration
RequestResponse
public IDictionary<string, object> ActionParameters { get; set; }
Property Value
TypeDescription
IDictionary<, >stringobject

ConfigurationName

Gets the upload configuration name.

Declaration
RequestResponse
public string ConfigurationName { get; }
Property Value
TypeDescription
string

ConfigurationParameters

Gets or sets the upload configuration parameters.

Declaration
RequestResponse
public IDictionary<string, object> ConfigurationParameters { get; set; }
Property Value
TypeDescription
IDictionary<, >stringobject

Source

Gets provides access the the file that will be uploaded.

Declaration
RequestResponse
public IUploadSource Source { get; }
Property Value
TypeDescription
IUploadSource

Do you have some feedback for us?

If you have suggestions for improving this article,