using System.Runtime.Serialization;
using Newtonsoft.Json;
namespace ShareeBike.Model.State
{
///
/// Represents the state feedback pending.
///
[DataContract]
public sealed class StateFeedbackPendingInfo : BaseState, IBaseState
{
///
/// Constructs state info object representing feedback pending.
///
public StateFeedbackPendingInfo() : base(InUseStateEnum.FeedbackPending) { }
/// Constructor for Json serialization.
/// Unused value.
[JsonConstructor]
private StateFeedbackPendingInfo(InUseStateEnum value) : base(InUseStateEnum.FeedbackPending) { }
///
/// Gets the info that state is disposable.
/// Setter exists only for serialization purposes.
///
public override InUseStateEnum Value => InUseStateEnum.FeedbackPending;
}
}