aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/xep/0030_service_discovery/identity.vala
blob: 43aecfb29414c0eccb41418d1e9ce942887dde79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
namespace Xmpp.Xep.ServiceDiscovery {

public class Identity {
    public const string CATEGORY_CLIENT = "client";
    public const string CATEGORY_CONFERENCE = "conference";

    public const string TYPE_PC = "pc";
    public const string TYPE_PHONE = "phone";
    public const string TYPE_TABLET = "tablet";

    public string category { get; set; }
    public string type_ { get; set; }
    public string? name { get; set; }

    public Identity(string category, string type, string? name = null) {
        this.category = category;
        this.type_ = type;
        this.name = name;
    }
}

}