1. Stylelabs.M.Sdk.Models.Jobs

Class FileFetchJobRequest

Creates a fetch job that fetches one or more files from a directory on the web-server.

Inheritance

object

FetchJobRequest

FileFetchJobRequest

Implements

IFetchJobRequest

Inherited Members

FetchJobRequest.Description

FetchJobRequest.AssetId

Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsJobs

Assembly: Stylelabs.M.Sdk.dll

Syntax

public class FileFetchJobRequest : FetchJobRequest, IFetchJobRequest

Constructors

FileFetchJobRequest(string, long)

Initializes a new instance of the FileFetchJobRequest class.

Declaration

public FileFetchJobRequest(string description, long assetId)

Parameters

TypeNameDescription
stringdescriptionA user-friendly description of the fetch job.
longassetIdId 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

public IList<Uri> Paths { get; set; }

Property Value

TypeDescription
IList<>Uri

Methods

Validate()

Validates whether the fetch job is valid.

Declaration

public override void Validate()

Overrides

FetchJobRequest.Validate()

Exceptions

TypeCondition
ValidationExceptionWhen one or more validation errors occurred.

Implements

IFetchJobRequest

If you have suggestions for improving this article, let us know!