1. WebFetchJobRequest

Class WebFetchJobRequest

Creates a fetch job that fetches one or more files over HTTP.

Inheritance
object
WebFetchJobRequest
Implements
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsJobs
Assembly: Stylelabs.M.Sdk.dll
Syntax
public class WebFetchJobRequest : FetchJobRequest, IFetchJobRequest

Constructors

WebFetchJobRequest(string, long)

Initializes a new instance of the WebFetchJobRequest class.

Declaration
public WebFetchJobRequest(string description, long assetId)
Parameters
TypeNameDescription
stringdescription

A user-friendly description of the fetch job.

longassetId

Id of the asset to link the fetched file to.

Properties

Urls

Gets or sets the URLs of the files to fetch. Urls should be absolute HTTP(S) URLs.

Declaration
public IList<Uri> Urls { get; set; }
Property Value
TypeDescription
IList<>Uri

Methods

Validate()

Validates whether the fetch job is valid.

Declaration
public override void Validate()
Overrides
Exceptions
TypeCondition
ValidationException

When one or more validation errors occurred.

Implements

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