Skip to content

DownloadRequest

Namespace: E2E.Decision.Sdk

public sealed record DownloadRequest : IEquatable<DownloadRequest>

One URL a DownloadFunction is asked for (an element of the options array of upstream’s DownloadFunction).

Inheritance: object

Implements: IEquatable<DownloadRequest>

View source

public DownloadRequest(Uri Url, bool IsUrlSupportedByModel)

One URL a DownloadFunction is asked for (an element of the options array of upstream’s DownloadFunction).

Parameters

Name Type Description
Url Uri The URL of the file.
IsUrlSupportedByModel bool Whether the model takes the URL as is. Decision models take no URLs, so decide always says false.

public bool IsUrlSupportedByModel { get; init; }

Whether the model takes the URL as is. Decision models take no URLs, so decide always says false.

Value: bool

public Uri Url { get; init; }

The URL of the file.

Value: Uri