diff options
Diffstat (limited to 'xmpp-vala/src/module/xep/0030_service_discovery/identity.vala')
-rw-r--r-- | xmpp-vala/src/module/xep/0030_service_discovery/identity.vala | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/xmpp-vala/src/module/xep/0030_service_discovery/identity.vala b/xmpp-vala/src/module/xep/0030_service_discovery/identity.vala new file mode 100644 index 00000000..e29eb111 --- /dev/null +++ b/xmpp-vala/src/module/xep/0030_service_discovery/identity.vala @@ -0,0 +1,18 @@ +namespace Xmpp.Xep.ServiceDiscovery { + +public class Identity { + public const string CATEGORY_CLIENT = "client"; + public const string CATEGORY_CONFERENCE = "conference"; + + 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; + } +} + +}
\ No newline at end of file |