jellyfin-server/MediaBrowser.Model/SyncPlay/UtcTimeResponse.cs

34 lines
1.2 KiB
C#
Raw Normal View History

using System;
2020-06-03 09:54:01 +00:00
2020-05-06 21:42:53 +00:00
namespace MediaBrowser.Model.SyncPlay
2020-04-16 14:02:52 +00:00
{
/// <summary>
/// Class UtcTimeResponse.
/// </summary>
public class UtcTimeResponse
{
/// <summary>
/// Initializes a new instance of the <see cref="UtcTimeResponse"/> class.
/// </summary>
/// <param name="requestReceptionTime">The UTC time when request has been received.</param>
/// <param name="responseTransmissionTime">The UTC time when response has been sent.</param>
public UtcTimeResponse(DateTime requestReceptionTime, DateTime responseTransmissionTime)
{
RequestReceptionTime = requestReceptionTime;
ResponseTransmissionTime = responseTransmissionTime;
}
/// <summary>
/// Gets the UTC time when request has been received.
2020-04-16 14:02:52 +00:00
/// </summary>
/// <value>The UTC time when request has been received.</value>
public DateTime RequestReceptionTime { get; }
2020-04-16 14:02:52 +00:00
/// <summary>
/// Gets the UTC time when response has been sent.
2020-04-16 14:02:52 +00:00
/// </summary>
/// <value>The UTC time when response has been sent.</value>
public DateTime ResponseTransmissionTime { get; }
2020-04-16 14:02:52 +00:00
}
}