Class FileFetchJobRequest
Creates a fetch job that fetches one or more files from a directory on the web-server.
Implements
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsJobs
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
FileFetchJobRequest(string, long)
Initializes a new instance of the FileFetchJobRequest class.
Declaration
Parameters
| Type | Name | Description |
|---|---|---|
| string | description |
A user-friendly description of the fetch job. |
| long | assetId |
Id of the asset to link the fetched file to. |
Properties
Paths
Gets or sets the paths of the files to fetch. Paths should be absolute file URLs.
Declaration
Property Value
| Type | Description |
|---|---|
| IList<>Uri |
Methods
Validate()
Validates whether the fetch job is valid.
Declaration
Overrides
Exceptions
| Type | Condition |
|---|---|
| ValidationException |
When one or more validation errors occurred. |