Class AzureFetchJobRequest
Version: 4.0
Creates a fetch job that fetches one or more files from azure blob storage.
Implements
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsJobs
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class AzureFetchJobRequest : FetchJobRequest, IFetchJobRequest
Constructors
AzureFetchJobRequest(string, long)
Initializes a new instance of the AzureFetchJobRequest class.
Declaration
RequestResponse
public AzureFetchJobRequest(string description, long assetId)
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
Keys
Gets or sets the azure blob keys.
Declaration
RequestResponse
public IList<AzureBlobKey> Keys { get; set; }
Property Value
Type | Description |
---|---|
IList<>AzureBlobKey |
Methods
Validate()
Validates whether the fetch job is valid.
Declaration
RequestResponse
public override void Validate()
Overrides
Exceptions
Type | Condition |
---|---|
ValidationException |
When one or more validation errors occurred. |