File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
src/main/java/com/qiniu/api/rs Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,6 @@ public class PutPolicy {
28
28
/** 可选 */
29
29
public String returnBody ;
30
30
/** 可选 */
31
- public String asyncOps ;
32
- /** 可选 */
33
31
public String endUser ;
34
32
/** 可选 */
35
33
public long expires ;
@@ -51,7 +49,7 @@ public class PutPolicy {
51
49
public String persistentOps ;
52
50
53
51
private long deadline ;
54
-
52
+
55
53
/**
56
54
* 转码队列名,须预先开通
57
55
* 资源上传成功后,触发转码时指定独立的队列进行转码
@@ -79,9 +77,6 @@ public String marshal() throws JSONException {
79
77
if (this .returnBody != null && this .returnBody .length () > 0 ) {
80
78
stringer .key ("returnBody" ).value (this .returnBody );
81
79
}
82
- if (this .asyncOps != null && this .asyncOps .length () > 0 ) {
83
- stringer .key ("asyncOps" ).value (this .asyncOps );
84
- }
85
80
if (this .saveKey != null && this .saveKey .length () > 0 ) {
86
81
stringer .key ("saveKey" ).value (this .saveKey );
87
82
}
@@ -109,7 +104,7 @@ public String marshal() throws JSONException {
109
104
if (persistentPipeline != null && persistentPipeline .trim ().length () > 0 ){
110
105
stringer .key ("persistentPipeline" ).value (this .persistentPipeline );
111
106
}
112
-
107
+
113
108
stringer .key ("deadline" ).value (this .deadline );
114
109
stringer .endObject ();
115
110
You can’t perform that action at this time.
0 commit comments