Skip to content

Commit 804a0ff

Browse files
Regenerates API Bindings
1 parent 68f7395 commit 804a0ff

File tree

71 files changed

+659
-357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+659
-357
lines changed

.openapi-generator/FILES

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ docs/LanguagePair.md
2525
docs/LanguagesApi.md
2626
docs/LanguagesResponse.md
2727
docs/LiltCreateContent.md
28+
docs/LiltCreateContentPreferences.md
29+
docs/LiltCreateContentTemplateParams.md
2830
docs/MemoriesApi.md
2931
docs/Memory.md
3032
docs/MemoryCreateParameters.md
@@ -94,6 +96,8 @@ src/main/java/com/lilt/client/model/JobUpdateParameters.java
9496
src/main/java/com/lilt/client/model/LanguagePair.java
9597
src/main/java/com/lilt/client/model/LanguagesResponse.java
9698
src/main/java/com/lilt/client/model/LiltCreateContent.java
99+
src/main/java/com/lilt/client/model/LiltCreateContentPreferences.java
100+
src/main/java/com/lilt/client/model/LiltCreateContentTemplateParams.java
97101
src/main/java/com/lilt/client/model/Memory.java
98102
src/main/java/com/lilt/client/model/MemoryCreateParameters.java
99103
src/main/java/com/lilt/client/model/MemoryDeleteResponse.java

README.md

+10-7
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22

33
Lilt REST API
44
- API version: v3.0
5-
- Build date: 2024-07-22T00:19:36.591Z[GMT]
5+
- Build date: 2024-09-19T21:38:54.474Z[GMT]
66

7+
Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals
78
The Lilt REST API enables programmatic access to the full-range of Lilt backend services including:
89
* Training of and translating with interactive, adaptive machine translation
910
* Large-scale translation memory
1011
* The Lexicon (a large-scale termbase)
1112
* Programmatic control of the Lilt CAT environment
1213
* Translation memory synchronization
1314

14-
Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests.
15+
Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests.
16+
The base url for this REST API is `https://api.lilt.com/`.
1517

1618
## Authentication
1719

@@ -26,7 +28,6 @@ For development, you may also pass the REST API key via the `key` query paramete
2628
Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
2729

2830

29-
For more information, please visit [https://developers.lilt.com/](https://developers.lilt.com/)
3031

3132
*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*
3233

@@ -61,7 +62,7 @@ Add this dependency to your project's POM:
6162
<dependency>
6263
<groupId>org.openapitools</groupId>
6364
<artifactId>openapi-java-client</artifactId>
64-
<version>2.2.0</version>
65+
<version>3.0.0</version>
6566
<scope>compile</scope>
6667
</dependency>
6768
```
@@ -71,7 +72,7 @@ Add this dependency to your project's POM:
7172
Add this dependency to your project's build file:
7273

7374
```groovy
74-
compile "org.openapitools:openapi-java-client:2.2.0"
75+
compile "org.openapitools:openapi-java-client:3.0.0"
7576
```
7677

7778
### Others
@@ -84,7 +85,7 @@ mvn clean package
8485

8586
Then manually install the following JARs:
8687

87-
* `target/openapi-java-client-2.2.0.jar`
88+
* `target/openapi-java-client-3.0.0.jar`
8889
* `target/lib/*.jar`
8990

9091
## Getting Started
@@ -209,6 +210,8 @@ Class | Method | HTTP request | Description
209210
- [LanguagePair](docs/LanguagePair.md)
210211
- [LanguagesResponse](docs/LanguagesResponse.md)
211212
- [LiltCreateContent](docs/LiltCreateContent.md)
213+
- [LiltCreateContentPreferences](docs/LiltCreateContentPreferences.md)
214+
- [LiltCreateContentTemplateParams](docs/LiltCreateContentTemplateParams.md)
212215
- [Memory](docs/Memory.md)
213216
- [MemoryCreateParameters](docs/MemoryCreateParameters.md)
214217
- [MemoryDeleteResponse](docs/MemoryDeleteResponse.md)
@@ -251,5 +254,5 @@ It's recommended to create an instance of `ApiClient` per thread in a multithrea
251254

252255
## Author
253256

254-
support@lilt.com
257+
255258

api/openapi.yaml

+72-49
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,25 @@
11
openapi: 3.0.1
22
info:
3-
contact:
4-
email: support@lilt.com
5-
name: Lilt REST API Support
6-
url: https://developers.lilt.com/
7-
description: |
8-
The Lilt REST API enables programmatic access to the full-range of Lilt backend services including:
9-
* Training of and translating with interactive, adaptive machine translation
10-
* Large-scale translation memory
11-
* The Lexicon (a large-scale termbase)
12-
* Programmatic control of the Lilt CAT environment
13-
* Translation memory synchronization
14-
15-
Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests.
16-
17-
## Authentication
18-
19-
Requests are authenticated via REST API key, which requires the Business plan.
20-
21-
Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`.
22-
23-
For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use.
24-
25-
## Quotas
26-
27-
Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
3+
description: "Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals\
4+
\ \nThe Lilt REST API enables programmatic access to the full-range of Lilt\
5+
\ backend services including:\n * Training of and translating with interactive,\
6+
\ adaptive machine translation\n * Large-scale translation memory\n * The Lexicon\
7+
\ (a large-scale termbase)\n * Programmatic control of the Lilt CAT environment\n\
8+
\ * Translation memory synchronization\n\nRequests and responses are in JSON\
9+
\ format. The REST API only responds to HTTPS / SSL requests. \nThe base url for\
10+
\ this REST API is `https://api.lilt.com/`.\n\n## Authentication\n\nRequests are\
11+
\ authenticated via REST API key, which requires the Business plan.\n\nRequests\
12+
\ are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication).\
13+
\ Add your REST API key as both the `username` and `password`.\n\nFor development,\
14+
\ you may also pass the REST API key via the `key` query parameter. This is less\
15+
\ secure than HTTP Basic Auth, and is not recommended for production use.\n\n\
16+
## Quotas\n\nOur services have a general quota of 4000 requests per minute. Should\
17+
\ you hit the maximum requests per minute, you will need to wait 60 seconds before\
18+
\ you can send another request.\n"
2819
title: Lilt REST API
2920
version: v3.0
3021
servers:
31-
- url: https://api.lilt.com/
22+
- url: https://api.lilt.com
3223
security:
3324
- ApiKeyAuth: []
3425
- BasicAuth: []
@@ -2789,35 +2780,31 @@ components:
27892780
description: |
27902781
Content Parameters for LiltCreate.
27912782
example:
2792-
summary: summary
2793-
tone: tone
2794-
terms: terms
2783+
template: template
2784+
preferences:
2785+
styleguide: styleguide
2786+
tone: tone
2787+
templateParams:
2788+
summary: summary
2789+
contentLength: 0
2790+
language: language
2791+
sections: sections
27952792
language: language
2796-
memoryId: memoryId
2797-
sections:
2798-
- sections
2799-
- sections
28002793
properties:
2801-
tone:
2802-
description: The tone of the content.
2803-
type: string
2804-
terms:
2805-
description: The terms of the content.
2806-
type: string
2807-
summary:
2808-
description: The summary of the content.
2809-
type: string
28102794
language:
28112795
description: The language of the content.
28122796
type: string
2813-
memoryId:
2814-
description: The memory ID of the content.
2797+
template:
2798+
description: The template of the content.
28152799
type: string
2816-
sections:
2817-
description: The sections of the content.
2818-
items:
2819-
type: string
2820-
type: array
2800+
templateParams:
2801+
$ref: '#/components/schemas/LiltCreateContent_templateParams'
2802+
preferences:
2803+
$ref: '#/components/schemas/LiltCreateContent_preferences'
2804+
required:
2805+
- language
2806+
- template
2807+
- templateParams
28212808
type: object
28222809
JobProject:
28232810
description: |
@@ -4266,6 +4253,42 @@ components:
42664253
type: string
42674254
title: AddFileLabelRequest
42684255
type: object
4256+
LiltCreateContent_templateParams:
4257+
description: The template parameters of the content.
4258+
example:
4259+
summary: summary
4260+
contentLength: 0
4261+
language: language
4262+
sections: sections
4263+
properties:
4264+
contentLength:
4265+
description: The length of the content.
4266+
type: integer
4267+
language:
4268+
description: The language of the content.
4269+
type: string
4270+
sections:
4271+
description: The section of the content.
4272+
type: string
4273+
summary:
4274+
description: The summary of the content.
4275+
type: string
4276+
required:
4277+
- language
4278+
type: object
4279+
LiltCreateContent_preferences:
4280+
description: The preferences of the content.
4281+
example:
4282+
styleguide: styleguide
4283+
tone: tone
4284+
properties:
4285+
tone:
4286+
description: The tone of the content.
4287+
type: string
4288+
styleguide:
4289+
description: The styleguide of the content.
4290+
type: string
4291+
type: object
42694292
DocumentWithoutSegments_status:
42704293
description: A list of translations for the query term.
42714294
example:

docs/LiltCreateContent.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,10 @@ Content Parameters for LiltCreate.
77

88
Name | Type | Description | Notes
99
------------ | ------------- | ------------- | -------------
10-
**tone** | **String** | The tone of the content. | [optional]
11-
**terms** | **String** | The terms of the content. | [optional]
12-
**summary** | **String** | The summary of the content. | [optional]
13-
**language** | **String** | The language of the content. | [optional]
14-
**memoryId** | **String** | The memory ID of the content. | [optional]
15-
**sections** | **List&lt;String&gt;** | The sections of the content. | [optional]
10+
**language** | **String** | The language of the content. |
11+
**template** | **String** | The template of the content. |
12+
**templateParams** | [**LiltCreateContentTemplateParams**](LiltCreateContentTemplateParams.md) | |
13+
**preferences** | [**LiltCreateContentPreferences**](LiltCreateContentPreferences.md) | | [optional]
1614

1715

1816

docs/LiltCreateContentPreferences.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
3+
# LiltCreateContentPreferences
4+
5+
The preferences of the content.
6+
## Properties
7+
8+
Name | Type | Description | Notes
9+
------------ | ------------- | ------------- | -------------
10+
**tone** | **String** | The tone of the content. | [optional]
11+
**styleguide** | **String** | The styleguide of the content. | [optional]
12+
13+
14+
+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
3+
# LiltCreateContentTemplateParams
4+
5+
The template parameters of the content.
6+
## Properties
7+
8+
Name | Type | Description | Notes
9+
------------ | ------------- | ------------- | -------------
10+
**contentLength** | **Integer** | The length of the content. | [optional]
11+
**language** | **String** | The language of the content. |
12+
**sections** | **String** | The section of the content. | [optional]
13+
**summary** | **String** | The summary of the content. | [optional]
14+
15+
16+

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>openapi-java-client</artifactId>
66
<packaging>jar</packaging>
77
<name>openapi-java-client</name>
8-
<version>2.2.0</version>
8+
<version>3.0.0</version>
99
<url>https://github.com/openapitools/openapi-generator</url>
1010
<description>OpenAPI Java</description>
1111
<scm>

src/main/java/com/lilt/client/ApiCallback.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Lilt REST API
3-
* The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
3+
* Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. The base url for this REST API is `https://api.lilt.com/`. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
44
*
55
* The version of the OpenAPI document: v3.0
6-
* Contact: support@lilt.com
6+
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech

src/main/java/com/lilt/client/ApiClient.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Lilt REST API
3-
* The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
3+
* Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. The base url for this REST API is `https://api.lilt.com/`. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
44
*
55
* The version of the OpenAPI document: v3.0
6-
* Contact: support@lilt.com
6+
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
@@ -125,7 +125,7 @@ private void init() {
125125
json = new JSON();
126126

127127
// Set default User-Agent.
128-
setUserAgent("OpenAPI-Generator/2.2.0/java");
128+
setUserAgent("OpenAPI-Generator/3.0.0/java");
129129

130130
authentications = new HashMap<String, Authentication>();
131131
}

src/main/java/com/lilt/client/ApiException.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
22
* Lilt REST API
3-
* The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
3+
* Lilt REST API Support: https://lilt.atlassian.net/servicedesk/customer/portals The Lilt REST API enables programmatic access to the full-range of Lilt backend services including: * Training of and translating with interactive, adaptive machine translation * Large-scale translation memory * The Lexicon (a large-scale termbase) * Programmatic control of the Lilt CAT environment * Translation memory synchronization Requests and responses are in JSON format. The REST API only responds to HTTPS / SSL requests. The base url for this REST API is `https://api.lilt.com/`. ## Authentication Requests are authenticated via REST API key, which requires the Business plan. Requests are authenticated using [HTTP Basic Auth](https://en.wikipedia.org/wiki/Basic_access_authentication). Add your REST API key as both the `username` and `password`. For development, you may also pass the REST API key via the `key` query parameter. This is less secure than HTTP Basic Auth, and is not recommended for production use. ## Quotas Our services have a general quota of 4000 requests per minute. Should you hit the maximum requests per minute, you will need to wait 60 seconds before you can send another request.
44
*
55
* The version of the OpenAPI document: v3.0
6-
* Contact: support@lilt.com
6+
*
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
@@ -16,7 +16,7 @@
1616
import java.util.Map;
1717
import java.util.List;
1818

19-
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-07-22T00:19:36.591Z[GMT]")
19+
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", date = "2024-09-19T21:38:54.474Z[GMT]")
2020
public class ApiException extends Exception {
2121
private int code = 0;
2222
private Map<String, List<String>> responseHeaders = null;

0 commit comments

Comments
 (0)