Skip to content

Commit

Permalink
osc-sdk-java v0.4.0
Browse files Browse the repository at this point in the history
Signed-off-by: Outscale Bot <[email protected]>
  • Loading branch information
Open-Source-Bot authored and outscale-mgo committed Jun 20, 2023
1 parent 56bd492 commit 6538abf
Show file tree
Hide file tree
Showing 1,195 changed files with 4,590 additions and 1,198 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# osc-sdk-java

3DS OUTSCALE API
- API version: 1.26.0
- API version: 1.27.0

Welcome to the OUTSCALE API documentation.<br />
The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br />
Expand Down Expand Up @@ -46,7 +46,7 @@ Add this dependency to your project's POM:
<dependency>
<groupId>io.github.outscale</groupId>
<artifactId>osc-sdk-java</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
<scope>compile</scope>
</dependency>
```
Expand All @@ -62,7 +62,7 @@ Add this dependency to your project's build file:
}
dependencies {
implementation "io.github.outscale:osc-sdk-java:0.3.0"
implementation "io.github.outscale:osc-sdk-java:0.4.0"
}
```

Expand All @@ -76,7 +76,7 @@ mvn clean package

Then manually install the following JARs:

* `target/osc-sdk-java-0.3.0.jar`
* `target/osc-sdk-java-0.4.0.jar`
* `target/lib/*.jar`

## Getting Started
Expand Down
2 changes: 1 addition & 1 deletion api_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.26.0
1.27.0
1 change: 1 addition & 0 deletions docs/CreateAccessKeyRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**dryRun** | **Boolean** | If true, checks whether you have the required permissions to perform the action. | [optional] |
|**expirationDate** | **OffsetDateTime** | The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, &#x60;2020-06-14T00:00:00.000Z&#x60;, or &#x60;2020-06-14&#x60;). To remove an existing expiration date, use the method without specifying this parameter. | [optional] |
|**userName** | **String** | The name of the EIM user that owns the key to be created. If you do not specify a user name, this action creates an access key for the user who sends the request (which can be the root account). | [optional] |



1 change: 1 addition & 0 deletions docs/DeleteAccessKeyRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**accessKeyId** | **String** | The ID of the access key you want to delete. | |
|**dryRun** | **Boolean** | If true, checks whether you have the required permissions to perform the action. | [optional] |
|**userName** | **String** | The name of the EIM user the access key you want to delete is associated with. By default, the user who sends the request (which can be the root account). | [optional] |



2 changes: 1 addition & 1 deletion docs/Image.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Information about the OMI.
|**accountId** | **String** | The account ID of the owner of the OMI. | [optional] |
|**architecture** | **String** | The architecture of the OMI (by default, &#x60;i386&#x60;). | [optional] |
|**blockDeviceMappings** | [**List&lt;BlockDeviceMappingImage&gt;**](BlockDeviceMappingImage.md) | One or more block device mappings. | [optional] |
|**creationDate** | **LocalDate** | The date and time of creation of the OMI, in ISO 8601 date-time format. | [optional] |
|**creationDate** | **OffsetDateTime** | The date and time of creation of the OMI, in ISO 8601 date-time format. | [optional] |
|**description** | **String** | The description of the OMI. | [optional] |
|**fileLocation** | **String** | The location of the bucket where the OMI files are stored. | [optional] |
|**imageId** | **String** | The ID of the OMI. | [optional] |
Expand Down
1 change: 1 addition & 0 deletions docs/ReadAccessKeysRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
|------------ | ------------- | ------------- | -------------|
|**dryRun** | **Boolean** | If true, checks whether you have the required permissions to perform the action. | [optional] |
|**filters** | [**FiltersAccessKeys**](FiltersAccessKeys.md) | | [optional] |
|**userName** | **String** | The name of the EIM user. By default, the user who sends the request (which can be the root account). | [optional] |



4 changes: 2 additions & 2 deletions docs/ReadConsumptionAccountRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**dryRun** | **Boolean** | If true, checks whether you have the required permissions to perform the action. | [optional] |
|**fromDate** | **OffsetDateTime** | The beginning of the time period, in ISO 8601 date format (for example, &#x60;2020-06-14&#x60;). The date-time format is also accepted, but only with a time set to midnight (for example, &#x60;2020-06-14T00:00:00.000Z&#x60;). | |
|**fromDate** | **LocalDate** | The beginning of the time period, in ISO 8601 date format (for example, &#x60;2020-06-14&#x60;). The date-time format is also accepted, but only with a time set to midnight (for example, &#x60;2020-06-14T00:00:00.000Z&#x60;). | |
|**overall** | **Boolean** | By default or if false, returns only the consumption of the specific account that sends this request. If true, returns either the overall consumption of your paying account and all linked accounts (if the account that sends this request is a paying account) or returns nothing (if the account that sends this request is a linked account). | [optional] |
|**toDate** | **OffsetDateTime** | The end of the time period, in ISO 8601 date format (for example, &#x60;2020-06-30&#x60;). The date-time format is also accepted, but only with a time set to midnight (for example, &#x60;2020-06-30T00:00:00.000Z&#x60;). | |
|**toDate** | **LocalDate** | The end of the time period, in ISO 8601 date format (for example, &#x60;2020-06-30&#x60;). The date-time format is also accepted, but only with a time set to midnight (for example, &#x60;2020-06-30T00:00:00.000Z&#x60;). | |



1 change: 1 addition & 0 deletions docs/UpdateAccessKeyRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
|**dryRun** | **Boolean** | If true, checks whether you have the required permissions to perform the action. | [optional] |
|**expirationDate** | **OffsetDateTime** | The date and time, or the date, at which you want the access key to expire, in ISO 8601 format (for example, &#x60;2020-06-14T00:00:00.000Z&#x60; or &#x60;2020-06-14&#x60;). If not specified, the access key is set to not expire. | [optional] |
|**state** | **String** | The new state for the access key (&#x60;ACTIVE&#x60; \\| &#x60;INACTIVE&#x60;). When set to &#x60;ACTIVE&#x60;, the access key is enabled and can be used to send requests. When set to &#x60;INACTIVE&#x60;, the access key is disabled. | |
|**userName** | **String** | The name of the EIM the access key you want to modify is associated with. If you do not specify a user name, this action modifies the access key of the user who sends the request (which can be the root account). | [optional] |



2 changes: 1 addition & 1 deletion examples/config_env/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>io.github.outscale</groupId>
<artifactId>osc-sdk-java</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/config_file/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>io.github.outscale</groupId>
<artifactId>osc-sdk-java</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/password_auth/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>io.github.outscale</groupId>
<artifactId>osc-sdk-java</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/region/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>io.github.outscale</groupId>
<artifactId>osc-sdk-java</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/vm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>io.github.outscale</groupId>
<artifactId>osc-sdk-java</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion examples/volumes/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<dependency>
<groupId>io.github.outscale</groupId>
<artifactId>osc-sdk-java</artifactId>
<version>0.3.0</version>
<version>0.4.0</version>
</dependency>
</dependencies>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<artifactId>osc-sdk-java</artifactId>
<packaging>jar</packaging>
<name>osc-sdk-java</name>
<version>0.3.0</version>
<version>0.4.0</version>
<url>https://github.com/outscale/osc-sdk-java</url>
<description>3DS Outscale SDK</description>
<scm>
Expand Down
2 changes: 1 addition & 1 deletion sdk_version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.0
0.4.0
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 3DS OUTSCALE API
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
*
* The version of the OpenAPI document: 1.26
* The version of the OpenAPI document: 1.27
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 3DS OUTSCALE API
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
*
* The version of the OpenAPI document: 1.26
* The version of the OpenAPI document: 1.27
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -168,7 +168,7 @@ private void init() {
json = new JSON();

// Set default User-Agent.
setUserAgent("osc-sdk-java/0.3.0");
setUserAgent("osc-sdk-java/0.4.0");

authentications = new HashMap<String, Authentication>();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 3DS OUTSCALE API
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
*
* The version of the OpenAPI document: 1.26
* The version of the OpenAPI document: 1.27
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 3DS OUTSCALE API
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
*
* The version of the OpenAPI document: 1.26
* The version of the OpenAPI document: 1.27
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 3DS OUTSCALE API
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
*
* The version of the OpenAPI document: 1.26
* The version of the OpenAPI document: 1.27
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 3DS OUTSCALE API
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
*
* The version of the OpenAPI document: 1.26
* The version of the OpenAPI document: 1.27
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
28 changes: 27 additions & 1 deletion src/main/java/io/github/outscale/osc_sdk_java/client/JSON.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* 3DS OUTSCALE API
* Welcome to the OUTSCALE API documentation.<br /> The OUTSCALE API enables you to manage your resources in the OUTSCALE Cloud. This documentation describes the different actions available along with code examples.<br /><br /> You can learn more about errors returned by the API in the dedicated [errors page](api/errors).<br /><br /> Note that the OUTSCALE Cloud is compatible with Amazon Web Services (AWS) APIs, but there are [differences in resource names](https://docs.outscale.com/en/userguide/OUTSCALE-APIs-Reference.html) between AWS and the OUTSCALE API.<br /> You can also manage your resources using the [Cockpit](https://docs.outscale.com/en/userguide/About-Cockpit.html) web interface.<br /><br /> An OpenAPI description of the OUTSCALE API is also available in this [GitHub repository](https://github.com/outscale/osc-api).
*
* The version of the OpenAPI document: 1.26
* The version of the OpenAPI document: 1.27
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -367,6 +367,12 @@ private static Class getClassByDiscriminator(
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.CreateTagsResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.CreateUserRequest
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.CreateUserResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.CreateVirtualGatewayRequest
.CustomTypeAdapterFactory());
Expand Down Expand Up @@ -595,6 +601,12 @@ private static Class getClassByDiscriminator(
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.DeleteTagsResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.DeleteUserRequest
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.DeleteUserResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.DeleteVirtualGatewayRequest
.CustomTypeAdapterFactory());
Expand Down Expand Up @@ -1261,6 +1273,12 @@ private static Class getClassByDiscriminator(
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.ReadTagsResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.ReadUsersRequest
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.ReadUsersResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.ReadVirtualGatewaysRequest
.CustomTypeAdapterFactory());
Expand Down Expand Up @@ -1593,6 +1611,12 @@ private static Class getClassByDiscriminator(
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.UpdateSubnetResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.UpdateUserRequest
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.UpdateUserResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.UpdateVmGroupRequest
.CustomTypeAdapterFactory());
Expand Down Expand Up @@ -1623,6 +1647,8 @@ private static Class getClassByDiscriminator(
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.UpdateVpnConnectionResponse
.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.User.CustomTypeAdapterFactory());
gsonBuilder.registerTypeAdapterFactory(
new io.github.outscale.osc_sdk_java.client.model.VgwTelemetry
.CustomTypeAdapterFactory());
Expand Down
Loading

0 comments on commit 6538abf

Please sign in to comment.