Fixed response type of GetAuthorityAccounts action
This commit is contained in:
		| @@ -306,7 +306,7 @@ namespace VisaApiClient | ||||
|         /// </remarks> | ||||
|         /// <returns>Success</returns> | ||||
|         /// <exception cref="ApiException">A server side error occurred.</exception> | ||||
|         public virtual System.Threading.Tasks.Task<System.Collections.Generic.ICollection<User>> GetAuthorityAccountsAsync() | ||||
|         public virtual System.Threading.Tasks.Task<System.Collections.Generic.ICollection<UserModel>> GetAuthorityAccountsAsync() | ||||
|         { | ||||
|             return GetAuthorityAccountsAsync(System.Threading.CancellationToken.None); | ||||
|         } | ||||
| @@ -320,7 +320,7 @@ namespace VisaApiClient | ||||
|         /// </remarks> | ||||
|         /// <returns>Success</returns> | ||||
|         /// <exception cref="ApiException">A server side error occurred.</exception> | ||||
|         public virtual async System.Threading.Tasks.Task<System.Collections.Generic.ICollection<User>> GetAuthorityAccountsAsync(System.Threading.CancellationToken cancellationToken) | ||||
|         public virtual async System.Threading.Tasks.Task<System.Collections.Generic.ICollection<UserModel>> GetAuthorityAccountsAsync(System.Threading.CancellationToken cancellationToken) | ||||
|         { | ||||
|             var client_ = _httpClient; | ||||
|             var disposeClient_ = false; | ||||
| @@ -361,7 +361,7 @@ namespace VisaApiClient | ||||
|                         var status_ = (int)response_.StatusCode; | ||||
|                         if (status_ == 200) | ||||
|                         { | ||||
|                             var objectResponse_ = await ReadObjectResponseAsync<System.Collections.Generic.ICollection<User>>(response_, headers_, cancellationToken).ConfigureAwait(false); | ||||
|                             var objectResponse_ = await ReadObjectResponseAsync<System.Collections.Generic.ICollection<UserModel>>(response_, headers_, cancellationToken).ConfigureAwait(false); | ||||
|                             if (objectResponse_.Object == null) | ||||
|                             { | ||||
|                                 throw new ApiException("Response was null which was not expected.", status_, objectResponse_.Text, headers_, null); | ||||
| @@ -413,9 +413,9 @@ namespace VisaApiClient | ||||
|         /// </summary> | ||||
|         /// <returns>Success</returns> | ||||
|         /// <exception cref="ApiException">A server side error occurred.</exception> | ||||
|         public virtual System.Threading.Tasks.Task<string> LoginAsync(string? email, string? password) | ||||
|         public virtual System.Threading.Tasks.Task<string> LoginAsync(string authData_Email, string authData_Password) | ||||
|         { | ||||
|             return LoginAsync(email, password, System.Threading.CancellationToken.None); | ||||
|             return LoginAsync(authData_Email, authData_Password, 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> | ||||
| @@ -424,8 +424,14 @@ namespace VisaApiClient | ||||
|         /// </summary> | ||||
|         /// <returns>Success</returns> | ||||
|         /// <exception cref="ApiException">A server side error occurred.</exception> | ||||
|         public virtual async System.Threading.Tasks.Task<string> LoginAsync(string? email, string? password, System.Threading.CancellationToken cancellationToken) | ||||
|         public virtual async System.Threading.Tasks.Task<string> LoginAsync(string authData_Email, string authData_Password, System.Threading.CancellationToken cancellationToken) | ||||
|         { | ||||
|             if (authData_Email == null) | ||||
|                 throw new System.ArgumentNullException("authData_Email"); | ||||
|  | ||||
|             if (authData_Password == null) | ||||
|                 throw new System.ArgumentNullException("authData_Password"); | ||||
|  | ||||
|             var client_ = _httpClient; | ||||
|             var disposeClient_ = false; | ||||
|             try | ||||
| @@ -440,14 +446,8 @@ namespace VisaApiClient | ||||
|                     // Operation Path: "users/login" | ||||
|                     urlBuilder_.Append("users/login"); | ||||
|                     urlBuilder_.Append('?'); | ||||
|                     if (email != null) | ||||
|                     { | ||||
|                         urlBuilder_.Append(System.Uri.EscapeDataString("email")).Append('=').Append(System.Uri.EscapeDataString(ConvertToString(email, System.Globalization.CultureInfo.InvariantCulture))).Append('&'); | ||||
|                     } | ||||
|                     if (password != null) | ||||
|                     { | ||||
|                         urlBuilder_.Append(System.Uri.EscapeDataString("password")).Append('=').Append(System.Uri.EscapeDataString(ConvertToString(password, System.Globalization.CultureInfo.InvariantCulture))).Append('&'); | ||||
|                     } | ||||
|                     urlBuilder_.Append(System.Uri.EscapeDataString("AuthData.Email")).Append('=').Append(System.Uri.EscapeDataString(ConvertToString(authData_Email, System.Globalization.CultureInfo.InvariantCulture))).Append('&'); | ||||
|                     urlBuilder_.Append(System.Uri.EscapeDataString("AuthData.Password")).Append('=').Append(System.Uri.EscapeDataString(ConvertToString(authData_Password, System.Globalization.CultureInfo.InvariantCulture))).Append('&'); | ||||
|                     urlBuilder_.Length--; | ||||
|  | ||||
|                     await PrepareRequestAsync(client_, request_, urlBuilder_, cancellationToken).ConfigureAwait(false); | ||||
| @@ -1477,19 +1477,27 @@ namespace VisaApiClient | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class Address | ||||
|     public partial class AddressModel | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("country", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Country { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("country", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(70, MinimumLength = 1)] | ||||
|         public string Country { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? City { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("city", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(70, MinimumLength = 1)] | ||||
|         public string City { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("street", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Street { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("street", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(100, MinimumLength = 1)] | ||||
|         public string Street { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("building", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Building { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("building", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(10, MinimumLength = 1)] | ||||
|         public string Building { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
|  | ||||
| @@ -1497,10 +1505,10 @@ namespace VisaApiClient | ||||
|     public partial class ApplicantModel | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public Name Name { get; set; } = default!; | ||||
|         public NameModel Name { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("passport", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public Passport Passport { get; set; } = default!; | ||||
|         public PassportModel Passport { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("birthDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public System.DateTimeOffset BirthDate { get; set; } = default!; | ||||
| @@ -1526,16 +1534,16 @@ namespace VisaApiClient | ||||
|         public MaritalStatus MaritalStatus { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("fatherName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public Name FatherName { get; set; } = default!; | ||||
|         public NameModel FatherName { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("motherName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public Name MotherName { get; set; } = default!; | ||||
|         public NameModel MotherName { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("jobTitle", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? JobTitle { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("placeOfWork", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public PlaceOfWork PlaceOfWork { get; set; } = default!; | ||||
|         public PlaceOfWorkModel PlaceOfWork { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("isNonResident", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public bool IsNonResident { get; set; } = default!; | ||||
| @@ -1563,11 +1571,15 @@ namespace VisaApiClient | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class AuthData | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("email", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Email { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("email", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(254, MinimumLength = 1)] | ||||
|         public string Email { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("password", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Password { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("password", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] | ||||
|         public string Password { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
|  | ||||
| @@ -1623,103 +1635,113 @@ namespace VisaApiClient | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class Name | ||||
|     public partial class NameModel | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("firstName", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? FirstName { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("firstName", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] | ||||
|         public string FirstName { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("surname", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Surname { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("surname", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] | ||||
|         public string Surname { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("patronymic", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(50)] | ||||
|         public string? Patronymic { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class Passport | ||||
|     public partial class PassportModel | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Number { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(20, MinimumLength = 1)] | ||||
|         public string Number { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("issuer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Issuer { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("issuer", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(200, MinimumLength = 1)] | ||||
|         public string Issuer { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("issueDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("issueDate", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         public System.DateTimeOffset IssueDate { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         public System.DateTimeOffset ExpirationDate { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class PastVisa | ||||
|     public partial class PastVisaModel | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("issueDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("issueDate", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         public System.DateTimeOffset IssueDate { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Name { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(70, MinimumLength = 1)] | ||||
|         public string Name { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         public System.DateTimeOffset ExpirationDate { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class PastVisit | ||||
|     public partial class PastVisitModel | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("startDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("startDate", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         public System.DateTimeOffset StartDate { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("endDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("endDate", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         public System.DateTimeOffset EndDate { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("destinationCountry", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? DestinationCountry { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("destinationCountry", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(70, MinimumLength = 1)] | ||||
|         public string DestinationCountry { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class PermissionToDestCountry | ||||
|     public partial class PermissionToDestCountryModel | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         public System.DateTimeOffset ExpirationDate { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("issuer", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Issuer { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class PlaceOfWork | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public System.Guid Id { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Name { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public Address Address { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("phoneNum", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? PhoneNum { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("issuer", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(200, MinimumLength = 1)] | ||||
|         public string Issuer { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class PlaceOfWorkModel | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Name { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("name", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(200, MinimumLength = 1)] | ||||
|         public string Name { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public Address Address { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("address", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public AddressModel Address { get; set; } = new AddressModel(); | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("phoneNum", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? PhoneNum { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("phoneNum", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(13, MinimumLength = 11)] | ||||
|         public string PhoneNum { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
|  | ||||
| @@ -1753,12 +1775,15 @@ namespace VisaApiClient | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class ReentryPermit | ||||
|     public partial class ReentryPermitModel | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Number { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("number", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(25, MinimumLength = 1)] | ||||
|         public string Number { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("expirationDate", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         public System.DateTimeOffset ExpirationDate { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
| @@ -1766,51 +1791,70 @@ namespace VisaApiClient | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class RegisterApplicantRequest | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("authData", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public AuthData AuthData { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("registerRequest", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public RegisterRequest RegisterRequest { get; set; } = new RegisterRequest(); | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("applicantName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public Name ApplicantName { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("applicantName", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public NameModel ApplicantName { get; set; } = new NameModel(); | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("passport", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public Passport Passport { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("passport", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public PassportModel Passport { get; set; } = new PassportModel(); | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("birthDate", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("birthDate", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         public System.DateTimeOffset BirthDate { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("cityOfBirth", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? CityOfBirth { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("cityOfBirth", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(70, MinimumLength = 1)] | ||||
|         public string CityOfBirth { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("countryOfBirth", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? CountryOfBirth { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("countryOfBirth", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(70, MinimumLength = 1)] | ||||
|         public string CountryOfBirth { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("citizenship", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Citizenship { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("citizenship", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(30, MinimumLength = 1)] | ||||
|         public string Citizenship { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("citizenshipByBirth", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? CitizenshipByBirth { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("citizenshipByBirth", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(30, MinimumLength = 1)] | ||||
|         public string CitizenshipByBirth { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("gender", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("gender", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | ||||
|         public Gender Gender { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("maritalStatus", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("maritalStatus", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | ||||
|         public MaritalStatus MaritalStatus { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("fatherName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public Name FatherName { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("fatherName", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public NameModel FatherName { get; set; } = new NameModel(); | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("motherName", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public Name MotherName { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("motherName", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public NameModel MotherName { get; set; } = new NameModel(); | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("jobTitle", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? JobTitle { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("jobTitle", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(50, MinimumLength = 1)] | ||||
|         public string JobTitle { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("placeOfWork", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public PlaceOfWorkModel PlaceOfWork { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("placeOfWork", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public PlaceOfWorkModel PlaceOfWork { get; set; } = new PlaceOfWorkModel(); | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("isNonResident", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("isNonResident", Required = Newtonsoft.Json.Required.Always)] | ||||
|         public bool IsNonResident { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
| @@ -1818,8 +1862,9 @@ namespace VisaApiClient | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class RegisterRequest | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("authData", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public AuthData AuthData { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("authData", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public AuthData AuthData { get; set; } = new AuthData(); | ||||
|  | ||||
|     } | ||||
|  | ||||
| @@ -1839,69 +1884,59 @@ namespace VisaApiClient | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public enum Role | ||||
|     public partial class UserModel | ||||
|     { | ||||
|  | ||||
|         [System.Runtime.Serialization.EnumMember(Value = @"Applicant")] | ||||
|         Applicant = 0, | ||||
|  | ||||
|         [System.Runtime.Serialization.EnumMember(Value = @"ApprovingAuthority")] | ||||
|         ApprovingAuthority = 1, | ||||
|  | ||||
|         [System.Runtime.Serialization.EnumMember(Value = @"Admin")] | ||||
|         Admin = 2, | ||||
|  | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class User | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("id", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         public System.Guid Id { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("role", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | ||||
|         public Role Role { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("email", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Email { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("password", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? Password { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("email", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(254, MinimumLength = 1)] | ||||
|         public string Email { get; set; } = default!; | ||||
|  | ||||
|     } | ||||
|  | ||||
|     [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "14.1.0.0 (NJsonSchema v11.0.2.0 (Newtonsoft.Json v13.0.0.0))")] | ||||
|     public partial class VisaApplicationCreateRequest | ||||
|     { | ||||
|         [Newtonsoft.Json.JsonProperty("reentryPermit", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public ReentryPermit ReentryPermit { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("reentryPermit", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public ReentryPermitModel ReentryPermit { get; set; } = new ReentryPermitModel(); | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("destinationCountry", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? DestinationCountry { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("destinationCountry", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         [System.ComponentModel.DataAnnotations.StringLength(70, MinimumLength = 1)] | ||||
|         public string DestinationCountry { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("visaCategory", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("visaCategory", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | ||||
|         public VisaCategory VisaCategory { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("isForGroup", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("isForGroup", Required = Newtonsoft.Json.Required.Always)] | ||||
|         public bool IsForGroup { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("requestedNumberOfEntries", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("requestedNumberOfEntries", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required(AllowEmptyStrings = true)] | ||||
|         [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | ||||
|         public RequestedNumberOfEntries RequestedNumberOfEntries { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("validDaysRequested", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonProperty("validDaysRequested", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Range(0, 90)] | ||||
|         public int ValidDaysRequested { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("pastVisas", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public System.Collections.Generic.ICollection<PastVisa>? PastVisas { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("pastVisas", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public System.Collections.Generic.ICollection<PastVisaModel> PastVisas { get; set; } = new System.Collections.ObjectModel.Collection<PastVisaModel>(); | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("permissionToDestCountry", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public PermissionToDestCountry PermissionToDestCountry { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("permissionToDestCountry", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public PermissionToDestCountryModel PermissionToDestCountry { get; set; } = new PermissionToDestCountryModel(); | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("pastVisits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public System.Collections.Generic.ICollection<PastVisit>? PastVisits { get; set; } = default!; | ||||
|         [Newtonsoft.Json.JsonProperty("pastVisits", Required = Newtonsoft.Json.Required.Always)] | ||||
|         [System.ComponentModel.DataAnnotations.Required] | ||||
|         public System.Collections.Generic.ICollection<PastVisitModel> PastVisits { get; set; } = new System.Collections.ObjectModel.Collection<PastVisitModel>(); | ||||
|  | ||||
|     } | ||||
|  | ||||
| @@ -1916,19 +1951,19 @@ namespace VisaApiClient | ||||
|         public ApplicationStatus Status { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("reentryPermit", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public ReentryPermit ReentryPermit { get; set; } = default!; | ||||
|         public ReentryPermitModel ReentryPermit { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("destinationCountry", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? DestinationCountry { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("pastVisas", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public System.Collections.Generic.ICollection<PastVisa>? PastVisas { get; set; } = default!; | ||||
|         public System.Collections.Generic.ICollection<PastVisaModel>? PastVisas { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("permissionToDestCountry", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public PermissionToDestCountry PermissionToDestCountry { get; set; } = default!; | ||||
|         public PermissionToDestCountryModel PermissionToDestCountry { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("pastVisits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public System.Collections.Generic.ICollection<PastVisit>? PastVisits { get; set; } = default!; | ||||
|         public System.Collections.Generic.ICollection<PastVisitModel>? PastVisits { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("visaCategory", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | ||||
| @@ -1963,19 +1998,19 @@ namespace VisaApiClient | ||||
|         public ApplicationStatus Status { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("reentryPermit", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public ReentryPermit ReentryPermit { get; set; } = default!; | ||||
|         public ReentryPermitModel ReentryPermit { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("destinationCountry", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public string? DestinationCountry { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("pastVisas", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public System.Collections.Generic.ICollection<PastVisa>? PastVisas { get; set; } = default!; | ||||
|         public System.Collections.Generic.ICollection<PastVisaModel>? PastVisas { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("permissionToDestCountry", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public PermissionToDestCountry PermissionToDestCountry { get; set; } = default!; | ||||
|         public PermissionToDestCountryModel PermissionToDestCountry { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("pastVisits", Required = Newtonsoft.Json.Required.Default, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         public System.Collections.Generic.ICollection<PastVisit>? PastVisits { get; set; } = default!; | ||||
|         public System.Collections.Generic.ICollection<PastVisitModel>? PastVisits { get; set; } = default!; | ||||
|  | ||||
|         [Newtonsoft.Json.JsonProperty("visaCategory", Required = Newtonsoft.Json.Required.DisallowNull, NullValueHandling = Newtonsoft.Json.NullValueHandling.Ignore)] | ||||
|         [Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.StringEnumConverter))] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user