//
#pragma warning disable CS0618
using Marechai.App.SoundSynthsByMachine.BySoundSynth.Item;
using Microsoft.Kiota.Abstractions.Extensions;
using Microsoft.Kiota.Abstractions;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using System;
namespace Marechai.App.SoundSynthsByMachine.BySoundSynth
{
///
/// Builds and executes requests for operations under \sound-synths-by-machine\by-sound-synth
///
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
public partial class BySoundSynthRequestBuilder : BaseRequestBuilder
{
/// Gets an item from the Marechai.App.soundSynthsByMachine.bySoundSynth.item collection
/// Unique identifier of the item
/// A
public global::Marechai.App.SoundSynthsByMachine.BySoundSynth.Item.WithSoundSynthItemRequestBuilder this[int position]
{
get
{
var urlTplParams = new Dictionary(PathParameters);
urlTplParams.Add("soundSynthId", position);
return new global::Marechai.App.SoundSynthsByMachine.BySoundSynth.Item.WithSoundSynthItemRequestBuilder(urlTplParams, RequestAdapter);
}
}
/// Gets an item from the Marechai.App.soundSynthsByMachine.bySoundSynth.item collection
/// Unique identifier of the item
/// A
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
public global::Marechai.App.SoundSynthsByMachine.BySoundSynth.Item.WithSoundSynthItemRequestBuilder this[string position]
{
get
{
var urlTplParams = new Dictionary(PathParameters);
if (!string.IsNullOrWhiteSpace(position)) urlTplParams.Add("soundSynthId", position);
return new global::Marechai.App.SoundSynthsByMachine.BySoundSynth.Item.WithSoundSynthItemRequestBuilder(urlTplParams, RequestAdapter);
}
}
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
public BySoundSynthRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sound-synths-by-machine/by-sound-synth", pathParameters)
{
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
public BySoundSynthRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/sound-synths-by-machine/by-sound-synth", rawUrl)
{
}
}
}
#pragma warning restore CS0618