Skip to content

Commit

Permalink
Automated SDK update
Browse files Browse the repository at this point in the history
This updates the SDK from internal repo commit segmentio/public-api@d118fc71.
  • Loading branch information
APIs and Common Services team committed May 20, 2024
1 parent ef4f7ee commit c1410af
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions src/main/java/com/segment/publicapi/models/AudienceSummary.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class AudienceSummary {
public static final String SERIALIZED_NAME_DEFINITION = "definition";

@SerializedName(SERIALIZED_NAME_DEFINITION)
private Definition definition;
private Definition1 definition;

public static final String SERIALIZED_NAME_STATUS = "status";

Expand Down Expand Up @@ -211,7 +211,7 @@ public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}

public AudienceSummary definition(Definition definition) {
public AudienceSummary definition(Definition1 definition) {

this.definition = definition;
return this;
Expand All @@ -223,11 +223,11 @@ public AudienceSummary definition(Definition definition) {
* @return definition
*/
@javax.annotation.Nullable
public Definition getDefinition() {
public Definition1 getDefinition() {
return definition;
}

public void setDefinition(Definition definition) {
public void setDefinition(Definition1 definition) {
this.definition = definition;
}

Expand Down Expand Up @@ -513,7 +513,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
jsonObj.get("key").toString()));
}
// validate the required field `definition`
Definition.validateJsonElement(jsonObj.get("definition"));
Definition1.validateJsonElement(jsonObj.get("definition"));
if ((jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull())
&& !jsonObj.get("status").isJsonPrimitive()) {
throw new IllegalArgumentException(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public class ComputedTraitSummary {
public static final String SERIALIZED_NAME_DEFINITION = "definition";

@SerializedName(SERIALIZED_NAME_DEFINITION)
private Definition1 definition;
private Definition definition;

public static final String SERIALIZED_NAME_STATUS = "status";

Expand Down Expand Up @@ -211,7 +211,7 @@ public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}

public ComputedTraitSummary definition(Definition1 definition) {
public ComputedTraitSummary definition(Definition definition) {

this.definition = definition;
return this;
Expand All @@ -223,11 +223,11 @@ public ComputedTraitSummary definition(Definition1 definition) {
* @return definition
*/
@javax.annotation.Nullable
public Definition1 getDefinition() {
public Definition getDefinition() {
return definition;
}

public void setDefinition(Definition1 definition) {
public void setDefinition(Definition definition) {
this.definition = definition;
}

Expand Down Expand Up @@ -513,7 +513,7 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti
jsonObj.get("key").toString()));
}
// validate the required field `definition`
Definition1.validateJsonElement(jsonObj.get("definition"));
Definition.validateJsonElement(jsonObj.get("definition"));
if ((jsonObj.get("status") != null && !jsonObj.get("status").isJsonNull())
&& !jsonObj.get("status").isJsonPrimitive()) {
throw new IllegalArgumentException(
Expand Down
5 changes: 3 additions & 2 deletions src/main/java/com/segment/publicapi/models/Definition.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Definition query(String query) {
}

/**
* The query language string defining the audience segmentation criteria.
* The query language string defining the computed trait aggregation criteria.
*
* @return query
*/
Expand All @@ -68,7 +68,8 @@ public Definition type(String type) {
}

/**
* The underlying data type being segmented for this audience. Possible values: users, accounts.
* The underlying data type being aggregated for this computed trait. Possible values: users,
* accounts.
*
* @return type
*/
Expand Down
5 changes: 2 additions & 3 deletions src/main/java/com/segment/publicapi/models/Definition1.java
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Definition1 query(String query) {
}

/**
* The query language string defining the computed trait aggregation criteria.
* The query language string defining the audience segmentation criteria.
*
* @return query
*/
Expand All @@ -68,8 +68,7 @@ public Definition1 type(String type) {
}

/**
* The underlying data type being aggregated for this computed trait. Possible values: users,
* accounts.
* The underlying data type being segmented for this audience. Possible values: users, accounts.
*
* @return type
*/
Expand Down

0 comments on commit c1410af

Please sign in to comment.