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