Skip to content

Commit e513839

Browse files
committed
Generate 2020.11
1 parent 1b8dbaa commit e513839

39 files changed

Lines changed: 636 additions & 198 deletions

api/openapi.yaml

Lines changed: 205 additions & 44 deletions
Large diffs are not rendered by default.

docs/CompiledRead.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
1111
**replyTo** | **String** | Reply-To address | [optional]
1212
**subject** | **byte[]** | Base64 encoded template subject line | [optional]
1313
**html** | **byte[]** | Base64 encoded template HTML body | [optional]
14-
**ampHtml** | **byte[]** | Base64 encoded amp version of template body | [optional]
14+
**ampHtml** | **byte[]** | Base64 encoded template AMP body | [optional]
1515
**text** | **byte[]** | Base64 encoded template text body | [optional]
1616

1717

docs/DraftsApi.md

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class Example {
4646
DraftsApi apiInstance = new DraftsApi(defaultClient);
4747
String draftId = "draftId_example"; // String | A draft ID
4848
String languageId = "languageId_example"; // String | A language ID (eg: en-US)
49-
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\"
49+
String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
5050
try {
5151
apiInstance.deleteLocalization(draftId, languageId, accept);
5252
} catch (ApiException e) {
@@ -66,7 +66,7 @@ Name | Type | Description | Notes
6666
------------- | ------------- | ------------- | -------------
6767
**draftId** | **String**| A draft ID |
6868
**languageId** | **String**| A language ID (eg: en-US) |
69-
**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\" |
69+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\" |
7070

7171
### Return type
7272

@@ -118,7 +118,7 @@ public class Example {
118118
DraftsApi apiInstance = new DraftsApi(defaultClient);
119119
String draftId = "draftId_example"; // String | A draft ID
120120
String targetLanguage = "targetLanguage_example"; // String | The type of templating language to compile as. Should only be used for visual templates.
121-
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\"
121+
String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
122122
try {
123123
DraftRead result = apiInstance.getDraftById(draftId, targetLanguage, accept);
124124
System.out.println(result);
@@ -139,7 +139,7 @@ Name | Type | Description | Notes
139139
------------- | ------------- | ------------- | -------------
140140
**draftId** | **String**| A draft ID |
141141
**targetLanguage** | **String**| The type of templating language to compile as. Should only be used for visual templates. | [enum: html, handlebars, ampscript, freemarker, cheetah, jinja, liquid]
142-
**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\" |
142+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\" |
143143

144144
### Return type
145145

@@ -152,7 +152,7 @@ Name | Type | Description | Notes
152152
### HTTP request headers
153153

154154
- **Content-Type**: Not defined
155-
- **Accept**: application/vnd.dyspatch.2020.08+json, */*
155+
- **Accept**: application/vnd.dyspatch.2020.11+json, */*
156156

157157
### HTTP response details
158158
| Status code | Description | Response headers |
@@ -172,7 +172,7 @@ Name | Type | Description | Notes
172172
173173
Get localization keys
174174

175-
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.
175+
Returns the list of values that need to be translated for the draft. Set the `Accept` header to `application/vnd.dyspatch.2020.11+json` to get a JSON object, or `text/vnd.dyspatch.2020.11+x-gettext-translation` to get the POT file.
176176

177177
### Example
178178
```java
@@ -197,7 +197,7 @@ public class Example {
197197

198198
DraftsApi apiInstance = new DraftsApi(defaultClient);
199199
String draftId = "draftId_example"; // String | A draft ID
200-
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\"
200+
String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
201201
try {
202202
List<LocalizationKeyRead> result = apiInstance.getDraftLocalizationKeys(draftId, accept);
203203
System.out.println(result);
@@ -217,7 +217,7 @@ public class Example {
217217
Name | Type | Description | Notes
218218
------------- | ------------- | ------------- | -------------
219219
**draftId** | **String**| A draft ID |
220-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.08\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.08+json\&quot; |
220+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot; |
221221

222222
### Return type
223223

@@ -230,7 +230,7 @@ Name | Type | Description | Notes
230230
### HTTP request headers
231231

232232
- **Content-Type**: Not defined
233-
- **Accept**: application/vnd.dyspatch.2020.08+json, text/vnd.dyspatch.2020.08+x-gettext-translation
233+
- **Accept**: application/vnd.dyspatch.2020.11+json, text/vnd.dyspatch.2020.11+x-gettext-translation
234234

235235
### HTTP response details
236236
| Status code | Description | Response headers |
@@ -267,7 +267,7 @@ public class Example {
267267
//Bearer.setApiKeyPrefix("Token");
268268

269269
DraftsApi apiInstance = new DraftsApi(defaultClient);
270-
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\"
270+
String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
271271
String cursor = "cursor_example"; // String | A cursor value used to retrieve a specific page from a paginated result set.
272272
String status = "status_example"; // String | Filter the list of drafts by a particular status
273273
try {
@@ -288,7 +288,7 @@ public class Example {
288288

289289
Name | Type | Description | Notes
290290
------------- | ------------- | ------------- | -------------
291-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.08\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.08+json\&quot; |
291+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot; |
292292
**cursor** | **String**| A cursor value used to retrieve a specific page from a paginated result set. | [optional]
293293
**status** | **String**| Filter the list of drafts by a particular status | [optional] [enum: awaitingTranslation]
294294

@@ -303,7 +303,7 @@ Name | Type | Description | Notes
303303
### HTTP request headers
304304

305305
- **Content-Type**: Not defined
306-
- **Accept**: application/vnd.dyspatch.2020.08+json, */*
306+
- **Accept**: application/vnd.dyspatch.2020.11+json, */*
307307

308308
### HTTP response details
309309
| Status code | Description | Response headers |
@@ -348,7 +348,7 @@ public class Example {
348348

349349
DraftsApi apiInstance = new DraftsApi(defaultClient);
350350
String draftId = "draftId_example"; // String | A draft ID
351-
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\"
351+
String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
352352
try {
353353
List<LocalizationMetaRead> result = apiInstance.getLocalizationForDraft(draftId, accept);
354354
System.out.println(result);
@@ -368,7 +368,7 @@ public class Example {
368368
Name | Type | Description | Notes
369369
------------- | ------------- | ------------- | -------------
370370
**draftId** | **String**| A draft ID |
371-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.08\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.08+json\&quot; |
371+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot; |
372372

373373
### Return type
374374

@@ -381,7 +381,7 @@ Name | Type | Description | Notes
381381
### HTTP request headers
382382

383383
- **Content-Type**: Not defined
384-
- **Accept**: application/vnd.dyspatch.2020.08+json
384+
- **Accept**: application/vnd.dyspatch.2020.11+json
385385

386386
### HTTP response details
387387
| Status code | Description | Response headers |
@@ -420,7 +420,7 @@ public class Example {
420420
DraftsApi apiInstance = new DraftsApi(defaultClient);
421421
String draftId = "draftId_example"; // String | A draft ID
422422
String languageId = "languageId_example"; // String | A language ID (eg: en-US)
423-
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\"
423+
String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
424424
InlineObject inlineObject = new InlineObject(); // InlineObject |
425425
try {
426426
apiInstance.saveLocalization(draftId, languageId, accept, inlineObject);
@@ -441,7 +441,7 @@ Name | Type | Description | Notes
441441
------------- | ------------- | ------------- | -------------
442442
**draftId** | **String**| A draft ID |
443443
**languageId** | **String**| A language ID (eg: en-US) |
444-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.08\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.08+json\&quot; |
444+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot; |
445445
**inlineObject** | [**InlineObject**](InlineObject.md)| |
446446

447447
### Return type
@@ -494,7 +494,7 @@ public class Example {
494494
DraftsApi apiInstance = new DraftsApi(defaultClient);
495495
String draftId = "draftId_example"; // String | A draft ID
496496
String languageId = "languageId_example"; // String | A language ID (eg: en-US)
497-
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\"
497+
String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
498498
Map<String, String> requestBody = new HashMap(); // Map<String, String> |
499499
try {
500500
apiInstance.setTranslation(draftId, languageId, accept, requestBody);
@@ -515,7 +515,7 @@ Name | Type | Description | Notes
515515
------------- | ------------- | ------------- | -------------
516516
**draftId** | **String**| A draft ID |
517517
**languageId** | **String**| A language ID (eg: en-US) |
518-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.08\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.08+json\&quot; |
518+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot; |
519519
**requestBody** | [**Map&lt;String, String&gt;**](String.md)| |
520520

521521
### Return type
@@ -568,7 +568,7 @@ public class Example {
568568

569569
DraftsApi apiInstance = new DraftsApi(defaultClient);
570570
String draftId = "draftId_example"; // String | A draft ID
571-
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\"
571+
String accept = "accept_example"; // String | A version of the API that should be used for the request. For example, to use version \"2020.11\", set the value to \"application/vnd.dyspatch.2020.11+json\"
572572
try {
573573
apiInstance.submitDraftForApproval(draftId, accept);
574574
} catch (ApiException e) {
@@ -587,7 +587,7 @@ public class Example {
587587
Name | Type | Description | Notes
588588
------------- | ------------- | ------------- | -------------
589589
**draftId** | **String**| A draft ID |
590-
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.08\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.08+json\&quot; |
590+
**accept** | **String**| A version of the API that should be used for the request. For example, to use version \&quot;2020.11\&quot;, set the value to \&quot;application/vnd.dyspatch.2020.11+json\&quot; |
591591

592592
### Return type
593593

0 commit comments

Comments
 (0)