Skip to content

Commit f84a4a6

Browse files
algolia-botstevenMevansshortcuts
committed
feat(specs): abtests stopped at (generated)
algolia/api-clients-automation#5275 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Steven Evans <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 1df11dd commit f84a4a6

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

packages/client_abtesting_v3/lib/src/model/ab_test.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ final class ABTest {
1616
required this.updatedAt,
1717
required this.createdAt,
1818
required this.endAt,
19+
this.stoppedAt,
1920
required this.name,
2021
required this.status,
2122
required this.variants,
@@ -39,6 +40,10 @@ final class ABTest {
3940
@JsonKey(name: r'endAt')
4041
final String endAt;
4142

43+
/// Date and time when the A/B test was stopped, in RFC 3339 format.
44+
@JsonKey(name: r'stoppedAt')
45+
final String? stoppedAt;
46+
4247
/// A/B test name.
4348
@JsonKey(name: r'name')
4449
final String name;
@@ -65,6 +70,7 @@ final class ABTest {
6570
other.updatedAt == updatedAt &&
6671
other.createdAt == createdAt &&
6772
other.endAt == endAt &&
73+
other.stoppedAt == stoppedAt &&
6874
other.name == name &&
6975
other.status == status &&
7076
other.variants == variants &&
@@ -77,6 +83,7 @@ final class ABTest {
7783
updatedAt.hashCode +
7884
createdAt.hashCode +
7985
endAt.hashCode +
86+
(stoppedAt == null ? 0 : stoppedAt.hashCode) +
8087
name.hashCode +
8188
status.hashCode +
8289
variants.hashCode +

packages/client_abtesting_v3/lib/src/model/ab_test.g.dart

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)