Skip to content

Commit 341cb8d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit e735cc09 of spec repo
1 parent aa07543 commit 341cb8d

File tree

10 files changed

+1109
-45
lines changed

10 files changed

+1109
-45
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2025-02-21 19:13:50.295635",
8-
"spec_repo_commit": "47fc5add"
7+
"regenerated": "2025-02-21 22:56:39.752890",
8+
"spec_repo_commit": "e735cc09"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2025-02-21 19:13:50.311443",
13-
"spec_repo_commit": "47fc5add"
12+
"regenerated": "2025-02-21 22:56:39.771168",
13+
"spec_repo_commit": "e735cc09"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 129 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,11 +1451,13 @@ components:
14511451
enum:
14521452
- open
14531453
- invite
1454+
- embed
14541455
nullable: true
14551456
type: string
14561457
x-enum-varnames:
14571458
- OPEN
14581459
- INVITE
1460+
- EMBED
14591461
DashboardSummary:
14601462
description: Dashboard summary response.
14611463
properties:
@@ -13058,13 +13060,44 @@ components:
1305813060
type: string
1305913061
dashboard_type:
1306013062
$ref: '#/components/schemas/DashboardType'
13063+
embeddable_domains:
13064+
description: The `SharedDashboard` `embeddable_domains`.
13065+
example:
13066+
- https://domain.atlassian.net/
13067+
- http://myserver.com/
13068+
items:
13069+
description: The allowlist-ed referrers for an EMBED shared dashboard.
13070+
type: string
13071+
type: array
13072+
expiration:
13073+
description: The time when an OPEN shared dashboard becomes publicly unavailable.
13074+
format: date-time
13075+
nullable: true
13076+
type: string
1306113077
global_time:
1306213078
$ref: '#/components/schemas/DashboardGlobalTime'
1306313079
global_time_selectable_enabled:
1306413080
description: Whether to allow viewers to select a different global time
1306513081
setting for the shared dashboard.
1306613082
nullable: true
1306713083
type: boolean
13084+
invitees:
13085+
description: The `SharedDashboard` `invitees`.
13086+
example:
13087+
- access_expiration: '2030-01-01T12:00:00.00Z'
13088+
email: test@datadoghq.com
13089+
- access_expiration: null
13090+
email: test2@datadoghq.com
13091+
items:
13092+
$ref: '#/components/schemas/SharedDashboardInviteesItems'
13093+
type: array
13094+
last_accessed:
13095+
description: The last time the shared dashboard was accessed. Null if never
13096+
accessed.
13097+
format: date-time
13098+
nullable: true
13099+
readOnly: true
13100+
type: string
1306813101
public_url:
1306913102
description: URL of the shared dashboard.
1307013103
readOnly: true
@@ -13084,6 +13117,7 @@ components:
1308413117
nullable: true
1308513118
type: array
1308613119
share_list:
13120+
deprecated: true
1308713121
description: List of email addresses that can receive an invitation to access
1308813122
to the shared dashboard.
1308913123
example:
@@ -13097,10 +13131,17 @@ components:
1309713131
type: array
1309813132
share_type:
1309913133
$ref: '#/components/schemas/DashboardShareType'
13134+
status:
13135+
$ref: '#/components/schemas/SharedDashboardStatus'
13136+
title:
13137+
description: Title of the shared dashboard.
13138+
type: string
1310013139
token:
1310113140
description: A unique token assigned to the shared dashboard.
1310213141
readOnly: true
1310313142
type: string
13143+
viewing_preferences:
13144+
$ref: '#/components/schemas/ViewingPreferences'
1310413145
required:
1310513146
- dashboard_id
1310613147
- dashboard_type
@@ -13120,6 +13161,27 @@ components:
1312013161
type: string
1312113162
readOnly: true
1312213163
type: object
13164+
SharedDashboardInviteesItems:
13165+
description: The allowlist-ed invitees for an INVITE-only shared dashboard.
13166+
properties:
13167+
access_expiration:
13168+
description: Time of the invitee expiration. Null means the invite will
13169+
not expire.
13170+
format: date-time
13171+
nullable: true
13172+
type: string
13173+
created_at:
13174+
description: Time that the invitee was created.
13175+
format: date-time
13176+
readOnly: true
13177+
type: string
13178+
email:
13179+
description: Email of the invitee.
13180+
example: test@datadoghq.com
13181+
type: string
13182+
required:
13183+
- email
13184+
type: object
1312313185
SharedDashboardInvites:
1312413186
description: Invitations data and metadata that exists for a shared dashboard
1312513187
returned by the API.
@@ -13236,6 +13298,19 @@ components:
1323613298
format: int64
1323713299
type: integer
1323813300
type: object
13301+
SharedDashboardStatus:
13302+
description: Active means the dashboard is publicly available. Paused means
13303+
the dashboard is not publicly available.
13304+
enum:
13305+
- active
13306+
- paused
13307+
- embed
13308+
example: active
13309+
type: string
13310+
x-enum-varnames:
13311+
- ACTIVE
13312+
- PAUSED
13313+
- EMBED
1323913314
SharedDashboardUpdateRequest:
1324013315
description: Update a shared dashboard's settings.
1324113316
example:
@@ -13246,13 +13321,37 @@ components:
1324613321
- test2@datadoghq.com
1324713322
share_type: invite
1324813323
properties:
13324+
embeddable_domains:
13325+
description: The `SharedDashboard` `embeddable_domains`.
13326+
example:
13327+
- https://domain.atlassian.net/
13328+
- http://myserver.com/
13329+
items:
13330+
description: The allowlist-ed referrers for an EMBED shared dashboard.
13331+
type: string
13332+
type: array
13333+
expiration:
13334+
description: The time when an OPEN shared dashboard becomes publicly unavailable.
13335+
format: date-time
13336+
nullable: true
13337+
type: string
1324913338
global_time:
1325013339
$ref: '#/components/schemas/SharedDashboardUpdateRequestGlobalTime'
1325113340
global_time_selectable_enabled:
1325213341
description: Whether to allow viewers to select a different global time
1325313342
setting for the shared dashboard.
1325413343
nullable: true
1325513344
type: boolean
13345+
invitees:
13346+
description: The `SharedDashboard` `invitees`.
13347+
example:
13348+
- access_expiration: '2030-01-01T12:00:00.00Z'
13349+
email: test@datadoghq.com
13350+
- access_expiration: null
13351+
email: test2@datadoghq.com
13352+
items:
13353+
$ref: '#/components/schemas/SharedDashboardInviteesItems'
13354+
type: array
1325613355
selectable_template_vars:
1325713356
description: List of objects representing template variables on the shared
1325813357
dashboard which can have selectable values.
@@ -13268,6 +13367,7 @@ components:
1326813367
nullable: true
1326913368
type: array
1327013369
share_list:
13370+
deprecated: true
1327113371
description: List of email addresses that can be given access to the shared
1327213372
dashboard.
1327313373
example:
@@ -13281,8 +13381,13 @@ components:
1328113381
type: array
1328213382
share_type:
1328313383
$ref: '#/components/schemas/DashboardShareType'
13284-
required:
13285-
- global_time
13384+
status:
13385+
$ref: '#/components/schemas/SharedDashboardStatus'
13386+
title:
13387+
description: Title of the shared dashboard.
13388+
type: string
13389+
viewing_preferences:
13390+
$ref: '#/components/schemas/ViewingPreferences'
1328613391
type: object
1328713392
SharedDashboardUpdateRequestGlobalTime:
1328813393
description: Timeframe setting for the shared dashboard.
@@ -22710,6 +22815,28 @@ components:
2271022815
example: 0
2271122816
format: int64
2271222817
type: integer
22818+
ViewingPreferences:
22819+
description: The viewing preferences for a shared dashboard.
22820+
properties:
22821+
high_density:
22822+
description: Whether the widgets on the shared dash should be displayed
22823+
with high density.
22824+
type: boolean
22825+
theme:
22826+
$ref: '#/components/schemas/ViewingPreferencesTheme'
22827+
type: object
22828+
ViewingPreferencesTheme:
22829+
description: The theme of the shared dashboard view. "system" will follow your
22830+
system's default viewing theme.
22831+
enum:
22832+
- system
22833+
- light
22834+
- dark
22835+
type: string
22836+
x-enum-varnames:
22837+
- SYSTEM
22838+
- LIGHT
22839+
- DARK
2271322840
WebhooksIntegration:
2271422841
description: Datadog-Webhooks integration.
2271522842
properties:

src/main/java/com/datadog/api/client/v1/model/DashboardShareType.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@
2323
public class DashboardShareType extends ModelEnum<String> {
2424

2525
private static final Set<String> allowedValues =
26-
new HashSet<String>(Arrays.asList("open", "invite"));
26+
new HashSet<String>(Arrays.asList("open", "invite", "embed"));
2727

2828
public static final DashboardShareType OPEN = new DashboardShareType("open");
2929
public static final DashboardShareType INVITE = new DashboardShareType("invite");
30+
public static final DashboardShareType EMBED = new DashboardShareType("embed");
3031

3132
DashboardShareType(String value) {
3233
super(value, allowedValues);

0 commit comments

Comments
 (0)