mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 10:36:30 +01:00
28 lines
884 B
C#
28 lines
884 B
C#
using System.Runtime.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace ShareeBike.Model.State
|
|
{
|
|
/// <summary>
|
|
/// Represents the state feedback pending.
|
|
/// </summary>
|
|
[DataContract]
|
|
public sealed class StateFeedbackPendingInfo : BaseState, IBaseState
|
|
{
|
|
/// <summary>
|
|
/// Constructs state info object representing feedback pending.
|
|
/// </summary>
|
|
public StateFeedbackPendingInfo() : base(InUseStateEnum.FeedbackPending) { }
|
|
|
|
/// <summary> Constructor for Json serialization. </summary>
|
|
/// <param name="value">Unused value.</param>
|
|
[JsonConstructor]
|
|
private StateFeedbackPendingInfo(InUseStateEnum value) : base(InUseStateEnum.FeedbackPending) { }
|
|
|
|
/// <summary>
|
|
/// Gets the info that state is disposable.
|
|
/// Setter exists only for serialization purposes.
|
|
/// </summary>
|
|
public override InUseStateEnum Value => InUseStateEnum.FeedbackPending;
|
|
}
|
|
}
|