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@c500a9cf.
  • Loading branch information
APIs and Common Services team committed Sep 18, 2023
1 parent c818d74 commit 321a654
Show file tree
Hide file tree
Showing 4 changed files with 372 additions and 119 deletions.
2 changes: 2 additions & 0 deletions src/main/java/com/segment/publicapi/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,8 @@ private static Class getClassByDiscriminator(
new com.segment.publicapi.models.ReverseEtlModel1.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.segment.publicapi.models.RoleV1.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.segment.publicapi.models.RuleInputV1.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new com.segment.publicapi.models.RuleV1.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,17 @@ public class ReplaceRulesInTrackingPlanV1Input {
public static final String SERIALIZED_NAME_RULES = "rules";

@SerializedName(SERIALIZED_NAME_RULES)
private List<RuleV1> rules = new ArrayList<>();
private List<RuleInputV1> rules = new ArrayList<>();

public ReplaceRulesInTrackingPlanV1Input() {}

public ReplaceRulesInTrackingPlanV1Input rules(List<RuleV1> rules) {
public ReplaceRulesInTrackingPlanV1Input rules(List<RuleInputV1> rules) {

this.rules = rules;
return this;
}

public ReplaceRulesInTrackingPlanV1Input addRulesItem(RuleV1 rulesItem) {
public ReplaceRulesInTrackingPlanV1Input addRulesItem(RuleInputV1 rulesItem) {
this.rules.add(rulesItem);
return this;
}
Expand All @@ -61,11 +61,11 @@ public ReplaceRulesInTrackingPlanV1Input addRulesItem(RuleV1 rulesItem) {
*/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "Rules to replace.")
public List<RuleV1> getRules() {
public List<RuleInputV1> getRules() {
return rules;
}

public void setRules(List<RuleV1> rules) {
public void setRules(List<RuleInputV1> rules) {
this.rules = rules;
}

Expand Down
Loading

0 comments on commit 321a654

Please sign in to comment.