Skip to content

Commit af44fdf

Browse files
authored
Add end_time field (#186)
2 parents 54b9a7c + 9ab2818 commit af44fdf

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ In this release, we have made some changes to the API to improve the user experi
2222
* Add parameters for pagination and sorting.
2323
* Documentation of valid values for `count` and `interval` fields was added.
2424
* Extended filter parameters for recurrence and end time.
25+
* Add new field end\_time to the DispatchDetail.
2526

2627
## Bug Fixes
2728

proto/frequenz/api/dispatch/v1/dispatch.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,12 @@ message DispatchDetail {
182182

183183
// UTC Timestamp of the last update to the order.
184184
google.protobuf.Timestamp modification_time = 4;
185+
186+
// UTC Timestamp when the dispatch will stop working.
187+
// Will be calculated internally based on the given: start_time,
188+
// duration and RecurenceRule
189+
// None if dispatch duration time is infinite and this value can't be calculated.
190+
google.protobuf.Timestamp end_time = 5;
185191
}
186192

187193
// Filter parameter for specifying multiple time intervals

0 commit comments

Comments
 (0)