removed times from getlatest

This commit is contained in:
Daniel Schick 2024-06-11 09:47:36 +02:00
parent 129b8c8d49
commit 46d80e5611
3 changed files with 4 additions and 25 deletions

View File

@ -1,7 +1,7 @@
//----------------------
// <auto-generated>
// Generated REST API Client Code Generator v1.9.8.0 on 11.06.2024 08:29:39
// Generated REST API Client Code Generator v1.9.8.0 on 11.06.2024 09:44:14
// Using the tool OpenAPI Generator v7.4.0
// </auto-generated>
//----------------------
@ -7137,12 +7137,10 @@ namespace BreCalClient.misc.Model
/// Initializes a new instance of the <see cref="Latest" /> class.
/// </summary>
/// <param name="shipcalls">shipcalls.</param>
/// <param name="times">times.</param>
/// <param name="ship">ship.</param>
public Latest(DateTime? shipcalls = default(DateTime?), DateTime? times = default(DateTime?), DateTime? ship = default(DateTime?))
public Latest(DateTime? shipcalls = default(DateTime?), DateTime? ship = default(DateTime?))
{
this.Shipcalls = shipcalls;
this.Times = times;
this.Ship = ship;
}
/// <summary>
@ -7151,11 +7149,6 @@ namespace BreCalClient.misc.Model
[DataMember(Name = "shipcalls", EmitDefaultValue = true)]
public DateTime? Shipcalls { get; set; }
/// <summary>
/// Gets or Sets Times
/// </summary>
[DataMember(Name = "times", EmitDefaultValue = true)]
public DateTime? Times { get; set; }
/// <summary>
/// Gets or Sets Ship
/// </summary>
[DataMember(Name = "ship", EmitDefaultValue = true)]
@ -7169,7 +7162,6 @@ namespace BreCalClient.misc.Model
StringBuilder sb = new StringBuilder();
sb.Append("class Latest {\n");
sb.Append(" Shipcalls: ").Append(Shipcalls).Append("\n");
sb.Append(" Times: ").Append(Times).Append("\n");
sb.Append(" Ship: ").Append(Ship).Append("\n");
sb.Append("}\n");
return sb.ToString();
@ -7208,11 +7200,6 @@ namespace BreCalClient.misc.Model
(this.Shipcalls != null &&
this.Shipcalls.Equals(input.Shipcalls))
) &&
(
this.Times == input.Times ||
(this.Times != null &&
this.Times.Equals(input.Times))
) &&
(
this.Ship == input.Ship ||
(this.Ship != null &&
@ -7232,10 +7219,6 @@ namespace BreCalClient.misc.Model
{
hashCode = (hashCode * 59) + this.Shipcalls.GetHashCode();
}
if (this.Times != null)
{
hashCode = (hashCode * 59) + this.Times.GetHashCode();
}
if (this.Ship != null)
{
hashCode = (hashCode * 59) + this.Ship.GetHashCode();

View File

@ -486,10 +486,6 @@ components:
type: string
format: date-time
nullable: true
times:
type: string
format: date-time
nullable: true
ship:
type: string
format: date-time

View File

@ -39,7 +39,7 @@ namespace BreCalClient
#region Fields
//private static int _uiUpdateRunning = 0;
private static readonly SemaphoreSlim uiLock = new SemaphoreSlim(1);
private static readonly SemaphoreSlim uiLock = new(1);
private Credentials? _credentials;