public static UserId fromJson(String jsonId) { Type idSpecEnum = Type.jsonValueOf(jsonId); if (idSpecEnum != null) { return new UserId(idSpecEnum, null); } return new UserId(Type.userId, jsonId); }
public static UserId fromJson(String jsonId) { Type idSpecEnum = Type.jsonValueOf(jsonId); if (idSpecEnum != null) { return new UserId(idSpecEnum, null); } return new UserId(Type.userId, jsonId); }
public static UserId fromJson(String jsonId) { Type idSpecEnum = Type.jsonValueOf(jsonId); if (idSpecEnum != null) { return new UserId(idSpecEnum, null); } return new UserId(Type.userId, jsonId); }