Table of Contents

Class DownloadToken

Namespace: Casewhere.Models
Assembly: Casewhere.Models.dll

public class DownloadToken : Entity, IIdentity

Inheritance

objectEntityDownloadToken

Implements

IIdentity

Inherited Members

Entity.GetResourceName(), Entity.Id, Entity.Version, Entity.CreatedBy, Entity.CreatedAt, Entity.ModifiedBy, Entity.ModifiedAt, object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object), EnumExtensions.DeepClone<DownloadToken>(DownloadToken)

Constructors

DownloadToken()

public DownloadToken()

Properties

Data

Additional data to store with the token

public JObject Data { get; set; }

Property Value

JObject

IsValid

Whether the token is valid or not

public bool IsValid { get; set; }

Property Value

bool

LastDownloadDate

Last time the token was used

public DateTime LastDownloadDate { get; set; }

Property Value

DateTime