2024-04-09 12:53:23 +02:00
|
|
|
using System.Runtime.Serialization;
|
|
|
|
using Newtonsoft.Json;
|
2021-05-13 20:03:07 +02:00
|
|
|
|
2024-04-09 12:53:23 +02:00
|
|
|
namespace ShareeBike.Repository.Response
|
2021-05-13 20:03:07 +02:00
|
|
|
{
|
2022-09-06 16:08:19 +02:00
|
|
|
[DataContract]
|
2024-04-09 12:53:23 +02:00
|
|
|
[JsonObject(ItemNullValueHandling = NullValueHandling.Ignore)]
|
2022-09-06 16:08:19 +02:00
|
|
|
public class AuthorizationResponse : ResponseBase
|
|
|
|
{
|
|
|
|
[DataMember]
|
|
|
|
public int debuglevel { get; private set; }
|
2021-05-13 20:03:07 +02:00
|
|
|
|
2024-04-09 12:53:23 +02:00
|
|
|
/// <summary> Holds the group of the bike (ShareeBike, Citybike, ...).</summary>
|
2022-09-06 16:08:19 +02:00
|
|
|
[DataMember]
|
|
|
|
public string[] user_group { get; private set; }
|
2022-01-04 18:59:16 +01:00
|
|
|
|
2022-09-06 16:08:19 +02:00
|
|
|
/// <summary> Holds value of 0 if agb were not acknowledged.</summary>
|
|
|
|
[DataMember]
|
|
|
|
public string agb_checked { get; private set; }
|
|
|
|
}
|
2021-05-13 20:03:07 +02:00
|
|
|
}
|