mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-23 07:36:31 +01:00
23 lines
600 B
C#
23 lines
600 B
C#
|
using System.Runtime.Serialization;
|
|||
|
|
|||
|
namespace TINK.Repository.Response
|
|||
|
{
|
|||
|
[DataContract]
|
|||
|
public class VersionindependentResponse
|
|||
|
{
|
|||
|
private CopriVersion _shareejson;
|
|||
|
|
|||
|
/// <summary> Root element for versions 4.0 and older. </summary>
|
|||
|
[DataMember]
|
|||
|
public CopriVersion tinkjson { get; private set; }
|
|||
|
|
|||
|
/// <summary> Root element from 4.1 and later. </summary>
|
|||
|
[DataMember]
|
|||
|
public CopriVersion shareejson
|
|||
|
{
|
|||
|
get => _shareejson ?? tinkjson;
|
|||
|
private set { _shareejson = value; }
|
|||
|
}
|
|||
|
}
|
|||
|
}
|