diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 2de945f3ec..74624cb362 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -17,11 +17,6 @@ docs/AuthorizationCreateParameters.md docs/AuthorizationUpdateParameters.md docs/AuthorizationWithToken.md docs/AuthorizationsApi.md -docs/BitbucketSync.md -docs/BitbucketSyncApi.md -docs/BitbucketSyncExportParameters.md -docs/BitbucketSyncExportResponse.md -docs/BitbucketSyncImportParameters.md docs/BlacklistedKey.md docs/BlacklistedKeyCreateParameters.md docs/BlacklistedKeyUpdateParameters.md @@ -65,16 +60,6 @@ docs/FigmaAttachmentUpdateParameters.md docs/FigmaAttachmentsApi.md docs/Format.md docs/FormatsApi.md -docs/GitHubSyncApi.md -docs/GitLabSyncApi.md -docs/GithubSyncExportParameters.md -docs/GithubSyncImportParameters.md -docs/GitlabSync.md -docs/GitlabSyncExport.md -docs/GitlabSyncExportParameters.md -docs/GitlabSyncHistory.md -docs/GitlabSyncHistoryErrorsInner.md -docs/GitlabSyncImportParameters.md docs/GlossariesApi.md docs/Glossary.md docs/GlossaryCreateParameters.md @@ -310,7 +295,6 @@ src/main/java/com/phrase/client/ServerVariable.java src/main/java/com/phrase/client/StringUtil.java src/main/java/com/phrase/client/api/AccountsApi.java src/main/java/com/phrase/client/api/AuthorizationsApi.java -src/main/java/com/phrase/client/api/BitbucketSyncApi.java src/main/java/com/phrase/client/api/BlacklistedKeysApi.java src/main/java/com/phrase/client/api/BranchesApi.java src/main/java/com/phrase/client/api/CommentReactionsApi.java @@ -321,8 +305,6 @@ src/main/java/com/phrase/client/api/DistributionsApi.java src/main/java/com/phrase/client/api/DocumentsApi.java src/main/java/com/phrase/client/api/FigmaAttachmentsApi.java src/main/java/com/phrase/client/api/FormatsApi.java -src/main/java/com/phrase/client/api/GitHubSyncApi.java -src/main/java/com/phrase/client/api/GitLabSyncApi.java src/main/java/com/phrase/client/api/GlossariesApi.java src/main/java/com/phrase/client/api/GlossaryTermTranslationsApi.java src/main/java/com/phrase/client/api/GlossaryTermsApi.java @@ -378,10 +360,6 @@ src/main/java/com/phrase/client/model/Authorization.java src/main/java/com/phrase/client/model/AuthorizationCreateParameters.java src/main/java/com/phrase/client/model/AuthorizationUpdateParameters.java src/main/java/com/phrase/client/model/AuthorizationWithToken.java -src/main/java/com/phrase/client/model/BitbucketSync.java -src/main/java/com/phrase/client/model/BitbucketSyncExportParameters.java -src/main/java/com/phrase/client/model/BitbucketSyncExportResponse.java -src/main/java/com/phrase/client/model/BitbucketSyncImportParameters.java src/main/java/com/phrase/client/model/BlacklistedKey.java src/main/java/com/phrase/client/model/BlacklistedKeyCreateParameters.java src/main/java/com/phrase/client/model/BlacklistedKeyUpdateParameters.java @@ -415,14 +393,6 @@ src/main/java/com/phrase/client/model/FigmaAttachment.java src/main/java/com/phrase/client/model/FigmaAttachmentCreateParameters.java src/main/java/com/phrase/client/model/FigmaAttachmentUpdateParameters.java src/main/java/com/phrase/client/model/Format.java -src/main/java/com/phrase/client/model/GithubSyncExportParameters.java -src/main/java/com/phrase/client/model/GithubSyncImportParameters.java -src/main/java/com/phrase/client/model/GitlabSync.java -src/main/java/com/phrase/client/model/GitlabSyncExport.java -src/main/java/com/phrase/client/model/GitlabSyncExportParameters.java -src/main/java/com/phrase/client/model/GitlabSyncHistory.java -src/main/java/com/phrase/client/model/GitlabSyncHistoryErrorsInner.java -src/main/java/com/phrase/client/model/GitlabSyncImportParameters.java src/main/java/com/phrase/client/model/Glossary.java src/main/java/com/phrase/client/model/GlossaryCreateParameters.java src/main/java/com/phrase/client/model/GlossaryTerm.java @@ -595,7 +565,6 @@ src/main/java/com/phrase/client/model/WebhookDelivery.java src/main/java/com/phrase/client/model/WebhookUpdateParameters.java src/test/java/com/phrase/client/api/AccountsApiTest.java src/test/java/com/phrase/client/api/AuthorizationsApiTest.java -src/test/java/com/phrase/client/api/BitbucketSyncApiTest.java src/test/java/com/phrase/client/api/BlacklistedKeysApiTest.java src/test/java/com/phrase/client/api/BranchesApiTest.java src/test/java/com/phrase/client/api/CommentReactionsApiTest.java @@ -606,8 +575,6 @@ src/test/java/com/phrase/client/api/DistributionsApiTest.java src/test/java/com/phrase/client/api/DocumentsApiTest.java src/test/java/com/phrase/client/api/FigmaAttachmentsApiTest.java src/test/java/com/phrase/client/api/FormatsApiTest.java -src/test/java/com/phrase/client/api/GitHubSyncApiTest.java -src/test/java/com/phrase/client/api/GitLabSyncApiTest.java src/test/java/com/phrase/client/api/GlossariesApiTest.java src/test/java/com/phrase/client/api/GlossaryTermTranslationsApiTest.java src/test/java/com/phrase/client/api/GlossaryTermsApiTest.java @@ -656,10 +623,6 @@ src/test/java/com/phrase/client/model/AuthorizationCreateParametersTest.java src/test/java/com/phrase/client/model/AuthorizationTest.java src/test/java/com/phrase/client/model/AuthorizationUpdateParametersTest.java src/test/java/com/phrase/client/model/AuthorizationWithTokenTest.java -src/test/java/com/phrase/client/model/BitbucketSyncExportParametersTest.java -src/test/java/com/phrase/client/model/BitbucketSyncExportResponseTest.java -src/test/java/com/phrase/client/model/BitbucketSyncImportParametersTest.java -src/test/java/com/phrase/client/model/BitbucketSyncTest.java src/test/java/com/phrase/client/model/BlacklistedKeyCreateParametersTest.java src/test/java/com/phrase/client/model/BlacklistedKeyTest.java src/test/java/com/phrase/client/model/BlacklistedKeyUpdateParametersTest.java @@ -693,14 +656,6 @@ src/test/java/com/phrase/client/model/FigmaAttachmentCreateParametersTest.java src/test/java/com/phrase/client/model/FigmaAttachmentTest.java src/test/java/com/phrase/client/model/FigmaAttachmentUpdateParametersTest.java src/test/java/com/phrase/client/model/FormatTest.java -src/test/java/com/phrase/client/model/GithubSyncExportParametersTest.java -src/test/java/com/phrase/client/model/GithubSyncImportParametersTest.java -src/test/java/com/phrase/client/model/GitlabSyncExportParametersTest.java -src/test/java/com/phrase/client/model/GitlabSyncExportTest.java -src/test/java/com/phrase/client/model/GitlabSyncHistoryErrorsInnerTest.java -src/test/java/com/phrase/client/model/GitlabSyncHistoryTest.java -src/test/java/com/phrase/client/model/GitlabSyncImportParametersTest.java -src/test/java/com/phrase/client/model/GitlabSyncTest.java src/test/java/com/phrase/client/model/GlossaryCreateParametersTest.java src/test/java/com/phrase/client/model/GlossaryTermCreateParametersTest.java src/test/java/com/phrase/client/model/GlossaryTermTest.java diff --git a/README.md b/README.md index 4a461a9a5e..01c496444f 100644 --- a/README.md +++ b/README.md @@ -118,9 +118,6 @@ Class | Method | HTTP request | Description *AuthorizationsApi* | [**authorizationShow**](docs/AuthorizationsApi.md#authorizationShow) | **GET** /authorizations/{id} | Get a single authorization *AuthorizationsApi* | [**authorizationUpdate**](docs/AuthorizationsApi.md#authorizationUpdate) | **PATCH** /authorizations/{id} | Update an authorization *AuthorizationsApi* | [**authorizationsList**](docs/AuthorizationsApi.md#authorizationsList) | **GET** /authorizations | List authorizations -*BitbucketSyncApi* | [**bitbucketSyncExport**](docs/BitbucketSyncApi.md#bitbucketSyncExport) | **POST** /bitbucket_syncs/{id}/export | Export from Phrase Strings to Bitbucket -*BitbucketSyncApi* | [**bitbucketSyncImport**](docs/BitbucketSyncApi.md#bitbucketSyncImport) | **POST** /bitbucket_syncs/{id}/import | Import to Phrase Strings from Bitbucket -*BitbucketSyncApi* | [**bitbucketSyncsList**](docs/BitbucketSyncApi.md#bitbucketSyncsList) | **GET** /bitbucket_syncs | List Bitbucket syncs *BlacklistedKeysApi* | [**blacklistedKeyCreate**](docs/BlacklistedKeysApi.md#blacklistedKeyCreate) | **POST** /projects/{project_id}/blacklisted_keys | Create a blocked key *BlacklistedKeysApi* | [**blacklistedKeyDelete**](docs/BlacklistedKeysApi.md#blacklistedKeyDelete) | **DELETE** /projects/{project_id}/blacklisted_keys/{id} | Delete a blocked key *BlacklistedKeysApi* | [**blacklistedKeyShow**](docs/BlacklistedKeysApi.md#blacklistedKeyShow) | **GET** /projects/{project_id}/blacklisted_keys/{id} | Get a single blocked key @@ -169,15 +166,6 @@ Class | Method | HTTP request | Description *FigmaAttachmentsApi* | [**figmaAttachmentUpdate**](docs/FigmaAttachmentsApi.md#figmaAttachmentUpdate) | **PATCH** /projects/{project_id}/figma_attachments/{id} | Update a Figma attachment *FigmaAttachmentsApi* | [**figmaAttachmentsList**](docs/FigmaAttachmentsApi.md#figmaAttachmentsList) | **GET** /projects/{project_id}/figma_attachments | List Figma attachments *FormatsApi* | [**formatsList**](docs/FormatsApi.md#formatsList) | **GET** /formats | List formats -*GitHubSyncApi* | [**githubSyncExport**](docs/GitHubSyncApi.md#githubSyncExport) | **POST** /github_syncs/export | Export from Phrase Strings to GitHub -*GitHubSyncApi* | [**githubSyncImport**](docs/GitHubSyncApi.md#githubSyncImport) | **POST** /github_syncs/import | Import to Phrase Strings from GitHub -*GitLabSyncApi* | [**gitlabSyncDelete**](docs/GitLabSyncApi.md#gitlabSyncDelete) | **DELETE** /gitlab_syncs/{id} | Delete single Sync Setting -*GitLabSyncApi* | [**gitlabSyncExport**](docs/GitLabSyncApi.md#gitlabSyncExport) | **POST** /gitlab_syncs/{gitlab_sync_id}/export | Export from Phrase Strings to GitLab -*GitLabSyncApi* | [**gitlabSyncHistory**](docs/GitLabSyncApi.md#gitlabSyncHistory) | **GET** /gitlab_syncs/{gitlab_sync_id}/history | History of single Sync Setting -*GitLabSyncApi* | [**gitlabSyncImport**](docs/GitLabSyncApi.md#gitlabSyncImport) | **POST** /gitlab_syncs/{gitlab_sync_id}/import | Import from GitLab to Phrase -*GitLabSyncApi* | [**gitlabSyncList**](docs/GitLabSyncApi.md#gitlabSyncList) | **GET** /gitlab_syncs | List GitLab syncs -*GitLabSyncApi* | [**gitlabSyncShow**](docs/GitLabSyncApi.md#gitlabSyncShow) | **GET** /gitlab_syncs/{id} | Get single Sync Setting -*GitLabSyncApi* | [**gitlabSyncUpdate**](docs/GitLabSyncApi.md#gitlabSyncUpdate) | **PUT** /gitlab_syncs/{id} | Update single Sync Setting *GlossariesApi* | [**glossariesList**](docs/GlossariesApi.md#glossariesList) | **GET** /accounts/{account_id}/glossaries | List term bases *GlossariesApi* | [**glossaryCreate**](docs/GlossariesApi.md#glossaryCreate) | **POST** /accounts/{account_id}/glossaries | Create a term base *GlossariesApi* | [**glossaryDelete**](docs/GlossariesApi.md#glossaryDelete) | **DELETE** /accounts/{account_id}/glossaries/{id} | Delete a term base @@ -403,10 +391,6 @@ Class | Method | HTTP request | Description - [AuthorizationCreateParameters](docs/AuthorizationCreateParameters.md) - [AuthorizationUpdateParameters](docs/AuthorizationUpdateParameters.md) - [AuthorizationWithToken](docs/AuthorizationWithToken.md) - - [BitbucketSync](docs/BitbucketSync.md) - - [BitbucketSyncExportParameters](docs/BitbucketSyncExportParameters.md) - - [BitbucketSyncExportResponse](docs/BitbucketSyncExportResponse.md) - - [BitbucketSyncImportParameters](docs/BitbucketSyncImportParameters.md) - [BlacklistedKey](docs/BlacklistedKey.md) - [BlacklistedKeyCreateParameters](docs/BlacklistedKeyCreateParameters.md) - [BlacklistedKeyUpdateParameters](docs/BlacklistedKeyUpdateParameters.md) @@ -440,14 +424,6 @@ Class | Method | HTTP request | Description - [FigmaAttachmentCreateParameters](docs/FigmaAttachmentCreateParameters.md) - [FigmaAttachmentUpdateParameters](docs/FigmaAttachmentUpdateParameters.md) - [Format](docs/Format.md) - - [GithubSyncExportParameters](docs/GithubSyncExportParameters.md) - - [GithubSyncImportParameters](docs/GithubSyncImportParameters.md) - - [GitlabSync](docs/GitlabSync.md) - - [GitlabSyncExport](docs/GitlabSyncExport.md) - - [GitlabSyncExportParameters](docs/GitlabSyncExportParameters.md) - - [GitlabSyncHistory](docs/GitlabSyncHistory.md) - - [GitlabSyncHistoryErrorsInner](docs/GitlabSyncHistoryErrorsInner.md) - - [GitlabSyncImportParameters](docs/GitlabSyncImportParameters.md) - [Glossary](docs/Glossary.md) - [GlossaryCreateParameters](docs/GlossaryCreateParameters.md) - [GlossaryTerm](docs/GlossaryTerm.md) diff --git a/api/openapi.yaml b/api/openapi.yaml index f395c232bf..e332b3bfdd 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -1482,7 +1482,6 @@ tags: name: Authorizations -- name: Bitbucket Sync - name: Blacklisted Keys - description: | ### Branch creation @@ -1528,8 +1527,6 @@ tags: - name: Documents - name: Figma Attachments - name: Formats -- name: GitHub Sync -- name: GitLab Sync - name: Glossaries - name: Glossary Terms - name: Glossary Term Translations @@ -10496,11 +10493,10 @@ paths: x-cli-version: "2.5" x-content-type: application/json x-accepts: application/json - /bitbucket_syncs: + /projects/{project_id}/keys/{key_id}/comments: get: - description: List all Bitbucket repositories for which synchronisation with - Phrase Strings is activated. - operationId: bitbucket_syncs/list + description: List all comments for a key. + operationId: comments/list parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -10510,23 +10506,108 @@ paths: schema: type: string style: simple - - description: Account ID to specify the actual account the project should be - created in. Required if the requesting user is a member of multiple accounts. - example: abcd1234 + - description: Project ID + explode: false + in: path + name: project_id + required: true + schema: + type: string + style: simple + - description: Translation Key ID + explode: false + in: path + name: key_id + required: true + schema: + type: string + style: simple + - allowEmptyValue: false + description: Page number + example: 1 explode: true in: query - name: account_id + name: page + required: false + schema: + type: integer + style: form + - allowEmptyValue: false + description: "Limit on the number of objects to be returned, between 1 and\ + \ 100. 25 by default" + example: 25 + explode: true + in: query + name: per_page + required: false + schema: + type: integer + style: form + - description: specify the branch to use + example: my-feature-branch + explode: true + in: query + name: branch + required: false + schema: + type: string + style: form + - description: Search query for comment messages + example: Some comment content + explode: true + in: query + name: query + required: false + schema: + type: string + style: form + - description: Search comments by their assigned locales + example: + - someId + explode: true + in: query + name: locale_ids + required: false + schema: + items: + type: string + type: array + style: form + - description: Specify the filter for the comments + explode: true + in: query + name: filters + required: false + schema: + example: + - read + - unread + items: + type: string + type: array + style: form + - description: "Order direction. Can be one of: asc, desc." + example: desc + explode: true + in: query + name: order required: false schema: type: string style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/comments_list_parameters' + required: true responses: "200": content: application/json: schema: items: - $ref: '#/components/schemas/bitbucket_sync' + $ref: '#/components/schemas/comment' type: array description: OK headers: @@ -10567,28 +10648,33 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: List Bitbucket syncs + summary: List comments tags: - - Bitbucket Sync + - Comments x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/bitbucket_syncs?account_id=abcd1234" \ - -u USERNAME_OR_ACCESS_TOKEN + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments?branch=my-feature-branch&filters=unread&query=something&locale_ids=someId&order=desc" \ + -u USERNAME_OR_ACCESS_TOKEN \ + -X GET \ + -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase bitbucket_sync list \ - --account_id abcd1234 \ + phrase comments list \ + --project_id \ + --key_id \ + --branch "my-feature-branch" \ + --filters unread \ + --order desc \ + --query "Some comment content" \ + --locale_ids someId \ --access_token x-cli-version: "2.5" + x-content-type: application/json x-accepts: application/json - /bitbucket_syncs/{id}/export: post: - description: "Export translations from Phrase Strings to Bitbucket according\ - \ to the .phraseapp.yml file within the Bitbucket Repository.

Note:\ - \ Export is done asynchronously and may take several seconds depending on\ - \ the project size." - operationId: bitbucket_sync/export + description: Create a new comment for a key. + operationId: comment/create parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -10598,10 +10684,18 @@ paths: schema: type: string style: simple - - description: ID + - description: Project ID explode: false in: path - name: id + name: project_id + required: true + schema: + type: string + style: simple + - description: Translation Key ID + explode: false + in: path + name: key_id required: true schema: type: string @@ -10610,15 +10704,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/bitbucket_sync_export_parameters' + $ref: '#/components/schemas/comment_create_parameters' required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/bitbucket_sync_export_response' - description: OK + $ref: '#/components/schemas/comment' + description: Created headers: X-Rate-Limit-Limit: $ref: '#/components/headers/X-Rate-Limit-Limit' @@ -10653,33 +10747,31 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Export from Phrase Strings to Bitbucket + summary: Create a comment tags: - - Bitbucket Sync + - Comments x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/bitbucket_syncs/:id/export" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments" \ -u USERNAME_OR_ACCESS_TOKEN \ -X POST \ - -d '{"account_id":"abcd1234"}' \ + -d '{"branch":"my-feature-branch", "message":"Some message...", "locale_ids": ["someId"]}' \ -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase bitbucket_sync export \ - --id \ - --data '{"account_id":"abcd1234"}' \ + phrase comments create \ + --project_id \ + --key_id \ + --data '{"branch":"my-feature-branch", "message": "Some message...", "locale_ids": ["someId"]}' \ --access_token x-cli-version: "2.5" x-content-type: application/json x-accepts: application/json - /bitbucket_syncs/{id}/import: - post: - description: "Import translations from Bitbucket to Phrase Strings according\ - \ to the .phraseapp.yml file within the Bitbucket repository.

Note:\ - \ Import is done asynchronously and may take several seconds depending on\ - \ the project size." - operationId: bitbucket_sync/import + /projects/{project_id}/keys/{key_id}/comments/{id}: + delete: + description: Delete an existing comment. + operationId: comment/delete parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -10689,6 +10781,22 @@ paths: schema: type: string style: simple + - description: Project ID + explode: false + in: path + name: project_id + required: true + schema: + type: string + style: simple + - description: Translation Key ID + explode: false + in: path + name: key_id + required: true + schema: + type: string + style: simple - description: ID explode: false in: path @@ -10697,15 +10805,18 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/bitbucket_sync_import_parameters' - required: true + - description: specify the branch to use + example: my-feature-branch + explode: true + in: query + name: branch + required: false + schema: + type: string + style: form responses: - "200": - description: OK + "204": + description: The resource was deleted successfully. headers: X-Rate-Limit-Limit: $ref: '#/components/headers/X-Rate-Limit-Limit' @@ -10740,30 +10851,30 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Import to Phrase Strings from Bitbucket + summary: Delete a comment tags: - - Bitbucket Sync + - Comments x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/bitbucket_syncs/:id/import" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id" \ -u USERNAME_OR_ACCESS_TOKEN \ - -X POST \ - -d '{"account_id":"abcd1234"}' \ + -X DELETE \ + -d '{"branch":"my-feature-branch"}' \ -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase bitbucket_sync import \ + phrase comments delete \ + --project_id \ + --key_id \ --id \ - --data '{"account_id":"abcd1234"}' \ + --branch my-feature-branch \ --access_token x-cli-version: "2.5" - x-content-type: application/json x-accepts: application/json - /projects/{project_id}/keys/{key_id}/comments: get: - description: List all comments for a key. - operationId: comments/list + description: Get details on a single comment. + operationId: comment/show parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -10789,27 +10900,14 @@ paths: schema: type: string style: simple - - allowEmptyValue: false - description: Page number - example: 1 - explode: true - in: query - name: page - required: false - schema: - type: integer - style: form - - allowEmptyValue: false - description: "Limit on the number of objects to be returned, between 1 and\ - \ 100. 25 by default" - example: 25 - explode: true - in: query - name: per_page - required: false + - description: ID + explode: false + in: path + name: id + required: true schema: - type: integer - style: form + type: string + style: simple - description: specify the branch to use example: my-feature-branch explode: true @@ -10819,63 +10917,12 @@ paths: schema: type: string style: form - - description: Search query for comment messages - example: Some comment content - explode: true - in: query - name: query - required: false - schema: - type: string - style: form - - description: Search comments by their assigned locales - example: - - someId - explode: true - in: query - name: locale_ids - required: false - schema: - items: - type: string - type: array - style: form - - description: Specify the filter for the comments - explode: true - in: query - name: filters - required: false - schema: - example: - - read - - unread - items: - type: string - type: array - style: form - - description: "Order direction. Can be one of: asc, desc." - example: desc - explode: true - in: query - name: order - required: false - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/comments_list_parameters' - required: true responses: "200": content: application/json: schema: - items: - $ref: '#/components/schemas/comment' - type: array + $ref: '#/components/schemas/comment' description: OK headers: X-Rate-Limit-Limit: @@ -10884,10 +10931,6 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - Link: - $ref: '#/components/headers/Link' - Pagination: - $ref: '#/components/headers/Pagination' "400": description: Bad request headers: @@ -10915,33 +10958,27 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: List comments + summary: Get a single comment tags: - Comments x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments?branch=my-feature-branch&filters=unread&query=something&locale_ids=someId&order=desc" \ - -u USERNAME_OR_ACCESS_TOKEN \ - -X GET \ - -H 'Content-Type: application/json' + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id?branch=my-feature-branch" \ + -u USERNAME_OR_ACCESS_TOKEN - lang: CLI v2 source: |- - phrase comments list \ + phrase comments show \ --project_id \ --key_id \ - --branch "my-feature-branch" \ - --filters unread \ - --order desc \ - --query "Some comment content" \ - --locale_ids someId \ + --id \ + --branch my-feature-branch \ --access_token x-cli-version: "2.5" - x-content-type: application/json x-accepts: application/json - post: - description: Create a new comment for a key. - operationId: comment/create + patch: + description: Update an existing comment. + operationId: comment/update parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -10967,19 +11004,27 @@ paths: schema: type: string style: simple + - description: ID + explode: false + in: path + name: id + required: true + schema: + type: string + style: simple requestBody: content: application/json: schema: - $ref: '#/components/schemas/comment_create_parameters' + $ref: '#/components/schemas/comment_update_parameters' required: true responses: - "201": + "200": content: application/json: schema: $ref: '#/components/schemas/comment' - description: Created + description: OK headers: X-Rate-Limit-Limit: $ref: '#/components/headers/X-Rate-Limit-Limit' @@ -11014,31 +11059,32 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Create a comment + summary: Update a comment tags: - Comments x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id" \ -u USERNAME_OR_ACCESS_TOKEN \ - -X POST \ - -d '{"branch":"my-feature-branch", "message":"Some message...", "locale_ids": ["someId"]}' \ + -X PATCH \ + -d '{"branch":"my-feature-branch","message":"Some message..."}' \ -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase comments create \ + phrase comments update \ --project_id \ --key_id \ - --data '{"branch":"my-feature-branch", "message": "Some message...", "locale_ids": ["someId"]}' \ + --id \ + --data '{"branch":"my-feature-branch", "message": "Some message..."}' \ --access_token x-cli-version: "2.5" x-content-type: application/json x-accepts: application/json - /projects/{project_id}/keys/{key_id}/comments/{id}: + /projects/{project_id}/keys/{key_id}/comments/{id}/read: delete: - description: Delete an existing comment. - operationId: comment/delete + description: Mark a comment as unread. + operationId: comment/mark/unread parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -11118,20 +11164,20 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Delete a comment + summary: Mark a comment as unread tags: - Comments x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id/read" \ -u USERNAME_OR_ACCESS_TOKEN \ -X DELETE \ -d '{"branch":"my-feature-branch"}' \ -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase comments delete \ + phrase comments mark \ --project_id \ --key_id \ --id \ @@ -11140,8 +11186,9 @@ paths: x-cli-version: "2.5" x-accepts: application/json get: - description: Get details on a single comment. - operationId: comment/show + description: "Check if comment was marked as read. Returns 204 if read, 404\ + \ if unread." + operationId: comment/mark/check parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -11185,12 +11232,8 @@ paths: type: string style: form responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/comment' - description: OK + "204": + description: The resource was deleted successfully. headers: X-Rate-Limit-Limit: $ref: '#/components/headers/X-Rate-Limit-Limit' @@ -11225,17 +11268,17 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Get a single comment + summary: Check if comment is read tags: - Comments x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id?branch=my-feature-branch" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id/read?branch=my-feature-branch" \ -u USERNAME_OR_ACCESS_TOKEN - lang: CLI v2 source: |- - phrase comments show \ + phrase comments mark \ --project_id \ --key_id \ --id \ @@ -11244,8 +11287,8 @@ paths: x-cli-version: "2.5" x-accepts: application/json patch: - description: Update an existing comment. - operationId: comment/update + description: Mark a comment as read. + operationId: comment/mark/read parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -11283,15 +11326,11 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/comment_update_parameters' + $ref: '#/components/schemas/comment_mark_read_parameters' required: true responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/comment' - description: OK + "204": + description: The resource was deleted successfully. headers: X-Rate-Limit-Limit: $ref: '#/components/headers/X-Rate-Limit-Limit' @@ -11326,32 +11365,32 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Update a comment + summary: Mark a comment as read tags: - Comments x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id/read" \ -u USERNAME_OR_ACCESS_TOKEN \ -X PATCH \ - -d '{"branch":"my-feature-branch","message":"Some message..."}' \ + -d '{"branch":"my-feature-branch"}' \ -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase comments update \ + phrase comments mark \ --project_id \ --key_id \ --id \ - --data '{"branch":"my-feature-branch", "message": "Some message..."}' \ + --data '{"branch":"my-feature-branch"}' \ --access_token x-cli-version: "2.5" x-content-type: application/json x-accepts: application/json - /projects/{project_id}/keys/{key_id}/comments/{id}/read: - delete: - description: Mark a comment as unread. - operationId: comment/mark/unread + /projects/{project_id}/keys/{key_id}/comments/{comment_id}/reactions: + get: + description: List all reactions for a comment. + operationId: reactions/list parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -11377,14 +11416,35 @@ paths: schema: type: string style: simple - - description: ID + - description: Comment ID explode: false in: path - name: id + name: comment_id required: true schema: type: string style: simple + - allowEmptyValue: false + description: Page number + example: 1 + explode: true + in: query + name: page + required: false + schema: + type: integer + style: form + - allowEmptyValue: false + description: "Limit on the number of objects to be returned, between 1 and\ + \ 100. 25 by default" + example: 25 + explode: true + in: query + name: per_page + required: false + schema: + type: integer + style: form - description: specify the branch to use example: my-feature-branch explode: true @@ -11395,8 +11455,14 @@ paths: type: string style: form responses: - "204": - description: The resource was deleted successfully. + "200": + content: + application/json: + schema: + items: + $ref: '#/components/schemas/comment_reaction' + type: array + description: OK headers: X-Rate-Limit-Limit: $ref: '#/components/headers/X-Rate-Limit-Limit' @@ -11404,6 +11470,10 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' + Link: + $ref: '#/components/headers/Link' + Pagination: + $ref: '#/components/headers/Pagination' "400": description: Bad request headers: @@ -11413,6 +11483,15 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' + "403": + description: Forbidden + headers: + X-Rate-Limit-Limit: + $ref: '#/components/headers/X-Rate-Limit-Limit' + X-Rate-Limit-Remaining: + $ref: '#/components/headers/X-Rate-Limit-Remaining' + X-Rate-Limit-Reset: + $ref: '#/components/headers/X-Rate-Limit-Reset' "404": description: Not Found headers: @@ -11431,31 +11510,30 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Mark a comment as unread + summary: List reactions tags: - - Comments + - Comment Reactions x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id/read" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/reactions" \ -u USERNAME_OR_ACCESS_TOKEN \ - -X DELETE \ + -X GET \ -d '{"branch":"my-feature-branch"}' \ -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase comments mark \ + phrase reactions list \ --project_id \ --key_id \ - --id \ + --comment_id \ --branch my-feature-branch \ --access_token - x-cli-version: "2.5" + x-cli-version: "2.9" x-accepts: application/json - get: - description: "Check if comment was marked as read. Returns 204 if read, 404\ - \ if unread." - operationId: comment/mark/check + post: + description: Create a new reaction for a comment. + operationId: reaction/create parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -11481,10 +11559,10 @@ paths: schema: type: string style: simple - - description: ID + - description: Comment ID explode: false in: path - name: id + name: comment_id required: true schema: type: string @@ -11498,9 +11576,22 @@ paths: schema: type: string style: form + - description: specify the emoji for the reaction + example: 👍 + explode: true + in: query + name: emoji + required: false + schema: + type: string + style: form responses: - "204": - description: The resource was deleted successfully. + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/comment_reaction' + description: Created headers: X-Rate-Limit-Limit: $ref: '#/components/headers/X-Rate-Limit-Limit' @@ -11517,6 +11608,15 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' + "403": + description: Forbidden + headers: + X-Rate-Limit-Limit: + $ref: '#/components/headers/X-Rate-Limit-Limit' + X-Rate-Limit-Remaining: + $ref: '#/components/headers/X-Rate-Limit-Remaining' + X-Rate-Limit-Reset: + $ref: '#/components/headers/X-Rate-Limit-Reset' "404": description: Not Found headers: @@ -11535,27 +11635,31 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Check if comment is read + summary: Create a reaction tags: - - Comments + - Comment Reactions x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id/read?branch=my-feature-branch" \ - -u USERNAME_OR_ACCESS_TOKEN + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/reactions/" \ + -u USERNAME_OR_ACCESS_TOKEN \ + -X DELETE \ + -d '{"branch":"my-feature-branch", "emoji": "👍"}' \ + -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase comments mark \ + phrase reactions create \ --project_id \ --key_id \ - --id \ - --branch my-feature-branch \ + --comment_id \ + --data '{"branch":"my-feature-branch", "emoji": "👍"]}' \ --access_token - x-cli-version: "2.5" + x-cli-version: "2.9" x-accepts: application/json - patch: - description: Mark a comment as read. - operationId: comment/mark/read + /projects/{project_id}/keys/{key_id}/comments/{comment_id}/reactions/{id}: + delete: + description: Delete an existing reaction. + operationId: reaction/delete parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -11581,6 +11685,14 @@ paths: schema: type: string style: simple + - description: Comment ID + explode: false + in: path + name: comment_id + required: true + schema: + type: string + style: simple - description: ID explode: false in: path @@ -11589,12 +11701,15 @@ paths: schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/comment_mark_read_parameters' - required: true + - description: specify the branch to use + example: my-feature-branch + explode: true + in: query + name: branch + required: false + schema: + type: string + style: form responses: "204": description: The resource was deleted successfully. @@ -11614,6 +11729,15 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' + "403": + description: Forbidden + headers: + X-Rate-Limit-Limit: + $ref: '#/components/headers/X-Rate-Limit-Limit' + X-Rate-Limit-Remaining: + $ref: '#/components/headers/X-Rate-Limit-Remaining' + X-Rate-Limit-Reset: + $ref: '#/components/headers/X-Rate-Limit-Reset' "404": description: Not Found headers: @@ -11632,32 +11756,31 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Mark a comment as read + summary: Delete a reaction tags: - - Comments + - Comment Reactions x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:id/read" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/reactions/:id" \ -u USERNAME_OR_ACCESS_TOKEN \ - -X PATCH \ + -X DELETE \ -d '{"branch":"my-feature-branch"}' \ -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase comments mark \ + phrase reactions delete \ --project_id \ --key_id \ + --comment_id \ --id \ - --data '{"branch":"my-feature-branch"}' \ + --branch my-feature-branch \ --access_token - x-cli-version: "2.5" - x-content-type: application/json + x-cli-version: "2.9" x-accepts: application/json - /projects/{project_id}/keys/{key_id}/comments/{comment_id}/reactions: get: - description: List all reactions for a comment. - operationId: reactions/list + description: Get details on a single reaction. + operationId: reaction/show parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -11691,27 +11814,14 @@ paths: schema: type: string style: simple - - allowEmptyValue: false - description: Page number - example: 1 - explode: true - in: query - name: page - required: false - schema: - type: integer - style: form - - allowEmptyValue: false - description: "Limit on the number of objects to be returned, between 1 and\ - \ 100. 25 by default" - example: 25 - explode: true - in: query - name: per_page - required: false + - description: ID + explode: false + in: path + name: id + required: true schema: - type: integer - style: form + type: string + style: simple - description: specify the branch to use example: my-feature-branch explode: true @@ -11726,9 +11836,7 @@ paths: content: application/json: schema: - items: - $ref: '#/components/schemas/comment_reaction' - type: array + $ref: '#/components/schemas/comment_reaction' description: OK headers: X-Rate-Limit-Limit: @@ -11737,10 +11845,6 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - Link: - $ref: '#/components/headers/Link' - Pagination: - $ref: '#/components/headers/Pagination' "400": description: Bad request headers: @@ -11777,30 +11881,32 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: List reactions + summary: Get a single reaction tags: - Comment Reactions x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/reactions" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/reactions/:id" \ -u USERNAME_OR_ACCESS_TOKEN \ -X GET \ -d '{"branch":"my-feature-branch"}' \ -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase reactions list \ + phrase reactions show \ --project_id \ --key_id \ --comment_id \ + --id \ --branch my-feature-branch \ --access_token x-cli-version: "2.9" x-accepts: application/json - post: - description: Create a new reaction for a comment. - operationId: reaction/create + /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies: + get: + description: List all replies for a comment. + operationId: replies/list parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -11834,6 +11940,27 @@ paths: schema: type: string style: simple + - allowEmptyValue: false + description: Page number + example: 1 + explode: true + in: query + name: page + required: false + schema: + type: integer + style: form + - allowEmptyValue: false + description: "Limit on the number of objects to be returned, between 1 and\ + \ 100. 25 by default" + example: 25 + explode: true + in: query + name: per_page + required: false + schema: + type: integer + style: form - description: specify the branch to use example: my-feature-branch explode: true @@ -11843,22 +11970,52 @@ paths: schema: type: string style: form - - description: specify the emoji for the reaction - example: 👍 + - description: Search query for comment messages + example: Some comment content explode: true in: query - name: emoji + name: query required: false schema: type: string style: form + - description: Specify the filter for the comments + explode: true + in: query + name: filters + required: false + schema: + example: + - read + - unread + items: + type: string + type: array + style: form + - description: "Order direction. Can be one of: asc, desc." + example: desc + explode: true + in: query + name: order + required: false + schema: + type: string + style: form + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/replies_list_parameters' + required: true responses: - "201": + "200": content: application/json: schema: - $ref: '#/components/schemas/comment_reaction' - description: Created + items: + $ref: '#/components/schemas/comment' + type: array + description: OK headers: X-Rate-Limit-Limit: $ref: '#/components/headers/X-Rate-Limit-Limit' @@ -11866,6 +12023,10 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' + Link: + $ref: '#/components/headers/Link' + Pagination: + $ref: '#/components/headers/Pagination' "400": description: Bad request headers: @@ -11902,31 +12063,33 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Create a reaction + summary: List replies tags: - - Comment Reactions + - Comment Replies x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/reactions/" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies?branch=my-feature-branch&filters=unread&query=something&order=desc" \ -u USERNAME_OR_ACCESS_TOKEN \ - -X DELETE \ - -d '{"branch":"my-feature-branch", "emoji": "👍"}' \ + -X GET \ -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase reactions create \ + phrase replies list \ --project_id \ --key_id \ --comment_id \ - --data '{"branch":"my-feature-branch", "emoji": "👍"]}' \ + --branch "my-feature-branch" \ + --filters unread \ + --order desc \ + --query "Some comment content" \ --access_token - x-cli-version: "2.9" + x-cli-version: "2.10" + x-content-type: application/json x-accepts: application/json - /projects/{project_id}/keys/{key_id}/comments/{comment_id}/reactions/{id}: - delete: - description: Delete an existing reaction. - operationId: reaction/delete + post: + description: Create a new reply for a comment. + operationId: reply/create parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -11960,26 +12123,19 @@ paths: schema: type: string style: simple - - description: ID - explode: false - in: path - name: id + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/comment_create_parameters_1' required: true - schema: - type: string - style: simple - - description: specify the branch to use - example: my-feature-branch - explode: true - in: query - name: branch - required: false - schema: - type: string - style: form responses: - "204": - description: The resource was deleted successfully. + "201": + content: + application/json: + schema: + $ref: '#/components/schemas/comment' + description: Created headers: X-Rate-Limit-Limit: $ref: '#/components/headers/X-Rate-Limit-Limit' @@ -12023,455 +12179,32 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Delete a reaction + summary: Create a reply tags: - - Comment Reactions + - Comment Replies x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/reactions/:id" \ + curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies" \ -u USERNAME_OR_ACCESS_TOKEN \ - -X DELETE \ - -d '{"branch":"my-feature-branch"}' \ + -X POST \ + -d '{"branch":"my-feature-branch", "message":"Some message..."}' \ -H 'Content-Type: application/json' - lang: CLI v2 source: |- - phrase reactions delete \ + phrase replies create \ --project_id \ --key_id \ --comment_id \ - --id \ - --branch my-feature-branch \ + --data '{"branch":"my-feature-branch", "message": "Some message..."]}' \ --access_token - x-cli-version: "2.9" + x-cli-version: "2.10" + x-content-type: application/json x-accepts: application/json - get: - description: Get details on a single reaction. - operationId: reaction/show - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - - description: Project ID - explode: false - in: path - name: project_id - required: true - schema: - type: string - style: simple - - description: Translation Key ID - explode: false - in: path - name: key_id - required: true - schema: - type: string - style: simple - - description: Comment ID - explode: false - in: path - name: comment_id - required: true - schema: - type: string - style: simple - - description: ID - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - - description: specify the branch to use - example: my-feature-branch - explode: true - in: query - name: branch - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/comment_reaction' - description: OK - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "403": - description: Forbidden - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Get a single reaction - tags: - - Comment Reactions - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/reactions/:id" \ - -u USERNAME_OR_ACCESS_TOKEN \ - -X GET \ - -d '{"branch":"my-feature-branch"}' \ - -H 'Content-Type: application/json' - - lang: CLI v2 - source: |- - phrase reactions show \ - --project_id \ - --key_id \ - --comment_id \ - --id \ - --branch my-feature-branch \ - --access_token - x-cli-version: "2.9" - x-accepts: application/json - /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies: - get: - description: List all replies for a comment. - operationId: replies/list - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - - description: Project ID - explode: false - in: path - name: project_id - required: true - schema: - type: string - style: simple - - description: Translation Key ID - explode: false - in: path - name: key_id - required: true - schema: - type: string - style: simple - - description: Comment ID - explode: false - in: path - name: comment_id - required: true - schema: - type: string - style: simple - - allowEmptyValue: false - description: Page number - example: 1 - explode: true - in: query - name: page - required: false - schema: - type: integer - style: form - - allowEmptyValue: false - description: "Limit on the number of objects to be returned, between 1 and\ - \ 100. 25 by default" - example: 25 - explode: true - in: query - name: per_page - required: false - schema: - type: integer - style: form - - description: specify the branch to use - example: my-feature-branch - explode: true - in: query - name: branch - required: false - schema: - type: string - style: form - - description: Search query for comment messages - example: Some comment content - explode: true - in: query - name: query - required: false - schema: - type: string - style: form - - description: Specify the filter for the comments - explode: true - in: query - name: filters - required: false - schema: - example: - - read - - unread - items: - type: string - type: array - style: form - - description: "Order direction. Can be one of: asc, desc." - example: desc - explode: true - in: query - name: order - required: false - schema: - type: string - style: form - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/replies_list_parameters' - required: true - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/comment' - type: array - description: OK - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - Link: - $ref: '#/components/headers/Link' - Pagination: - $ref: '#/components/headers/Pagination' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "403": - description: Forbidden - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: List replies - tags: - - Comment Replies - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies?branch=my-feature-branch&filters=unread&query=something&order=desc" \ - -u USERNAME_OR_ACCESS_TOKEN \ - -X GET \ - -H 'Content-Type: application/json' - - lang: CLI v2 - source: |- - phrase replies list \ - --project_id \ - --key_id \ - --comment_id \ - --branch "my-feature-branch" \ - --filters unread \ - --order desc \ - --query "Some comment content" \ - --access_token - x-cli-version: "2.10" - x-content-type: application/json - x-accepts: application/json - post: - description: Create a new reply for a comment. - operationId: reply/create - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - - description: Project ID - explode: false - in: path - name: project_id - required: true - schema: - type: string - style: simple - - description: Translation Key ID - explode: false - in: path - name: key_id - required: true - schema: - type: string - style: simple - - description: Comment ID - explode: false - in: path - name: comment_id - required: true - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/comment_create_parameters_1' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/comment' - description: Created - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "403": - description: Forbidden - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Create a reply - tags: - - Comment Replies - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/projects/:project_id/keys/:key_id/comments/:comment_id/replies" \ - -u USERNAME_OR_ACCESS_TOKEN \ - -X POST \ - -d '{"branch":"my-feature-branch", "message":"Some message..."}' \ - -H 'Content-Type: application/json' - - lang: CLI v2 - source: |- - phrase replies create \ - --project_id \ - --key_id \ - --comment_id \ - --data '{"branch":"my-feature-branch", "message": "Some message..."]}' \ - --access_token - x-cli-version: "2.10" - x-content-type: application/json - x-accepts: application/json - /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies/{id}: - delete: - description: Delete an existing reply. - operationId: reply/delete + /projects/{project_id}/keys/{key_id}/comments/{comment_id}/replies/{id}: + delete: + description: Delete an existing reply. + operationId: reply/delete parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -13480,891 +13213,27 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Test a webhook - tags: - - Webhooks - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/projects/:project_id/webhooks/:id/test" \ - -u USERNAME_OR_ACCESS_TOKEN \ - -X POST - - lang: CLI v2 - source: |- - phrase webhooks test \ - --project_id \ - --id \ - --access_token - x-cli-version: "2.5" - x-accepts: application/json - /projects/{project_id}/uploads: - get: - description: List all uploads for the given project. - operationId: uploads/list - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - - description: Project ID - explode: false - in: path - name: project_id - required: true - schema: - type: string - style: simple - - allowEmptyValue: false - description: Page number - example: 1 - explode: true - in: query - name: page - required: false - schema: - type: integer - style: form - - allowEmptyValue: false - description: "Limit on the number of objects to be returned, between 1 and\ - \ 100. 25 by default" - example: 25 - explode: true - in: query - name: per_page - required: false - schema: - type: integer - style: form - - description: specify the branch to use - example: my-feature-branch - explode: true - in: query - name: branch - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/upload' - type: array - description: OK - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - Link: - $ref: '#/components/headers/Link' - Pagination: - $ref: '#/components/headers/Pagination' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: List uploads - tags: - - Uploads - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/projects/:project_id/uploads?branch=my-feature-branch" \ - -u USERNAME_OR_ACCESS_TOKEN - - lang: CLI v2 - source: |- - phrase uploads list \ - --project_id \ - --branch my-feature-branch \ - --access_token - x-cli-version: "2.5" - x-accepts: application/json - post: - description: Upload a new language file. Creates necessary resources in your - project. - operationId: upload/create - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - - description: Project ID - explode: false - in: path - name: project_id - required: true - schema: - type: string - style: simple - requestBody: - content: - multipart/form-data: - schema: - $ref: '#/components/schemas/upload_create_parameters' - required: true - responses: - "201": - content: - application/json: - schema: - $ref: '#/components/schemas/upload' - description: Created - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Upload a new file - tags: - - Uploads - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/projects/:project_id/uploads" \ - -u USERNAME_OR_ACCESS_TOKEN \ - -X POST \ - -F branch=my-feature-branch \ - -F file=@/path/to/my/file.json \ - -F file_format=json \ - -F locale_id=abcd1234cdef1234abcd1234cdef1234 \ - -F tags=awesome-feature,needs-proofreading \ - -F locale_mapping[en]=2 \ - -F format_options[foo]=bar - - lang: CLI v2 - source: |- - phrase uploads create \ - --project_id \ - --branch my-feature-branch \ - --file /path/to/my/file.json \ - --file_format json \ - --locale_id abcd1234cdef1234abcd1234cdef1234 \ - --tags awesome-feature,needs-proofreading \ - --locale_mapping '{"en": "2"}' \ - --format_options '{"foo": "bar"}' \ - --access_token - x-cli-version: "2.12" - x-content-type: multipart/form-data - x-accepts: application/json - /projects/{project_id}/uploads/{id}: - get: - description: View details and summary for a single upload. - operationId: upload/show - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - - description: Project ID - explode: false - in: path - name: project_id - required: true - schema: - type: string - style: simple - - description: ID - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - - description: specify the branch to use - example: my-feature-branch - explode: true - in: query - name: branch - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/upload' - description: OK - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Get a single upload - tags: - - Uploads - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/projects/:project_id/uploads/:id?branch=my-feature-branch" \ - -u USERNAME_OR_ACCESS_TOKEN - - lang: CLI v2 - source: |- - phrase uploads show \ - --project_id \ - --id \ - --branch my-feature-branch \ - --access_token - x-cli-version: "2.5" - x-accepts: application/json - /github_syncs/export: - post: - description: "Export translations from Phrase Strings to GitHub according to\ - \ the .phraseapp.yml file within the GitHub repository.

Note: Export\ - \ is done asynchronously and may take several seconds depending on the project\ - \ size." - operationId: github_sync/export - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/github_sync_export_parameters' - required: true - responses: - "200": - description: OK - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "422": - content: - application/json: - schema: - $ref: '#/components/schemas/custom_metadata_property_create_422_response' - description: Unprocessable entity - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Export from Phrase Strings to GitHub - tags: - - GitHub Sync - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/github_syncs/export" \ - -u USERNAME_OR_ACCESS_TOKEN \ - -X POST \ - -d '{"project_id":"abcd1234"}' \ - -H 'Content-Type: application/json' - - lang: CLI v2 - source: UNAVAILABLE - x-cli-version: "2.5" - x-content-type: application/json - x-accepts: application/json - /github_syncs/import: - post: - description: "Import files to Phrase Strings from your connected GitHub repository.\ - \

Note: Import is done asynchronously and may take several seconds\ - \ depending on the project size." - operationId: github_sync/import - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/github_sync_import_parameters' - required: true - responses: - "200": - description: OK - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "422": - content: - application/json: - schema: - $ref: '#/components/schemas/custom_metadata_property_create_422_response' - description: Unprocessable entity - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Import to Phrase Strings from GitHub - tags: - - GitHub Sync - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/github_syncs/import" \ - -u USERNAME_OR_ACCESS_TOKEN \ - -X POST \ - -d '{"project_id":"abcd1234"}' \ - -H 'Content-Type: application/json' - - lang: CLI v2 - source: UNAVAILABLE - x-cli-version: "2.5" - x-content-type: application/json - x-accepts: application/json - /gitlab_syncs: - get: - description: List all GitLab Sync Settings for which synchronisation with Phrase - Strings and GitLab is activated. - operationId: gitlab_sync/list - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - - description: Account ID to specify the actual account the GitLab Sync should - be created in. Required if the requesting user is a member of multiple accounts. - example: abcd1234 - explode: true - in: query - name: account_id - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - items: - $ref: '#/components/schemas/gitlab_sync' - type: array - description: OK - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - Link: - $ref: '#/components/headers/Link' - Pagination: - $ref: '#/components/headers/Pagination' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: List GitLab syncs - tags: - - GitLab Sync - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/gitlab_syncs?account_id=abcd1234" \ - -u USERNAME_OR_ACCESS_TOKEN - - lang: CLI v2 - source: |- - phrase git_lab_sync list \ - --account_id abcd1234 \ - --access_token - x-cli-version: "2.5" - x-accepts: application/json - /gitlab_syncs/{id}: - delete: - description: Deletes a single GitLab Sync Setting. - operationId: gitlab_sync/delete - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - - description: ID - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - - description: Account ID to specify the actual account the GitLab Sync should - be created in. Required if the requesting user is a member of multiple accounts. - example: abcd1234 - explode: true - in: query - name: account_id - required: false - schema: - type: string - style: form - responses: - "204": - description: The resource was deleted successfully. - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Delete single Sync Setting - tags: - - GitLab Sync - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/gitlab_syncs/:id" \ - -u USERNAME_OR_ACCESS_TOKEN \ - -X DELETE \ - -d '{"account_id":"abcd1234"}' \ - -H 'Content-Type: application/json' - - lang: CLI v2 - source: |- - phrase git_lab_sync delete \ - --id \ - --account_id abcd1234 \ - --access_token - x-cli-version: "2.5" - x-accepts: application/json - get: - description: Shows a single GitLab Sync Setting. - operationId: gitlab_sync/show - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - - description: ID - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - - description: Account ID to specify the actual account the GitLab Sync should - be created in. Required if the requesting user is a member of multiple accounts. - example: abcd1234 - explode: true - in: query - name: account_id - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/gitlab_sync' - description: OK - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Get single Sync Setting - tags: - - GitLab Sync - x-code-samples: - - lang: Curl - source: |- - curl "https://api.phrase.com/v2/gitlab_syncs/:id?account_id=abcd1234" \ - -u USERNAME_OR_ACCESS_TOKEN - - lang: CLI v2 - source: |- - phrase git_lab_sync show \ - --id \ - --account_id abcd1234 \ - --access_token - x-cli-version: "2.5" - x-accepts: application/json - put: - description: Updates a single GitLab Sync Setting. - operationId: gitlab_sync/update - parameters: - - description: Two-Factor-Authentication token (optional) - explode: false - in: header - name: X-PhraseApp-OTP - required: false - schema: - type: string - style: simple - - description: ID - explode: false - in: path - name: id - required: true - schema: - type: string - style: simple - - description: Account ID to specify the actual account the GitLab Sync should - be created in. Required if the requesting user is a member of multiple accounts. - example: abcd1234 - explode: true - in: query - name: account_id - required: false - schema: - type: string - style: form - - description: Code of the related Phrase Strings Project. - example: 3456abcd - explode: true - in: query - name: phrase_project_code - required: false - schema: - type: string - style: form - - description: ID of the related GitLab Project. - example: 12345 - explode: true - in: query - name: gitlab_project_id - required: false - schema: - type: integer - style: form - - description: Name of the GitLab Branch. - example: feature-development - explode: true - in: query - name: gitlab_branch_name - required: false - schema: - type: string - style: form - responses: - "200": - content: - application/json: - schema: - $ref: '#/components/schemas/gitlab_sync' - description: OK - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "400": - description: Bad request - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "404": - description: Not Found - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - "429": - description: Rate Limiting - headers: - X-Rate-Limit-Limit: - $ref: '#/components/headers/X-Rate-Limit-Limit' - X-Rate-Limit-Remaining: - $ref: '#/components/headers/X-Rate-Limit-Remaining' - X-Rate-Limit-Reset: - $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Update single Sync Setting + summary: Test a webhook tags: - - GitLab Sync + - Webhooks x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/gitlab_syncs/:id" \ + curl "https://api.phrase.com/v2/projects/:project_id/webhooks/:id/test" \ -u USERNAME_OR_ACCESS_TOKEN \ - -X PUT \ - -d '{"account_id":"abcd1234","phrase_project_code":"3456abcd","gitlab_project_id":12345,"gitlab_branch_name":"feature-development"}' \ - -H 'Content-Type: application/json' + -X POST - lang: CLI v2 source: |- - phrase git_lab_sync update \ + phrase webhooks test \ + --project_id \ --id \ - --data '{"account_id":"abcd1234", "phrase_project_code":"3456abcd", "gitlab_project_id":"12345", "gitlab_branch_name":"feature-development"}' \ --access_token x-cli-version: "2.5" x-accepts: application/json - /gitlab_syncs/{gitlab_sync_id}/import: - post: - description: "Import translations from GitLab to Phrase Strings according to\ - \ the .phraseapp.yml file within the GitLab repository.

Note: Import\ - \ is done asynchronously and may take several seconds depending on the project\ - \ size." - operationId: gitlab_sync/import + /projects/{project_id}/uploads: + get: + description: List all uploads for the given project. + operationId: uploads/list parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -14374,20 +13243,44 @@ paths: schema: type: string style: simple - - description: Gitlab Sync ID + - description: Project ID explode: false in: path - name: gitlab_sync_id + name: project_id required: true schema: type: string style: simple - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/gitlab_sync_import_parameters' - required: true + - allowEmptyValue: false + description: Page number + example: 1 + explode: true + in: query + name: page + required: false + schema: + type: integer + style: form + - allowEmptyValue: false + description: "Limit on the number of objects to be returned, between 1 and\ + \ 100. 25 by default" + example: 25 + explode: true + in: query + name: per_page + required: false + schema: + type: integer + style: form + - description: specify the branch to use + example: my-feature-branch + explode: true + in: query + name: branch + required: false + schema: + type: string + style: form responses: "200": content: @@ -14435,33 +13328,26 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Import from GitLab to Phrase + summary: List uploads tags: - - GitLab Sync + - Uploads x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/gitlab_syncs/:gitlab_sync_id/import" \ - -u USERNAME_OR_ACCESS_TOKEN \ - -X POST \ - -d '{"account_id":"abcd1234"}' \ - -H 'Content-Type: application/json' + curl "https://api.phrase.com/v2/projects/:project_id/uploads?branch=my-feature-branch" \ + -u USERNAME_OR_ACCESS_TOKEN - lang: CLI v2 source: |- - phrase git_lab_sync import \ - --gitlab_sync_id \ - --data '{"account_id":"abcd1234"}' \ + phrase uploads list \ + --project_id \ + --branch my-feature-branch \ --access_token x-cli-version: "2.5" - x-content-type: application/json x-accepts: application/json - /gitlab_syncs/{gitlab_sync_id}/export: post: - description: "Export translations from Phrase Strings to GitLab according to\ - \ the .phraseapp.yml file within the GitLab repository.

Note: Export\ - \ is done asynchronously and may take several seconds depending on the project\ - \ size." - operationId: gitlab_sync/export + description: Upload a new language file. Creates necessary resources in your + project. + operationId: upload/create parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -14471,27 +13357,27 @@ paths: schema: type: string style: simple - - description: Gitlab Sync ID + - description: Project ID explode: false in: path - name: gitlab_sync_id + name: project_id required: true schema: type: string style: simple requestBody: content: - application/json: + multipart/form-data: schema: - $ref: '#/components/schemas/gitlab_sync_export_parameters' + $ref: '#/components/schemas/upload_create_parameters' required: true responses: - "200": + "201": content: application/json: schema: - $ref: '#/components/schemas/gitlab_sync_export' - description: OK + $ref: '#/components/schemas/upload' + description: Created headers: X-Rate-Limit-Limit: $ref: '#/components/headers/X-Rate-Limit-Limit' @@ -14526,30 +13412,41 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: Export from Phrase Strings to GitLab + summary: Upload a new file tags: - - GitLab Sync + - Uploads x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/gitlab_syncs/:gitlab_sync_id/export" \ + curl "https://api.phrase.com/v2/projects/:project_id/uploads" \ -u USERNAME_OR_ACCESS_TOKEN \ -X POST \ - -d '{"account_id":"abcd1234"}' \ - -H 'Content-Type: application/json' + -F branch=my-feature-branch \ + -F file=@/path/to/my/file.json \ + -F file_format=json \ + -F locale_id=abcd1234cdef1234abcd1234cdef1234 \ + -F tags=awesome-feature,needs-proofreading \ + -F locale_mapping[en]=2 \ + -F format_options[foo]=bar - lang: CLI v2 source: |- - phrase git_lab_sync export \ - --gitlab_sync_id \ - --data '{"account_id":"abcd1234"}' \ + phrase uploads create \ + --project_id \ + --branch my-feature-branch \ + --file /path/to/my/file.json \ + --file_format json \ + --locale_id abcd1234cdef1234abcd1234cdef1234 \ + --tags awesome-feature,needs-proofreading \ + --locale_mapping '{"en": "2"}' \ + --format_options '{"foo": "bar"}' \ --access_token - x-cli-version: "2.5" - x-content-type: application/json + x-cli-version: "2.12" + x-content-type: multipart/form-data x-accepts: application/json - /gitlab_syncs/{gitlab_sync_id}/history: + /projects/{project_id}/uploads/{id}: get: - description: List history for a single Sync Setting. - operationId: gitlab_sync/history + description: View details and summary for a single upload. + operationId: upload/show parameters: - description: Two-Factor-Authentication token (optional) explode: false @@ -14559,41 +13456,27 @@ paths: schema: type: string style: simple - - description: Gitlab Sync ID + - description: Project ID explode: false in: path - name: gitlab_sync_id + name: project_id required: true schema: type: string style: simple - - allowEmptyValue: false - description: Page number - example: 1 - explode: true - in: query - name: page - required: false - schema: - type: integer - style: form - - allowEmptyValue: false - description: "Limit on the number of objects to be returned, between 1 and\ - \ 100. 25 by default" - example: 25 - explode: true - in: query - name: per_page - required: false + - description: ID + explode: false + in: path + name: id + required: true schema: - type: integer - style: form - - description: Account ID to specify the actual account the GitLab Sync should - be created in. Required if the requesting user is a member of multiple accounts. - example: abcd1234 + type: string + style: simple + - description: specify the branch to use + example: my-feature-branch explode: true in: query - name: account_id + name: branch required: false schema: type: string @@ -14603,9 +13486,7 @@ paths: content: application/json: schema: - items: - $ref: '#/components/schemas/gitlab_sync_history' - type: array + $ref: '#/components/schemas/upload' description: OK headers: X-Rate-Limit-Limit: @@ -14614,10 +13495,6 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - Link: - $ref: '#/components/headers/Link' - Pagination: - $ref: '#/components/headers/Pagination' "400": description: Bad request headers: @@ -14645,19 +13522,20 @@ paths: $ref: '#/components/headers/X-Rate-Limit-Remaining' X-Rate-Limit-Reset: $ref: '#/components/headers/X-Rate-Limit-Reset' - summary: History of single Sync Setting + summary: Get a single upload tags: - - GitLab Sync + - Uploads x-code-samples: - lang: Curl source: |- - curl "https://api.phrase.com/v2/gitlab_syncs/:gitlab_sync_id/history?account_id=abcd1234" \ + curl "https://api.phrase.com/v2/projects/:project_id/uploads/:id?branch=my-feature-branch" \ -u USERNAME_OR_ACCESS_TOKEN - lang: CLI v2 source: |- - phrase gitlab_syncs history \ - --gitlab_sync_id \ - --account_id abcd1234 \ + phrase uploads show \ + --project_id \ + --id \ + --branch my-feature-branch \ --access_token x-cli-version: "2.5" x-accepts: application/json @@ -29699,15 +28577,6 @@ components: schema: type: string style: simple - gitlab_sync_id: - description: Gitlab Sync ID - explode: false - in: path - name: gitlab_sync_id - required: true - schema: - type: string - style: simple id: description: ID explode: false @@ -29915,125 +28784,6 @@ components: type: string title: authorization_with_token type: object - bitbucket_sync: - example: - id: aad1ar91-0331-4181-b90p-4crdnv0bd812 - repository_name: some-repository - last_export_to_bitbucket_at: 2015-01-28T09:52:53Z - last_import_from_bitbucket_at: 2015-01-28T09:52:53Z - valid_phraseapp_yaml: true - phraseapp_projects: - - id: abcd1234cdef1234abcd1234cdef1234 - name: My Android Project - main_format: xml - created_at: 2015-01-28T09:52:53Z - updated_at: 2015-01-28T09:52:53Z - properties: - id: - type: string - repository_name: - type: string - last_export_to_bitbucket_at: - format: date-time - type: string - last_import_from_bitbucket_at: - format: date-time - type: string - valid_phraseapp_yaml: - type: boolean - phraseapp_projects: - items: - $ref: '#/components/schemas/project_short' - type: array - title: bitbucket_sync - type: object - bitbucket_sync_export_response: - example: - status_path: https://bitbucket.sync.phraseapp.com/export_to_bitbucket_status - properties: - status_path: - type: string - title: bitbucket_sync_export_response - type: object - gitlab_sync: - example: - id: abcd1234cdef1234abcd1234cdef1234 - project_id: ft5yufdh1234cdef1234abc5d12d4cdef123 - gitlab_project_id: 18188930 - gitlab_branch_name: master - auto_import: true - auto_import_secret: import_secret - auto_import_url: import_url - self_hosted_api_url: www.example.com/api/v4 - last_exported_at: 2015-01-28T12:55:14.000+00:00 - last_imported_at: 2015-01-28T12:55:14.000+00:00 - last_status: success - properties: - id: - type: string - project_id: - type: string - gitlab_project_id: - type: integer - gitlab_branch_name: - type: string - auto_import: - type: boolean - auto_import_secret: - type: string - auto_import_url: - type: string - self_hosted_api_url: - type: string - last_exported_at: - format: date-time - type: string - last_imported_at: - format: date-time - type: string - last_status: - type: string - title: gitlab_sync - type: object - gitlab_sync_export: - example: - merge_request_id: 1234 - merge_request_web_url: https://gitlab.com/account/project/-/merge_requests/1234 - properties: - merge_request_id: - type: integer - merge_request_web_url: - type: string - title: gitlab_sync_export - type: object - gitlab_sync_history: - example: - type: history - attributes: - status: success - action: import - errors: - - error: error type - message: can't be blank - date: 2015-01-28T12:55:14.000+00:00 - details: - auto_import: false - properties: - status: - type: string - action: - type: string - errors: - items: - $ref: '#/components/schemas/gitlab_sync_history_errors_inner' - type: array - date: - format: date-time - type: string - details: - type: object - title: gitlab_sync_history - type: object blacklisted_key: example: id: abcd1234cdef1234abcd1234cdef1234 @@ -33982,26 +32732,6 @@ components: type: string title: authorization/update/parameters type: object - bitbucket_sync_export_parameters: - properties: - account_id: - description: Account ID to specify the actual account the project should - be created in. Required if the requesting user is a member of multiple - accounts. - example: abcd1234 - type: string - title: bitbucket_sync/export/parameters - type: object - bitbucket_sync_import_parameters: - properties: - account_id: - description: Account ID to specify the actual account the project should - be created in. Required if the requesting user is a member of multiple - accounts. - example: abcd1234 - type: string - title: bitbucket_sync/import/parameters - type: object comments_list_parameters: properties: branch: @@ -34284,44 +33014,6 @@ components: - locale_id title: upload/create/parameters type: object - github_sync_export_parameters: - properties: - project_id: - description: Project ID to specify the actual project the GitHub export - should be triggered in. - example: abcd1234 - type: string - title: github_sync/export/parameters - type: object - github_sync_import_parameters: - properties: - project_id: - description: Project ID to specify the actual project the GitHub import - should be triggered in. - example: abcd1234 - type: string - title: github_sync/import/parameters - type: object - gitlab_sync_import_parameters: - properties: - account_id: - description: Account ID to specify the actual account the GitLab Sync should - be created in. Required if the requesting user is a member of multiple - accounts. - example: abcd1234 - type: string - title: gitlab_sync/import/parameters - type: object - gitlab_sync_export_parameters: - properties: - account_id: - description: Account ID to specify the actual account the GitLab Sync should - be created in. Required if the requesting user is a member of multiple - accounts. - example: abcd1234 - type: string - title: gitlab_sync/export/parameters - type: object glossary_term_translation_create_parameters: properties: locale_code: @@ -36203,13 +34895,6 @@ components: - child_key_ids title: key_links/batch_destroy/parameters type: object - gitlab_sync_history_errors_inner: - properties: - error: - type: string - message: - type: string - type: object subscription: example: "{\"is_current\":true,\"trial_expired\":false}" properties: @@ -36402,9 +35087,6 @@ x-tagGroups: - Glossary Term Translations - name: Integrations tags: - - Bitbucket Sync - - GitHub Sync - - GitLab Sync - Webhooks - Distributions - Releases diff --git a/docs/BitbucketSync.md b/docs/BitbucketSync.md deleted file mode 100644 index df2c8768f2..0000000000 --- a/docs/BitbucketSync.md +++ /dev/null @@ -1,17 +0,0 @@ - - -# BitbucketSync - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**repositoryName** | **String** | | [optional] -**lastExportToBitbucketAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] -**lastImportFromBitbucketAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] -**validPhraseappYaml** | **Boolean** | | [optional] -**phraseappProjects** | [**List<ProjectShort>**](ProjectShort.md) | | [optional] - - - diff --git a/docs/BitbucketSyncApi.md b/docs/BitbucketSyncApi.md deleted file mode 100644 index c6e0dee2f3..0000000000 --- a/docs/BitbucketSyncApi.md +++ /dev/null @@ -1,248 +0,0 @@ -# BitbucketSyncApi - -All URIs are relative to *https://api.phrase.com/v2* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**bitbucketSyncExport**](BitbucketSyncApi.md#bitbucketSyncExport) | **POST** /bitbucket_syncs/{id}/export | Export from Phrase Strings to Bitbucket -[**bitbucketSyncImport**](BitbucketSyncApi.md#bitbucketSyncImport) | **POST** /bitbucket_syncs/{id}/import | Import to Phrase Strings from Bitbucket -[**bitbucketSyncsList**](BitbucketSyncApi.md#bitbucketSyncsList) | **GET** /bitbucket_syncs | List Bitbucket syncs - - - -# **bitbucketSyncExport** -> BitbucketSyncExportResponse bitbucketSyncExport(id, bitbucketSyncExportParameters, xPhraseAppOTP) - -Export from Phrase Strings to Bitbucket - -Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.BitbucketSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - BitbucketSyncApi apiInstance = new BitbucketSyncApi(defaultClient); - String id = "id_example"; // String | ID - BitbucketSyncExportParameters bitbucketSyncExportParameters = new BitbucketSyncExportParameters(); // BitbucketSyncExportParameters | - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - try { - BitbucketSyncExportResponse result = apiInstance.bitbucketSyncExport(id, bitbucketSyncExportParameters, xPhraseAppOTP); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling BitbucketSyncApi#bitbucketSyncExport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **String**| ID | - **bitbucketSyncExportParameters** | [**BitbucketSyncExportParameters**](BitbucketSyncExportParameters.md)| | - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - -### Return type - -[**BitbucketSyncExportResponse**](BitbucketSyncExportResponse.md) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - - -# **bitbucketSyncImport** -> bitbucketSyncImport(id, bitbucketSyncImportParameters, xPhraseAppOTP) - -Import to Phrase Strings from Bitbucket - -Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.BitbucketSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - BitbucketSyncApi apiInstance = new BitbucketSyncApi(defaultClient); - String id = "id_example"; // String | ID - BitbucketSyncImportParameters bitbucketSyncImportParameters = new BitbucketSyncImportParameters(); // BitbucketSyncImportParameters | - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - try { - apiInstance.bitbucketSyncImport(id, bitbucketSyncImportParameters, xPhraseAppOTP); - } catch (ApiException e) { - System.err.println("Exception when calling BitbucketSyncApi#bitbucketSyncImport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **String**| ID | - **bitbucketSyncImportParameters** | [**BitbucketSyncImportParameters**](BitbucketSyncImportParameters.md)| | - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - - -# **bitbucketSyncsList** -> List<BitbucketSync> bitbucketSyncsList(xPhraseAppOTP, accountId) - -List Bitbucket syncs - -List all Bitbucket repositories for which synchronisation with Phrase Strings is activated. - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.BitbucketSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - BitbucketSyncApi apiInstance = new BitbucketSyncApi(defaultClient); - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - String accountId = "abcd1234"; // String | Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. - try { - List result = apiInstance.bitbucketSyncsList(xPhraseAppOTP, accountId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling BitbucketSyncApi#bitbucketSyncsList"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - **accountId** | **String**| Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. | [optional] - -### Return type - -[**List<BitbucketSync>**](BitbucketSync.md) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - diff --git a/docs/BitbucketSyncExportParameters.md b/docs/BitbucketSyncExportParameters.md deleted file mode 100644 index afa5add608..0000000000 --- a/docs/BitbucketSyncExportParameters.md +++ /dev/null @@ -1,12 +0,0 @@ - - -# BitbucketSyncExportParameters - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountId** | **String** | Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. | [optional] - - - diff --git a/docs/BitbucketSyncExportResponse.md b/docs/BitbucketSyncExportResponse.md deleted file mode 100644 index bf607ea835..0000000000 --- a/docs/BitbucketSyncExportResponse.md +++ /dev/null @@ -1,12 +0,0 @@ - - -# BitbucketSyncExportResponse - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**statusPath** | **String** | | [optional] - - - diff --git a/docs/BitbucketSyncImportParameters.md b/docs/BitbucketSyncImportParameters.md deleted file mode 100644 index 077addf785..0000000000 --- a/docs/BitbucketSyncImportParameters.md +++ /dev/null @@ -1,12 +0,0 @@ - - -# BitbucketSyncImportParameters - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountId** | **String** | Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. | [optional] - - - diff --git a/docs/GitHubSyncApi.md b/docs/GitHubSyncApi.md deleted file mode 100644 index 3bd82ef64f..0000000000 --- a/docs/GitHubSyncApi.md +++ /dev/null @@ -1,166 +0,0 @@ -# GitHubSyncApi - -All URIs are relative to *https://api.phrase.com/v2* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**githubSyncExport**](GitHubSyncApi.md#githubSyncExport) | **POST** /github_syncs/export | Export from Phrase Strings to GitHub -[**githubSyncImport**](GitHubSyncApi.md#githubSyncImport) | **POST** /github_syncs/import | Import to Phrase Strings from GitHub - - - -# **githubSyncExport** -> githubSyncExport(githubSyncExportParameters, xPhraseAppOTP) - -Export from Phrase Strings to GitHub - -Export translations from Phrase Strings to GitHub according to the .phraseapp.yml file within the GitHub repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.GitHubSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - GitHubSyncApi apiInstance = new GitHubSyncApi(defaultClient); - GithubSyncExportParameters githubSyncExportParameters = new GithubSyncExportParameters(); // GithubSyncExportParameters | - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - try { - apiInstance.githubSyncExport(githubSyncExportParameters, xPhraseAppOTP); - } catch (ApiException e) { - System.err.println("Exception when calling GitHubSyncApi#githubSyncExport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **githubSyncExportParameters** | [**GithubSyncExportParameters**](GithubSyncExportParameters.md)| | - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**422** | Unprocessable entity | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - - -# **githubSyncImport** -> githubSyncImport(githubSyncImportParameters, xPhraseAppOTP) - -Import to Phrase Strings from GitHub - -Import files to Phrase Strings from your connected GitHub repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.GitHubSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - GitHubSyncApi apiInstance = new GitHubSyncApi(defaultClient); - GithubSyncImportParameters githubSyncImportParameters = new GithubSyncImportParameters(); // GithubSyncImportParameters | - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - try { - apiInstance.githubSyncImport(githubSyncImportParameters, xPhraseAppOTP); - } catch (ApiException e) { - System.err.println("Exception when calling GitHubSyncApi#githubSyncImport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **githubSyncImportParameters** | [**GithubSyncImportParameters**](GithubSyncImportParameters.md)| | - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**422** | Unprocessable entity | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - diff --git a/docs/GitLabSyncApi.md b/docs/GitLabSyncApi.md deleted file mode 100644 index 9aaeaec7fb..0000000000 --- a/docs/GitLabSyncApi.md +++ /dev/null @@ -1,582 +0,0 @@ -# GitLabSyncApi - -All URIs are relative to *https://api.phrase.com/v2* - -Method | HTTP request | Description -------------- | ------------- | ------------- -[**gitlabSyncDelete**](GitLabSyncApi.md#gitlabSyncDelete) | **DELETE** /gitlab_syncs/{id} | Delete single Sync Setting -[**gitlabSyncExport**](GitLabSyncApi.md#gitlabSyncExport) | **POST** /gitlab_syncs/{gitlab_sync_id}/export | Export from Phrase Strings to GitLab -[**gitlabSyncHistory**](GitLabSyncApi.md#gitlabSyncHistory) | **GET** /gitlab_syncs/{gitlab_sync_id}/history | History of single Sync Setting -[**gitlabSyncImport**](GitLabSyncApi.md#gitlabSyncImport) | **POST** /gitlab_syncs/{gitlab_sync_id}/import | Import from GitLab to Phrase -[**gitlabSyncList**](GitLabSyncApi.md#gitlabSyncList) | **GET** /gitlab_syncs | List GitLab syncs -[**gitlabSyncShow**](GitLabSyncApi.md#gitlabSyncShow) | **GET** /gitlab_syncs/{id} | Get single Sync Setting -[**gitlabSyncUpdate**](GitLabSyncApi.md#gitlabSyncUpdate) | **PUT** /gitlab_syncs/{id} | Update single Sync Setting - - - -# **gitlabSyncDelete** -> gitlabSyncDelete(id, xPhraseAppOTP, accountId) - -Delete single Sync Setting - -Deletes a single GitLab Sync Setting. - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.GitLabSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - GitLabSyncApi apiInstance = new GitLabSyncApi(defaultClient); - String id = "id_example"; // String | ID - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - String accountId = "abcd1234"; // String | Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. - try { - apiInstance.gitlabSyncDelete(id, xPhraseAppOTP, accountId); - } catch (ApiException e) { - System.err.println("Exception when calling GitLabSyncApi#gitlabSyncDelete"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **String**| ID | - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - **accountId** | **String**| Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. | [optional] - -### Return type - -null (empty response body) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: Not defined - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**204** | The resource was deleted successfully. | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - - -# **gitlabSyncExport** -> GitlabSyncExport gitlabSyncExport(gitlabSyncId, gitlabSyncExportParameters, xPhraseAppOTP) - -Export from Phrase Strings to GitLab - -Export translations from Phrase Strings to GitLab according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.GitLabSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - GitLabSyncApi apiInstance = new GitLabSyncApi(defaultClient); - String gitlabSyncId = "gitlabSyncId_example"; // String | Gitlab Sync ID - GitlabSyncExportParameters gitlabSyncExportParameters = new GitlabSyncExportParameters(); // GitlabSyncExportParameters | - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - try { - GitlabSyncExport result = apiInstance.gitlabSyncExport(gitlabSyncId, gitlabSyncExportParameters, xPhraseAppOTP); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling GitLabSyncApi#gitlabSyncExport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **gitlabSyncId** | **String**| Gitlab Sync ID | - **gitlabSyncExportParameters** | [**GitlabSyncExportParameters**](GitlabSyncExportParameters.md)| | - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - -### Return type - -[**GitlabSyncExport**](GitlabSyncExport.md) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - - -# **gitlabSyncHistory** -> List<GitlabSyncHistory> gitlabSyncHistory(gitlabSyncId, xPhraseAppOTP, page, perPage, accountId) - -History of single Sync Setting - -List history for a single Sync Setting. - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.GitLabSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - GitLabSyncApi apiInstance = new GitLabSyncApi(defaultClient); - String gitlabSyncId = "gitlabSyncId_example"; // String | Gitlab Sync ID - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - Integer page = 1; // Integer | Page number - Integer perPage = 25; // Integer | Limit on the number of objects to be returned, between 1 and 100. 25 by default - String accountId = "abcd1234"; // String | Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. - try { - List result = apiInstance.gitlabSyncHistory(gitlabSyncId, xPhraseAppOTP, page, perPage, accountId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling GitLabSyncApi#gitlabSyncHistory"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **gitlabSyncId** | **String**| Gitlab Sync ID | - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - **page** | **Integer**| Page number | [optional] - **perPage** | **Integer**| Limit on the number of objects to be returned, between 1 and 100. 25 by default | [optional] - **accountId** | **String**| Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. | [optional] - -### Return type - -[**List<GitlabSyncHistory>**](GitlabSyncHistory.md) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - - -# **gitlabSyncImport** -> List<Upload> gitlabSyncImport(gitlabSyncId, gitlabSyncImportParameters, xPhraseAppOTP) - -Import from GitLab to Phrase - -Import translations from GitLab to Phrase Strings according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.GitLabSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - GitLabSyncApi apiInstance = new GitLabSyncApi(defaultClient); - String gitlabSyncId = "gitlabSyncId_example"; // String | Gitlab Sync ID - GitlabSyncImportParameters gitlabSyncImportParameters = new GitlabSyncImportParameters(); // GitlabSyncImportParameters | - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - try { - List result = apiInstance.gitlabSyncImport(gitlabSyncId, gitlabSyncImportParameters, xPhraseAppOTP); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling GitLabSyncApi#gitlabSyncImport"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **gitlabSyncId** | **String**| Gitlab Sync ID | - **gitlabSyncImportParameters** | [**GitlabSyncImportParameters**](GitlabSyncImportParameters.md)| | - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - -### Return type - -[**List<Upload>**](Upload.md) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: application/json - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - - -# **gitlabSyncList** -> List<GitlabSync> gitlabSyncList(xPhraseAppOTP, accountId) - -List GitLab syncs - -List all GitLab Sync Settings for which synchronisation with Phrase Strings and GitLab is activated. - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.GitLabSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - GitLabSyncApi apiInstance = new GitLabSyncApi(defaultClient); - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - String accountId = "abcd1234"; // String | Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. - try { - List result = apiInstance.gitlabSyncList(xPhraseAppOTP, accountId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling GitLabSyncApi#gitlabSyncList"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - **accountId** | **String**| Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. | [optional] - -### Return type - -[**List<GitlabSync>**](GitlabSync.md) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - - -# **gitlabSyncShow** -> GitlabSync gitlabSyncShow(id, xPhraseAppOTP, accountId) - -Get single Sync Setting - -Shows a single GitLab Sync Setting. - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.GitLabSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - GitLabSyncApi apiInstance = new GitLabSyncApi(defaultClient); - String id = "id_example"; // String | ID - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - String accountId = "abcd1234"; // String | Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. - try { - GitlabSync result = apiInstance.gitlabSyncShow(id, xPhraseAppOTP, accountId); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling GitLabSyncApi#gitlabSyncShow"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **String**| ID | - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - **accountId** | **String**| Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. | [optional] - -### Return type - -[**GitlabSync**](GitlabSync.md) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - - -# **gitlabSyncUpdate** -> GitlabSync gitlabSyncUpdate(id, xPhraseAppOTP, accountId, phraseProjectCode, gitlabProjectId, gitlabBranchName) - -Update single Sync Setting - -Updates a single GitLab Sync Setting. - -### Example -```java -// Import classes: -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.Configuration; -import com.phrase.client.auth.*; -import com.phrase.client.models.*; -import com.phrase.client.api.GitLabSyncApi; - -public class Example { - public static void main(String[] args) { - ApiClient defaultClient = Configuration.getDefaultApiClient(); - defaultClient.setBasePath("https://api.phrase.com/v2"); - - // Configure HTTP basic authorization: Basic - HttpBasicAuth Basic = (HttpBasicAuth) defaultClient.getAuthentication("Basic"); - Basic.setUsername("YOUR USERNAME"); - Basic.setPassword("YOUR PASSWORD"); - - // Configure API key authorization: Token - ApiKeyAuth Token = (ApiKeyAuth) defaultClient.getAuthentication("Token"); - Token.setApiKey("YOUR API KEY"); - Token.setApiKeyPrefix("token"); - - GitLabSyncApi apiInstance = new GitLabSyncApi(defaultClient); - String id = "id_example"; // String | ID - String xPhraseAppOTP = "xPhraseAppOTP_example"; // String | Two-Factor-Authentication token (optional) - String accountId = "abcd1234"; // String | Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. - String phraseProjectCode = "3456abcd"; // String | Code of the related Phrase Strings Project. - Integer gitlabProjectId = 12345; // Integer | ID of the related GitLab Project. - String gitlabBranchName = "feature-development"; // String | Name of the GitLab Branch. - try { - GitlabSync result = apiInstance.gitlabSyncUpdate(id, xPhraseAppOTP, accountId, phraseProjectCode, gitlabProjectId, gitlabBranchName); - System.out.println(result); - } catch (ApiException e) { - System.err.println("Exception when calling GitLabSyncApi#gitlabSyncUpdate"); - System.err.println("Status code: " + e.getCode()); - System.err.println("Reason: " + e.getResponseBody()); - System.err.println("Response headers: " + e.getResponseHeaders()); - e.printStackTrace(); - } - } -} -``` - -### Parameters - -Name | Type | Description | Notes -------------- | ------------- | ------------- | ------------- - **id** | **String**| ID | - **xPhraseAppOTP** | **String**| Two-Factor-Authentication token (optional) | [optional] - **accountId** | **String**| Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. | [optional] - **phraseProjectCode** | **String**| Code of the related Phrase Strings Project. | [optional] - **gitlabProjectId** | **Integer**| ID of the related GitLab Project. | [optional] - **gitlabBranchName** | **String**| Name of the GitLab Branch. | [optional] - -### Return type - -[**GitlabSync**](GitlabSync.md) - -### Authorization - -[Basic](../README.md#Basic), [Token](../README.md#Token) - -### HTTP request headers - - - **Content-Type**: Not defined - - **Accept**: application/json - -### HTTP response details -| Status code | Description | Response headers | -|-------------|-------------|------------------| -**200** | OK | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**400** | Bad request | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**404** | Not Found | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| -**429** | Rate Limiting | * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
| - diff --git a/docs/GithubSyncExportParameters.md b/docs/GithubSyncExportParameters.md deleted file mode 100644 index 267b18b4e1..0000000000 --- a/docs/GithubSyncExportParameters.md +++ /dev/null @@ -1,12 +0,0 @@ - - -# GithubSyncExportParameters - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**projectId** | **String** | Project ID to specify the actual project the GitHub export should be triggered in. | [optional] - - - diff --git a/docs/GithubSyncImportParameters.md b/docs/GithubSyncImportParameters.md deleted file mode 100644 index 8e69817885..0000000000 --- a/docs/GithubSyncImportParameters.md +++ /dev/null @@ -1,12 +0,0 @@ - - -# GithubSyncImportParameters - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**projectId** | **String** | Project ID to specify the actual project the GitHub import should be triggered in. | [optional] - - - diff --git a/docs/GitlabSync.md b/docs/GitlabSync.md deleted file mode 100644 index f31750e96d..0000000000 --- a/docs/GitlabSync.md +++ /dev/null @@ -1,22 +0,0 @@ - - -# GitlabSync - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**id** | **String** | | [optional] -**projectId** | **String** | | [optional] -**gitlabProjectId** | **Integer** | | [optional] -**gitlabBranchName** | **String** | | [optional] -**autoImport** | **Boolean** | | [optional] -**autoImportSecret** | **String** | | [optional] -**autoImportUrl** | **String** | | [optional] -**selfHostedApiUrl** | **String** | | [optional] -**lastExportedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] -**lastImportedAt** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] -**lastStatus** | **String** | | [optional] - - - diff --git a/docs/GitlabSyncExport.md b/docs/GitlabSyncExport.md deleted file mode 100644 index bf43cfed85..0000000000 --- a/docs/GitlabSyncExport.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# GitlabSyncExport - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**mergeRequestId** | **Integer** | | [optional] -**mergeRequestWebUrl** | **String** | | [optional] - - - diff --git a/docs/GitlabSyncExportParameters.md b/docs/GitlabSyncExportParameters.md deleted file mode 100644 index a5c69b37da..0000000000 --- a/docs/GitlabSyncExportParameters.md +++ /dev/null @@ -1,12 +0,0 @@ - - -# GitlabSyncExportParameters - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountId** | **String** | Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. | [optional] - - - diff --git a/docs/GitlabSyncHistory.md b/docs/GitlabSyncHistory.md deleted file mode 100644 index c9cdf2681f..0000000000 --- a/docs/GitlabSyncHistory.md +++ /dev/null @@ -1,16 +0,0 @@ - - -# GitlabSyncHistory - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**status** | **String** | | [optional] -**action** | **String** | | [optional] -**errors** | [**List<GitlabSyncHistoryErrorsInner>**](GitlabSyncHistoryErrorsInner.md) | | [optional] -**date** | [**OffsetDateTime**](OffsetDateTime.md) | | [optional] -**details** | **Object** | | [optional] - - - diff --git a/docs/GitlabSyncHistoryErrorsInner.md b/docs/GitlabSyncHistoryErrorsInner.md deleted file mode 100644 index 7b42d69b90..0000000000 --- a/docs/GitlabSyncHistoryErrorsInner.md +++ /dev/null @@ -1,13 +0,0 @@ - - -# GitlabSyncHistoryErrorsInner - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**error** | **String** | | [optional] -**message** | **String** | | [optional] - - - diff --git a/docs/GitlabSyncImportParameters.md b/docs/GitlabSyncImportParameters.md deleted file mode 100644 index db957b6482..0000000000 --- a/docs/GitlabSyncImportParameters.md +++ /dev/null @@ -1,12 +0,0 @@ - - -# GitlabSyncImportParameters - -## Properties - -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**accountId** | **String** | Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. | [optional] - - - diff --git a/src/main/java/com/phrase/client/ApiException.java b/src/main/java/com/phrase/client/ApiException.java index 95b46b3ea6..1c3ee621ed 100644 --- a/src/main/java/com/phrase/client/ApiException.java +++ b/src/main/java/com/phrase/client/ApiException.java @@ -15,7 +15,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ApiException extends Exception { private int code = 0; private Map> responseHeaders = null; diff --git a/src/main/java/com/phrase/client/Configuration.java b/src/main/java/com/phrase/client/Configuration.java index 9007422798..254db2b4e8 100644 --- a/src/main/java/com/phrase/client/Configuration.java +++ b/src/main/java/com/phrase/client/Configuration.java @@ -12,7 +12,7 @@ package com.phrase.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Configuration { private static ApiClient defaultApiClient = new ApiClient(); diff --git a/src/main/java/com/phrase/client/Pair.java b/src/main/java/com/phrase/client/Pair.java index a3afddeddc..3e94bd5a52 100644 --- a/src/main/java/com/phrase/client/Pair.java +++ b/src/main/java/com/phrase/client/Pair.java @@ -12,7 +12,7 @@ package com.phrase.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Pair { private String name = ""; private String value = ""; diff --git a/src/main/java/com/phrase/client/StringUtil.java b/src/main/java/com/phrase/client/StringUtil.java index 5aa6352568..ff4f959625 100644 --- a/src/main/java/com/phrase/client/StringUtil.java +++ b/src/main/java/com/phrase/client/StringUtil.java @@ -12,7 +12,7 @@ package com.phrase.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). diff --git a/src/main/java/com/phrase/client/api/BitbucketSyncApi.java b/src/main/java/com/phrase/client/api/BitbucketSyncApi.java deleted file mode 100644 index 784cb094cd..0000000000 --- a/src/main/java/com/phrase/client/api/BitbucketSyncApi.java +++ /dev/null @@ -1,464 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.api; - -import com.phrase.client.ApiCallback; -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.ApiResponse; -import com.phrase.client.Configuration; -import com.phrase.client.Pair; -import com.phrase.client.ProgressRequestBody; -import com.phrase.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import com.phrase.client.model.BitbucketSync; -import com.phrase.client.model.BitbucketSyncExportParameters; -import com.phrase.client.model.BitbucketSyncExportResponse; -import com.phrase.client.model.BitbucketSyncImportParameters; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class BitbucketSyncApi { - private ApiClient localVarApiClient; - - public BitbucketSyncApi() { - this(Configuration.getDefaultApiClient()); - } - - public BitbucketSyncApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for bitbucketSyncExport - * @param id ID (required) - * @param bitbucketSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call bitbucketSyncExportCall(String id, BitbucketSyncExportParameters bitbucketSyncExportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = bitbucketSyncExportParameters; - - // create path and map variables - String localVarPath = "/bitbucket_syncs/{id}/export" - .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call bitbucketSyncExportValidateBeforeCall(String id, BitbucketSyncExportParameters bitbucketSyncExportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling bitbucketSyncExport(Async)"); - } - - // verify the required parameter 'bitbucketSyncExportParameters' is set - if (bitbucketSyncExportParameters == null) { - throw new ApiException("Missing the required parameter 'bitbucketSyncExportParameters' when calling bitbucketSyncExport(Async)"); - } - - - okhttp3.Call localVarCall = bitbucketSyncExportCall(id, bitbucketSyncExportParameters, xPhraseAppOTP, _callback); - return localVarCall; - - } - - /** - * Export from Phrase Strings to Bitbucket - * Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * @param id ID (required) - * @param bitbucketSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @return BitbucketSyncExportResponse - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public BitbucketSyncExportResponse bitbucketSyncExport(String id, BitbucketSyncExportParameters bitbucketSyncExportParameters, String xPhraseAppOTP) throws ApiException { - ApiResponse localVarResp = bitbucketSyncExportWithHttpInfo(id, bitbucketSyncExportParameters, xPhraseAppOTP); - return localVarResp.getData(); - } - - /** - * Export from Phrase Strings to Bitbucket - * Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * @param id ID (required) - * @param bitbucketSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @return ApiResponse<BitbucketSyncExportResponse> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse bitbucketSyncExportWithHttpInfo(String id, BitbucketSyncExportParameters bitbucketSyncExportParameters, String xPhraseAppOTP) throws ApiException { - okhttp3.Call localVarCall = bitbucketSyncExportValidateBeforeCall(id, bitbucketSyncExportParameters, xPhraseAppOTP, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Export from Phrase Strings to Bitbucket (asynchronously) - * Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * @param id ID (required) - * @param bitbucketSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call bitbucketSyncExportAsync(String id, BitbucketSyncExportParameters bitbucketSyncExportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = bitbucketSyncExportValidateBeforeCall(id, bitbucketSyncExportParameters, xPhraseAppOTP, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for bitbucketSyncImport - * @param id ID (required) - * @param bitbucketSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call bitbucketSyncImportCall(String id, BitbucketSyncImportParameters bitbucketSyncImportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = bitbucketSyncImportParameters; - - // create path and map variables - String localVarPath = "/bitbucket_syncs/{id}/import" - .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call bitbucketSyncImportValidateBeforeCall(String id, BitbucketSyncImportParameters bitbucketSyncImportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling bitbucketSyncImport(Async)"); - } - - // verify the required parameter 'bitbucketSyncImportParameters' is set - if (bitbucketSyncImportParameters == null) { - throw new ApiException("Missing the required parameter 'bitbucketSyncImportParameters' when calling bitbucketSyncImport(Async)"); - } - - - okhttp3.Call localVarCall = bitbucketSyncImportCall(id, bitbucketSyncImportParameters, xPhraseAppOTP, _callback); - return localVarCall; - - } - - /** - * Import to Phrase Strings from Bitbucket - * Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * @param id ID (required) - * @param bitbucketSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public void bitbucketSyncImport(String id, BitbucketSyncImportParameters bitbucketSyncImportParameters, String xPhraseAppOTP) throws ApiException { - bitbucketSyncImportWithHttpInfo(id, bitbucketSyncImportParameters, xPhraseAppOTP); - } - - /** - * Import to Phrase Strings from Bitbucket - * Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * @param id ID (required) - * @param bitbucketSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse bitbucketSyncImportWithHttpInfo(String id, BitbucketSyncImportParameters bitbucketSyncImportParameters, String xPhraseAppOTP) throws ApiException { - okhttp3.Call localVarCall = bitbucketSyncImportValidateBeforeCall(id, bitbucketSyncImportParameters, xPhraseAppOTP, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Import to Phrase Strings from Bitbucket (asynchronously) - * Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * @param id ID (required) - * @param bitbucketSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call bitbucketSyncImportAsync(String id, BitbucketSyncImportParameters bitbucketSyncImportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = bitbucketSyncImportValidateBeforeCall(id, bitbucketSyncImportParameters, xPhraseAppOTP, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for bitbucketSyncsList - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call bitbucketSyncsListCall(String xPhraseAppOTP, String accountId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/bitbucket_syncs"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (accountId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("account_id", accountId)); - } - - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call bitbucketSyncsListValidateBeforeCall(String xPhraseAppOTP, String accountId, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = bitbucketSyncsListCall(xPhraseAppOTP, accountId, _callback); - return localVarCall; - - } - - /** - * List Bitbucket syncs - * List all Bitbucket repositories for which synchronisation with Phrase Strings is activated. - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @return List<BitbucketSync> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public List bitbucketSyncsList(String xPhraseAppOTP, String accountId) throws ApiException { - ApiResponse> localVarResp = bitbucketSyncsListWithHttpInfo(xPhraseAppOTP, accountId); - return localVarResp.getData(); - } - - /** - * List Bitbucket syncs - * List all Bitbucket repositories for which synchronisation with Phrase Strings is activated. - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @return ApiResponse<List<BitbucketSync>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse> bitbucketSyncsListWithHttpInfo(String xPhraseAppOTP, String accountId) throws ApiException { - okhttp3.Call localVarCall = bitbucketSyncsListValidateBeforeCall(xPhraseAppOTP, accountId, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * List Bitbucket syncs (asynchronously) - * List all Bitbucket repositories for which synchronisation with Phrase Strings is activated. - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call bitbucketSyncsListAsync(String xPhraseAppOTP, String accountId, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = bitbucketSyncsListValidateBeforeCall(xPhraseAppOTP, accountId, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/phrase/client/api/GitHubSyncApi.java b/src/main/java/com/phrase/client/api/GitHubSyncApi.java deleted file mode 100644 index 9080e120e7..0000000000 --- a/src/main/java/com/phrase/client/api/GitHubSyncApi.java +++ /dev/null @@ -1,318 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.api; - -import com.phrase.client.ApiCallback; -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.ApiResponse; -import com.phrase.client.Configuration; -import com.phrase.client.Pair; -import com.phrase.client.ProgressRequestBody; -import com.phrase.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import com.phrase.client.model.CustomMetadataPropertyCreate422Response; -import com.phrase.client.model.GithubSyncExportParameters; -import com.phrase.client.model.GithubSyncImportParameters; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class GitHubSyncApi { - private ApiClient localVarApiClient; - - public GitHubSyncApi() { - this(Configuration.getDefaultApiClient()); - } - - public GitHubSyncApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for githubSyncExport - * @param githubSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
422 Unprocessable entity * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call githubSyncExportCall(GithubSyncExportParameters githubSyncExportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = githubSyncExportParameters; - - // create path and map variables - String localVarPath = "/github_syncs/export"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call githubSyncExportValidateBeforeCall(GithubSyncExportParameters githubSyncExportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'githubSyncExportParameters' is set - if (githubSyncExportParameters == null) { - throw new ApiException("Missing the required parameter 'githubSyncExportParameters' when calling githubSyncExport(Async)"); - } - - - okhttp3.Call localVarCall = githubSyncExportCall(githubSyncExportParameters, xPhraseAppOTP, _callback); - return localVarCall; - - } - - /** - * Export from Phrase Strings to GitHub - * Export translations from Phrase Strings to GitHub according to the .phraseapp.yml file within the GitHub repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * @param githubSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
422 Unprocessable entity * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public void githubSyncExport(GithubSyncExportParameters githubSyncExportParameters, String xPhraseAppOTP) throws ApiException { - githubSyncExportWithHttpInfo(githubSyncExportParameters, xPhraseAppOTP); - } - - /** - * Export from Phrase Strings to GitHub - * Export translations from Phrase Strings to GitHub according to the .phraseapp.yml file within the GitHub repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * @param githubSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
422 Unprocessable entity * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse githubSyncExportWithHttpInfo(GithubSyncExportParameters githubSyncExportParameters, String xPhraseAppOTP) throws ApiException { - okhttp3.Call localVarCall = githubSyncExportValidateBeforeCall(githubSyncExportParameters, xPhraseAppOTP, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Export from Phrase Strings to GitHub (asynchronously) - * Export translations from Phrase Strings to GitHub according to the .phraseapp.yml file within the GitHub repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * @param githubSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
422 Unprocessable entity * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call githubSyncExportAsync(GithubSyncExportParameters githubSyncExportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = githubSyncExportValidateBeforeCall(githubSyncExportParameters, xPhraseAppOTP, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for githubSyncImport - * @param githubSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
422 Unprocessable entity * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call githubSyncImportCall(GithubSyncImportParameters githubSyncImportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = githubSyncImportParameters; - - // create path and map variables - String localVarPath = "/github_syncs/import"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call githubSyncImportValidateBeforeCall(GithubSyncImportParameters githubSyncImportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'githubSyncImportParameters' is set - if (githubSyncImportParameters == null) { - throw new ApiException("Missing the required parameter 'githubSyncImportParameters' when calling githubSyncImport(Async)"); - } - - - okhttp3.Call localVarCall = githubSyncImportCall(githubSyncImportParameters, xPhraseAppOTP, _callback); - return localVarCall; - - } - - /** - * Import to Phrase Strings from GitHub - * Import files to Phrase Strings from your connected GitHub repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * @param githubSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
422 Unprocessable entity * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public void githubSyncImport(GithubSyncImportParameters githubSyncImportParameters, String xPhraseAppOTP) throws ApiException { - githubSyncImportWithHttpInfo(githubSyncImportParameters, xPhraseAppOTP); - } - - /** - * Import to Phrase Strings from GitHub - * Import files to Phrase Strings from your connected GitHub repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * @param githubSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
422 Unprocessable entity * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse githubSyncImportWithHttpInfo(GithubSyncImportParameters githubSyncImportParameters, String xPhraseAppOTP) throws ApiException { - okhttp3.Call localVarCall = githubSyncImportValidateBeforeCall(githubSyncImportParameters, xPhraseAppOTP, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Import to Phrase Strings from GitHub (asynchronously) - * Import files to Phrase Strings from your connected GitHub repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * @param githubSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
422 Unprocessable entity * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call githubSyncImportAsync(GithubSyncImportParameters githubSyncImportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = githubSyncImportValidateBeforeCall(githubSyncImportParameters, xPhraseAppOTP, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/phrase/client/api/GitLabSyncApi.java b/src/main/java/com/phrase/client/api/GitLabSyncApi.java deleted file mode 100644 index 60d03429cd..0000000000 --- a/src/main/java/com/phrase/client/api/GitLabSyncApi.java +++ /dev/null @@ -1,1062 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.api; - -import com.phrase.client.ApiCallback; -import com.phrase.client.ApiClient; -import com.phrase.client.ApiException; -import com.phrase.client.ApiResponse; -import com.phrase.client.Configuration; -import com.phrase.client.Pair; -import com.phrase.client.ProgressRequestBody; -import com.phrase.client.ProgressResponseBody; - -import com.google.gson.reflect.TypeToken; - -import java.io.IOException; - - -import com.phrase.client.model.GitlabSync; -import com.phrase.client.model.GitlabSyncExport; -import com.phrase.client.model.GitlabSyncExportParameters; -import com.phrase.client.model.GitlabSyncHistory; -import com.phrase.client.model.GitlabSyncImportParameters; -import com.phrase.client.model.Upload; - -import java.lang.reflect.Type; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class GitLabSyncApi { - private ApiClient localVarApiClient; - - public GitLabSyncApi() { - this(Configuration.getDefaultApiClient()); - } - - public GitLabSyncApi(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - public ApiClient getApiClient() { - return localVarApiClient; - } - - public void setApiClient(ApiClient apiClient) { - this.localVarApiClient = apiClient; - } - - /** - * Build call for gitlabSyncDelete - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
204 The resource was deleted successfully. * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncDeleteCall(String id, String xPhraseAppOTP, String accountId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/gitlab_syncs/{id}" - .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (accountId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("account_id", accountId)); - } - - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call gitlabSyncDeleteValidateBeforeCall(String id, String xPhraseAppOTP, String accountId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling gitlabSyncDelete(Async)"); - } - - - okhttp3.Call localVarCall = gitlabSyncDeleteCall(id, xPhraseAppOTP, accountId, _callback); - return localVarCall; - - } - - /** - * Delete single Sync Setting - * Deletes a single GitLab Sync Setting. - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
204 The resource was deleted successfully. * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public void gitlabSyncDelete(String id, String xPhraseAppOTP, String accountId) throws ApiException { - gitlabSyncDeleteWithHttpInfo(id, xPhraseAppOTP, accountId); - } - - /** - * Delete single Sync Setting - * Deletes a single GitLab Sync Setting. - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @return ApiResponse<Void> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
204 The resource was deleted successfully. * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse gitlabSyncDeleteWithHttpInfo(String id, String xPhraseAppOTP, String accountId) throws ApiException { - okhttp3.Call localVarCall = gitlabSyncDeleteValidateBeforeCall(id, xPhraseAppOTP, accountId, null); - return localVarApiClient.execute(localVarCall); - } - - /** - * Delete single Sync Setting (asynchronously) - * Deletes a single GitLab Sync Setting. - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
204 The resource was deleted successfully. * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncDeleteAsync(String id, String xPhraseAppOTP, String accountId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = gitlabSyncDeleteValidateBeforeCall(id, xPhraseAppOTP, accountId, _callback); - localVarApiClient.executeAsync(localVarCall, _callback); - return localVarCall; - } - /** - * Build call for gitlabSyncExport - * @param gitlabSyncId Gitlab Sync ID (required) - * @param gitlabSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncExportCall(String gitlabSyncId, GitlabSyncExportParameters gitlabSyncExportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = gitlabSyncExportParameters; - - // create path and map variables - String localVarPath = "/gitlab_syncs/{gitlab_sync_id}/export" - .replaceAll("\\{" + "gitlab_sync_id" + "\\}", localVarApiClient.escapeString(gitlabSyncId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call gitlabSyncExportValidateBeforeCall(String gitlabSyncId, GitlabSyncExportParameters gitlabSyncExportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'gitlabSyncId' is set - if (gitlabSyncId == null) { - throw new ApiException("Missing the required parameter 'gitlabSyncId' when calling gitlabSyncExport(Async)"); - } - - // verify the required parameter 'gitlabSyncExportParameters' is set - if (gitlabSyncExportParameters == null) { - throw new ApiException("Missing the required parameter 'gitlabSyncExportParameters' when calling gitlabSyncExport(Async)"); - } - - - okhttp3.Call localVarCall = gitlabSyncExportCall(gitlabSyncId, gitlabSyncExportParameters, xPhraseAppOTP, _callback); - return localVarCall; - - } - - /** - * Export from Phrase Strings to GitLab - * Export translations from Phrase Strings to GitLab according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * @param gitlabSyncId Gitlab Sync ID (required) - * @param gitlabSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @return GitlabSyncExport - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public GitlabSyncExport gitlabSyncExport(String gitlabSyncId, GitlabSyncExportParameters gitlabSyncExportParameters, String xPhraseAppOTP) throws ApiException { - ApiResponse localVarResp = gitlabSyncExportWithHttpInfo(gitlabSyncId, gitlabSyncExportParameters, xPhraseAppOTP); - return localVarResp.getData(); - } - - /** - * Export from Phrase Strings to GitLab - * Export translations from Phrase Strings to GitLab according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * @param gitlabSyncId Gitlab Sync ID (required) - * @param gitlabSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @return ApiResponse<GitlabSyncExport> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse gitlabSyncExportWithHttpInfo(String gitlabSyncId, GitlabSyncExportParameters gitlabSyncExportParameters, String xPhraseAppOTP) throws ApiException { - okhttp3.Call localVarCall = gitlabSyncExportValidateBeforeCall(gitlabSyncId, gitlabSyncExportParameters, xPhraseAppOTP, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Export from Phrase Strings to GitLab (asynchronously) - * Export translations from Phrase Strings to GitLab according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * @param gitlabSyncId Gitlab Sync ID (required) - * @param gitlabSyncExportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncExportAsync(String gitlabSyncId, GitlabSyncExportParameters gitlabSyncExportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = gitlabSyncExportValidateBeforeCall(gitlabSyncId, gitlabSyncExportParameters, xPhraseAppOTP, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for gitlabSyncHistory - * @param gitlabSyncId Gitlab Sync ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param page Page number (optional) - * @param perPage Limit on the number of objects to be returned, between 1 and 100. 25 by default (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncHistoryCall(String gitlabSyncId, String xPhraseAppOTP, Integer page, Integer perPage, String accountId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/gitlab_syncs/{gitlab_sync_id}/history" - .replaceAll("\\{" + "gitlab_sync_id" + "\\}", localVarApiClient.escapeString(gitlabSyncId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (page != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("page", page)); - } - - if (perPage != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("per_page", perPage)); - } - - if (accountId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("account_id", accountId)); - } - - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call gitlabSyncHistoryValidateBeforeCall(String gitlabSyncId, String xPhraseAppOTP, Integer page, Integer perPage, String accountId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'gitlabSyncId' is set - if (gitlabSyncId == null) { - throw new ApiException("Missing the required parameter 'gitlabSyncId' when calling gitlabSyncHistory(Async)"); - } - - - okhttp3.Call localVarCall = gitlabSyncHistoryCall(gitlabSyncId, xPhraseAppOTP, page, perPage, accountId, _callback); - return localVarCall; - - } - - /** - * History of single Sync Setting - * List history for a single Sync Setting. - * @param gitlabSyncId Gitlab Sync ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param page Page number (optional) - * @param perPage Limit on the number of objects to be returned, between 1 and 100. 25 by default (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @return List<GitlabSyncHistory> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public List gitlabSyncHistory(String gitlabSyncId, String xPhraseAppOTP, Integer page, Integer perPage, String accountId) throws ApiException { - ApiResponse> localVarResp = gitlabSyncHistoryWithHttpInfo(gitlabSyncId, xPhraseAppOTP, page, perPage, accountId); - return localVarResp.getData(); - } - - /** - * History of single Sync Setting - * List history for a single Sync Setting. - * @param gitlabSyncId Gitlab Sync ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param page Page number (optional) - * @param perPage Limit on the number of objects to be returned, between 1 and 100. 25 by default (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @return ApiResponse<List<GitlabSyncHistory>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse> gitlabSyncHistoryWithHttpInfo(String gitlabSyncId, String xPhraseAppOTP, Integer page, Integer perPage, String accountId) throws ApiException { - okhttp3.Call localVarCall = gitlabSyncHistoryValidateBeforeCall(gitlabSyncId, xPhraseAppOTP, page, perPage, accountId, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * History of single Sync Setting (asynchronously) - * List history for a single Sync Setting. - * @param gitlabSyncId Gitlab Sync ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param page Page number (optional) - * @param perPage Limit on the number of objects to be returned, between 1 and 100. 25 by default (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncHistoryAsync(String gitlabSyncId, String xPhraseAppOTP, Integer page, Integer perPage, String accountId, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = gitlabSyncHistoryValidateBeforeCall(gitlabSyncId, xPhraseAppOTP, page, perPage, accountId, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for gitlabSyncImport - * @param gitlabSyncId Gitlab Sync ID (required) - * @param gitlabSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncImportCall(String gitlabSyncId, GitlabSyncImportParameters gitlabSyncImportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = gitlabSyncImportParameters; - - // create path and map variables - String localVarPath = "/gitlab_syncs/{gitlab_sync_id}/import" - .replaceAll("\\{" + "gitlab_sync_id" + "\\}", localVarApiClient.escapeString(gitlabSyncId.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - "application/json" - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call gitlabSyncImportValidateBeforeCall(String gitlabSyncId, GitlabSyncImportParameters gitlabSyncImportParameters, String xPhraseAppOTP, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'gitlabSyncId' is set - if (gitlabSyncId == null) { - throw new ApiException("Missing the required parameter 'gitlabSyncId' when calling gitlabSyncImport(Async)"); - } - - // verify the required parameter 'gitlabSyncImportParameters' is set - if (gitlabSyncImportParameters == null) { - throw new ApiException("Missing the required parameter 'gitlabSyncImportParameters' when calling gitlabSyncImport(Async)"); - } - - - okhttp3.Call localVarCall = gitlabSyncImportCall(gitlabSyncId, gitlabSyncImportParameters, xPhraseAppOTP, _callback); - return localVarCall; - - } - - /** - * Import from GitLab to Phrase - * Import translations from GitLab to Phrase Strings according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * @param gitlabSyncId Gitlab Sync ID (required) - * @param gitlabSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @return List<Upload> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public List gitlabSyncImport(String gitlabSyncId, GitlabSyncImportParameters gitlabSyncImportParameters, String xPhraseAppOTP) throws ApiException { - ApiResponse> localVarResp = gitlabSyncImportWithHttpInfo(gitlabSyncId, gitlabSyncImportParameters, xPhraseAppOTP); - return localVarResp.getData(); - } - - /** - * Import from GitLab to Phrase - * Import translations from GitLab to Phrase Strings according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * @param gitlabSyncId Gitlab Sync ID (required) - * @param gitlabSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @return ApiResponse<List<Upload>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse> gitlabSyncImportWithHttpInfo(String gitlabSyncId, GitlabSyncImportParameters gitlabSyncImportParameters, String xPhraseAppOTP) throws ApiException { - okhttp3.Call localVarCall = gitlabSyncImportValidateBeforeCall(gitlabSyncId, gitlabSyncImportParameters, xPhraseAppOTP, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Import from GitLab to Phrase (asynchronously) - * Import translations from GitLab to Phrase Strings according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * @param gitlabSyncId Gitlab Sync ID (required) - * @param gitlabSyncImportParameters (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncImportAsync(String gitlabSyncId, GitlabSyncImportParameters gitlabSyncImportParameters, String xPhraseAppOTP, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = gitlabSyncImportValidateBeforeCall(gitlabSyncId, gitlabSyncImportParameters, xPhraseAppOTP, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for gitlabSyncList - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncListCall(String xPhraseAppOTP, String accountId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/gitlab_syncs"; - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (accountId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("account_id", accountId)); - } - - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call gitlabSyncListValidateBeforeCall(String xPhraseAppOTP, String accountId, final ApiCallback _callback) throws ApiException { - - - okhttp3.Call localVarCall = gitlabSyncListCall(xPhraseAppOTP, accountId, _callback); - return localVarCall; - - } - - /** - * List GitLab syncs - * List all GitLab Sync Settings for which synchronisation with Phrase Strings and GitLab is activated. - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @return List<GitlabSync> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public List gitlabSyncList(String xPhraseAppOTP, String accountId) throws ApiException { - ApiResponse> localVarResp = gitlabSyncListWithHttpInfo(xPhraseAppOTP, accountId); - return localVarResp.getData(); - } - - /** - * List GitLab syncs - * List all GitLab Sync Settings for which synchronisation with Phrase Strings and GitLab is activated. - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @return ApiResponse<List<GitlabSync>> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse> gitlabSyncListWithHttpInfo(String xPhraseAppOTP, String accountId) throws ApiException { - okhttp3.Call localVarCall = gitlabSyncListValidateBeforeCall(xPhraseAppOTP, accountId, null); - Type localVarReturnType = new TypeToken>(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * List GitLab syncs (asynchronously) - * List all GitLab Sync Settings for which synchronisation with Phrase Strings and GitLab is activated. - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
* Link -
* Pagination -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncListAsync(String xPhraseAppOTP, String accountId, final ApiCallback> _callback) throws ApiException { - - okhttp3.Call localVarCall = gitlabSyncListValidateBeforeCall(xPhraseAppOTP, accountId, _callback); - Type localVarReturnType = new TypeToken>(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for gitlabSyncShow - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncShowCall(String id, String xPhraseAppOTP, String accountId, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/gitlab_syncs/{id}" - .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (accountId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("account_id", accountId)); - } - - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "GET", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call gitlabSyncShowValidateBeforeCall(String id, String xPhraseAppOTP, String accountId, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling gitlabSyncShow(Async)"); - } - - - okhttp3.Call localVarCall = gitlabSyncShowCall(id, xPhraseAppOTP, accountId, _callback); - return localVarCall; - - } - - /** - * Get single Sync Setting - * Shows a single GitLab Sync Setting. - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @return GitlabSync - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public GitlabSync gitlabSyncShow(String id, String xPhraseAppOTP, String accountId) throws ApiException { - ApiResponse localVarResp = gitlabSyncShowWithHttpInfo(id, xPhraseAppOTP, accountId); - return localVarResp.getData(); - } - - /** - * Get single Sync Setting - * Shows a single GitLab Sync Setting. - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @return ApiResponse<GitlabSync> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse gitlabSyncShowWithHttpInfo(String id, String xPhraseAppOTP, String accountId) throws ApiException { - okhttp3.Call localVarCall = gitlabSyncShowValidateBeforeCall(id, xPhraseAppOTP, accountId, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Get single Sync Setting (asynchronously) - * Shows a single GitLab Sync Setting. - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncShowAsync(String id, String xPhraseAppOTP, String accountId, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = gitlabSyncShowValidateBeforeCall(id, xPhraseAppOTP, accountId, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } - /** - * Build call for gitlabSyncUpdate - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param phraseProjectCode Code of the related Phrase Strings Project. (optional) - * @param gitlabProjectId ID of the related GitLab Project. (optional) - * @param gitlabBranchName Name of the GitLab Branch. (optional) - * @param _callback Callback for upload/download progress - * @return Call to execute - * @throws ApiException If fail to serialize the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncUpdateCall(String id, String xPhraseAppOTP, String accountId, String phraseProjectCode, Integer gitlabProjectId, String gitlabBranchName, final ApiCallback _callback) throws ApiException { - Object localVarPostBody = null; - - // create path and map variables - String localVarPath = "/gitlab_syncs/{id}" - .replaceAll("\\{" + "id" + "\\}", localVarApiClient.escapeString(id.toString())); - - List localVarQueryParams = new ArrayList(); - List localVarCollectionQueryParams = new ArrayList(); - if (accountId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("account_id", accountId)); - } - - if (phraseProjectCode != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("phrase_project_code", phraseProjectCode)); - } - - if (gitlabProjectId != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gitlab_project_id", gitlabProjectId)); - } - - if (gitlabBranchName != null) { - localVarQueryParams.addAll(localVarApiClient.parameterToPair("gitlab_branch_name", gitlabBranchName)); - } - - Map localVarHeaderParams = new HashMap(); - if (xPhraseAppOTP != null) { - localVarHeaderParams.put("X-PhraseApp-OTP", localVarApiClient.parameterToString(xPhraseAppOTP)); - } - - Map localVarCookieParams = new HashMap(); - Map localVarFormParams = new HashMap(); - final String[] localVarAccepts = { - "application/json" - }; - final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); - if (localVarAccept != null) { - localVarHeaderParams.put("Accept", localVarAccept); - } - - final String[] localVarContentTypes = { - - }; - final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes); - localVarHeaderParams.put("Content-Type", localVarContentType); - - String[] localVarAuthNames = new String[] { "Basic", "Token" }; - return localVarApiClient.buildCall(localVarPath, "PUT", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback); - } - - @SuppressWarnings("rawtypes") - private okhttp3.Call gitlabSyncUpdateValidateBeforeCall(String id, String xPhraseAppOTP, String accountId, String phraseProjectCode, Integer gitlabProjectId, String gitlabBranchName, final ApiCallback _callback) throws ApiException { - - // verify the required parameter 'id' is set - if (id == null) { - throw new ApiException("Missing the required parameter 'id' when calling gitlabSyncUpdate(Async)"); - } - - - okhttp3.Call localVarCall = gitlabSyncUpdateCall(id, xPhraseAppOTP, accountId, phraseProjectCode, gitlabProjectId, gitlabBranchName, _callback); - return localVarCall; - - } - - /** - * Update single Sync Setting - * Updates a single GitLab Sync Setting. - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param phraseProjectCode Code of the related Phrase Strings Project. (optional) - * @param gitlabProjectId ID of the related GitLab Project. (optional) - * @param gitlabBranchName Name of the GitLab Branch. (optional) - * @return GitlabSync - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public GitlabSync gitlabSyncUpdate(String id, String xPhraseAppOTP, String accountId, String phraseProjectCode, Integer gitlabProjectId, String gitlabBranchName) throws ApiException { - ApiResponse localVarResp = gitlabSyncUpdateWithHttpInfo(id, xPhraseAppOTP, accountId, phraseProjectCode, gitlabProjectId, gitlabBranchName); - return localVarResp.getData(); - } - - /** - * Update single Sync Setting - * Updates a single GitLab Sync Setting. - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param phraseProjectCode Code of the related Phrase Strings Project. (optional) - * @param gitlabProjectId ID of the related GitLab Project. (optional) - * @param gitlabBranchName Name of the GitLab Branch. (optional) - * @return ApiResponse<GitlabSync> - * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public ApiResponse gitlabSyncUpdateWithHttpInfo(String id, String xPhraseAppOTP, String accountId, String phraseProjectCode, Integer gitlabProjectId, String gitlabBranchName) throws ApiException { - okhttp3.Call localVarCall = gitlabSyncUpdateValidateBeforeCall(id, xPhraseAppOTP, accountId, phraseProjectCode, gitlabProjectId, gitlabBranchName, null); - Type localVarReturnType = new TypeToken(){}.getType(); - return localVarApiClient.execute(localVarCall, localVarReturnType); - } - - /** - * Update single Sync Setting (asynchronously) - * Updates a single GitLab Sync Setting. - * @param id ID (required) - * @param xPhraseAppOTP Two-Factor-Authentication token (optional) (optional) - * @param accountId Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. (optional) - * @param phraseProjectCode Code of the related Phrase Strings Project. (optional) - * @param gitlabProjectId ID of the related GitLab Project. (optional) - * @param gitlabBranchName Name of the GitLab Branch. (optional) - * @param _callback The callback to be executed when the API call finishes - * @return The request call - * @throws ApiException If fail to process the API call, e.g. serializing the request body object - * @http.response.details - - - - - - -
Status Code Description Response Headers
200 OK * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
400 Bad request * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
404 Not Found * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
429 Rate Limiting * X-Rate-Limit-Limit -
* X-Rate-Limit-Remaining -
* X-Rate-Limit-Reset -
- */ - public okhttp3.Call gitlabSyncUpdateAsync(String id, String xPhraseAppOTP, String accountId, String phraseProjectCode, Integer gitlabProjectId, String gitlabBranchName, final ApiCallback _callback) throws ApiException { - - okhttp3.Call localVarCall = gitlabSyncUpdateValidateBeforeCall(id, xPhraseAppOTP, accountId, phraseProjectCode, gitlabProjectId, gitlabBranchName, _callback); - Type localVarReturnType = new TypeToken(){}.getType(); - localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback); - return localVarCall; - } -} diff --git a/src/main/java/com/phrase/client/auth/ApiKeyAuth.java b/src/main/java/com/phrase/client/auth/ApiKeyAuth.java index 6a94a2b4ff..010281e1de 100644 --- a/src/main/java/com/phrase/client/auth/ApiKeyAuth.java +++ b/src/main/java/com/phrase/client/auth/ApiKeyAuth.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/src/main/java/com/phrase/client/auth/HttpBearerAuth.java b/src/main/java/com/phrase/client/auth/HttpBearerAuth.java index 1baef11906..8646f82f8c 100644 --- a/src/main/java/com/phrase/client/auth/HttpBearerAuth.java +++ b/src/main/java/com/phrase/client/auth/HttpBearerAuth.java @@ -17,7 +17,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/src/main/java/com/phrase/client/model/AbstractOpenApiSchema.java b/src/main/java/com/phrase/client/model/AbstractOpenApiSchema.java index 24ced8dff3..c27c2d8b5b 100644 --- a/src/main/java/com/phrase/client/model/AbstractOpenApiSchema.java +++ b/src/main/java/com/phrase/client/model/AbstractOpenApiSchema.java @@ -22,7 +22,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object diff --git a/src/main/java/com/phrase/client/model/Account.java b/src/main/java/com/phrase/client/model/Account.java index 72370aa7a0..9b24d0a0ec 100644 --- a/src/main/java/com/phrase/client/model/Account.java +++ b/src/main/java/com/phrase/client/model/Account.java @@ -27,7 +27,7 @@ /** * Account */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Account { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/AccountDetails.java b/src/main/java/com/phrase/client/model/AccountDetails.java index 58b9bbcdc5..6f31f7fd2c 100644 --- a/src/main/java/com/phrase/client/model/AccountDetails.java +++ b/src/main/java/com/phrase/client/model/AccountDetails.java @@ -28,7 +28,7 @@ /** * AccountDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class AccountDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/AccountSearchResult.java b/src/main/java/com/phrase/client/model/AccountSearchResult.java index f7dcdd02db..8d69f483fd 100644 --- a/src/main/java/com/phrase/client/model/AccountSearchResult.java +++ b/src/main/java/com/phrase/client/model/AccountSearchResult.java @@ -32,7 +32,7 @@ /** * AccountSearchResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class AccountSearchResult { public static final String SERIALIZED_NAME_QUERY = "query"; @SerializedName(SERIALIZED_NAME_QUERY) diff --git a/src/main/java/com/phrase/client/model/AffectedCount.java b/src/main/java/com/phrase/client/model/AffectedCount.java index 6d616ba14c..dcf7d7aecc 100644 --- a/src/main/java/com/phrase/client/model/AffectedCount.java +++ b/src/main/java/com/phrase/client/model/AffectedCount.java @@ -26,7 +26,7 @@ /** * AffectedCount */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class AffectedCount { public static final String SERIALIZED_NAME_RECORDS_AFFECTED = "records_affected"; @SerializedName(SERIALIZED_NAME_RECORDS_AFFECTED) diff --git a/src/main/java/com/phrase/client/model/AffectedResources.java b/src/main/java/com/phrase/client/model/AffectedResources.java index 73aa6d125d..bba788df48 100644 --- a/src/main/java/com/phrase/client/model/AffectedResources.java +++ b/src/main/java/com/phrase/client/model/AffectedResources.java @@ -26,7 +26,7 @@ /** * AffectedResources */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class AffectedResources { public static final String SERIALIZED_NAME_RECORDS_AFFECTED = "records_affected"; @SerializedName(SERIALIZED_NAME_RECORDS_AFFECTED) diff --git a/src/main/java/com/phrase/client/model/Authorization.java b/src/main/java/com/phrase/client/model/Authorization.java index 9d615e1748..1cca7b51ce 100644 --- a/src/main/java/com/phrase/client/model/Authorization.java +++ b/src/main/java/com/phrase/client/model/Authorization.java @@ -29,7 +29,7 @@ /** * Authorization */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Authorization { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/AuthorizationCreateParameters.java b/src/main/java/com/phrase/client/model/AuthorizationCreateParameters.java index 484bb74237..be48380757 100644 --- a/src/main/java/com/phrase/client/model/AuthorizationCreateParameters.java +++ b/src/main/java/com/phrase/client/model/AuthorizationCreateParameters.java @@ -29,7 +29,7 @@ /** * AuthorizationCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class AuthorizationCreateParameters { public static final String SERIALIZED_NAME_NOTE = "note"; @SerializedName(SERIALIZED_NAME_NOTE) diff --git a/src/main/java/com/phrase/client/model/AuthorizationUpdateParameters.java b/src/main/java/com/phrase/client/model/AuthorizationUpdateParameters.java index 8b3ac10f18..4bc4e56f7d 100644 --- a/src/main/java/com/phrase/client/model/AuthorizationUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/AuthorizationUpdateParameters.java @@ -29,7 +29,7 @@ /** * AuthorizationUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class AuthorizationUpdateParameters { public static final String SERIALIZED_NAME_NOTE = "note"; @SerializedName(SERIALIZED_NAME_NOTE) diff --git a/src/main/java/com/phrase/client/model/AuthorizationWithToken.java b/src/main/java/com/phrase/client/model/AuthorizationWithToken.java index b33727d4f1..d20cd567e7 100644 --- a/src/main/java/com/phrase/client/model/AuthorizationWithToken.java +++ b/src/main/java/com/phrase/client/model/AuthorizationWithToken.java @@ -29,7 +29,7 @@ /** * AuthorizationWithToken */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class AuthorizationWithToken { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/BitbucketSync.java b/src/main/java/com/phrase/client/model/BitbucketSync.java deleted file mode 100644 index 65ff6ae0a7..0000000000 --- a/src/main/java/com/phrase/client/model/BitbucketSync.java +++ /dev/null @@ -1,249 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.phrase.client.model.ProjectShort; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * BitbucketSync - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class BitbucketSync { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_REPOSITORY_NAME = "repository_name"; - @SerializedName(SERIALIZED_NAME_REPOSITORY_NAME) - private String repositoryName; - - public static final String SERIALIZED_NAME_LAST_EXPORT_TO_BITBUCKET_AT = "last_export_to_bitbucket_at"; - @SerializedName(SERIALIZED_NAME_LAST_EXPORT_TO_BITBUCKET_AT) - private OffsetDateTime lastExportToBitbucketAt; - - public static final String SERIALIZED_NAME_LAST_IMPORT_FROM_BITBUCKET_AT = "last_import_from_bitbucket_at"; - @SerializedName(SERIALIZED_NAME_LAST_IMPORT_FROM_BITBUCKET_AT) - private OffsetDateTime lastImportFromBitbucketAt; - - public static final String SERIALIZED_NAME_VALID_PHRASEAPP_YAML = "valid_phraseapp_yaml"; - @SerializedName(SERIALIZED_NAME_VALID_PHRASEAPP_YAML) - private Boolean validPhraseappYaml; - - public static final String SERIALIZED_NAME_PHRASEAPP_PROJECTS = "phraseapp_projects"; - @SerializedName(SERIALIZED_NAME_PHRASEAPP_PROJECTS) - private List phraseappProjects; - - public BitbucketSync() { - } - - public BitbucketSync id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nullable - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public BitbucketSync repositoryName(String repositoryName) { - - this.repositoryName = repositoryName; - return this; - } - - /** - * Get repositoryName - * @return repositoryName - **/ - @javax.annotation.Nullable - - public String getRepositoryName() { - return repositoryName; - } - - - public void setRepositoryName(String repositoryName) { - this.repositoryName = repositoryName; - } - - - public BitbucketSync lastExportToBitbucketAt(OffsetDateTime lastExportToBitbucketAt) { - - this.lastExportToBitbucketAt = lastExportToBitbucketAt; - return this; - } - - /** - * Get lastExportToBitbucketAt - * @return lastExportToBitbucketAt - **/ - @javax.annotation.Nullable - - public OffsetDateTime getLastExportToBitbucketAt() { - return lastExportToBitbucketAt; - } - - - public void setLastExportToBitbucketAt(OffsetDateTime lastExportToBitbucketAt) { - this.lastExportToBitbucketAt = lastExportToBitbucketAt; - } - - - public BitbucketSync lastImportFromBitbucketAt(OffsetDateTime lastImportFromBitbucketAt) { - - this.lastImportFromBitbucketAt = lastImportFromBitbucketAt; - return this; - } - - /** - * Get lastImportFromBitbucketAt - * @return lastImportFromBitbucketAt - **/ - @javax.annotation.Nullable - - public OffsetDateTime getLastImportFromBitbucketAt() { - return lastImportFromBitbucketAt; - } - - - public void setLastImportFromBitbucketAt(OffsetDateTime lastImportFromBitbucketAt) { - this.lastImportFromBitbucketAt = lastImportFromBitbucketAt; - } - - - public BitbucketSync validPhraseappYaml(Boolean validPhraseappYaml) { - - this.validPhraseappYaml = validPhraseappYaml; - return this; - } - - /** - * Get validPhraseappYaml - * @return validPhraseappYaml - **/ - @javax.annotation.Nullable - - public Boolean getValidPhraseappYaml() { - return validPhraseappYaml; - } - - - public void setValidPhraseappYaml(Boolean validPhraseappYaml) { - this.validPhraseappYaml = validPhraseappYaml; - } - - - public BitbucketSync phraseappProjects(List phraseappProjects) { - - this.phraseappProjects = phraseappProjects; - return this; - } - - public BitbucketSync addPhraseappProjectsItem(ProjectShort phraseappProjectsItem) { - if (this.phraseappProjects == null) { - this.phraseappProjects = new ArrayList<>(); - } - this.phraseappProjects.add(phraseappProjectsItem); - return this; - } - - /** - * Get phraseappProjects - * @return phraseappProjects - **/ - @javax.annotation.Nullable - - public List getPhraseappProjects() { - return phraseappProjects; - } - - - public void setPhraseappProjects(List phraseappProjects) { - this.phraseappProjects = phraseappProjects; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BitbucketSync bitbucketSync = (BitbucketSync) o; - return Objects.equals(this.id, bitbucketSync.id) && - Objects.equals(this.repositoryName, bitbucketSync.repositoryName) && - Objects.equals(this.lastExportToBitbucketAt, bitbucketSync.lastExportToBitbucketAt) && - Objects.equals(this.lastImportFromBitbucketAt, bitbucketSync.lastImportFromBitbucketAt) && - Objects.equals(this.validPhraseappYaml, bitbucketSync.validPhraseappYaml) && - Objects.equals(this.phraseappProjects, bitbucketSync.phraseappProjects); - } - - @Override - public int hashCode() { - return Objects.hash(id, repositoryName, lastExportToBitbucketAt, lastImportFromBitbucketAt, validPhraseappYaml, phraseappProjects); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class BitbucketSync {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" repositoryName: ").append(toIndentedString(repositoryName)).append("\n"); - sb.append(" lastExportToBitbucketAt: ").append(toIndentedString(lastExportToBitbucketAt)).append("\n"); - sb.append(" lastImportFromBitbucketAt: ").append(toIndentedString(lastImportFromBitbucketAt)).append("\n"); - sb.append(" validPhraseappYaml: ").append(toIndentedString(validPhraseappYaml)).append("\n"); - sb.append(" phraseappProjects: ").append(toIndentedString(phraseappProjects)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/BitbucketSyncExportParameters.java b/src/main/java/com/phrase/client/model/BitbucketSyncExportParameters.java deleted file mode 100644 index a237ac28e8..0000000000 --- a/src/main/java/com/phrase/client/model/BitbucketSyncExportParameters.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * BitbucketSyncExportParameters - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class BitbucketSyncExportParameters { - public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; - @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private String accountId; - - public BitbucketSyncExportParameters() { - } - - public BitbucketSyncExportParameters accountId(String accountId) { - - this.accountId = accountId; - return this; - } - - /** - * Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. - * @return accountId - **/ - @javax.annotation.Nullable - - public String getAccountId() { - return accountId; - } - - - public void setAccountId(String accountId) { - this.accountId = accountId; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BitbucketSyncExportParameters bitbucketSyncExportParameters = (BitbucketSyncExportParameters) o; - return Objects.equals(this.accountId, bitbucketSyncExportParameters.accountId); - } - - @Override - public int hashCode() { - return Objects.hash(accountId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class BitbucketSyncExportParameters {\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/BitbucketSyncExportResponse.java b/src/main/java/com/phrase/client/model/BitbucketSyncExportResponse.java deleted file mode 100644 index 299a10d03d..0000000000 --- a/src/main/java/com/phrase/client/model/BitbucketSyncExportResponse.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * BitbucketSyncExportResponse - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class BitbucketSyncExportResponse { - public static final String SERIALIZED_NAME_STATUS_PATH = "status_path"; - @SerializedName(SERIALIZED_NAME_STATUS_PATH) - private String statusPath; - - public BitbucketSyncExportResponse() { - } - - public BitbucketSyncExportResponse statusPath(String statusPath) { - - this.statusPath = statusPath; - return this; - } - - /** - * Get statusPath - * @return statusPath - **/ - @javax.annotation.Nullable - - public String getStatusPath() { - return statusPath; - } - - - public void setStatusPath(String statusPath) { - this.statusPath = statusPath; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BitbucketSyncExportResponse bitbucketSyncExportResponse = (BitbucketSyncExportResponse) o; - return Objects.equals(this.statusPath, bitbucketSyncExportResponse.statusPath); - } - - @Override - public int hashCode() { - return Objects.hash(statusPath); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class BitbucketSyncExportResponse {\n"); - sb.append(" statusPath: ").append(toIndentedString(statusPath)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/BitbucketSyncImportParameters.java b/src/main/java/com/phrase/client/model/BitbucketSyncImportParameters.java deleted file mode 100644 index 921fef810b..0000000000 --- a/src/main/java/com/phrase/client/model/BitbucketSyncImportParameters.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * BitbucketSyncImportParameters - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class BitbucketSyncImportParameters { - public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; - @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private String accountId; - - public BitbucketSyncImportParameters() { - } - - public BitbucketSyncImportParameters accountId(String accountId) { - - this.accountId = accountId; - return this; - } - - /** - * Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts. - * @return accountId - **/ - @javax.annotation.Nullable - - public String getAccountId() { - return accountId; - } - - - public void setAccountId(String accountId) { - this.accountId = accountId; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - BitbucketSyncImportParameters bitbucketSyncImportParameters = (BitbucketSyncImportParameters) o; - return Objects.equals(this.accountId, bitbucketSyncImportParameters.accountId); - } - - @Override - public int hashCode() { - return Objects.hash(accountId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class BitbucketSyncImportParameters {\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/BlacklistedKey.java b/src/main/java/com/phrase/client/model/BlacklistedKey.java index df2c835cb3..d63cb65a44 100644 --- a/src/main/java/com/phrase/client/model/BlacklistedKey.java +++ b/src/main/java/com/phrase/client/model/BlacklistedKey.java @@ -27,7 +27,7 @@ /** * BlacklistedKey */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class BlacklistedKey { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/BlacklistedKeyCreateParameters.java b/src/main/java/com/phrase/client/model/BlacklistedKeyCreateParameters.java index 1ed0aab808..c257457ab2 100644 --- a/src/main/java/com/phrase/client/model/BlacklistedKeyCreateParameters.java +++ b/src/main/java/com/phrase/client/model/BlacklistedKeyCreateParameters.java @@ -26,7 +26,7 @@ /** * BlacklistedKeyCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class BlacklistedKeyCreateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/BlacklistedKeyUpdateParameters.java b/src/main/java/com/phrase/client/model/BlacklistedKeyUpdateParameters.java index 9a446cfd56..95b8038071 100644 --- a/src/main/java/com/phrase/client/model/BlacklistedKeyUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/BlacklistedKeyUpdateParameters.java @@ -26,7 +26,7 @@ /** * BlacklistedKeyUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class BlacklistedKeyUpdateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/Branch.java b/src/main/java/com/phrase/client/model/Branch.java index 08e093c167..95ed19be5f 100644 --- a/src/main/java/com/phrase/client/model/Branch.java +++ b/src/main/java/com/phrase/client/model/Branch.java @@ -28,7 +28,7 @@ /** * Branch */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Branch { public static final String SERIALIZED_NAME_BASE_PROJECT_ID = "base_project_id"; @SerializedName(SERIALIZED_NAME_BASE_PROJECT_ID) diff --git a/src/main/java/com/phrase/client/model/BranchCreateParameters.java b/src/main/java/com/phrase/client/model/BranchCreateParameters.java index 25081bb0e4..d9742264ef 100644 --- a/src/main/java/com/phrase/client/model/BranchCreateParameters.java +++ b/src/main/java/com/phrase/client/model/BranchCreateParameters.java @@ -26,7 +26,7 @@ /** * BranchCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class BranchCreateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/BranchMergeParameters.java b/src/main/java/com/phrase/client/model/BranchMergeParameters.java index 95f716d003..b3f35e21ef 100644 --- a/src/main/java/com/phrase/client/model/BranchMergeParameters.java +++ b/src/main/java/com/phrase/client/model/BranchMergeParameters.java @@ -26,7 +26,7 @@ /** * BranchMergeParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class BranchMergeParameters { public static final String SERIALIZED_NAME_STRATEGY = "strategy"; @SerializedName(SERIALIZED_NAME_STRATEGY) diff --git a/src/main/java/com/phrase/client/model/BranchName.java b/src/main/java/com/phrase/client/model/BranchName.java index 9ee7c56e91..734a68e3ea 100644 --- a/src/main/java/com/phrase/client/model/BranchName.java +++ b/src/main/java/com/phrase/client/model/BranchName.java @@ -26,7 +26,7 @@ /** * BranchName */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class BranchName { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/BranchUpdateParameters.java b/src/main/java/com/phrase/client/model/BranchUpdateParameters.java index 9f9383dae9..ead91027bd 100644 --- a/src/main/java/com/phrase/client/model/BranchUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/BranchUpdateParameters.java @@ -26,7 +26,7 @@ /** * BranchUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class BranchUpdateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/Comment.java b/src/main/java/com/phrase/client/model/Comment.java index 9186424867..37ed82d3f7 100644 --- a/src/main/java/com/phrase/client/model/Comment.java +++ b/src/main/java/com/phrase/client/model/Comment.java @@ -31,7 +31,7 @@ /** * Comment */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Comment { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/CommentCreateParameters.java b/src/main/java/com/phrase/client/model/CommentCreateParameters.java index 52c5e27f61..9253c5c218 100644 --- a/src/main/java/com/phrase/client/model/CommentCreateParameters.java +++ b/src/main/java/com/phrase/client/model/CommentCreateParameters.java @@ -28,7 +28,7 @@ /** * CommentCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CommentCreateParameters { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) diff --git a/src/main/java/com/phrase/client/model/CommentCreateParameters1.java b/src/main/java/com/phrase/client/model/CommentCreateParameters1.java index e88fa8ee94..151494f5bf 100644 --- a/src/main/java/com/phrase/client/model/CommentCreateParameters1.java +++ b/src/main/java/com/phrase/client/model/CommentCreateParameters1.java @@ -26,7 +26,7 @@ /** * CommentCreateParameters1 */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CommentCreateParameters1 { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) diff --git a/src/main/java/com/phrase/client/model/CommentMarkReadParameters.java b/src/main/java/com/phrase/client/model/CommentMarkReadParameters.java index 0fce5dbe1c..d293a06872 100644 --- a/src/main/java/com/phrase/client/model/CommentMarkReadParameters.java +++ b/src/main/java/com/phrase/client/model/CommentMarkReadParameters.java @@ -26,7 +26,7 @@ /** * CommentMarkReadParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CommentMarkReadParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/CommentReaction.java b/src/main/java/com/phrase/client/model/CommentReaction.java index 16fc06dcb0..18b6886103 100644 --- a/src/main/java/com/phrase/client/model/CommentReaction.java +++ b/src/main/java/com/phrase/client/model/CommentReaction.java @@ -29,7 +29,7 @@ /** * CommentReaction */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CommentReaction { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/CommentUpdateParameters.java b/src/main/java/com/phrase/client/model/CommentUpdateParameters.java index 7e0e6f98d6..d25362fa51 100644 --- a/src/main/java/com/phrase/client/model/CommentUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/CommentUpdateParameters.java @@ -26,7 +26,7 @@ /** * CommentUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CommentUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/CommentsListParameters.java b/src/main/java/com/phrase/client/model/CommentsListParameters.java index c2cd3cda9b..28bc036c0f 100644 --- a/src/main/java/com/phrase/client/model/CommentsListParameters.java +++ b/src/main/java/com/phrase/client/model/CommentsListParameters.java @@ -28,7 +28,7 @@ /** * CommentsListParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CommentsListParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/CurrentUser.java b/src/main/java/com/phrase/client/model/CurrentUser.java index 378e2d6273..662c347214 100644 --- a/src/main/java/com/phrase/client/model/CurrentUser.java +++ b/src/main/java/com/phrase/client/model/CurrentUser.java @@ -27,7 +27,7 @@ /** * CurrentUser */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CurrentUser { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/CustomMetadataPropertiesCreateParameters.java b/src/main/java/com/phrase/client/model/CustomMetadataPropertiesCreateParameters.java index 8a6b49ac6d..f02a09f1ca 100644 --- a/src/main/java/com/phrase/client/model/CustomMetadataPropertiesCreateParameters.java +++ b/src/main/java/com/phrase/client/model/CustomMetadataPropertiesCreateParameters.java @@ -29,7 +29,7 @@ /** * CustomMetadataPropertiesCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CustomMetadataPropertiesCreateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/CustomMetadataPropertiesUpdateParameters.java b/src/main/java/com/phrase/client/model/CustomMetadataPropertiesUpdateParameters.java index f40071215f..bef2eff185 100644 --- a/src/main/java/com/phrase/client/model/CustomMetadataPropertiesUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/CustomMetadataPropertiesUpdateParameters.java @@ -28,7 +28,7 @@ /** * CustomMetadataPropertiesUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CustomMetadataPropertiesUpdateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/CustomMetadataProperty.java b/src/main/java/com/phrase/client/model/CustomMetadataProperty.java index 2bbaad19b2..e58b6a97ac 100644 --- a/src/main/java/com/phrase/client/model/CustomMetadataProperty.java +++ b/src/main/java/com/phrase/client/model/CustomMetadataProperty.java @@ -32,7 +32,7 @@ /** * CustomMetadataProperty */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CustomMetadataProperty { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/CustomMetadataPropertyCreate422Response.java b/src/main/java/com/phrase/client/model/CustomMetadataPropertyCreate422Response.java index 75fac7905c..647b2dc838 100644 --- a/src/main/java/com/phrase/client/model/CustomMetadataPropertyCreate422Response.java +++ b/src/main/java/com/phrase/client/model/CustomMetadataPropertyCreate422Response.java @@ -29,7 +29,7 @@ /** * CustomMetadataPropertyCreate422Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CustomMetadataPropertyCreate422Response { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) diff --git a/src/main/java/com/phrase/client/model/CustomMetadataPropertyCreate422ResponseErrorsInner.java b/src/main/java/com/phrase/client/model/CustomMetadataPropertyCreate422ResponseErrorsInner.java index 009ca12140..85aaa90b99 100644 --- a/src/main/java/com/phrase/client/model/CustomMetadataPropertyCreate422ResponseErrorsInner.java +++ b/src/main/java/com/phrase/client/model/CustomMetadataPropertyCreate422ResponseErrorsInner.java @@ -26,7 +26,7 @@ /** * CustomMetadataPropertyCreate422ResponseErrorsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class CustomMetadataPropertyCreate422ResponseErrorsInner { public static final String SERIALIZED_NAME_RESOURCE = "resource"; @SerializedName(SERIALIZED_NAME_RESOURCE) diff --git a/src/main/java/com/phrase/client/model/Distribution.java b/src/main/java/com/phrase/client/model/Distribution.java index d411ce55af..6b5c02542b 100644 --- a/src/main/java/com/phrase/client/model/Distribution.java +++ b/src/main/java/com/phrase/client/model/Distribution.java @@ -32,7 +32,7 @@ /** * Distribution */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Distribution { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/DistributionCreateParameters.java b/src/main/java/com/phrase/client/model/DistributionCreateParameters.java index 57ba7e945d..93507c8faf 100644 --- a/src/main/java/com/phrase/client/model/DistributionCreateParameters.java +++ b/src/main/java/com/phrase/client/model/DistributionCreateParameters.java @@ -30,7 +30,7 @@ /** * DistributionCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class DistributionCreateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/DistributionPreview.java b/src/main/java/com/phrase/client/model/DistributionPreview.java index d1b6d122c1..219807121c 100644 --- a/src/main/java/com/phrase/client/model/DistributionPreview.java +++ b/src/main/java/com/phrase/client/model/DistributionPreview.java @@ -30,7 +30,7 @@ /** * DistributionPreview */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class DistributionPreview { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/DistributionUpdateParameters.java b/src/main/java/com/phrase/client/model/DistributionUpdateParameters.java index 0d959b05cb..9818a1338a 100644 --- a/src/main/java/com/phrase/client/model/DistributionUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/DistributionUpdateParameters.java @@ -30,7 +30,7 @@ /** * DistributionUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class DistributionUpdateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/Document.java b/src/main/java/com/phrase/client/model/Document.java index 262d769c0a..f79e7c6fdf 100644 --- a/src/main/java/com/phrase/client/model/Document.java +++ b/src/main/java/com/phrase/client/model/Document.java @@ -27,7 +27,7 @@ /** * Document */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Document { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/Error.java b/src/main/java/com/phrase/client/model/Error.java index f7ca8f6dd5..9ef54eb6a4 100644 --- a/src/main/java/com/phrase/client/model/Error.java +++ b/src/main/java/com/phrase/client/model/Error.java @@ -27,7 +27,7 @@ /** * Error field for when the request completely fails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Error { public static final String SERIALIZED_NAME_ERROR = "error"; @SerializedName(SERIALIZED_NAME_ERROR) diff --git a/src/main/java/com/phrase/client/model/ErrorError.java b/src/main/java/com/phrase/client/model/ErrorError.java index 1b25fce796..1221a3b216 100644 --- a/src/main/java/com/phrase/client/model/ErrorError.java +++ b/src/main/java/com/phrase/client/model/ErrorError.java @@ -26,7 +26,7 @@ /** * ErrorError */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ErrorError { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) diff --git a/src/main/java/com/phrase/client/model/FigmaAttachment.java b/src/main/java/com/phrase/client/model/FigmaAttachment.java index 549438dfee..4aadc86e52 100644 --- a/src/main/java/com/phrase/client/model/FigmaAttachment.java +++ b/src/main/java/com/phrase/client/model/FigmaAttachment.java @@ -27,7 +27,7 @@ /** * FigmaAttachment */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class FigmaAttachment { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/FigmaAttachmentCreateParameters.java b/src/main/java/com/phrase/client/model/FigmaAttachmentCreateParameters.java index e1076c0dcc..e80285eb5a 100644 --- a/src/main/java/com/phrase/client/model/FigmaAttachmentCreateParameters.java +++ b/src/main/java/com/phrase/client/model/FigmaAttachmentCreateParameters.java @@ -26,7 +26,7 @@ /** * FigmaAttachmentCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class FigmaAttachmentCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/FigmaAttachmentUpdateParameters.java b/src/main/java/com/phrase/client/model/FigmaAttachmentUpdateParameters.java index 272c4bd2b5..8d985ee841 100644 --- a/src/main/java/com/phrase/client/model/FigmaAttachmentUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/FigmaAttachmentUpdateParameters.java @@ -26,7 +26,7 @@ /** * FigmaAttachmentUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class FigmaAttachmentUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/Format.java b/src/main/java/com/phrase/client/model/Format.java index 27fe05af8e..1eff568d77 100644 --- a/src/main/java/com/phrase/client/model/Format.java +++ b/src/main/java/com/phrase/client/model/Format.java @@ -26,7 +26,7 @@ /** * Format */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Format { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/GithubSyncExportParameters.java b/src/main/java/com/phrase/client/model/GithubSyncExportParameters.java deleted file mode 100644 index 9b84b80be2..0000000000 --- a/src/main/java/com/phrase/client/model/GithubSyncExportParameters.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * GithubSyncExportParameters - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class GithubSyncExportParameters { - public static final String SERIALIZED_NAME_PROJECT_ID = "project_id"; - @SerializedName(SERIALIZED_NAME_PROJECT_ID) - private String projectId; - - public GithubSyncExportParameters() { - } - - public GithubSyncExportParameters projectId(String projectId) { - - this.projectId = projectId; - return this; - } - - /** - * Project ID to specify the actual project the GitHub export should be triggered in. - * @return projectId - **/ - @javax.annotation.Nullable - - public String getProjectId() { - return projectId; - } - - - public void setProjectId(String projectId) { - this.projectId = projectId; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GithubSyncExportParameters githubSyncExportParameters = (GithubSyncExportParameters) o; - return Objects.equals(this.projectId, githubSyncExportParameters.projectId); - } - - @Override - public int hashCode() { - return Objects.hash(projectId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GithubSyncExportParameters {\n"); - sb.append(" projectId: ").append(toIndentedString(projectId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/GithubSyncImportParameters.java b/src/main/java/com/phrase/client/model/GithubSyncImportParameters.java deleted file mode 100644 index b15c72fffb..0000000000 --- a/src/main/java/com/phrase/client/model/GithubSyncImportParameters.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * GithubSyncImportParameters - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class GithubSyncImportParameters { - public static final String SERIALIZED_NAME_PROJECT_ID = "project_id"; - @SerializedName(SERIALIZED_NAME_PROJECT_ID) - private String projectId; - - public GithubSyncImportParameters() { - } - - public GithubSyncImportParameters projectId(String projectId) { - - this.projectId = projectId; - return this; - } - - /** - * Project ID to specify the actual project the GitHub import should be triggered in. - * @return projectId - **/ - @javax.annotation.Nullable - - public String getProjectId() { - return projectId; - } - - - public void setProjectId(String projectId) { - this.projectId = projectId; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GithubSyncImportParameters githubSyncImportParameters = (GithubSyncImportParameters) o; - return Objects.equals(this.projectId, githubSyncImportParameters.projectId); - } - - @Override - public int hashCode() { - return Objects.hash(projectId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GithubSyncImportParameters {\n"); - sb.append(" projectId: ").append(toIndentedString(projectId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/GitlabSync.java b/src/main/java/com/phrase/client/model/GitlabSync.java deleted file mode 100644 index 1f342eacbf..0000000000 --- a/src/main/java/com/phrase/client/model/GitlabSync.java +++ /dev/null @@ -1,378 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.Arrays; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * GitlabSync - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class GitlabSync { - public static final String SERIALIZED_NAME_ID = "id"; - @SerializedName(SERIALIZED_NAME_ID) - private String id; - - public static final String SERIALIZED_NAME_PROJECT_ID = "project_id"; - @SerializedName(SERIALIZED_NAME_PROJECT_ID) - private String projectId; - - public static final String SERIALIZED_NAME_GITLAB_PROJECT_ID = "gitlab_project_id"; - @SerializedName(SERIALIZED_NAME_GITLAB_PROJECT_ID) - private Integer gitlabProjectId; - - public static final String SERIALIZED_NAME_GITLAB_BRANCH_NAME = "gitlab_branch_name"; - @SerializedName(SERIALIZED_NAME_GITLAB_BRANCH_NAME) - private String gitlabBranchName; - - public static final String SERIALIZED_NAME_AUTO_IMPORT = "auto_import"; - @SerializedName(SERIALIZED_NAME_AUTO_IMPORT) - private Boolean autoImport; - - public static final String SERIALIZED_NAME_AUTO_IMPORT_SECRET = "auto_import_secret"; - @SerializedName(SERIALIZED_NAME_AUTO_IMPORT_SECRET) - private String autoImportSecret; - - public static final String SERIALIZED_NAME_AUTO_IMPORT_URL = "auto_import_url"; - @SerializedName(SERIALIZED_NAME_AUTO_IMPORT_URL) - private String autoImportUrl; - - public static final String SERIALIZED_NAME_SELF_HOSTED_API_URL = "self_hosted_api_url"; - @SerializedName(SERIALIZED_NAME_SELF_HOSTED_API_URL) - private String selfHostedApiUrl; - - public static final String SERIALIZED_NAME_LAST_EXPORTED_AT = "last_exported_at"; - @SerializedName(SERIALIZED_NAME_LAST_EXPORTED_AT) - private OffsetDateTime lastExportedAt; - - public static final String SERIALIZED_NAME_LAST_IMPORTED_AT = "last_imported_at"; - @SerializedName(SERIALIZED_NAME_LAST_IMPORTED_AT) - private OffsetDateTime lastImportedAt; - - public static final String SERIALIZED_NAME_LAST_STATUS = "last_status"; - @SerializedName(SERIALIZED_NAME_LAST_STATUS) - private String lastStatus; - - public GitlabSync() { - } - - public GitlabSync id(String id) { - - this.id = id; - return this; - } - - /** - * Get id - * @return id - **/ - @javax.annotation.Nullable - - public String getId() { - return id; - } - - - public void setId(String id) { - this.id = id; - } - - - public GitlabSync projectId(String projectId) { - - this.projectId = projectId; - return this; - } - - /** - * Get projectId - * @return projectId - **/ - @javax.annotation.Nullable - - public String getProjectId() { - return projectId; - } - - - public void setProjectId(String projectId) { - this.projectId = projectId; - } - - - public GitlabSync gitlabProjectId(Integer gitlabProjectId) { - - this.gitlabProjectId = gitlabProjectId; - return this; - } - - /** - * Get gitlabProjectId - * @return gitlabProjectId - **/ - @javax.annotation.Nullable - - public Integer getGitlabProjectId() { - return gitlabProjectId; - } - - - public void setGitlabProjectId(Integer gitlabProjectId) { - this.gitlabProjectId = gitlabProjectId; - } - - - public GitlabSync gitlabBranchName(String gitlabBranchName) { - - this.gitlabBranchName = gitlabBranchName; - return this; - } - - /** - * Get gitlabBranchName - * @return gitlabBranchName - **/ - @javax.annotation.Nullable - - public String getGitlabBranchName() { - return gitlabBranchName; - } - - - public void setGitlabBranchName(String gitlabBranchName) { - this.gitlabBranchName = gitlabBranchName; - } - - - public GitlabSync autoImport(Boolean autoImport) { - - this.autoImport = autoImport; - return this; - } - - /** - * Get autoImport - * @return autoImport - **/ - @javax.annotation.Nullable - - public Boolean getAutoImport() { - return autoImport; - } - - - public void setAutoImport(Boolean autoImport) { - this.autoImport = autoImport; - } - - - public GitlabSync autoImportSecret(String autoImportSecret) { - - this.autoImportSecret = autoImportSecret; - return this; - } - - /** - * Get autoImportSecret - * @return autoImportSecret - **/ - @javax.annotation.Nullable - - public String getAutoImportSecret() { - return autoImportSecret; - } - - - public void setAutoImportSecret(String autoImportSecret) { - this.autoImportSecret = autoImportSecret; - } - - - public GitlabSync autoImportUrl(String autoImportUrl) { - - this.autoImportUrl = autoImportUrl; - return this; - } - - /** - * Get autoImportUrl - * @return autoImportUrl - **/ - @javax.annotation.Nullable - - public String getAutoImportUrl() { - return autoImportUrl; - } - - - public void setAutoImportUrl(String autoImportUrl) { - this.autoImportUrl = autoImportUrl; - } - - - public GitlabSync selfHostedApiUrl(String selfHostedApiUrl) { - - this.selfHostedApiUrl = selfHostedApiUrl; - return this; - } - - /** - * Get selfHostedApiUrl - * @return selfHostedApiUrl - **/ - @javax.annotation.Nullable - - public String getSelfHostedApiUrl() { - return selfHostedApiUrl; - } - - - public void setSelfHostedApiUrl(String selfHostedApiUrl) { - this.selfHostedApiUrl = selfHostedApiUrl; - } - - - public GitlabSync lastExportedAt(OffsetDateTime lastExportedAt) { - - this.lastExportedAt = lastExportedAt; - return this; - } - - /** - * Get lastExportedAt - * @return lastExportedAt - **/ - @javax.annotation.Nullable - - public OffsetDateTime getLastExportedAt() { - return lastExportedAt; - } - - - public void setLastExportedAt(OffsetDateTime lastExportedAt) { - this.lastExportedAt = lastExportedAt; - } - - - public GitlabSync lastImportedAt(OffsetDateTime lastImportedAt) { - - this.lastImportedAt = lastImportedAt; - return this; - } - - /** - * Get lastImportedAt - * @return lastImportedAt - **/ - @javax.annotation.Nullable - - public OffsetDateTime getLastImportedAt() { - return lastImportedAt; - } - - - public void setLastImportedAt(OffsetDateTime lastImportedAt) { - this.lastImportedAt = lastImportedAt; - } - - - public GitlabSync lastStatus(String lastStatus) { - - this.lastStatus = lastStatus; - return this; - } - - /** - * Get lastStatus - * @return lastStatus - **/ - @javax.annotation.Nullable - - public String getLastStatus() { - return lastStatus; - } - - - public void setLastStatus(String lastStatus) { - this.lastStatus = lastStatus; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GitlabSync gitlabSync = (GitlabSync) o; - return Objects.equals(this.id, gitlabSync.id) && - Objects.equals(this.projectId, gitlabSync.projectId) && - Objects.equals(this.gitlabProjectId, gitlabSync.gitlabProjectId) && - Objects.equals(this.gitlabBranchName, gitlabSync.gitlabBranchName) && - Objects.equals(this.autoImport, gitlabSync.autoImport) && - Objects.equals(this.autoImportSecret, gitlabSync.autoImportSecret) && - Objects.equals(this.autoImportUrl, gitlabSync.autoImportUrl) && - Objects.equals(this.selfHostedApiUrl, gitlabSync.selfHostedApiUrl) && - Objects.equals(this.lastExportedAt, gitlabSync.lastExportedAt) && - Objects.equals(this.lastImportedAt, gitlabSync.lastImportedAt) && - Objects.equals(this.lastStatus, gitlabSync.lastStatus); - } - - @Override - public int hashCode() { - return Objects.hash(id, projectId, gitlabProjectId, gitlabBranchName, autoImport, autoImportSecret, autoImportUrl, selfHostedApiUrl, lastExportedAt, lastImportedAt, lastStatus); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GitlabSync {\n"); - sb.append(" id: ").append(toIndentedString(id)).append("\n"); - sb.append(" projectId: ").append(toIndentedString(projectId)).append("\n"); - sb.append(" gitlabProjectId: ").append(toIndentedString(gitlabProjectId)).append("\n"); - sb.append(" gitlabBranchName: ").append(toIndentedString(gitlabBranchName)).append("\n"); - sb.append(" autoImport: ").append(toIndentedString(autoImport)).append("\n"); - sb.append(" autoImportSecret: ").append(toIndentedString(autoImportSecret)).append("\n"); - sb.append(" autoImportUrl: ").append(toIndentedString(autoImportUrl)).append("\n"); - sb.append(" selfHostedApiUrl: ").append(toIndentedString(selfHostedApiUrl)).append("\n"); - sb.append(" lastExportedAt: ").append(toIndentedString(lastExportedAt)).append("\n"); - sb.append(" lastImportedAt: ").append(toIndentedString(lastImportedAt)).append("\n"); - sb.append(" lastStatus: ").append(toIndentedString(lastStatus)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/GitlabSyncExport.java b/src/main/java/com/phrase/client/model/GitlabSyncExport.java deleted file mode 100644 index e00de4cf7f..0000000000 --- a/src/main/java/com/phrase/client/model/GitlabSyncExport.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * GitlabSyncExport - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class GitlabSyncExport { - public static final String SERIALIZED_NAME_MERGE_REQUEST_ID = "merge_request_id"; - @SerializedName(SERIALIZED_NAME_MERGE_REQUEST_ID) - private Integer mergeRequestId; - - public static final String SERIALIZED_NAME_MERGE_REQUEST_WEB_URL = "merge_request_web_url"; - @SerializedName(SERIALIZED_NAME_MERGE_REQUEST_WEB_URL) - private String mergeRequestWebUrl; - - public GitlabSyncExport() { - } - - public GitlabSyncExport mergeRequestId(Integer mergeRequestId) { - - this.mergeRequestId = mergeRequestId; - return this; - } - - /** - * Get mergeRequestId - * @return mergeRequestId - **/ - @javax.annotation.Nullable - - public Integer getMergeRequestId() { - return mergeRequestId; - } - - - public void setMergeRequestId(Integer mergeRequestId) { - this.mergeRequestId = mergeRequestId; - } - - - public GitlabSyncExport mergeRequestWebUrl(String mergeRequestWebUrl) { - - this.mergeRequestWebUrl = mergeRequestWebUrl; - return this; - } - - /** - * Get mergeRequestWebUrl - * @return mergeRequestWebUrl - **/ - @javax.annotation.Nullable - - public String getMergeRequestWebUrl() { - return mergeRequestWebUrl; - } - - - public void setMergeRequestWebUrl(String mergeRequestWebUrl) { - this.mergeRequestWebUrl = mergeRequestWebUrl; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GitlabSyncExport gitlabSyncExport = (GitlabSyncExport) o; - return Objects.equals(this.mergeRequestId, gitlabSyncExport.mergeRequestId) && - Objects.equals(this.mergeRequestWebUrl, gitlabSyncExport.mergeRequestWebUrl); - } - - @Override - public int hashCode() { - return Objects.hash(mergeRequestId, mergeRequestWebUrl); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GitlabSyncExport {\n"); - sb.append(" mergeRequestId: ").append(toIndentedString(mergeRequestId)).append("\n"); - sb.append(" mergeRequestWebUrl: ").append(toIndentedString(mergeRequestWebUrl)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/GitlabSyncExportParameters.java b/src/main/java/com/phrase/client/model/GitlabSyncExportParameters.java deleted file mode 100644 index da1f04368c..0000000000 --- a/src/main/java/com/phrase/client/model/GitlabSyncExportParameters.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * GitlabSyncExportParameters - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class GitlabSyncExportParameters { - public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; - @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private String accountId; - - public GitlabSyncExportParameters() { - } - - public GitlabSyncExportParameters accountId(String accountId) { - - this.accountId = accountId; - return this; - } - - /** - * Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. - * @return accountId - **/ - @javax.annotation.Nullable - - public String getAccountId() { - return accountId; - } - - - public void setAccountId(String accountId) { - this.accountId = accountId; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GitlabSyncExportParameters gitlabSyncExportParameters = (GitlabSyncExportParameters) o; - return Objects.equals(this.accountId, gitlabSyncExportParameters.accountId); - } - - @Override - public int hashCode() { - return Objects.hash(accountId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GitlabSyncExportParameters {\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/GitlabSyncHistory.java b/src/main/java/com/phrase/client/model/GitlabSyncHistory.java deleted file mode 100644 index 9c00df6d9d..0000000000 --- a/src/main/java/com/phrase/client/model/GitlabSyncHistory.java +++ /dev/null @@ -1,221 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.phrase.client.model.GitlabSyncHistoryErrorsInner; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * GitlabSyncHistory - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class GitlabSyncHistory { - public static final String SERIALIZED_NAME_STATUS = "status"; - @SerializedName(SERIALIZED_NAME_STATUS) - private String status; - - public static final String SERIALIZED_NAME_ACTION = "action"; - @SerializedName(SERIALIZED_NAME_ACTION) - private String action; - - public static final String SERIALIZED_NAME_ERRORS = "errors"; - @SerializedName(SERIALIZED_NAME_ERRORS) - private List errors; - - public static final String SERIALIZED_NAME_DATE = "date"; - @SerializedName(SERIALIZED_NAME_DATE) - private OffsetDateTime date; - - public static final String SERIALIZED_NAME_DETAILS = "details"; - @SerializedName(SERIALIZED_NAME_DETAILS) - private Object details; - - public GitlabSyncHistory() { - } - - public GitlabSyncHistory status(String status) { - - this.status = status; - return this; - } - - /** - * Get status - * @return status - **/ - @javax.annotation.Nullable - - public String getStatus() { - return status; - } - - - public void setStatus(String status) { - this.status = status; - } - - - public GitlabSyncHistory action(String action) { - - this.action = action; - return this; - } - - /** - * Get action - * @return action - **/ - @javax.annotation.Nullable - - public String getAction() { - return action; - } - - - public void setAction(String action) { - this.action = action; - } - - - public GitlabSyncHistory errors(List errors) { - - this.errors = errors; - return this; - } - - public GitlabSyncHistory addErrorsItem(GitlabSyncHistoryErrorsInner errorsItem) { - if (this.errors == null) { - this.errors = new ArrayList<>(); - } - this.errors.add(errorsItem); - return this; - } - - /** - * Get errors - * @return errors - **/ - @javax.annotation.Nullable - - public List getErrors() { - return errors; - } - - - public void setErrors(List errors) { - this.errors = errors; - } - - - public GitlabSyncHistory date(OffsetDateTime date) { - - this.date = date; - return this; - } - - /** - * Get date - * @return date - **/ - @javax.annotation.Nullable - - public OffsetDateTime getDate() { - return date; - } - - - public void setDate(OffsetDateTime date) { - this.date = date; - } - - - public GitlabSyncHistory details(Object details) { - - this.details = details; - return this; - } - - /** - * Get details - * @return details - **/ - @javax.annotation.Nullable - - public Object getDetails() { - return details; - } - - - public void setDetails(Object details) { - this.details = details; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GitlabSyncHistory gitlabSyncHistory = (GitlabSyncHistory) o; - return Objects.equals(this.status, gitlabSyncHistory.status) && - Objects.equals(this.action, gitlabSyncHistory.action) && - Objects.equals(this.errors, gitlabSyncHistory.errors) && - Objects.equals(this.date, gitlabSyncHistory.date) && - Objects.equals(this.details, gitlabSyncHistory.details); - } - - @Override - public int hashCode() { - return Objects.hash(status, action, errors, date, details); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GitlabSyncHistory {\n"); - sb.append(" status: ").append(toIndentedString(status)).append("\n"); - sb.append(" action: ").append(toIndentedString(action)).append("\n"); - sb.append(" errors: ").append(toIndentedString(errors)).append("\n"); - sb.append(" date: ").append(toIndentedString(date)).append("\n"); - sb.append(" details: ").append(toIndentedString(details)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/GitlabSyncHistoryErrorsInner.java b/src/main/java/com/phrase/client/model/GitlabSyncHistoryErrorsInner.java deleted file mode 100644 index 9f829de576..0000000000 --- a/src/main/java/com/phrase/client/model/GitlabSyncHistoryErrorsInner.java +++ /dev/null @@ -1,125 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * GitlabSyncHistoryErrorsInner - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class GitlabSyncHistoryErrorsInner { - public static final String SERIALIZED_NAME_ERROR = "error"; - @SerializedName(SERIALIZED_NAME_ERROR) - private String error; - - public static final String SERIALIZED_NAME_MESSAGE = "message"; - @SerializedName(SERIALIZED_NAME_MESSAGE) - private String message; - - public GitlabSyncHistoryErrorsInner() { - } - - public GitlabSyncHistoryErrorsInner error(String error) { - - this.error = error; - return this; - } - - /** - * Get error - * @return error - **/ - @javax.annotation.Nullable - - public String getError() { - return error; - } - - - public void setError(String error) { - this.error = error; - } - - - public GitlabSyncHistoryErrorsInner message(String message) { - - this.message = message; - return this; - } - - /** - * Get message - * @return message - **/ - @javax.annotation.Nullable - - public String getMessage() { - return message; - } - - - public void setMessage(String message) { - this.message = message; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GitlabSyncHistoryErrorsInner gitlabSyncHistoryErrorsInner = (GitlabSyncHistoryErrorsInner) o; - return Objects.equals(this.error, gitlabSyncHistoryErrorsInner.error) && - Objects.equals(this.message, gitlabSyncHistoryErrorsInner.message); - } - - @Override - public int hashCode() { - return Objects.hash(error, message); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GitlabSyncHistoryErrorsInner {\n"); - sb.append(" error: ").append(toIndentedString(error)).append("\n"); - sb.append(" message: ").append(toIndentedString(message)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/GitlabSyncImportParameters.java b/src/main/java/com/phrase/client/model/GitlabSyncImportParameters.java deleted file mode 100644 index 62d44c3cdd..0000000000 --- a/src/main/java/com/phrase/client/model/GitlabSyncImportParameters.java +++ /dev/null @@ -1,97 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import java.util.Objects; -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; - -/** - * GitlabSyncImportParameters - */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") -public class GitlabSyncImportParameters { - public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; - @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) - private String accountId; - - public GitlabSyncImportParameters() { - } - - public GitlabSyncImportParameters accountId(String accountId) { - - this.accountId = accountId; - return this; - } - - /** - * Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts. - * @return accountId - **/ - @javax.annotation.Nullable - - public String getAccountId() { - return accountId; - } - - - public void setAccountId(String accountId) { - this.accountId = accountId; - } - - @Override - public boolean equals(Object o) { - if (this == o) { - return true; - } - if (o == null || getClass() != o.getClass()) { - return false; - } - GitlabSyncImportParameters gitlabSyncImportParameters = (GitlabSyncImportParameters) o; - return Objects.equals(this.accountId, gitlabSyncImportParameters.accountId); - } - - @Override - public int hashCode() { - return Objects.hash(accountId); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder(); - sb.append("class GitlabSyncImportParameters {\n"); - sb.append(" accountId: ").append(toIndentedString(accountId)).append("\n"); - sb.append("}"); - return sb.toString(); - } - - /** - * Convert the given object to string with each line indented by 4 spaces - * (except the first line). - */ - private String toIndentedString(Object o) { - if (o == null) { - return "null"; - } - return o.toString().replace("\n", "\n "); - } - -} - diff --git a/src/main/java/com/phrase/client/model/Glossary.java b/src/main/java/com/phrase/client/model/Glossary.java index 47b7fb734f..53445bd1e6 100644 --- a/src/main/java/com/phrase/client/model/Glossary.java +++ b/src/main/java/com/phrase/client/model/Glossary.java @@ -30,7 +30,7 @@ /** * Glossary */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Glossary { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/GlossaryCreateParameters.java b/src/main/java/com/phrase/client/model/GlossaryCreateParameters.java index 6a29fa1c72..1fce8b3a11 100644 --- a/src/main/java/com/phrase/client/model/GlossaryCreateParameters.java +++ b/src/main/java/com/phrase/client/model/GlossaryCreateParameters.java @@ -28,7 +28,7 @@ /** * GlossaryCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class GlossaryCreateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/GlossaryTerm.java b/src/main/java/com/phrase/client/model/GlossaryTerm.java index c09785a952..39ed332bf1 100644 --- a/src/main/java/com/phrase/client/model/GlossaryTerm.java +++ b/src/main/java/com/phrase/client/model/GlossaryTerm.java @@ -30,7 +30,7 @@ /** * GlossaryTerm */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class GlossaryTerm { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/GlossaryTermCreateParameters.java b/src/main/java/com/phrase/client/model/GlossaryTermCreateParameters.java index 070b6d9869..9a75cbf2a3 100644 --- a/src/main/java/com/phrase/client/model/GlossaryTermCreateParameters.java +++ b/src/main/java/com/phrase/client/model/GlossaryTermCreateParameters.java @@ -26,7 +26,7 @@ /** * GlossaryTermCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class GlossaryTermCreateParameters { public static final String SERIALIZED_NAME_TERM = "term"; @SerializedName(SERIALIZED_NAME_TERM) diff --git a/src/main/java/com/phrase/client/model/GlossaryTermTranslation.java b/src/main/java/com/phrase/client/model/GlossaryTermTranslation.java index 358fdb5cf7..b2609b6741 100644 --- a/src/main/java/com/phrase/client/model/GlossaryTermTranslation.java +++ b/src/main/java/com/phrase/client/model/GlossaryTermTranslation.java @@ -27,7 +27,7 @@ /** * GlossaryTermTranslation */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class GlossaryTermTranslation { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/GlossaryTermTranslationCreateParameters.java b/src/main/java/com/phrase/client/model/GlossaryTermTranslationCreateParameters.java index 7094c6dc21..376763afa9 100644 --- a/src/main/java/com/phrase/client/model/GlossaryTermTranslationCreateParameters.java +++ b/src/main/java/com/phrase/client/model/GlossaryTermTranslationCreateParameters.java @@ -26,7 +26,7 @@ /** * GlossaryTermTranslationCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class GlossaryTermTranslationCreateParameters { public static final String SERIALIZED_NAME_LOCALE_CODE = "locale_code"; @SerializedName(SERIALIZED_NAME_LOCALE_CODE) diff --git a/src/main/java/com/phrase/client/model/GlossaryTermTranslationUpdateParameters.java b/src/main/java/com/phrase/client/model/GlossaryTermTranslationUpdateParameters.java index cdd49c5fbb..f882b991f0 100644 --- a/src/main/java/com/phrase/client/model/GlossaryTermTranslationUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/GlossaryTermTranslationUpdateParameters.java @@ -26,7 +26,7 @@ /** * GlossaryTermTranslationUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class GlossaryTermTranslationUpdateParameters { public static final String SERIALIZED_NAME_LOCALE_CODE = "locale_code"; @SerializedName(SERIALIZED_NAME_LOCALE_CODE) diff --git a/src/main/java/com/phrase/client/model/GlossaryTermUpdateParameters.java b/src/main/java/com/phrase/client/model/GlossaryTermUpdateParameters.java index 305abac2d2..eebb210406 100644 --- a/src/main/java/com/phrase/client/model/GlossaryTermUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/GlossaryTermUpdateParameters.java @@ -26,7 +26,7 @@ /** * GlossaryTermUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class GlossaryTermUpdateParameters { public static final String SERIALIZED_NAME_TERM = "term"; @SerializedName(SERIALIZED_NAME_TERM) diff --git a/src/main/java/com/phrase/client/model/GlossaryUpdateParameters.java b/src/main/java/com/phrase/client/model/GlossaryUpdateParameters.java index 58e0ca3180..b775f4948f 100644 --- a/src/main/java/com/phrase/client/model/GlossaryUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/GlossaryUpdateParameters.java @@ -28,7 +28,7 @@ /** * GlossaryUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class GlossaryUpdateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/Icu.java b/src/main/java/com/phrase/client/model/Icu.java index fecc05ee7e..cf2ec2ae74 100644 --- a/src/main/java/com/phrase/client/model/Icu.java +++ b/src/main/java/com/phrase/client/model/Icu.java @@ -26,7 +26,7 @@ /** * Icu */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Icu { public static final String SERIALIZED_NAME_LOCALE_CODE = "locale_code"; @SerializedName(SERIALIZED_NAME_LOCALE_CODE) diff --git a/src/main/java/com/phrase/client/model/IcuSkeletonParameters.java b/src/main/java/com/phrase/client/model/IcuSkeletonParameters.java index 305fd6329b..e965101d39 100644 --- a/src/main/java/com/phrase/client/model/IcuSkeletonParameters.java +++ b/src/main/java/com/phrase/client/model/IcuSkeletonParameters.java @@ -28,7 +28,7 @@ /** * IcuSkeletonParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class IcuSkeletonParameters { public static final String SERIALIZED_NAME_CONTENT = "content"; @SerializedName(SERIALIZED_NAME_CONTENT) diff --git a/src/main/java/com/phrase/client/model/Invitation.java b/src/main/java/com/phrase/client/model/Invitation.java index d6a2636d4a..05dddb03eb 100644 --- a/src/main/java/com/phrase/client/model/Invitation.java +++ b/src/main/java/com/phrase/client/model/Invitation.java @@ -34,7 +34,7 @@ /** * Invitation */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Invitation { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/InvitationCreateParameters.java b/src/main/java/com/phrase/client/model/InvitationCreateParameters.java index dd0d19f94f..2e4b9ed9d4 100644 --- a/src/main/java/com/phrase/client/model/InvitationCreateParameters.java +++ b/src/main/java/com/phrase/client/model/InvitationCreateParameters.java @@ -30,7 +30,7 @@ /** * InvitationCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class InvitationCreateParameters { public static final String SERIALIZED_NAME_EMAIL = "email"; @SerializedName(SERIALIZED_NAME_EMAIL) diff --git a/src/main/java/com/phrase/client/model/InvitationUpdateParameters.java b/src/main/java/com/phrase/client/model/InvitationUpdateParameters.java index dc3a1f9778..b65fe0425c 100644 --- a/src/main/java/com/phrase/client/model/InvitationUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/InvitationUpdateParameters.java @@ -30,7 +30,7 @@ /** * InvitationUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class InvitationUpdateParameters { public static final String SERIALIZED_NAME_ROLE = "role"; @SerializedName(SERIALIZED_NAME_ROLE) diff --git a/src/main/java/com/phrase/client/model/InvitationUpdateSettingsParameters.java b/src/main/java/com/phrase/client/model/InvitationUpdateSettingsParameters.java index 99e8a2aa67..411bbb1040 100644 --- a/src/main/java/com/phrase/client/model/InvitationUpdateSettingsParameters.java +++ b/src/main/java/com/phrase/client/model/InvitationUpdateSettingsParameters.java @@ -28,7 +28,7 @@ /** * InvitationUpdateSettingsParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class InvitationUpdateSettingsParameters { public static final String SERIALIZED_NAME_PROJECT_ROLE = "project_role"; @SerializedName(SERIALIZED_NAME_PROJECT_ROLE) diff --git a/src/main/java/com/phrase/client/model/Job.java b/src/main/java/com/phrase/client/model/Job.java index bbf4dbe1b7..b3d52f0f72 100644 --- a/src/main/java/com/phrase/client/model/Job.java +++ b/src/main/java/com/phrase/client/model/Job.java @@ -30,7 +30,7 @@ /** * Job */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Job { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/JobComment.java b/src/main/java/com/phrase/client/model/JobComment.java index 06122215d8..bbb99a76be 100644 --- a/src/main/java/com/phrase/client/model/JobComment.java +++ b/src/main/java/com/phrase/client/model/JobComment.java @@ -30,7 +30,7 @@ /** * JobComment */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobComment { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/JobCommentCreateParameters.java b/src/main/java/com/phrase/client/model/JobCommentCreateParameters.java index 7f74a14eca..0611e4dbfe 100644 --- a/src/main/java/com/phrase/client/model/JobCommentCreateParameters.java +++ b/src/main/java/com/phrase/client/model/JobCommentCreateParameters.java @@ -26,7 +26,7 @@ /** * JobCommentCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobCommentCreateParameters { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) diff --git a/src/main/java/com/phrase/client/model/JobCommentUpdateParameters.java b/src/main/java/com/phrase/client/model/JobCommentUpdateParameters.java index bebcc051ed..96653bf515 100644 --- a/src/main/java/com/phrase/client/model/JobCommentUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/JobCommentUpdateParameters.java @@ -26,7 +26,7 @@ /** * JobCommentUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobCommentUpdateParameters { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) diff --git a/src/main/java/com/phrase/client/model/JobCompleteParameters.java b/src/main/java/com/phrase/client/model/JobCompleteParameters.java index 544d11fe3b..e2984da6ce 100644 --- a/src/main/java/com/phrase/client/model/JobCompleteParameters.java +++ b/src/main/java/com/phrase/client/model/JobCompleteParameters.java @@ -26,7 +26,7 @@ /** * JobCompleteParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobCompleteParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobCreateParameters.java b/src/main/java/com/phrase/client/model/JobCreateParameters.java index f1a8aa409f..7b32057e43 100644 --- a/src/main/java/com/phrase/client/model/JobCreateParameters.java +++ b/src/main/java/com/phrase/client/model/JobCreateParameters.java @@ -30,7 +30,7 @@ /** * JobCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobDetails.java b/src/main/java/com/phrase/client/model/JobDetails.java index d3fc2b0eb4..7fc3606c31 100644 --- a/src/main/java/com/phrase/client/model/JobDetails.java +++ b/src/main/java/com/phrase/client/model/JobDetails.java @@ -35,7 +35,7 @@ /** * JobDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/JobKeysCreateParameters.java b/src/main/java/com/phrase/client/model/JobKeysCreateParameters.java index 5d17d0bef1..a4970d9b35 100644 --- a/src/main/java/com/phrase/client/model/JobKeysCreateParameters.java +++ b/src/main/java/com/phrase/client/model/JobKeysCreateParameters.java @@ -28,7 +28,7 @@ /** * JobKeysCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobKeysCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobLocale.java b/src/main/java/com/phrase/client/model/JobLocale.java index 6abe7179ed..7a178ade51 100644 --- a/src/main/java/com/phrase/client/model/JobLocale.java +++ b/src/main/java/com/phrase/client/model/JobLocale.java @@ -33,7 +33,7 @@ /** * JobLocale */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobLocale { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/JobLocaleCompleteParameters.java b/src/main/java/com/phrase/client/model/JobLocaleCompleteParameters.java index 8c9d72c39a..6a85cb9402 100644 --- a/src/main/java/com/phrase/client/model/JobLocaleCompleteParameters.java +++ b/src/main/java/com/phrase/client/model/JobLocaleCompleteParameters.java @@ -26,7 +26,7 @@ /** * JobLocaleCompleteParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobLocaleCompleteParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobLocaleCompleteReviewParameters.java b/src/main/java/com/phrase/client/model/JobLocaleCompleteReviewParameters.java index 9d70793156..7d2d9c7a10 100644 --- a/src/main/java/com/phrase/client/model/JobLocaleCompleteReviewParameters.java +++ b/src/main/java/com/phrase/client/model/JobLocaleCompleteReviewParameters.java @@ -26,7 +26,7 @@ /** * JobLocaleCompleteReviewParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobLocaleCompleteReviewParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobLocaleReopenParameters.java b/src/main/java/com/phrase/client/model/JobLocaleReopenParameters.java index 564df7f4cd..4be10c6d30 100644 --- a/src/main/java/com/phrase/client/model/JobLocaleReopenParameters.java +++ b/src/main/java/com/phrase/client/model/JobLocaleReopenParameters.java @@ -26,7 +26,7 @@ /** * JobLocaleReopenParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobLocaleReopenParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobLocaleUpdateParameters.java b/src/main/java/com/phrase/client/model/JobLocaleUpdateParameters.java index b758e95a49..013295b66b 100644 --- a/src/main/java/com/phrase/client/model/JobLocaleUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/JobLocaleUpdateParameters.java @@ -28,7 +28,7 @@ /** * JobLocaleUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobLocaleUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobLocalesCreateParameters.java b/src/main/java/com/phrase/client/model/JobLocalesCreateParameters.java index 7fff69d46d..1d7effb41c 100644 --- a/src/main/java/com/phrase/client/model/JobLocalesCreateParameters.java +++ b/src/main/java/com/phrase/client/model/JobLocalesCreateParameters.java @@ -28,7 +28,7 @@ /** * JobLocalesCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobLocalesCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobPreview.java b/src/main/java/com/phrase/client/model/JobPreview.java index 63a587c3c2..7eb918249b 100644 --- a/src/main/java/com/phrase/client/model/JobPreview.java +++ b/src/main/java/com/phrase/client/model/JobPreview.java @@ -26,7 +26,7 @@ /** * JobPreview */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobPreview { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/JobReopenParameters.java b/src/main/java/com/phrase/client/model/JobReopenParameters.java index f1a80d4ad3..3f29803b62 100644 --- a/src/main/java/com/phrase/client/model/JobReopenParameters.java +++ b/src/main/java/com/phrase/client/model/JobReopenParameters.java @@ -26,7 +26,7 @@ /** * JobReopenParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobReopenParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobStartParameters.java b/src/main/java/com/phrase/client/model/JobStartParameters.java index 590b2fef0a..4dd4e01f7c 100644 --- a/src/main/java/com/phrase/client/model/JobStartParameters.java +++ b/src/main/java/com/phrase/client/model/JobStartParameters.java @@ -26,7 +26,7 @@ /** * JobStartParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobStartParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobTemplate.java b/src/main/java/com/phrase/client/model/JobTemplate.java index 0c6761dd1c..ee744b71ba 100644 --- a/src/main/java/com/phrase/client/model/JobTemplate.java +++ b/src/main/java/com/phrase/client/model/JobTemplate.java @@ -29,7 +29,7 @@ /** * JobTemplate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobTemplate { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/JobTemplateCreateParameters.java b/src/main/java/com/phrase/client/model/JobTemplateCreateParameters.java index 1cc7045067..dda79a5bcc 100644 --- a/src/main/java/com/phrase/client/model/JobTemplateCreateParameters.java +++ b/src/main/java/com/phrase/client/model/JobTemplateCreateParameters.java @@ -26,7 +26,7 @@ /** * JobTemplateCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobTemplateCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobTemplateDetails.java b/src/main/java/com/phrase/client/model/JobTemplateDetails.java index 521670b715..02998450e0 100644 --- a/src/main/java/com/phrase/client/model/JobTemplateDetails.java +++ b/src/main/java/com/phrase/client/model/JobTemplateDetails.java @@ -33,7 +33,7 @@ /** * JobTemplateDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobTemplateDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/JobTemplateLocaleUpdateParameters.java b/src/main/java/com/phrase/client/model/JobTemplateLocaleUpdateParameters.java index 6c941931f8..3400100d1b 100644 --- a/src/main/java/com/phrase/client/model/JobTemplateLocaleUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/JobTemplateLocaleUpdateParameters.java @@ -28,7 +28,7 @@ /** * JobTemplateLocaleUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobTemplateLocaleUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobTemplateLocales.java b/src/main/java/com/phrase/client/model/JobTemplateLocales.java index e0ed9a5dfa..33b10ab641 100644 --- a/src/main/java/com/phrase/client/model/JobTemplateLocales.java +++ b/src/main/java/com/phrase/client/model/JobTemplateLocales.java @@ -32,7 +32,7 @@ /** * JobTemplateLocales */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobTemplateLocales { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/JobTemplateLocalesCreateParameters.java b/src/main/java/com/phrase/client/model/JobTemplateLocalesCreateParameters.java index a8f2bec151..19387f64ac 100644 --- a/src/main/java/com/phrase/client/model/JobTemplateLocalesCreateParameters.java +++ b/src/main/java/com/phrase/client/model/JobTemplateLocalesCreateParameters.java @@ -28,7 +28,7 @@ /** * JobTemplateLocalesCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobTemplateLocalesCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobTemplatePreview.java b/src/main/java/com/phrase/client/model/JobTemplatePreview.java index 7c4c41c2d7..106412f1fd 100644 --- a/src/main/java/com/phrase/client/model/JobTemplatePreview.java +++ b/src/main/java/com/phrase/client/model/JobTemplatePreview.java @@ -26,7 +26,7 @@ /** * JobTemplatePreview */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobTemplatePreview { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/JobTemplateUpdateParameters.java b/src/main/java/com/phrase/client/model/JobTemplateUpdateParameters.java index 0b23006575..92c558b645 100644 --- a/src/main/java/com/phrase/client/model/JobTemplateUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/JobTemplateUpdateParameters.java @@ -26,7 +26,7 @@ /** * JobTemplateUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobTemplateUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/JobUpdateParameters.java b/src/main/java/com/phrase/client/model/JobUpdateParameters.java index fce3549b50..0d35d1d0ee 100644 --- a/src/main/java/com/phrase/client/model/JobUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/JobUpdateParameters.java @@ -28,7 +28,7 @@ /** * JobUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class JobUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/KeyCreateParameters.java b/src/main/java/com/phrase/client/model/KeyCreateParameters.java index 94e908b996..5276556824 100644 --- a/src/main/java/com/phrase/client/model/KeyCreateParameters.java +++ b/src/main/java/com/phrase/client/model/KeyCreateParameters.java @@ -27,7 +27,7 @@ /** * KeyCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeyCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/KeyLink.java b/src/main/java/com/phrase/client/model/KeyLink.java index b2be13a728..d439d3105c 100644 --- a/src/main/java/com/phrase/client/model/KeyLink.java +++ b/src/main/java/com/phrase/client/model/KeyLink.java @@ -32,7 +32,7 @@ /** * KeyLink */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeyLink { public static final String SERIALIZED_NAME_CREATED_AT = "created_at"; @SerializedName(SERIALIZED_NAME_CREATED_AT) diff --git a/src/main/java/com/phrase/client/model/KeyLinksBatchDestroyParameters.java b/src/main/java/com/phrase/client/model/KeyLinksBatchDestroyParameters.java index 03987756e7..c66bfd11d8 100644 --- a/src/main/java/com/phrase/client/model/KeyLinksBatchDestroyParameters.java +++ b/src/main/java/com/phrase/client/model/KeyLinksBatchDestroyParameters.java @@ -28,7 +28,7 @@ /** * KeyLinksBatchDestroyParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeyLinksBatchDestroyParameters { public static final String SERIALIZED_NAME_CHILD_KEY_IDS = "child_key_ids"; @SerializedName(SERIALIZED_NAME_CHILD_KEY_IDS) diff --git a/src/main/java/com/phrase/client/model/KeyLinksCreateParameters.java b/src/main/java/com/phrase/client/model/KeyLinksCreateParameters.java index 3ce279c767..132cc3515b 100644 --- a/src/main/java/com/phrase/client/model/KeyLinksCreateParameters.java +++ b/src/main/java/com/phrase/client/model/KeyLinksCreateParameters.java @@ -28,7 +28,7 @@ /** * KeyLinksCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeyLinksCreateParameters { public static final String SERIALIZED_NAME_CHILD_KEY_IDS = "child_key_ids"; @SerializedName(SERIALIZED_NAME_CHILD_KEY_IDS) diff --git a/src/main/java/com/phrase/client/model/KeyLinksIndex400Response.java b/src/main/java/com/phrase/client/model/KeyLinksIndex400Response.java index 70ce489e45..9922bfcac3 100644 --- a/src/main/java/com/phrase/client/model/KeyLinksIndex400Response.java +++ b/src/main/java/com/phrase/client/model/KeyLinksIndex400Response.java @@ -26,7 +26,7 @@ /** * KeyLinksIndex400Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeyLinksIndex400Response { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) diff --git a/src/main/java/com/phrase/client/model/KeyPreview.java b/src/main/java/com/phrase/client/model/KeyPreview.java index b1fa472920..c9957e30e4 100644 --- a/src/main/java/com/phrase/client/model/KeyPreview.java +++ b/src/main/java/com/phrase/client/model/KeyPreview.java @@ -26,7 +26,7 @@ /** * KeyPreview */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeyPreview { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/KeyUpdateParameters.java b/src/main/java/com/phrase/client/model/KeyUpdateParameters.java index c5500ffa1e..1c58f541a5 100644 --- a/src/main/java/com/phrase/client/model/KeyUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/KeyUpdateParameters.java @@ -27,7 +27,7 @@ /** * KeyUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeyUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/KeysExcludeParameters.java b/src/main/java/com/phrase/client/model/KeysExcludeParameters.java index 2ff1553aa4..ff7994d6ea 100644 --- a/src/main/java/com/phrase/client/model/KeysExcludeParameters.java +++ b/src/main/java/com/phrase/client/model/KeysExcludeParameters.java @@ -26,7 +26,7 @@ /** * KeysExcludeParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeysExcludeParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/KeysIncludeParameters.java b/src/main/java/com/phrase/client/model/KeysIncludeParameters.java index b929e929a9..9be65bc3de 100644 --- a/src/main/java/com/phrase/client/model/KeysIncludeParameters.java +++ b/src/main/java/com/phrase/client/model/KeysIncludeParameters.java @@ -26,7 +26,7 @@ /** * KeysIncludeParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeysIncludeParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/KeysSearchParameters.java b/src/main/java/com/phrase/client/model/KeysSearchParameters.java index f5944424fe..12e6969d8b 100644 --- a/src/main/java/com/phrase/client/model/KeysSearchParameters.java +++ b/src/main/java/com/phrase/client/model/KeysSearchParameters.java @@ -26,7 +26,7 @@ /** * KeysSearchParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeysSearchParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/KeysTagParameters.java b/src/main/java/com/phrase/client/model/KeysTagParameters.java index 8ca4c1b007..94251a62c2 100644 --- a/src/main/java/com/phrase/client/model/KeysTagParameters.java +++ b/src/main/java/com/phrase/client/model/KeysTagParameters.java @@ -26,7 +26,7 @@ /** * KeysTagParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeysTagParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/KeysUntagParameters.java b/src/main/java/com/phrase/client/model/KeysUntagParameters.java index 31616cdb68..d31b3955e8 100644 --- a/src/main/java/com/phrase/client/model/KeysUntagParameters.java +++ b/src/main/java/com/phrase/client/model/KeysUntagParameters.java @@ -26,7 +26,7 @@ /** * KeysUntagParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class KeysUntagParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/Locale.java b/src/main/java/com/phrase/client/model/Locale.java index c58cd73907..92da96218e 100644 --- a/src/main/java/com/phrase/client/model/Locale.java +++ b/src/main/java/com/phrase/client/model/Locale.java @@ -30,7 +30,7 @@ /** * Locale */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Locale { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/LocaleCreateParameters.java b/src/main/java/com/phrase/client/model/LocaleCreateParameters.java index 6ed75d619f..e2f93d8902 100644 --- a/src/main/java/com/phrase/client/model/LocaleCreateParameters.java +++ b/src/main/java/com/phrase/client/model/LocaleCreateParameters.java @@ -26,7 +26,7 @@ /** * LocaleCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/LocaleDetails.java b/src/main/java/com/phrase/client/model/LocaleDetails.java index b292f36dc9..6190428f92 100644 --- a/src/main/java/com/phrase/client/model/LocaleDetails.java +++ b/src/main/java/com/phrase/client/model/LocaleDetails.java @@ -31,7 +31,7 @@ /** * LocaleDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/LocaleDownload.java b/src/main/java/com/phrase/client/model/LocaleDownload.java index 715b7f9a0d..054602f30c 100644 --- a/src/main/java/com/phrase/client/model/LocaleDownload.java +++ b/src/main/java/com/phrase/client/model/LocaleDownload.java @@ -29,7 +29,7 @@ /** * LocaleDownload */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleDownload { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/LocaleDownloadCreateParameters.java b/src/main/java/com/phrase/client/model/LocaleDownloadCreateParameters.java index 7010ede4c5..b95e876936 100644 --- a/src/main/java/com/phrase/client/model/LocaleDownloadCreateParameters.java +++ b/src/main/java/com/phrase/client/model/LocaleDownloadCreateParameters.java @@ -28,7 +28,7 @@ /** * LocaleDownloadCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleDownloadCreateParameters { public static final String SERIALIZED_NAME_FILE_FORMAT = "file_format"; @SerializedName(SERIALIZED_NAME_FILE_FORMAT) diff --git a/src/main/java/com/phrase/client/model/LocaleDownloadParams.java b/src/main/java/com/phrase/client/model/LocaleDownloadParams.java index 39821140a9..8a57a4ffc9 100644 --- a/src/main/java/com/phrase/client/model/LocaleDownloadParams.java +++ b/src/main/java/com/phrase/client/model/LocaleDownloadParams.java @@ -26,7 +26,7 @@ /** * The parameters of the download request. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleDownloadParams { public static final String SERIALIZED_NAME_FILE_FORMAT = "file_format"; @SerializedName(SERIALIZED_NAME_FILE_FORMAT) diff --git a/src/main/java/com/phrase/client/model/LocaleDownloadResult.java b/src/main/java/com/phrase/client/model/LocaleDownloadResult.java index 7455d8040a..1fdcf7b7bd 100644 --- a/src/main/java/com/phrase/client/model/LocaleDownloadResult.java +++ b/src/main/java/com/phrase/client/model/LocaleDownloadResult.java @@ -27,7 +27,7 @@ /** * LocaleDownloadResult */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleDownloadResult { public static final String SERIALIZED_NAME_URL = "url"; @SerializedName(SERIALIZED_NAME_URL) diff --git a/src/main/java/com/phrase/client/model/LocalePreview.java b/src/main/java/com/phrase/client/model/LocalePreview.java index c286e35b79..5710f34941 100644 --- a/src/main/java/com/phrase/client/model/LocalePreview.java +++ b/src/main/java/com/phrase/client/model/LocalePreview.java @@ -26,7 +26,7 @@ /** * LocalePreview */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocalePreview { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/LocalePreview1.java b/src/main/java/com/phrase/client/model/LocalePreview1.java index c4109aa0b8..cbf33ab430 100644 --- a/src/main/java/com/phrase/client/model/LocalePreview1.java +++ b/src/main/java/com/phrase/client/model/LocalePreview1.java @@ -27,7 +27,7 @@ /** * LocalePreview1 */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocalePreview1 { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/LocaleReport.java b/src/main/java/com/phrase/client/model/LocaleReport.java index 20c7e008bf..f13ae332ba 100644 --- a/src/main/java/com/phrase/client/model/LocaleReport.java +++ b/src/main/java/com/phrase/client/model/LocaleReport.java @@ -28,7 +28,7 @@ /** * LocaleReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleReport { public static final String SERIALIZED_NAME_KEYS_COUNT = "keys_count"; @SerializedName(SERIALIZED_NAME_KEYS_COUNT) diff --git a/src/main/java/com/phrase/client/model/LocaleStatistics.java b/src/main/java/com/phrase/client/model/LocaleStatistics.java index e4ed101a06..287543fdf5 100644 --- a/src/main/java/com/phrase/client/model/LocaleStatistics.java +++ b/src/main/java/com/phrase/client/model/LocaleStatistics.java @@ -26,7 +26,7 @@ /** * LocaleStatistics */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleStatistics { public static final String SERIALIZED_NAME_KEYS_TOTAL_COUNT = "keys_total_count"; @SerializedName(SERIALIZED_NAME_KEYS_TOTAL_COUNT) diff --git a/src/main/java/com/phrase/client/model/LocaleTeamPreview.java b/src/main/java/com/phrase/client/model/LocaleTeamPreview.java index fe8ff4d731..783d1bcc69 100644 --- a/src/main/java/com/phrase/client/model/LocaleTeamPreview.java +++ b/src/main/java/com/phrase/client/model/LocaleTeamPreview.java @@ -26,7 +26,7 @@ /** * LocaleTeamPreview */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleTeamPreview { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/LocaleUpdateParameters.java b/src/main/java/com/phrase/client/model/LocaleUpdateParameters.java index 7e4d7e96c6..2e71303832 100644 --- a/src/main/java/com/phrase/client/model/LocaleUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/LocaleUpdateParameters.java @@ -26,7 +26,7 @@ /** * LocaleUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/LocaleUserPreview.java b/src/main/java/com/phrase/client/model/LocaleUserPreview.java index 584053204c..a9713e91f0 100644 --- a/src/main/java/com/phrase/client/model/LocaleUserPreview.java +++ b/src/main/java/com/phrase/client/model/LocaleUserPreview.java @@ -26,7 +26,7 @@ /** * LocaleUserPreview */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class LocaleUserPreview { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/Member.java b/src/main/java/com/phrase/client/model/Member.java index 72837b5241..2a1cbb2c13 100644 --- a/src/main/java/com/phrase/client/model/Member.java +++ b/src/main/java/com/phrase/client/model/Member.java @@ -32,7 +32,7 @@ /** * Member */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Member { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/MemberProjectDetail.java b/src/main/java/com/phrase/client/model/MemberProjectDetail.java index dfa9b570ee..e6e406bd02 100644 --- a/src/main/java/com/phrase/client/model/MemberProjectDetail.java +++ b/src/main/java/com/phrase/client/model/MemberProjectDetail.java @@ -31,7 +31,7 @@ /** * MemberProjectDetail */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class MemberProjectDetail { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/MemberProjectDetailProjectRolesInner.java b/src/main/java/com/phrase/client/model/MemberProjectDetailProjectRolesInner.java index 1053177a96..31e3739383 100644 --- a/src/main/java/com/phrase/client/model/MemberProjectDetailProjectRolesInner.java +++ b/src/main/java/com/phrase/client/model/MemberProjectDetailProjectRolesInner.java @@ -26,7 +26,7 @@ /** * MemberProjectDetailProjectRolesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class MemberProjectDetailProjectRolesInner { public static final String SERIALIZED_NAME_PROJECT_ID = "project_id"; @SerializedName(SERIALIZED_NAME_PROJECT_ID) diff --git a/src/main/java/com/phrase/client/model/MemberSpacesInner.java b/src/main/java/com/phrase/client/model/MemberSpacesInner.java index 0c6b7ee423..e077f54927 100644 --- a/src/main/java/com/phrase/client/model/MemberSpacesInner.java +++ b/src/main/java/com/phrase/client/model/MemberSpacesInner.java @@ -27,7 +27,7 @@ /** * MemberSpacesInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class MemberSpacesInner { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/MemberUpdateParameters.java b/src/main/java/com/phrase/client/model/MemberUpdateParameters.java index 542132ff35..7df717fcf6 100644 --- a/src/main/java/com/phrase/client/model/MemberUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/MemberUpdateParameters.java @@ -30,7 +30,7 @@ /** * MemberUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class MemberUpdateParameters { public static final String SERIALIZED_NAME_STRATEGY = "strategy"; @SerializedName(SERIALIZED_NAME_STRATEGY) diff --git a/src/main/java/com/phrase/client/model/MemberUpdateSettingsParameters.java b/src/main/java/com/phrase/client/model/MemberUpdateSettingsParameters.java index a61c8987a5..b94b9fc9c9 100644 --- a/src/main/java/com/phrase/client/model/MemberUpdateSettingsParameters.java +++ b/src/main/java/com/phrase/client/model/MemberUpdateSettingsParameters.java @@ -28,7 +28,7 @@ /** * MemberUpdateSettingsParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class MemberUpdateSettingsParameters { public static final String SERIALIZED_NAME_PROJECT_ROLE = "project_role"; @SerializedName(SERIALIZED_NAME_PROJECT_ROLE) diff --git a/src/main/java/com/phrase/client/model/Notification.java b/src/main/java/com/phrase/client/model/Notification.java index 047f5108cb..e7e5c75f6d 100644 --- a/src/main/java/com/phrase/client/model/Notification.java +++ b/src/main/java/com/phrase/client/model/Notification.java @@ -32,7 +32,7 @@ /** * Notification */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Notification { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/NotificationGroup.java b/src/main/java/com/phrase/client/model/NotificationGroup.java index 31c8a0685b..1c61023af1 100644 --- a/src/main/java/com/phrase/client/model/NotificationGroup.java +++ b/src/main/java/com/phrase/client/model/NotificationGroup.java @@ -27,7 +27,7 @@ /** * NotificationGroup */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class NotificationGroup { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/NotificationGroupDetail.java b/src/main/java/com/phrase/client/model/NotificationGroupDetail.java index fce2e560a6..56a2a629de 100644 --- a/src/main/java/com/phrase/client/model/NotificationGroupDetail.java +++ b/src/main/java/com/phrase/client/model/NotificationGroupDetail.java @@ -28,7 +28,7 @@ /** * NotificationGroupDetail */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class NotificationGroupDetail { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/OrderConfirmParameters.java b/src/main/java/com/phrase/client/model/OrderConfirmParameters.java index 0349b54a28..8ec5f6e80b 100644 --- a/src/main/java/com/phrase/client/model/OrderConfirmParameters.java +++ b/src/main/java/com/phrase/client/model/OrderConfirmParameters.java @@ -26,7 +26,7 @@ /** * OrderConfirmParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class OrderConfirmParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/OrderCreateParameters.java b/src/main/java/com/phrase/client/model/OrderCreateParameters.java index 125231bd22..d69beaa44e 100644 --- a/src/main/java/com/phrase/client/model/OrderCreateParameters.java +++ b/src/main/java/com/phrase/client/model/OrderCreateParameters.java @@ -28,7 +28,7 @@ /** * OrderCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class OrderCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/OrganizationJobTemplate.java b/src/main/java/com/phrase/client/model/OrganizationJobTemplate.java index 1c81ebc019..087b7a431f 100644 --- a/src/main/java/com/phrase/client/model/OrganizationJobTemplate.java +++ b/src/main/java/com/phrase/client/model/OrganizationJobTemplate.java @@ -27,7 +27,7 @@ /** * OrganizationJobTemplate */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class OrganizationJobTemplate { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/OrganizationJobTemplateCreateParameters.java b/src/main/java/com/phrase/client/model/OrganizationJobTemplateCreateParameters.java index f01b2bc36e..c5b4adc56b 100644 --- a/src/main/java/com/phrase/client/model/OrganizationJobTemplateCreateParameters.java +++ b/src/main/java/com/phrase/client/model/OrganizationJobTemplateCreateParameters.java @@ -26,7 +26,7 @@ /** * OrganizationJobTemplateCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class OrganizationJobTemplateCreateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/OrganizationJobTemplateDetails.java b/src/main/java/com/phrase/client/model/OrganizationJobTemplateDetails.java index fec7c9f68e..378a89eaf0 100644 --- a/src/main/java/com/phrase/client/model/OrganizationJobTemplateDetails.java +++ b/src/main/java/com/phrase/client/model/OrganizationJobTemplateDetails.java @@ -31,7 +31,7 @@ /** * OrganizationJobTemplateDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class OrganizationJobTemplateDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/OrganizationJobTemplateLocaleUpdateParameters.java b/src/main/java/com/phrase/client/model/OrganizationJobTemplateLocaleUpdateParameters.java index 85158fadbc..82b631c237 100644 --- a/src/main/java/com/phrase/client/model/OrganizationJobTemplateLocaleUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/OrganizationJobTemplateLocaleUpdateParameters.java @@ -28,7 +28,7 @@ /** * OrganizationJobTemplateLocaleUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class OrganizationJobTemplateLocaleUpdateParameters { public static final String SERIALIZED_NAME_LOCALE_NAME = "locale_name"; @SerializedName(SERIALIZED_NAME_LOCALE_NAME) diff --git a/src/main/java/com/phrase/client/model/OrganizationJobTemplateLocalesCreateParameters.java b/src/main/java/com/phrase/client/model/OrganizationJobTemplateLocalesCreateParameters.java index 26cbf5144e..59f77e79a1 100644 --- a/src/main/java/com/phrase/client/model/OrganizationJobTemplateLocalesCreateParameters.java +++ b/src/main/java/com/phrase/client/model/OrganizationJobTemplateLocalesCreateParameters.java @@ -28,7 +28,7 @@ /** * OrganizationJobTemplateLocalesCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class OrganizationJobTemplateLocalesCreateParameters { public static final String SERIALIZED_NAME_LOCALE_NAME = "locale_name"; @SerializedName(SERIALIZED_NAME_LOCALE_NAME) diff --git a/src/main/java/com/phrase/client/model/OrganizationJobTemplateUpdateParameters.java b/src/main/java/com/phrase/client/model/OrganizationJobTemplateUpdateParameters.java index 054bd104c5..2d57691076 100644 --- a/src/main/java/com/phrase/client/model/OrganizationJobTemplateUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/OrganizationJobTemplateUpdateParameters.java @@ -26,7 +26,7 @@ /** * OrganizationJobTemplateUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class OrganizationJobTemplateUpdateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/Project.java b/src/main/java/com/phrase/client/model/Project.java index aab2c6afa8..822d235ce4 100644 --- a/src/main/java/com/phrase/client/model/Project.java +++ b/src/main/java/com/phrase/client/model/Project.java @@ -30,7 +30,7 @@ /** * Project */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Project { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/ProjectCreateParameters.java b/src/main/java/com/phrase/client/model/ProjectCreateParameters.java index 8f03794eec..6892df91e9 100644 --- a/src/main/java/com/phrase/client/model/ProjectCreateParameters.java +++ b/src/main/java/com/phrase/client/model/ProjectCreateParameters.java @@ -27,7 +27,7 @@ /** * ProjectCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectCreateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/ProjectDetails.java b/src/main/java/com/phrase/client/model/ProjectDetails.java index 9c9b4e1db7..4d2a057176 100644 --- a/src/main/java/com/phrase/client/model/ProjectDetails.java +++ b/src/main/java/com/phrase/client/model/ProjectDetails.java @@ -30,7 +30,7 @@ /** * ProjectDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/ProjectLocales.java b/src/main/java/com/phrase/client/model/ProjectLocales.java index d335fa2837..bf5f35f2ff 100644 --- a/src/main/java/com/phrase/client/model/ProjectLocales.java +++ b/src/main/java/com/phrase/client/model/ProjectLocales.java @@ -30,7 +30,7 @@ /** * ProjectLocales */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectLocales { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/ProjectReport.java b/src/main/java/com/phrase/client/model/ProjectReport.java index 0ae70e99c1..cc4681c2da 100644 --- a/src/main/java/com/phrase/client/model/ProjectReport.java +++ b/src/main/java/com/phrase/client/model/ProjectReport.java @@ -27,7 +27,7 @@ /** * ProjectReport */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectReport { public static final String SERIALIZED_NAME_LOCALES_COUNT = "locales_count"; @SerializedName(SERIALIZED_NAME_LOCALES_COUNT) diff --git a/src/main/java/com/phrase/client/model/ProjectShort.java b/src/main/java/com/phrase/client/model/ProjectShort.java index fee684df3f..0a6c6627ab 100644 --- a/src/main/java/com/phrase/client/model/ProjectShort.java +++ b/src/main/java/com/phrase/client/model/ProjectShort.java @@ -27,7 +27,7 @@ /** * ProjectShort */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectShort { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/ProjectUpdateParameters.java b/src/main/java/com/phrase/client/model/ProjectUpdateParameters.java index 8dd4b925d2..2f304eddeb 100644 --- a/src/main/java/com/phrase/client/model/ProjectUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/ProjectUpdateParameters.java @@ -27,7 +27,7 @@ /** * ProjectUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectUpdateParameters { public static final String SERIALIZED_NAME_ACCOUNT_ID = "account_id"; @SerializedName(SERIALIZED_NAME_ACCOUNT_ID) diff --git a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200Response.java b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200Response.java index 1a15c718d0..db89ef4ef4 100644 --- a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200Response.java +++ b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200Response.java @@ -33,7 +33,7 @@ /** * ProjectsQualityPerformanceScore200Response */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectsQualityPerformanceScore200Response { public static final String SERIALIZED_NAME_ERROR = "error"; @SerializedName(SERIALIZED_NAME_ERROR) diff --git a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOf.java b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOf.java index d641188072..180d860b66 100644 --- a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOf.java +++ b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOf.java @@ -30,7 +30,7 @@ /** * ProjectsQualityPerformanceScore200ResponseAnyOf */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectsQualityPerformanceScore200ResponseAnyOf { public static final String SERIALIZED_NAME_DATA = "data"; @SerializedName(SERIALIZED_NAME_DATA) diff --git a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfData.java b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfData.java index be5762aa30..b59169d93e 100644 --- a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfData.java +++ b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfData.java @@ -29,7 +29,7 @@ /** * ProjectsQualityPerformanceScore200ResponseAnyOfData */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectsQualityPerformanceScore200ResponseAnyOfData { public static final String SERIALIZED_NAME_TRANSLATIONS = "translations"; @SerializedName(SERIALIZED_NAME_TRANSLATIONS) diff --git a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.java b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.java index 5009e7f79a..83bbc7999c 100644 --- a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.java +++ b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner.java @@ -27,7 +27,7 @@ /** * ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectsQualityPerformanceScore200ResponseAnyOfDataTranslationsInner { public static final String SERIALIZED_NAME_ENGINE = "engine"; @SerializedName(SERIALIZED_NAME_ENGINE) diff --git a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.java b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.java index 9b53130ba7..454a33b627 100644 --- a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.java +++ b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner.java @@ -26,7 +26,7 @@ /** * ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectsQualityPerformanceScore200ResponseAnyOfErrorsInner { public static final String SERIALIZED_NAME_MESSAGE = "message"; @SerializedName(SERIALIZED_NAME_MESSAGE) diff --git a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScoreRequest.java b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScoreRequest.java index 5a53c0ce2e..8520e2b276 100644 --- a/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScoreRequest.java +++ b/src/main/java/com/phrase/client/model/ProjectsQualityPerformanceScoreRequest.java @@ -28,7 +28,7 @@ /** * ProjectsQualityPerformanceScoreRequest */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ProjectsQualityPerformanceScoreRequest { public static final String SERIALIZED_NAME_TRANSLATION_IDS = "translation_ids"; @SerializedName(SERIALIZED_NAME_TRANSLATION_IDS) diff --git a/src/main/java/com/phrase/client/model/Release.java b/src/main/java/com/phrase/client/model/Release.java index 7e92de6337..f3c5eef2bd 100644 --- a/src/main/java/com/phrase/client/model/Release.java +++ b/src/main/java/com/phrase/client/model/Release.java @@ -31,7 +31,7 @@ /** * Release */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Release { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/ReleaseCreateParameters.java b/src/main/java/com/phrase/client/model/ReleaseCreateParameters.java index 5b43c0e1d4..54be01732f 100644 --- a/src/main/java/com/phrase/client/model/ReleaseCreateParameters.java +++ b/src/main/java/com/phrase/client/model/ReleaseCreateParameters.java @@ -28,7 +28,7 @@ /** * ReleaseCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ReleaseCreateParameters { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) diff --git a/src/main/java/com/phrase/client/model/ReleaseCreateParameters1.java b/src/main/java/com/phrase/client/model/ReleaseCreateParameters1.java index ce900b0b54..183c081655 100644 --- a/src/main/java/com/phrase/client/model/ReleaseCreateParameters1.java +++ b/src/main/java/com/phrase/client/model/ReleaseCreateParameters1.java @@ -28,7 +28,7 @@ /** * ReleaseCreateParameters1 */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ReleaseCreateParameters1 { public static final String SERIALIZED_NAME_CRON_SCHEDULE = "cron_schedule"; @SerializedName(SERIALIZED_NAME_CRON_SCHEDULE) diff --git a/src/main/java/com/phrase/client/model/ReleasePreview.java b/src/main/java/com/phrase/client/model/ReleasePreview.java index 393bb663e0..653678467d 100644 --- a/src/main/java/com/phrase/client/model/ReleasePreview.java +++ b/src/main/java/com/phrase/client/model/ReleasePreview.java @@ -30,7 +30,7 @@ /** * ReleasePreview */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ReleasePreview { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/ReleaseTrigger.java b/src/main/java/com/phrase/client/model/ReleaseTrigger.java index 8cee421b6c..837a9f262b 100644 --- a/src/main/java/com/phrase/client/model/ReleaseTrigger.java +++ b/src/main/java/com/phrase/client/model/ReleaseTrigger.java @@ -30,7 +30,7 @@ /** * ReleaseTrigger */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ReleaseTrigger { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/ReleaseUpdateParameters.java b/src/main/java/com/phrase/client/model/ReleaseUpdateParameters.java index 3a2ad35851..6e4e1402aa 100644 --- a/src/main/java/com/phrase/client/model/ReleaseUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/ReleaseUpdateParameters.java @@ -28,7 +28,7 @@ /** * ReleaseUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ReleaseUpdateParameters { public static final String SERIALIZED_NAME_DESCRIPTION = "description"; @SerializedName(SERIALIZED_NAME_DESCRIPTION) diff --git a/src/main/java/com/phrase/client/model/ReleaseUpdateParameters1.java b/src/main/java/com/phrase/client/model/ReleaseUpdateParameters1.java index bebf408754..139cd8fb13 100644 --- a/src/main/java/com/phrase/client/model/ReleaseUpdateParameters1.java +++ b/src/main/java/com/phrase/client/model/ReleaseUpdateParameters1.java @@ -28,7 +28,7 @@ /** * ReleaseUpdateParameters1 */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ReleaseUpdateParameters1 { public static final String SERIALIZED_NAME_CRON_SCHEDULE = "cron_schedule"; @SerializedName(SERIALIZED_NAME_CRON_SCHEDULE) diff --git a/src/main/java/com/phrase/client/model/RepliesListParameters.java b/src/main/java/com/phrase/client/model/RepliesListParameters.java index b9091ef7ad..9df39fdb74 100644 --- a/src/main/java/com/phrase/client/model/RepliesListParameters.java +++ b/src/main/java/com/phrase/client/model/RepliesListParameters.java @@ -28,7 +28,7 @@ /** * RepliesListParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class RepliesListParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/RepoSync.java b/src/main/java/com/phrase/client/model/RepoSync.java index 6303d33f7a..7954b1da55 100644 --- a/src/main/java/com/phrase/client/model/RepoSync.java +++ b/src/main/java/com/phrase/client/model/RepoSync.java @@ -28,7 +28,7 @@ /** * RepoSync */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class RepoSync { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/RepoSyncEvent.java b/src/main/java/com/phrase/client/model/RepoSyncEvent.java index 2033832651..d866a8b22b 100644 --- a/src/main/java/com/phrase/client/model/RepoSyncEvent.java +++ b/src/main/java/com/phrase/client/model/RepoSyncEvent.java @@ -30,7 +30,7 @@ /** * RepoSyncEvent */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class RepoSyncEvent { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/RepoSyncEventErrorsInner.java b/src/main/java/com/phrase/client/model/RepoSyncEventErrorsInner.java index baf98f1990..248dd058ed 100644 --- a/src/main/java/com/phrase/client/model/RepoSyncEventErrorsInner.java +++ b/src/main/java/com/phrase/client/model/RepoSyncEventErrorsInner.java @@ -19,7 +19,7 @@ /** * RepoSyncEventErrorsInner */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class RepoSyncEventErrorsInner { public RepoSyncEventErrorsInner() { } diff --git a/src/main/java/com/phrase/client/model/Screenshot.java b/src/main/java/com/phrase/client/model/Screenshot.java index fd72541f70..56e49f5dec 100644 --- a/src/main/java/com/phrase/client/model/Screenshot.java +++ b/src/main/java/com/phrase/client/model/Screenshot.java @@ -27,7 +27,7 @@ /** * Screenshot */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Screenshot { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/ScreenshotMarker.java b/src/main/java/com/phrase/client/model/ScreenshotMarker.java index 1c01081a3f..c5217fdf02 100644 --- a/src/main/java/com/phrase/client/model/ScreenshotMarker.java +++ b/src/main/java/com/phrase/client/model/ScreenshotMarker.java @@ -28,7 +28,7 @@ /** * ScreenshotMarker */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ScreenshotMarker { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/ScreenshotMarkerCreateParameters.java b/src/main/java/com/phrase/client/model/ScreenshotMarkerCreateParameters.java index 4e5d08f403..e686f896c5 100644 --- a/src/main/java/com/phrase/client/model/ScreenshotMarkerCreateParameters.java +++ b/src/main/java/com/phrase/client/model/ScreenshotMarkerCreateParameters.java @@ -26,7 +26,7 @@ /** * ScreenshotMarkerCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ScreenshotMarkerCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/ScreenshotMarkerUpdateParameters.java b/src/main/java/com/phrase/client/model/ScreenshotMarkerUpdateParameters.java index 91ea6ce43f..cd13bd83e1 100644 --- a/src/main/java/com/phrase/client/model/ScreenshotMarkerUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/ScreenshotMarkerUpdateParameters.java @@ -26,7 +26,7 @@ /** * ScreenshotMarkerUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ScreenshotMarkerUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/ScreenshotUpdateParameters.java b/src/main/java/com/phrase/client/model/ScreenshotUpdateParameters.java index 32574cace8..107b56de1a 100644 --- a/src/main/java/com/phrase/client/model/ScreenshotUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/ScreenshotUpdateParameters.java @@ -27,7 +27,7 @@ /** * ScreenshotUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class ScreenshotUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/SearchInAccountParameters.java b/src/main/java/com/phrase/client/model/SearchInAccountParameters.java index e7ace3d8c4..40ed3742b7 100644 --- a/src/main/java/com/phrase/client/model/SearchInAccountParameters.java +++ b/src/main/java/com/phrase/client/model/SearchInAccountParameters.java @@ -26,7 +26,7 @@ /** * SearchInAccountParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class SearchInAccountParameters { public static final String SERIALIZED_NAME_QUERY = "query"; @SerializedName(SERIALIZED_NAME_QUERY) diff --git a/src/main/java/com/phrase/client/model/Space.java b/src/main/java/com/phrase/client/model/Space.java index 57a4da37fe..b97d8ebbd7 100644 --- a/src/main/java/com/phrase/client/model/Space.java +++ b/src/main/java/com/phrase/client/model/Space.java @@ -30,7 +30,7 @@ /** * Space */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Space { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/Space1.java b/src/main/java/com/phrase/client/model/Space1.java index e515a6031f..e27a787617 100644 --- a/src/main/java/com/phrase/client/model/Space1.java +++ b/src/main/java/com/phrase/client/model/Space1.java @@ -27,7 +27,7 @@ /** * Space1 */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Space1 { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/SpaceCreateParameters.java b/src/main/java/com/phrase/client/model/SpaceCreateParameters.java index 87f84a45e6..304b68827a 100644 --- a/src/main/java/com/phrase/client/model/SpaceCreateParameters.java +++ b/src/main/java/com/phrase/client/model/SpaceCreateParameters.java @@ -26,7 +26,7 @@ /** * SpaceCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class SpaceCreateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/SpaceUpdateParameters.java b/src/main/java/com/phrase/client/model/SpaceUpdateParameters.java index 8df2c2111a..c11e3aa69c 100644 --- a/src/main/java/com/phrase/client/model/SpaceUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/SpaceUpdateParameters.java @@ -26,7 +26,7 @@ /** * SpaceUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class SpaceUpdateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/SpacesProjectsCreateParameters.java b/src/main/java/com/phrase/client/model/SpacesProjectsCreateParameters.java index 9777e6a8c4..be8b128183 100644 --- a/src/main/java/com/phrase/client/model/SpacesProjectsCreateParameters.java +++ b/src/main/java/com/phrase/client/model/SpacesProjectsCreateParameters.java @@ -26,7 +26,7 @@ /** * SpacesProjectsCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class SpacesProjectsCreateParameters { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/Styleguide.java b/src/main/java/com/phrase/client/model/Styleguide.java index 2dadf5fbc9..61b8d0e225 100644 --- a/src/main/java/com/phrase/client/model/Styleguide.java +++ b/src/main/java/com/phrase/client/model/Styleguide.java @@ -27,7 +27,7 @@ /** * Styleguide */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Styleguide { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/StyleguideCreateParameters.java b/src/main/java/com/phrase/client/model/StyleguideCreateParameters.java index 24b49f8585..4e1809e60f 100644 --- a/src/main/java/com/phrase/client/model/StyleguideCreateParameters.java +++ b/src/main/java/com/phrase/client/model/StyleguideCreateParameters.java @@ -26,7 +26,7 @@ /** * StyleguideCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class StyleguideCreateParameters { public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) diff --git a/src/main/java/com/phrase/client/model/StyleguideDetails.java b/src/main/java/com/phrase/client/model/StyleguideDetails.java index 6a841db40f..83feb3a2fe 100644 --- a/src/main/java/com/phrase/client/model/StyleguideDetails.java +++ b/src/main/java/com/phrase/client/model/StyleguideDetails.java @@ -27,7 +27,7 @@ /** * StyleguideDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class StyleguideDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/StyleguidePreview.java b/src/main/java/com/phrase/client/model/StyleguidePreview.java index 8351f7fcd7..945afa984e 100644 --- a/src/main/java/com/phrase/client/model/StyleguidePreview.java +++ b/src/main/java/com/phrase/client/model/StyleguidePreview.java @@ -26,7 +26,7 @@ /** * StyleguidePreview */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class StyleguidePreview { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/StyleguideUpdateParameters.java b/src/main/java/com/phrase/client/model/StyleguideUpdateParameters.java index f1bb4bc883..97c2d9033a 100644 --- a/src/main/java/com/phrase/client/model/StyleguideUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/StyleguideUpdateParameters.java @@ -26,7 +26,7 @@ /** * StyleguideUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class StyleguideUpdateParameters { public static final String SERIALIZED_NAME_TITLE = "title"; @SerializedName(SERIALIZED_NAME_TITLE) diff --git a/src/main/java/com/phrase/client/model/Subscription.java b/src/main/java/com/phrase/client/model/Subscription.java index 886032ba0d..fa8b88f701 100644 --- a/src/main/java/com/phrase/client/model/Subscription.java +++ b/src/main/java/com/phrase/client/model/Subscription.java @@ -26,7 +26,7 @@ /** * Subscription */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Subscription { public static final String SERIALIZED_NAME_IS_CURRENT = "is_current"; @SerializedName(SERIALIZED_NAME_IS_CURRENT) diff --git a/src/main/java/com/phrase/client/model/Tag.java b/src/main/java/com/phrase/client/model/Tag.java index 2db24a50db..6deb9bc2c3 100644 --- a/src/main/java/com/phrase/client/model/Tag.java +++ b/src/main/java/com/phrase/client/model/Tag.java @@ -27,7 +27,7 @@ /** * Tag */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Tag { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/TagCreateParameters.java b/src/main/java/com/phrase/client/model/TagCreateParameters.java index e533f62419..f9715d459b 100644 --- a/src/main/java/com/phrase/client/model/TagCreateParameters.java +++ b/src/main/java/com/phrase/client/model/TagCreateParameters.java @@ -26,7 +26,7 @@ /** * TagCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TagCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TagWithStats.java b/src/main/java/com/phrase/client/model/TagWithStats.java index e2d6d6855d..ecbe5b82fd 100644 --- a/src/main/java/com/phrase/client/model/TagWithStats.java +++ b/src/main/java/com/phrase/client/model/TagWithStats.java @@ -30,7 +30,7 @@ /** * TagWithStats */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TagWithStats { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/TagWithStats1Statistics.java b/src/main/java/com/phrase/client/model/TagWithStats1Statistics.java index 8f6c355f2d..b87db20d4d 100644 --- a/src/main/java/com/phrase/client/model/TagWithStats1Statistics.java +++ b/src/main/java/com/phrase/client/model/TagWithStats1Statistics.java @@ -26,7 +26,7 @@ /** * TagWithStats1Statistics */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TagWithStats1Statistics { public static final String SERIALIZED_NAME_KEYS_TOTAL_COUNT = "keys_total_count"; @SerializedName(SERIALIZED_NAME_KEYS_TOTAL_COUNT) diff --git a/src/main/java/com/phrase/client/model/TagWithStats1Statistics1.java b/src/main/java/com/phrase/client/model/TagWithStats1Statistics1.java index eb604b73bb..49f00ff510 100644 --- a/src/main/java/com/phrase/client/model/TagWithStats1Statistics1.java +++ b/src/main/java/com/phrase/client/model/TagWithStats1Statistics1.java @@ -28,7 +28,7 @@ /** * TagWithStats1Statistics1 */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TagWithStats1Statistics1 { public static final String SERIALIZED_NAME_LOCALE = "locale"; @SerializedName(SERIALIZED_NAME_LOCALE) diff --git a/src/main/java/com/phrase/client/model/Team.java b/src/main/java/com/phrase/client/model/Team.java index 997814cf38..f392e50305 100644 --- a/src/main/java/com/phrase/client/model/Team.java +++ b/src/main/java/com/phrase/client/model/Team.java @@ -32,7 +32,7 @@ /** * Team */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Team { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TeamCreateParameters.java b/src/main/java/com/phrase/client/model/TeamCreateParameters.java index e25b51a98e..80cd4e5e76 100644 --- a/src/main/java/com/phrase/client/model/TeamCreateParameters.java +++ b/src/main/java/com/phrase/client/model/TeamCreateParameters.java @@ -26,7 +26,7 @@ /** * TeamCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TeamCreateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/TeamDetail.java b/src/main/java/com/phrase/client/model/TeamDetail.java index 6f29af4dcc..ac5b7537e2 100644 --- a/src/main/java/com/phrase/client/model/TeamDetail.java +++ b/src/main/java/com/phrase/client/model/TeamDetail.java @@ -32,7 +32,7 @@ /** * TeamDetail */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TeamDetail { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TeamShort.java b/src/main/java/com/phrase/client/model/TeamShort.java index c922f79b5f..7d231a1733 100644 --- a/src/main/java/com/phrase/client/model/TeamShort.java +++ b/src/main/java/com/phrase/client/model/TeamShort.java @@ -27,7 +27,7 @@ /** * TeamShort */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TeamShort { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TeamUpdateParameters.java b/src/main/java/com/phrase/client/model/TeamUpdateParameters.java index 1f088ed1a2..8fea830a27 100644 --- a/src/main/java/com/phrase/client/model/TeamUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/TeamUpdateParameters.java @@ -26,7 +26,7 @@ /** * TeamUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TeamUpdateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/TeamsProjectsCreateParameters.java b/src/main/java/com/phrase/client/model/TeamsProjectsCreateParameters.java index 0cc4f6e288..7a9d2626b1 100644 --- a/src/main/java/com/phrase/client/model/TeamsProjectsCreateParameters.java +++ b/src/main/java/com/phrase/client/model/TeamsProjectsCreateParameters.java @@ -26,7 +26,7 @@ /** * TeamsProjectsCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TeamsProjectsCreateParameters { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TeamsSpacesCreateParameters.java b/src/main/java/com/phrase/client/model/TeamsSpacesCreateParameters.java index a82d0a4ab0..116cbeb47c 100644 --- a/src/main/java/com/phrase/client/model/TeamsSpacesCreateParameters.java +++ b/src/main/java/com/phrase/client/model/TeamsSpacesCreateParameters.java @@ -26,7 +26,7 @@ /** * TeamsSpacesCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TeamsSpacesCreateParameters { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TeamsUsersCreateParameters.java b/src/main/java/com/phrase/client/model/TeamsUsersCreateParameters.java index 6fd8df4404..6daeb8fa97 100644 --- a/src/main/java/com/phrase/client/model/TeamsUsersCreateParameters.java +++ b/src/main/java/com/phrase/client/model/TeamsUsersCreateParameters.java @@ -26,7 +26,7 @@ /** * TeamsUsersCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TeamsUsersCreateParameters { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/Translation.java b/src/main/java/com/phrase/client/model/Translation.java index 9f28005a8f..7e0b094e98 100644 --- a/src/main/java/com/phrase/client/model/Translation.java +++ b/src/main/java/com/phrase/client/model/Translation.java @@ -31,7 +31,7 @@ /** * Translation */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Translation { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TranslationCreateParameters.java b/src/main/java/com/phrase/client/model/TranslationCreateParameters.java index 9f20af5f1d..950d88b815 100644 --- a/src/main/java/com/phrase/client/model/TranslationCreateParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationCreateParameters.java @@ -26,7 +26,7 @@ /** * TranslationCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationCreateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationDetails.java b/src/main/java/com/phrase/client/model/TranslationDetails.java index ff72169198..d567332749 100644 --- a/src/main/java/com/phrase/client/model/TranslationDetails.java +++ b/src/main/java/com/phrase/client/model/TranslationDetails.java @@ -33,7 +33,7 @@ /** * TranslationDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TranslationExcludeParameters.java b/src/main/java/com/phrase/client/model/TranslationExcludeParameters.java index 197f4d2ab8..6a34ff77ba 100644 --- a/src/main/java/com/phrase/client/model/TranslationExcludeParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationExcludeParameters.java @@ -26,7 +26,7 @@ /** * TranslationExcludeParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationExcludeParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationIncludeParameters.java b/src/main/java/com/phrase/client/model/TranslationIncludeParameters.java index 312a2066a5..817a21ed69 100644 --- a/src/main/java/com/phrase/client/model/TranslationIncludeParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationIncludeParameters.java @@ -26,7 +26,7 @@ /** * TranslationIncludeParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationIncludeParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationKey.java b/src/main/java/com/phrase/client/model/TranslationKey.java index d262acc6ee..c5e5b26d27 100644 --- a/src/main/java/com/phrase/client/model/TranslationKey.java +++ b/src/main/java/com/phrase/client/model/TranslationKey.java @@ -29,7 +29,7 @@ /** * TranslationKey */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationKey { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TranslationKeyDetails.java b/src/main/java/com/phrase/client/model/TranslationKeyDetails.java index b758503156..a9f2e060f6 100644 --- a/src/main/java/com/phrase/client/model/TranslationKeyDetails.java +++ b/src/main/java/com/phrase/client/model/TranslationKeyDetails.java @@ -32,7 +32,7 @@ /** * TranslationKeyDetails */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationKeyDetails { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TranslationOrder.java b/src/main/java/com/phrase/client/model/TranslationOrder.java index 50e790a47d..7c9f5e7bf0 100644 --- a/src/main/java/com/phrase/client/model/TranslationOrder.java +++ b/src/main/java/com/phrase/client/model/TranslationOrder.java @@ -31,7 +31,7 @@ /** * TranslationOrder */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationOrder { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TranslationParent.java b/src/main/java/com/phrase/client/model/TranslationParent.java index 2883169ef3..acbd8da2ce 100644 --- a/src/main/java/com/phrase/client/model/TranslationParent.java +++ b/src/main/java/com/phrase/client/model/TranslationParent.java @@ -26,7 +26,7 @@ /** * TranslationParent */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationParent { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TranslationReviewParameters.java b/src/main/java/com/phrase/client/model/TranslationReviewParameters.java index 94d90c15cd..6daec13c03 100644 --- a/src/main/java/com/phrase/client/model/TranslationReviewParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationReviewParameters.java @@ -26,7 +26,7 @@ /** * TranslationReviewParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationReviewParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationUnverifyParameters.java b/src/main/java/com/phrase/client/model/TranslationUnverifyParameters.java index 6367c443c5..213ddc406f 100644 --- a/src/main/java/com/phrase/client/model/TranslationUnverifyParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationUnverifyParameters.java @@ -26,7 +26,7 @@ /** * TranslationUnverifyParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationUnverifyParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationUpdateParameters.java b/src/main/java/com/phrase/client/model/TranslationUpdateParameters.java index d1d63eaac7..088e3b05ed 100644 --- a/src/main/java/com/phrase/client/model/TranslationUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationUpdateParameters.java @@ -26,7 +26,7 @@ /** * TranslationUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationUpdateParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationVerifyParameters.java b/src/main/java/com/phrase/client/model/TranslationVerifyParameters.java index 018b24b139..4423cf2744 100644 --- a/src/main/java/com/phrase/client/model/TranslationVerifyParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationVerifyParameters.java @@ -26,7 +26,7 @@ /** * TranslationVerifyParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationVerifyParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationVersion.java b/src/main/java/com/phrase/client/model/TranslationVersion.java index c2b1f1966a..407c184dda 100644 --- a/src/main/java/com/phrase/client/model/TranslationVersion.java +++ b/src/main/java/com/phrase/client/model/TranslationVersion.java @@ -29,7 +29,7 @@ /** * TranslationVersion */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationVersion { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TranslationVersionWithUser.java b/src/main/java/com/phrase/client/model/TranslationVersionWithUser.java index b66b8b1e99..724fca8e91 100644 --- a/src/main/java/com/phrase/client/model/TranslationVersionWithUser.java +++ b/src/main/java/com/phrase/client/model/TranslationVersionWithUser.java @@ -30,7 +30,7 @@ /** * TranslationVersionWithUser */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationVersionWithUser { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/TranslationsExcludeParameters.java b/src/main/java/com/phrase/client/model/TranslationsExcludeParameters.java index fabb7d0658..e7e45cc772 100644 --- a/src/main/java/com/phrase/client/model/TranslationsExcludeParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationsExcludeParameters.java @@ -26,7 +26,7 @@ /** * TranslationsExcludeParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationsExcludeParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationsIncludeParameters.java b/src/main/java/com/phrase/client/model/TranslationsIncludeParameters.java index 45bda0b698..34aa90e3e5 100644 --- a/src/main/java/com/phrase/client/model/TranslationsIncludeParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationsIncludeParameters.java @@ -26,7 +26,7 @@ /** * TranslationsIncludeParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationsIncludeParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationsReviewParameters.java b/src/main/java/com/phrase/client/model/TranslationsReviewParameters.java index 5fe98f5374..24cecdbb74 100644 --- a/src/main/java/com/phrase/client/model/TranslationsReviewParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationsReviewParameters.java @@ -26,7 +26,7 @@ /** * TranslationsReviewParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationsReviewParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationsSearchParameters.java b/src/main/java/com/phrase/client/model/TranslationsSearchParameters.java index 85eda17a45..b85552fcae 100644 --- a/src/main/java/com/phrase/client/model/TranslationsSearchParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationsSearchParameters.java @@ -26,7 +26,7 @@ /** * TranslationsSearchParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationsSearchParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationsUnverifyParameters.java b/src/main/java/com/phrase/client/model/TranslationsUnverifyParameters.java index 7c504785f0..3240bf3efd 100644 --- a/src/main/java/com/phrase/client/model/TranslationsUnverifyParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationsUnverifyParameters.java @@ -26,7 +26,7 @@ /** * TranslationsUnverifyParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationsUnverifyParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/TranslationsVerifyParameters.java b/src/main/java/com/phrase/client/model/TranslationsVerifyParameters.java index 9229939323..6172340f4b 100644 --- a/src/main/java/com/phrase/client/model/TranslationsVerifyParameters.java +++ b/src/main/java/com/phrase/client/model/TranslationsVerifyParameters.java @@ -26,7 +26,7 @@ /** * TranslationsVerifyParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class TranslationsVerifyParameters { public static final String SERIALIZED_NAME_BRANCH = "branch"; @SerializedName(SERIALIZED_NAME_BRANCH) diff --git a/src/main/java/com/phrase/client/model/Upload.java b/src/main/java/com/phrase/client/model/Upload.java index e2df919c65..cf1db173b8 100644 --- a/src/main/java/com/phrase/client/model/Upload.java +++ b/src/main/java/com/phrase/client/model/Upload.java @@ -28,7 +28,7 @@ /** * Upload */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Upload { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/UploadSummary.java b/src/main/java/com/phrase/client/model/UploadSummary.java index 1f33298fbd..f8cc564917 100644 --- a/src/main/java/com/phrase/client/model/UploadSummary.java +++ b/src/main/java/com/phrase/client/model/UploadSummary.java @@ -26,7 +26,7 @@ /** * UploadSummary */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class UploadSummary { public static final String SERIALIZED_NAME_LOCALES_CREATED = "locales_created"; @SerializedName(SERIALIZED_NAME_LOCALES_CREATED) diff --git a/src/main/java/com/phrase/client/model/User.java b/src/main/java/com/phrase/client/model/User.java index e3d0eb49f5..430db20aa8 100644 --- a/src/main/java/com/phrase/client/model/User.java +++ b/src/main/java/com/phrase/client/model/User.java @@ -27,7 +27,7 @@ /** * User */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class User { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/UserPreview.java b/src/main/java/com/phrase/client/model/UserPreview.java index f74659a9b9..b56a3f1b00 100644 --- a/src/main/java/com/phrase/client/model/UserPreview.java +++ b/src/main/java/com/phrase/client/model/UserPreview.java @@ -26,7 +26,7 @@ /** * UserPreview */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class UserPreview { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/Variable.java b/src/main/java/com/phrase/client/model/Variable.java index ff96983bf5..e219876381 100644 --- a/src/main/java/com/phrase/client/model/Variable.java +++ b/src/main/java/com/phrase/client/model/Variable.java @@ -27,7 +27,7 @@ /** * Variable */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Variable { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/VariableCreateParameters.java b/src/main/java/com/phrase/client/model/VariableCreateParameters.java index a6b6562d58..319b29b976 100644 --- a/src/main/java/com/phrase/client/model/VariableCreateParameters.java +++ b/src/main/java/com/phrase/client/model/VariableCreateParameters.java @@ -26,7 +26,7 @@ /** * VariableCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class VariableCreateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/VariableUpdateParameters.java b/src/main/java/com/phrase/client/model/VariableUpdateParameters.java index 3658d696bc..69ef68dbb2 100644 --- a/src/main/java/com/phrase/client/model/VariableUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/VariableUpdateParameters.java @@ -26,7 +26,7 @@ /** * VariableUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class VariableUpdateParameters { public static final String SERIALIZED_NAME_NAME = "name"; @SerializedName(SERIALIZED_NAME_NAME) diff --git a/src/main/java/com/phrase/client/model/Webhook.java b/src/main/java/com/phrase/client/model/Webhook.java index 8f97de9ff9..9e95569367 100644 --- a/src/main/java/com/phrase/client/model/Webhook.java +++ b/src/main/java/com/phrase/client/model/Webhook.java @@ -29,7 +29,7 @@ /** * Webhook */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class Webhook { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/WebhookCreateParameters.java b/src/main/java/com/phrase/client/model/WebhookCreateParameters.java index b74a7b8fbf..15cdc4b66e 100644 --- a/src/main/java/com/phrase/client/model/WebhookCreateParameters.java +++ b/src/main/java/com/phrase/client/model/WebhookCreateParameters.java @@ -26,7 +26,7 @@ /** * WebhookCreateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class WebhookCreateParameters { public static final String SERIALIZED_NAME_CALLBACK_URL = "callback_url"; @SerializedName(SERIALIZED_NAME_CALLBACK_URL) diff --git a/src/main/java/com/phrase/client/model/WebhookDelivery.java b/src/main/java/com/phrase/client/model/WebhookDelivery.java index 04914b8cc3..9c5aed1201 100644 --- a/src/main/java/com/phrase/client/model/WebhookDelivery.java +++ b/src/main/java/com/phrase/client/model/WebhookDelivery.java @@ -27,7 +27,7 @@ /** * WebhookDelivery */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class WebhookDelivery { public static final String SERIALIZED_NAME_ID = "id"; @SerializedName(SERIALIZED_NAME_ID) diff --git a/src/main/java/com/phrase/client/model/WebhookUpdateParameters.java b/src/main/java/com/phrase/client/model/WebhookUpdateParameters.java index f0a6035996..3643d754e6 100644 --- a/src/main/java/com/phrase/client/model/WebhookUpdateParameters.java +++ b/src/main/java/com/phrase/client/model/WebhookUpdateParameters.java @@ -26,7 +26,7 @@ /** * WebhookUpdateParameters */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-13T09:41:10.863654223Z[Etc/UTC]") +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-12-18T08:04:36.472998914Z[Etc/UTC]") public class WebhookUpdateParameters { public static final String SERIALIZED_NAME_CALLBACK_URL = "callback_url"; @SerializedName(SERIALIZED_NAME_CALLBACK_URL) diff --git a/src/test/java/com/phrase/client/api/BitbucketSyncApiTest.java b/src/test/java/com/phrase/client/api/BitbucketSyncApiTest.java deleted file mode 100644 index 7dc205166a..0000000000 --- a/src/test/java/com/phrase/client/api/BitbucketSyncApiTest.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.api; - -import com.phrase.client.ApiException; -import com.phrase.client.model.BitbucketSync; -import com.phrase.client.model.BitbucketSyncExportParameters; -import com.phrase.client.model.BitbucketSyncExportResponse; -import com.phrase.client.model.BitbucketSyncImportParameters; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for BitbucketSyncApi - */ -@Ignore -public class BitbucketSyncApiTest { - - private final BitbucketSyncApi api = new BitbucketSyncApi(); - - - /** - * Export from Phrase Strings to Bitbucket - * - * Export translations from Phrase Strings to Bitbucket according to the .phraseapp.yml file within the Bitbucket Repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void bitbucketSyncExportTest() throws ApiException { - String id = null; - BitbucketSyncExportParameters bitbucketSyncExportParameters = null; - String xPhraseAppOTP = null; - BitbucketSyncExportResponse response = api.bitbucketSyncExport(id, bitbucketSyncExportParameters, xPhraseAppOTP); - - // TODO: test validations - } - - /** - * Import to Phrase Strings from Bitbucket - * - * Import translations from Bitbucket to Phrase Strings according to the .phraseapp.yml file within the Bitbucket repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void bitbucketSyncImportTest() throws ApiException { - String id = null; - BitbucketSyncImportParameters bitbucketSyncImportParameters = null; - String xPhraseAppOTP = null; - api.bitbucketSyncImport(id, bitbucketSyncImportParameters, xPhraseAppOTP); - - // TODO: test validations - } - - /** - * List Bitbucket syncs - * - * List all Bitbucket repositories for which synchronisation with Phrase Strings is activated. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void bitbucketSyncsListTest() throws ApiException { - String xPhraseAppOTP = null; - String accountId = null; - List response = api.bitbucketSyncsList(xPhraseAppOTP, accountId); - - // TODO: test validations - } - -} diff --git a/src/test/java/com/phrase/client/api/GitHubSyncApiTest.java b/src/test/java/com/phrase/client/api/GitHubSyncApiTest.java deleted file mode 100644 index 0d2f688929..0000000000 --- a/src/test/java/com/phrase/client/api/GitHubSyncApiTest.java +++ /dev/null @@ -1,70 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.api; - -import com.phrase.client.ApiException; -import com.phrase.client.model.CustomMetadataPropertyCreate422Response; -import com.phrase.client.model.GithubSyncExportParameters; -import com.phrase.client.model.GithubSyncImportParameters; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for GitHubSyncApi - */ -@Ignore -public class GitHubSyncApiTest { - - private final GitHubSyncApi api = new GitHubSyncApi(); - - - /** - * Export from Phrase Strings to GitHub - * - * Export translations from Phrase Strings to GitHub according to the .phraseapp.yml file within the GitHub repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void githubSyncExportTest() throws ApiException { - GithubSyncExportParameters githubSyncExportParameters = null; - String xPhraseAppOTP = null; - api.githubSyncExport(githubSyncExportParameters, xPhraseAppOTP); - - // TODO: test validations - } - - /** - * Import to Phrase Strings from GitHub - * - * Import files to Phrase Strings from your connected GitHub repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void githubSyncImportTest() throws ApiException { - GithubSyncImportParameters githubSyncImportParameters = null; - String xPhraseAppOTP = null; - api.githubSyncImport(githubSyncImportParameters, xPhraseAppOTP); - - // TODO: test validations - } - -} diff --git a/src/test/java/com/phrase/client/api/GitLabSyncApiTest.java b/src/test/java/com/phrase/client/api/GitLabSyncApiTest.java deleted file mode 100644 index 9e4b569801..0000000000 --- a/src/test/java/com/phrase/client/api/GitLabSyncApiTest.java +++ /dev/null @@ -1,169 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.api; - -import com.phrase.client.ApiException; -import com.phrase.client.model.GitlabSync; -import com.phrase.client.model.GitlabSyncExport; -import com.phrase.client.model.GitlabSyncExportParameters; -import com.phrase.client.model.GitlabSyncHistory; -import com.phrase.client.model.GitlabSyncImportParameters; -import com.phrase.client.model.Upload; -import org.junit.Test; -import org.junit.Ignore; - -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * API tests for GitLabSyncApi - */ -@Ignore -public class GitLabSyncApiTest { - - private final GitLabSyncApi api = new GitLabSyncApi(); - - - /** - * Delete single Sync Setting - * - * Deletes a single GitLab Sync Setting. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void gitlabSyncDeleteTest() throws ApiException { - String id = null; - String xPhraseAppOTP = null; - String accountId = null; - api.gitlabSyncDelete(id, xPhraseAppOTP, accountId); - - // TODO: test validations - } - - /** - * Export from Phrase Strings to GitLab - * - * Export translations from Phrase Strings to GitLab according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Export is done asynchronously and may take several seconds depending on the project size.</i> - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void gitlabSyncExportTest() throws ApiException { - String gitlabSyncId = null; - GitlabSyncExportParameters gitlabSyncExportParameters = null; - String xPhraseAppOTP = null; - GitlabSyncExport response = api.gitlabSyncExport(gitlabSyncId, gitlabSyncExportParameters, xPhraseAppOTP); - - // TODO: test validations - } - - /** - * History of single Sync Setting - * - * List history for a single Sync Setting. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void gitlabSyncHistoryTest() throws ApiException { - String gitlabSyncId = null; - String xPhraseAppOTP = null; - Integer page = null; - Integer perPage = null; - String accountId = null; - List response = api.gitlabSyncHistory(gitlabSyncId, xPhraseAppOTP, page, perPage, accountId); - - // TODO: test validations - } - - /** - * Import from GitLab to Phrase - * - * Import translations from GitLab to Phrase Strings according to the .phraseapp.yml file within the GitLab repository. <br><br><i>Note: Import is done asynchronously and may take several seconds depending on the project size.</i> - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void gitlabSyncImportTest() throws ApiException { - String gitlabSyncId = null; - GitlabSyncImportParameters gitlabSyncImportParameters = null; - String xPhraseAppOTP = null; - List response = api.gitlabSyncImport(gitlabSyncId, gitlabSyncImportParameters, xPhraseAppOTP); - - // TODO: test validations - } - - /** - * List GitLab syncs - * - * List all GitLab Sync Settings for which synchronisation with Phrase Strings and GitLab is activated. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void gitlabSyncListTest() throws ApiException { - String xPhraseAppOTP = null; - String accountId = null; - List response = api.gitlabSyncList(xPhraseAppOTP, accountId); - - // TODO: test validations - } - - /** - * Get single Sync Setting - * - * Shows a single GitLab Sync Setting. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void gitlabSyncShowTest() throws ApiException { - String id = null; - String xPhraseAppOTP = null; - String accountId = null; - GitlabSync response = api.gitlabSyncShow(id, xPhraseAppOTP, accountId); - - // TODO: test validations - } - - /** - * Update single Sync Setting - * - * Updates a single GitLab Sync Setting. - * - * @throws ApiException - * if the Api call fails - */ - @Test - public void gitlabSyncUpdateTest() throws ApiException { - String id = null; - String xPhraseAppOTP = null; - String accountId = null; - String phraseProjectCode = null; - Integer gitlabProjectId = null; - String gitlabBranchName = null; - GitlabSync response = api.gitlabSyncUpdate(id, xPhraseAppOTP, accountId, phraseProjectCode, gitlabProjectId, gitlabBranchName); - - // TODO: test validations - } - -} diff --git a/src/test/java/com/phrase/client/model/BitbucketSyncExportParametersTest.java b/src/test/java/com/phrase/client/model/BitbucketSyncExportParametersTest.java deleted file mode 100644 index a9ed3abaa7..0000000000 --- a/src/test/java/com/phrase/client/model/BitbucketSyncExportParametersTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for BitbucketSyncExportParameters - */ -public class BitbucketSyncExportParametersTest { - private final BitbucketSyncExportParameters model = new BitbucketSyncExportParameters(); - - /** - * Model tests for BitbucketSyncExportParameters - */ - @Test - public void testBitbucketSyncExportParameters() { - // TODO: test BitbucketSyncExportParameters - } - - /** - * Test the property 'accountId' - */ - @Test - public void accountIdTest() { - // TODO: test accountId - } - -} diff --git a/src/test/java/com/phrase/client/model/BitbucketSyncExportResponseTest.java b/src/test/java/com/phrase/client/model/BitbucketSyncExportResponseTest.java deleted file mode 100644 index bdc0784c34..0000000000 --- a/src/test/java/com/phrase/client/model/BitbucketSyncExportResponseTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for BitbucketSyncExportResponse - */ -public class BitbucketSyncExportResponseTest { - private final BitbucketSyncExportResponse model = new BitbucketSyncExportResponse(); - - /** - * Model tests for BitbucketSyncExportResponse - */ - @Test - public void testBitbucketSyncExportResponse() { - // TODO: test BitbucketSyncExportResponse - } - - /** - * Test the property 'statusPath' - */ - @Test - public void statusPathTest() { - // TODO: test statusPath - } - -} diff --git a/src/test/java/com/phrase/client/model/BitbucketSyncImportParametersTest.java b/src/test/java/com/phrase/client/model/BitbucketSyncImportParametersTest.java deleted file mode 100644 index 1405d882e6..0000000000 --- a/src/test/java/com/phrase/client/model/BitbucketSyncImportParametersTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for BitbucketSyncImportParameters - */ -public class BitbucketSyncImportParametersTest { - private final BitbucketSyncImportParameters model = new BitbucketSyncImportParameters(); - - /** - * Model tests for BitbucketSyncImportParameters - */ - @Test - public void testBitbucketSyncImportParameters() { - // TODO: test BitbucketSyncImportParameters - } - - /** - * Test the property 'accountId' - */ - @Test - public void accountIdTest() { - // TODO: test accountId - } - -} diff --git a/src/test/java/com/phrase/client/model/BitbucketSyncTest.java b/src/test/java/com/phrase/client/model/BitbucketSyncTest.java deleted file mode 100644 index 80d51207e7..0000000000 --- a/src/test/java/com/phrase/client/model/BitbucketSyncTest.java +++ /dev/null @@ -1,93 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.phrase.client.model.ProjectShort; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for BitbucketSync - */ -public class BitbucketSyncTest { - private final BitbucketSync model = new BitbucketSync(); - - /** - * Model tests for BitbucketSync - */ - @Test - public void testBitbucketSync() { - // TODO: test BitbucketSync - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'repositoryName' - */ - @Test - public void repositoryNameTest() { - // TODO: test repositoryName - } - - /** - * Test the property 'lastExportToBitbucketAt' - */ - @Test - public void lastExportToBitbucketAtTest() { - // TODO: test lastExportToBitbucketAt - } - - /** - * Test the property 'lastImportFromBitbucketAt' - */ - @Test - public void lastImportFromBitbucketAtTest() { - // TODO: test lastImportFromBitbucketAt - } - - /** - * Test the property 'validPhraseappYaml' - */ - @Test - public void validPhraseappYamlTest() { - // TODO: test validPhraseappYaml - } - - /** - * Test the property 'phraseappProjects' - */ - @Test - public void phraseappProjectsTest() { - // TODO: test phraseappProjects - } - -} diff --git a/src/test/java/com/phrase/client/model/GithubSyncExportParametersTest.java b/src/test/java/com/phrase/client/model/GithubSyncExportParametersTest.java deleted file mode 100644 index d5e6a97fd7..0000000000 --- a/src/test/java/com/phrase/client/model/GithubSyncExportParametersTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GithubSyncExportParameters - */ -public class GithubSyncExportParametersTest { - private final GithubSyncExportParameters model = new GithubSyncExportParameters(); - - /** - * Model tests for GithubSyncExportParameters - */ - @Test - public void testGithubSyncExportParameters() { - // TODO: test GithubSyncExportParameters - } - - /** - * Test the property 'projectId' - */ - @Test - public void projectIdTest() { - // TODO: test projectId - } - -} diff --git a/src/test/java/com/phrase/client/model/GithubSyncImportParametersTest.java b/src/test/java/com/phrase/client/model/GithubSyncImportParametersTest.java deleted file mode 100644 index 1f00443041..0000000000 --- a/src/test/java/com/phrase/client/model/GithubSyncImportParametersTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GithubSyncImportParameters - */ -public class GithubSyncImportParametersTest { - private final GithubSyncImportParameters model = new GithubSyncImportParameters(); - - /** - * Model tests for GithubSyncImportParameters - */ - @Test - public void testGithubSyncImportParameters() { - // TODO: test GithubSyncImportParameters - } - - /** - * Test the property 'projectId' - */ - @Test - public void projectIdTest() { - // TODO: test projectId - } - -} diff --git a/src/test/java/com/phrase/client/model/GitlabSyncExportParametersTest.java b/src/test/java/com/phrase/client/model/GitlabSyncExportParametersTest.java deleted file mode 100644 index 79c4fe95e4..0000000000 --- a/src/test/java/com/phrase/client/model/GitlabSyncExportParametersTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GitlabSyncExportParameters - */ -public class GitlabSyncExportParametersTest { - private final GitlabSyncExportParameters model = new GitlabSyncExportParameters(); - - /** - * Model tests for GitlabSyncExportParameters - */ - @Test - public void testGitlabSyncExportParameters() { - // TODO: test GitlabSyncExportParameters - } - - /** - * Test the property 'accountId' - */ - @Test - public void accountIdTest() { - // TODO: test accountId - } - -} diff --git a/src/test/java/com/phrase/client/model/GitlabSyncExportTest.java b/src/test/java/com/phrase/client/model/GitlabSyncExportTest.java deleted file mode 100644 index 7adc8d68aa..0000000000 --- a/src/test/java/com/phrase/client/model/GitlabSyncExportTest.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GitlabSyncExport - */ -public class GitlabSyncExportTest { - private final GitlabSyncExport model = new GitlabSyncExport(); - - /** - * Model tests for GitlabSyncExport - */ - @Test - public void testGitlabSyncExport() { - // TODO: test GitlabSyncExport - } - - /** - * Test the property 'mergeRequestId' - */ - @Test - public void mergeRequestIdTest() { - // TODO: test mergeRequestId - } - - /** - * Test the property 'mergeRequestWebUrl' - */ - @Test - public void mergeRequestWebUrlTest() { - // TODO: test mergeRequestWebUrl - } - -} diff --git a/src/test/java/com/phrase/client/model/GitlabSyncHistoryErrorsInnerTest.java b/src/test/java/com/phrase/client/model/GitlabSyncHistoryErrorsInnerTest.java deleted file mode 100644 index c9ca1e599e..0000000000 --- a/src/test/java/com/phrase/client/model/GitlabSyncHistoryErrorsInnerTest.java +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GitlabSyncHistoryErrorsInner - */ -public class GitlabSyncHistoryErrorsInnerTest { - private final GitlabSyncHistoryErrorsInner model = new GitlabSyncHistoryErrorsInner(); - - /** - * Model tests for GitlabSyncHistoryErrorsInner - */ - @Test - public void testGitlabSyncHistoryErrorsInner() { - // TODO: test GitlabSyncHistoryErrorsInner - } - - /** - * Test the property 'error' - */ - @Test - public void errorTest() { - // TODO: test error - } - - /** - * Test the property 'message' - */ - @Test - public void messageTest() { - // TODO: test message - } - -} diff --git a/src/test/java/com/phrase/client/model/GitlabSyncHistoryTest.java b/src/test/java/com/phrase/client/model/GitlabSyncHistoryTest.java deleted file mode 100644 index 6024a32f56..0000000000 --- a/src/test/java/com/phrase/client/model/GitlabSyncHistoryTest.java +++ /dev/null @@ -1,85 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import com.phrase.client.model.GitlabSyncHistoryErrorsInner; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GitlabSyncHistory - */ -public class GitlabSyncHistoryTest { - private final GitlabSyncHistory model = new GitlabSyncHistory(); - - /** - * Model tests for GitlabSyncHistory - */ - @Test - public void testGitlabSyncHistory() { - // TODO: test GitlabSyncHistory - } - - /** - * Test the property 'status' - */ - @Test - public void statusTest() { - // TODO: test status - } - - /** - * Test the property 'action' - */ - @Test - public void actionTest() { - // TODO: test action - } - - /** - * Test the property 'errors' - */ - @Test - public void errorsTest() { - // TODO: test errors - } - - /** - * Test the property 'date' - */ - @Test - public void dateTest() { - // TODO: test date - } - - /** - * Test the property 'details' - */ - @Test - public void detailsTest() { - // TODO: test details - } - -} diff --git a/src/test/java/com/phrase/client/model/GitlabSyncImportParametersTest.java b/src/test/java/com/phrase/client/model/GitlabSyncImportParametersTest.java deleted file mode 100644 index 84ae935c72..0000000000 --- a/src/test/java/com/phrase/client/model/GitlabSyncImportParametersTest.java +++ /dev/null @@ -1,49 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GitlabSyncImportParameters - */ -public class GitlabSyncImportParametersTest { - private final GitlabSyncImportParameters model = new GitlabSyncImportParameters(); - - /** - * Model tests for GitlabSyncImportParameters - */ - @Test - public void testGitlabSyncImportParameters() { - // TODO: test GitlabSyncImportParameters - } - - /** - * Test the property 'accountId' - */ - @Test - public void accountIdTest() { - // TODO: test accountId - } - -} diff --git a/src/test/java/com/phrase/client/model/GitlabSyncTest.java b/src/test/java/com/phrase/client/model/GitlabSyncTest.java deleted file mode 100644 index 1f2060f506..0000000000 --- a/src/test/java/com/phrase/client/model/GitlabSyncTest.java +++ /dev/null @@ -1,130 +0,0 @@ -/* - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - - -package com.phrase.client.model; - -import com.google.gson.TypeAdapter; -import com.google.gson.annotations.JsonAdapter; -import com.google.gson.annotations.SerializedName; -import com.google.gson.stream.JsonReader; -import com.google.gson.stream.JsonWriter; -import java.io.IOException; -import java.time.OffsetDateTime; -import java.util.Arrays; -import org.junit.Assert; -import org.junit.Ignore; -import org.junit.Test; - - -/** - * Model tests for GitlabSync - */ -public class GitlabSyncTest { - private final GitlabSync model = new GitlabSync(); - - /** - * Model tests for GitlabSync - */ - @Test - public void testGitlabSync() { - // TODO: test GitlabSync - } - - /** - * Test the property 'id' - */ - @Test - public void idTest() { - // TODO: test id - } - - /** - * Test the property 'projectId' - */ - @Test - public void projectIdTest() { - // TODO: test projectId - } - - /** - * Test the property 'gitlabProjectId' - */ - @Test - public void gitlabProjectIdTest() { - // TODO: test gitlabProjectId - } - - /** - * Test the property 'gitlabBranchName' - */ - @Test - public void gitlabBranchNameTest() { - // TODO: test gitlabBranchName - } - - /** - * Test the property 'autoImport' - */ - @Test - public void autoImportTest() { - // TODO: test autoImport - } - - /** - * Test the property 'autoImportSecret' - */ - @Test - public void autoImportSecretTest() { - // TODO: test autoImportSecret - } - - /** - * Test the property 'autoImportUrl' - */ - @Test - public void autoImportUrlTest() { - // TODO: test autoImportUrl - } - - /** - * Test the property 'selfHostedApiUrl' - */ - @Test - public void selfHostedApiUrlTest() { - // TODO: test selfHostedApiUrl - } - - /** - * Test the property 'lastExportedAt' - */ - @Test - public void lastExportedAtTest() { - // TODO: test lastExportedAt - } - - /** - * Test the property 'lastImportedAt' - */ - @Test - public void lastImportedAtTest() { - // TODO: test lastImportedAt - } - - /** - * Test the property 'lastStatus' - */ - @Test - public void lastStatusTest() { - // TODO: test lastStatus - } - -}