From dcfa46d03c81c189d30f42c64010d5451c06e869 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Tue, 2 Jul 2024 12:06:21 -0300 Subject: [PATCH] feat: add cookies_url field to authorization --- .../model/mdx/model/authorization/Authorization.java | 11 +++++++++++ 1 file changed, 11 insertions(+) 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; }