Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4dad974

Browse files
committedMar 13, 2025
feat(api): manual updates (#3997)
1 parent 496bb40 commit 4dad974

File tree

3 files changed

+33
-33
lines changed

3 files changed

+33
-33
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1571
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-32d5eeeba4f07494a47c7eab0bd0a7e6fb9c381cf57af399ffc2fdb3b7380278.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-49794d21f9c5b1d528a53fc9c10d5d9de6eed9bd412a262d1cad78fa453be1b4.yml

‎radar/attacklayer3summary.go

+15-15
Original file line numberDiff line numberDiff line change
@@ -393,26 +393,26 @@ func (r attackLayer3SummaryDurationResponseMetaConfidenceInfoAnnotationJSON) Raw
393393
}
394394

395395
type AttackLayer3SummaryDurationResponseSummary0 struct {
396-
OneHourToThreeHours string `json:"_1_HOUR_TO_3_HOURS,required"`
397-
TenMinsToTwentyMinds string `json:"_10_MINS_TO_20_MINS,required"`
398-
TwentyMinsToFortyMinds string `json:"_20_MINS_TO_40_MINS,required"`
399-
FortyMinsToOneHour string `json:"_40_MINS_TO_1_HOUR,required"`
400-
Over3Hours string `json:"OVER_3_HOURS,required"`
401-
Under10Mins string `json:"UNDER_10_MINS,required"`
402-
JSON attackLayer3SummaryDurationResponseSummary0JSON `json:"-"`
396+
OneHourToThreeHours string `json:"_1_HOUR_TO_3_HOURS,required"`
397+
TenMinsToTwentyMins string `json:"_10_MINS_TO_20_MINS,required"`
398+
TwentyMinsToFortyMins string `json:"_20_MINS_TO_40_MINS,required"`
399+
FortyMinsToOneHour string `json:"_40_MINS_TO_1_HOUR,required"`
400+
Over3Hours string `json:"OVER_3_HOURS,required"`
401+
Under10Mins string `json:"UNDER_10_MINS,required"`
402+
JSON attackLayer3SummaryDurationResponseSummary0JSON `json:"-"`
403403
}
404404

405405
// attackLayer3SummaryDurationResponseSummary0JSON contains the JSON metadata for
406406
// the struct [AttackLayer3SummaryDurationResponseSummary0]
407407
type attackLayer3SummaryDurationResponseSummary0JSON struct {
408-
OneHourToThreeHours apijson.Field
409-
TenMinsToTwentyMinds apijson.Field
410-
TwentyMinsToFortyMinds apijson.Field
411-
FortyMinsToOneHour apijson.Field
412-
Over3Hours apijson.Field
413-
Under10Mins apijson.Field
414-
raw string
415-
ExtraFields map[string]apijson.Field
408+
OneHourToThreeHours apijson.Field
409+
TenMinsToTwentyMins apijson.Field
410+
TwentyMinsToFortyMins apijson.Field
411+
FortyMinsToOneHour apijson.Field
412+
Over3Hours apijson.Field
413+
Under10Mins apijson.Field
414+
raw string
415+
ExtraFields map[string]apijson.Field
416416
}
417417

418418
func (r *AttackLayer3SummaryDurationResponseSummary0) UnmarshalJSON(data []byte) (err error) {

‎radar/attacklayer3timeseriesgroup.go

+17-17
Original file line numberDiff line numberDiff line change
@@ -203,28 +203,28 @@ func (r attackLayer3TimeseriesGroupDurationResponseJSON) RawJSON() string {
203203
}
204204

205205
type AttackLayer3TimeseriesGroupDurationResponseSerie0 struct {
206-
OneHourToThreeHours []string `json:"_1_HOUR_TO_3_HOURS,required"`
207-
TenMinsToTwentyMinds []string `json:"_10_MINS_TO_20_MINS,required"`
208-
TwentyMinsToFortyMinds []string `json:"_20_MINS_TO_40_MINS,required"`
209-
FortyMinsToOneHour []string `json:"_40_MINS_TO_1_HOUR,required"`
210-
Over3Hours []string `json:"OVER_3_HOURS,required"`
211-
Timestamps []string `json:"timestamps,required"`
212-
Under10Mins []string `json:"UNDER_10_MINS,required"`
213-
JSON attackLayer3TimeseriesGroupDurationResponseSerie0JSON `json:"-"`
206+
OneHourToThreeHours []string `json:"_1_HOUR_TO_3_HOURS,required"`
207+
TenMinsToTwentyMins []string `json:"_10_MINS_TO_20_MINS,required"`
208+
TwentyMinsToFortyMins []string `json:"_20_MINS_TO_40_MINS,required"`
209+
FortyMinsToOneHour []string `json:"_40_MINS_TO_1_HOUR,required"`
210+
Over3Hours []string `json:"OVER_3_HOURS,required"`
211+
Timestamps []string `json:"timestamps,required"`
212+
Under10Mins []string `json:"UNDER_10_MINS,required"`
213+
JSON attackLayer3TimeseriesGroupDurationResponseSerie0JSON `json:"-"`
214214
}
215215

216216
// attackLayer3TimeseriesGroupDurationResponseSerie0JSON contains the JSON metadata
217217
// for the struct [AttackLayer3TimeseriesGroupDurationResponseSerie0]
218218
type attackLayer3TimeseriesGroupDurationResponseSerie0JSON struct {
219-
OneHourToThreeHours apijson.Field
220-
TenMinsToTwentyMinds apijson.Field
221-
TwentyMinsToFortyMinds apijson.Field
222-
FortyMinsToOneHour apijson.Field
223-
Over3Hours apijson.Field
224-
Timestamps apijson.Field
225-
Under10Mins apijson.Field
226-
raw string
227-
ExtraFields map[string]apijson.Field
219+
OneHourToThreeHours apijson.Field
220+
TenMinsToTwentyMins apijson.Field
221+
TwentyMinsToFortyMins apijson.Field
222+
FortyMinsToOneHour apijson.Field
223+
Over3Hours apijson.Field
224+
Timestamps apijson.Field
225+
Under10Mins apijson.Field
226+
raw string
227+
ExtraFields map[string]apijson.Field
228228
}
229229

230230
func (r *AttackLayer3TimeseriesGroupDurationResponseSerie0) UnmarshalJSON(data []byte) (err error) {

0 commit comments

Comments
 (0)
Please sign in to comment.