Skip to content

Commit

Permalink
Merge pull request #264 from jemygraw/master
Browse files Browse the repository at this point in the history
[ISSUE-260]add missed file
  • Loading branch information
jemygraw authored Feb 7, 2017
2 parents e9f5486 + 56449d6 commit d787ebf
Showing 1 changed file with 147 additions and 0 deletions.
147 changes: 147 additions & 0 deletions src/main/java/com/qiniu/processing/OperationStatus.java
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;
}
}
}

0 comments on commit d787ebf

Please sign in to comment.