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:
@@ -31,13 +31,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 int? Id { get; set; }
|
||||
/// <summary>The name property</summary>
|
||||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
#nullable enable
|
||||
@@ -55,13 +49,7 @@ namespace Marechai.App.Models
|
||||
public string Person { 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 surname property</summary>
|
||||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
|
||||
#nullable enable
|
||||
@@ -97,10 +85,10 @@ namespace Marechai.App.Models
|
||||
{
|
||||
{ "alias", n => { Alias = n.GetStringValue(); } },
|
||||
{ "display_name", n => { DisplayName = n.GetStringValue(); } },
|
||||
{ "id", n => { Id = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
|
||||
{ "id", n => { Id = n.GetIntValue(); } },
|
||||
{ "name", n => { Name = n.GetStringValue(); } },
|
||||
{ "person", n => { Person = n.GetStringValue(); } },
|
||||
{ "person_id", n => { PersonId = n.GetObjectValue<UntypedNode>(UntypedNode.CreateFromDiscriminatorValue); } },
|
||||
{ "person_id", n => { PersonId = n.GetIntValue(); } },
|
||||
{ "surname", n => { Surname = n.GetStringValue(); } },
|
||||
};
|
||||
}
|
||||
@@ -113,10 +101,10 @@ namespace Marechai.App.Models
|
||||
if(ReferenceEquals(writer, null)) throw new ArgumentNullException(nameof(writer));
|
||||
writer.WriteStringValue("alias", Alias);
|
||||
writer.WriteStringValue("display_name", DisplayName);
|
||||
writer.WriteObjectValue<UntypedNode>("id", Id);
|
||||
writer.WriteIntValue("id", Id);
|
||||
writer.WriteStringValue("name", Name);
|
||||
writer.WriteStringValue("person", Person);
|
||||
writer.WriteObjectValue<UntypedNode>("person_id", PersonId);
|
||||
writer.WriteIntValue("person_id", PersonId);
|
||||
writer.WriteStringValue("surname", Surname);
|
||||
writer.WriteAdditionalData(AdditionalData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user