/* Options: Date: 2024-12-22 21:40:45 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: UpdateTracks.* //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="PUT") public static class UpdateTracks implements IReturn, IPut, IUpdateDb { public Long trackId = null; public String name = null; public Long albumId = null; public Long mediaTypeId = null; public Long genreId = null; public String composer = null; public Long milliseconds = null; public Long bytes = null; public BigDecimal unitPrice = null; public Long getTrackId() { return trackId; } public UpdateTracks setTrackId(Long value) { this.trackId = value; return this; } public String getName() { return name; } public UpdateTracks setName(String value) { this.name = value; return this; } public Long getAlbumId() { return albumId; } public UpdateTracks setAlbumId(Long value) { this.albumId = value; return this; } public Long getMediaTypeId() { return mediaTypeId; } public UpdateTracks setMediaTypeId(Long value) { this.mediaTypeId = value; return this; } public Long getGenreId() { return genreId; } public UpdateTracks setGenreId(Long value) { this.genreId = value; return this; } public String getComposer() { return composer; } public UpdateTracks setComposer(String value) { this.composer = value; return this; } public Long getMilliseconds() { return milliseconds; } public UpdateTracks setMilliseconds(Long value) { this.milliseconds = value; return this; } public Long getBytes() { return bytes; } public UpdateTracks setBytes(Long value) { this.bytes = value; return this; } public BigDecimal getUnitPrice() { return unitPrice; } public UpdateTracks setUnitPrice(BigDecimal value) { this.unitPrice = 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; public Long albumId = null; public Long mediaTypeId = null; public Long genreId = null; public String composer = null; public Long milliseconds = null; public Long bytes = null; public BigDecimal unitPrice = 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; } } }