From 153736172f901a9869bde74c8b094fe0196d0274 Mon Sep 17 00:00:00 2001 From: Justin Niessner Date: Fri, 15 Jan 2021 12:36:37 -0500 Subject: [PATCH] Regenerate from latest spec --- docs/Placement.md | 2 + .../adzerk/sdk/generated/ApiException.java | 2 +- .../adzerk/sdk/generated/Configuration.java | 2 +- .../java/com/adzerk/sdk/generated/Pair.java | 2 +- .../com/adzerk/sdk/generated/StringUtil.java | 2 +- .../adzerk/sdk/generated/auth/ApiKeyAuth.java | 2 +- .../sdk/generated/auth/HttpBearerAuth.java | 2 +- .../sdk/generated/model/ConsentRequest.java | 2 +- .../adzerk/sdk/generated/model/Content.java | 2 +- .../adzerk/sdk/generated/model/Decision.java | 2 +- .../sdk/generated/model/DecisionRequest.java | 2 +- .../sdk/generated/model/DecisionResponse.java | 2 +- .../com/adzerk/sdk/generated/model/Event.java | 2 +- .../sdk/generated/model/MatchedPoint.java | 2 +- .../adzerk/sdk/generated/model/Placement.java | 72 ++++++++++++++++++- .../sdk/generated/model/PricingData.java | 2 +- .../com/adzerk/sdk/generated/model/User.java | 2 +- 17 files changed, 86 insertions(+), 18 deletions(-) diff --git a/docs/Placement.md b/docs/Placement.md index c313b19..834aec5 100644 --- a/docs/Placement.md +++ b/docs/Placement.md @@ -22,8 +22,10 @@ Name | Type | Description | Notes **count** | **Integer** | (BETA) The number of ads to return per placement. Integer between 1 and 20 | [optional] **proportionality** | **Boolean** | (BETA) If true, fills ads in a multi-winner placement in proportion to the flight's goals | [optional] **ecpmPartition** | **String** | (BETA) The name of the eCPM Partition that should be used to source eCPM data for auctions | [optional] +**ecpmPartitions** | **List<String>** | (BETA) The names of the eCPM Partitions that should be used to source eCPM data for auctions | [optional] **eventMultiplier** | **Integer** | | [optional] **skipSelection** | **Boolean** | | [optional] +**adQuery** | [**Object**](.md) | | [optional] ## Implemented Interfaces diff --git a/src/main/java/com/adzerk/sdk/generated/ApiException.java b/src/main/java/com/adzerk/sdk/generated/ApiException.java index 36b0e01..8ef9352 100644 --- a/src/main/java/com/adzerk/sdk/generated/ApiException.java +++ b/src/main/java/com/adzerk/sdk/generated/ApiException.java @@ -16,7 +16,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/src/main/java/com/adzerk/sdk/generated/Configuration.java b/src/main/java/com/adzerk/sdk/generated/Configuration.java index 775b2be..81341e9 100644 --- a/src/main/java/com/adzerk/sdk/generated/Configuration.java +++ b/src/main/java/com/adzerk/sdk/generated/Configuration.java @@ -13,7 +13,7 @@ package com.adzerk.sdk.generated; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/com/adzerk/sdk/generated/Pair.java b/src/main/java/com/adzerk/sdk/generated/Pair.java index 3018c3b..3b9da30 100644 --- a/src/main/java/com/adzerk/sdk/generated/Pair.java +++ b/src/main/java/com/adzerk/sdk/generated/Pair.java @@ -13,7 +13,7 @@ package com.adzerk.sdk.generated; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/com/adzerk/sdk/generated/StringUtil.java b/src/main/java/com/adzerk/sdk/generated/StringUtil.java index d0d9386..7713bc2 100644 --- a/src/main/java/com/adzerk/sdk/generated/StringUtil.java +++ b/src/main/java/com/adzerk/sdk/generated/StringUtil.java @@ -13,7 +13,7 @@ package com.adzerk.sdk.generated; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/com/adzerk/sdk/generated/auth/ApiKeyAuth.java b/src/main/java/com/adzerk/sdk/generated/auth/ApiKeyAuth.java index f427e5a..46fce3f 100644 --- a/src/main/java/com/adzerk/sdk/generated/auth/ApiKeyAuth.java +++ b/src/main/java/com/adzerk/sdk/generated/auth/ApiKeyAuth.java @@ -18,7 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/com/adzerk/sdk/generated/auth/HttpBearerAuth.java b/src/main/java/com/adzerk/sdk/generated/auth/HttpBearerAuth.java index c5c134d..30ae5a8 100644 --- a/src/main/java/com/adzerk/sdk/generated/auth/HttpBearerAuth.java +++ b/src/main/java/com/adzerk/sdk/generated/auth/HttpBearerAuth.java @@ -18,7 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/src/main/java/com/adzerk/sdk/generated/model/ConsentRequest.java b/src/main/java/com/adzerk/sdk/generated/model/ConsentRequest.java index 3d59532..cde3872 100644 --- a/src/main/java/com/adzerk/sdk/generated/model/ConsentRequest.java +++ b/src/main/java/com/adzerk/sdk/generated/model/ConsentRequest.java @@ -28,7 +28,7 @@ /** * ConsentRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class ConsentRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/adzerk/sdk/generated/model/Content.java b/src/main/java/com/adzerk/sdk/generated/model/Content.java index 7811767..fa0c1aa 100644 --- a/src/main/java/com/adzerk/sdk/generated/model/Content.java +++ b/src/main/java/com/adzerk/sdk/generated/model/Content.java @@ -28,7 +28,7 @@ /** * Content */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class Content implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/adzerk/sdk/generated/model/Decision.java b/src/main/java/com/adzerk/sdk/generated/model/Decision.java index d736c7d..abd0861 100644 --- a/src/main/java/com/adzerk/sdk/generated/model/Decision.java +++ b/src/main/java/com/adzerk/sdk/generated/model/Decision.java @@ -35,7 +35,7 @@ /** * Decision */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class Decision implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/adzerk/sdk/generated/model/DecisionRequest.java b/src/main/java/com/adzerk/sdk/generated/model/DecisionRequest.java index 3940164..7e977a6 100644 --- a/src/main/java/com/adzerk/sdk/generated/model/DecisionRequest.java +++ b/src/main/java/com/adzerk/sdk/generated/model/DecisionRequest.java @@ -32,7 +32,7 @@ /** * DecisionRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class DecisionRequest implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/adzerk/sdk/generated/model/DecisionResponse.java b/src/main/java/com/adzerk/sdk/generated/model/DecisionResponse.java index 76d760a..72334eb 100644 --- a/src/main/java/com/adzerk/sdk/generated/model/DecisionResponse.java +++ b/src/main/java/com/adzerk/sdk/generated/model/DecisionResponse.java @@ -29,7 +29,7 @@ /** * DecisionResponse */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class DecisionResponse implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/adzerk/sdk/generated/model/Event.java b/src/main/java/com/adzerk/sdk/generated/model/Event.java index 5ab5506..2a950e3 100644 --- a/src/main/java/com/adzerk/sdk/generated/model/Event.java +++ b/src/main/java/com/adzerk/sdk/generated/model/Event.java @@ -29,7 +29,7 @@ /** * Event */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class Event implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/adzerk/sdk/generated/model/MatchedPoint.java b/src/main/java/com/adzerk/sdk/generated/model/MatchedPoint.java index 5a86ee2..49a6d1d 100644 --- a/src/main/java/com/adzerk/sdk/generated/model/MatchedPoint.java +++ b/src/main/java/com/adzerk/sdk/generated/model/MatchedPoint.java @@ -28,7 +28,7 @@ /** * MatchedPoint */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class MatchedPoint implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/adzerk/sdk/generated/model/Placement.java b/src/main/java/com/adzerk/sdk/generated/model/Placement.java index 3e32941..b414ebc 100644 --- a/src/main/java/com/adzerk/sdk/generated/model/Placement.java +++ b/src/main/java/com/adzerk/sdk/generated/model/Placement.java @@ -32,7 +32,7 @@ /** * Placement */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class Placement implements Serializable { private static final long serialVersionUID = 1L; @@ -100,6 +100,10 @@ public class Placement implements Serializable { @SerializedName(SERIALIZED_NAME_ECPM_PARTITION) private String ecpmPartition; + public static final String SERIALIZED_NAME_ECPM_PARTITIONS = "ecpmPartitions"; + @SerializedName(SERIALIZED_NAME_ECPM_PARTITIONS) + private List ecpmPartitions = null; + public static final String SERIALIZED_NAME_EVENT_MULTIPLIER = "eventMultiplier"; @SerializedName(SERIALIZED_NAME_EVENT_MULTIPLIER) private Integer eventMultiplier; @@ -108,6 +112,10 @@ public class Placement implements Serializable { @SerializedName(SERIALIZED_NAME_SKIP_SELECTION) private Boolean skipSelection; + public static final String SERIALIZED_NAME_AD_QUERY = "adQuery"; + @SerializedName(SERIALIZED_NAME_AD_QUERY) + private Object adQuery; + public Placement divName(String divName) { @@ -509,6 +517,37 @@ public void setEcpmPartition(String ecpmPartition) { } + public Placement ecpmPartitions(List ecpmPartitions) { + + this.ecpmPartitions = ecpmPartitions; + return this; + } + + public Placement addEcpmPartitionsItem(String ecpmPartitionsItem) { + if (this.ecpmPartitions == null) { + this.ecpmPartitions = new ArrayList(); + } + this.ecpmPartitions.add(ecpmPartitionsItem); + return this; + } + + /** + * (BETA) The names of the eCPM Partitions that should be used to source eCPM data for auctions + * @return ecpmPartitions + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "(BETA) The names of the eCPM Partitions that should be used to source eCPM data for auctions") + + public List getEcpmPartitions() { + return ecpmPartitions; + } + + + public void setEcpmPartitions(List ecpmPartitions) { + this.ecpmPartitions = ecpmPartitions; + } + + public Placement eventMultiplier(Integer eventMultiplier) { this.eventMultiplier = eventMultiplier; @@ -557,6 +596,29 @@ public void setSkipSelection(Boolean skipSelection) { } + public Placement adQuery(Object adQuery) { + + this.adQuery = adQuery; + return this; + } + + /** + * Get adQuery + * @return adQuery + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "") + + public Object getAdQuery() { + return adQuery; + } + + + public void setAdQuery(Object adQuery) { + this.adQuery = adQuery; + } + + @Override public boolean equals(java.lang.Object o) { if (this == o) { @@ -582,13 +644,15 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.count, placement.count) && Objects.equals(this.proportionality, placement.proportionality) && Objects.equals(this.ecpmPartition, placement.ecpmPartition) && + Objects.equals(this.ecpmPartitions, placement.ecpmPartitions) && Objects.equals(this.eventMultiplier, placement.eventMultiplier) && - Objects.equals(this.skipSelection, placement.skipSelection); + Objects.equals(this.skipSelection, placement.skipSelection) && + Objects.equals(this.adQuery, placement.adQuery); } @Override public int hashCode() { - return Objects.hash(divName, networkId, siteId, adTypes, zoneIds, campaignId, flightId, adId, clickUrl, properties, eventIds, overrides, contentKeys, count, proportionality, ecpmPartition, eventMultiplier, skipSelection); + return Objects.hash(divName, networkId, siteId, adTypes, zoneIds, campaignId, flightId, adId, clickUrl, properties, eventIds, overrides, contentKeys, count, proportionality, ecpmPartition, ecpmPartitions, eventMultiplier, skipSelection, adQuery); } @@ -612,8 +676,10 @@ public String toString() { sb.append(" count: ").append(toIndentedString(count)).append("\n"); sb.append(" proportionality: ").append(toIndentedString(proportionality)).append("\n"); sb.append(" ecpmPartition: ").append(toIndentedString(ecpmPartition)).append("\n"); + sb.append(" ecpmPartitions: ").append(toIndentedString(ecpmPartitions)).append("\n"); sb.append(" eventMultiplier: ").append(toIndentedString(eventMultiplier)).append("\n"); sb.append(" skipSelection: ").append(toIndentedString(skipSelection)).append("\n"); + sb.append(" adQuery: ").append(toIndentedString(adQuery)).append("\n"); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/com/adzerk/sdk/generated/model/PricingData.java b/src/main/java/com/adzerk/sdk/generated/model/PricingData.java index f8299c3..36ac14d 100644 --- a/src/main/java/com/adzerk/sdk/generated/model/PricingData.java +++ b/src/main/java/com/adzerk/sdk/generated/model/PricingData.java @@ -28,7 +28,7 @@ /** * PricingData */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class PricingData implements Serializable { private static final long serialVersionUID = 1L; diff --git a/src/main/java/com/adzerk/sdk/generated/model/User.java b/src/main/java/com/adzerk/sdk/generated/model/User.java index bdc6e8c..22718da 100644 --- a/src/main/java/com/adzerk/sdk/generated/model/User.java +++ b/src/main/java/com/adzerk/sdk/generated/model/User.java @@ -29,7 +29,7 @@ * Object containing the UserKey used for [UserDB targeting](https://dev.adzerk.com/docs/userdb-1) */ @ApiModel(description = "Object containing the UserKey used for [UserDB targeting](https://dev.adzerk.com/docs/userdb-1)") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2020-10-25T21:13:51.475-04:00[America/New_York]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2021-01-15T12:36:13.873-05:00[America/New_York]") public class User implements Serializable { private static final long serialVersionUID = 1L;