Table of Contents

Class EntitlementsPaginationProperties

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

Constructors

EntitlementsPaginationProperties()

public EntitlementsPaginationProperties()

EntitlementsPaginationProperties(EntitlementsPaginationProperties)

protected EntitlementsPaginationProperties(EntitlementsPaginationProperties original)

Parameters

original EntitlementsPaginationProperties

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

ExcludeEnded

public bool? ExcludeEnded { get; set; }

Property Value

bool?

GuildId

public ulong? GuildId { get; set; }

Property Value

ulong?

SkuIds

public IEnumerable<ulong>? SkuIds { get; set; }

Property Value

IEnumerable<ulong>

UserId

public ulong? UserId { get; set; }

Property Value

ulong?

Methods

AddSkuIds(IEnumerable<ulong>)

public EntitlementsPaginationProperties AddSkuIds(IEnumerable<ulong> skuIds)

Parameters

skuIds IEnumerable<ulong>

Returns

EntitlementsPaginationProperties

AddSkuIds(params ulong[])

public EntitlementsPaginationProperties AddSkuIds(params ulong[] skuIds)

Parameters

skuIds ulong[]

Returns

EntitlementsPaginationProperties

Equals(EntitlementsPaginationProperties?)

public virtual bool Equals(EntitlementsPaginationProperties? other)

Parameters

other EntitlementsPaginationProperties

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

WithDirection(PaginationDirection?)

public EntitlementsPaginationProperties WithDirection(PaginationDirection? direction)

Parameters

direction PaginationDirection?

Returns

EntitlementsPaginationProperties

WithExcludeEnded(bool?)

public EntitlementsPaginationProperties WithExcludeEnded(bool? excludeEnded = true)

Parameters

excludeEnded bool?

Returns

EntitlementsPaginationProperties

WithFrom(ulong?)

public EntitlementsPaginationProperties WithFrom(ulong? from)

Parameters

from ulong?

Returns

EntitlementsPaginationProperties

WithGuildId(ulong?)

public EntitlementsPaginationProperties WithGuildId(ulong? guildId)

Parameters

guildId ulong?

Returns

EntitlementsPaginationProperties

WithLimit(int?)

public EntitlementsPaginationProperties WithLimit(int? limit)

Parameters

limit int?

Returns

EntitlementsPaginationProperties

WithSkuIds(IEnumerable<ulong>?)

public EntitlementsPaginationProperties WithSkuIds(IEnumerable<ulong>? skuIds)

Parameters

skuIds IEnumerable<ulong>

Returns

EntitlementsPaginationProperties

WithUserId(ulong?)

public EntitlementsPaginationProperties WithUserId(ulong? userId)

Parameters

userId ulong?

Returns

EntitlementsPaginationProperties

<Clone>$()

public override EntitlementsPaginationProperties <Clone>$()

Returns

EntitlementsPaginationProperties

Operators

operator ==(EntitlementsPaginationProperties?, EntitlementsPaginationProperties?)

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

Parameters

left EntitlementsPaginationProperties
right EntitlementsPaginationProperties

Returns

bool

operator !=(EntitlementsPaginationProperties?, EntitlementsPaginationProperties?)

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

Parameters

left EntitlementsPaginationProperties
right EntitlementsPaginationProperties

Returns

bool