Skip to content

Commit 210c7e2

Browse files
Release 1.8.21
1 parent 7ad99d2 commit 210c7e2

11 files changed

+351
-12
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ java {
4646

4747
group = 'com.flagright.api'
4848

49-
version = '1.8.20'
49+
version = '1.8.21'
5050

5151
jar {
5252
dependsOn(":generatePomFileForMavenPublication")
@@ -77,7 +77,7 @@ publishing {
7777
maven(MavenPublication) {
7878
groupId = 'com.flagright.api'
7979
artifactId = 'flagright-java'
80-
version = '1.8.20'
80+
version = '1.8.21'
8181
from components.java
8282
pom {
8383
name = 'flagright'

src/main/java/com/flagright/api/core/ClientOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ private ClientOptions(
3232
this.headers.putAll(headers);
3333
this.headers.putAll(new HashMap<String, String>() {
3434
{
35-
put("User-Agent", "com.flagright.api:flagright-java/1.8.20");
35+
put("User-Agent", "com.flagright.api:flagright-java/1.8.21");
3636
put("X-Fern-Language", "JAVA");
3737
put("X-Fern-SDK-Name", "com.flagright.fern:api-sdk");
38-
put("X-Fern-SDK-Version", "1.8.20");
38+
put("X-Fern-SDK-Version", "1.8.21");
3939
}
4040
});
4141
this.headerSuppliers = headerSuppliers;

src/main/java/com/flagright/api/types/BatchBusinessUserWithRulesResult.java

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ public final class BatchBusinessUserWithRulesResult {
6666

6767
private final Optional<Double> updateCount;
6868

69+
private final Optional<List<ProductsEnabled>> productsEnabled;
70+
6971
private final Optional<List<ExecutedRulesResult>> executedRules;
7072

7173
private final Optional<UserRiskScoreDetails> riskScoreDetails;
@@ -95,6 +97,7 @@ private BatchBusinessUserWithRulesResult(
9597
Optional<DeviceData> metaData,
9698
Optional<String> jurisdiction,
9799
Optional<Double> updateCount,
100+
Optional<List<ProductsEnabled>> productsEnabled,
98101
Optional<List<ExecutedRulesResult>> executedRules,
99102
Optional<UserRiskScoreDetails> riskScoreDetails,
100103
Map<String, Object> additionalProperties) {
@@ -120,6 +123,7 @@ private BatchBusinessUserWithRulesResult(
120123
this.metaData = metaData;
121124
this.jurisdiction = jurisdiction;
122125
this.updateCount = updateCount;
126+
this.productsEnabled = productsEnabled;
123127
this.executedRules = executedRules;
124128
this.riskScoreDetails = riskScoreDetails;
125129
this.additionalProperties = additionalProperties;
@@ -262,6 +266,11 @@ public Optional<Double> getUpdateCount() {
262266
return updateCount;
263267
}
264268

269+
@JsonProperty("productsEnabled")
270+
public Optional<List<ProductsEnabled>> getProductsEnabled() {
271+
return productsEnabled;
272+
}
273+
265274
@JsonProperty("executedRules")
266275
public Optional<List<ExecutedRulesResult>> getExecutedRules() {
267276
return executedRules;
@@ -306,6 +315,7 @@ private boolean equalTo(BatchBusinessUserWithRulesResult other) {
306315
&& metaData.equals(other.metaData)
307316
&& jurisdiction.equals(other.jurisdiction)
308317
&& updateCount.equals(other.updateCount)
318+
&& productsEnabled.equals(other.productsEnabled)
309319
&& executedRules.equals(other.executedRules)
310320
&& riskScoreDetails.equals(other.riskScoreDetails);
311321
}
@@ -335,6 +345,7 @@ public int hashCode() {
335345
this.metaData,
336346
this.jurisdiction,
337347
this.updateCount,
348+
this.productsEnabled,
338349
this.executedRules,
339350
this.riskScoreDetails);
340351
}
@@ -443,6 +454,10 @@ _FinalStage savedPaymentDetails(
443454

444455
_FinalStage updateCount(Double updateCount);
445456

457+
_FinalStage productsEnabled(Optional<List<ProductsEnabled>> productsEnabled);
458+
459+
_FinalStage productsEnabled(List<ProductsEnabled> productsEnabled);
460+
446461
_FinalStage executedRules(Optional<List<ExecutedRulesResult>> executedRules);
447462

448463
_FinalStage executedRules(List<ExecutedRulesResult> executedRules);
@@ -464,6 +479,8 @@ public static final class Builder implements UserIdStage, CreatedTimestampStage,
464479

465480
private Optional<List<ExecutedRulesResult>> executedRules = Optional.empty();
466481

482+
private Optional<List<ProductsEnabled>> productsEnabled = Optional.empty();
483+
467484
private Optional<Double> updateCount = Optional.empty();
468485

469486
private Optional<String> jurisdiction = Optional.empty();
@@ -532,6 +549,7 @@ public Builder from(BatchBusinessUserWithRulesResult other) {
532549
metaData(other.getMetaData());
533550
jurisdiction(other.getJurisdiction());
534551
updateCount(other.getUpdateCount());
552+
productsEnabled(other.getProductsEnabled());
535553
executedRules(other.getExecutedRules());
536554
riskScoreDetails(other.getRiskScoreDetails());
537555
return this;
@@ -592,6 +610,19 @@ public _FinalStage executedRules(Optional<List<ExecutedRulesResult>> executedRul
592610
return this;
593611
}
594612

613+
@java.lang.Override
614+
public _FinalStage productsEnabled(List<ProductsEnabled> productsEnabled) {
615+
this.productsEnabled = Optional.ofNullable(productsEnabled);
616+
return this;
617+
}
618+
619+
@java.lang.Override
620+
@JsonSetter(value = "productsEnabled", nulls = Nulls.SKIP)
621+
public _FinalStage productsEnabled(Optional<List<ProductsEnabled>> productsEnabled) {
622+
this.productsEnabled = productsEnabled;
623+
return this;
624+
}
625+
595626
@java.lang.Override
596627
public _FinalStage updateCount(Double updateCount) {
597628
this.updateCount = Optional.ofNullable(updateCount);
@@ -894,6 +925,7 @@ public BatchBusinessUserWithRulesResult build() {
894925
metaData,
895926
jurisdiction,
896927
updateCount,
928+
productsEnabled,
897929
executedRules,
898930
riskScoreDetails,
899931
additionalProperties);

src/main/java/com/flagright/api/types/BatchConsumerUserWithRulesResult.java

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ public final class BatchConsumerUserWithRulesResult {
8484

8585
private final Optional<Double> updateCount;
8686

87+
private final Optional<List<ProductsEnabled>> productsEnabled;
88+
8789
private final Optional<List<ExecutedRulesResult>> executedRules;
8890

8991
private final Optional<UserRiskScoreDetails> riskScoreDetails;
@@ -122,6 +124,7 @@ private BatchConsumerUserWithRulesResult(
122124
Optional<DeviceData> metaData,
123125
Optional<String> jurisdiction,
124126
Optional<Double> updateCount,
127+
Optional<List<ProductsEnabled>> productsEnabled,
125128
Optional<List<ExecutedRulesResult>> executedRules,
126129
Optional<UserRiskScoreDetails> riskScoreDetails,
127130
Map<String, Object> additionalProperties) {
@@ -156,6 +159,7 @@ private BatchConsumerUserWithRulesResult(
156159
this.metaData = metaData;
157160
this.jurisdiction = jurisdiction;
158161
this.updateCount = updateCount;
162+
this.productsEnabled = productsEnabled;
159163
this.executedRules = executedRules;
160164
this.riskScoreDetails = riskScoreDetails;
161165
this.additionalProperties = additionalProperties;
@@ -340,6 +344,11 @@ public Optional<Double> getUpdateCount() {
340344
return updateCount;
341345
}
342346

347+
@JsonProperty("productsEnabled")
348+
public Optional<List<ProductsEnabled>> getProductsEnabled() {
349+
return productsEnabled;
350+
}
351+
343352
@JsonProperty("executedRules")
344353
public Optional<List<ExecutedRulesResult>> getExecutedRules() {
345354
return executedRules;
@@ -393,6 +402,7 @@ private boolean equalTo(BatchConsumerUserWithRulesResult other) {
393402
&& metaData.equals(other.metaData)
394403
&& jurisdiction.equals(other.jurisdiction)
395404
&& updateCount.equals(other.updateCount)
405+
&& productsEnabled.equals(other.productsEnabled)
396406
&& executedRules.equals(other.executedRules)
397407
&& riskScoreDetails.equals(other.riskScoreDetails);
398408
}
@@ -431,6 +441,7 @@ public int hashCode() {
431441
this.metaData,
432442
this.jurisdiction,
433443
this.updateCount,
444+
this.productsEnabled,
434445
this.executedRules,
435446
this.riskScoreDetails);
436447
}
@@ -575,6 +586,10 @@ _FinalStage savedPaymentDetails(
575586

576587
_FinalStage updateCount(Double updateCount);
577588

589+
_FinalStage productsEnabled(Optional<List<ProductsEnabled>> productsEnabled);
590+
591+
_FinalStage productsEnabled(List<ProductsEnabled> productsEnabled);
592+
578593
_FinalStage executedRules(Optional<List<ExecutedRulesResult>> executedRules);
579594

580595
_FinalStage executedRules(List<ExecutedRulesResult> executedRules);
@@ -594,6 +609,8 @@ public static final class Builder implements UserIdStage, CreatedTimestampStage,
594609

595610
private Optional<List<ExecutedRulesResult>> executedRules = Optional.empty();
596611

612+
private Optional<List<ProductsEnabled>> productsEnabled = Optional.empty();
613+
597614
private Optional<Double> updateCount = Optional.empty();
598615

599616
private Optional<String> jurisdiction = Optional.empty();
@@ -691,6 +708,7 @@ public Builder from(BatchConsumerUserWithRulesResult other) {
691708
metaData(other.getMetaData());
692709
jurisdiction(other.getJurisdiction());
693710
updateCount(other.getUpdateCount());
711+
productsEnabled(other.getProductsEnabled());
694712
executedRules(other.getExecutedRules());
695713
riskScoreDetails(other.getRiskScoreDetails());
696714
return this;
@@ -744,6 +762,19 @@ public _FinalStage executedRules(Optional<List<ExecutedRulesResult>> executedRul
744762
return this;
745763
}
746764

765+
@java.lang.Override
766+
public _FinalStage productsEnabled(List<ProductsEnabled> productsEnabled) {
767+
this.productsEnabled = Optional.ofNullable(productsEnabled);
768+
return this;
769+
}
770+
771+
@java.lang.Override
772+
@JsonSetter(value = "productsEnabled", nulls = Nulls.SKIP)
773+
public _FinalStage productsEnabled(Optional<List<ProductsEnabled>> productsEnabled) {
774+
this.productsEnabled = productsEnabled;
775+
return this;
776+
}
777+
747778
@java.lang.Override
748779
public _FinalStage updateCount(Double updateCount) {
749780
this.updateCount = Optional.ofNullable(updateCount);
@@ -1181,6 +1212,7 @@ public BatchConsumerUserWithRulesResult build() {
11811212
metaData,
11821213
jurisdiction,
11831214
updateCount,
1215+
productsEnabled,
11841216
executedRules,
11851217
riskScoreDetails,
11861218
additionalProperties);

src/main/java/com/flagright/api/types/Business.java

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ public final class Business {
6666

6767
private final Optional<Double> updateCount;
6868

69+
private final Optional<List<ProductsEnabled>> productsEnabled;
70+
6971
private final Map<String, Object> additionalProperties;
7072

7173
private Business(
@@ -91,6 +93,7 @@ private Business(
9193
Optional<DeviceData> metaData,
9294
Optional<String> jurisdiction,
9395
Optional<Double> updateCount,
96+
Optional<List<ProductsEnabled>> productsEnabled,
9497
Map<String, Object> additionalProperties) {
9598
this.userId = userId;
9699
this.createdTimestamp = createdTimestamp;
@@ -114,6 +117,7 @@ private Business(
114117
this.metaData = metaData;
115118
this.jurisdiction = jurisdiction;
116119
this.updateCount = updateCount;
120+
this.productsEnabled = productsEnabled;
117121
this.additionalProperties = additionalProperties;
118122
}
119123

@@ -254,6 +258,11 @@ public Optional<Double> getUpdateCount() {
254258
return updateCount;
255259
}
256260

261+
@JsonProperty("productsEnabled")
262+
public Optional<List<ProductsEnabled>> getProductsEnabled() {
263+
return productsEnabled;
264+
}
265+
257266
@java.lang.Override
258267
public boolean equals(Object other) {
259268
if (this == other) return true;
@@ -287,7 +296,8 @@ private boolean equalTo(Business other) {
287296
&& attachments.equals(other.attachments)
288297
&& metaData.equals(other.metaData)
289298
&& jurisdiction.equals(other.jurisdiction)
290-
&& updateCount.equals(other.updateCount);
299+
&& updateCount.equals(other.updateCount)
300+
&& productsEnabled.equals(other.productsEnabled);
291301
}
292302

293303
@java.lang.Override
@@ -314,7 +324,8 @@ public int hashCode() {
314324
this.attachments,
315325
this.metaData,
316326
this.jurisdiction,
317-
this.updateCount);
327+
this.updateCount,
328+
this.productsEnabled);
318329
}
319330

320331
@java.lang.Override
@@ -418,6 +429,10 @@ public interface _FinalStage {
418429
_FinalStage updateCount(Optional<Double> updateCount);
419430

420431
_FinalStage updateCount(Double updateCount);
432+
433+
_FinalStage productsEnabled(Optional<List<ProductsEnabled>> productsEnabled);
434+
435+
_FinalStage productsEnabled(List<ProductsEnabled> productsEnabled);
421436
}
422437

423438
@JsonIgnoreProperties(ignoreUnknown = true)
@@ -428,6 +443,8 @@ public static final class Builder implements UserIdStage, CreatedTimestampStage,
428443

429444
private LegalEntity legalEntity;
430445

446+
private Optional<List<ProductsEnabled>> productsEnabled = Optional.empty();
447+
431448
private Optional<Double> updateCount = Optional.empty();
432449

433450
private Optional<String> jurisdiction = Optional.empty();
@@ -495,6 +512,7 @@ public Builder from(Business other) {
495512
metaData(other.getMetaData());
496513
jurisdiction(other.getJurisdiction());
497514
updateCount(other.getUpdateCount());
515+
productsEnabled(other.getProductsEnabled());
498516
return this;
499517
}
500518

@@ -527,6 +545,19 @@ public _FinalStage legalEntity(@NotNull LegalEntity legalEntity) {
527545
return this;
528546
}
529547

548+
@java.lang.Override
549+
public _FinalStage productsEnabled(List<ProductsEnabled> productsEnabled) {
550+
this.productsEnabled = Optional.ofNullable(productsEnabled);
551+
return this;
552+
}
553+
554+
@java.lang.Override
555+
@JsonSetter(value = "productsEnabled", nulls = Nulls.SKIP)
556+
public _FinalStage productsEnabled(Optional<List<ProductsEnabled>> productsEnabled) {
557+
this.productsEnabled = productsEnabled;
558+
return this;
559+
}
560+
530561
@java.lang.Override
531562
public _FinalStage updateCount(Double updateCount) {
532563
this.updateCount = Optional.ofNullable(updateCount);
@@ -827,6 +858,7 @@ public Business build() {
827858
metaData,
828859
jurisdiction,
829860
updateCount,
861+
productsEnabled,
830862
additionalProperties);
831863
}
832864
}

0 commit comments

Comments
 (0)