Skip to content

Commit

Permalink
Added deprecated parameter to Image
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Siewert committed Apr 5, 2018
1 parent 05f217f commit cc8a527
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Hetzner Cloud API for Java

Simple Java client for the Hetzner Cloud API.

The current version is **2.1.0**.
The current version is **2.1.1**.

It would be nice, if you submit pull requests.

Expand Down Expand Up @@ -37,7 +37,7 @@ Dependency:
<dependency>
<groupId>me.tomsdevsn</groupId>
<artifactId>hetznercloud-api</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand All @@ -55,7 +55,7 @@ repositories({
})
dependencies({
compile "me.tomsdevsn:hetznercloud-api:2.1.0"
compile "me.tomsdevsn:hetznercloud-api:2.1.1"
})
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.tomsdevsn</groupId>
<artifactId>hetznercloud-api</artifactId>
<version>2.1.0</version>
<version>2.1.1</version>

<name>HetznerCloud-API</name>
<description>Java-client for the Hetzner Cloud</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public class Image {
private String osVersion;
@JsonProperty("rapid_redeploy")
private boolean rapidRedeploy;
@JsonDeserialize(using = DateDeserializer.class)
private Date deprecated;

@Data
public static class CreatedFrom {
Expand Down

0 comments on commit cc8a527

Please sign in to comment.