From 65ffea1b8c8fed5befe21c6f5d3ea9d8851fe745 Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Thu, 17 Aug 2023 11:06:34 +0200 Subject: [PATCH] Show arrows for shipcall types --- misc/BreCalApi.cs | 919 ++++++++++++++++---------- src/BreCalClient/ShipcallControl.xaml | 35 +- 2 files changed, 598 insertions(+), 356 deletions(-) diff --git a/misc/BreCalApi.cs b/misc/BreCalApi.cs index 1ae94bc..c16d7a9 100644 --- a/misc/BreCalApi.cs +++ b/misc/BreCalApi.cs @@ -1,19 +1,19 @@ //---------------------- // -// Generated REST API Client Code Generator v1.7.17.0 on 17.08.2023 08:38:17 +// Generated REST API Client Code Generator v1.7.17.0 on 17.08.2023 10:11:31 // Using the tool OpenAPI Generator v6.6.0 // //---------------------- -using BreCalClient.......misc.Client; -using BreCalClient.......misc.Model; +using BreCalClient.misc.Client; +using BreCalClient.misc.Model; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Linq; using Newtonsoft.Json.Serialization; -using OpenAPIDateConverter = BreCalClient.......misc.Client.OpenAPIDateConverter; +using OpenAPIDateConverter = BreCalClient.misc.Client.OpenAPIDateConverter; using Polly; using RestSharp; using RestSharp.Serializers; @@ -48,7 +48,7 @@ using System.Threading.Tasks; * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Api +namespace BreCalClient.misc.Api { /// /// Represents a collection of functions to interact with the API endpoints @@ -59,7 +59,7 @@ namespace BreCalClient.......misc.Api /// /// Gets a list of all berths registered /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// List<Berth> List BerthsGet(int operationIndex = 0); @@ -69,14 +69,14 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of List<Berth> ApiResponse> BerthsGetWithHttpInfo(int operationIndex = 0); /// /// Returns a JWT session token and user data if successful /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Login credentials /// Index associated with the operation. /// LoginResult @@ -87,7 +87,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Login credentials /// Index associated with the operation. /// ApiResponse of LoginResult @@ -95,7 +95,7 @@ namespace BreCalClient.......misc.Api /// /// Gets a list of notifications pursuant to a specified participant and ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of participant**. *Example: 2*. Id returned through loading of participant /// **Id of ship call**. *Example: 52*. Id given in ship call list /// Index associated with the operation. @@ -107,7 +107,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of participant**. *Example: 2*. Id returned through loading of participant /// **Id of ship call**. *Example: 52*. Id given in ship call list /// Index associated with the operation. @@ -116,7 +116,7 @@ namespace BreCalClient.......misc.Api /// /// gets a particular participant entry corresponding to user id /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of user**. *Example: 2*. User id returned by verify call. (optional) /// Index associated with the operation. /// List<Participant> @@ -127,7 +127,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of user**. *Example: 2*. User id returned by verify call. (optional) /// Index associated with the operation. /// ApiResponse of List<Participant> @@ -135,7 +135,7 @@ namespace BreCalClient.......misc.Api /// /// Gets a list of ship calls /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// List<Shipcall> List ShipcallsGet(int operationIndex = 0); @@ -145,14 +145,14 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of List<Shipcall> ApiResponse> ShipcallsGetWithHttpInfo(int operationIndex = 0); /// /// Create a new ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. **Do not** provide id parameter. /// Index associated with the operation. /// @@ -163,7 +163,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. **Do not** provide id parameter. /// Index associated with the operation. /// ApiResponse of Object(void) @@ -171,7 +171,7 @@ namespace BreCalClient.......misc.Api /// /// Updates a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. The id parameter is **required**. /// Index associated with the operation. /// @@ -182,7 +182,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. The id parameter is **required**. /// Index associated with the operation. /// ApiResponse of Object(void) @@ -190,7 +190,7 @@ namespace BreCalClient.......misc.Api /// /// gets a list of registered shipcalls /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// List<Ship> List ShipsGet(int operationIndex = 0); @@ -200,14 +200,14 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of List<Ship> ApiResponse> ShipsGetWithHttpInfo(int operationIndex = 0); /// /// Delete a times entry for a ship call. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// @@ -218,7 +218,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Object(void) @@ -226,7 +226,7 @@ namespace BreCalClient.......misc.Api /// /// Get all recorded times for a a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id**. *Example: 42*. Id of referenced ship call. (optional) /// Index associated with the operation. /// List<Times> @@ -237,7 +237,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id**. *Example: 42*. Id of referenced ship call. (optional) /// Index associated with the operation. /// ApiResponse of List<Times> @@ -245,7 +245,7 @@ namespace BreCalClient.......misc.Api /// /// Create a new times entry for a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. **Do not** provide id parameter. /// Index associated with the operation. /// @@ -256,7 +256,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. **Do not** provide id parameter. /// Index associated with the operation. /// ApiResponse of Object(void) @@ -264,7 +264,7 @@ namespace BreCalClient.......misc.Api /// /// Update a times entry for a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. The id parameter is **required**. /// Index associated with the operation. /// @@ -275,7 +275,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. The id parameter is **required**. /// Index associated with the operation. /// ApiResponse of Object(void) @@ -294,7 +294,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Berth> @@ -305,7 +305,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Berth>) @@ -316,7 +316,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Login credentials /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -328,7 +328,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Login credentials /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -340,7 +340,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of participant**. *Example: 2*. Id returned through loading of participant /// **Id of ship call**. *Example: 52*. Id given in ship call list /// Index associated with the operation. @@ -353,7 +353,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of participant**. *Example: 2*. Id returned through loading of participant /// **Id of ship call**. *Example: 52*. Id given in ship call list /// Index associated with the operation. @@ -366,7 +366,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of user**. *Example: 2*. User id returned by verify call. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -378,7 +378,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of user**. *Example: 2*. User id returned by verify call. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -390,7 +390,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Shipcall> @@ -401,7 +401,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Shipcall>) @@ -412,7 +412,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. **Do not** provide id parameter. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -424,7 +424,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. **Do not** provide id parameter. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -436,7 +436,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. The id parameter is **required**. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -448,7 +448,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. The id parameter is **required**. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -460,7 +460,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Ship> @@ -471,7 +471,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Ship>) @@ -482,7 +482,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -494,7 +494,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -506,7 +506,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id**. *Example: 42*. Id of referenced ship call. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -518,7 +518,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id**. *Example: 42*. Id of referenced ship call. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -530,7 +530,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. **Do not** provide id parameter. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -542,7 +542,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. **Do not** provide id parameter. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -554,7 +554,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. The id parameter is **required**. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -566,7 +566,7 @@ namespace BreCalClient.......misc.Api /// /// /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. The id parameter is **required**. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -585,7 +585,7 @@ namespace BreCalClient.......misc.Api /// public partial class DefaultApi : IDefaultApi { - private BreCalClient.......misc.Client.ExceptionFactory _exceptionFactory = (name, response) => null; + private BreCalClient.misc.Client.ExceptionFactory _exceptionFactory = (name, response) => null; /// /// Initializes a new instance of the class. /// @@ -599,13 +599,13 @@ namespace BreCalClient.......misc.Api /// public DefaultApi(string basePath) { - this.Configuration = BreCalClient.......misc.Client.Configuration.MergeConfigurations( - BreCalClient.......misc.Client.GlobalConfiguration.Instance, - new BreCalClient.......misc.Client.Configuration { BasePath = basePath } + this.Configuration = BreCalClient.misc.Client.Configuration.MergeConfigurations( + BreCalClient.misc.Client.GlobalConfiguration.Instance, + new BreCalClient.misc.Client.Configuration { BasePath = basePath } ); - this.Client = new BreCalClient.......misc.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new BreCalClient.......misc.Client.ApiClient(this.Configuration.BasePath); - this.ExceptionFactory = BreCalClient.......misc.Client.Configuration.DefaultExceptionFactory; + this.Client = new BreCalClient.misc.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new BreCalClient.misc.Client.ApiClient(this.Configuration.BasePath); + this.ExceptionFactory = BreCalClient.misc.Client.Configuration.DefaultExceptionFactory; } /// /// Initializes a new instance of the class @@ -613,16 +613,16 @@ namespace BreCalClient.......misc.Api /// /// An instance of Configuration /// - public DefaultApi(BreCalClient.......misc.Client.Configuration configuration) + public DefaultApi(BreCalClient.misc.Client.Configuration configuration) { if (configuration == null) throw new ArgumentNullException("configuration"); - this.Configuration = BreCalClient.......misc.Client.Configuration.MergeConfigurations( - BreCalClient.......misc.Client.GlobalConfiguration.Instance, + this.Configuration = BreCalClient.misc.Client.Configuration.MergeConfigurations( + BreCalClient.misc.Client.GlobalConfiguration.Instance, configuration ); - this.Client = new BreCalClient.......misc.Client.ApiClient(this.Configuration.BasePath); - this.AsynchronousClient = new BreCalClient.......misc.Client.ApiClient(this.Configuration.BasePath); - ExceptionFactory = BreCalClient.......misc.Client.Configuration.DefaultExceptionFactory; + this.Client = new BreCalClient.misc.Client.ApiClient(this.Configuration.BasePath); + this.AsynchronousClient = new BreCalClient.misc.Client.ApiClient(this.Configuration.BasePath); + ExceptionFactory = BreCalClient.misc.Client.Configuration.DefaultExceptionFactory; } /// /// Initializes a new instance of the class @@ -631,7 +631,7 @@ namespace BreCalClient.......misc.Api /// The client interface for synchronous API access. /// The client interface for asynchronous API access. /// The configuration object. - public DefaultApi(BreCalClient.......misc.Client.ISynchronousClient client, BreCalClient.......misc.Client.IAsynchronousClient asyncClient, BreCalClient.......misc.Client.IReadableConfiguration configuration) + public DefaultApi(BreCalClient.misc.Client.ISynchronousClient client, BreCalClient.misc.Client.IAsynchronousClient asyncClient, BreCalClient.misc.Client.IReadableConfiguration configuration) { if (client == null) throw new ArgumentNullException("client"); if (asyncClient == null) throw new ArgumentNullException("asyncClient"); @@ -639,16 +639,16 @@ namespace BreCalClient.......misc.Api this.Client = client; this.AsynchronousClient = asyncClient; this.Configuration = configuration; - this.ExceptionFactory = BreCalClient.......misc.Client.Configuration.DefaultExceptionFactory; + this.ExceptionFactory = BreCalClient.misc.Client.Configuration.DefaultExceptionFactory; } /// /// The client for accessing this underlying API asynchronously. /// - public BreCalClient.......misc.Client.IAsynchronousClient AsynchronousClient { get; set; } + public BreCalClient.misc.Client.IAsynchronousClient AsynchronousClient { get; set; } /// /// The client for accessing this underlying API synchronously. /// - public BreCalClient.......misc.Client.ISynchronousClient Client { get; set; } + public BreCalClient.misc.Client.ISynchronousClient Client { get; set; } /// /// Gets the base path of the API client. /// @@ -661,11 +661,11 @@ namespace BreCalClient.......misc.Api /// Gets or sets the configuration object /// /// An instance of the Configuration - public BreCalClient.......misc.Client.IReadableConfiguration Configuration { get; set; } + public BreCalClient.misc.Client.IReadableConfiguration Configuration { get; set; } /// /// Provides a factory method hook for the creation of exceptions. /// - public BreCalClient.......misc.Client.ExceptionFactory ExceptionFactory + public BreCalClient.misc.Client.ExceptionFactory ExceptionFactory { get { @@ -680,35 +680,35 @@ namespace BreCalClient.......misc.Api /// /// Gets a list of all berths registered /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// List<Berth> public List BerthsGet(int operationIndex = 0) { - BreCalClient.......misc.Client.ApiResponse> localVarResponse = BerthsGetWithHttpInfo(); + BreCalClient.misc.Client.ApiResponse> localVarResponse = BerthsGetWithHttpInfo(); return localVarResponse.Data; } /// /// Gets a list of all berths registered /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of List<Berth> - public BreCalClient.......misc.Client.ApiResponse> BerthsGetWithHttpInfo(int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse> BerthsGetWithHttpInfo(int operationIndex = 0) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -735,37 +735,37 @@ namespace BreCalClient.......misc.Api /// /// Gets a list of all berths registered /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Berth> public async System.Threading.Tasks.Task> BerthsGetAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.ApiResponse> localVarResponse = await BerthsGetWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + BreCalClient.misc.Client.ApiResponse> localVarResponse = await BerthsGetWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Gets a list of all berths registered /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Berth>) - public async System.Threading.Tasks.Task>> BerthsGetWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> BerthsGetWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -792,30 +792,30 @@ namespace BreCalClient.......misc.Api /// /// Returns a JWT session token and user data if successful /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Login credentials /// Index associated with the operation. /// LoginResult public LoginResult LoginPost(Credentials credentials, int operationIndex = 0) { - BreCalClient.......misc.Client.ApiResponse localVarResponse = LoginPostWithHttpInfo(credentials); + BreCalClient.misc.Client.ApiResponse localVarResponse = LoginPostWithHttpInfo(credentials); return localVarResponse.Data; } /// /// Returns a JWT session token and user data if successful /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Login credentials /// Index associated with the operation. /// ApiResponse of LoginResult - public BreCalClient.......misc.Client.ApiResponse LoginPostWithHttpInfo(Credentials credentials, int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse LoginPostWithHttpInfo(Credentials credentials, int operationIndex = 0) { // verify the required parameter 'credentials' is set if (credentials == null) { - throw new BreCalClient.......misc.Client.ApiException(400, "Missing required parameter 'credentials' when calling DefaultApi->LoginPost"); + throw new BreCalClient.misc.Client.ApiException(400, "Missing required parameter 'credentials' when calling DefaultApi->LoginPost"); } - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; @@ -823,12 +823,12 @@ namespace BreCalClient.......misc.Api string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -856,32 +856,32 @@ namespace BreCalClient.......misc.Api /// /// Returns a JWT session token and user data if successful /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Login credentials /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of LoginResult public async System.Threading.Tasks.Task LoginPostAsync(Credentials credentials, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.ApiResponse localVarResponse = await LoginPostWithHttpInfoAsync(credentials, operationIndex, cancellationToken).ConfigureAwait(false); + BreCalClient.misc.Client.ApiResponse localVarResponse = await LoginPostWithHttpInfoAsync(credentials, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Returns a JWT session token and user data if successful /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Login credentials /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (LoginResult) - public async System.Threading.Tasks.Task> LoginPostWithHttpInfoAsync(Credentials credentials, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> LoginPostWithHttpInfoAsync(Credentials credentials, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'credentials' is set if (credentials == null) { - throw new BreCalClient.......misc.Client.ApiException(400, "Missing required parameter 'credentials' when calling DefaultApi->LoginPost"); + throw new BreCalClient.misc.Client.ApiException(400, "Missing required parameter 'credentials' when calling DefaultApi->LoginPost"); } - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; @@ -889,12 +889,12 @@ namespace BreCalClient.......misc.Api string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -922,45 +922,45 @@ namespace BreCalClient.......misc.Api /// /// Gets a list of notifications pursuant to a specified participant and ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of participant**. *Example: 2*. Id returned through loading of participant /// **Id of ship call**. *Example: 52*. Id given in ship call list /// Index associated with the operation. /// Notification public Notification NotificationsGet(int participantId, int shipcallId, int operationIndex = 0) { - BreCalClient.......misc.Client.ApiResponse localVarResponse = NotificationsGetWithHttpInfo(participantId, shipcallId); + BreCalClient.misc.Client.ApiResponse localVarResponse = NotificationsGetWithHttpInfo(participantId, shipcallId); return localVarResponse.Data; } /// /// Gets a list of notifications pursuant to a specified participant and ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of participant**. *Example: 2*. Id returned through loading of participant /// **Id of ship call**. *Example: 52*. Id given in ship call list /// Index associated with the operation. /// ApiResponse of Notification - public BreCalClient.......misc.Client.ApiResponse NotificationsGetWithHttpInfo(int participantId, int shipcallId, int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse NotificationsGetWithHttpInfo(int participantId, int shipcallId, int operationIndex = 0) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(BreCalClient.......misc.Client.ClientUtils.ParameterToMultiMap("", "participant_id", participantId)); - localVarRequestOptions.QueryParameters.Add(BreCalClient.......misc.Client.ClientUtils.ParameterToMultiMap("", "shipcall_id", shipcallId)); + localVarRequestOptions.QueryParameters.Add(BreCalClient.misc.Client.ClientUtils.ParameterToMultiMap("", "participant_id", participantId)); + localVarRequestOptions.QueryParameters.Add(BreCalClient.misc.Client.ClientUtils.ParameterToMultiMap("", "shipcall_id", shipcallId)); localVarRequestOptions.Operation = "DefaultApi.NotificationsGet"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -983,7 +983,7 @@ namespace BreCalClient.......misc.Api /// /// Gets a list of notifications pursuant to a specified participant and ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of participant**. *Example: 2*. Id returned through loading of participant /// **Id of ship call**. *Example: 52*. Id given in ship call list /// Index associated with the operation. @@ -991,39 +991,39 @@ namespace BreCalClient.......misc.Api /// Task of Notification public async System.Threading.Tasks.Task NotificationsGetAsync(int participantId, int shipcallId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.ApiResponse localVarResponse = await NotificationsGetWithHttpInfoAsync(participantId, shipcallId, operationIndex, cancellationToken).ConfigureAwait(false); + BreCalClient.misc.Client.ApiResponse localVarResponse = await NotificationsGetWithHttpInfoAsync(participantId, shipcallId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Gets a list of notifications pursuant to a specified participant and ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of participant**. *Example: 2*. Id returned through loading of participant /// **Id of ship call**. *Example: 52*. Id given in ship call list /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (Notification) - public async System.Threading.Tasks.Task> NotificationsGetWithHttpInfoAsync(int participantId, int shipcallId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> NotificationsGetWithHttpInfoAsync(int participantId, int shipcallId, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(BreCalClient.......misc.Client.ClientUtils.ParameterToMultiMap("", "participant_id", participantId)); - localVarRequestOptions.QueryParameters.Add(BreCalClient.......misc.Client.ClientUtils.ParameterToMultiMap("", "shipcall_id", shipcallId)); + localVarRequestOptions.QueryParameters.Add(BreCalClient.misc.Client.ClientUtils.ParameterToMultiMap("", "participant_id", participantId)); + localVarRequestOptions.QueryParameters.Add(BreCalClient.misc.Client.ClientUtils.ParameterToMultiMap("", "shipcall_id", shipcallId)); localVarRequestOptions.Operation = "DefaultApi.NotificationsGet"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -1046,44 +1046,44 @@ namespace BreCalClient.......misc.Api /// /// gets a particular participant entry corresponding to user id /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of user**. *Example: 2*. User id returned by verify call. (optional) /// Index associated with the operation. /// List<Participant> public List ParticipantsGet(int? userId = default(int?), int operationIndex = 0) { - BreCalClient.......misc.Client.ApiResponse> localVarResponse = ParticipantsGetWithHttpInfo(userId); + BreCalClient.misc.Client.ApiResponse> localVarResponse = ParticipantsGetWithHttpInfo(userId); return localVarResponse.Data; } /// /// gets a particular participant entry corresponding to user id /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of user**. *Example: 2*. User id returned by verify call. (optional) /// Index associated with the operation. /// ApiResponse of List<Participant> - public BreCalClient.......misc.Client.ApiResponse> ParticipantsGetWithHttpInfo(int? userId = default(int?), int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse> ParticipantsGetWithHttpInfo(int? userId = default(int?), int operationIndex = 0) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } if (userId != null) { - localVarRequestOptions.QueryParameters.Add(BreCalClient.......misc.Client.ClientUtils.ParameterToMultiMap("", "user_id", userId)); + localVarRequestOptions.QueryParameters.Add(BreCalClient.misc.Client.ClientUtils.ParameterToMultiMap("", "user_id", userId)); } localVarRequestOptions.Operation = "DefaultApi.ParticipantsGet"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1107,46 +1107,46 @@ namespace BreCalClient.......misc.Api /// /// gets a particular participant entry corresponding to user id /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of user**. *Example: 2*. User id returned by verify call. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Participant> public async System.Threading.Tasks.Task> ParticipantsGetAsync(int? userId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.ApiResponse> localVarResponse = await ParticipantsGetWithHttpInfoAsync(userId, operationIndex, cancellationToken).ConfigureAwait(false); + BreCalClient.misc.Client.ApiResponse> localVarResponse = await ParticipantsGetWithHttpInfoAsync(userId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// gets a particular participant entry corresponding to user id /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id of user**. *Example: 2*. User id returned by verify call. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Participant>) - public async System.Threading.Tasks.Task>> ParticipantsGetWithHttpInfoAsync(int? userId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ParticipantsGetWithHttpInfoAsync(int? userId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } if (userId != null) { - localVarRequestOptions.QueryParameters.Add(BreCalClient.......misc.Client.ClientUtils.ParameterToMultiMap("", "user_id", userId)); + localVarRequestOptions.QueryParameters.Add(BreCalClient.misc.Client.ClientUtils.ParameterToMultiMap("", "user_id", userId)); } localVarRequestOptions.Operation = "DefaultApi.ParticipantsGet"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1170,35 +1170,35 @@ namespace BreCalClient.......misc.Api /// /// Gets a list of ship calls /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// List<Shipcall> public List ShipcallsGet(int operationIndex = 0) { - BreCalClient.......misc.Client.ApiResponse> localVarResponse = ShipcallsGetWithHttpInfo(); + BreCalClient.misc.Client.ApiResponse> localVarResponse = ShipcallsGetWithHttpInfo(); return localVarResponse.Data; } /// /// Gets a list of ship calls /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of List<Shipcall> - public BreCalClient.......misc.Client.ApiResponse> ShipcallsGetWithHttpInfo(int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse> ShipcallsGetWithHttpInfo(int operationIndex = 0) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1225,37 +1225,37 @@ namespace BreCalClient.......misc.Api /// /// Gets a list of ship calls /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Shipcall> public async System.Threading.Tasks.Task> ShipcallsGetAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.ApiResponse> localVarResponse = await ShipcallsGetWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + BreCalClient.misc.Client.ApiResponse> localVarResponse = await ShipcallsGetWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Gets a list of ship calls /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Shipcall>) - public async System.Threading.Tasks.Task>> ShipcallsGetWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ShipcallsGetWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1282,7 +1282,7 @@ namespace BreCalClient.......misc.Api /// /// Create a new ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. **Do not** provide id parameter. /// Index associated with the operation. /// @@ -1293,18 +1293,18 @@ namespace BreCalClient.......misc.Api /// /// Create a new ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. **Do not** provide id parameter. /// Index associated with the operation. /// ApiResponse of Object(void) - public BreCalClient.......misc.Client.ApiResponse ShipcallsPostWithHttpInfo(Shipcall shipcall, int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse ShipcallsPostWithHttpInfo(Shipcall shipcall, int operationIndex = 0) { // verify the required parameter 'shipcall' is set if (shipcall == null) { - throw new BreCalClient.......misc.Client.ApiException(400, "Missing required parameter 'shipcall' when calling DefaultApi->ShipcallsPost"); + throw new BreCalClient.misc.Client.ApiException(400, "Missing required parameter 'shipcall' when calling DefaultApi->ShipcallsPost"); } - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; @@ -1312,12 +1312,12 @@ namespace BreCalClient.......misc.Api string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1345,7 +1345,7 @@ namespace BreCalClient.......misc.Api /// /// Create a new ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. **Do not** provide id parameter. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1357,19 +1357,19 @@ namespace BreCalClient.......misc.Api /// /// Create a new ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. **Do not** provide id parameter. /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ShipcallsPostWithHttpInfoAsync(Shipcall shipcall, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ShipcallsPostWithHttpInfoAsync(Shipcall shipcall, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'shipcall' is set if (shipcall == null) { - throw new BreCalClient.......misc.Client.ApiException(400, "Missing required parameter 'shipcall' when calling DefaultApi->ShipcallsPost"); + throw new BreCalClient.misc.Client.ApiException(400, "Missing required parameter 'shipcall' when calling DefaultApi->ShipcallsPost"); } - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; @@ -1377,12 +1377,12 @@ namespace BreCalClient.......misc.Api string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1410,7 +1410,7 @@ namespace BreCalClient.......misc.Api /// /// Updates a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. The id parameter is **required**. /// Index associated with the operation. /// @@ -1421,18 +1421,18 @@ namespace BreCalClient.......misc.Api /// /// Updates a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. The id parameter is **required**. /// Index associated with the operation. /// ApiResponse of Object(void) - public BreCalClient.......misc.Client.ApiResponse ShipcallsPutWithHttpInfo(Shipcall shipcall, int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse ShipcallsPutWithHttpInfo(Shipcall shipcall, int operationIndex = 0) { // verify the required parameter 'shipcall' is set if (shipcall == null) { - throw new BreCalClient.......misc.Client.ApiException(400, "Missing required parameter 'shipcall' when calling DefaultApi->ShipcallsPut"); + throw new BreCalClient.misc.Client.ApiException(400, "Missing required parameter 'shipcall' when calling DefaultApi->ShipcallsPut"); } - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; @@ -1440,12 +1440,12 @@ namespace BreCalClient.......misc.Api string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1473,7 +1473,7 @@ namespace BreCalClient.......misc.Api /// /// Updates a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. The id parameter is **required**. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1485,19 +1485,19 @@ namespace BreCalClient.......misc.Api /// /// Updates a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Creates a new ship call. The id parameter is **required**. /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> ShipcallsPutWithHttpInfoAsync(Shipcall shipcall, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> ShipcallsPutWithHttpInfoAsync(Shipcall shipcall, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'shipcall' is set if (shipcall == null) { - throw new BreCalClient.......misc.Client.ApiException(400, "Missing required parameter 'shipcall' when calling DefaultApi->ShipcallsPut"); + throw new BreCalClient.misc.Client.ApiException(400, "Missing required parameter 'shipcall' when calling DefaultApi->ShipcallsPut"); } - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; @@ -1505,12 +1505,12 @@ namespace BreCalClient.......misc.Api string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1538,35 +1538,35 @@ namespace BreCalClient.......misc.Api /// /// gets a list of registered shipcalls /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// List<Ship> public List ShipsGet(int operationIndex = 0) { - BreCalClient.......misc.Client.ApiResponse> localVarResponse = ShipsGetWithHttpInfo(); + BreCalClient.misc.Client.ApiResponse> localVarResponse = ShipsGetWithHttpInfo(); return localVarResponse.Data; } /// /// gets a list of registered shipcalls /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// ApiResponse of List<Ship> - public BreCalClient.......misc.Client.ApiResponse> ShipsGetWithHttpInfo(int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse> ShipsGetWithHttpInfo(int operationIndex = 0) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1593,37 +1593,37 @@ namespace BreCalClient.......misc.Api /// /// gets a list of registered shipcalls /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Ship> public async System.Threading.Tasks.Task> ShipsGetAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.ApiResponse> localVarResponse = await ShipsGetWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); + BreCalClient.misc.Client.ApiResponse> localVarResponse = await ShipsGetWithHttpInfoAsync(operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// gets a list of registered shipcalls /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Ship>) - public async System.Threading.Tasks.Task>> ShipsGetWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> ShipsGetWithHttpInfoAsync(int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1650,7 +1650,7 @@ namespace BreCalClient.......misc.Api /// /// Delete a times entry for a ship call. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// @@ -1661,30 +1661,30 @@ namespace BreCalClient.......misc.Api /// /// Delete a times entry for a ship call. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// ApiResponse of Object(void) - public BreCalClient.......misc.Client.ApiResponse TimesDeleteWithHttpInfo(int id, int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse TimesDeleteWithHttpInfo(int id, int operationIndex = 0) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(BreCalClient.......misc.Client.ClientUtils.ParameterToMultiMap("", "id", id)); + localVarRequestOptions.QueryParameters.Add(BreCalClient.misc.Client.ClientUtils.ParameterToMultiMap("", "id", id)); localVarRequestOptions.Operation = "DefaultApi.TimesDelete"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -1707,7 +1707,7 @@ namespace BreCalClient.......misc.Api /// /// Delete a times entry for a ship call. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1719,31 +1719,31 @@ namespace BreCalClient.......misc.Api /// /// Delete a times entry for a ship call. /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TimesDeleteWithHttpInfoAsync(int id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TimesDeleteWithHttpInfoAsync(int id, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } - localVarRequestOptions.QueryParameters.Add(BreCalClient.......misc.Client.ClientUtils.ParameterToMultiMap("", "id", id)); + localVarRequestOptions.QueryParameters.Add(BreCalClient.misc.Client.ClientUtils.ParameterToMultiMap("", "id", id)); localVarRequestOptions.Operation = "DefaultApi.TimesDelete"; localVarRequestOptions.OperationIndex = operationIndex; // authentication (ApiKey) required @@ -1766,44 +1766,44 @@ namespace BreCalClient.......misc.Api /// /// Get all recorded times for a a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id**. *Example: 42*. Id of referenced ship call. (optional) /// Index associated with the operation. /// List<Times> public List TimesGet(int? shipcallId = default(int?), int operationIndex = 0) { - BreCalClient.......misc.Client.ApiResponse> localVarResponse = TimesGetWithHttpInfo(shipcallId); + BreCalClient.misc.Client.ApiResponse> localVarResponse = TimesGetWithHttpInfo(shipcallId); return localVarResponse.Data; } /// /// Get all recorded times for a a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id**. *Example: 42*. Id of referenced ship call. (optional) /// Index associated with the operation. /// ApiResponse of List<Times> - public BreCalClient.......misc.Client.ApiResponse> TimesGetWithHttpInfo(int? shipcallId = default(int?), int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse> TimesGetWithHttpInfo(int? shipcallId = default(int?), int operationIndex = 0) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } if (shipcallId != null) { - localVarRequestOptions.QueryParameters.Add(BreCalClient.......misc.Client.ClientUtils.ParameterToMultiMap("", "shipcall_id", shipcallId)); + localVarRequestOptions.QueryParameters.Add(BreCalClient.misc.Client.ClientUtils.ParameterToMultiMap("", "shipcall_id", shipcallId)); } localVarRequestOptions.Operation = "DefaultApi.TimesGet"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1827,46 +1827,46 @@ namespace BreCalClient.......misc.Api /// /// Get all recorded times for a a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id**. *Example: 42*. Id of referenced ship call. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of List<Times> public async System.Threading.Tasks.Task> TimesGetAsync(int? shipcallId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.ApiResponse> localVarResponse = await TimesGetWithHttpInfoAsync(shipcallId, operationIndex, cancellationToken).ConfigureAwait(false); + BreCalClient.misc.Client.ApiResponse> localVarResponse = await TimesGetWithHttpInfoAsync(shipcallId, operationIndex, cancellationToken).ConfigureAwait(false); return localVarResponse.Data; } /// /// Get all recorded times for a a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// **Id**. *Example: 42*. Id of referenced ship call. (optional) /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse (List<Times>) - public async System.Threading.Tasks.Task>> TimesGetWithHttpInfoAsync(int? shipcallId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task>> TimesGetWithHttpInfoAsync(int? shipcallId = default(int?), int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { }; // to determine the Accept header string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); } if (shipcallId != null) { - localVarRequestOptions.QueryParameters.Add(BreCalClient.......misc.Client.ClientUtils.ParameterToMultiMap("", "shipcall_id", shipcallId)); + localVarRequestOptions.QueryParameters.Add(BreCalClient.misc.Client.ClientUtils.ParameterToMultiMap("", "shipcall_id", shipcallId)); } localVarRequestOptions.Operation = "DefaultApi.TimesGet"; localVarRequestOptions.OperationIndex = operationIndex; @@ -1890,7 +1890,7 @@ namespace BreCalClient.......misc.Api /// /// Create a new times entry for a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. **Do not** provide id parameter. /// Index associated with the operation. /// @@ -1901,18 +1901,18 @@ namespace BreCalClient.......misc.Api /// /// Create a new times entry for a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. **Do not** provide id parameter. /// Index associated with the operation. /// ApiResponse of Object(void) - public BreCalClient.......misc.Client.ApiResponse TimesPostWithHttpInfo(Times times, int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse TimesPostWithHttpInfo(Times times, int operationIndex = 0) { // verify the required parameter 'times' is set if (times == null) { - throw new BreCalClient.......misc.Client.ApiException(400, "Missing required parameter 'times' when calling DefaultApi->TimesPost"); + throw new BreCalClient.misc.Client.ApiException(400, "Missing required parameter 'times' when calling DefaultApi->TimesPost"); } - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; @@ -1920,12 +1920,12 @@ namespace BreCalClient.......misc.Api string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -1953,7 +1953,7 @@ namespace BreCalClient.......misc.Api /// /// Create a new times entry for a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. **Do not** provide id parameter. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -1965,19 +1965,19 @@ namespace BreCalClient.......misc.Api /// /// Create a new times entry for a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. **Do not** provide id parameter. /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TimesPostWithHttpInfoAsync(Times times, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TimesPostWithHttpInfoAsync(Times times, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'times' is set if (times == null) { - throw new BreCalClient.......misc.Client.ApiException(400, "Missing required parameter 'times' when calling DefaultApi->TimesPost"); + throw new BreCalClient.misc.Client.ApiException(400, "Missing required parameter 'times' when calling DefaultApi->TimesPost"); } - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; @@ -1985,12 +1985,12 @@ namespace BreCalClient.......misc.Api string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -2018,7 +2018,7 @@ namespace BreCalClient.......misc.Api /// /// Update a times entry for a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. The id parameter is **required**. /// Index associated with the operation. /// @@ -2029,18 +2029,18 @@ namespace BreCalClient.......misc.Api /// /// Update a times entry for a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. The id parameter is **required**. /// Index associated with the operation. /// ApiResponse of Object(void) - public BreCalClient.......misc.Client.ApiResponse TimesPutWithHttpInfo(Times times, int operationIndex = 0) + public BreCalClient.misc.Client.ApiResponse TimesPutWithHttpInfo(Times times, int operationIndex = 0) { // verify the required parameter 'times' is set if (times == null) { - throw new BreCalClient.......misc.Client.ApiException(400, "Missing required parameter 'times' when calling DefaultApi->TimesPut"); + throw new BreCalClient.misc.Client.ApiException(400, "Missing required parameter 'times' when calling DefaultApi->TimesPut"); } - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; @@ -2048,12 +2048,12 @@ namespace BreCalClient.......misc.Api string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -2081,7 +2081,7 @@ namespace BreCalClient.......misc.Api /// /// Update a times entry for a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. The id parameter is **required**. /// Index associated with the operation. /// Cancellation Token to cancel the request. @@ -2093,19 +2093,19 @@ namespace BreCalClient.......misc.Api /// /// Update a times entry for a ship call /// - /// Thrown when fails to make API call + /// Thrown when fails to make API call /// Times entry that will be added to the ship call. The id parameter is **required**. /// Index associated with the operation. /// Cancellation Token to cancel the request. /// Task of ApiResponse - public async System.Threading.Tasks.Task> TimesPutWithHttpInfoAsync(Times times, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) + public async System.Threading.Tasks.Task> TimesPutWithHttpInfoAsync(Times times, int operationIndex = 0, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { // verify the required parameter 'times' is set if (times == null) { - throw new BreCalClient.......misc.Client.ApiException(400, "Missing required parameter 'times' when calling DefaultApi->TimesPut"); + throw new BreCalClient.misc.Client.ApiException(400, "Missing required parameter 'times' when calling DefaultApi->TimesPut"); } - BreCalClient.......misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.......misc.Client.RequestOptions(); + BreCalClient.misc.Client.RequestOptions localVarRequestOptions = new BreCalClient.misc.Client.RequestOptions(); string[] _contentTypes = new string[] { "application/json" }; @@ -2113,12 +2113,12 @@ namespace BreCalClient.......misc.Api string[] _accepts = new string[] { "application/json" }; - var localVarContentType = BreCalClient.......misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); + var localVarContentType = BreCalClient.misc.Client.ClientUtils.SelectHeaderContentType(_contentTypes); if (localVarContentType != null) { localVarRequestOptions.HeaderParameters.Add("Content-Type", localVarContentType); } - var localVarAccept = BreCalClient.......misc.Client.ClientUtils.SelectHeaderAccept(_accepts); + var localVarAccept = BreCalClient.misc.Client.ClientUtils.SelectHeaderAccept(_accepts); if (localVarAccept != null) { localVarRequestOptions.HeaderParameters.Add("Accept", localVarAccept); @@ -2155,7 +2155,7 @@ namespace BreCalClient.......misc.Api * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Allows RestSharp to Serialize/Deserialize JSON using our custom logic, but only when ContentType is JSON. @@ -2192,10 +2192,10 @@ namespace BreCalClient.......misc.Client /// A JSON string. public string Serialize(object obj) { - if (obj != null && obj is BreCalClient.......misc.Model.AbstractOpenAPISchema) + if (obj != null && obj is BreCalClient.misc.Model.AbstractOpenAPISchema) { // the object to be serialized is an oneOf/anyOf schema - return ((BreCalClient.......misc.Model.AbstractOpenAPISchema)obj).ToJson(); + return ((BreCalClient.misc.Model.AbstractOpenAPISchema)obj).ToJson(); } else { @@ -2314,7 +2314,7 @@ namespace BreCalClient.......misc.Client /// public ApiClient() { - _baseUrl = BreCalClient.......misc.Client.GlobalConfiguration.Instance.BasePath; + _baseUrl = BreCalClient.misc.Client.GlobalConfiguration.Instance.BasePath; } /// /// Initializes a new instance of the @@ -2555,7 +2555,7 @@ namespace BreCalClient.......misc.Client response = client.Execute(req); } // if the response type is oneOf/anyOf, call FromJSON to deserialize the data - if (typeof(BreCalClient.......misc.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) + if (typeof(BreCalClient.misc.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) { try { @@ -2640,7 +2640,7 @@ namespace BreCalClient.......misc.Client response = await client.ExecuteAsync(req, cancellationToken).ConfigureAwait(false); } // if the response type is oneOf/anyOf, call FromJSON to deserialize the data - if (typeof(BreCalClient.......misc.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) + if (typeof(BreCalClient.misc.Model.AbstractOpenAPISchema).IsAssignableFrom(typeof(T))) { response.Data = (T) typeof(T).GetMethod("FromJson").Invoke(null, new object[] { response.Content }); } @@ -2890,7 +2890,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// API Exception @@ -2950,7 +2950,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Provides a non-generic contract for the ApiResponse wrapper. @@ -3090,7 +3090,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Utility functions providing some benefit to API client consumers. @@ -3308,7 +3308,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Represents a set of configuration settings @@ -3741,7 +3741,7 @@ namespace BreCalClient.......misc.Client /// public static string ToDebugReport() { - string report = "C# SDK (BreCalClient.......misc) Debug Report:\n"; + string report = "C# SDK (BreCalClient.misc) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; report += " Version of the API: 0.3.0\n"; @@ -3815,7 +3815,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// A delegate to ExceptionFactory method @@ -3835,7 +3835,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// provides a compile-time extension point for globally configuring @@ -3892,7 +3892,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Http methods supported by swagger @@ -3925,7 +3925,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Represents configuration aspects required to interact with the API endpoints. @@ -3958,7 +3958,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Contract for Asynchronous RESTful API interactions. @@ -4049,7 +4049,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Represents a readable-only configuration contract. @@ -4157,7 +4157,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Contract for Synchronous RESTful API interactions. @@ -4241,7 +4241,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// A dictionary in which one key has many associated values. @@ -4500,7 +4500,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Formatter for 'date' openapi formats ss defined by full-date - RFC3339 @@ -4528,7 +4528,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// A container for generalized request inputs. This type allows consumers to extend the request functionality @@ -4598,7 +4598,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Client +namespace BreCalClient.misc.Client { /// /// Configuration class to set the polly retry policies to be applied to the requests. @@ -4625,7 +4625,7 @@ namespace BreCalClient.......misc.Client * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Model +namespace BreCalClient.misc.Model { /// /// Abstract base class for oneOf, anyOf schemas in the OpenAPI specification @@ -4692,7 +4692,7 @@ namespace BreCalClient.......misc.Model * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Model +namespace BreCalClient.misc.Model { /// /// Ship berth used for a ship call @@ -4877,6 +4877,11 @@ namespace BreCalClient.......misc.Model /// Validation Result IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { + // Name (string) maxLength + if (this.Name != null && this.Name.Length > 128) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be less than 128.", new [] { "Name" }); + } yield break; } } @@ -4891,7 +4896,7 @@ namespace BreCalClient.......misc.Model * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Model +namespace BreCalClient.misc.Model { /// /// Credentials @@ -5028,7 +5033,7 @@ namespace BreCalClient.......misc.Model * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Model +namespace BreCalClient.misc.Model { /// /// Error @@ -5144,7 +5149,7 @@ namespace BreCalClient.......misc.Model * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Model +namespace BreCalClient.misc.Model { /// /// result structure of a successful login attempt @@ -5356,7 +5361,7 @@ namespace BreCalClient.......misc.Model * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Model +namespace BreCalClient.misc.Model { /// /// a notification created by the engine if a times entry violates a rule @@ -5582,7 +5587,7 @@ namespace BreCalClient.......misc.Model * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Model +namespace BreCalClient.misc.Model { /// /// A organisational entity that participates in Bremen Calling @@ -5797,6 +5802,26 @@ namespace BreCalClient.......misc.Model /// Validation Result IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { + // Name (string) maxLength + if (this.Name != null && this.Name.Length > 128) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be less than 128.", new [] { "Name" }); + } + // Street (string) maxLength + if (this.Street != null && this.Street.Length > 128) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Street, length must be less than 128.", new [] { "Street" }); + } + // PostalCode (string) maxLength + if (this.PostalCode != null && this.PostalCode.Length > 5) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for PostalCode, length must be less than 5.", new [] { "PostalCode" }); + } + // City (string) maxLength + if (this.City != null && this.City.Length > 64) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for City, length must be less than 64.", new [] { "City" }); + } yield break; } } @@ -5811,7 +5836,7 @@ namespace BreCalClient.......misc.Model * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Model +namespace BreCalClient.misc.Model { /// /// a ship @@ -5835,7 +5860,7 @@ namespace BreCalClient.......misc.Model /// created. /// modified. /// deleted (default to false). - public Ship(int id = default(int), string name = default(string), int? imo = default(int?), string callsign = default(string), int? participantId = default(int?), float? length = default(float?), float? width = default(float?), bool isTug = false, int? bollardPull = default(int?), string eni = default(string), DateTime created = default(DateTime), DateTime? modified = default(DateTime?), bool deleted = false) + public Ship(int id = default(int), string name = default(string), int? imo = default(int?), string callsign = default(string), int? participantId = default(int?), float? length = default(float?), float? width = default(float?), bool isTug = false, int? bollardPull = default(int?), int? eni = default(int?), DateTime created = default(DateTime), DateTime? modified = default(DateTime?), bool deleted = false) { this.Id = id; this.Name = name; @@ -5900,7 +5925,7 @@ namespace BreCalClient.......misc.Model /// Gets or Sets Eni /// [DataMember(Name = "eni", EmitDefaultValue = true)] - public string Eni { get; set; } + public int? Eni { get; set; } /// /// Gets or Sets Created /// @@ -6094,6 +6119,16 @@ namespace BreCalClient.......misc.Model /// Validation Result IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { + // Name (string) maxLength + if (this.Name != null && this.Name.Length > 64) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Name, length must be less than 64.", new [] { "Name" }); + } + // Callsign (string) maxLength + if (this.Callsign != null && this.Callsign.Length > 8) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Callsign, length must be less than 8.", new [] { "Callsign" }); + } yield break; } } @@ -6108,7 +6143,7 @@ namespace BreCalClient.......misc.Model * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Model +namespace BreCalClient.misc.Model { /// /// Shipcall @@ -6164,16 +6199,20 @@ namespace BreCalClient.......misc.Model /// flags. /// pierSide. /// bunkering. - /// replenishing. + /// replenishingTerminal. + /// replenishingLock. /// draft. /// tidalWindowFrom. /// tidalWindowTo. /// rainSensitiveCargo. /// recommendedTugs. + /// anchored. + /// mooredLock. + /// canceled. /// participants. /// created. /// modified. - public Shipcall(int id = default(int), int shipId = default(int), TypeEnum type = default(TypeEnum), DateTime eta = default(DateTime), string voyage = default(string), DateTime? etd = default(DateTime?), int? arrivalBerthId = default(int?), int? departureBerthId = default(int?), bool? tugReguired = default(bool?), bool? pilotRequired = default(bool?), int? flags = default(int?), bool? pierSide = default(bool?), bool? bunkering = default(bool?), bool? replenishing = default(bool?), float? draft = default(float?), DateTime? tidalWindowFrom = default(DateTime?), DateTime? tidalWindowTo = default(DateTime?), bool? rainSensitiveCargo = default(bool?), int? recommendedTugs = default(int?), List participants = default(List), DateTime created = default(DateTime), DateTime? modified = default(DateTime?)) + public Shipcall(int id = default(int), int shipId = default(int), TypeEnum type = default(TypeEnum), DateTime eta = default(DateTime), string voyage = default(string), DateTime? etd = default(DateTime?), int? arrivalBerthId = default(int?), int? departureBerthId = default(int?), bool? tugReguired = default(bool?), bool? pilotRequired = default(bool?), int? flags = default(int?), bool? pierSide = default(bool?), bool? bunkering = default(bool?), bool? replenishingTerminal = default(bool?), bool? replenishingLock = default(bool?), float? draft = default(float?), DateTime? tidalWindowFrom = default(DateTime?), DateTime? tidalWindowTo = default(DateTime?), bool? rainSensitiveCargo = default(bool?), int? recommendedTugs = default(int?), bool? anchored = default(bool?), bool? mooredLock = default(bool?), bool? canceled = default(bool?), List participants = default(List), DateTime created = default(DateTime), DateTime? modified = default(DateTime?)) { this.Id = id; this.ShipId = shipId; @@ -6188,12 +6227,16 @@ namespace BreCalClient.......misc.Model this.Flags = flags; this.PierSide = pierSide; this.Bunkering = bunkering; - this.Replenishing = replenishing; + this.ReplenishingTerminal = replenishingTerminal; + this.ReplenishingLock = replenishingLock; this.Draft = draft; this.TidalWindowFrom = tidalWindowFrom; this.TidalWindowTo = tidalWindowTo; this.RainSensitiveCargo = rainSensitiveCargo; this.RecommendedTugs = recommendedTugs; + this.Anchored = anchored; + this.MooredLock = mooredLock; + this.Canceled = canceled; this.Participants = participants; this.Created = created; this.Modified = modified; @@ -6260,10 +6303,15 @@ namespace BreCalClient.......misc.Model [DataMember(Name = "bunkering", EmitDefaultValue = true)] public bool? Bunkering { get; set; } /// - /// Gets or Sets Replenishing + /// Gets or Sets ReplenishingTerminal /// - [DataMember(Name = "replenishing", EmitDefaultValue = true)] - public bool? Replenishing { get; set; } + [DataMember(Name = "replenishing_terminal", EmitDefaultValue = true)] + public bool? ReplenishingTerminal { get; set; } + /// + /// Gets or Sets ReplenishingLock + /// + [DataMember(Name = "replenishing_lock", EmitDefaultValue = true)] + public bool? ReplenishingLock { get; set; } /// /// Gets or Sets Draft /// @@ -6290,6 +6338,21 @@ namespace BreCalClient.......misc.Model [DataMember(Name = "recommended_tugs", EmitDefaultValue = true)] public int? RecommendedTugs { get; set; } /// + /// Gets or Sets Anchored + /// + [DataMember(Name = "anchored", EmitDefaultValue = true)] + public bool? Anchored { get; set; } + /// + /// Gets or Sets MooredLock + /// + [DataMember(Name = "moored_lock", EmitDefaultValue = true)] + public bool? MooredLock { get; set; } + /// + /// Gets or Sets Canceled + /// + [DataMember(Name = "canceled", EmitDefaultValue = true)] + public bool? Canceled { get; set; } + /// /// Gets or Sets Participants /// [DataMember(Name = "participants", EmitDefaultValue = true)] @@ -6325,12 +6388,16 @@ namespace BreCalClient.......misc.Model sb.Append(" Flags: ").Append(Flags).Append("\n"); sb.Append(" PierSide: ").Append(PierSide).Append("\n"); sb.Append(" Bunkering: ").Append(Bunkering).Append("\n"); - sb.Append(" Replenishing: ").Append(Replenishing).Append("\n"); + sb.Append(" ReplenishingTerminal: ").Append(ReplenishingTerminal).Append("\n"); + sb.Append(" ReplenishingLock: ").Append(ReplenishingLock).Append("\n"); sb.Append(" Draft: ").Append(Draft).Append("\n"); sb.Append(" TidalWindowFrom: ").Append(TidalWindowFrom).Append("\n"); sb.Append(" TidalWindowTo: ").Append(TidalWindowTo).Append("\n"); sb.Append(" RainSensitiveCargo: ").Append(RainSensitiveCargo).Append("\n"); sb.Append(" RecommendedTugs: ").Append(RecommendedTugs).Append("\n"); + sb.Append(" Anchored: ").Append(Anchored).Append("\n"); + sb.Append(" MooredLock: ").Append(MooredLock).Append("\n"); + sb.Append(" Canceled: ").Append(Canceled).Append("\n"); sb.Append(" Participants: ").Append(Participants).Append("\n"); sb.Append(" Created: ").Append(Created).Append("\n"); sb.Append(" Modified: ").Append(Modified).Append("\n"); @@ -6429,9 +6496,14 @@ namespace BreCalClient.......misc.Model this.Bunkering.Equals(input.Bunkering)) ) && ( - this.Replenishing == input.Replenishing || - (this.Replenishing != null && - this.Replenishing.Equals(input.Replenishing)) + this.ReplenishingTerminal == input.ReplenishingTerminal || + (this.ReplenishingTerminal != null && + this.ReplenishingTerminal.Equals(input.ReplenishingTerminal)) + ) && + ( + this.ReplenishingLock == input.ReplenishingLock || + (this.ReplenishingLock != null && + this.ReplenishingLock.Equals(input.ReplenishingLock)) ) && ( this.Draft == input.Draft || @@ -6458,6 +6530,21 @@ namespace BreCalClient.......misc.Model (this.RecommendedTugs != null && this.RecommendedTugs.Equals(input.RecommendedTugs)) ) && + ( + this.Anchored == input.Anchored || + (this.Anchored != null && + this.Anchored.Equals(input.Anchored)) + ) && + ( + this.MooredLock == input.MooredLock || + (this.MooredLock != null && + this.MooredLock.Equals(input.MooredLock)) + ) && + ( + this.Canceled == input.Canceled || + (this.Canceled != null && + this.Canceled.Equals(input.Canceled)) + ) && ( this.Participants == input.Participants || this.Participants != null && @@ -6527,9 +6614,13 @@ namespace BreCalClient.......misc.Model { hashCode = (hashCode * 59) + this.Bunkering.GetHashCode(); } - if (this.Replenishing != null) + if (this.ReplenishingTerminal != null) { - hashCode = (hashCode * 59) + this.Replenishing.GetHashCode(); + hashCode = (hashCode * 59) + this.ReplenishingTerminal.GetHashCode(); + } + if (this.ReplenishingLock != null) + { + hashCode = (hashCode * 59) + this.ReplenishingLock.GetHashCode(); } if (this.Draft != null) { @@ -6551,6 +6642,18 @@ namespace BreCalClient.......misc.Model { hashCode = (hashCode * 59) + this.RecommendedTugs.GetHashCode(); } + if (this.Anchored != null) + { + hashCode = (hashCode * 59) + this.Anchored.GetHashCode(); + } + if (this.MooredLock != null) + { + hashCode = (hashCode * 59) + this.MooredLock.GetHashCode(); + } + if (this.Canceled != null) + { + hashCode = (hashCode * 59) + this.Canceled.GetHashCode(); + } if (this.Participants != null) { hashCode = (hashCode * 59) + this.Participants.GetHashCode(); @@ -6573,6 +6676,11 @@ namespace BreCalClient.......misc.Model /// Validation Result IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { + // Voyage (string) maxLength + if (this.Voyage != null && this.Voyage.Length > 16) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Voyage, length must be less than 16.", new [] { "Voyage" }); + } yield break; } } @@ -6587,7 +6695,7 @@ namespace BreCalClient.......misc.Model * Contact: info@textbausteine.net * Generated by: https://github.com/openapitools/openapi-generator.git */ -namespace BreCalClient.......misc.Model +namespace BreCalClient.misc.Model { /// /// the id parameter needs to be missing on POST and to be present on PUT (Update) calls, otherwise a 400 response will be generated @@ -6604,25 +6712,37 @@ namespace BreCalClient.......misc.Model /// Initializes a new instance of the class. /// /// id. - /// startPlanned. - /// endPlanned. - /// durationPlanned. - /// startActual. - /// endActual. + /// etaBerth. + /// etaBerthFixed. + /// etdBerth. + /// etdBerthFixed. + /// lockTime. + /// lockTimeFixed. + /// zoneEntry. + /// zoneEntryFixed. + /// operationsStart. + /// operationsEnd. + /// remarks. /// shipcallId (required). /// participantId (required). /// created. /// modified. - public Times(int id = default(int), DateTime startPlanned = default(DateTime), DateTime endPlanned = default(DateTime), int durationPlanned = default(int), DateTime startActual = default(DateTime), DateTime endActual = default(DateTime), int shipcallId = default(int), int participantId = default(int), DateTime created = default(DateTime), DateTime? modified = default(DateTime?)) + public Times(int id = default(int), DateTime? etaBerth = default(DateTime?), bool? etaBerthFixed = default(bool?), DateTime? etdBerth = default(DateTime?), bool? etdBerthFixed = default(bool?), DateTime? lockTime = default(DateTime?), bool? lockTimeFixed = default(bool?), DateTime? zoneEntry = default(DateTime?), bool? zoneEntryFixed = default(bool?), DateTime? operationsStart = default(DateTime?), DateTime? operationsEnd = default(DateTime?), string remarks = default(string), int shipcallId = default(int), int participantId = default(int), DateTime created = default(DateTime), DateTime? modified = default(DateTime?)) { this.ShipcallId = shipcallId; this.ParticipantId = participantId; this.Id = id; - this.StartPlanned = startPlanned; - this.EndPlanned = endPlanned; - this.DurationPlanned = durationPlanned; - this.StartActual = startActual; - this.EndActual = endActual; + this.EtaBerth = etaBerth; + this.EtaBerthFixed = etaBerthFixed; + this.EtdBerth = etdBerth; + this.EtdBerthFixed = etdBerthFixed; + this.LockTime = lockTime; + this.LockTimeFixed = lockTimeFixed; + this.ZoneEntry = zoneEntry; + this.ZoneEntryFixed = zoneEntryFixed; + this.OperationsStart = operationsStart; + this.OperationsEnd = operationsEnd; + this.Remarks = remarks; this.Created = created; this.Modified = modified; } @@ -6632,30 +6752,60 @@ namespace BreCalClient.......misc.Model [DataMember(Name = "id", EmitDefaultValue = true)] public int Id { get; set; } /// - /// Gets or Sets StartPlanned + /// Gets or Sets EtaBerth /// - [DataMember(Name = "start_planned", EmitDefaultValue = true)] - public DateTime StartPlanned { get; set; } + [DataMember(Name = "eta_berth", EmitDefaultValue = true)] + public DateTime? EtaBerth { get; set; } /// - /// Gets or Sets EndPlanned + /// Gets or Sets EtaBerthFixed /// - [DataMember(Name = "end_planned", EmitDefaultValue = true)] - public DateTime EndPlanned { get; set; } + [DataMember(Name = "eta_berth_fixed", EmitDefaultValue = true)] + public bool? EtaBerthFixed { get; set; } /// - /// Gets or Sets DurationPlanned + /// Gets or Sets EtdBerth /// - [DataMember(Name = "duration_planned", EmitDefaultValue = true)] - public int DurationPlanned { get; set; } + [DataMember(Name = "etd_berth", EmitDefaultValue = true)] + public DateTime? EtdBerth { get; set; } /// - /// Gets or Sets StartActual + /// Gets or Sets EtdBerthFixed /// - [DataMember(Name = "start_actual", EmitDefaultValue = true)] - public DateTime StartActual { get; set; } + [DataMember(Name = "etd_berth_fixed", EmitDefaultValue = true)] + public bool? EtdBerthFixed { get; set; } /// - /// Gets or Sets EndActual + /// Gets or Sets LockTime /// - [DataMember(Name = "end_actual", EmitDefaultValue = true)] - public DateTime EndActual { get; set; } + [DataMember(Name = "lock_time", EmitDefaultValue = true)] + public DateTime? LockTime { get; set; } + /// + /// Gets or Sets LockTimeFixed + /// + [DataMember(Name = "lock_time_fixed", EmitDefaultValue = true)] + public bool? LockTimeFixed { get; set; } + /// + /// Gets or Sets ZoneEntry + /// + [DataMember(Name = "zone_entry", EmitDefaultValue = true)] + public DateTime? ZoneEntry { get; set; } + /// + /// Gets or Sets ZoneEntryFixed + /// + [DataMember(Name = "zone_entry_fixed", EmitDefaultValue = true)] + public bool? ZoneEntryFixed { get; set; } + /// + /// Gets or Sets OperationsStart + /// + [DataMember(Name = "operations_start", EmitDefaultValue = true)] + public DateTime? OperationsStart { get; set; } + /// + /// Gets or Sets OperationsEnd + /// + [DataMember(Name = "operations_end", EmitDefaultValue = true)] + public DateTime? OperationsEnd { get; set; } + /// + /// Gets or Sets Remarks + /// + [DataMember(Name = "remarks", EmitDefaultValue = true)] + public string Remarks { get; set; } /// /// Gets or Sets ShipcallId /// @@ -6685,11 +6835,17 @@ namespace BreCalClient.......misc.Model StringBuilder sb = new StringBuilder(); sb.Append("class Times {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); - sb.Append(" StartPlanned: ").Append(StartPlanned).Append("\n"); - sb.Append(" EndPlanned: ").Append(EndPlanned).Append("\n"); - sb.Append(" DurationPlanned: ").Append(DurationPlanned).Append("\n"); - sb.Append(" StartActual: ").Append(StartActual).Append("\n"); - sb.Append(" EndActual: ").Append(EndActual).Append("\n"); + sb.Append(" EtaBerth: ").Append(EtaBerth).Append("\n"); + sb.Append(" EtaBerthFixed: ").Append(EtaBerthFixed).Append("\n"); + sb.Append(" EtdBerth: ").Append(EtdBerth).Append("\n"); + sb.Append(" EtdBerthFixed: ").Append(EtdBerthFixed).Append("\n"); + sb.Append(" LockTime: ").Append(LockTime).Append("\n"); + sb.Append(" LockTimeFixed: ").Append(LockTimeFixed).Append("\n"); + sb.Append(" ZoneEntry: ").Append(ZoneEntry).Append("\n"); + sb.Append(" ZoneEntryFixed: ").Append(ZoneEntryFixed).Append("\n"); + sb.Append(" OperationsStart: ").Append(OperationsStart).Append("\n"); + sb.Append(" OperationsEnd: ").Append(OperationsEnd).Append("\n"); + sb.Append(" Remarks: ").Append(Remarks).Append("\n"); sb.Append(" ShipcallId: ").Append(ShipcallId).Append("\n"); sb.Append(" ParticipantId: ").Append(ParticipantId).Append("\n"); sb.Append(" Created: ").Append(Created).Append("\n"); @@ -6731,28 +6887,59 @@ namespace BreCalClient.......misc.Model this.Id.Equals(input.Id) ) && ( - this.StartPlanned == input.StartPlanned || - (this.StartPlanned != null && - this.StartPlanned.Equals(input.StartPlanned)) + this.EtaBerth == input.EtaBerth || + (this.EtaBerth != null && + this.EtaBerth.Equals(input.EtaBerth)) ) && ( - this.EndPlanned == input.EndPlanned || - (this.EndPlanned != null && - this.EndPlanned.Equals(input.EndPlanned)) + this.EtaBerthFixed == input.EtaBerthFixed || + (this.EtaBerthFixed != null && + this.EtaBerthFixed.Equals(input.EtaBerthFixed)) ) && ( - this.DurationPlanned == input.DurationPlanned || - this.DurationPlanned.Equals(input.DurationPlanned) + this.EtdBerth == input.EtdBerth || + (this.EtdBerth != null && + this.EtdBerth.Equals(input.EtdBerth)) ) && ( - this.StartActual == input.StartActual || - (this.StartActual != null && - this.StartActual.Equals(input.StartActual)) + this.EtdBerthFixed == input.EtdBerthFixed || + (this.EtdBerthFixed != null && + this.EtdBerthFixed.Equals(input.EtdBerthFixed)) ) && ( - this.EndActual == input.EndActual || - (this.EndActual != null && - this.EndActual.Equals(input.EndActual)) + this.LockTime == input.LockTime || + (this.LockTime != null && + this.LockTime.Equals(input.LockTime)) + ) && + ( + this.LockTimeFixed == input.LockTimeFixed || + (this.LockTimeFixed != null && + this.LockTimeFixed.Equals(input.LockTimeFixed)) + ) && + ( + this.ZoneEntry == input.ZoneEntry || + (this.ZoneEntry != null && + this.ZoneEntry.Equals(input.ZoneEntry)) + ) && + ( + this.ZoneEntryFixed == input.ZoneEntryFixed || + (this.ZoneEntryFixed != null && + this.ZoneEntryFixed.Equals(input.ZoneEntryFixed)) + ) && + ( + this.OperationsStart == input.OperationsStart || + (this.OperationsStart != null && + this.OperationsStart.Equals(input.OperationsStart)) + ) && + ( + this.OperationsEnd == input.OperationsEnd || + (this.OperationsEnd != null && + this.OperationsEnd.Equals(input.OperationsEnd)) + ) && + ( + this.Remarks == input.Remarks || + (this.Remarks != null && + this.Remarks.Equals(input.Remarks)) ) && ( this.ShipcallId == input.ShipcallId || @@ -6783,22 +6970,49 @@ namespace BreCalClient.......misc.Model { int hashCode = 41; hashCode = (hashCode * 59) + this.Id.GetHashCode(); - if (this.StartPlanned != null) + if (this.EtaBerth != null) { - hashCode = (hashCode * 59) + this.StartPlanned.GetHashCode(); + hashCode = (hashCode * 59) + this.EtaBerth.GetHashCode(); } - if (this.EndPlanned != null) + if (this.EtaBerthFixed != null) { - hashCode = (hashCode * 59) + this.EndPlanned.GetHashCode(); + hashCode = (hashCode * 59) + this.EtaBerthFixed.GetHashCode(); } - hashCode = (hashCode * 59) + this.DurationPlanned.GetHashCode(); - if (this.StartActual != null) + if (this.EtdBerth != null) { - hashCode = (hashCode * 59) + this.StartActual.GetHashCode(); + hashCode = (hashCode * 59) + this.EtdBerth.GetHashCode(); } - if (this.EndActual != null) + if (this.EtdBerthFixed != null) { - hashCode = (hashCode * 59) + this.EndActual.GetHashCode(); + hashCode = (hashCode * 59) + this.EtdBerthFixed.GetHashCode(); + } + if (this.LockTime != null) + { + hashCode = (hashCode * 59) + this.LockTime.GetHashCode(); + } + if (this.LockTimeFixed != null) + { + hashCode = (hashCode * 59) + this.LockTimeFixed.GetHashCode(); + } + if (this.ZoneEntry != null) + { + hashCode = (hashCode * 59) + this.ZoneEntry.GetHashCode(); + } + if (this.ZoneEntryFixed != null) + { + hashCode = (hashCode * 59) + this.ZoneEntryFixed.GetHashCode(); + } + if (this.OperationsStart != null) + { + hashCode = (hashCode * 59) + this.OperationsStart.GetHashCode(); + } + if (this.OperationsEnd != null) + { + hashCode = (hashCode * 59) + this.OperationsEnd.GetHashCode(); + } + if (this.Remarks != null) + { + hashCode = (hashCode * 59) + this.Remarks.GetHashCode(); } hashCode = (hashCode * 59) + this.ShipcallId.GetHashCode(); hashCode = (hashCode * 59) + this.ParticipantId.GetHashCode(); @@ -6820,6 +7034,11 @@ namespace BreCalClient.......misc.Model /// Validation Result IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { + // Remarks (string) maxLength + if (this.Remarks != null && this.Remarks.Length > 512) + { + yield return new System.ComponentModel.DataAnnotations.ValidationResult("Invalid value for Remarks, length must be less than 512.", new [] { "Remarks" }); + } yield break; } } diff --git a/src/BreCalClient/ShipcallControl.xaml b/src/BreCalClient/ShipcallControl.xaml index 012b51e..1aba6ba 100644 --- a/src/BreCalClient/ShipcallControl.xaml +++ b/src/BreCalClient/ShipcallControl.xaml @@ -6,6 +6,7 @@ xmlns:local="clr-namespace:BreCalClient" xmlns:p = "clr-namespace:BreCalClient.Resources" xmlns:db="clr-namespace:BreCalClient;assembly=BreCalClient" + xmlns:db2="clr-namespace:BreCalClient.misc.Model;assembly=BreCalClient" mc:Ignorable="d" d:DesignHeight="120" d:DesignWidth="800" Loaded="UserControl_Loaded"> @@ -29,7 +30,7 @@ - + @@ -39,10 +40,32 @@ - -