Skip to content

Commit 2187cee

Browse files
nitzanjtocker
authored andcommitted
Add skip_transformation_name parameter to generate archive. (#67)
1 parent 70726c3 commit 2187cee

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

cloudinary-core/src/main/java/com/cloudinary/ArchiveParams.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ public class ArchiveParams {
2020
private boolean useOriginalFilename = false;
2121
private boolean async = false;
2222
private boolean keepDerived = false;
23+
private boolean skipTransformationName = false;
2324
private String notificationUrl = null;
2425
private String[] targetTags = null;
2526
private String[] tags = null;
@@ -110,6 +111,15 @@ public ArchiveParams async(boolean async) {
110111
return this;
111112
}
112113

114+
public boolean isSkipTransformationName() {
115+
return skipTransformationName;
116+
}
117+
118+
public ArchiveParams skipTransformationName(boolean skipTransformationName) {
119+
this.skipTransformationName = skipTransformationName;
120+
return this;
121+
}
122+
113123
public boolean isKeepDerived() {
114124
return keepDerived;
115125
}
@@ -185,6 +195,7 @@ public Map<String, Object> toMap() {
185195
params.put("use_original_filename", useOriginalFilename);
186196
params.put("async", async);
187197
params.put("keep_derived", keepDerived);
198+
params.put("skip_transformation_name", skipTransformationName);
188199
if (notificationUrl != null)
189200
params.put("notification_url", notificationUrl);
190201
if (targetTags != null)

0 commit comments

Comments
 (0)