-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use IAPIFunction instead IAPIFunctionsContainer
- Loading branch information
1 parent
b899a23
commit 3551d73
Showing
728 changed files
with
18,054 additions
and
729 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.Admin | ||
{ | ||
/// <summary>Admin.Get api implementation.</summary> | ||
public class Get : 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 => "Admin.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.Admin.GetAsync(); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
E5Renewer/Models/GraphAPIs/APIFunctions/AgreementAcceptancesGet/Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.AgreementAcceptances | ||
{ | ||
/// <summary>AgreementAcceptances.Get api implementation.</summary> | ||
public class Get : 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 => "AgreementAcceptances.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.AgreementAcceptances.GetAsync(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.Agreements | ||
{ | ||
/// <summary>Agreements.Get api implementation.</summary> | ||
public class Get : 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 => "Agreements.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.Agreements.GetAsync(); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
E5Renewer/Models/GraphAPIs/APIFunctions/AppCatalogs/Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions | ||
{ | ||
/// <summary>AppCatalogs.Get api implementation.</summary> | ||
public class Get : 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 => "AppCatalogs.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.AppCatalogs.GetAsync(); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
E5Renewer/Models/GraphAPIs/APIFunctions/ApplicationTemplates/Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.ApplicationTemplates | ||
{ | ||
/// <summary>ApplicationTemplates.Get api implementation.</summary> | ||
public class Get : 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 => "ApplicationTemplates.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.ApplicationTemplates.GetAsync(); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
E5Renewer/Models/GraphAPIs/APIFunctions/Applications/Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.Applications | ||
{ | ||
/// <summary>Applications.Get api implementation.</summary> | ||
public class Get : 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 => "Applications.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.Applications.GetAsync(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.AuditLogs | ||
{ | ||
/// <summary>AuditLogs.Get api implementation.</summary> | ||
public class Get : 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 => "AuditLogs.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.AuditLogs.GetAsync(); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
E5Renewer/Models/GraphAPIs/APIFunctions/AuthenticationMethodConfigurations/Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.AuthenticationMethodConfigurations | ||
{ | ||
/// <summary>AuthenticationMethodConfigurations.Get api implementation.</summary> | ||
public class Get : 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 => "AuthenticationMethodConfigurations.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.AuthenticationMethodConfigurations.GetAsync(); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
E5Renewer/Models/GraphAPIs/APIFunctions/AuthenticationMethodsPolicy/Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.AuthenticationMethodsPolicy | ||
{ | ||
/// <summary>AuthenticationMethodsPolicy.Get api implementation.</summary> | ||
public class Get : 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 => "AuthenticationMethodsPolicy.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.AuthenticationMethodsPolicy.GetAsync(); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
E5Renewer/Models/GraphAPIs/APIFunctions/CertificateBasedAuthConfiguration/Count/Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.CertificateBasedAuthConfiguration.Count | ||
{ | ||
/// <summary>CertificateBasedAuthConfiguration.Count.Get api implementation.</summary> | ||
public class Get : 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 => "CertificateBasedAuthConfiguration.Count.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.CertificateBasedAuthConfiguration.Count.GetAsync(); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
E5Renewer/Models/GraphAPIs/APIFunctions/CertificateBasedAuthConfiguration/Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.CertificateBasedAuthConfiguration | ||
{ | ||
/// <summary>CertificateBasedAuthConfiguration.Get api implementation.</summary> | ||
public class Get : 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 => "CertificateBasedAuthConfiguration.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.CertificateBasedAuthConfiguration.GetAsync(); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
E5Renewer/Models/GraphAPIs/APIFunctions/Chats/Count/Get.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
using Microsoft.Graph; | ||
|
||
namespace E5Renewer.Models.GraphAPIs.APIFunctions.Chats.Count | ||
{ | ||
/// <summary>Chats.Count.Get api implementation.</summary> | ||
public class Get : 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 => "Chats.Count.Get"; } | ||
|
||
/// <inheritdoc/> | ||
public async Task<object?> CallAsync(GraphServiceClient client) => await client.Chats.Count.GetAsync(); | ||
} | ||
} |
Oops, something went wrong.