Skip to content

Commit

Permalink
Regenerate client from commit 0836962 of spec repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ci.datadog-api-spec committed Nov 24, 2021
1 parent 938c789 commit b76b071
Show file tree
Hide file tree
Showing 14 changed files with 969 additions and 19 deletions.
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-11-23 10:44:47.556895",
"spec_repo_commit": "a3413fa"
"regenerated": "2021-11-24 11:31:45.828354",
"spec_repo_commit": "0836962"
},
"v2": {
"apigentools_version": "1.5.1.dev2",
"regenerated": "2021-11-23 10:44:47.577788",
"spec_repo_commit": "a3413fa"
"regenerated": "2021-11-24 11:31:45.846822",
"spec_repo_commit": "0836962"
}
}
}
83 changes: 83 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7649,6 +7649,10 @@ components:
properties:
category:
$ref: '#/components/schemas/SLOCorrectionCategory'
created_at:
description: The epoch timestamp of when the correction was created at
format: int64
type: integer
creator:
$ref: '#/components/schemas/Creator'
description:
Expand All @@ -7665,6 +7669,24 @@ components:
description: Ending time of the correction in epoch seconds.
format: int64
type: integer
modified_at:
description: The epoch timestamp of when the correction was modified at
format: int64
type: integer
modifier:
description: Modifier of the object.
nullable: true
properties:
email:
description: Email of the Modifier.
type: string
handle:
description: Handle of the Modifier.
type: string
name:
description: Name of the Modifier.
type: string
type: object
rrule:
description: Recurrence rules as defined in the iCalendar RFC 5545.
example: RRULE:FREQ=DAILY;INTERVAL=10;COUNT=5
Expand Down Expand Up @@ -22085,6 +22107,57 @@ paths:
x-menu-order: 3
x-undo:
type: idempotent
/api/v1/slo/{slo_id}/corrections:
get:
description: Get corrections applied to an SLO
operationId: GetSLOCorrections
parameters:
- description: The ID of the service level objective object.
in: path
name: slo_id
required: true
schema:
type: string
responses:
'200':
content:
application/json:
schema:
$ref: '#/components/schemas/SLOCorrectionListResponse'
description: OK
'400':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Bad Request
'403':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Forbidden
'404':
content:
application/json:
schema:
$ref: '#/components/schemas/APIErrorResponse'
description: Not Found
'429':
$ref: '#/components/responses/TooManyRequestsResponse'
security:
- apiKeyAuth: []
appKeyAuth: []
- AuthZ: []
summary: Get Corrections For an SLO
tags:
- Service Level Objectives
x-menu-order: 6
x-undo:
type: safe
x-unstable: '**Note**: This endpoint is in public beta.

If you have any feedback, contact [Datadog support](https://docs.datadoghq.com/help/).'
/api/v1/slo/{slo_id}/history:
get:
description: "Get a specific SLO\u2019s history, regardless of its SLO type.\n\nThe
Expand Down Expand Up @@ -22126,6 +22199,16 @@ paths:
maximum: 100
minimum: 0
type: number
- description: 'Defaults to `true`. If any SLO corrections are applied and this
parameter is set to `false`,

then the corrections will not be applied and the SLI values will not be
affected.'
in: query
name: apply_correction
required: false
schema:
type: boolean
responses:
'200':
content:
Expand Down
2 changes: 2 additions & 0 deletions api/v1/datadog/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ docs/SLOCorrectionCreateRequestAttributes.md
docs/SLOCorrectionListResponse.md
docs/SLOCorrectionResponse.md
docs/SLOCorrectionResponseAttributes.md
docs/SLOCorrectionResponseAttributesModifier.md
docs/SLOCorrectionType.md
docs/SLOCorrectionUpdateData.md
docs/SLOCorrectionUpdateRequest.md
Expand Down Expand Up @@ -1057,6 +1058,7 @@ model_slo_correction_create_request_attributes.go
model_slo_correction_list_response.go
model_slo_correction_response.go
model_slo_correction_response_attributes.go
model_slo_correction_response_attributes_modifier.go
model_slo_correction_type.go
model_slo_correction_update_data.go
model_slo_correction_update_request.go
Expand Down
2 changes: 2 additions & 0 deletions api/v1/datadog/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ Class | Method | HTTP request | Description
*ServiceLevelObjectivesApi* | [**DeleteSLO**](docs/ServiceLevelObjectivesApi.md#deleteslo) | **Delete** /api/v1/slo/{slo_id} | Delete an SLO
*ServiceLevelObjectivesApi* | [**DeleteSLOTimeframeInBulk**](docs/ServiceLevelObjectivesApi.md#deleteslotimeframeinbulk) | **Post** /api/v1/slo/bulk_delete | Bulk Delete SLO Timeframes
*ServiceLevelObjectivesApi* | [**GetSLO**](docs/ServiceLevelObjectivesApi.md#getslo) | **Get** /api/v1/slo/{slo_id} | Get an SLO's details
*ServiceLevelObjectivesApi* | [**GetSLOCorrections**](docs/ServiceLevelObjectivesApi.md#getslocorrections) | **Get** /api/v1/slo/{slo_id}/corrections | Get Corrections For an SLO
*ServiceLevelObjectivesApi* | [**GetSLOHistory**](docs/ServiceLevelObjectivesApi.md#getslohistory) | **Get** /api/v1/slo/{slo_id}/history | Get an SLO's history
*ServiceLevelObjectivesApi* | [**ListSLOs**](docs/ServiceLevelObjectivesApi.md#listslos) | **Get** /api/v1/slo | Get all SLOs
*ServiceLevelObjectivesApi* | [**UpdateSLO**](docs/ServiceLevelObjectivesApi.md#updateslo) | **Put** /api/v1/slo/{slo_id} | Update an SLO
Expand Down Expand Up @@ -621,6 +622,7 @@ Class | Method | HTTP request | Description
- [SLOCorrectionListResponse](docs/SLOCorrectionListResponse.md)
- [SLOCorrectionResponse](docs/SLOCorrectionResponse.md)
- [SLOCorrectionResponseAttributes](docs/SLOCorrectionResponseAttributes.md)
- [SLOCorrectionResponseAttributesModifier](docs/SLOCorrectionResponseAttributesModifier.md)
- [SLOCorrectionType](docs/SLOCorrectionType.md)
- [SLOCorrectionUpdateData](docs/SLOCorrectionUpdateData.md)
- [SLOCorrectionUpdateRequest](docs/SLOCorrectionUpdateRequest.md)
Expand Down
198 changes: 193 additions & 5 deletions api/v1/datadog/api_service_level_objectives.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b76b071

Please sign in to comment.