@ -1,16 +1,6 @@
using System ;
using System.Collections.Generic ;
using System.Linq ;
using System.Text ;
using System.Threading.Tasks ;
using Win_in.Sfs.Wms.Store.Application.Contracts ;
namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy ;
//----------------------
// <auto-generated>
// Generated using the NSwag toolchain v14.2.0.0 (NJsonSchema v11.1 .0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
// Generated using the NSwag toolchain v14.0.7.0 (NJsonSchema v11.0.0.0 (Newtonsoft.Json v13.0.0.0)) (http://NSwag.org)
// </auto-generated>
//----------------------
@ -18,7 +8,6 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
#pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword."
#pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?'
#pragma warning disable 612 // Disable "CS0612 '...' is obsolete"
#pragma warning disable 649 // Disable "CS0649 Field is never assigned to, and will always have its default value null"
#pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ...
#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..."
#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'"
@ -26,88 +15,788 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
#pragma warning disable 8603 // Disable "CS8603 Possible null reference return"
#pragma warning disable 8604 // Disable "CS8604 Possible null reference argument for parameter"
#pragma warning disable 8625 // Disable "CS8625 Cannot convert null literal to non-nullable reference type"
#pragma warning disable 8765 // Disable "CS8765 Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes)."
#pragma warning disable CS 8765 // Nullability of type of parameter doesn't match overridden member (possibly because of nullability attributes).
namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy ;
using System = global :: System ;
using Win_in.Sfs.Wms.Store.Application.Contracts ;
using System = global :: System ;
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.2.0.0 (NJsonSchema v11.1 .0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.7.0 (NJsonSchema v11.0 .0.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class AgvJobClient
{
{
#pragma warning disable 8618
private string _ baseUrl ;
#pragma warning restore 8618
private System . Net . Http . HttpClient _ httpClient ;
private static System . Lazy < Newtonsoft . Json . JsonSerializerSettings > _ settings = new System . Lazy < Newtonsoft . Json . JsonSerializerSettings > ( CreateSerializerSettings , true ) ;
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
public AgvJobClient ( string baseUrl , System . Net . Http . HttpClient httpClient , string path )
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
{
_ path = path ;
BaseUrl = baseUrl ;
_ httpClient = httpClient ;
}
private static Newtonsoft . Json . JsonSerializerSettings CreateSerializerSettings ( )
{
var settings = new Newtonsoft . Json . JsonSerializerSettings ( ) ;
UpdateJsonSerializerSettings ( settings ) ;
return settings ;
}
#pragma warning disable 8618
private string _ baseUrl ;
#pragma warning restore 8618
public string BaseUrl
{
get { return _ baseUrl ; }
set
{
_ baseUrl = value ;
if ( ! string . IsNullOrEmpty ( _ baseUrl ) & & ! _ baseUrl . EndsWith ( "/" ) )
_ baseUrl + = '/' ;
}
}
private string _ path ;
public string Path
{
get { return _ path ; }
set
{
_ path = value ;
}
}
protected Newtonsoft . Json . JsonSerializerSettings JsonSerializerSettings { get { return _ settings . Value ; } }
static partial void UpdateJsonSerializerSettings ( Newtonsoft . Json . JsonSerializerSettings settings ) ;
partial void PrepareRequest ( System . Net . Http . HttpClient client , System . Net . Http . HttpRequestMessage request , string url ) ;
partial void PrepareRequest ( System . Net . Http . HttpClient client , System . Net . Http . HttpRequestMessage request , System . Text . StringBuilder urlBuilder ) ;
partial void ProcessResponse ( System . Net . Http . HttpClient client , System . Net . Http . HttpResponseMessage response ) ;
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System . Threading . Tasks . Task < AgvResultObject > PushOutTaskAssembleAsync ( AgvRequest body )
{
return PushOutTaskAssembleAsync ( body , System . Threading . CancellationToken . None ) ;
}
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System . Threading . Tasks . Task < AgvResultObject > PushOutTaskAssembleAsync ( AgvRequest body , System . Threading . CancellationToken cancellationToken )
{
var client_ = _ httpClient ;
var disposeClient_ = false ;
try
{
using ( var request_ = new System . Net . Http . HttpRequestMessage ( ) )
{
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , _ settings . Value ) ;
var content_ = new System . Net . Http . StringContent ( json_ ) ;
content_ . Headers . ContentType = System . Net . Http . Headers . MediaTypeHeaderValue . Parse ( "application/json" ) ;
request_ . Content = content_ ;
request_ . Method = new System . Net . Http . HttpMethod ( "POST" ) ;
request_ . Headers . Accept . Add ( System . Net . Http . Headers . MediaTypeWithQualityHeaderValue . Parse ( "text/plain" ) ) ;
var urlBuilder_ = new System . Text . StringBuilder ( ) ;
if ( ! string . IsNullOrEmpty ( _ baseUrl ) ) urlBuilder_ . Append ( _ baseUrl ) ;
// Operation Path: "pushOutTaskAssemble"
urlBuilder_ . Append ( "pushOutTaskAssemble" ) ;
PrepareRequest ( client_ , request_ , urlBuilder_ ) ;
var url_ = urlBuilder_ . ToString ( ) ;
request_ . RequestUri = new System . Uri ( url_ , System . UriKind . RelativeOrAbsolute ) ;
PrepareRequest ( client_ , request_ , url_ ) ;
var response_ = await client_ . SendAsync ( request_ , System . Net . Http . HttpCompletionOption . ResponseHeadersRead , cancellationToken ) . ConfigureAwait ( false ) ;
var disposeResponse_ = true ;
try
{
var headers_ = new System . Collections . Generic . Dictionary < string , System . Collections . Generic . IEnumerable < string > > ( ) ;
foreach ( var item_ in response_ . Headers )
headers_ [ item_ . Key ] = item_ . Value ;
if ( response_ . Content ! = null & & response_ . Content . Headers ! = null )
{
foreach ( var item_ in response_ . Content . Headers )
headers_ [ item_ . Key ] = item_ . Value ;
}
ProcessResponse ( client_ , response_ ) ;
var status_ = ( int ) response_ . StatusCode ;
if ( status_ = = 2 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < AgvResultObject > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
return objectResponse_ . Object ;
}
else
if ( status_ = = 4 0 3 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Forbidden" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 1 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Unauthorized" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Bad Request" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 4 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Not Found" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 5 0 1 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Server Error" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 5 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Server Error" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
{
var responseData_ = response_ . Content = = null ? null : await response_ . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
throw new ApiException ( "The HTTP status code of the response was not expected (" + status_ + ")." , status_ , responseData_ , headers_ , null ) ;
}
}
finally
{
if ( disposeResponse_ )
response_ . Dispose ( ) ;
}
}
}
finally
{
if ( disposeClient_ )
client_ . Dispose ( ) ;
}
}
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System . Threading . Tasks . Task < AgvResultObject > PushOutTaskInjectionAsync ( AgvRequest body )
{
return PushOutTaskInjectionAsync ( body , System . Threading . CancellationToken . None ) ;
}
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System . Threading . Tasks . Task < AgvResultObject > PushOutTaskInjectionAsync ( AgvRequest body , System . Threading . CancellationToken cancellationToken )
{
var client_ = _ httpClient ;
var disposeClient_ = false ;
try
{
using ( var request_ = new System . Net . Http . HttpRequestMessage ( ) )
{
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , _ settings . Value ) ;
var content_ = new System . Net . Http . StringContent ( json_ ) ;
content_ . Headers . ContentType = System . Net . Http . Headers . MediaTypeHeaderValue . Parse ( "application/json" ) ;
request_ . Content = content_ ;
request_ . Method = new System . Net . Http . HttpMethod ( "POST" ) ;
request_ . Headers . Accept . Add ( System . Net . Http . Headers . MediaTypeWithQualityHeaderValue . Parse ( "text/plain" ) ) ;
var urlBuilder_ = new System . Text . StringBuilder ( ) ;
if ( ! string . IsNullOrEmpty ( _ baseUrl ) ) urlBuilder_ . Append ( _ baseUrl ) ;
// Operation Path: "pushOutTaskInjection"
urlBuilder_ . Append ( "pushOutTaskInjection" ) ;
PrepareRequest ( client_ , request_ , urlBuilder_ ) ;
var url_ = urlBuilder_ . ToString ( ) ;
request_ . RequestUri = new System . Uri ( url_ , System . UriKind . RelativeOrAbsolute ) ;
PrepareRequest ( client_ , request_ , url_ ) ;
var response_ = await client_ . SendAsync ( request_ , System . Net . Http . HttpCompletionOption . ResponseHeadersRead , cancellationToken ) . ConfigureAwait ( false ) ;
var disposeResponse_ = true ;
try
{
var headers_ = new System . Collections . Generic . Dictionary < string , System . Collections . Generic . IEnumerable < string > > ( ) ;
foreach ( var item_ in response_ . Headers )
headers_ [ item_ . Key ] = item_ . Value ;
if ( response_ . Content ! = null & & response_ . Content . Headers ! = null )
{
foreach ( var item_ in response_ . Content . Headers )
headers_ [ item_ . Key ] = item_ . Value ;
}
ProcessResponse ( client_ , response_ ) ;
var status_ = ( int ) response_ . StatusCode ;
if ( status_ = = 2 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < AgvResultObject > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
return objectResponse_ . Object ;
}
else
if ( status_ = = 4 0 3 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Forbidden" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 1 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Unauthorized" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Bad Request" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 4 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Not Found" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 5 0 1 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Server Error" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 5 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Server Error" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
{
var responseData_ = response_ . Content = = null ? null : await response_ . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
throw new ApiException ( "The HTTP status code of the response was not expected (" + status_ + ")." , status_ , responseData_ , headers_ , null ) ;
}
}
finally
{
if ( disposeResponse_ )
response_ . Dispose ( ) ;
}
}
}
finally
{
if ( disposeClient_ )
client_ . Dispose ( ) ;
}
}
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System . Threading . Tasks . Task < AgvResultObject > PushOutTaskSparePartAsync ( AgvRequest body )
{
return PushOutTaskSparePartAsync ( body , System . Threading . CancellationToken . None ) ;
}
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System . Threading . Tasks . Task < AgvResultObject > PushOutTaskSparePartAsync ( AgvRequest body , System . Threading . CancellationToken cancellationToken )
{
var client_ = _ httpClient ;
var disposeClient_ = false ;
try
{
using ( var request_ = new System . Net . Http . HttpRequestMessage ( ) )
{
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , _ settings . Value ) ;
var content_ = new System . Net . Http . StringContent ( json_ ) ;
content_ . Headers . ContentType = System . Net . Http . Headers . MediaTypeHeaderValue . Parse ( "application/json" ) ;
request_ . Content = content_ ;
request_ . Method = new System . Net . Http . HttpMethod ( "POST" ) ;
request_ . Headers . Accept . Add ( System . Net . Http . Headers . MediaTypeWithQualityHeaderValue . Parse ( "text/plain" ) ) ;
var urlBuilder_ = new System . Text . StringBuilder ( ) ;
if ( ! string . IsNullOrEmpty ( _ baseUrl ) ) urlBuilder_ . Append ( _ baseUrl ) ;
// Operation Path: "pushOutTaskSparePart"
urlBuilder_ . Append ( "pushOutTaskSparePart" ) ;
PrepareRequest ( client_ , request_ , urlBuilder_ ) ;
var url_ = urlBuilder_ . ToString ( ) ;
request_ . RequestUri = new System . Uri ( url_ , System . UriKind . RelativeOrAbsolute ) ;
PrepareRequest ( client_ , request_ , url_ ) ;
var response_ = await client_ . SendAsync ( request_ , System . Net . Http . HttpCompletionOption . ResponseHeadersRead , cancellationToken ) . ConfigureAwait ( false ) ;
var disposeResponse_ = true ;
try
{
var headers_ = new System . Collections . Generic . Dictionary < string , System . Collections . Generic . IEnumerable < string > > ( ) ;
foreach ( var item_ in response_ . Headers )
headers_ [ item_ . Key ] = item_ . Value ;
if ( response_ . Content ! = null & & response_ . Content . Headers ! = null )
{
foreach ( var item_ in response_ . Content . Headers )
headers_ [ item_ . Key ] = item_ . Value ;
}
ProcessResponse ( client_ , response_ ) ;
var status_ = ( int ) response_ . StatusCode ;
if ( status_ = = 2 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < AgvResultObject > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
return objectResponse_ . Object ;
}
else
if ( status_ = = 4 0 3 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Forbidden" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 1 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Unauthorized" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Bad Request" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 4 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Not Found" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 5 0 1 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Server Error" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 5 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Server Error" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
{
var responseData_ = response_ . Content = = null ? null : await response_ . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
throw new ApiException ( "The HTTP status code of the response was not expected (" + status_ + ")." , status_ , responseData_ , headers_ , null ) ;
}
}
finally
{
if ( disposeResponse_ )
response_ . Dispose ( ) ;
}
}
}
finally
{
if ( disposeClient_ )
client_ . Dispose ( ) ;
}
}
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System . Threading . Tasks . Task < AgvResultObject > PushOutTaskCoatingAsync ( AgvRequest body )
{
return PushOutTaskCoatingAsync ( body , System . Threading . CancellationToken . None ) ;
}
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System . Threading . Tasks . Task < AgvResultObject > PushOutTaskCoatingAsync ( AgvRequest body , System . Threading . CancellationToken cancellationToken )
{
var client_ = _ httpClient ;
var disposeClient_ = false ;
try
{
using ( var request_ = new System . Net . Http . HttpRequestMessage ( ) )
{
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , _ settings . Value ) ;
var content_ = new System . Net . Http . StringContent ( json_ ) ;
content_ . Headers . ContentType = System . Net . Http . Headers . MediaTypeHeaderValue . Parse ( "application/json" ) ;
request_ . Content = content_ ;
request_ . Method = new System . Net . Http . HttpMethod ( "POST" ) ;
request_ . Headers . Accept . Add ( System . Net . Http . Headers . MediaTypeWithQualityHeaderValue . Parse ( "text/plain" ) ) ;
var urlBuilder_ = new System . Text . StringBuilder ( ) ;
if ( ! string . IsNullOrEmpty ( _ baseUrl ) ) urlBuilder_ . Append ( _ baseUrl ) ;
// Operation Path: "pushOutTaskCoating"
urlBuilder_ . Append ( "pushOutTaskCoating" ) ;
PrepareRequest ( client_ , request_ , urlBuilder_ ) ;
var url_ = urlBuilder_ . ToString ( ) ;
request_ . RequestUri = new System . Uri ( url_ , System . UriKind . RelativeOrAbsolute ) ;
PrepareRequest ( client_ , request_ , url_ ) ;
var response_ = await client_ . SendAsync ( request_ , System . Net . Http . HttpCompletionOption . ResponseHeadersRead , cancellationToken ) . ConfigureAwait ( false ) ;
var disposeResponse_ = true ;
try
{
var headers_ = new System . Collections . Generic . Dictionary < string , System . Collections . Generic . IEnumerable < string > > ( ) ;
foreach ( var item_ in response_ . Headers )
headers_ [ item_ . Key ] = item_ . Value ;
if ( response_ . Content ! = null & & response_ . Content . Headers ! = null )
{
foreach ( var item_ in response_ . Content . Headers )
headers_ [ item_ . Key ] = item_ . Value ;
}
private System . Net . Http . HttpClient _ httpClient ;
private static System . Lazy < Newtonsoft . Json . JsonSerializerSettings > _ settings = new System . Lazy < Newtonsoft . Json . JsonSerializerSettings > ( CreateSerializerSettings , true ) ;
private Newtonsoft . Json . JsonSerializerSettings _ instanceSettings ;
ProcessResponse ( client_ , response_ ) ;
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
public AgvJobClient ( string baseUrl , System . Net . Http . HttpClient httpClient , string path )
#pragma warning restore CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
{
BaseUrl = baseUrl ;
_ httpClient = httpClient ;
_ path = path ;
Initialize ( ) ;
var status_ = ( int ) response_ . StatusCode ;
if ( status_ = = 2 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < AgvResultObject > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
return objectResponse_ . Object ;
}
else
if ( status_ = = 4 0 3 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Forbidden" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 1 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Unauthorized" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Bad Request" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 4 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Not Found" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 5 0 1 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Server Error" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 5 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Server Error" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
{
var responseData_ = response_ . Content = = null ? null : await response_ . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
throw new ApiException ( "The HTTP status code of the response was not expected (" + status_ + ")." , status_ , responseData_ , headers_ , null ) ;
}
}
finally
{
if ( disposeResponse_ )
response_ . Dispose ( ) ;
}
}
}
finally
{
if ( disposeClient_ )
client_ . Dispose ( ) ;
}
}
private static Newtonsoft . Json . JsonSerializerSettings CreateSerializerSettings ( )
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System . Threading . Tasks . Task < AgvResultObject > PushOutTaskKittingAsync ( AgvRequest body )
{
var settings = new Newtonsoft . Json . JsonSerializerSettings ( ) ;
UpdateJsonSerializerSettings ( settings ) ;
return settings ;
return PushOutTaskKittingAsync ( body , System . Threading . CancellationToken . None ) ;
}
public string BaseUrl
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System . Threading . Tasks . Task < AgvResultObject > PushOutTaskKittingAsync ( AgvRequest body , System . Threading . CancellationToken cancellationToken )
{
get { return _ baseUrl ; }
set
var client_ = _ httpClient ;
var disposeClient_ = false ;
try
{
_ baseUrl = value ;
if ( ! string . IsNullOrEmpty ( _ baseUrl ) & & ! _ baseUrl . EndsWith ( "/" ) )
_ baseUrl + = '/' ;
}
}
private string _ path ;
public string Path
{
get { return _ path ; }
set
{
_ path = value ;
}
}
using ( var request_ = new System . Net . Http . HttpRequestMessage ( ) )
{
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , _ settings . Value ) ;
var content_ = new System . Net . Http . StringContent ( json_ ) ;
content_ . Headers . ContentType = System . Net . Http . Headers . MediaTypeHeaderValue . Parse ( "application/json" ) ;
request_ . Content = content_ ;
request_ . Method = new System . Net . Http . HttpMethod ( "POST" ) ;
request_ . Headers . Accept . Add ( System . Net . Http . Headers . MediaTypeWithQualityHeaderValue . Parse ( "text/plain" ) ) ;
var urlBuilder_ = new System . Text . StringBuilder ( ) ;
if ( ! string . IsNullOrEmpty ( _ baseUrl ) ) urlBuilder_ . Append ( _ baseUrl ) ;
// Operation Path: "pushOutTaskKitting"
urlBuilder_ . Append ( "pushOutTaskKitting" ) ;
PrepareRequest ( client_ , request_ , urlBuilder_ ) ;
var url_ = urlBuilder_ . ToString ( ) ;
request_ . RequestUri = new System . Uri ( url_ , System . UriKind . RelativeOrAbsolute ) ;
protected Newtonsoft . Json . JsonSerializerSettings JsonSerializerSettings { get { return _ instanceSettings ? ? _ settings . Value ; } }
PrepareRequest ( client_ , request_ , url_ ) ;
static partial void UpdateJsonSerializerSettings ( Newtonsoft . Json . JsonSerializerSettings settings ) ;
var response_ = await client_ . SendAsync ( request_ , System . Net . Http . HttpCompletionOption . ResponseHeadersRead , cancellationToken ) . ConfigureAwait ( false ) ;
var disposeResponse_ = true ;
try
{
var headers_ = new System . Collections . Generic . Dictionary < string , System . Collections . Generic . IEnumerable < string > > ( ) ;
foreach ( var item_ in response_ . Headers )
headers_ [ item_ . Key ] = item_ . Value ;
if ( response_ . Content ! = null & & response_ . Content . Headers ! = null )
{
foreach ( var item_ in response_ . Content . Headers )
headers_ [ item_ . Key ] = item_ . Value ;
}
partial void Initialize ( ) ;
ProcessResponse ( client_ , response_ ) ;
partial void PrepareRequest ( System . Net . Http . HttpClient client , System . Net . Http . HttpRequestMessage request , string url ) ;
partial void PrepareRequest ( System . Net . Http . HttpClient client , System . Net . Http . HttpRequestMessage request , System . Text . StringBuilder urlBuilder ) ;
partial void ProcessResponse ( System . Net . Http . HttpClient client , System . Net . Http . HttpResponseMessage response ) ;
var status_ = ( int ) response_ . StatusCode ;
if ( status_ = = 2 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < AgvResultObject > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
return objectResponse_ . Object ;
}
else
if ( status_ = = 4 0 3 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Forbidden" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 1 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Unauthorized" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Bad Request" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 4 0 4 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Not Found" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 5 0 1 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Server Error" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
if ( status_ = = 5 0 0 )
{
var objectResponse_ = await ReadObjectResponseAsync < RemoteServiceErrorResponse > ( response_ , headers_ , cancellationToken ) . ConfigureAwait ( false ) ;
if ( objectResponse_ . Object = = null )
{
throw new ApiException ( "Response was null which was not expected." , status_ , objectResponse_ . Text , headers_ , null ) ;
}
throw new ApiException < RemoteServiceErrorResponse > ( "Server Error" , status_ , objectResponse_ . Text , headers_ , objectResponse_ . Object , null ) ;
}
else
{
var responseData_ = response_ . Content = = null ? null : await response_ . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
throw new ApiException ( "The HTTP status code of the response was not expected (" + status_ + ")." , status_ , responseData_ , headers_ , null ) ;
}
}
finally
{
if ( disposeResponse_ )
response_ . Dispose ( ) ;
}
}
}
finally
{
if ( disposeClient_ )
client_ . Dispose ( ) ;
}
}
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System . Threading . Tasks . Task < AgvResultObject > PushOutTask4FWAsync ( AgvRequest body )
public virtual System . Threading . Tasks . Task < AgvResultObject > PushOutTaskUnplanned Async ( AgvRequestUnplanned body )
{
return PushOutTask4FWAsync ( body , System . Threading . CancellationToken . None ) ;
return PushOutTaskUnplanned Async ( body , System . Threading . CancellationToken . None ) ;
}
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System . Threading . Tasks . Task < AgvResultObject > PushOutTask4FWAsync ( AgvRequest body , System . Threading . CancellationToken cancellationToken )
public virtual async System . Threading . Tasks . Task < AgvResultObject > PushOutTaskUnplanned Async ( AgvRequestUnplanned body , System . Threading . CancellationToken cancellationToken )
{
var client_ = _ httpClient ;
var disposeClient_ = false ;
@ -115,7 +804,7 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
{
using ( var request_ = new System . Net . Http . HttpRequestMessage ( ) )
{
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , JsonSerializerSettings ) ;
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , _ settings . Value ) ;
var content_ = new System . Net . Http . StringContent ( json_ ) ;
content_ . Headers . ContentType = System . Net . Http . Headers . MediaTypeHeaderValue . Parse ( "application/json" ) ;
request_ . Content = content_ ;
@ -124,8 +813,8 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
var urlBuilder_ = new System . Text . StringBuilder ( ) ;
if ( ! string . IsNullOrEmpty ( _ baseUrl ) ) urlBuilder_ . Append ( _ baseUrl ) ;
// Operation Path: "pushOutTask4FW "
urlBuilder_ . Append ( "pushOutTask4FW " ) ;
// Operation Path: "pushOutTaskUnplanned "
urlBuilder_ . Append ( "pushOutTaskUnplanned " ) ;
PrepareRequest ( client_ , request_ , urlBuilder_ ) ;
@ -241,15 +930,15 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual System . Threading . Tasks . Task < AgvResultObject > PushOutTaskUnplannedAsync ( AgvRequestUnplanned body )
public virtual System . Threading . Tasks . Task < AgvResultObject > PushOutTaskUnplannedReceipt Async ( AgvRequestUnplanned body )
{
return PushOutTaskUnplannedAsync ( body , System . Threading . CancellationToken . None ) ;
return PushOutTaskUnplannedReceipt Async ( body , System . Threading . CancellationToken . None ) ;
}
/// <param name="cancellationToken">A cancellation token that can be used by other objects or threads to receive notice of cancellation.</param>
/// <returns>Success</returns>
/// <exception cref="ApiException">A server side error occurred.</exception>
public virtual async System . Threading . Tasks . Task < AgvResultObject > PushOutTaskUnplannedAsync ( AgvRequestUnplanned body , System . Threading . CancellationToken cancellationToken )
public virtual async System . Threading . Tasks . Task < AgvResultObject > PushOutTaskUnplannedReceipt Async ( AgvRequestUnplanned body , System . Threading . CancellationToken cancellationToken )
{
var client_ = _ httpClient ;
var disposeClient_ = false ;
@ -257,7 +946,7 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
{
using ( var request_ = new System . Net . Http . HttpRequestMessage ( ) )
{
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , JsonSerializerSettings ) ;
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , _ settings . Value ) ;
var content_ = new System . Net . Http . StringContent ( json_ ) ;
content_ . Headers . ContentType = System . Net . Http . Headers . MediaTypeHeaderValue . Parse ( "application/json" ) ;
request_ . Content = content_ ;
@ -266,8 +955,8 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
var urlBuilder_ = new System . Text . StringBuilder ( ) ;
if ( ! string . IsNullOrEmpty ( _ baseUrl ) ) urlBuilder_ . Append ( _ baseUrl ) ;
// Operation Path: "pushOutTaskUnplanned"
urlBuilder_ . Append ( "pushOutTaskUnplanned" ) ;
// Operation Path: "pushOutTaskUnplannedReceipt "
urlBuilder_ . Append ( "pushOutTaskUnplannedReceipt " ) ;
PrepareRequest ( client_ , request_ , urlBuilder_ ) ;
@ -399,7 +1088,7 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
{
using ( var request_ = new System . Net . Http . HttpRequestMessage ( ) )
{
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , JsonSerializerSettings ) ;
var json_ = Newtonsoft . Json . JsonConvert . SerializeObject ( body , _ settings . Value ) ;
var content_ = new System . Net . Http . StringContent ( json_ ) ;
content_ . Headers . ContentType = System . Net . Http . Headers . MediaTypeHeaderValue . Parse ( "application/json" ) ;
request_ . Content = content_ ;
@ -635,7 +1324,7 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
}
}
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.2.0.0 (NJsonSchema v11.1 .0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.7.0 (NJsonSchema v11.0 .0.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class RemoteServiceErrorInfo
{
[Newtonsoft.Json.JsonProperty("code", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
@ -655,7 +1344,7 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
}
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.2.0.0 (NJsonSchema v11.1 .0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.7.0 (NJsonSchema v11.0 .0.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class RemoteServiceErrorResponse
{
[Newtonsoft.Json.JsonProperty("error", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
@ -663,7 +1352,7 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
}
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.2.0.0 (NJsonSchema v11.1 .0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.0.7.0 (NJsonSchema v11.0 .0.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class RemoteServiceValidationErrorInfo
{
[Newtonsoft.Json.JsonProperty("message", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)]
@ -674,10 +1363,11 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
}
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.2.0.0 (NJsonSchema v11.1 .0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.7.0 (NJsonSchema v11.0 .0.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class ApiException : System . Exception
{
public int StatusCode { get ; private set ; }
@ -700,7 +1390,7 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
}
}
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.2.0.0 (NJsonSchema v11.1 .0.0 (Newtonsoft.Json v13.0.0.0))")]
[System.CodeDom.Compiler.GeneratedCode("NSwag", "14.0.7.0 (NJsonSchema v11.0 .0.0 (Newtonsoft.Json v13.0.0.0))")]
public partial class ApiException < TResult > : ApiException
{
public TResult Result { get ; private set ; }
@ -714,10 +1404,10 @@ namespace Win_in.Sfs.Wms.Store.Jobs.IssueJobs.proxy;
#pragma warning restore 108
#pragma warning restore 114
#pragma warning restore 472
#pragma warning restore 612
#pragma warning restore 108
#pragma warning restore 114
#pragma warning restore 472
#pragma warning restore 612
#pragma warning restore 1573
#pragma warning restore 1591
#pragma warning restore 8073