-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGet.cs
24 lines (19 loc) · 974 Bytes
/
Get.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using E5Renewer.Models.Modules;
using Microsoft.Extensions.Logging;
using Microsoft.Graph;
namespace E5Renewer.Models.GraphAPIs.DeviceAppManagement.MobileApps.GraphAndroidStoreApp;
/// <summary>DeviceAppManagement.MobileApps.GraphAndroidStoreApp.Get api implementation.</summary>
[Module]
public class Get : BasicModule, IAPIFunction
{
/// <inheritdoc/>
public ILogger logger { get; }
/// <summary>Initialize <see cref="Get"/> class.</summary>
/// <param name="logger">The <see cref="ILogger{IAPIFunction}"/> implementation.</param>
/// <remarks>All params should be injected by Asp.Net Core.</remarks>
public Get(ILogger<Get> logger) => this.logger = logger;
/// <inheritdoc/>
public string id { get => "DeviceAppManagement.MobileApps.GraphAndroidStoreApp.Get"; }
/// <inheritdoc/>
public async Task<object?> CallAsync(GraphServiceClient client) => await client.DeviceAppManagement.MobileApps.GraphAndroidStoreApp.GetAsync();
}