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 lib/datadog_api_client/v2/models/shift.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
require 'time'

module DatadogAPIClient::V2
# The definition of `Shift` object.
# An on-call shift with its associated data and relationships.
class Shift
include BaseGenericModel

# The definition of `ShiftData` object.
# Data for an on-call shift.
attr_accessor :data

# The `Shift` `included`.
Expand Down
6 changes: 3 additions & 3 deletions lib/datadog_api_client/v2/models/shift_data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
require 'time'

module DatadogAPIClient::V2
# The definition of `ShiftData` object.
# Data for an on-call shift.
class ShiftData
include BaseGenericModel

# The definition of `ShiftDataAttributes` object.
# Attributes for an on-call shift.
attr_accessor :attributes

# The `ShiftData` `id`.
attr_accessor :id

# The definition of `ShiftDataRelationships` object.
# Relationships for an on-call shift.
attr_accessor :relationships

# Indicates that the resource is of type 'shifts'.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
# The definition of `ShiftDataAttributes` object.
# Attributes for an on-call shift.
class ShiftDataAttributes
include BaseGenericModel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
# The definition of `ShiftDataRelationships` object.
# Relationships for an on-call shift.
class ShiftDataRelationships
include BaseGenericModel

Expand Down
2 changes: 1 addition & 1 deletion lib/datadog_api_client/v2/models/shift_included.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
require 'time'

module DatadogAPIClient::V2
# The definition of `ShiftIncluded` object.
# Included data for shift operations.
module ShiftIncluded
class << self
include BaseOneOfModel
Expand Down
Loading