/* Options: Date: 2026-03-31 18:32:08 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://test-do-services.klokgroep.nl/api //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ImportData.* //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 { /** * Import entity data into DigiOffice (v1) */ @Route(Path="/importdata", Verbs="PUT") @Api(Description="Import entity data into DigiOffice (v1)") public static class ImportData implements IReturn { /** * Entityname in which the data will be imported */ @ApiMember(Description="Entityname in which the data will be imported", IsRequired=true) public String EntityType = null; /** * Reports errors with a reference to this field (for example ID) */ @ApiMember(Description="Reports errors with a reference to this field (for example ID)") public String ErrorField = null; /** * Should import continue on errors? (Default true) */ @ApiMember(Description="Should import continue on errors? (Default true)") public Boolean ContinueOnError = null; /** * Rows to be imported */ @ApiMember(Description="Rows to be imported", IsRequired=true) public ArrayList Rows = new ArrayList(); /** * Additional values to be imported on every row */ @ApiMember(Description="Additional values to be imported on every row") public ArrayList FixedValues = null; public String getEntityType() { return EntityType; } public ImportData setEntityType(String value) { this.EntityType = value; return this; } public String getErrorField() { return ErrorField; } public ImportData setErrorField(String value) { this.ErrorField = value; return this; } public Boolean isContinueOnError() { return ContinueOnError; } public ImportData setContinueOnError(Boolean value) { this.ContinueOnError = value; return this; } public ArrayList getRows() { return Rows; } public ImportData setRows(ArrayList value) { this.Rows = value; return this; } public ArrayList getFixedValues() { return FixedValues; } public ImportData setFixedValues(ArrayList value) { this.FixedValues = value; return this; } private static Object responseType = ImportResult.class; public Object getResponseType() { return responseType; } } public static class ImportResult { public Integer TotalRows = null; public Integer TotalAdded = null; public Integer TotalUpdated = null; public Integer SuccesfullRows = null; public Integer ErrorRows = null; public ArrayList Errors = null; public Integer getTotalRows() { return TotalRows; } public ImportResult setTotalRows(Integer value) { this.TotalRows = value; return this; } public Integer getTotalAdded() { return TotalAdded; } public ImportResult setTotalAdded(Integer value) { this.TotalAdded = value; return this; } public Integer getTotalUpdated() { return TotalUpdated; } public ImportResult setTotalUpdated(Integer value) { this.TotalUpdated = value; return this; } public Integer getSuccesfullRows() { return SuccesfullRows; } public ImportResult setSuccesfullRows(Integer value) { this.SuccesfullRows = value; return this; } public Integer getErrorRows() { return ErrorRows; } public ImportResult setErrorRows(Integer value) { this.ErrorRows = value; return this; } public ArrayList getErrors() { return Errors; } public ImportResult setErrors(ArrayList value) { this.Errors = value; return this; } } public static class Row { public ArrayList Fields = null; public ArrayList getFields() { return Fields; } public Row setFields(ArrayList value) { this.Fields = value; return this; } } public static class FixedValue { public String Name = null; public String Value = null; public String getName() { return Name; } public FixedValue setName(String value) { this.Name = value; return this; } public String getValue() { return Value; } public FixedValue setValue(String value) { this.Value = value; return this; } } public static class ImportField { public String Name = null; public String Value = null; public String getName() { return Name; } public ImportField setName(String value) { this.Name = value; return this; } public String getValue() { return Value; } public ImportField setValue(String value) { this.Value = value; return this; } } }