@@ -249,6 +249,36 @@ public abstract class Incident extends DirectionsJsonObject {
249249 @ SerializedName ("end_time" )
250250 public abstract String endTime ();
251251
252+ /**
253+ * Two letter country code where the incident is located.
254+ * @see <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.">ISO Country code Wikipedia page</a>
255+ */
256+ @ Nullable
257+ @ SerializedName ("iso_3166_1_alpha2" )
258+ public abstract String countryCodeAlpha2 ();
259+
260+ /**
261+ * Three letter country code where the incident is located.
262+ * @see <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3.">ISO Country code Wikipedia page</a>
263+ */
264+ @ Nullable
265+ @ SerializedName ("iso_3166_1_alpha3" )
266+ public abstract String countryCodeAlpha3 ();
267+
268+ /**
269+ * A list of lanes that are blocked by the incident.
270+ */
271+ @ Nullable
272+ @ SerializedName ("lanes_blocked" )
273+ public abstract List <String > lanesBlocked ();
274+
275+ /**
276+ * The number of items in the {@link Incident#lanesBlocked()} list.
277+ */
278+ @ Nullable
279+ @ SerializedName ("num_lanes_blocked" )
280+ public abstract Integer numLanesBlocked ();
281+
252282 /**
253283 * Create a new instance of this class by using the {@link Incident.Builder} class.
254284 *
@@ -406,6 +436,36 @@ public abstract static class Builder {
406436 */
407437 public abstract Builder endTime (@ Nullable String endTime );
408438
439+ /**
440+ * Two letter country code where the incident is located.
441+ * @see <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2.">ISO Country code Wikipedia page</a>
442+ *
443+ * @param countryCodeAlpha2 2 letter country code
444+ */
445+ public abstract Builder countryCodeAlpha2 (@ Nullable String countryCodeAlpha2 );
446+
447+ /**
448+ * Three letter country code where the incident is located.
449+ * @see <a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3.">ISO Country code Wikipedia page</a>
450+ *
451+ * @param countryCodeAlpha3 3 letter country code
452+ */
453+ public abstract Builder countryCodeAlpha3 (@ Nullable String countryCodeAlpha3 );
454+
455+ /**
456+ * A list of lanes that are blocked by the incident.
457+ *
458+ * @param lanesBlocked lanes blocked
459+ */
460+ public abstract Builder lanesBlocked (@ Nullable List <String > lanesBlocked );
461+
462+ /**
463+ * The number of items in the {@link Incident#lanesBlocked()} list.
464+ *
465+ * @param numLanesBlocked number lanes blocked
466+ */
467+ public abstract Builder numLanesBlocked (@ Nullable Integer numLanesBlocked );
468+
409469 /**
410470 * Build a new instance of {@link Incident}.
411471 *
0 commit comments