Class AuditLogChange
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class AuditLogChange : IJsonModel<JsonAuditLogChange>
- Inheritance
-
AuditLogChange
- Implements
- Derived
-
AuditLogChange<TValue>
- Inherited Members
Constructors
AuditLogChange(JsonAuditLogChange)
public AuditLogChange(JsonAuditLogChange jsonModel)
Parameters
jsonModel
JsonAuditLogChange
Properties
HasNewValue
Whether there is a new value of the key.
public bool HasNewValue { get; }
Property Value
HasOldValue
Whether there is an old value of the key.
public bool HasOldValue { get; }
Property Value
Key
Name of the changed entity, with a few exceptions.
public string Key { get; }
Property Value
Methods
WithValues<TValue>()
Gets the change with values associated.
public AuditLogChange<TValue> WithValues<TValue>()
Returns
- AuditLogChange<TValue>
Type Parameters
TValue
WithValues<TValue>(JsonTypeInfo<TValue>)
Gets the change with values associated.
public AuditLogChange<TValue> WithValues<TValue>(JsonTypeInfo<TValue> jsonTypeInfo)
Parameters
jsonTypeInfo
JsonTypeInfo<TValue>
Returns
- AuditLogChange<TValue>
Type Parameters
TValue