Class MimeTaskType
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
public abstract class MimeTaskType : NameEntity, IEntity, IComparable, IIdentifiable
- Inheritance
-
MimeTaskType
- Implements
- Derived
- Inherited Members
Constructors
MimeTaskType()
Initializes a new instance of the MimeTaskType class.
protected MimeTaskType()
MimeTaskType(Id, string)
Initializes a new instance of the MimeTaskType class.
protected MimeTaskType(Id id, string name)
Parameters
Properties
Id
Gets or sets the unique identifier for this entity.
public override Id? Id { get; set; }
Property Value
Name
Gets or sets the name of this entity which identifies it and is used when displaying this entity.
public override string? Name { get; set; }
Property Value
Methods
GetMimeTaskTypeFromString(string?)
Returns a MimeTaskType from the provided string else Unknown if it is not an existing MimeTaskType.
public static MimeTaskType GetMimeTaskTypeFromString(string? mimeType)
Parameters
mimeType
stringThe mimeType string.
Returns
- MimeTaskType
The MimeTaskType.
IsSystemEntity()
Returns true if the class is a system entity, false otherwise.
public override bool IsSystemEntity()
Returns
MimeTaskTypeFromId(Id?)
Returns a MimeTaskType from the provided Id else Unknown if it is not an existing MimeTaskType.
public static MimeTaskType MimeTaskTypeFromId(Id? id)
Parameters
id
IdThe id.
Returns
- MimeTaskType
The MimeTaskType.