using GrpcShared.DTO.Track; using Newtonsoft.Json; using ProtoBuf; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace GrpcShared.DTO.TrackByID { [ProtoContract] public class TrackResponse { [ProtoMember(1)] [JsonProperty("album")] public Album? Album { get; set; } [ProtoMember(2)] [JsonProperty("artists")] public Artist[]? Artists { get; set; } [ProtoMember(3)] [JsonProperty("duration_ms")] public long? DurationMs { get; set; } [ProtoMember(4)] [JsonProperty("href")] public Uri? Href { get; set; } [ProtoMember(5)] [JsonProperty("id")] public string? Id { get; set; } [ProtoMember(6)] [JsonProperty("name")] public string? Name { get; set; } } }