bugfix create new: eta is not required any more
This commit is contained in:
parent
2d8a895e9f
commit
6079d1dc51
@ -1,8 +1,8 @@
|
|||||||
|
|
||||||
//----------------------
|
//----------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// Generated REST API Client Code Generator v1.8.4.0 on 09.10.2023 17:46:55
|
// Generated REST API Client Code Generator v1.8.7.0 on 13.10.2023 10:51:41
|
||||||
// Using the tool OpenAPI Generator v7.0.0
|
// Using the tool OpenAPI Generator v7.0.1
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//----------------------
|
//----------------------
|
||||||
|
|
||||||
@ -6623,7 +6623,7 @@ namespace BreCalClient.misc.Model
|
|||||||
/// <param name="id">The unique identifier of a ship call (required).</param>
|
/// <param name="id">The unique identifier of a ship call (required).</param>
|
||||||
/// <param name="shipId">shipId (required).</param>
|
/// <param name="shipId">shipId (required).</param>
|
||||||
/// <param name="type">type (required).</param>
|
/// <param name="type">type (required).</param>
|
||||||
/// <param name="eta">eta (required).</param>
|
/// <param name="eta">eta.</param>
|
||||||
/// <param name="voyage">voyage.</param>
|
/// <param name="voyage">voyage.</param>
|
||||||
/// <param name="etd">etd.</param>
|
/// <param name="etd">etd.</param>
|
||||||
/// <param name="arrivalBerthId">arrivalBerthId.</param>
|
/// <param name="arrivalBerthId">arrivalBerthId.</param>
|
||||||
@ -6653,11 +6653,6 @@ namespace BreCalClient.misc.Model
|
|||||||
this.Id = id;
|
this.Id = id;
|
||||||
this.ShipId = shipId;
|
this.ShipId = shipId;
|
||||||
this.Type = type;
|
this.Type = type;
|
||||||
// to ensure "eta" is required (not null)
|
|
||||||
if (eta == null)
|
|
||||||
{
|
|
||||||
throw new ArgumentNullException("eta is a required property for Shipcall and cannot be null");
|
|
||||||
}
|
|
||||||
this.Eta = eta;
|
this.Eta = eta;
|
||||||
this.Voyage = voyage;
|
this.Voyage = voyage;
|
||||||
this.Etd = etd;
|
this.Etd = etd;
|
||||||
@ -6703,7 +6698,7 @@ namespace BreCalClient.misc.Model
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Eta
|
/// Gets or Sets Eta
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[DataMember(Name = "eta", IsRequired = true, EmitDefaultValue = true)]
|
[DataMember(Name = "eta", EmitDefaultValue = true)]
|
||||||
public DateTime? Eta { get; set; }
|
public DateTime? Eta { get; set; }
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or Sets Voyage
|
/// Gets or Sets Voyage
|
||||||
|
|||||||
@ -349,7 +349,6 @@ components:
|
|||||||
- id
|
- id
|
||||||
- ship_id
|
- ship_id
|
||||||
- type
|
- type
|
||||||
- eta
|
|
||||||
properties:
|
properties:
|
||||||
id:
|
id:
|
||||||
$ref: "#/components/schemas/shipcallId"
|
$ref: "#/components/schemas/shipcallId"
|
||||||
|
|||||||
Reference in New Issue
Block a user