Table of Contents

Class GuildAuditLogPaginationProperties

Namespace
NetCord.Rest
Assembly
NetCord.dll
public record GuildAuditLogPaginationProperties : PaginationProperties<ulong>, IEquatable<PaginationProperties<ulong>>, IEquatable<GuildAuditLogPaginationProperties>
Inheritance
GuildAuditLogPaginationProperties
Implements
Inherited Members

Constructors

GuildAuditLogPaginationProperties()

public GuildAuditLogPaginationProperties()

GuildAuditLogPaginationProperties(GuildAuditLogPaginationProperties)

protected GuildAuditLogPaginationProperties(GuildAuditLogPaginationProperties original)

Parameters

original GuildAuditLogPaginationProperties

Properties

ActionType

public AuditLogEvent? ActionType { get; set; }

Property Value

AuditLogEvent?

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

UserId

public ulong? UserId { get; set; }

Property Value

ulong?

Methods

Equals(GuildAuditLogPaginationProperties?)

public virtual bool Equals(GuildAuditLogPaginationProperties? other)

Parameters

other GuildAuditLogPaginationProperties

Returns

bool

Equals(PaginationProperties<ulong>?)

public override sealed bool Equals(PaginationProperties<ulong>? other)

Parameters

other PaginationProperties<ulong>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

WithActionType(AuditLogEvent?)

public GuildAuditLogPaginationProperties WithActionType(AuditLogEvent? actionType)

Parameters

actionType AuditLogEvent?

Returns

GuildAuditLogPaginationProperties

WithDirection(PaginationDirection?)

public GuildAuditLogPaginationProperties WithDirection(PaginationDirection? direction)

Parameters

direction PaginationDirection?

Returns

GuildAuditLogPaginationProperties

WithFrom(ulong?)

public GuildAuditLogPaginationProperties WithFrom(ulong? from)

Parameters

from ulong?

Returns

GuildAuditLogPaginationProperties

WithLimit(int?)

public GuildAuditLogPaginationProperties WithLimit(int? limit)

Parameters

limit int?

Returns

GuildAuditLogPaginationProperties

WithUserId(ulong?)

public GuildAuditLogPaginationProperties WithUserId(ulong? userId)

Parameters

userId ulong?

Returns

GuildAuditLogPaginationProperties

<Clone>$()

public override GuildAuditLogPaginationProperties <Clone>$()

Returns

GuildAuditLogPaginationProperties

Operators

operator ==(GuildAuditLogPaginationProperties?, GuildAuditLogPaginationProperties?)

public static bool operator ==(GuildAuditLogPaginationProperties? left, GuildAuditLogPaginationProperties? right)

Parameters

left GuildAuditLogPaginationProperties
right GuildAuditLogPaginationProperties

Returns

bool

operator !=(GuildAuditLogPaginationProperties?, GuildAuditLogPaginationProperties?)

public static bool operator !=(GuildAuditLogPaginationProperties? left, GuildAuditLogPaginationProperties? right)

Parameters

left GuildAuditLogPaginationProperties
right GuildAuditLogPaginationProperties

Returns

bool