Skip to content

Commit faab5de

Browse files
authored
Merge pull request #818 from bbiggerr/notifications-nullable-properties
Added nullable property information to Notifications List
2 parents ba23bb9 + a2d2841 commit faab5de

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

openapi.yaml

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24220,25 +24220,48 @@ components:
2422024220
properties:
2422124221
id:
2422224222
type: integer
24223-
description: >
24223+
nullable: true
24224+
description: |
2422424225
The unique ID of the Notification's entity, based on the entity
2422524226
type.
24227+
24228+
Returns `null` for the following entity types:
24229+
* `account`
24230+
* `promotion`
2422624231
example: 3456
2422724232
label:
2422824233
type: string
24229-
description: >
24234+
nullable: true
24235+
description: |
2423024236
The current label for this Notification's entity.
24237+
24238+
Returns `null` for the following entity types:
24239+
* `entity_transfer`
24240+
* `promotion`
24241+
* `region`
2423124242
example: Linode not booting.
2423224243
type:
2423324244
type: string
24245+
enum:
24246+
- account
24247+
- entity_transfer
24248+
- linode
24249+
- nodebalancer
24250+
- promotion
24251+
- region
24252+
- ticket
24253+
- volume
2423424254
description: The type of entity this is related to.
2423524255
example: ticket
2423624256
url:
2423724257
type: string
24238-
description: >
24258+
nullable: true
24259+
description: |
2423924260
The URL where you can access the object this Notification is for.
2424024261
If a relative URL, it is relative to the domain you retrieved the
2424124262
Notification from.
24263+
24264+
Returns `null` for the `promotion` entity type.
2424224265
example: /support/tickets/3456
2424324266
label:
2424424267
type: string

0 commit comments

Comments
 (0)