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>
Constructors
Section titled “Constructors”DownloadRequest(Uri, bool)
Section titled “DownloadRequest(Uri, bool)”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. |
Properties
Section titled “Properties”IsUrlSupportedByModel
Section titled “IsUrlSupportedByModel”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