/* Options: Date: 2026-06-30 21:30:44 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bookmore.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: ReorderHomepageImages.* //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="/homepage/images/order", Verbs="PUT") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You have too low privilegies to call this service", StatusCode=403) @ValidateRequest(Validator="IsAuthenticated") public static class ReorderHomepageImages implements IReturn>, ICompany { /** * Enter the company id, if blank and you are an admin, your company id will be used. */ @ApiMember(Description="Enter the company id, if blank and you are an admin, your company id will be used.", IsRequired=true) public UUID CompanyId = null; /** * The homepage image ids in the desired display order (position = SortOrder). */ @ApiMember(Description="The homepage image ids in the desired display order (position = SortOrder).", IsRequired=true) public ArrayList Ids = new ArrayList(); public UUID getCompanyId() { return CompanyId; } public ReorderHomepageImages setCompanyId(UUID value) { this.CompanyId = value; return this; } public ArrayList getIds() { return Ids; } public ReorderHomepageImages setIds(ArrayList value) { this.Ids = 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 HomepageImageQueryResponse { /** * The company id. */ @ApiMember(Description="The company id.") public UUID CompanyId = null; /** * The homepage image id. */ @ApiMember(Description="The homepage image id.") public Integer Id = null; /** * The image title. */ @ApiMember(Description="The image title.") public String Title = null; /** * The image description. */ @ApiMember(Description="The image description.") public String Description = null; /** * The image url. */ @ApiMember(Description="The image url.") public Uri ImageUrl = null; /** * The display order (ascending). Lower values appear first. */ @ApiMember(Description="The display order (ascending). Lower values appear first.") public Integer SortOrder = null; public UUID getCompanyId() { return CompanyId; } public HomepageImageQueryResponse setCompanyId(UUID value) { this.CompanyId = value; return this; } public Integer getId() { return Id; } public HomepageImageQueryResponse setId(Integer value) { this.Id = value; return this; } public String getTitle() { return Title; } public HomepageImageQueryResponse setTitle(String value) { this.Title = value; return this; } public String getDescription() { return Description; } public HomepageImageQueryResponse setDescription(String value) { this.Description = value; return this; } public Uri getImageUrl() { return ImageUrl; } public HomepageImageQueryResponse setImageUrl(Uri value) { this.ImageUrl = value; return this; } public Integer getSortOrder() { return SortOrder; } public HomepageImageQueryResponse setSortOrder(Integer value) { this.SortOrder = value; return this; } } }