Class WolfUser
Wolf user.
Namespace: TehGM.Wolfringo
Assembly: Wolfringo.Core.dll
Syntax
public class WolfUser : IWolfEntity, IEquatable<WolfUser>
Constructors
| Improve this Doc View SourceWolfUser()
Creates a new instance of WOLF user.
Declaration
[JsonConstructor]
protected WolfUser()
Properties
| Improve this Doc View SourceAbout
User's "About Me" description.
Declaration
[JsonProperty("about", NullValueHandling = NullValueHandling.Ignore)]
public string About { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
If this value is null, user request with extended data might be required.
ActiveCharmID
User's selected active charm.
Declaration
[JsonProperty("charms")]
[JsonConverter(typeof(ValueOrPropertyConverter), new object[]{"selectedList[0].charmId"})]
public uint? ActiveCharmID { get; }
Property Value
Type | Description |
---|---|
Nullable<UInt32> |
DateOfBirth
User's date of birth.
Declaration
[JsonProperty("dateOfBirth", NullValueHandling = NullValueHandling.Ignore)]
public DateTime? DateOfBirth { get; }
Property Value
Type | Description |
---|---|
Nullable<DateTime> |
Remarks
If this value is null, user request with extended data is required.
Device
User's current device.
Declaration
[JsonProperty("deviceType")]
public WolfDevice Device { get; }
Property Value
Type | Description |
---|---|
WolfDevice |
Gender
User's gender.
Declaration
[JsonProperty("gender", NullValueHandling = NullValueHandling.Ignore)]
public WolfGender? Gender { get; }
Property Value
Type | Description |
---|---|
Nullable<WolfGender> |
Remarks
If this value is null, user request with extended data is required.
Hash
Entity state hash.
Declaration
[JsonProperty("hash", NullValueHandling = NullValueHandling.Ignore)]
public string Hash { get; }
Property Value
Type | Description |
---|---|
String |
Icon
User icon ID.
Declaration
[JsonProperty("icon")]
public int? Icon { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> |
ID
ID of the user.
Declaration
[JsonProperty("id")]
public uint ID { get; }
Property Value
Type | Description |
---|---|
UInt32 |
Language
User's language.
Declaration
[JsonProperty("language", NullValueHandling = NullValueHandling.Ignore)]
public WolfLanguage? Language { get; }
Property Value
Type | Description |
---|---|
Nullable<WolfLanguage> |
Remarks
If this value is null, user request with extended data is required.
Links
User's links.
Declaration
[JsonProperty("urls", NullValueHandling = NullValueHandling.Ignore)]
public IEnumerable<string> Links { get; }
Property Value
Type | Description |
---|---|
IEnumerable<String> |
Remarks
If this value is null, user request with extended data might be required.
LookingFor
User's looking for.
Declaration
[JsonProperty("lookingFor", NullValueHandling = NullValueHandling.Ignore)]
public WolfLookingFor? LookingFor { get; }
Property Value
Type | Description |
---|---|
Nullable<WolfLookingFor> |
Remarks
If this value is null, user request with extended data is required.
Nickname
User's display name.
Declaration
[JsonProperty("nickname")]
public string Nickname { get; }
Property Value
Type | Description |
---|---|
String |
OnlineState
User's online state.
Declaration
[JsonProperty("onlineState")]
public WolfOnlineState OnlineState { get; }
Property Value
Type | Description |
---|---|
WolfOnlineState |
Privileges
User's privileges.
Declaration
[JsonProperty("privileges")]
public WolfPrivilege Privileges { get; }
Property Value
Type | Description |
---|---|
WolfPrivilege |
ProfileName
User's name, as specified in the profile.
Declaration
[JsonProperty("name", NullValueHandling = NullValueHandling.Ignore)]
public string ProfileName { get; }
Property Value
Type | Description |
---|---|
String |
Remarks
If this value is null, user request with extended data might be required.
Relationship
User's relationship status.
Declaration
[JsonProperty("relationship", NullValueHandling = NullValueHandling.Ignore)]
public WolfRelationship? Relationship { get; }
Property Value
Type | Description |
---|---|
Nullable<WolfRelationship> |
Remarks
If this value is null, user request with extended data is required.
Reputation
User's reputation level.
Declaration
[JsonProperty("reputation")]
public double Reputation { get; }
Property Value
Type | Description |
---|---|
Double |
Status
User's status.
Declaration
[JsonProperty("status")]
public string Status { get; }
Property Value
Type | Description |
---|---|
String |
UtcOffset
User's timezone offset.
Declaration
[JsonProperty("utcOffset", NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(MinutesTimespanConverter))]
public TimeSpan? UtcOffset { get; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> |
Remarks
If this value is null, user request with extended data is required.
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj |
Returns
Type | Description |
---|---|
Boolean |
Overrides
| Improve this Doc View SourceEquals(WolfUser)
Declaration
public bool Equals(WolfUser other)
Parameters
Type | Name | Description |
---|---|---|
WolfUser | other |
Returns
Type | Description |
---|---|
Boolean |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 |
Overrides
Operators
| Improve this Doc View SourceEquality(WolfUser, WolfUser)
Declaration
public static bool operator ==(WolfUser left, WolfUser right)
Parameters
Type | Name | Description |
---|---|---|
WolfUser | left | |
WolfUser | right |
Returns
Type | Description |
---|---|
Boolean |
Inequality(WolfUser, WolfUser)
Declaration
public static bool operator !=(WolfUser left, WolfUser right)
Parameters
Type | Name | Description |
---|---|---|
WolfUser | left | |
WolfUser | right |
Returns
Type | Description |
---|---|
Boolean |