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