Table of Contents

Class AuditLogChange

Namespace
NetCord
Assembly
NetCord.dll
public class AuditLogChange : IJsonModel<JsonAuditLogChange>
Inheritance
AuditLogChange
Implements
Derived
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

bool

HasOldValue

Whether there is an old value of the key.

public bool HasOldValue { get; }

Property Value

bool

Key

Name of the changed entity, with a few exceptions.

public string Key { get; }

Property Value

string

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