/* Options: Date: 2024-12-22 21:54:51 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdateGameItem.* //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 { public static class UpdateGameItem implements IReturn, IPatchDb { @Validate(Validator="NotEmpty") public String name = null; @Validate(Validator="NotEmpty") public String description = null; public String imageUrl = null; public String getName() { return name; } public UpdateGameItem setName(String value) { this.name = value; return this; } public String getDescription() { return description; } public UpdateGameItem setDescription(String value) { this.description = value; return this; } public String getImageUrl() { return imageUrl; } public UpdateGameItem setImageUrl(String value) { this.imageUrl = value; return this; } private static Object responseType = IdResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class IdResponse { @DataMember(Order=1) public String id = null; @DataMember(Order=2) public ResponseStatus responseStatus = null; public String getId() { return id; } public IdResponse setId(String value) { this.id = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public IdResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class GameItem extends AuditBase { @StringLength(MaximumLength=50) public String name = null; public String imageUrl = null; @StringLength(MaximumLength=2147483647) public String description = null; public Date dateAdded = null; public String getName() { return name; } public GameItem setName(String value) { this.name = value; return this; } public String getImageUrl() { return imageUrl; } public GameItem setImageUrl(String value) { this.imageUrl = value; return this; } public String getDescription() { return description; } public GameItem setDescription(String value) { this.description = value; return this; } public Date getDateAdded() { return dateAdded; } public GameItem setDateAdded(Date value) { this.dateAdded = value; return this; } } }