Class RestBan
Represents a REST-based ban object.
public class RestBan : IBan
- Inheritance
-
RestBan
- Implements
- Inherited Members
Properties
Reason
Gets the reason why the user is banned if specified.
public string Reason { get; }
Property Value
User
Gets the banned user.
public RestUser User { get; }
Property Value
Methods
ToString()
Gets the name of the banned user.
public override string ToString()
Returns
- string
A string containing the name of the user that was banned.