mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2025-04-20 20:16:30 +02:00
Initial version.
This commit is contained in:
parent
193aaa1a56
commit
b72c67a53e
228 changed files with 25924 additions and 0 deletions
29
TINKLib/Services/CopriApi/ICopriCache.cs
Normal file
29
TINKLib/Services/CopriApi/ICopriCache.cs
Normal file
|
@ -0,0 +1,29 @@
|
|||
using TINK.Model.Repository;
|
||||
using TINK.Model.Repository.Response;
|
||||
|
||||
namespace TINK.Model.Services.CopriApi
|
||||
{
|
||||
public interface ICopriCache : ICopriServer
|
||||
{
|
||||
/// <summary> Gets a value indicating whether stations are expired or not.</summary>
|
||||
bool IsStationsExpired { get; }
|
||||
|
||||
/// <summary> Adds a stations all response to cache.</summary>
|
||||
/// <param name="stations">Stations to add.</param>
|
||||
void AddToCache(StationsAllResponse stations);
|
||||
|
||||
/// <summary> Gets a value indicating whether stations are expired or not.</summary>
|
||||
bool IsBikesAvailableExpired { get; }
|
||||
|
||||
/// <summary> Adds a bikes response to cache.</summary>
|
||||
/// <param name="bikes">Bikes to add.</param>
|
||||
void AddToCache(BikesAvailableResponse bikes);
|
||||
|
||||
/// <summary> Gets a value indicating whether stations are expired or not.</summary>
|
||||
bool IsBikesOccupiedExpired { get; }
|
||||
|
||||
/// <summary> Adds a bikes response to cache.</summary>
|
||||
/// <param name="bikes">Bikes to add.</param>
|
||||
void AddToCache(BikesReservedOccupiedResponse bikes);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue