- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
[JsonConverter(typeof(GuildUsersSearchPaginationProperties.GuildUsersSearchPaginationPropertiesConverter))]
public record GuildUsersSearchPaginationProperties : PaginationProperties<GuildUsersSearchTimestamp>, IEquatable<PaginationProperties<GuildUsersSearchTimestamp>>, IEquatable<GuildUsersSearchPaginationProperties>
- Inheritance
-
GuildUsersSearchPaginationProperties
- Implements
-
- Inherited Members
-
Constructors
public GuildUsersSearchPaginationProperties()
protected GuildUsersSearchPaginationProperties(GuildUsersSearchPaginationProperties original)
Parameters
original
GuildUsersSearchPaginationProperties
Properties
AndQuery
public IEnumerable<IGuildUsersSearchQuery>? AndQuery { get; set; }
Property Value
- IEnumerable<IGuildUsersSearchQuery>
protected override Type EqualityContract { get; }
Property Value
- Type
public IEnumerable<IGuildUsersSearchQuery>? OrQuery { get; set; }
Property Value
- IEnumerable<IGuildUsersSearchQuery>
Methods
AddAndQuery(params IGuildUsersSearchQuery[])
public GuildUsersSearchPaginationProperties AddAndQuery(params IGuildUsersSearchQuery[] andQuery)
Parameters
andQuery
IGuildUsersSearchQuery[]
Returns
- GuildUsersSearchPaginationProperties
AddAndQuery(IEnumerable<IGuildUsersSearchQuery>)
public GuildUsersSearchPaginationProperties AddAndQuery(IEnumerable<IGuildUsersSearchQuery> andQuery)
Parameters
andQuery
IEnumerable<IGuildUsersSearchQuery>
Returns
- GuildUsersSearchPaginationProperties
public GuildUsersSearchPaginationProperties AddOrQuery(params IGuildUsersSearchQuery[] orQuery)
Parameters
orQuery
IGuildUsersSearchQuery[]
Returns
- GuildUsersSearchPaginationProperties
public GuildUsersSearchPaginationProperties AddOrQuery(IEnumerable<IGuildUsersSearchQuery> orQuery)
Parameters
orQuery
IEnumerable<IGuildUsersSearchQuery>
Returns
- GuildUsersSearchPaginationProperties
public virtual bool Equals(GuildUsersSearchPaginationProperties? other)
Parameters
other
GuildUsersSearchPaginationProperties
Returns
- bool
public override sealed bool Equals(PaginationProperties<GuildUsersSearchTimestamp>? other)
Parameters
other
PaginationProperties<GuildUsersSearchTimestamp>
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
WithAndQuery(IEnumerable<IGuildUsersSearchQuery>?)
public GuildUsersSearchPaginationProperties WithAndQuery(IEnumerable<IGuildUsersSearchQuery>? andQuery)
Parameters
andQuery
IEnumerable<IGuildUsersSearchQuery>
Returns
- GuildUsersSearchPaginationProperties
public GuildUsersSearchPaginationProperties WithDirection(PaginationDirection? direction)
Parameters
direction
PaginationDirection?
Returns
- GuildUsersSearchPaginationProperties
public GuildUsersSearchPaginationProperties WithFrom(GuildUsersSearchTimestamp? from)
Parameters
from
GuildUsersSearchTimestamp?
Returns
- GuildUsersSearchPaginationProperties
public GuildUsersSearchPaginationProperties WithLimit(int? limit)
Parameters
limit
int?
Returns
- GuildUsersSearchPaginationProperties
public GuildUsersSearchPaginationProperties WithOrQuery(IEnumerable<IGuildUsersSearchQuery>? orQuery)
Parameters
orQuery
IEnumerable<IGuildUsersSearchQuery>
Returns
- GuildUsersSearchPaginationProperties
public override GuildUsersSearchPaginationProperties <Clone>$()
Returns
- GuildUsersSearchPaginationProperties
Operators
public static bool operator ==(GuildUsersSearchPaginationProperties? left, GuildUsersSearchPaginationProperties? right)
Parameters
left
GuildUsersSearchPaginationProperties
right
GuildUsersSearchPaginationProperties
Returns
- bool
public static bool operator !=(GuildUsersSearchPaginationProperties? left, GuildUsersSearchPaginationProperties? right)
Parameters
left
GuildUsersSearchPaginationProperties
right
GuildUsersSearchPaginationProperties
Returns
- bool