Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#676329 - Description property was added to LIME Group type #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/Lime.Messaging/Resources/Group.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ public class Group : Document

public const string IDENTITY_KEY = "identity";
public const string NAME_KEY = "name";
public const string DESCRIPTION_KEY = "description";
public const string TYPE_KEY = "type";
public const string PHOTO_URI_KEY = "photoUri";
public const string CREATOR_KEY = "creator";
Expand All @@ -28,8 +29,8 @@ public class Group : Document
public Group()
: base(MediaType)
{

}

/// <summary>
/// Identity of the group, in the group-id@groups.domain.com format.
/// </summary>
Expand All @@ -42,6 +43,12 @@ public Group()
[DataMember(Name = NAME_KEY)]
public string Name { get; set; }

/// <summary>
/// Description of the group.
/// </summary>
[DataMember(Name = DESCRIPTION_KEY)]
public string Description { get; set; }

/// <summary>
/// Type of the group.
/// </summary>
Expand Down Expand Up @@ -97,7 +104,6 @@ public enum GroupType
/// </summary>
[EnumMember(Value = "public")]
Public

}

/// <summary>
Expand All @@ -118,7 +124,6 @@ public class GroupMember : Document
public GroupMember()
: base(MediaType.Parse(MIME_TYPE))
{

}

/// <summary>
Expand Down
Loading