-
Notifications
You must be signed in to change notification settings - Fork 476
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #264 from jemygraw/master
[ISSUE-260]add missed file
- Loading branch information
Showing
1 changed file
with
147 additions
and
0 deletions.
There are no files selected for viewing
147 changes: 147 additions & 0 deletions
147
src/main/java/com/qiniu/processing/OperationStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
package com.qiniu.processing; | ||
|
||
/** | ||
* Created by jemy on 06/02/2017. | ||
* | ||
* @link https://developer.qiniu.com/dora/api/persistent-processing-status-query-prefop | ||
*/ | ||
public class OperationStatus { | ||
private String id; | ||
private int code; | ||
private String desc; | ||
private String inputKey; | ||
private String inputBucket; | ||
private String pipeline; | ||
private String reqid; | ||
private OperationResult[] items; | ||
|
||
public String getId() { | ||
return id; | ||
} | ||
|
||
public void setId(String id) { | ||
this.id = id; | ||
} | ||
|
||
public int getCode() { | ||
return code; | ||
} | ||
|
||
public void setCode(int code) { | ||
this.code = code; | ||
} | ||
|
||
public String getDesc() { | ||
return desc; | ||
} | ||
|
||
public void setDesc(String desc) { | ||
this.desc = desc; | ||
} | ||
|
||
public String getInputKey() { | ||
return inputKey; | ||
} | ||
|
||
public void setInputKey(String inputKey) { | ||
this.inputKey = inputKey; | ||
} | ||
|
||
public String getInputBucket() { | ||
return inputBucket; | ||
} | ||
|
||
public void setInputBucket(String inputBucket) { | ||
this.inputBucket = inputBucket; | ||
} | ||
|
||
public String getPipeline() { | ||
return pipeline; | ||
} | ||
|
||
public void setPipeline(String pipeline) { | ||
this.pipeline = pipeline; | ||
} | ||
|
||
public String getReqid() { | ||
return reqid; | ||
} | ||
|
||
public void setReqid(String reqid) { | ||
this.reqid = reqid; | ||
} | ||
|
||
public OperationResult[] getItems() { | ||
return items; | ||
} | ||
|
||
public void setItems(OperationResult[] items) { | ||
this.items = items; | ||
} | ||
|
||
public class OperationResult { | ||
private String cmd; | ||
private int code; | ||
private String desc; | ||
private String error; | ||
private String hash; | ||
private String key; | ||
private int returnOld; | ||
|
||
public String getCmd() { | ||
return cmd; | ||
} | ||
|
||
public void setCmd(String cmd) { | ||
this.cmd = cmd; | ||
} | ||
|
||
public int getCode() { | ||
return code; | ||
} | ||
|
||
public void setCode(int code) { | ||
this.code = code; | ||
} | ||
|
||
public String getDesc() { | ||
return desc; | ||
} | ||
|
||
public void setDesc(String desc) { | ||
this.desc = desc; | ||
} | ||
|
||
public String getError() { | ||
return error; | ||
} | ||
|
||
public void setError(String error) { | ||
this.error = error; | ||
} | ||
|
||
public String getHash() { | ||
return hash; | ||
} | ||
|
||
public void setHash(String hash) { | ||
this.hash = hash; | ||
} | ||
|
||
public String getKey() { | ||
return key; | ||
} | ||
|
||
public void setKey(String key) { | ||
this.key = key; | ||
} | ||
|
||
public int getReturnOld() { | ||
return returnOld; | ||
} | ||
|
||
public void setReturnOld(int returnOld) { | ||
this.returnOld = returnOld; | ||
} | ||
} | ||
} |