From 1032b04cf94b1cbb2200051c08f2c7164d22cee1 Mon Sep 17 00:00:00 2001 From: Oliver Eilhard Date: Wed, 21 Sep 2016 15:34:47 +0200 Subject: [PATCH] Update to 1.0.4 Blobs now have a `URL` field. --- .../java/com/meplato/mall/catalogs/Service.java | 4 ++-- src/main/java/com/meplato/mall/mlt/Service.java | 4 ++-- .../java/com/meplato/mall/products/Blob.java | 16 ++++++++++++++++ .../java/com/meplato/mall/products/Service.java | 4 ++-- .../java/com/meplato/mall/vendors/Service.java | 4 ++-- 5 files changed, 24 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/meplato/mall/catalogs/Service.java b/src/main/java/com/meplato/mall/catalogs/Service.java index 80dcce3..aa2ada8 100644 --- a/src/main/java/com/meplato/mall/catalogs/Service.java +++ b/src/main/java/com/meplato/mall/catalogs/Service.java @@ -17,7 +17,7 @@ * * @copyright 2014-2016 Meplato GmbH, Switzerland. * @author Meplato API Team - * @version 1.0.3 + * @version 1.0.4 * @license Copyright (c) 2015 Meplato GmbH, Switzerland. All rights reserved. * @see Terms of Service * @see External documentation @@ -41,7 +41,7 @@ public class Service { /** API title. */ public static String TITLE = "Meplato Mall API"; /** API version. */ - public static String VERSION = "1.0.3"; + public static String VERSION = "1.0.4"; /** User Agent. */ public static String USER_AGENT = "meplato-java-client/2.0"; /** Default base URL of the API endpoints. */ diff --git a/src/main/java/com/meplato/mall/mlt/Service.java b/src/main/java/com/meplato/mall/mlt/Service.java index 2955c08..4d80b15 100644 --- a/src/main/java/com/meplato/mall/mlt/Service.java +++ b/src/main/java/com/meplato/mall/mlt/Service.java @@ -17,7 +17,7 @@ * * @copyright 2014-2016 Meplato GmbH, Switzerland. * @author Meplato API Team - * @version 1.0.3 + * @version 1.0.4 * @license Copyright (c) 2015-2016 Meplato GmbH, Switzerland. All rights reserved. * @see Terms of Service * @see External documentation @@ -41,7 +41,7 @@ public class Service { /** API title. */ public static String TITLE = "Meplato Mall API"; /** API version. */ - public static String VERSION = "1.0.3"; + public static String VERSION = "1.0.4"; /** User Agent. */ public static String USER_AGENT = "meplato-java-client/2.0"; /** Default base URL of the API endpoints. */ diff --git a/src/main/java/com/meplato/mall/products/Blob.java b/src/main/java/com/meplato/mall/products/Blob.java index b219537..20e9983 100644 --- a/src/main/java/com/meplato/mall/products/Blob.java +++ b/src/main/java/com/meplato/mall/products/Blob.java @@ -33,6 +33,8 @@ public class Blob { private String source; @SerializedName("text") private String text; + @SerializedName("url") + private String url; /** * Create new instance of Blob. @@ -99,5 +101,19 @@ public String getText() { public void setText(String text) { this.text = text; } + + /** + * URL is the URL to the blob. + */ + public String getUrl() { + return this.url; + } + + /** + * URL is the URL to the blob. + */ + public void setUrl(String url) { + this.url = url; + } } diff --git a/src/main/java/com/meplato/mall/products/Service.java b/src/main/java/com/meplato/mall/products/Service.java index 224fac8..f82eb06 100644 --- a/src/main/java/com/meplato/mall/products/Service.java +++ b/src/main/java/com/meplato/mall/products/Service.java @@ -17,7 +17,7 @@ * * @copyright 2014-2016 Meplato GmbH, Switzerland. * @author Meplato API Team - * @version 1.0.3 + * @version 1.0.4 * @license Copyright (c) 2015-2016 Meplato GmbH, Switzerland. All rights reserved. * @see Terms of Service * @see External documentation @@ -41,7 +41,7 @@ public class Service { /** API title. */ public static String TITLE = "Meplato Mall API"; /** API version. */ - public static String VERSION = "1.0.3"; + public static String VERSION = "1.0.4"; /** User Agent. */ public static String USER_AGENT = "meplato-java-client/2.0"; /** Default base URL of the API endpoints. */ diff --git a/src/main/java/com/meplato/mall/vendors/Service.java b/src/main/java/com/meplato/mall/vendors/Service.java index 11314cf..2c9760b 100644 --- a/src/main/java/com/meplato/mall/vendors/Service.java +++ b/src/main/java/com/meplato/mall/vendors/Service.java @@ -17,7 +17,7 @@ * * @copyright 2014-2016 Meplato GmbH, Switzerland. * @author Meplato API Team - * @version 1.0.3 + * @version 1.0.4 * @license Copyright (c) 2015-2016 Meplato GmbH, Switzerland. All rights reserved. * @see Terms of Service * @see External documentation @@ -41,7 +41,7 @@ public class Service { /** API title. */ public static String TITLE = "Meplato Mall API"; /** API version. */ - public static String VERSION = "1.0.3"; + public static String VERSION = "1.0.4"; /** User Agent. */ public static String USER_AGENT = "meplato-java-client/2.0"; /** Default base URL of the API endpoints. */