/* Options: Date: 2026-05-14 01:07:19 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: WidgetConfigurationQuery.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/widget/configuration", Verbs="GET") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") public static class WidgetConfigurationQuery implements IReturn>, ICompany { /** * The company id, if empty will use the company id for the user you are logged in with. */ @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public UUID CompanyId = null; /** * Optional slug to fetch a single configuration (e.g., 'hairsalon-001'). If provided, ignores other filter parameters. */ @ApiMember(Description="Optional slug to fetch a single configuration (e.g., 'hairsalon-001'). If provided, ignores other filter parameters.") public String Slug = null; /** * Filter by schema version. */ @ApiMember(Description="Filter by schema version.") public Integer SchemaVersion = null; /** * Number of records to skip */ @ApiMember(Description="Number of records to skip") public Integer Skip = null; /** * Number of records to take */ @ApiMember(Description="Number of records to take") public Integer Take = null; /** * Sort field */ @ApiMember(Description="Sort field") public String OrderBy = null; public UUID getCompanyId() { return CompanyId; } public WidgetConfigurationQuery setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getSlug() { return Slug; } public WidgetConfigurationQuery setSlug(String value) { this.Slug = value; return this; } public Integer getSchemaVersion() { return SchemaVersion; } public WidgetConfigurationQuery setSchemaVersion(Integer value) { this.SchemaVersion = value; return this; } public Integer getSkip() { return Skip; } public WidgetConfigurationQuery setSkip(Integer value) { this.Skip = value; return this; } public Integer getTake() { return Take; } public WidgetConfigurationQuery setTake(Integer value) { this.Take = value; return this; } public String getOrderBy() { return OrderBy; } public WidgetConfigurationQuery setOrderBy(String value) { this.OrderBy = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } @DataContract public static class QueryResponse { @DataMember(Order=1) public Integer Offset = null; @DataMember(Order=2) public Integer Total = null; @DataMember(Order=3) public ArrayList Results = new ArrayList(); @DataMember(Order=4) public HashMap Meta = null; @DataMember(Order=5) public ResponseStatus ResponseStatus = null; public Integer getOffset() { return Offset; } public QueryResponse setOffset(Integer value) { this.Offset = value; return this; } public Integer getTotal() { return Total; } public QueryResponse setTotal(Integer value) { this.Total = value; return this; } public ArrayList getResults() { return Results; } public QueryResponse setResults(ArrayList value) { this.Results = value; return this; } public HashMap getMeta() { return Meta; } public QueryResponse setMeta(HashMap value) { this.Meta = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public QueryResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } public static interface ICompany { public UUID CompanyId = null; } public static class WidgetConfigurationResponse { public String Id = null; public UUID CompanyId = null; public String Name = null; public String Slug = null; public String Description = null; public String Configuration = null; public Integer SchemaVersion = null; public Date CreatedDate = null; public Date UpdatedDate = null; public ResponseStatus ResponseStatus = null; public String getId() { return Id; } public WidgetConfigurationResponse setId(String value) { this.Id = value; return this; } public UUID getCompanyId() { return CompanyId; } public WidgetConfigurationResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public String getName() { return Name; } public WidgetConfigurationResponse setName(String value) { this.Name = value; return this; } public String getSlug() { return Slug; } public WidgetConfigurationResponse setSlug(String value) { this.Slug = value; return this; } public String getDescription() { return Description; } public WidgetConfigurationResponse setDescription(String value) { this.Description = value; return this; } public String getConfiguration() { return Configuration; } public WidgetConfigurationResponse setConfiguration(String value) { this.Configuration = value; return this; } public Integer getSchemaVersion() { return SchemaVersion; } public WidgetConfigurationResponse setSchemaVersion(Integer value) { this.SchemaVersion = value; return this; } public Date getCreatedDate() { return CreatedDate; } public WidgetConfigurationResponse setCreatedDate(Date value) { this.CreatedDate = value; return this; } public Date getUpdatedDate() { return UpdatedDate; } public WidgetConfigurationResponse setUpdatedDate(Date value) { this.UpdatedDate = value; return this; } public ResponseStatus getResponseStatus() { return ResponseStatus; } public WidgetConfigurationResponse setResponseStatus(ResponseStatus value) { this.ResponseStatus = value; return this; } } }