2020-11-15 16:03:27 +00:00
|
|
|
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>
|
2020-11-15 16:03:27 +00:00
|
|
|
/// 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>
|
2020-11-15 16:03:27 +00:00
|
|
|
public DateTime RequestReceptionTime { get; }
|
2020-04-16 14:02:52 +00:00
|
|
|
|
|
|
|
/// <summary>
|
2020-11-15 16:03:27 +00:00
|
|
|
/// 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>
|
2020-11-15 16:03:27 +00:00
|
|
|
public DateTime ResponseTransmissionTime { get; }
|
2020-04-16 14:02:52 +00:00
|
|
|
}
|
|
|
|
}
|