@@ -0,0 +1,1176 @@
+/*%0A * matrix-java-sdk - Matrix Client SDK for Java%0A * Copyright (C) 2017 Maxime Dor%0A *%0A * https://max.kamax.io/%0A *%0A * This program is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Affero General Public License as%0A * published by the Free Software Foundation, either version 3 of the%0A * License, or (at your option) any later version.%0A *%0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A * GNU Affero General Public License for more details.%0A *%0A * You should have received a copy of the GNU Affero General Public License%0A * along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A */%0A%0Apackage io.kamax.matrix;%0A%0Apublic enum ThreePidMedium %7B%0A%0A    Email(%22email%22),%0A    PhoneNumber(%22msisdn%22);%0A%0A    private String id;%0A%0A    ThreePidMedium(String id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public String getId() %7B%0A        return id;%0A    %7D%0A%0A    public String toString() %7B%0A        return getId();%0A    %7D%0A%0A    public boolean is(String s) %7B%0A        return getId().contentEquals(s);%0A    %7D%0A%0A%7D%0A

Add 3PID medium type enum