/* Options: Date: 2026-06-22 20:28:58 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.dev.dynamics.trendsic.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ImportCommitRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/v1/import/{Type}/commit", Verbs="POST,OPTIONS") public static class ImportCommitRequest implements IReturn { public String Type = null; public String getType() { return Type; } public ImportCommitRequest setType(String value) { this.Type = value; return this; } private static Object responseType = ImportResult.class; public Object getResponseType() { return responseType; } } public static class ImportResult { public String ImportType = null; public String FileName = null; public Boolean DryRun = null; public Integer ImportBatchId = null; public Integer TotalRows = null; public Integer NewRows = null; public Integer UpdatedRows = null; public Integer SkippedRows = null; public Integer ErrorRows = null; public ArrayList Rows = new ArrayList(); public ResponseStatus ResponseStatus = null; public String getImportType() { return ImportType; } public ImportResult setImportType(String value) { this.ImportType = value; return this; } public String getFileName() { return FileName; } public ImportResult setFileName(String value) { this.FileName = value; return this; } public Boolean isDryRun() { return DryRun; } public ImportResult setDryRun(Boolean value) { this.DryRun = value; return this; } public Integer getImportBatchId() { return ImportBatchId; } public ImportResult setImportBatchId(Integer value) { this.ImportBatchId = value; return this; } public Integer getTotalRows() { return TotalRows; } public ImportResult setTotalRows(Integer value) { this.TotalRows = value; return this; } public Integer getNewRows() { return NewRows; } public ImportResult setNewRows(Integer value) { this.NewRows = value; return this; } public Integer getUpdatedRows() { return UpdatedRows; } public ImportResult setUpdatedRows(Integer value) { this.UpdatedRows = value; return this; } public Integer getSkippedRows() { return SkippedRows; } public ImportResult setSkippedRows(Integer value) { this.SkippedRows = value; return this; } public Integer getErrorRows() { return ErrorRows; } public ImportResult setErrorRows(Integer value) { this.ErrorRows = value; return this; } public ArrayList getRows() { return Rows; } public ImportResult setRows(ArrayList value) { this.Rows = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public ImportResult setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static class ImportRowResult { public Integer Line = null; public String Action = null; public String Field = null; public String Message = null; public String Summary = null; public Integer getLine() { return Line; } public ImportRowResult setLine(Integer value) { this.Line = value; return this; } public String getAction() { return Action; } public ImportRowResult setAction(String value) { this.Action = value; return this; } public String getField() { return Field; } public ImportRowResult setField(String value) { this.Field = value; return this; } public String getMessage() { return Message; } public ImportRowResult setMessage(String value) { this.Message = value; return this; } public String getSummary() { return Summary; } public ImportRowResult setSummary(String value) { this.Summary = value; return this; } } }