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 UploadRequestConstructors
UploadRequest(IUploadSource, string, string)
Initializes a new instance of the UploadRequest class.
Declaration
RequestResponse
public UploadRequest(IUploadSource source, string configurationName, string actionName)Parameters
| Type | Name | Description |
|---|---|---|
| IUploadSource | source |
The source. |
| string | configurationName |
The configuration name. |
| string | actionName |
The action name. |
Properties
ActionName
Gets the upload action name (e.g. "NewAsset", "NewMainFile", "NewAlternativeFile").
Declaration
RequestResponse
public string ActionName { get; }Property Value
| Type | Description |
|---|---|
| string |
ActionParameters
Gets or sets the upload action parameters.
Declaration
RequestResponse
public IDictionary<string, object> ActionParameters { get; set; }Property Value
| Type | Description |
|---|---|
| IDictionary<, >stringobject |
ConfigurationName
Gets the upload configuration name.
Declaration
RequestResponse
public string ConfigurationName { get; }Property Value
| Type | Description |
|---|---|
| string |
ConfigurationParameters
Gets or sets the upload configuration parameters.
Declaration
RequestResponse
public IDictionary<string, object> ConfigurationParameters { get; set; }Property Value
| Type | Description |
|---|---|
| IDictionary<, >stringobject |
Source
Gets provides access the the file that will be uploaded.
Declaration
RequestResponse
public IUploadSource Source { get; }Property Value
| Type | Description |
|---|---|
| IUploadSource |