1
1
// <auto-generated/>
2
+ #pragma warning disable CS0618
2
3
using Microsoft . Graph . Models . ODataErrors ;
4
+ using Microsoft . Kiota . Abstractions . Extensions ;
3
5
using Microsoft . Kiota . Abstractions . Serialization ;
4
6
using Microsoft . Kiota . Abstractions ;
5
7
using System . Collections . Generic ;
6
8
using System . IO ;
7
- using System . Linq ;
8
9
using System . Threading . Tasks ;
9
10
using System . Threading ;
10
11
using System ;
@@ -13,18 +14,19 @@ namespace Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Count
13
14
/// <summary>
14
15
/// Provides operations to count the resources in the collection.
15
16
/// </summary>
16
- public class CountRequestBuilder : BaseRequestBuilder
17
+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "Kiota" , "1.18.0" ) ]
18
+ public partial class CountRequestBuilder : BaseRequestBuilder
17
19
{
18
20
/// <summary>
19
- /// Instantiates a new <see cref="Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Count.CountRequestBuilder"/> and sets the default values.
21
+ /// Instantiates a new <see cref="global:: Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Count.CountRequestBuilder"/> and sets the default values.
20
22
/// </summary>
21
23
/// <param name="pathParameters">Path parameters for the request</param>
22
24
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
23
25
public CountRequestBuilder ( Dictionary < string , object > pathParameters , IRequestAdapter requestAdapter ) : base ( requestAdapter , "{+baseurl}/admin/edge/internetExplorerMode/siteLists/$count{?%24filter,%24search}" , pathParameters )
24
26
{
25
27
}
26
28
/// <summary>
27
- /// Instantiates a new <see cref="Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Count.CountRequestBuilder"/> and sets the default values.
29
+ /// Instantiates a new <see cref="global:: Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Count.CountRequestBuilder"/> and sets the default values.
28
30
/// </summary>
29
31
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
30
32
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
@@ -37,20 +39,20 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
37
39
/// <returns>A <see cref="int"/></returns>
38
40
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
39
41
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
40
- /// <exception cref="Microsoft.Graph.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
42
+ /// <exception cref="global:: Microsoft.Graph.Models.ODataErrors.ODataError">When receiving a 4XX or 5XX status code</exception>
41
43
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
42
44
#nullable enable
43
- public async Task < int ? > GetAsync ( Action < RequestConfiguration < Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder . CountRequestBuilderGetQueryParameters > > ? requestConfiguration = default , CancellationToken cancellationToken = default )
45
+ public async Task < int ? > GetAsync ( Action < RequestConfiguration < global :: Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder . CountRequestBuilderGetQueryParameters > > ? requestConfiguration = default , CancellationToken cancellationToken = default )
44
46
{
45
47
#nullable restore
46
48
#else
47
- public async Task < int ? > GetAsync ( Action < RequestConfiguration < Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder . CountRequestBuilderGetQueryParameters > > requestConfiguration = default , CancellationToken cancellationToken = default )
49
+ public async Task < int ? > GetAsync ( Action < RequestConfiguration < global :: Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder . CountRequestBuilderGetQueryParameters > > requestConfiguration = default , CancellationToken cancellationToken = default )
48
50
{
49
51
#endif
50
52
var requestInfo = ToGetRequestInformation ( requestConfiguration ) ;
51
53
var errorMapping = new Dictionary < string , ParsableFactory < IParsable > >
52
54
{
53
- { "XXX" , Microsoft . Graph . Models . ODataErrors . ODataError . CreateFromDiscriminatorValue } ,
55
+ { "XXX" , global :: Microsoft . Graph . Models . ODataErrors . ODataError . CreateFromDiscriminatorValue } ,
54
56
} ;
55
57
return await RequestAdapter . SendPrimitiveAsync < int ? > ( requestInfo , errorMapping , cancellationToken ) . ConfigureAwait ( false ) ;
56
58
}
@@ -61,11 +63,11 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
61
63
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
62
64
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
63
65
#nullable enable
64
- public RequestInformation ToGetRequestInformation ( Action < RequestConfiguration < Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder . CountRequestBuilderGetQueryParameters > > ? requestConfiguration = default )
66
+ public RequestInformation ToGetRequestInformation ( Action < RequestConfiguration < global :: Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder . CountRequestBuilderGetQueryParameters > > ? requestConfiguration = default )
65
67
{
66
68
#nullable restore
67
69
#else
68
- public RequestInformation ToGetRequestInformation ( Action < RequestConfiguration < Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder . CountRequestBuilderGetQueryParameters > > requestConfiguration = default )
70
+ public RequestInformation ToGetRequestInformation ( Action < RequestConfiguration < global :: Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder . CountRequestBuilderGetQueryParameters > > requestConfiguration = default )
69
71
{
70
72
#endif
71
73
var requestInfo = new RequestInformation ( Method . GET , UrlTemplate , PathParameters ) ;
@@ -76,16 +78,17 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<Mi
76
78
/// <summary>
77
79
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
78
80
/// </summary>
79
- /// <returns>A <see cref="Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Count.CountRequestBuilder"/></returns>
81
+ /// <returns>A <see cref="global:: Microsoft.Graph.Admin.Edge.InternetExplorerMode.SiteLists.Count.CountRequestBuilder"/></returns>
80
82
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
81
- public Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder WithUrl ( string rawUrl )
83
+ public global :: Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder WithUrl ( string rawUrl )
82
84
{
83
- return new Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder ( rawUrl , RequestAdapter ) ;
85
+ return new global :: Microsoft . Graph . Admin . Edge . InternetExplorerMode . SiteLists . Count . CountRequestBuilder ( rawUrl , RequestAdapter ) ;
84
86
}
85
87
/// <summary>
86
88
/// Get the number of the resource
87
89
/// </summary>
88
- public class CountRequestBuilderGetQueryParameters
90
+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "Kiota" , "1.18.0" ) ]
91
+ public partial class CountRequestBuilderGetQueryParameters
89
92
{
90
93
/// <summary>Filter items by property values</summary>
91
94
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -112,8 +115,10 @@ public class CountRequestBuilderGetQueryParameters
112
115
/// Configuration for the request such as headers, query parameters, and middleware options.
113
116
/// </summary>
114
117
[ Obsolete ( "This class is deprecated. Please use the generic RequestConfiguration class generated by the generator." ) ]
115
- public class CountRequestBuilderGetRequestConfiguration : RequestConfiguration< Microsoft . Graph. Admin. Edge. InternetExplorerMode. SiteLists. Count. CountRequestBuilder. CountRequestBuilderGetQueryParameters >
118
+ [ global ::System . CodeDom . Compiler . GeneratedCode ( "Kiota" , "1.18.0" ) ]
119
+ public partial class CountRequestBuilderGetRequestConfiguration : RequestConfiguration< global ::Microsoft. Graph. Admin. Edge. InternetExplorerMode. SiteLists. Count. CountRequestBuilder. CountRequestBuilderGetQueryParameters >
116
120
{
117
121
}
118
122
}
119
123
}
124
+ #pragma warning restore CS0618
0 commit comments