From 7a3739fea184da2f7ebf8df21fe2cdae6f8656ab Mon Sep 17 00:00:00 2001 From: Phrase Date: Mon, 9 Dec 2024 14:00:20 +0000 Subject: [PATCH] Deploying from phrase/openapi@64d399ce --- api/openapi.yaml | 30 ++++++++++++++++++++------ api_job_comments.go | 6 +++--- api_job_locales.go | 6 +++--- docs/JobCommentCreateParameters.md | 1 + docs/JobCommentUpdateParameters.md | 1 + docs/JobCommentsApi.md | 6 +++--- docs/JobLocalesApi.md | 6 +++--- model_job_comment_create_parameters.go | 2 ++ model_job_comment_update_parameters.go | 2 ++ 9 files changed, 42 insertions(+), 18 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index f01a7a2..8834a02 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -15515,7 +15515,7 @@ paths: schema: type: integer style: form - - description: specify the branch to use + - description: Branch to use example: my-feature-branch explode: true in: query @@ -15718,7 +15718,7 @@ paths: schema: type: string style: simple - - description: specify the branch to use + - description: Branch to use example: my-feature-branch explode: true in: query @@ -15820,7 +15820,7 @@ paths: schema: type: string style: simple - - description: specify the branch to use + - description: Branch to use example: my-feature-branch explode: true in: query @@ -27089,7 +27089,7 @@ paths: schema: type: string style: simple - - description: specify the branch to use + - description: Branch to use example: my-feature-branch explode: true in: query @@ -27191,7 +27191,7 @@ paths: schema: type: string style: simple - - description: specify the branch to use + - description: Branch to use example: my-feature-branch explode: true in: query @@ -27390,7 +27390,7 @@ paths: schema: type: string style: simple - - description: specify the branch to use + - description: Branch to use example: my-feature-branch explode: true in: query @@ -29347,6 +29347,16 @@ components: schema: type: string style: form + branch: + description: Branch to use + example: my-feature-branch + explode: true + in: query + name: branch + required: false + schema: + type: string + style: form page: allowEmptyValue: false description: Page number @@ -35623,6 +35633,10 @@ components: description: Comment message example: Some message... type: string + branch: + description: Branch name for the job + example: my-feature-branch + type: string title: job_comment/update/parameters type: object job_comment_create_parameters: @@ -35631,6 +35645,10 @@ components: description: Job comment message example: Some message... type: string + branch: + description: Branch name for the job + example: my-feature-branch + type: string title: job_comment/create/parameters type: object organization_job_template_create_parameters: diff --git a/api_job_comments.go b/api_job_comments.go index 3003ddf..6b872e9 100644 --- a/api_job_comments.go +++ b/api_job_comments.go @@ -140,7 +140,7 @@ Delete an existing job comment. - @param id ID - @param optional nil or *JobCommentDeleteOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) - - @param "Branch" (optional.String) - specify the branch to use + - @param "Branch" (optional.String) - Branch to use */ func (a *JobCommentsApiService) JobCommentDelete(ctx _context.Context, projectId string, jobId string, id string, localVarOptionals *JobCommentDeleteOpts) ([]byte, *APIResponse, error) { var ( @@ -240,7 +240,7 @@ Get details on a single job comment. - @param id ID - @param optional nil or *JobCommentShowOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) - - @param "Branch" (optional.String) - specify the branch to use + - @param "Branch" (optional.String) - Branch to use @return JobComment */ @@ -462,7 +462,7 @@ List all comments for a job. - @param jobId Job ID - @param optional nil or *JobCommentsListOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) - - @param "Branch" (optional.String) - specify the branch to use + - @param "Branch" (optional.String) - Branch to use - @param "Order" (optional.String) - Order direction. Can be one of: asc, desc. @return []JobComment diff --git a/api_job_locales.go b/api_job_locales.go index 08f8d20..a9d4e12 100644 --- a/api_job_locales.go +++ b/api_job_locales.go @@ -253,7 +253,7 @@ Removes a target locale from a job. - @param id ID - @param optional nil or *JobLocaleDeleteOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) - - @param "Branch" (optional.String) - specify the branch to use + - @param "Branch" (optional.String) - Branch to use */ func (a *JobLocalesApiService) JobLocaleDelete(ctx _context.Context, projectId string, jobId string, id string, localVarOptionals *JobLocaleDeleteOpts) ([]byte, *APIResponse, error) { var ( @@ -463,7 +463,7 @@ Get a single target locale for a given job. - @param id ID - @param optional nil or *JobLocaleShowOpts - Optional Parameters: - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) - - @param "Branch" (optional.String) - specify the branch to use + - @param "Branch" (optional.String) - Branch to use @return JobLocale */ @@ -795,7 +795,7 @@ List all target locales for a given job. - @param "XPhraseAppOTP" (optional.String) - Two-Factor-Authentication token (optional) - @param "Page" (optional.Int32) - Page number - @param "PerPage" (optional.Int32) - Limit on the number of objects to be returned, between 1 and 100. 25 by default - - @param "Branch" (optional.String) - specify the branch to use + - @param "Branch" (optional.String) - Branch to use @return []JobLocale */ diff --git a/docs/JobCommentCreateParameters.md b/docs/JobCommentCreateParameters.md index 7ed2cee..269c72d 100644 --- a/docs/JobCommentCreateParameters.md +++ b/docs/JobCommentCreateParameters.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Message** | **string** | Job comment message | [optional] +**Branch** | **string** | Branch name for the job | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/JobCommentUpdateParameters.md b/docs/JobCommentUpdateParameters.md index a27a2cd..7733c4f 100644 --- a/docs/JobCommentUpdateParameters.md +++ b/docs/JobCommentUpdateParameters.md @@ -5,6 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Message** | **string** | Comment message | [optional] +**Branch** | **string** | Branch name for the job | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/JobCommentsApi.md b/docs/JobCommentsApi.md index 26ec22c..975a5be 100644 --- a/docs/JobCommentsApi.md +++ b/docs/JobCommentsApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes **xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) | - **branch** | **optional.String**| specify the branch to use | + **branch** | **optional.String**| Branch to use | ### Return type @@ -141,7 +141,7 @@ Name | Type | Description | Notes **xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) | - **branch** | **optional.String**| specify the branch to use | + **branch** | **optional.String**| Branch to use | ### Return type @@ -240,7 +240,7 @@ Name | Type | Description | Notes **xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) | - **branch** | **optional.String**| specify the branch to use | + **branch** | **optional.String**| Branch to use | **order** | **optional.String**| Order direction. Can be one of: asc, desc. | ### Return type diff --git a/docs/JobLocalesApi.md b/docs/JobLocalesApi.md index 18fdf2b..9d5f219 100644 --- a/docs/JobLocalesApi.md +++ b/docs/JobLocalesApi.md @@ -147,7 +147,7 @@ Name | Type | Description | Notes **xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) | - **branch** | **optional.String**| specify the branch to use | + **branch** | **optional.String**| Branch to use | ### Return type @@ -248,7 +248,7 @@ Name | Type | Description | Notes **xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) | - **branch** | **optional.String**| specify the branch to use | + **branch** | **optional.String**| Branch to use | ### Return type @@ -398,7 +398,7 @@ Name | Type | Description | Notes **xPhraseAppOTP** | **optional.String**| Two-Factor-Authentication token (optional) | **page** | **optional.Int32**| Page number | **perPage** | **optional.Int32**| Limit on the number of objects to be returned, between 1 and 100. 25 by default | - **branch** | **optional.String**| specify the branch to use | + **branch** | **optional.String**| Branch to use | ### Return type diff --git a/model_job_comment_create_parameters.go b/model_job_comment_create_parameters.go index d53ff0a..a43dd74 100644 --- a/model_job_comment_create_parameters.go +++ b/model_job_comment_create_parameters.go @@ -4,4 +4,6 @@ package phrase type JobCommentCreateParameters struct { // Job comment message Message string `json:"message,omitempty"` + // Branch name for the job + Branch string `json:"branch,omitempty"` } diff --git a/model_job_comment_update_parameters.go b/model_job_comment_update_parameters.go index 40190e4..57fd26d 100644 --- a/model_job_comment_update_parameters.go +++ b/model_job_comment_update_parameters.go @@ -4,4 +4,6 @@ package phrase type JobCommentUpdateParameters struct { // Comment message Message string `json:"message,omitempty"` + // Branch name for the job + Branch string `json:"branch,omitempty"` }