forked from gooddata/gooddata-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFailPart.java
More file actions
48 lines (39 loc) · 1.18 KB
/
Copy pathFailPart.java
File metadata and controls
48 lines (39 loc) · 1.18 KB
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
39
40
41
42
43
44
45
46
47
48
package com.gooddata.dataset;
import com.gooddata.gdc.ErrorStructure;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonProperty;
/**
* Describe status of uploaded parts
*/
public class FailPart {
private final String logName;
private final String fileName;
private final String status;
private final String tableName;
private final ErrorStructure error;
@JsonCreator
private FailPart(@JsonProperty("logName") String logName, @JsonProperty("fileName") String fileName,
@JsonProperty("status") String status, @JsonProperty("tableName") String tableName,
@JsonProperty("error") ErrorStructure error) {
this.logName = logName;
this.fileName = fileName;
this.status = status;
this.tableName = tableName;
this.error = error;
}
public String getLogName() {
return logName;
}
public String getFileName() {
return fileName;
}
public String getStatus() {
return status;
}
public String getTableName() {
return tableName;
}
public ErrorStructure getError() {
return error;
}
}