- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public record EntitlementsPaginationProperties : PaginationProperties<ulong>, IEquatable<PaginationProperties<ulong>>, IEquatable<EntitlementsPaginationProperties>
- Inheritance
-
EntitlementsPaginationProperties
- Implements
-
- Inherited Members
-
Constructors
public EntitlementsPaginationProperties()
protected EntitlementsPaginationProperties(EntitlementsPaginationProperties original)
Parameters
original
EntitlementsPaginationProperties
Properties
protected override Type EqualityContract { get; }
Property Value
- Type
public bool? ExcludeEnded { get; set; }
Property Value
- bool?
public ulong? GuildId { get; set; }
Property Value
- ulong?
public IEnumerable<ulong>? SkuIds { get; set; }
Property Value
- IEnumerable<ulong>
public ulong? UserId { get; set; }
Property Value
- ulong?
Methods
public EntitlementsPaginationProperties AddSkuIds(IEnumerable<ulong> skuIds)
Parameters
skuIds
IEnumerable<ulong>
Returns
- EntitlementsPaginationProperties
public EntitlementsPaginationProperties AddSkuIds(params ulong[] skuIds)
Parameters
skuIds
ulong[]
Returns
- EntitlementsPaginationProperties
public virtual bool Equals(EntitlementsPaginationProperties? other)
Parameters
other
EntitlementsPaginationProperties
Returns
- bool
public override sealed bool Equals(PaginationProperties<ulong>? other)
Parameters
other
PaginationProperties<ulong>
Returns
- bool
public override bool Equals(object? obj)
Parameters
obj
object
Returns
- bool
public override int GetHashCode()
Returns
- int
protected override bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
- bool
public override string ToString()
Returns
- string
public EntitlementsPaginationProperties WithDirection(PaginationDirection? direction)
Parameters
direction
PaginationDirection?
Returns
- EntitlementsPaginationProperties
public EntitlementsPaginationProperties WithExcludeEnded(bool? excludeEnded = true)
Parameters
excludeEnded
bool?
Returns
- EntitlementsPaginationProperties
public EntitlementsPaginationProperties WithFrom(ulong? from)
Parameters
from
ulong?
Returns
- EntitlementsPaginationProperties
public EntitlementsPaginationProperties WithGuildId(ulong? guildId)
Parameters
guildId
ulong?
Returns
- EntitlementsPaginationProperties
public EntitlementsPaginationProperties WithLimit(int? limit)
Parameters
limit
int?
Returns
- EntitlementsPaginationProperties
public EntitlementsPaginationProperties WithSkuIds(IEnumerable<ulong>? skuIds)
Parameters
skuIds
IEnumerable<ulong>
Returns
- EntitlementsPaginationProperties
public EntitlementsPaginationProperties WithUserId(ulong? userId)
Parameters
userId
ulong?
Returns
- EntitlementsPaginationProperties
public override EntitlementsPaginationProperties <Clone>$()
Returns
- EntitlementsPaginationProperties
Operators
public static bool operator ==(EntitlementsPaginationProperties? left, EntitlementsPaginationProperties? right)
Parameters
left
EntitlementsPaginationProperties
right
EntitlementsPaginationProperties
Returns
- bool
public static bool operator !=(EntitlementsPaginationProperties? left, EntitlementsPaginationProperties? right)
Parameters
left
EntitlementsPaginationProperties
right
EntitlementsPaginationProperties
Returns
- bool