@@ -22,40 +22,40 @@ namespace Microsoft.Graph.Admin
22
22
public class AdminRequestBuilder : BaseRequestBuilder
23
23
{
24
24
/// <summary>Provides operations to manage the edge property of the microsoft.graph.admin entity.</summary>
25
- public EdgeRequestBuilder Edge
25
+ public Microsoft . Graph . Admin . Edge . EdgeRequestBuilder Edge
26
26
{
27
- get => new EdgeRequestBuilder ( PathParameters , RequestAdapter ) ;
27
+ get => new Microsoft . Graph . Admin . Edge . EdgeRequestBuilder ( PathParameters , RequestAdapter ) ;
28
28
}
29
29
/// <summary>Provides operations to manage the microsoft365Apps property of the microsoft.graph.admin entity.</summary>
30
- public Microsoft365AppsRequestBuilder Microsoft365Apps
30
+ public Microsoft . Graph . Admin . Microsoft365Apps . Microsoft365AppsRequestBuilder Microsoft365Apps
31
31
{
32
- get => new Microsoft365AppsRequestBuilder ( PathParameters , RequestAdapter ) ;
32
+ get => new Microsoft . Graph . Admin . Microsoft365Apps . Microsoft365AppsRequestBuilder ( PathParameters , RequestAdapter ) ;
33
33
}
34
34
/// <summary>Provides operations to manage the people property of the microsoft.graph.admin entity.</summary>
35
- public PeopleRequestBuilder People
35
+ public Microsoft . Graph . Admin . People . PeopleRequestBuilder People
36
36
{
37
- get => new PeopleRequestBuilder ( PathParameters , RequestAdapter ) ;
37
+ get => new Microsoft . Graph . Admin . People . PeopleRequestBuilder ( PathParameters , RequestAdapter ) ;
38
38
}
39
39
/// <summary>Provides operations to manage the serviceAnnouncement property of the microsoft.graph.admin entity.</summary>
40
- public ServiceAnnouncementRequestBuilder ServiceAnnouncement
40
+ public Microsoft . Graph . Admin . ServiceAnnouncement . ServiceAnnouncementRequestBuilder ServiceAnnouncement
41
41
{
42
- get => new ServiceAnnouncementRequestBuilder ( PathParameters , RequestAdapter ) ;
42
+ get => new Microsoft . Graph . Admin . ServiceAnnouncement . ServiceAnnouncementRequestBuilder ( PathParameters , RequestAdapter ) ;
43
43
}
44
44
/// <summary>Provides operations to manage the sharepoint property of the microsoft.graph.admin entity.</summary>
45
- public SharepointRequestBuilder Sharepoint
45
+ public Microsoft . Graph . Admin . Sharepoint . SharepointRequestBuilder Sharepoint
46
46
{
47
- get => new SharepointRequestBuilder ( PathParameters , RequestAdapter ) ;
47
+ get => new Microsoft . Graph . Admin . Sharepoint . SharepointRequestBuilder ( PathParameters , RequestAdapter ) ;
48
48
}
49
49
/// <summary>
50
- /// Instantiates a new <see cref="AdminRequestBuilder"/> and sets the default values.
50
+ /// Instantiates a new <see cref="Microsoft.Graph.Admin. AdminRequestBuilder"/> and sets the default values.
51
51
/// </summary>
52
52
/// <param name="pathParameters">Path parameters for the request</param>
53
53
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
54
54
public AdminRequestBuilder ( Dictionary < string , object > pathParameters , IRequestAdapter requestAdapter ) : base ( requestAdapter , "{+baseurl}/admin{?%24expand,%24select}" , pathParameters )
55
55
{
56
56
}
57
57
/// <summary>
58
- /// Instantiates a new <see cref="AdminRequestBuilder"/> and sets the default values.
58
+ /// Instantiates a new <see cref="Microsoft.Graph.Admin. AdminRequestBuilder"/> and sets the default values.
59
59
/// </summary>
60
60
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
61
61
/// <param name="requestAdapter">The request adapter to use to execute the requests.</param>
@@ -68,20 +68,20 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
68
68
/// <returns>A <see cref="Microsoft.Graph.Models.Admin"/></returns>
69
69
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
70
70
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
71
- /// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
71
+ /// <exception cref="Microsoft.Graph.Models.ODataErrors. ODataError">When receiving a 4XX or 5XX status code</exception>
72
72
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
73
73
#nullable enable
74
- public async Task < Microsoft . Graph . Models . Admin ? > GetAsync ( Action < RequestConfiguration < AdminRequestBuilderGetQueryParameters > > ? requestConfiguration = default , CancellationToken cancellationToken = default )
74
+ public async Task < Microsoft . Graph . Models . Admin ? > GetAsync ( Action < RequestConfiguration < Microsoft . Graph . Admin . AdminRequestBuilder . AdminRequestBuilderGetQueryParameters > > ? requestConfiguration = default , CancellationToken cancellationToken = default )
75
75
{
76
76
#nullable restore
77
77
#else
78
- public async Task < Microsoft . Graph . Models . Admin > GetAsync ( Action < RequestConfiguration < AdminRequestBuilderGetQueryParameters > > requestConfiguration = default , CancellationToken cancellationToken = default )
78
+ public async Task < Microsoft . Graph . Models . Admin > GetAsync ( Action < RequestConfiguration < Microsoft . Graph . Admin . AdminRequestBuilder . AdminRequestBuilderGetQueryParameters > > requestConfiguration = default , CancellationToken cancellationToken = default )
79
79
{
80
80
#endif
81
81
var requestInfo = ToGetRequestInformation ( requestConfiguration ) ;
82
82
var errorMapping = new Dictionary < string , ParsableFactory < IParsable > >
83
83
{
84
- { "XXX" , ODataError . CreateFromDiscriminatorValue } ,
84
+ { "XXX" , Microsoft . Graph . Models . ODataErrors . ODataError . CreateFromDiscriminatorValue } ,
85
85
} ;
86
86
return await RequestAdapter . SendAsync < Microsoft . Graph . Models . Admin > ( requestInfo , Microsoft . Graph . Models . Admin . CreateFromDiscriminatorValue , errorMapping , cancellationToken ) . ConfigureAwait ( false ) ;
87
87
}
@@ -92,7 +92,7 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
92
92
/// <param name="body">The request body</param>
93
93
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
94
94
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
95
- /// <exception cref="ODataError">When receiving a 4XX or 5XX status code</exception>
95
+ /// <exception cref="Microsoft.Graph.Models.ODataErrors. ODataError">When receiving a 4XX or 5XX status code</exception>
96
96
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
97
97
#nullable enable
98
98
public async Task < Microsoft . Graph . Models . Admin ? > PatchAsync ( Microsoft . Graph . Models . Admin body , Action < RequestConfiguration < DefaultQueryParameters > > ? requestConfiguration = default , CancellationToken cancellationToken = default )
@@ -106,7 +106,7 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
106
106
var requestInfo = ToPatchRequestInformation ( body , requestConfiguration ) ;
107
107
var errorMapping = new Dictionary < string , ParsableFactory < IParsable > >
108
108
{
109
- { "XXX" , ODataError . CreateFromDiscriminatorValue } ,
109
+ { "XXX" , Microsoft . Graph . Models . ODataErrors . ODataError . CreateFromDiscriminatorValue } ,
110
110
} ;
111
111
return await RequestAdapter . SendAsync < Microsoft . Graph . Models . Admin > ( requestInfo , Microsoft . Graph . Models . Admin . CreateFromDiscriminatorValue , errorMapping , cancellationToken ) . ConfigureAwait ( false ) ;
112
112
}
@@ -117,11 +117,11 @@ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
117
117
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
118
118
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
119
119
#nullable enable
120
- public RequestInformation ToGetRequestInformation ( Action < RequestConfiguration < AdminRequestBuilderGetQueryParameters > > ? requestConfiguration = default )
120
+ public RequestInformation ToGetRequestInformation ( Action < RequestConfiguration < Microsoft . Graph . Admin . AdminRequestBuilder . AdminRequestBuilderGetQueryParameters > > ? requestConfiguration = default )
121
121
{
122
122
#nullable restore
123
123
#else
124
- public RequestInformation ToGetRequestInformation ( Action < RequestConfiguration < AdminRequestBuilderGetQueryParameters > > requestConfiguration = default )
124
+ public RequestInformation ToGetRequestInformation ( Action < RequestConfiguration < Microsoft . Graph . Admin . AdminRequestBuilder . AdminRequestBuilderGetQueryParameters > > requestConfiguration = default )
125
125
{
126
126
#endif
127
127
var requestInfo = new RequestInformation ( Method . GET , UrlTemplate , PathParameters ) ;
@@ -154,11 +154,11 @@ public RequestInformation ToPatchRequestInformation(Microsoft.Graph.Models.Admin
154
154
/// <summary>
155
155
/// Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
156
156
/// </summary>
157
- /// <returns>A <see cref="AdminRequestBuilder"/></returns>
157
+ /// <returns>A <see cref="Microsoft.Graph.Admin. AdminRequestBuilder"/></returns>
158
158
/// <param name="rawUrl">The raw URL to use for the request builder.</param>
159
- public AdminRequestBuilder WithUrl ( string rawUrl )
159
+ public Microsoft . Graph . Admin . AdminRequestBuilder WithUrl ( string rawUrl )
160
160
{
161
- return new AdminRequestBuilder ( rawUrl , RequestAdapter ) ;
161
+ return new Microsoft . Graph . Admin . AdminRequestBuilder ( rawUrl , RequestAdapter ) ;
162
162
}
163
163
/// <summary>
164
164
/// Get admin
@@ -190,7 +190,7 @@ public class AdminRequestBuilderGetQueryParameters
190
190
/// Configuration for the request such as headers, query parameters, and middleware options.
191
191
/// </summary>
192
192
[ Obsolete ( "This class is deprecated. Please use the generic RequestConfiguration class generated by the generator." ) ]
193
- public class AdminRequestBuilderGetRequestConfiguration : RequestConfiguration< AdminRequestBuilderGetQueryParameters >
193
+ public class AdminRequestBuilderGetRequestConfiguration : RequestConfiguration< Microsoft . Graph . Admin . AdminRequestBuilder . AdminRequestBuilderGetQueryParameters>
194
194
{
195
195
}
196
196
/// <summary>
0 commit comments