Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26432,15 +26432,15 @@ components:
description: A short summary of the issue or context.
type: string
tags:
description: Tags to help categorize or filter the page.
description: Tags to help categorize or filter the Page.
items:
description: A single tag for categorizing the page.
description: A single tag for categorizing the Page.
type: string
type: array
target:
$ref: "#/components/schemas/CreatePageRequestDataAttributesTarget"
title:
description: The title of the page.
description: The title of the Page.
example: "Service: Test is down"
type: string
urgency:
Expand Down Expand Up @@ -26479,10 +26479,10 @@ components:
$ref: "#/components/schemas/CreatePageResponseData"
type: object
CreatePageResponseData:
description: The information returned after successfully creating a page.
description: The information returned after successfully creating a Page.
properties:
id:
description: The unique ID of the created page.
description: The unique ID of the created Page.
type: string
type:
$ref: "#/components/schemas/CreatePageResponseDataType"
Expand Down Expand Up @@ -106350,7 +106350,7 @@ components:
description: Details about where to reroute the On-Call Page.
properties:
comment:
description: An optional comment explaining why the page is being rerouted.
description: An optional comment explaining why the Page is being rerouted.
example: Rerouting to the database team.
type: string
target:
Expand Down Expand Up @@ -208562,7 +208562,7 @@ paths:
$ref: "#/components/schemas/CreatePageRequest"
required: true
responses:
"200":
"201":
content:
application/json:
examples:
Expand All @@ -208573,7 +208573,7 @@ paths:
type: pages
schema:
$ref: "#/components/schemas/CreatePageResponse"
description: OK.
description: Created.
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
Expand Down Expand Up @@ -208765,7 +208765,7 @@ paths:
Acknowledges an On-Call Page.
operationId: AcknowledgeOnCallPage
parameters:
- description: The page ID.
- description: The Page ID.
in: path
name: page_id
required: true
Expand All @@ -208774,8 +208774,8 @@ paths:
format: uuid
type: string
responses:
"202":
description: Accepted.
"204":
description: No Content.
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
Expand Down Expand Up @@ -208867,7 +208867,7 @@ paths:
Escalates an On-Call Page.
operationId: EscalateOnCallPage
parameters:
- description: The page ID.
- description: The Page ID.
in: path
name: page_id
required: true
Expand All @@ -208876,8 +208876,8 @@ paths:
format: uuid
type: string
responses:
"202":
description: Accepted.
"204":
description: No Content.
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
Expand Down Expand Up @@ -208969,7 +208969,7 @@ paths:
Reroutes an On-Call Page.
operationId: RerouteOnCallPage
parameters:
- description: The page ID.
- description: The Page ID.
in: path
name: page_id
required: true
Expand Down Expand Up @@ -209105,7 +209105,7 @@ paths:
Resolves an On-Call Page.
operationId: ResolveOnCallPage
parameters:
- description: The page ID.
- description: The Page ID.
in: path
name: page_id
required: true
Expand All @@ -209114,8 +209114,8 @@ paths:
format: uuid
type: string
responses:
"202":
description: Accepted.
"204":
description: No Content.
"429":
$ref: "#/components/responses/TooManyRequestsResponse"
security:
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/on-call-paging/AcknowledgeOnCallPage.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Acknowledge On-Call Page returns "Accepted." response
// Acknowledge On-Call Page returns "No Content." response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/on-call-paging/CreateOnCallPage.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Create On-Call Page returns "OK." response
// Create On-Call Page returns "Created." response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/on-call-paging/EscalateOnCallPage.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Escalate On-Call Page returns "Accepted." response
// Escalate On-Call Page returns "No Content." response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
Expand Down
2 changes: 1 addition & 1 deletion examples/v2/on-call-paging/ResolveOnCallPage.java
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Resolve On-Call Page returns "Accepted." response
// Resolve On-Call Page returns "No Content." response

import com.datadog.api.client.ApiClient;
import com.datadog.api.client.ApiException;
Expand Down
40 changes: 20 additions & 20 deletions src/main/java/com/datadog/api/client/v2/api/OnCallPagingApi.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void setApiClient(ApiClient apiClient) {
*
* <p>See {@link #acknowledgeOnCallPageWithHttpInfo}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @throws ApiException if fails to make API call
*/
public void acknowledgeOnCallPage(UUID pageId) throws ApiException {
Expand All @@ -63,7 +63,7 @@ public void acknowledgeOnCallPage(UUID pageId) throws ApiException {
*
* <p>See {@link #acknowledgeOnCallPageWithHttpInfoAsync}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @return CompletableFuture
*/
public CompletableFuture<Void> acknowledgeOnCallPageAsync(UUID pageId) {
Expand All @@ -77,14 +77,14 @@ public CompletableFuture<Void> acknowledgeOnCallPageAsync(UUID pageId) {
/**
* Acknowledges an On-Call Page.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call
* @http.response.details
* <table border="1">
* <caption>Response details</caption>
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
* <tr><td> 202 </td><td> Accepted. </td><td> - </td></tr>
* <tr><td> 204 </td><td> No Content. </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*/
Expand Down Expand Up @@ -128,7 +128,7 @@ public ApiResponse<Void> acknowledgeOnCallPageWithHttpInfo(UUID pageId) throws A
*
* <p>See {@link #acknowledgeOnCallPageWithHttpInfo}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
*/
public CompletableFuture<ApiResponse<Void>> acknowledgeOnCallPageWithHttpInfoAsync(UUID pageId) {
Expand Down Expand Up @@ -215,7 +215,7 @@ public CompletableFuture<CreatePageResponse> createOnCallPageAsync(CreatePageReq
* <table border="1">
* <caption>Response details</caption>
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
* <tr><td> 200 </td><td> OK. </td><td> - </td></tr>
* <tr><td> 201 </td><td> Created. </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*/
Expand Down Expand Up @@ -310,7 +310,7 @@ public CompletableFuture<ApiResponse<CreatePageResponse>> createOnCallPageWithHt
*
* <p>See {@link #escalateOnCallPageWithHttpInfo}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @throws ApiException if fails to make API call
*/
public void escalateOnCallPage(UUID pageId) throws ApiException {
Expand All @@ -322,7 +322,7 @@ public void escalateOnCallPage(UUID pageId) throws ApiException {
*
* <p>See {@link #escalateOnCallPageWithHttpInfoAsync}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @return CompletableFuture
*/
public CompletableFuture<Void> escalateOnCallPageAsync(UUID pageId) {
Expand All @@ -336,14 +336,14 @@ public CompletableFuture<Void> escalateOnCallPageAsync(UUID pageId) {
/**
* Escalates an On-Call Page.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call
* @http.response.details
* <table border="1">
* <caption>Response details</caption>
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
* <tr><td> 202 </td><td> Accepted. </td><td> - </td></tr>
* <tr><td> 204 </td><td> No Content. </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*/
Expand Down Expand Up @@ -387,7 +387,7 @@ public ApiResponse<Void> escalateOnCallPageWithHttpInfo(UUID pageId) throws ApiE
*
* <p>See {@link #escalateOnCallPageWithHttpInfo}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
*/
public CompletableFuture<ApiResponse<Void>> escalateOnCallPageWithHttpInfoAsync(UUID pageId) {
Expand Down Expand Up @@ -440,7 +440,7 @@ public CompletableFuture<ApiResponse<Void>> escalateOnCallPageWithHttpInfoAsync(
*
* <p>See {@link #rerouteOnCallPageWithHttpInfo}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @param body (required)
* @throws ApiException if fails to make API call
*/
Expand All @@ -453,7 +453,7 @@ public void rerouteOnCallPage(UUID pageId, RerouteOnCallPageRequest body) throws
*
* <p>See {@link #rerouteOnCallPageWithHttpInfoAsync}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @param body (required)
* @return CompletableFuture
*/
Expand All @@ -469,7 +469,7 @@ public CompletableFuture<Void> rerouteOnCallPageAsync(
/**
* Reroutes an On-Call Page.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @param body (required)
* @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call
Expand Down Expand Up @@ -531,7 +531,7 @@ public ApiResponse<Void> rerouteOnCallPageWithHttpInfo(UUID pageId, RerouteOnCal
*
* <p>See {@link #rerouteOnCallPageWithHttpInfo}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @param body (required)
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
*/
Expand Down Expand Up @@ -595,7 +595,7 @@ public CompletableFuture<ApiResponse<Void>> rerouteOnCallPageWithHttpInfoAsync(
*
* <p>See {@link #resolveOnCallPageWithHttpInfo}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @throws ApiException if fails to make API call
*/
public void resolveOnCallPage(UUID pageId) throws ApiException {
Expand All @@ -607,7 +607,7 @@ public void resolveOnCallPage(UUID pageId) throws ApiException {
*
* <p>See {@link #resolveOnCallPageWithHttpInfoAsync}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @return CompletableFuture
*/
public CompletableFuture<Void> resolveOnCallPageAsync(UUID pageId) {
Expand All @@ -621,14 +621,14 @@ public CompletableFuture<Void> resolveOnCallPageAsync(UUID pageId) {
/**
* Resolves an On-Call Page.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @return ApiResponse&lt;Void&gt;
* @throws ApiException if fails to make API call
* @http.response.details
* <table border="1">
* <caption>Response details</caption>
* <tr><td> Status Code </td><td> Description </td><td> Response Headers </td></tr>
* <tr><td> 202 </td><td> Accepted. </td><td> - </td></tr>
* <tr><td> 204 </td><td> No Content. </td><td> - </td></tr>
* <tr><td> 429 </td><td> Too many requests </td><td> - </td></tr>
* </table>
*/
Expand Down Expand Up @@ -672,7 +672,7 @@ public ApiResponse<Void> resolveOnCallPageWithHttpInfo(UUID pageId) throws ApiEx
*
* <p>See {@link #resolveOnCallPageWithHttpInfo}.
*
* @param pageId The page ID. (required)
* @param pageId The Page ID. (required)
* @return CompletableFuture&lt;ApiResponse&lt;Void&gt;&gt;
*/
public CompletableFuture<ApiResponse<Void>> resolveOnCallPageWithHttpInfoAsync(UUID pageId) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public CreatePageRequestDataAttributes addTagsItem(String tagsItem) {
}

/**
* Tags to help categorize or filter the page.
* Tags to help categorize or filter the Page.
*
* @return tags
*/
Expand Down Expand Up @@ -141,7 +141,7 @@ public CreatePageRequestDataAttributes title(String title) {
}

/**
* The title of the page.
* The title of the Page.
*
* @return title
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public CreatePageResponse data(CreatePageResponseData data) {
}

/**
* The information returned after successfully creating a page.
* The information returned after successfully creating a Page.
*
* @return data
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import java.util.Map;
import java.util.Objects;

/** The information returned after successfully creating a page. */
/** The information returned after successfully creating a Page. */
@JsonPropertyOrder({
CreatePageResponseData.JSON_PROPERTY_ID,
CreatePageResponseData.JSON_PROPERTY_TYPE
Expand Down Expand Up @@ -47,7 +47,7 @@ public CreatePageResponseData id(String id) {
}

/**
* The unique ID of the created page.
* The unique ID of the created Page.
*
* @return id
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public RerouteOnCallPageRequestDataAttributes comment(String comment) {
}

/**
* An optional comment explaining why the page is being rerouted.
* An optional comment explaining why the Page is being rerouted.
*
* @return comment
*/
Expand Down
Loading
Loading