Class NotificationUserModifiedData
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
A class for notifying of changes to a User by an administrator User. Provides information
about who was changed, who did the changes, what type of changes happened, and any values that were changed if applicable.
public class NotificationUserModifiedData : NotificationData, IEntity, IComparable, IIdentifiable
- Inheritance
-
NotificationUserModifiedData
- Implements
- Inherited Members
Constructors
NotificationUserModifiedData(Id?, UserModifiedInfo?, UserModification)
Initializes a new instance of the NotificationUserModifiedData class.
public NotificationUserModifiedData(Id? id, UserModifiedInfo? userModifiedInfo, UserModification userModification)
Parameters
id
IdThe ID for the entity.
userModifiedInfo
UserModifiedInfoAdditional data about the User that was modified and the User responsible for the modification.
userModification
UserModificationThe modification action performed.
NotificationUserModifiedData(NotificationUserModifiedData)
Initializes a new instance of the NotificationUserModifiedData class.
public NotificationUserModifiedData(NotificationUserModifiedData userModifiedData)
Parameters
userModifiedData
NotificationUserModifiedDataAnother instance to copy all properties from.
NotificationUserModifiedData(UserModifiedInfo, UserModification)
Initializes a new instance of the NotificationUserModifiedData class.
public NotificationUserModifiedData(UserModifiedInfo userModifiedInfo, UserModification userModification)
Parameters
userModifiedInfo
UserModifiedInfoAdditional data about the User that was modified and the User responsible for the modification.
userModification
UserModificationThe modification action performed.
Properties
ModificationAction
Gets the type of UserModification that occurred.
public UserModification ModificationAction { get; }
Property Value
- UserModification
The type of UserModification that occurred.
UserModifiedInfo
Gets additional info about the ModificationAction stored in a data class.
public UserModifiedInfo UserModifiedInfo { get; }
Property Value
- UserModifiedInfo
Additional info about the ModificationAction stored in a data class.
This info is JSON-serialized and stored in the "sInfo" column of the NotificationData table.
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.