| 12345678910111213141516171819202122232425 |
- using ProtoBuf;
- using System.Net;
- using System.Text;
- using System.Threading.Tasks;
-
- namespace GrpcShared.DTO
- {
- [ProtoContract]
- [ProtoInclude(5, typeof(Search.SearchResponse))]
- [ProtoInclude(6, typeof(TopItem.TopItemResponse))]
- [ProtoInclude(7, typeof(Track.MultipleTrack.MultipleTrackResponse))]
- [ProtoInclude(8, typeof(Track.SingleTrack.SingleTrackResponse))]
- [ProtoInclude(9, typeof(TrackByID.TrackResponse))]
- [ProtoInclude(10, typeof(User.UserInfoResponse))]
- [ProtoInclude(11, typeof(Track.CurrentTrackResponse))]
- [ProtoInclude(12, typeof(Auth.RefreshTokenResponse))]
-
- public class StatusCodeMessage
- {
- [ProtoMember(1)]
- public HttpStatusCode ResponseMsg { get; set; }
- [ProtoMember(2)]
- public bool IsSaved { get; set; } = false;
- }
- }
|