Class FetchJobRequest
Base class for all fetch-job requests.
Implements
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsJobs
Assembly: Stylelabs.M.Sdk.dll
Syntax
Constructors
FetchJobRequest(string, long)
Initializes a new instance of the FetchJobRequest 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
AssetId
Gets the id of the asset to link the newly fetched file to.
Declaration
Property Value
| Type | Description |
|---|---|
| long |
Description
Gets a user-friendly description of the fetch job.
Declaration
Property Value
| Type | Description |
|---|---|
| string |
Methods
Validate()
Validates whether the fetch job is valid.
Declaration
Exceptions
| Type | Condition |
|---|---|
| ValidationException |
When one or more validation errors occurred. |