From d8ce5d9e7c5a67dcc757a207968035f1695b7b5e Mon Sep 17 00:00:00 2001 From: szekelyzol Date: Wed, 9 Oct 2024 13:58:38 +0000 Subject: [PATCH] Add missing parameter description --- api/openapi.yaml | 2 ++ docs/CaptionsUpdatePayload.md | 2 +- model_captions_update_payload.go | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index edeac3d..17dbc7b 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -16348,6 +16348,8 @@ components: captions-update-payload: properties: default: + description: Set this parameter to `true` to define a caption as the default + for a video. type: boolean title: CaptionsUpdatePayload type: object diff --git a/docs/CaptionsUpdatePayload.md b/docs/CaptionsUpdatePayload.md index 469bf27..e2dd70a 100644 --- a/docs/CaptionsUpdatePayload.md +++ b/docs/CaptionsUpdatePayload.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Default** | Pointer to **bool** | | [optional] +**Default** | Pointer to **bool** | Set this parameter to `true` to define a caption as the default for a video. | [optional] ## Methods diff --git a/model_captions_update_payload.go b/model_captions_update_payload.go index 257ba91..451be75 100644 --- a/model_captions_update_payload.go +++ b/model_captions_update_payload.go @@ -16,6 +16,7 @@ import ( // CaptionsUpdatePayload struct for CaptionsUpdatePayload type CaptionsUpdatePayload struct { + // Set this parameter to `true` to define a caption as the default for a video. Default *bool `json:"default,omitempty"` }