mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 19:14:25 +00:00
Update Kiota client.
This commit is contained in:
@@ -23,13 +23,7 @@ namespace Marechai.App.Models
|
||||
public string Alias { get; set; }
|
||||
#endif
|
||||
/// <summary>The book_id property</summary>
|
||||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
#nullable enable
|
||||
public UntypedNode? BookId { get; set; }
|
||||
#nullable restore
|
||||
#else
|
||||
public UntypedNode BookId { get; set; }
|
||||
#endif
|
||||
public long? BookId { get; set; }
|
||||
/// <summary>The display_name property</summary>
|
||||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
#nullable enable
|
||||
@@ -39,13 +33,7 @@ namespace Marechai.App.Models
|
||||
public string DisplayName { get; set; }
|
||||
#endif
|
||||
/// <summary>The id property</summary>
|
||||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
#nullable enable
|
||||
public UntypedNode? Id { get; set; }
|
||||
#nullable restore
|
||||
#else
|
||||
public UntypedNode Id { get; set; }
|
||||
#endif
|
||||
public long? Id { get; set; }
|
||||
/// <summary>The name property</summary>
|
||||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
#nullable enable
|
||||
@@ -55,13 +43,7 @@ namespace Marechai.App.Models
|
||||
public string Name { get; set; }
|
||||
#endif
|
||||
/// <summary>The person_id property</summary>
|
||||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
#nullable enable
|
||||
public UntypedNode? PersonId { get; set; }
|
||||
#nullable restore
|
||||
#else
|
||||
public UntypedNode PersonId { get; set; }
|
||||
#endif
|
||||
public int? PersonId { get; set; }
|
||||
/// <summary>The role property</summary>
|
||||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
#nullable enable
|
||||
@@ -112,11 +94,11 @@ namespace Marechai.App.Models
|
||||
return new Dictionary<string, Action<IParseNode>>
|
||||
{
|
||||
{ "alias", n => { Alias = n.GetStringValue(); } },
|
||||
{ "book_id", n => { BookId = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
|
||||
{ "book_id", n => { BookId = n.GetLongValue(); } },
|
||||
{ "display_name", n => { DisplayName = n.GetStringValue(); } },
|
||||
{ "id", n => { Id = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
|
||||
{ "id", n => { Id = n.GetLongValue(); } },
|
||||
{ "name", n => { Name = n.GetStringValue(); } },
|
||||
{ "person_id", n => { PersonId = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
|
||||
{ "person_id", n => { PersonId = n.GetIntValue(); } },
|
||||
{ "role", n => { Role = n.GetStringValue(); } },
|
||||
{ "role_id", n => { RoleId = n.GetStringValue(); } },
|
||||
{ "surname", n => { Surname = n.GetStringValue(); } },
|
||||
@@ -130,11 +112,11 @@ namespace Marechai.App.Models
|
||||
{
|
||||
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
|
||||
writer.WriteStringValue("alias", Alias);
|
||||
writer.WriteObjectValue<UntypedNode>("book_id", BookId);
|
||||
writer.WriteLongValue("book_id", BookId);
|
||||
writer.WriteStringValue("display_name", DisplayName);
|
||||
writer.WriteObjectValue<UntypedNode>("id", Id);
|
||||
writer.WriteLongValue("id", Id);
|
||||
writer.WriteStringValue("name", Name);
|
||||
writer.WriteObjectValue<UntypedNode>("person_id", PersonId);
|
||||
writer.WriteIntValue("person_id", PersonId);
|
||||
writer.WriteStringValue("role", Role);
|
||||
writer.WriteStringValue("role_id", RoleId);
|
||||
writer.WriteStringValue("surname", Surname);
|
||||
|
||||
Reference in New Issue
Block a user