Class NotificationBinaryFile
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Notification binary file.
public class NotificationBinaryFile : NameEntity, IEntity, IComparable, IIdentifiable
- Inheritance
-
NotificationBinaryFile
- Implements
- Derived
- Inherited Members
Constructors
NotificationBinaryFile()
Initializes a new instance of the NotificationBinaryFile class.The constructor.
public NotificationBinaryFile()
NotificationBinaryFile(Id?, string?, MediaFileType?)
Initializes a new instance of the NotificationBinaryFile class.The constructor.
public NotificationBinaryFile(Id? id, string? name, MediaFileType? fileTypeEnum)
Parameters
id
IdThe Id.
name
stringThe Description of the binary file.
fileTypeEnum
MediaFileType?The file type.
NotificationBinaryFile(NotificationBinaryFile)
Initializes a new instance of the NotificationBinaryFile class.Copy Constructor.
protected NotificationBinaryFile(NotificationBinaryFile notificationBinaryFile)
Parameters
notificationBinaryFile
NotificationBinaryFileThe notification binary file.
Properties
FileType
Gets or sets the file type.
public MediaFileType? FileType { get; set; }
Property Value
- MediaFileType?
The file type.
Purpose
Gets or sets the purpose of the template NotificationTemplatePurpose.
public virtual NotificationTemplatePurpose? Purpose { get; set; }
Property Value
- NotificationTemplatePurpose?
The notification template purpose
Type
Gets or sets get the type of the binary data for notifications.
public virtual NotificationBinaryFileType? Type { get; set; }
Property Value
- NotificationBinaryFileType?
Get the type of the binary data for notifications.
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.
SystemFromId(Id)
Returns a system NotificationBinaryFile from the provided system Id else null if its a not a system NotificationBinaryFile.
public static NotificationBinaryFile? SystemFromId(Id id)
Parameters
id
IdThe id.