Skip to content
Merged
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
10 changes: 5 additions & 5 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41720,7 +41720,7 @@ components:
type: string
type: object
Shift:
description: The definition of `Shift` object.
description: An on-call shift with its associated data and relationships.
example:
data:
attributes:
Expand Down Expand Up @@ -41751,7 +41751,7 @@ components:
type: array
type: object
ShiftData:
description: The definition of `ShiftData` object.
description: Data for an on-call shift.
properties:
attributes:
$ref: '#/components/schemas/ShiftDataAttributes'
Expand All @@ -41766,7 +41766,7 @@ components:
- type
type: object
ShiftDataAttributes:
description: The definition of `ShiftDataAttributes` object.
description: Attributes for an on-call shift.
properties:
end:
description: The end time of the shift.
Expand All @@ -41778,7 +41778,7 @@ components:
type: string
type: object
ShiftDataRelationships:
description: The definition of `ShiftDataRelationships` object.
description: Relationships for an on-call shift.
properties:
user:
$ref: '#/components/schemas/ShiftDataRelationshipsUser'
Expand Down Expand Up @@ -41825,7 +41825,7 @@ components:
x-enum-varnames:
- SHIFTS
ShiftIncluded:
description: The definition of `ShiftIncluded` object.
description: Included data for shift operations.
oneOf:
- $ref: '#/components/schemas/ScheduleUser'
SimpleMonitorUserTemplate:
Expand Down
4 changes: 2 additions & 2 deletions packages/datadog-api-client-v2/models/Shift.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import { ShiftIncluded } from "./ShiftIncluded";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";

/**
* The definition of `Shift` object.
* An on-call shift with its associated data and relationships.
*/
export class Shift {
/**
* The definition of `ShiftData` object.
* Data for an on-call shift.
*/
"data"?: ShiftData;
/**
Expand Down
6 changes: 3 additions & 3 deletions packages/datadog-api-client-v2/models/ShiftData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,19 @@ import { ShiftDataType } from "./ShiftDataType";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";

/**
* The definition of `ShiftData` object.
* Data for an on-call shift.
*/
export class ShiftData {
/**
* The definition of `ShiftDataAttributes` object.
* Attributes for an on-call shift.
*/
"attributes"?: ShiftDataAttributes;
/**
* The `ShiftData` `id`.
*/
"id"?: string;
/**
* The definition of `ShiftDataRelationships` object.
* Relationships for an on-call shift.
*/
"relationships"?: ShiftDataRelationships;
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { AttributeTypeMap } from "../../datadog-api-client-common/util";

/**
* The definition of `ShiftDataAttributes` object.
* Attributes for an on-call shift.
*/
export class ShiftDataAttributes {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ShiftDataRelationshipsUser } from "./ShiftDataRelationshipsUser";
import { AttributeTypeMap } from "../../datadog-api-client-common/util";

/**
* The definition of `ShiftDataRelationships` object.
* Relationships for an on-call shift.
*/
export class ShiftDataRelationships {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/datadog-api-client-v2/models/ShiftIncluded.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { ScheduleUser } from "./ScheduleUser";
import { UnparsedObject } from "../../datadog-api-client-common/util";

/**
* The definition of `ShiftIncluded` object.
* Included data for shift operations.
*/

export type ShiftIncluded = ScheduleUser | UnparsedObject;