Add endpoint to retrieve machines by processor.

This commit is contained in:
2025-11-16 16:09:02 +00:00
parent 959a48b36c
commit 5b709755c7
3 changed files with 26 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
#pragma warning disable CS0618
using Marechai.App.Models;
using Marechai.App.ProcessorsByMachine.ByMachine;
using Marechai.App.ProcessorsByMachine.ByProcessor;
using Marechai.App.ProcessorsByMachine.Item;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions.Serialization;
@@ -24,6 +25,11 @@ namespace Marechai.App.ProcessorsByMachine
{
get => new global::Marechai.App.ProcessorsByMachine.ByMachine.ByMachineRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>The byProcessor property</summary>
public global::Marechai.App.ProcessorsByMachine.ByProcessor.ByProcessorRequestBuilder ByProcessor
{
get => new global::Marechai.App.ProcessorsByMachine.ByProcessor.ByProcessorRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Gets an item from the Marechai.App.processorsByMachine.item collection</summary>
/// <param name="position">Unique identifier of the item</param>
/// <returns>A <see cref="global::Marechai.App.ProcessorsByMachine.Item.ProcessorsByMachineItemRequestBuilder"/></returns>