Struct TopLevelResourceInfo
- Namespace
- NetCord.Rest
- Assembly
- NetCord.dll
public readonly struct TopLevelResourceInfo : IEquatable<TopLevelResourceInfo>
- Implements
-
- Inherited Members
-
Constructors
TopLevelResourceInfo(ulong, string?)
public TopLevelResourceInfo(ulong resourceId, string? resourceToken = null)
Parameters
resourceId
ulong
resourceToken
string
Properties
ResourceId
public ulong ResourceId { get; }
Property Value
- ulong
ResourceToken
public string? ResourceToken { get; }
Property Value
- string
Methods
Equals(TopLevelResourceInfo)
public bool Equals(TopLevelResourceInfo other)
Parameters
other
TopLevelResourceInfo
Returns
- bool
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int
ToString()
public override string ToString()
Returns
- string
Operators
operator ==(TopLevelResourceInfo, TopLevelResourceInfo)
public static bool operator ==(TopLevelResourceInfo left, TopLevelResourceInfo right)
Parameters
left
TopLevelResourceInfo
right
TopLevelResourceInfo
Returns
- bool
operator !=(TopLevelResourceInfo, TopLevelResourceInfo)
public static bool operator !=(TopLevelResourceInfo left, TopLevelResourceInfo right)
Parameters
left
TopLevelResourceInfo
right
TopLevelResourceInfo
Returns
- bool