2020-11-15 09:03:27 -07:00
|
|
|
using System;
|
2020-06-03 02:54:01 -07:00
|
|
|
|
2020-05-06 14:42:53 -07:00
|
|
|
namespace MediaBrowser.Model.SyncPlay
|
2020-04-16 07:02:52 -07:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Class UtcTimeResponse.
|
|
|
|
/// </summary>
|
|
|
|
public class UtcTimeResponse
|
|
|
|
{
|
|
|
|
/// <summary>
|
2020-11-15 09:03:27 -07: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 07:02:52 -07:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The UTC time when request has been received.</value>
|
2020-11-15 09:03:27 -07:00
|
|
|
public DateTime RequestReceptionTime { get; }
|
2020-04-16 07:02:52 -07:00
|
|
|
|
|
|
|
/// <summary>
|
2020-11-15 09:03:27 -07:00
|
|
|
/// Gets the UTC time when response has been sent.
|
2020-04-16 07:02:52 -07:00
|
|
|
/// </summary>
|
|
|
|
/// <value>The UTC time when response has been sent.</value>
|
2020-11-15 09:03:27 -07:00
|
|
|
public DateTime ResponseTransmissionTime { get; }
|
2020-04-16 07:02:52 -07:00
|
|
|
}
|
|
|
|
}
|