Skip to content

Commit 5a0183f

Browse files
Merge pull request #67 from apivideo/handle-null-and-missing-values
feat(java) handle null and missing values
2 parents 0034b32 + 14a7ec0 commit 5a0183f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/model/VideoUpdatePayload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**playerId** | **string** | The unique ID for the player you want to associate with your video. | [optional]
8+
**playerId** | **string** \| **null** | The unique ID for the player you want to associate with your video. | [optional]
99
**title** | **string** | The title you want to use for your video. | [optional]
1010
**description** | **string** | A brief description of the video. | [optional]
1111
**_public** | **boolean** | Whether the video is publicly available or not. False means it is set to private. Default is true. Tutorials on [private videos](https://api.video/blog/endpoints/private-videos). | [optional]

src/model/VideoUpdatePayload.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export default class VideoUpdatePayload {
1616
/**
1717
* The unique ID for the player you want to associate with your video.
1818
*/
19-
'playerId'?: string;
19+
'playerId'?: string | null;
2020
/**
2121
* The title you want to use for your video.
2222
*/

0 commit comments

Comments
 (0)