Skip to content

Commit ddfa0b5

Browse files
committed
remove asyncops
1 parent b3bb32f commit ddfa0b5

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/main/java/com/qiniu/api/rs/PutPolicy.java

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ public class PutPolicy {
2828
/** 可选 */
2929
public String returnBody;
3030
/** 可选 */
31-
public String asyncOps;
32-
/** 可选 */
3331
public String endUser;
3432
/** 可选 */
3533
public long expires;
@@ -51,7 +49,7 @@ public class PutPolicy {
5149
public String persistentOps;
5250

5351
private long deadline;
54-
52+
5553
/**
5654
* 转码队列名,须预先开通
5755
* 资源上传成功后,触发转码时指定独立的队列进行转码
@@ -79,9 +77,6 @@ public String marshal() throws JSONException {
7977
if (this.returnBody != null && this.returnBody.length() > 0) {
8078
stringer.key("returnBody").value(this.returnBody);
8179
}
82-
if (this.asyncOps != null && this.asyncOps.length() > 0) {
83-
stringer.key("asyncOps").value(this.asyncOps);
84-
}
8580
if (this.saveKey != null && this.saveKey.length() > 0) {
8681
stringer.key("saveKey").value(this.saveKey);
8782
}
@@ -109,7 +104,7 @@ public String marshal() throws JSONException {
109104
if(persistentPipeline != null && persistentPipeline.trim().length() > 0){
110105
stringer.key("persistentPipeline").value(this.persistentPipeline);
111106
}
112-
107+
113108
stringer.key("deadline").value(this.deadline);
114109
stringer.endObject();
115110

0 commit comments

Comments
 (0)