Class UserUpdateMessage.Builder
A builder class for UserUpdateMessage.
Inheritance
System.Object
UserUpdateMessage.Builder
Namespace: TehGM.Wolfringo.Messages
Assembly: Wolfringo.Core.dll
Syntax
public class Builder
Constructors
| Improve this Doc View SourceBuilder(WolfUser)
Create a new builder for UserUpdateMessage.
Declaration
public Builder(WolfUser user)
Parameters
| Type | Name | Description |
|---|---|---|
| WolfUser | user | User to update. |
Remarks
Ensure that user is always currently connected user,
as the message is being sent without any user ID, so always updates the current user.
Properties
| Improve this Doc View SourceAbout
User's "About Me" description.
Declaration
public string About { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
DateOfBirth
User's date of birth.
Declaration
public DateTime? DateOfBirth { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> |
Gender
User's gender.
Declaration
public WolfGender Gender { get; set; }
Property Value
| Type | Description |
|---|---|
| WolfGender |
Language
User's language.
Declaration
public WolfLanguage Language { get; set; }
Property Value
| Type | Description |
|---|---|
| WolfLanguage |
Links
User's links.
Declaration
public ICollection<string> Links { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.ICollection<System.String> |
LookingFor
User's looking for.
Declaration
public WolfLookingFor LookingFor { get; set; }
Property Value
| Type | Description |
|---|---|
| WolfLookingFor |
Nickname
User's display name.
Declaration
public string Nickname { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ProfileName
User's name, as specified in the profile.
Declaration
public string ProfileName { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Relationship
User's relationship status.
Declaration
public WolfRelationship Relationship { get; set; }
Property Value
| Type | Description |
|---|---|
| WolfRelationship |
Status
User's status.
Declaration
public string Status { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceBuild()
Build the GroupUpdateMessage.
Declaration
public UserUpdateMessage Build()
Returns
| Type | Description |
|---|---|
| UserUpdateMessage | A new GroupUpdateMessage. |