Skip to content

Commit 975ba1d

Browse files
feat(api): api update (#336)
1 parent 5aac9b0 commit 975ba1d

2 files changed

Lines changed: 81 additions & 17 deletions

File tree

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 103
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-04f02fa57c3ab8d15ecf0a16a41a83814c21cdc2a830fae4d65f1b7b2196d819.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-979330185e8fda7b2bc2440075fe81c66132fc87ff3c548e93dd05db35ba3172.yml

orb-java-core/src/main/kotlin/com/withorb/api/models/EventBackfillCreateParams.kt

Lines changed: 80 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,18 @@ private constructor(
5959
private val additionalQueryParams: QueryParams,
6060
) : Params {
6161

62-
/** The (exclusive) end of the usage timeframe affected by this backfill. */
62+
/**
63+
* The (exclusive) end of the usage timeframe affected by this backfill. By default, Orb allows
64+
* backfills up to 10 days in duration at a time. Reach out to discuss extending this limit and
65+
* your use case.
66+
*/
6367
fun timeframeEnd(): OffsetDateTime = body.timeframeEnd()
6468

65-
/** The (inclusive) start of the usage timeframe affected by this backfill. */
69+
/**
70+
* The (inclusive) start of the usage timeframe affected by this backfill. By default, Orb
71+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending this
72+
* limit and your use case.
73+
*/
6674
fun timeframeStart(): OffsetDateTime = body.timeframeStart()
6775

6876
/**
@@ -96,10 +104,18 @@ private constructor(
96104
*/
97105
fun replaceExistingEvents(): Optional<Boolean> = body.replaceExistingEvents()
98106

99-
/** The (exclusive) end of the usage timeframe affected by this backfill. */
107+
/**
108+
* The (exclusive) end of the usage timeframe affected by this backfill. By default, Orb allows
109+
* backfills up to 10 days in duration at a time. Reach out to discuss extending this limit and
110+
* your use case.
111+
*/
100112
fun _timeframeEnd(): JsonField<OffsetDateTime> = body._timeframeEnd()
101113

102-
/** The (inclusive) start of the usage timeframe affected by this backfill. */
114+
/**
115+
* The (inclusive) start of the usage timeframe affected by this backfill. By default, Orb
116+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending this
117+
* limit and your use case.
118+
*/
103119
fun _timeframeStart(): JsonField<OffsetDateTime> = body._timeframeStart()
104120

105121
/**
@@ -174,10 +190,18 @@ private constructor(
174190
private val additionalProperties: Map<String, JsonValue> = immutableEmptyMap(),
175191
) {
176192

177-
/** The (exclusive) end of the usage timeframe affected by this backfill. */
193+
/**
194+
* The (exclusive) end of the usage timeframe affected by this backfill. By default, Orb
195+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending this
196+
* limit and your use case.
197+
*/
178198
fun timeframeEnd(): OffsetDateTime = timeframeEnd.getRequired("timeframe_end")
179199

180-
/** The (inclusive) start of the usage timeframe affected by this backfill. */
200+
/**
201+
* The (inclusive) start of the usage timeframe affected by this backfill. By default, Orb
202+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending this
203+
* limit and your use case.
204+
*/
181205
fun timeframeStart(): OffsetDateTime = timeframeStart.getRequired("timeframe_start")
182206

183207
/**
@@ -216,12 +240,20 @@ private constructor(
216240
fun replaceExistingEvents(): Optional<Boolean> =
217241
Optional.ofNullable(replaceExistingEvents.getNullable("replace_existing_events"))
218242

219-
/** The (exclusive) end of the usage timeframe affected by this backfill. */
243+
/**
244+
* The (exclusive) end of the usage timeframe affected by this backfill. By default, Orb
245+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending this
246+
* limit and your use case.
247+
*/
220248
@JsonProperty("timeframe_end")
221249
@ExcludeMissing
222250
fun _timeframeEnd(): JsonField<OffsetDateTime> = timeframeEnd
223251

224-
/** The (inclusive) start of the usage timeframe affected by this backfill. */
252+
/**
253+
* The (inclusive) start of the usage timeframe affected by this backfill. By default, Orb
254+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending this
255+
* limit and your use case.
256+
*/
225257
@JsonProperty("timeframe_start")
226258
@ExcludeMissing
227259
fun _timeframeStart(): JsonField<OffsetDateTime> = timeframeStart
@@ -328,20 +360,36 @@ private constructor(
328360
additionalProperties = body.additionalProperties.toMutableMap()
329361
}
330362

331-
/** The (exclusive) end of the usage timeframe affected by this backfill. */
363+
/**
364+
* The (exclusive) end of the usage timeframe affected by this backfill. By default, Orb
365+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending
366+
* this limit and your use case.
367+
*/
332368
fun timeframeEnd(timeframeEnd: OffsetDateTime) =
333369
timeframeEnd(JsonField.of(timeframeEnd))
334370

335-
/** The (exclusive) end of the usage timeframe affected by this backfill. */
371+
/**
372+
* The (exclusive) end of the usage timeframe affected by this backfill. By default, Orb
373+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending
374+
* this limit and your use case.
375+
*/
336376
fun timeframeEnd(timeframeEnd: JsonField<OffsetDateTime>) = apply {
337377
this.timeframeEnd = timeframeEnd
338378
}
339379

340-
/** The (inclusive) start of the usage timeframe affected by this backfill. */
380+
/**
381+
* The (inclusive) start of the usage timeframe affected by this backfill. By default,
382+
* Orb allows backfills up to 10 days in duration at a time. Reach out to discuss
383+
* extending this limit and your use case.
384+
*/
341385
fun timeframeStart(timeframeStart: OffsetDateTime) =
342386
timeframeStart(JsonField.of(timeframeStart))
343387

344-
/** The (inclusive) start of the usage timeframe affected by this backfill. */
388+
/**
389+
* The (inclusive) start of the usage timeframe affected by this backfill. By default,
390+
* Orb allows backfills up to 10 days in duration at a time. Reach out to discuss
391+
* extending this limit and your use case.
392+
*/
345393
fun timeframeStart(timeframeStart: JsonField<OffsetDateTime>) = apply {
346394
this.timeframeStart = timeframeStart
347395
}
@@ -527,20 +575,36 @@ private constructor(
527575
additionalQueryParams = eventBackfillCreateParams.additionalQueryParams.toBuilder()
528576
}
529577

530-
/** The (exclusive) end of the usage timeframe affected by this backfill. */
578+
/**
579+
* The (exclusive) end of the usage timeframe affected by this backfill. By default, Orb
580+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending this
581+
* limit and your use case.
582+
*/
531583
fun timeframeEnd(timeframeEnd: OffsetDateTime) = apply { body.timeframeEnd(timeframeEnd) }
532584

533-
/** The (exclusive) end of the usage timeframe affected by this backfill. */
585+
/**
586+
* The (exclusive) end of the usage timeframe affected by this backfill. By default, Orb
587+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending this
588+
* limit and your use case.
589+
*/
534590
fun timeframeEnd(timeframeEnd: JsonField<OffsetDateTime>) = apply {
535591
body.timeframeEnd(timeframeEnd)
536592
}
537593

538-
/** The (inclusive) start of the usage timeframe affected by this backfill. */
594+
/**
595+
* The (inclusive) start of the usage timeframe affected by this backfill. By default, Orb
596+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending this
597+
* limit and your use case.
598+
*/
539599
fun timeframeStart(timeframeStart: OffsetDateTime) = apply {
540600
body.timeframeStart(timeframeStart)
541601
}
542602

543-
/** The (inclusive) start of the usage timeframe affected by this backfill. */
603+
/**
604+
* The (inclusive) start of the usage timeframe affected by this backfill. By default, Orb
605+
* allows backfills up to 10 days in duration at a time. Reach out to discuss extending this
606+
* limit and your use case.
607+
*/
544608
fun timeframeStart(timeframeStart: JsonField<OffsetDateTime>) = apply {
545609
body.timeframeStart(timeframeStart)
546610
}

0 commit comments

Comments
 (0)