77
88@ JsonIgnoreProperties (ignoreUnknown = true )
99public class FileMeta {
10-
1110 /**
1211 * The file identifier, which can be referenced in the API endpoints.
1312 * 文件标识符,可以在 API 接口中引用。
@@ -73,6 +72,9 @@ public class FileMeta {
7372 @ JsonProperty (value = "error" )
7473 private ArkErrorDetails error ;
7574
75+ @ JsonProperty (value = "preprocess_configs" )
76+ private PreprocessConfigs preprocessConfigs ;
77+
7678 public FileMeta () {
7779 }
7880
@@ -89,6 +91,7 @@ public String toString() {
8991 ", purpose='" + purpose + '\'' +
9092 ", status='" + status + '\'' +
9193 ", error=" + error +
94+ ", preprocessConfigs=" + preprocessConfigs +
9295 '}' ;
9396 }
9497
@@ -164,6 +167,13 @@ public void setError(ArkErrorDetails error) {
164167 this .error = error ;
165168 }
166169
170+ public PreprocessConfigs getPreprocessConfigs () {
171+ return preprocessConfigs ;
172+ }
173+
174+ public void setPreprocessConfigs (PreprocessConfigs preprocessConfigs ) {
175+ this .preprocessConfigs = preprocessConfigs ;
176+ }
167177
168178 public static final class FileBuilder {
169179 private String id ;
@@ -175,6 +185,7 @@ public static final class FileBuilder {
175185 private String purpose ;
176186 private String status ;
177187 private ArkErrorDetails error ;
188+ private PreprocessConfigs preprocessConfigs ;
178189
179190 private FileBuilder () {
180191 }
@@ -228,6 +239,11 @@ public FileBuilder error(ArkErrorDetails error) {
228239 return this ;
229240 }
230241
242+ public FileBuilder preprocessConfigs (PreprocessConfigs preprocessConfigs ) {
243+ this .preprocessConfigs = preprocessConfigs ;
244+ return this ;
245+ }
246+
231247 public FileMeta build () {
232248 FileMeta fileMeta = new FileMeta ();
233249 fileMeta .setId (id );
@@ -239,6 +255,7 @@ public FileMeta build() {
239255 fileMeta .setPurpose (purpose );
240256 fileMeta .setStatus (status );
241257 fileMeta .setError (error );
258+ fileMeta .setPreprocessConfigs (preprocessConfigs );
242259 return fileMeta ;
243260 }
244261 }
0 commit comments