From 535fad06e0787601d1b54f7f96a1986d72cd999f Mon Sep 17 00:00:00 2001 From: Daniel Steuernol Date: Thu, 10 Sep 2020 08:01:45 -0700 Subject: [PATCH] Generate 2020.08 --- api/openapi.yaml | 70 ++++++++------- docs/CompiledRead.md | 1 + docs/DraftsApi.md | 42 ++++----- docs/LocalizationsApi.md | 6 +- docs/TemplatesApi.md | 12 +-- .../java/io/dyspatch/client/ApiCallback.java | 2 +- .../java/io/dyspatch/client/ApiClient.java | 2 +- .../java/io/dyspatch/client/ApiException.java | 2 +- .../java/io/dyspatch/client/ApiResponse.java | 2 +- .../io/dyspatch/client/Configuration.java | 2 +- .../client/GzipRequestInterceptor.java | 2 +- src/main/java/io/dyspatch/client/JSON.java | 2 +- src/main/java/io/dyspatch/client/Pair.java | 2 +- .../dyspatch/client/ProgressRequestBody.java | 2 +- .../dyspatch/client/ProgressResponseBody.java | 2 +- .../java/io/dyspatch/client/StringUtil.java | 2 +- .../io/dyspatch/client/api/DraftsApi.java | 88 +++++++++---------- .../dyspatch/client/api/LocalizationsApi.java | 12 +-- .../io/dyspatch/client/api/TemplatesApi.java | 22 ++--- .../io/dyspatch/client/auth/ApiKeyAuth.java | 2 +- .../dyspatch/client/auth/Authentication.java | 2 +- .../dyspatch/client/auth/HttpBasicAuth.java | 2 +- .../dyspatch/client/auth/HttpBearerAuth.java | 2 +- .../io/dyspatch/client/model/APIError.java | 2 +- .../dyspatch/client/model/CompiledRead.java | 33 ++++++- .../java/io/dyspatch/client/model/Cursor.java | 2 +- .../dyspatch/client/model/DraftMetaRead.java | 2 +- .../io/dyspatch/client/model/DraftRead.java | 2 +- .../io/dyspatch/client/model/DraftsRead.java | 2 +- .../dyspatch/client/model/InlineObject.java | 2 +- .../client/model/LocalizationKeyRead.java | 2 +- .../client/model/LocalizationMetaRead.java | 2 +- .../client/model/LocalizationRead.java | 2 +- .../client/model/TemplateMetaRead.java | 2 +- .../dyspatch/client/model/TemplateRead.java | 2 +- .../dyspatch/client/model/TemplatesRead.java | 2 +- 36 files changed, 189 insertions(+), 151 deletions(-) diff --git a/api/openapi.yaml b/api/openapi.yaml index a97329f..1cf4f09 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -23,7 +23,7 @@ info: - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) termsOfService: https://www.dyspatch.io/legal/terms-of-service/ title: Dyspatch API - version: "2020.04" + version: "2020.08" x-logo: url: /api/dyspatch_logo.png servers: @@ -61,7 +61,7 @@ paths: type: string style: form - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -72,7 +72,7 @@ paths: responses: "200": content: - application/vnd.dyspatch.2020.04+json: + application/vnd.dyspatch.2020.08+json: schema: $ref: '#/components/schemas/TemplatesRead' description: A list of templates @@ -166,7 +166,7 @@ paths: summary: List Templates tags: - Templates - x-accepts: '*/*,application/vnd.dyspatch.2020.04+json' + x-accepts: '*/*,application/vnd.dyspatch.2020.08+json' /templates/{templateId}: get: description: Gets a template object with the matching ID. If the template has @@ -198,7 +198,7 @@ paths: type: string style: form - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -209,7 +209,7 @@ paths: responses: "200": content: - application/vnd.dyspatch.2020.04+json: + application/vnd.dyspatch.2020.08+json: schema: $ref: '#/components/schemas/TemplateRead' description: A template object with the requested ID. If the template has @@ -317,7 +317,7 @@ paths: summary: Get Template by ID tags: - Templates - x-accepts: '*/*,application/vnd.dyspatch.2020.04+json' + x-accepts: '*/*,application/vnd.dyspatch.2020.08+json' /drafts: get: description: Returns all drafts for your organization. @@ -343,7 +343,7 @@ paths: type: string style: form - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -354,7 +354,7 @@ paths: responses: "200": content: - application/vnd.dyspatch.2020.04+json: + application/vnd.dyspatch.2020.08+json: schema: $ref: '#/components/schemas/DraftsRead' description: Drafts @@ -461,7 +461,7 @@ paths: summary: List Drafts tags: - Drafts - x-accepts: '*/*,application/vnd.dyspatch.2020.04+json' + x-accepts: '*/*,application/vnd.dyspatch.2020.08+json' /drafts/{draftId}/publishRequest: post: description: Moves the draft into submitted state. @@ -476,7 +476,7 @@ paths: type: string style: simple - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -615,7 +615,7 @@ paths: type: string style: form - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -626,7 +626,7 @@ paths: responses: "200": content: - application/vnd.dyspatch.2020.04+json: + application/vnd.dyspatch.2020.08+json: schema: $ref: '#/components/schemas/DraftRead' description: A draft object with the requested ID. @@ -733,7 +733,7 @@ paths: summary: Get Draft by ID tags: - Drafts - x-accepts: '*/*,application/vnd.dyspatch.2020.04+json' + x-accepts: '*/*,application/vnd.dyspatch.2020.08+json' /drafts/{draftId}/localizations: get: description: Returns localization metadata for the draft @@ -748,7 +748,7 @@ paths: type: string style: simple - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -759,7 +759,7 @@ paths: responses: "200": content: - application/vnd.dyspatch.2020.04+json: + application/vnd.dyspatch.2020.08+json: schema: items: $ref: '#/components/schemas/LocalizationMetaRead' @@ -777,7 +777,7 @@ paths: summary: Get localizations on a draft tags: - Drafts - x-accepts: application/vnd.dyspatch.2020.04+json + x-accepts: application/vnd.dyspatch.2020.08+json /drafts/{draftId}/localizations/{languageId}: delete: description: Deletes the localization with the given language ID if it exists @@ -800,7 +800,7 @@ paths: type: string style: simple - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -839,7 +839,7 @@ paths: type: string style: simple - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -896,7 +896,7 @@ paths: type: string style: simple - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -941,8 +941,8 @@ paths: /drafts/{draftId}/localizationKeys: get: description: Returns the list of values that need to be translated for the draft. - Set the `Accept` header to `application/vnd.dyspatch.2020.04+json` to get - a JSON object, or `text/vnd.dyspatch.2020.04+x-gettext-translation` to get + Set the `Accept` header to `application/vnd.dyspatch.2020.08+json` to get + a JSON object, or `text/vnd.dyspatch.2020.08+x-gettext-translation` to get the POT file. operationId: getDraftLocalizationKeys parameters: @@ -955,7 +955,7 @@ paths: type: string style: simple - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -966,12 +966,12 @@ paths: responses: "200": content: - application/vnd.dyspatch.2020.04+json: + application/vnd.dyspatch.2020.08+json: schema: items: $ref: '#/components/schemas/LocalizationKeyRead' type: array - text/vnd.dyspatch.2020.04+x-gettext-translation: + text/vnd.dyspatch.2020.08+x-gettext-translation: schema: format: binary type: string @@ -981,7 +981,7 @@ paths: summary: Get localization keys tags: - Drafts - x-accepts: application/vnd.dyspatch.2020.04+json,text/vnd.dyspatch.2020.04+x-gettext-translation + x-accepts: application/vnd.dyspatch.2020.08+json,text/vnd.dyspatch.2020.08+x-gettext-translation /localizations/{localizationId}: get: description: Returns a specific localization object with a matching ID @@ -1012,7 +1012,7 @@ paths: type: string style: form - description: A version of the API that should be used for the request. For - example, to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + example, to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -1023,7 +1023,7 @@ paths: responses: "200": content: - application/vnd.dyspatch.2020.04+json: + application/vnd.dyspatch.2020.08+json: schema: $ref: '#/components/schemas/LocalizationRead' description: A localization object with the requested ID @@ -1130,12 +1130,12 @@ paths: summary: Get Localization Object by ID tags: - Localizations - x-accepts: '*/*,application/vnd.dyspatch.2020.04+json' + x-accepts: '*/*,application/vnd.dyspatch.2020.08+json' components: parameters: version: description: A version of the API that should be used for the request. For example, - to use version "2020.04", set the value to "application/vnd.dyspatch.2020.04+json" + to use version "2020.08", set the value to "application/vnd.dyspatch.2020.08+json" explode: false in: header name: Accept @@ -1491,6 +1491,7 @@ components: compiled: sender: Example subject: subject + ampHtml: ampHtml replyTo: Example html: html text: text @@ -1553,6 +1554,7 @@ components: compiled: sender: Example subject: subject + ampHtml: ampHtml replyTo: Example html: html text: text @@ -1651,6 +1653,7 @@ components: compiled: sender: Example subject: subject + ampHtml: ampHtml replyTo: Example html: html text: text @@ -1808,6 +1811,7 @@ components: example: sender: Example subject: subject + ampHtml: ampHtml replyTo: Example html: html text: text @@ -1828,6 +1832,10 @@ components: description: Base64 encoded template HTML body format: byte type: string + ampHtml: + description: Base64 encoded amp version of template body + format: byte + type: string text: description: Base64 encoded template text body format: byte @@ -1855,7 +1863,7 @@ components: curl --request GET \ --url https://api.dyspatch.io/templates \ --header 'Authorization: Bearer EXAMPLEAPIKEYXXXXXXXX12345678' \ - --header 'Accept: application/vnd.dyspatch.2020.04+json' + --header 'Accept: application/vnd.dyspatch.2020.08+json' ``` in: header name: Authorization diff --git a/docs/CompiledRead.md b/docs/CompiledRead.md index 550be1a..d5d1d8c 100644 --- a/docs/CompiledRead.md +++ b/docs/CompiledRead.md @@ -11,6 +11,7 @@ Name | Type | Description | Notes **replyTo** | **String** | Reply-To address | [optional] **subject** | **byte[]** | Base64 encoded template subject line | [optional] **html** | **byte[]** | Base64 encoded template HTML body | [optional] +**ampHtml** | **byte[]** | Base64 encoded amp version of template body | [optional] **text** | **byte[]** | Base64 encoded template text body | [optional] diff --git a/docs/DraftsApi.md b/docs/DraftsApi.md index 382dbed..8a2596f 100644 --- a/docs/DraftsApi.md +++ b/docs/DraftsApi.md @@ -46,7 +46,7 @@ public class Example { DraftsApi apiInstance = new DraftsApi(defaultClient); String draftId = "draftId_example"; // String | A draft ID String languageId = "languageId_example"; // String | A language ID (eg: en-US) - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" try { apiInstance.deleteLocalization(draftId, languageId, accept); } catch (ApiException e) { @@ -66,7 +66,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **draftId** | **String**| A draft ID | **languageId** | **String**| A language ID (eg: en-US) | - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | ### Return type @@ -118,7 +118,7 @@ public class Example { DraftsApi apiInstance = new DraftsApi(defaultClient); String draftId = "draftId_example"; // String | A draft ID String targetLanguage = "targetLanguage_example"; // String | The type of templating language to compile as. Should only be used for visual templates. - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" try { DraftRead result = apiInstance.getDraftById(draftId, targetLanguage, accept); System.out.println(result); @@ -139,7 +139,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **draftId** | **String**| A draft ID | **targetLanguage** | **String**| The type of templating language to compile as. Should only be used for visual templates. | [enum: html, handlebars, ampscript, freemarker, cheetah, jinja] - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | ### Return type @@ -152,7 +152,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.dyspatch.2020.04+json, */* + - **Accept**: application/vnd.dyspatch.2020.08+json, */* ### HTTP response details | Status code | Description | Response headers | @@ -172,7 +172,7 @@ Name | Type | Description | Notes Get localization keys -Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.04+json` to get a JSON object, or `text/vnd.dyspatch.2020.04+x-gettext-translation` to get the POT file. +Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.08+json` to get a JSON object, or `text/vnd.dyspatch.2020.08+x-gettext-translation` to get the POT file. ### Example ```java @@ -197,7 +197,7 @@ public class Example { DraftsApi apiInstance = new DraftsApi(defaultClient); String draftId = "draftId_example"; // String | A draft ID - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" try { List result = apiInstance.getDraftLocalizationKeys(draftId, accept); System.out.println(result); @@ -217,7 +217,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **draftId** | **String**| A draft ID | - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | ### Return type @@ -230,7 +230,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.dyspatch.2020.04+json, text/vnd.dyspatch.2020.04+x-gettext-translation + - **Accept**: application/vnd.dyspatch.2020.08+json, text/vnd.dyspatch.2020.08+x-gettext-translation ### HTTP response details | Status code | Description | Response headers | @@ -267,7 +267,7 @@ public class Example { //Bearer.setApiKeyPrefix("Token"); DraftsApi apiInstance = new DraftsApi(defaultClient); - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" String cursor = "cursor_example"; // String | A cursor value used to retrieve a specific page from a paginated result set. String status = "status_example"; // String | Filter the list of drafts by a particular status try { @@ -288,7 +288,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | **cursor** | **String**| A cursor value used to retrieve a specific page from a paginated result set. | [optional] **status** | **String**| Filter the list of drafts by a particular status | [optional] [enum: awaitingTranslation] @@ -303,7 +303,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.dyspatch.2020.04+json, */* + - **Accept**: application/vnd.dyspatch.2020.08+json, */* ### HTTP response details | Status code | Description | Response headers | @@ -348,7 +348,7 @@ public class Example { DraftsApi apiInstance = new DraftsApi(defaultClient); String draftId = "draftId_example"; // String | A draft ID - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" try { List result = apiInstance.getLocalizationForDraft(draftId, accept); System.out.println(result); @@ -368,7 +368,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **draftId** | **String**| A draft ID | - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | ### Return type @@ -381,7 +381,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.dyspatch.2020.04+json + - **Accept**: application/vnd.dyspatch.2020.08+json ### HTTP response details | Status code | Description | Response headers | @@ -420,7 +420,7 @@ public class Example { DraftsApi apiInstance = new DraftsApi(defaultClient); String draftId = "draftId_example"; // String | A draft ID String languageId = "languageId_example"; // String | A language ID (eg: en-US) - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" InlineObject inlineObject = new InlineObject(); // InlineObject | try { apiInstance.saveLocalization(draftId, languageId, accept, inlineObject); @@ -441,7 +441,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **draftId** | **String**| A draft ID | **languageId** | **String**| A language ID (eg: en-US) | - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | **inlineObject** | [**InlineObject**](InlineObject.md)| | ### Return type @@ -494,7 +494,7 @@ public class Example { DraftsApi apiInstance = new DraftsApi(defaultClient); String draftId = "draftId_example"; // String | A draft ID String languageId = "languageId_example"; // String | A language ID (eg: en-US) - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" Map requestBody = new HashMap(); // Map | try { apiInstance.setTranslation(draftId, languageId, accept, requestBody); @@ -515,7 +515,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **draftId** | **String**| A draft ID | **languageId** | **String**| A language ID (eg: en-US) | - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | **requestBody** | [**Map<String, String>**](String.md)| | ### Return type @@ -568,7 +568,7 @@ public class Example { DraftsApi apiInstance = new DraftsApi(defaultClient); String draftId = "draftId_example"; // String | A draft ID - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" try { apiInstance.submitDraftForApproval(draftId, accept); } catch (ApiException e) { @@ -587,7 +587,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **draftId** | **String**| A draft ID | - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | ### Return type diff --git a/docs/LocalizationsApi.md b/docs/LocalizationsApi.md index 71b4bd6..30fadb7 100644 --- a/docs/LocalizationsApi.md +++ b/docs/LocalizationsApi.md @@ -39,7 +39,7 @@ public class Example { LocalizationsApi apiInstance = new LocalizationsApi(defaultClient); String localizationId = "localizationId_example"; // String | A localization ID String targetLanguage = "targetLanguage_example"; // String | The type of templating language to compile as. Should only be used for visual templates. - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" try { LocalizationRead result = apiInstance.getLocalizationById(localizationId, targetLanguage, accept); System.out.println(result); @@ -60,7 +60,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **localizationId** | **String**| A localization ID | **targetLanguage** | **String**| The type of templating language to compile as. Should only be used for visual templates. | [enum: html, handlebars, ampscript, freemarker, cheetah, jinja] - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | ### Return type @@ -73,7 +73,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.dyspatch.2020.04+json, */* + - **Accept**: application/vnd.dyspatch.2020.08+json, */* ### HTTP response details | Status code | Description | Response headers | diff --git a/docs/TemplatesApi.md b/docs/TemplatesApi.md index c799ce1..a6e25ff 100644 --- a/docs/TemplatesApi.md +++ b/docs/TemplatesApi.md @@ -40,7 +40,7 @@ public class Example { TemplatesApi apiInstance = new TemplatesApi(defaultClient); String templateId = "templateId_example"; // String | A template ID String targetLanguage = "targetLanguage_example"; // String | The type of templating language to compile as. Should only be used for visual templates. - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" try { TemplateRead result = apiInstance.getTemplateById(templateId, targetLanguage, accept); System.out.println(result); @@ -61,7 +61,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **templateId** | **String**| A template ID | **targetLanguage** | **String**| The type of templating language to compile as. Should only be used for visual templates. | [enum: html, handlebars, ampscript, freemarker, cheetah, jinja] - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | ### Return type @@ -74,7 +74,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.dyspatch.2020.04+json, */* + - **Accept**: application/vnd.dyspatch.2020.08+json, */* ### HTTP response details | Status code | Description | Response headers | @@ -118,7 +118,7 @@ public class Example { //Bearer.setApiKeyPrefix("Token"); TemplatesApi apiInstance = new TemplatesApi(defaultClient); - String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" + String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" String cursor = "cursor_example"; // String | A cursor value used to retrieve a specific page from a paginated result set. try { TemplatesRead result = apiInstance.getTemplates(accept, cursor); @@ -138,7 +138,7 @@ public class Example { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" | + **accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" | **cursor** | **String**| A cursor value used to retrieve a specific page from a paginated result set. | [optional] ### Return type @@ -152,7 +152,7 @@ Name | Type | Description | Notes ### HTTP request headers - **Content-Type**: Not defined - - **Accept**: application/vnd.dyspatch.2020.04+json, */* + - **Accept**: application/vnd.dyspatch.2020.08+json, */* ### HTTP response details | Status code | Description | Response headers | diff --git a/src/main/java/io/dyspatch/client/ApiCallback.java b/src/main/java/io/dyspatch/client/ApiCallback.java index 08fe34b..b620a46 100644 --- a/src/main/java/io/dyspatch/client/ApiCallback.java +++ b/src/main/java/io/dyspatch/client/ApiCallback.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/ApiClient.java b/src/main/java/io/dyspatch/client/ApiClient.java index 13b9035..cd7ef9e 100644 --- a/src/main/java/io/dyspatch/client/ApiClient.java +++ b/src/main/java/io/dyspatch/client/ApiClient.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/ApiException.java b/src/main/java/io/dyspatch/client/ApiException.java index 9ec9c7c..f3d3ac6 100644 --- a/src/main/java/io/dyspatch/client/ApiException.java +++ b/src/main/java/io/dyspatch/client/ApiException.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/ApiResponse.java b/src/main/java/io/dyspatch/client/ApiResponse.java index b0e5bd7..b0605d2 100644 --- a/src/main/java/io/dyspatch/client/ApiResponse.java +++ b/src/main/java/io/dyspatch/client/ApiResponse.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/Configuration.java b/src/main/java/io/dyspatch/client/Configuration.java index a28d4a5..32ddf35 100644 --- a/src/main/java/io/dyspatch/client/Configuration.java +++ b/src/main/java/io/dyspatch/client/Configuration.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/GzipRequestInterceptor.java b/src/main/java/io/dyspatch/client/GzipRequestInterceptor.java index ce8d8c9..6e57fe7 100644 --- a/src/main/java/io/dyspatch/client/GzipRequestInterceptor.java +++ b/src/main/java/io/dyspatch/client/GzipRequestInterceptor.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/JSON.java b/src/main/java/io/dyspatch/client/JSON.java index 7eb5c80..f02796b 100644 --- a/src/main/java/io/dyspatch/client/JSON.java +++ b/src/main/java/io/dyspatch/client/JSON.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/Pair.java b/src/main/java/io/dyspatch/client/Pair.java index 55e73ec..a295f3d 100644 --- a/src/main/java/io/dyspatch/client/Pair.java +++ b/src/main/java/io/dyspatch/client/Pair.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/ProgressRequestBody.java b/src/main/java/io/dyspatch/client/ProgressRequestBody.java index ea62267..dc74c05 100644 --- a/src/main/java/io/dyspatch/client/ProgressRequestBody.java +++ b/src/main/java/io/dyspatch/client/ProgressRequestBody.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/ProgressResponseBody.java b/src/main/java/io/dyspatch/client/ProgressResponseBody.java index 88663d7..5e4b48f 100644 --- a/src/main/java/io/dyspatch/client/ProgressResponseBody.java +++ b/src/main/java/io/dyspatch/client/ProgressResponseBody.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/StringUtil.java b/src/main/java/io/dyspatch/client/StringUtil.java index b4985a3..5bc669b 100644 --- a/src/main/java/io/dyspatch/client/StringUtil.java +++ b/src/main/java/io/dyspatch/client/StringUtil.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/api/DraftsApi.java b/src/main/java/io/dyspatch/client/api/DraftsApi.java index fe243e6..8477ef6 100644 --- a/src/main/java/io/dyspatch/client/api/DraftsApi.java +++ b/src/main/java/io/dyspatch/client/api/DraftsApi.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -63,7 +63,7 @@ public void setApiClient(ApiClient apiClient) { * Build call for deleteLocalization * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -91,7 +91,7 @@ public okhttp3.Call deleteLocalizationCall(String draftId, String languageId, St Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -137,7 +137,7 @@ private okhttp3.Call deleteLocalizationValidateBeforeCall(String draftId, String * Deletes the localization with the given language ID if it exists * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -154,7 +154,7 @@ public void deleteLocalization(String draftId, String languageId, String accept) * Deletes the localization with the given language ID if it exists * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -173,7 +173,7 @@ public ApiResponse deleteLocalizationWithHttpInfo(String draftId, String l * Deletes the localization with the given language ID if it exists * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @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 @@ -193,7 +193,7 @@ public okhttp3.Call deleteLocalizationAsync(String draftId, String languageId, S * Build call for getDraftById * @param draftId A draft ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -231,7 +231,7 @@ public okhttp3.Call getDraftByIdCall(String draftId, String targetLanguage, Stri Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -277,7 +277,7 @@ private okhttp3.Call getDraftByIdValidateBeforeCall(String draftId, String targe * Gets a draft object with the matching ID. The \"compiled\" field will contain the template in the default, unlocalized form. * @param draftId A draft ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return DraftRead * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -303,7 +303,7 @@ public DraftRead getDraftById(String draftId, String targetLanguage, String acce * Gets a draft object with the matching ID. The \"compiled\" field will contain the template in the default, unlocalized form. * @param draftId A draft ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return ApiResponse<DraftRead> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -330,7 +330,7 @@ public ApiResponse getDraftByIdWithHttpInfo(String draftId, String ta * Gets a draft object with the matching ID. The \"compiled\" field will contain the template in the default, unlocalized form. * @param draftId A draft ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @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 @@ -357,7 +357,7 @@ public okhttp3.Call getDraftByIdAsync(String draftId, String targetLanguage, Str /** * Build call for getDraftLocalizationKeys * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -384,7 +384,7 @@ public okhttp3.Call getDraftLocalizationKeysCall(String draftId, String accept, Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -422,9 +422,9 @@ private okhttp3.Call getDraftLocalizationKeysValidateBeforeCall(String draftId, /** * Get localization keys - * Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.04+json` to get a JSON object, or `text/vnd.dyspatch.2020.04+x-gettext-translation` to get the POT file. + * Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.08+json` to get a JSON object, or `text/vnd.dyspatch.2020.08+x-gettext-translation` to get the POT file. * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return List<LocalizationKeyRead> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -440,9 +440,9 @@ public List getDraftLocalizationKeys(String draftId, String /** * Get localization keys - * Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.04+json` to get a JSON object, or `text/vnd.dyspatch.2020.04+x-gettext-translation` to get the POT file. + * Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.08+json` to get a JSON object, or `text/vnd.dyspatch.2020.08+x-gettext-translation` to get the POT file. * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return ApiResponse<List<LocalizationKeyRead>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -459,9 +459,9 @@ public ApiResponse> getDraftLocalizationKeysWithHttpIn /** * Get localization keys (asynchronously) - * Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.04+json` to get a JSON object, or `text/vnd.dyspatch.2020.04+x-gettext-translation` to get the POT file. + * Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.08+json` to get a JSON object, or `text/vnd.dyspatch.2020.08+x-gettext-translation` to get the POT file. * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @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 @@ -480,7 +480,7 @@ public okhttp3.Call getDraftLocalizationKeysAsync(String draftId, String accept, } /** * Build call for getDrafts - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param cursor A cursor value used to retrieve a specific page from a paginated result set. (optional) * @param status Filter the list of drafts by a particular status (optional) * @param _callback Callback for upload/download progress @@ -523,7 +523,7 @@ public okhttp3.Call getDraftsCall(String accept, String cursor, String status, f Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -557,7 +557,7 @@ private okhttp3.Call getDraftsValidateBeforeCall(String accept, String cursor, S /** * List Drafts * Returns all drafts for your organization. - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param cursor A cursor value used to retrieve a specific page from a paginated result set. (optional) * @param status Filter the list of drafts by a particular status (optional) * @return DraftsRead @@ -583,7 +583,7 @@ public DraftsRead getDrafts(String accept, String cursor, String status) throws /** * List Drafts * Returns all drafts for your organization. - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param cursor A cursor value used to retrieve a specific page from a paginated result set. (optional) * @param status Filter the list of drafts by a particular status (optional) * @return ApiResponse<DraftsRead> @@ -610,7 +610,7 @@ public ApiResponse getDraftsWithHttpInfo(String accept, String curso /** * List Drafts (asynchronously) * Returns all drafts for your organization. - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param cursor A cursor value used to retrieve a specific page from a paginated result set. (optional) * @param status Filter the list of drafts by a particular status (optional) * @param _callback The callback to be executed when the API call finishes @@ -639,7 +639,7 @@ public okhttp3.Call getDraftsAsync(String accept, String cursor, String status, /** * Build call for getLocalizationForDraft * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -666,7 +666,7 @@ public okhttp3.Call getLocalizationForDraftCall(String draftId, String accept, f Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -706,7 +706,7 @@ private okhttp3.Call getLocalizationForDraftValidateBeforeCall(String draftId, S * Get localizations on a draft * Returns localization metadata for the draft * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return List<LocalizationMetaRead> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -724,7 +724,7 @@ public List getLocalizationForDraft(String draftId, String * Get localizations on a draft * Returns localization metadata for the draft * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return ApiResponse<List<LocalizationMetaRead>> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -743,7 +743,7 @@ public ApiResponse> getLocalizationForDraftWithHttpIn * Get localizations on a draft (asynchronously) * Returns localization metadata for the draft * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @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 @@ -764,7 +764,7 @@ public okhttp3.Call getLocalizationForDraftAsync(String draftId, String accept, * Build call for saveLocalization * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param inlineObject (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -793,7 +793,7 @@ public okhttp3.Call saveLocalizationCall(String draftId, String languageId, Stri Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -844,7 +844,7 @@ private okhttp3.Call saveLocalizationValidateBeforeCall(String draftId, String l * Inserts a localization or sets the name on an existing localization that already uses the languageId * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param inlineObject (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -862,7 +862,7 @@ public void saveLocalization(String draftId, String languageId, String accept, I * Inserts a localization or sets the name on an existing localization that already uses the languageId * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param inlineObject (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -882,7 +882,7 @@ public ApiResponse saveLocalizationWithHttpInfo(String draftId, String lan * Inserts a localization or sets the name on an existing localization that already uses the languageId * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param inlineObject (required) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -903,7 +903,7 @@ public okhttp3.Call saveLocalizationAsync(String draftId, String languageId, Str * Build call for setTranslation * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param requestBody (required) * @param _callback Callback for upload/download progress * @return Call to execute @@ -933,7 +933,7 @@ public okhttp3.Call setTranslationCall(String draftId, String languageId, String Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -984,7 +984,7 @@ private okhttp3.Call setTranslationValidateBeforeCall(String draftId, String lan * Completely replaces any existing translations for the given language with those provided in request body. Variables embedded in keys or values are expected to be in the format `%(my_variable)s` and will automatically convert to the correct Dyspatch format depending on the type of template. Accepts key/value pairs in JSON format or in gettext PO file format. For JSON set `Content-Type` header to `application/json`. For gettext PO format set `Content-Type` header to `text/x-gettext-translation`. * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param requestBody (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1003,7 +1003,7 @@ public void setTranslation(String draftId, String languageId, String accept, Map * Completely replaces any existing translations for the given language with those provided in request body. Variables embedded in keys or values are expected to be in the format `%(my_variable)s` and will automatically convert to the correct Dyspatch format depending on the type of template. Accepts key/value pairs in JSON format or in gettext PO file format. For JSON set `Content-Type` header to `application/json`. For gettext PO format set `Content-Type` header to `text/x-gettext-translation`. * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param requestBody (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -1024,7 +1024,7 @@ public ApiResponse setTranslationWithHttpInfo(String draftId, String langu * Completely replaces any existing translations for the given language with those provided in request body. Variables embedded in keys or values are expected to be in the format `%(my_variable)s` and will automatically convert to the correct Dyspatch format depending on the type of template. Accepts key/value pairs in JSON format or in gettext PO file format. For JSON set `Content-Type` header to `application/json`. For gettext PO format set `Content-Type` header to `text/x-gettext-translation`. * @param draftId A draft ID (required) * @param languageId A language ID (eg: en-US) (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param requestBody (required) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -1045,7 +1045,7 @@ public okhttp3.Call setTranslationAsync(String draftId, String languageId, Strin /** * Build call for submitDraftForApproval * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1079,7 +1079,7 @@ public okhttp3.Call submitDraftForApprovalCall(String draftId, String accept, fi Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -1119,7 +1119,7 @@ private okhttp3.Call submitDraftForApprovalValidateBeforeCall(String draftId, St * Submit the draft for approval * Moves the draft into submitted state. * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details
@@ -1142,7 +1142,7 @@ public void submitDraftForApproval(String draftId, String accept) throws ApiExce * Submit the draft for approval * Moves the draft into submitted state. * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return ApiResponse<Void> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1167,7 +1167,7 @@ public ApiResponse submitDraftForApprovalWithHttpInfo(String draftId, Stri * Submit the draft for approval (asynchronously) * Moves the draft into submitted state. * @param draftId A draft ID (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @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 diff --git a/src/main/java/io/dyspatch/client/api/LocalizationsApi.java b/src/main/java/io/dyspatch/client/api/LocalizationsApi.java index 723aac4..53f2f36 100644 --- a/src/main/java/io/dyspatch/client/api/LocalizationsApi.java +++ b/src/main/java/io/dyspatch/client/api/LocalizationsApi.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -59,7 +59,7 @@ public void setApiClient(ApiClient apiClient) { * Build call for getLocalizationById * @param localizationId A localization ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -97,7 +97,7 @@ public okhttp3.Call getLocalizationByIdCall(String localizationId, String target Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -143,7 +143,7 @@ private okhttp3.Call getLocalizationByIdValidateBeforeCall(String localizationId * Returns a specific localization object with a matching ID * @param localizationId A localization ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return LocalizationRead * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -169,7 +169,7 @@ public LocalizationRead getLocalizationById(String localizationId, String target * Returns a specific localization object with a matching ID * @param localizationId A localization ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return ApiResponse<LocalizationRead> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -196,7 +196,7 @@ public ApiResponse getLocalizationByIdWithHttpInfo(String loca * Returns a specific localization object with a matching ID * @param localizationId A localization ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @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 diff --git a/src/main/java/io/dyspatch/client/api/TemplatesApi.java b/src/main/java/io/dyspatch/client/api/TemplatesApi.java index 0560897..10e6e3d 100644 --- a/src/main/java/io/dyspatch/client/api/TemplatesApi.java +++ b/src/main/java/io/dyspatch/client/api/TemplatesApi.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -60,7 +60,7 @@ public void setApiClient(ApiClient apiClient) { * Build call for getTemplateById * @param templateId A template ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -98,7 +98,7 @@ public okhttp3.Call getTemplateByIdCall(String templateId, String targetLanguage Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -144,7 +144,7 @@ private okhttp3.Call getTemplateByIdValidateBeforeCall(String templateId, String * Gets a template object with the matching ID. If the template has published content the \"compiled\" field will contain the template . * @param templateId A template ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return TemplateRead * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -170,7 +170,7 @@ public TemplateRead getTemplateById(String templateId, String targetLanguage, St * Gets a template object with the matching ID. If the template has published content the \"compiled\" field will contain the template . * @param templateId A template ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @return ApiResponse<TemplateRead> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -197,7 +197,7 @@ public ApiResponse getTemplateByIdWithHttpInfo(String templateId, * Gets a template object with the matching ID. If the template has published content the \"compiled\" field will contain the template . * @param templateId A template ID (required) * @param targetLanguage The type of templating language to compile as. Should only be used for visual templates. (required) - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @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 @@ -223,7 +223,7 @@ public okhttp3.Call getTemplateByIdAsync(String templateId, String targetLanguag } /** * Build call for getTemplates - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param cursor A cursor value used to retrieve a specific page from a paginated result set. (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -260,7 +260,7 @@ public okhttp3.Call getTemplatesCall(String accept, String cursor, final ApiCall Map localVarCookieParams = new HashMap(); Map localVarFormParams = new HashMap(); final String[] localVarAccepts = { - "application/vnd.dyspatch.2020.04+json", "*/*" + "application/vnd.dyspatch.2020.08+json", "*/*" }; final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts); if (localVarAccept != null) { @@ -294,7 +294,7 @@ private okhttp3.Call getTemplatesValidateBeforeCall(String accept, String cursor /** * List Templates * Gets a list of Template Metadata objects for all templates. Up to 25 results returned before results are paginated. - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param cursor A cursor value used to retrieve a specific page from a paginated result set. (optional) * @return TemplatesRead * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -318,7 +318,7 @@ public TemplatesRead getTemplates(String accept, String cursor) throws ApiExcept /** * List Templates * Gets a list of Template Metadata objects for all templates. Up to 25 results returned before results are paginated. - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param cursor A cursor value used to retrieve a specific page from a paginated result set. (optional) * @return ApiResponse<TemplatesRead> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -343,7 +343,7 @@ public ApiResponse getTemplatesWithHttpInfo(String accept, String /** * List Templates (asynchronously) * Gets a list of Template Metadata objects for all templates. Up to 25 results returned before results are paginated. - * @param accept A version of the API that should be used for the request. For example, to use version \"2020.04\", set the value to \"application/vnd.dyspatch.2020.04+json\" (required) + * @param accept A version of the API that should be used for the request. For example, to use version \"2020.08\", set the value to \"application/vnd.dyspatch.2020.08+json\" (required) * @param cursor A cursor value used to retrieve a specific page from a paginated result set. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call diff --git a/src/main/java/io/dyspatch/client/auth/ApiKeyAuth.java b/src/main/java/io/dyspatch/client/auth/ApiKeyAuth.java index 403599f..d44270a 100644 --- a/src/main/java/io/dyspatch/client/auth/ApiKeyAuth.java +++ b/src/main/java/io/dyspatch/client/auth/ApiKeyAuth.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/auth/Authentication.java b/src/main/java/io/dyspatch/client/auth/Authentication.java index b4f6b06..32b7a6b 100644 --- a/src/main/java/io/dyspatch/client/auth/Authentication.java +++ b/src/main/java/io/dyspatch/client/auth/Authentication.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/auth/HttpBasicAuth.java b/src/main/java/io/dyspatch/client/auth/HttpBasicAuth.java index dfdaf5f..0977775 100644 --- a/src/main/java/io/dyspatch/client/auth/HttpBasicAuth.java +++ b/src/main/java/io/dyspatch/client/auth/HttpBasicAuth.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/auth/HttpBearerAuth.java b/src/main/java/io/dyspatch/client/auth/HttpBearerAuth.java index e0510a6..133b3bb 100644 --- a/src/main/java/io/dyspatch/client/auth/HttpBearerAuth.java +++ b/src/main/java/io/dyspatch/client/auth/HttpBearerAuth.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/APIError.java b/src/main/java/io/dyspatch/client/model/APIError.java index cf5a83a..157ed2b 100644 --- a/src/main/java/io/dyspatch/client/model/APIError.java +++ b/src/main/java/io/dyspatch/client/model/APIError.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/CompiledRead.java b/src/main/java/io/dyspatch/client/model/CompiledRead.java index d362077..c70038d 100644 --- a/src/main/java/io/dyspatch/client/model/CompiledRead.java +++ b/src/main/java/io/dyspatch/client/model/CompiledRead.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -46,6 +46,10 @@ public class CompiledRead { @SerializedName(SERIALIZED_NAME_HTML) private byte[] html; + public static final String SERIALIZED_NAME_AMP_HTML = "ampHtml"; + @SerializedName(SERIALIZED_NAME_AMP_HTML) + private byte[] ampHtml; + public static final String SERIALIZED_NAME_TEXT = "text"; @SerializedName(SERIALIZED_NAME_TEXT) private byte[] text; @@ -143,6 +147,29 @@ public void setHtml(byte[] html) { } + public CompiledRead ampHtml(byte[] ampHtml) { + + this.ampHtml = ampHtml; + return this; + } + + /** + * Base64 encoded amp version of template body + * @return ampHtml + **/ + @javax.annotation.Nullable + @ApiModelProperty(value = "Base64 encoded amp version of template body") + + public byte[] getAmpHtml() { + return ampHtml; + } + + + public void setAmpHtml(byte[] ampHtml) { + this.ampHtml = ampHtml; + } + + public CompiledRead text(byte[] text) { this.text = text; @@ -179,12 +206,13 @@ public boolean equals(java.lang.Object o) { Objects.equals(this.replyTo, compiledRead.replyTo) && Arrays.equals(this.subject, compiledRead.subject) && Arrays.equals(this.html, compiledRead.html) && + Arrays.equals(this.ampHtml, compiledRead.ampHtml) && Arrays.equals(this.text, compiledRead.text); } @Override public int hashCode() { - return Objects.hash(sender, replyTo, Arrays.hashCode(subject), Arrays.hashCode(html), Arrays.hashCode(text)); + return Objects.hash(sender, replyTo, Arrays.hashCode(subject), Arrays.hashCode(html), Arrays.hashCode(ampHtml), Arrays.hashCode(text)); } @@ -196,6 +224,7 @@ public String toString() { sb.append(" replyTo: ").append(toIndentedString(replyTo)).append("\n"); sb.append(" subject: ").append(toIndentedString(subject)).append("\n"); sb.append(" html: ").append(toIndentedString(html)).append("\n"); + sb.append(" ampHtml: ").append(toIndentedString(ampHtml)).append("\n"); sb.append(" text: ").append(toIndentedString(text)).append("\n"); sb.append("}"); return sb.toString(); diff --git a/src/main/java/io/dyspatch/client/model/Cursor.java b/src/main/java/io/dyspatch/client/model/Cursor.java index b4776c4..d905b3b 100644 --- a/src/main/java/io/dyspatch/client/model/Cursor.java +++ b/src/main/java/io/dyspatch/client/model/Cursor.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/DraftMetaRead.java b/src/main/java/io/dyspatch/client/model/DraftMetaRead.java index a4d6bb7..9240f0d 100644 --- a/src/main/java/io/dyspatch/client/model/DraftMetaRead.java +++ b/src/main/java/io/dyspatch/client/model/DraftMetaRead.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/DraftRead.java b/src/main/java/io/dyspatch/client/model/DraftRead.java index 15efc16..a235938 100644 --- a/src/main/java/io/dyspatch/client/model/DraftRead.java +++ b/src/main/java/io/dyspatch/client/model/DraftRead.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/DraftsRead.java b/src/main/java/io/dyspatch/client/model/DraftsRead.java index d6c6de2..5de2526 100644 --- a/src/main/java/io/dyspatch/client/model/DraftsRead.java +++ b/src/main/java/io/dyspatch/client/model/DraftsRead.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/InlineObject.java b/src/main/java/io/dyspatch/client/model/InlineObject.java index 0ca58bd..826afc6 100644 --- a/src/main/java/io/dyspatch/client/model/InlineObject.java +++ b/src/main/java/io/dyspatch/client/model/InlineObject.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/LocalizationKeyRead.java b/src/main/java/io/dyspatch/client/model/LocalizationKeyRead.java index 6dba3d5..735a743 100644 --- a/src/main/java/io/dyspatch/client/model/LocalizationKeyRead.java +++ b/src/main/java/io/dyspatch/client/model/LocalizationKeyRead.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/LocalizationMetaRead.java b/src/main/java/io/dyspatch/client/model/LocalizationMetaRead.java index e853835..e4c9402 100644 --- a/src/main/java/io/dyspatch/client/model/LocalizationMetaRead.java +++ b/src/main/java/io/dyspatch/client/model/LocalizationMetaRead.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/LocalizationRead.java b/src/main/java/io/dyspatch/client/model/LocalizationRead.java index 6064c0c..ca1fb9a 100644 --- a/src/main/java/io/dyspatch/client/model/LocalizationRead.java +++ b/src/main/java/io/dyspatch/client/model/LocalizationRead.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/TemplateMetaRead.java b/src/main/java/io/dyspatch/client/model/TemplateMetaRead.java index 8189a50..1d4035c 100644 --- a/src/main/java/io/dyspatch/client/model/TemplateMetaRead.java +++ b/src/main/java/io/dyspatch/client/model/TemplateMetaRead.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/TemplateRead.java b/src/main/java/io/dyspatch/client/model/TemplateRead.java index e12b66a..e5adbbb 100644 --- a/src/main/java/io/dyspatch/client/model/TemplateRead.java +++ b/src/main/java/io/dyspatch/client/model/TemplateRead.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/main/java/io/dyspatch/client/model/TemplatesRead.java b/src/main/java/io/dyspatch/client/model/TemplatesRead.java index 38be9e7..90ad852 100644 --- a/src/main/java/io/dyspatch/client/model/TemplatesRead.java +++ b/src/main/java/io/dyspatch/client/model/TemplatesRead.java @@ -2,7 +2,7 @@ * Dyspatch API * # Introduction The Dyspatch API is based on the REST paradigm, and features resource based URLs with standard HTTP response codes to indicate errors. We use standard HTTP authentication and request verbs, and all responses are JSON formatted. See our [Implementation Guide](https://docs.dyspatch.io/development/implementing_dyspatch/) for more details on how to implement Dyspatch. ## API Client Libraries Dyspatch provides API Clients for popular languages and web frameworks. - [Java](https://github.com/getdyspatch/dyspatch-java) - [Javascript](https://github.com/getdyspatch/dyspatch-javascript) - [Python](https://github.com/getdyspatch/dyspatch-python) - [C#](https://github.com/getdyspatch/dyspatch-dotnet) - [Go](https://github.com/getdyspatch/dyspatch-golang) - [Ruby](https://github.com/getdyspatch/dyspatch-ruby) * - * The version of the OpenAPI document: 2020.04 + * The version of the OpenAPI document: 2020.08 * Contact: support@dyspatch.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).