/* Options: Date: 2024-09-24 11:19:15 Version: 5.140 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://product-matching-api.kit.co //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: PostProductMatchingUpdateCallbackRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/v1/product-matching-update-callback", Verbs="POST") public static class PostProductMatchingUpdateCallbackRequest implements IReturn { public ArrayList productMatches = null; public Uri sourceUrl = null; public ArrayList getProductMatches() { return productMatches; } public PostProductMatchingUpdateCallbackRequest setProductMatches(ArrayList value) { this.productMatches = value; return this; } public Uri getSourceUrl() { return sourceUrl; } public PostProductMatchingUpdateCallbackRequest setSourceUrl(Uri value) { this.sourceUrl = value; return this; } private static Object responseType = PostProductMatchingUpdateCallbackResponse.class; public Object getResponseType() { return responseType; } } public static class PostProductMatchingUpdateCallbackResponse { public ResponseStatus responseStatus = null; public ResponseStatus getResponseStatus() { return responseStatus; } public PostProductMatchingUpdateCallbackResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } @DataContract public static class ProductMatch implements IProductMatch { @DataMember(Name="retailerGuid") @SerializedName("retailerGuid") public UUID retailerGuid = null; @DataMember(Name="retailerName") @SerializedName("retailerName") public String retailerName = null; @DataMember(Name="brand") @SerializedName("brand") public String brand = null; @DataMember(Name="productName") @SerializedName("productName") public String productName = null; @DataMember(Name="description") @SerializedName("description") public String description = null; @DataMember(Name="sku") @SerializedName("sku") public String sku = null; @DataMember(Name="gtin") @SerializedName("gtin") public String gtin = null; @DataMember(Name="ean8") @SerializedName("ean8") public String eaN8 = null; @DataMember(Name="ean13") @SerializedName("ean13") public String eaN13 = null; @DataMember(Name="isbn") @SerializedName("isbn") public String isbn = null; @DataMember(Name="upc") @SerializedName("upc") public String upc = null; @DataMember(Name="productImageUrl") @SerializedName("productImageUrl") public Uri productImageUrl = null; @DataMember(Name="productUrl") @SerializedName("productUrl") public Uri productUrl = null; @DataMember(Name="auditResult") @SerializedName("auditResult") public String auditResult = null; @DataMember(Name="auditResultReasons") @SerializedName("auditResultReasons") public ArrayList auditResultReasons = null; public UUID getRetailerGuid() { return retailerGuid; } public ProductMatch setRetailerGuid(UUID value) { this.retailerGuid = value; return this; } public String getRetailerName() { return retailerName; } public ProductMatch setRetailerName(String value) { this.retailerName = value; return this; } public String getBrand() { return brand; } public ProductMatch setBrand(String value) { this.brand = value; return this; } public String getProductName() { return productName; } public ProductMatch setProductName(String value) { this.productName = value; return this; } public String getDescription() { return description; } public ProductMatch setDescription(String value) { this.description = value; return this; } public String getSku() { return sku; } public ProductMatch setSku(String value) { this.sku = value; return this; } public String getGtin() { return gtin; } public ProductMatch setGtin(String value) { this.gtin = value; return this; } public String getEaN8() { return eaN8; } public ProductMatch setEaN8(String value) { this.eaN8 = value; return this; } public String getEaN13() { return eaN13; } public ProductMatch setEaN13(String value) { this.eaN13 = value; return this; } public String getIsbn() { return isbn; } public ProductMatch setIsbn(String value) { this.isbn = value; return this; } public String getUpc() { return upc; } public ProductMatch setUpc(String value) { this.upc = value; return this; } public Uri getProductImageUrl() { return productImageUrl; } public ProductMatch setProductImageUrl(Uri value) { this.productImageUrl = value; return this; } public Uri getProductUrl() { return productUrl; } public ProductMatch setProductUrl(Uri value) { this.productUrl = value; return this; } public String getAuditResult() { return auditResult; } public ProductMatch setAuditResult(String value) { this.auditResult = value; return this; } public ArrayList getAuditResultReasons() { return auditResultReasons; } public ProductMatch setAuditResultReasons(ArrayList value) { this.auditResultReasons = value; return this; } } public static interface IProductMatch { public UUID retailerGuid = null; public String retailerName = null; public String brand = null; public String productName = null; public String description = null; public String sku = null; public String gtin = null; public String eaN8 = null; public String eaN13 = null; public String isbn = null; public String upc = null; public Uri productImageUrl = null; public Uri productUrl = null; public String auditResult = null; public ArrayList auditResultReasons = null; } }