forked from gooddata/gooddata-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFailStatus.java
More file actions
38 lines (31 loc) · 948 Bytes
/
Copy pathFailStatus.java
File metadata and controls
38 lines (31 loc) · 948 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
package com.gooddata.dataset;
import com.gooddata.gdc.ErrorStructure;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonIgnoreProperties;
import org.codehaus.jackson.annotate.JsonProperty;
/**
* Fail status of dataset load.
* Deserialization only.
*/
@JsonIgnoreProperties(ignoreUnknown = true)
public class FailStatus {
private final String status;
private final String date; //TODO date
private final ErrorStructure error;
@JsonCreator
private FailStatus(@JsonProperty("status") String status, @JsonProperty("date") String date,
@JsonProperty("error") ErrorStructure error) {
this.status = status;
this.date = date;
this.error = error;
}
public String getStatus() {
return status;
}
public String getDate() {
return date;
}
public ErrorStructure getError() {
return error;
}
}