me.tomsdevsn.hetznercloud.objects.response.Action Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hetznercloud-java_2.12 Show documentation
Show all versions of hetznercloud-java_2.12 Show documentation
Java Integration to manage the Hetzner-Cloud
The newest version!
package me.tomsdevsn.hetznercloud.objects.response;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import lombok.Data;
import me.tomsdevsn.hetznercloud.deserialize.DateDeserializer;
import java.util.Date;
import java.util.List;
@Data
public class Action {
public Long id;
public String command;
public String status;
public Long progress;
@JsonDeserialize(using = DateDeserializer.class)
public Date started;
public boolean finished;
public List resources;
private Error error;
@Data
public static class Resources {
public Long id;
public String type;
}
@Data
public static class Error {
public String code;
public String message;
}
}