File tree Expand file tree Collapse file tree
src/main/java/com/translated/lara/translator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ public enum UseCache {
2424 private UseCache useCache = null ;
2525 private Integer cacheTTL = null ;
2626 private Boolean noTrace = null ;
27+ private Boolean verbose = null ;
2728
2829 public String getSourceHint () {
2930 return sourceHint ;
@@ -125,6 +126,15 @@ public TranslateOptions setNoTrace(boolean noTrace) {
125126 return this ;
126127 }
127128
129+ public Boolean getVerbose () {
130+ return verbose ;
131+ }
132+
133+ public TranslateOptions setVerbose (Boolean verbose ) {
134+ this .verbose = verbose ;
135+ return this ;
136+ }
137+
128138 public HttpParams <Object > toParams () {
129139 HttpParams <Object > params = new HttpParams <>();
130140 params .set ("source_hint" , sourceHint );
@@ -136,6 +146,7 @@ public HttpParams<Object> toParams() {
136146 params .set ("priority" , toString (priority ));
137147 params .set ("use_cache" , toString (useCache ));
138148 params .set ("cache_ttl" , cacheTTL );
149+ params .set ("verbose" , verbose );
139150
140151 return params ;
141152 }
You can’t perform that action at this time.
0 commit comments