Skip to content

Commit bff371b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 1cf59d26 of spec repo
1 parent aa07543 commit bff371b

File tree

10 files changed

+1093
-45
lines changed

10 files changed

+1093
-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 21:05:51.694658",
8+
"spec_repo_commit": "1cf59d26"
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 21:05:51.710732",
13+
"spec_repo_commit": "1cf59d26"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 127 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,42 @@ 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.
13096+
format: date-time
13097+
readOnly: true
13098+
type: string
1306813099
public_url:
1306913100
description: URL of the shared dashboard.
1307013101
readOnly: true
@@ -13084,6 +13115,7 @@ components:
1308413115
nullable: true
1308513116
type: array
1308613117
share_list:
13118+
deprecated: true
1308713119
description: List of email addresses that can receive an invitation to access
1308813120
to the shared dashboard.
1308913121
example:
@@ -13097,10 +13129,17 @@ components:
1309713129
type: array
1309813130
share_type:
1309913131
$ref: '#/components/schemas/DashboardShareType'
13132+
status:
13133+
$ref: '#/components/schemas/SharedDashboardStatus'
13134+
title:
13135+
description: Title of the shared dashboard.
13136+
type: string
1310013137
token:
1310113138
description: A unique token assigned to the shared dashboard.
1310213139
readOnly: true
1310313140
type: string
13141+
viewing_preferences:
13142+
$ref: '#/components/schemas/ViewingPreferences'
1310413143
required:
1310513144
- dashboard_id
1310613145
- dashboard_type
@@ -13120,6 +13159,27 @@ components:
1312013159
type: string
1312113160
readOnly: true
1312213161
type: object
13162+
SharedDashboardInviteesItems:
13163+
description: The allowlist-ed invitees for an INVITE-only shared dashboard.
13164+
properties:
13165+
access_expiration:
13166+
description: Time of the invitee expiration. Null means the invite will
13167+
not expire.
13168+
format: date-time
13169+
nullable: true
13170+
type: string
13171+
created_at:
13172+
description: Time that the invitee was created.
13173+
format: date-time
13174+
readOnly: true
13175+
type: string
13176+
email:
13177+
description: Email of the invitee.
13178+
example: test@datadoghq.com
13179+
type: string
13180+
required:
13181+
- email
13182+
type: object
1312313183
SharedDashboardInvites:
1312413184
description: Invitations data and metadata that exists for a shared dashboard
1312513185
returned by the API.
@@ -13236,6 +13296,19 @@ components:
1323613296
format: int64
1323713297
type: integer
1323813298
type: object
13299+
SharedDashboardStatus:
13300+
description: Active means the dashboard is publicly available. Paused means
13301+
the dashboard is not publicly available.
13302+
enum:
13303+
- active
13304+
- paused
13305+
- embed
13306+
example: active
13307+
type: string
13308+
x-enum-varnames:
13309+
- ACTIVE
13310+
- PAUSED
13311+
- EMBED
1323913312
SharedDashboardUpdateRequest:
1324013313
description: Update a shared dashboard's settings.
1324113314
example:
@@ -13246,13 +13319,37 @@ components:
1324613319
- test2@datadoghq.com
1324713320
share_type: invite
1324813321
properties:
13322+
embeddable_domains:
13323+
description: The `SharedDashboard` `embeddable_domains`.
13324+
example:
13325+
- https://domain.atlassian.net/
13326+
- http://myserver.com/
13327+
items:
13328+
description: The allowlist-ed referrers for an EMBED shared dashboard.
13329+
type: string
13330+
type: array
13331+
expiration:
13332+
description: The time when an OPEN shared dashboard becomes publicly unavailable.
13333+
format: date-time
13334+
nullable: true
13335+
type: string
1324913336
global_time:
1325013337
$ref: '#/components/schemas/SharedDashboardUpdateRequestGlobalTime'
1325113338
global_time_selectable_enabled:
1325213339
description: Whether to allow viewers to select a different global time
1325313340
setting for the shared dashboard.
1325413341
nullable: true
1325513342
type: boolean
13343+
invitees:
13344+
description: The `SharedDashboard` `invitees`.
13345+
example:
13346+
- access_expiration: '2030-01-01T12:00:00.00Z'
13347+
email: test@datadoghq.com
13348+
- access_expiration: null
13349+
email: test2@datadoghq.com
13350+
items:
13351+
$ref: '#/components/schemas/SharedDashboardInviteesItems'
13352+
type: array
1325613353
selectable_template_vars:
1325713354
description: List of objects representing template variables on the shared
1325813355
dashboard which can have selectable values.
@@ -13268,6 +13365,7 @@ components:
1326813365
nullable: true
1326913366
type: array
1327013367
share_list:
13368+
deprecated: true
1327113369
description: List of email addresses that can be given access to the shared
1327213370
dashboard.
1327313371
example:
@@ -13281,8 +13379,13 @@ components:
1328113379
type: array
1328213380
share_type:
1328313381
$ref: '#/components/schemas/DashboardShareType'
13284-
required:
13285-
- global_time
13382+
status:
13383+
$ref: '#/components/schemas/SharedDashboardStatus'
13384+
title:
13385+
description: Title of the shared dashboard.
13386+
type: string
13387+
viewing_preferences:
13388+
$ref: '#/components/schemas/ViewingPreferences'
1328613389
type: object
1328713390
SharedDashboardUpdateRequestGlobalTime:
1328813391
description: Timeframe setting for the shared dashboard.
@@ -22710,6 +22813,28 @@ components:
2271022813
example: 0
2271122814
format: int64
2271222815
type: integer
22816+
ViewingPreferences:
22817+
description: The viewing preferences for a shared dashboard.
22818+
properties:
22819+
high_density:
22820+
description: Whether the widgets on the shared dash should be displayed
22821+
with high density.
22822+
type: boolean
22823+
theme:
22824+
$ref: '#/components/schemas/ViewingPreferencesTheme'
22825+
type: object
22826+
ViewingPreferencesTheme:
22827+
description: The theme of the shared dashboard view. "system" will follow your
22828+
system's default viewing theme.
22829+
enum:
22830+
- system
22831+
- light
22832+
- dark
22833+
type: string
22834+
x-enum-varnames:
22835+
- SYSTEM
22836+
- LIGHT
22837+
- DARK
2271322838
WebhooksIntegration:
2271422839
description: Datadog-Webhooks integration.
2271522840
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)