diff --git a/mdx-models/src/main/java/com/mx/path/model/mdx/model/authorization/Authorization.java b/mdx-models/src/main/java/com/mx/path/model/mdx/model/authorization/Authorization.java index 7b242b12..144077ac 100644 --- a/mdx-models/src/main/java/com/mx/path/model/mdx/model/authorization/Authorization.java +++ b/mdx-models/src/main/java/com/mx/path/model/mdx/model/authorization/Authorization.java @@ -2,6 +2,7 @@ import java.util.List; +import com.google.gson.annotations.SerializedName; import com.mx.path.model.mdx.model.MdxBase; import com.mx.path.model.mdx.model.challenges.Challenge; @@ -10,6 +11,8 @@ public class Authorization extends MdxBase { private String accountId; private List challenges; private NameValuePair[] cookies; + @SerializedName("cookies_url") + private String cookiesUrl; private String deviceId; private Long expiresAt; private NameValuePair[] headers; @@ -47,6 +50,14 @@ public final void setCookies(NameValuePair[] newCookies) { this.cookies = newCookies; } + public final String getCookiesUrl() { + return cookiesUrl; + } + + public final void setCookiesUrl(String cookiesUrl) { + this.cookiesUrl = cookiesUrl; + } + public final String getDeviceId() { return deviceId; }