Class FetchJobRequest

Base class for all fetch-job requests.

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

Constructors

FetchJobRequest(string, long)

Initializes a new instance of the FetchJobRequest class.

Declaration
RequestResponse
protected FetchJobRequest(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

AssetId

Gets the id of the asset to link the newly fetched file to.

Declaration
RequestResponse
public long AssetId { get; }
Property Value
TypeDescription
long

Description

Gets a user-friendly description of the fetch job.

Declaration
RequestResponse
public string Description { get; }
Property Value
TypeDescription
string

Methods

Validate()

Validates whether the fetch job is valid.

Declaration
RequestResponse
public abstract void Validate()
Exceptions
TypeCondition
ValidationException

When one or more validation errors occurred.

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,