/* Options: Date: 2025-05-13 19:44:23 Version: 8.53 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://chinook.netcore.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: DeleteTracks.* //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="/tracks/{TrackId}", Verbs="DELETE") public static class DeleteTracks implements IReturn, IDelete, IDeleteDb { public Long trackId = null; public Long getTrackId() { return trackId; } public DeleteTracks setTrackId(Long value) { this.trackId = 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 Tracks { public Long trackId = null; @Required() public String name = null; @References(Type=Albums.class) public Long albumId = null; @References(Type=MediaTypes.class) public Long mediaTypeId = null; @References(Type=Genres.class) public Long genreId = null; public String composer = null; public Long milliseconds = null; public Long bytes = null; public BigDecimal unitPrice = null; public Albums album = null; public MediaTypes mediaType = null; public Genres genre = null; public Long getTrackId() { return trackId; } public Tracks setTrackId(Long value) { this.trackId = value; return this; } public String getName() { return name; } public Tracks setName(String value) { this.name = value; return this; } public Long getAlbumId() { return albumId; } public Tracks setAlbumId(Long value) { this.albumId = value; return this; } public Long getMediaTypeId() { return mediaTypeId; } public Tracks setMediaTypeId(Long value) { this.mediaTypeId = value; return this; } public Long getGenreId() { return genreId; } public Tracks setGenreId(Long value) { this.genreId = value; return this; } public String getComposer() { return composer; } public Tracks setComposer(String value) { this.composer = value; return this; } public Long getMilliseconds() { return milliseconds; } public Tracks setMilliseconds(Long value) { this.milliseconds = value; return this; } public Long getBytes() { return bytes; } public Tracks setBytes(Long value) { this.bytes = value; return this; } public BigDecimal getUnitPrice() { return unitPrice; } public Tracks setUnitPrice(BigDecimal value) { this.unitPrice = value; return this; } public Albums getAlbum() { return album; } public Tracks setAlbum(Albums value) { this.album = value; return this; } public MediaTypes getMediaType() { return mediaType; } public Tracks setMediaType(MediaTypes value) { this.mediaType = value; return this; } public Genres getGenre() { return genre; } public Tracks setGenre(Genres value) { this.genre = value; return this; } } }