Skip to content

Commit

Permalink
Merge pull request #841 from microsoftgraph/kiota/beta/pipelinebuild/…
Browse files Browse the repository at this point in the history
…148567

Generated beta models and request builders
  • Loading branch information
shemogumbe authored May 16, 2024
2 parents fc03fac + 3b30925 commit 35f5195
Show file tree
Hide file tree
Showing 26,341 changed files with 266,414 additions and 186,885 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ and this project does NOT adhere to [Semantic Versioning](https://semver.org/spe

## [Unreleased]


## [5.75.0-preview] - 2024-05-16

- Latest metadata updates from 14th May 2024.

## [5.74.0-preview] - 2024-05-08

- Latest metadata updates from 7th May 2024.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
using System.Threading.Tasks;
using System.Threading;
using System;
namespace Microsoft.Graph.Beta.AccessReviewDecisions {
namespace Microsoft.Graph.Beta.AccessReviewDecisions
{
/// <summary>
/// Provides operations to manage the collection of accessReviewDecision entities.
/// </summary>
public class AccessReviewDecisionsRequestBuilder : BaseRequestBuilder
public class AccessReviewDecisionsRequestBuilder : BaseRequestBuilder
{
/// <summary>Provides operations to count the resources in the collection.</summary>
public CountRequestBuilder Count
Expand Down Expand Up @@ -69,7 +70,7 @@ public async Task<AccessReviewDecisionCollectionResponse> GetAsync(Action<Reques
var requestInfo = ToGetRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<AccessReviewDecisionCollectionResponse>(requestInfo, AccessReviewDecisionCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand All @@ -94,7 +95,7 @@ public async Task<AccessReviewDecision> PostAsync(AccessReviewDecision body, Act
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<AccessReviewDecision>(requestInfo, AccessReviewDecision.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand Down Expand Up @@ -217,14 +218,14 @@ public class AccessReviewDecisionsRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AccessReviewDecisionsRequestBuilderGetRequestConfiguration : RequestConfiguration<AccessReviewDecisionsRequestBuilderGetQueryParameters>
public class AccessReviewDecisionsRequestBuilderGetRequestConfiguration : RequestConfiguration<AccessReviewDecisionsRequestBuilderGetQueryParameters>
{
}
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AccessReviewDecisionsRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
public class AccessReviewDecisionsRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
using System.Threading.Tasks;
using System.Threading;
using System;
namespace Microsoft.Graph.Beta.AccessReviewDecisions.Count {
namespace Microsoft.Graph.Beta.AccessReviewDecisions.Count
{
/// <summary>
/// Provides operations to count the resources in the collection.
/// </summary>
public class CountRequestBuilder : BaseRequestBuilder
public class CountRequestBuilder : BaseRequestBuilder
{
/// <summary>
/// Instantiates a new <see cref="CountRequestBuilder"/> and sets the default values.
Expand Down Expand Up @@ -49,7 +50,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
var requestInfo = ToGetRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendPrimitiveAsync<int?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand Down Expand Up @@ -111,7 +112,7 @@ public class CountRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class CountRequestBuilderGetRequestConfiguration : RequestConfiguration<CountRequestBuilderGetQueryParameters>
public class CountRequestBuilderGetRequestConfiguration : RequestConfiguration<CountRequestBuilderGetQueryParameters>
{
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@
using System.Threading.Tasks;
using System.Threading;
using System;
namespace Microsoft.Graph.Beta.AccessReviewDecisions.Item {
namespace Microsoft.Graph.Beta.AccessReviewDecisions.Item
{
/// <summary>
/// Provides operations to manage the collection of accessReviewDecision entities.
/// </summary>
public class AccessReviewDecisionItemRequestBuilder : BaseRequestBuilder
public class AccessReviewDecisionItemRequestBuilder : BaseRequestBuilder
{
/// <summary>
/// Instantiates a new <see cref="AccessReviewDecisionItemRequestBuilder"/> and sets the default values.
Expand Down Expand Up @@ -49,7 +50,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand All @@ -72,7 +73,7 @@ public async Task<AccessReviewDecision> GetAsync(Action<RequestConfiguration<Acc
var requestInfo = ToGetRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<AccessReviewDecision>(requestInfo, AccessReviewDecision.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand All @@ -97,7 +98,7 @@ public async Task<AccessReviewDecision> PatchAsync(AccessReviewDecision body, Ac
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<AccessReviewDecision>(requestInfo, AccessReviewDecision.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand Down Expand Up @@ -174,7 +175,7 @@ public AccessReviewDecisionItemRequestBuilder WithUrl(string rawUrl)
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AccessReviewDecisionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
public class AccessReviewDecisionItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
/// <summary>
Expand Down Expand Up @@ -207,14 +208,14 @@ public class AccessReviewDecisionItemRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AccessReviewDecisionItemRequestBuilderGetRequestConfiguration : RequestConfiguration<AccessReviewDecisionItemRequestBuilderGetQueryParameters>
public class AccessReviewDecisionItemRequestBuilderGetRequestConfiguration : RequestConfiguration<AccessReviewDecisionItemRequestBuilderGetQueryParameters>
{
}
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
public class AccessReviewDecisionItemRequestBuilderPatchRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
using System.Threading.Tasks;
using System.Threading;
using System;
namespace Microsoft.Graph.Beta.AccessReviews {
namespace Microsoft.Graph.Beta.AccessReviews
{
/// <summary>
/// Provides operations to manage the collection of accessReview entities.
/// </summary>
public class AccessReviewsRequestBuilder : BaseRequestBuilder
public class AccessReviewsRequestBuilder : BaseRequestBuilder
{
/// <summary>Provides operations to count the resources in the collection.</summary>
public CountRequestBuilder Count
Expand Down Expand Up @@ -70,7 +71,7 @@ public async Task<AccessReviewCollectionResponse> GetAsync(Action<RequestConfigu
var requestInfo = ToGetRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<AccessReviewCollectionResponse>(requestInfo, AccessReviewCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand All @@ -96,7 +97,7 @@ public async Task<AccessReview> PostAsync(AccessReview body, Action<RequestConfi
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<AccessReview>(requestInfo, AccessReview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand Down Expand Up @@ -219,14 +220,14 @@ public class AccessReviewsRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AccessReviewsRequestBuilderGetRequestConfiguration : RequestConfiguration<AccessReviewsRequestBuilderGetQueryParameters>
public class AccessReviewsRequestBuilderGetRequestConfiguration : RequestConfiguration<AccessReviewsRequestBuilderGetQueryParameters>
{
}
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AccessReviewsRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
public class AccessReviewsRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
using System.Threading.Tasks;
using System.Threading;
using System;
namespace Microsoft.Graph.Beta.AccessReviews.Count {
namespace Microsoft.Graph.Beta.AccessReviews.Count
{
/// <summary>
/// Provides operations to count the resources in the collection.
/// </summary>
public class CountRequestBuilder : BaseRequestBuilder
public class CountRequestBuilder : BaseRequestBuilder
{
/// <summary>
/// Instantiates a new <see cref="CountRequestBuilder"/> and sets the default values.
Expand Down Expand Up @@ -49,7 +50,7 @@ public CountRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
var requestInfo = ToGetRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendPrimitiveAsync<int?>(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand Down Expand Up @@ -111,7 +112,7 @@ public class CountRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class CountRequestBuilderGetRequestConfiguration : RequestConfiguration<CountRequestBuilderGetQueryParameters>
public class CountRequestBuilderGetRequestConfiguration : RequestConfiguration<CountRequestBuilderGetQueryParameters>
{
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
using System.Threading.Tasks;
using System.Threading;
using System;
namespace Microsoft.Graph.Beta.AccessReviews.Item {
namespace Microsoft.Graph.Beta.AccessReviews.Item
{
/// <summary>
/// Provides operations to manage the collection of accessReview entities.
/// </summary>
public class AccessReviewItemRequestBuilder : BaseRequestBuilder
public class AccessReviewItemRequestBuilder : BaseRequestBuilder
{
/// <summary>Provides operations to call the applyDecisions method.</summary>
public ApplyDecisionsRequestBuilder ApplyDecisions
Expand Down Expand Up @@ -98,7 +99,7 @@ public async Task DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand All @@ -122,7 +123,7 @@ public async Task<AccessReview> GetAsync(Action<RequestConfiguration<AccessRevie
var requestInfo = ToGetRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<AccessReview>(requestInfo, AccessReview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand All @@ -148,7 +149,7 @@ public async Task<AccessReview> PatchAsync(AccessReview body, Action<RequestConf
var requestInfo = ToPatchRequestInformation(body, requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
return await RequestAdapter.SendAsync<AccessReview>(requestInfo, AccessReview.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand Down Expand Up @@ -225,7 +226,7 @@ public AccessReviewItemRequestBuilder WithUrl(string rawUrl)
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AccessReviewItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
public class AccessReviewItemRequestBuilderDeleteRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
/// <summary>
Expand Down Expand Up @@ -258,14 +259,14 @@ public class AccessReviewItemRequestBuilderGetQueryParameters
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AccessReviewItemRequestBuilderGetRequestConfiguration : RequestConfiguration<AccessReviewItemRequestBuilderGetQueryParameters>
public class AccessReviewItemRequestBuilderGetRequestConfiguration : RequestConfiguration<AccessReviewItemRequestBuilderGetQueryParameters>
{
}
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class AccessReviewItemRequestBuilderPatchRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
public class AccessReviewItemRequestBuilderPatchRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,12 @@
using System.Threading.Tasks;
using System.Threading;
using System;
namespace Microsoft.Graph.Beta.AccessReviews.Item.ApplyDecisions {
namespace Microsoft.Graph.Beta.AccessReviews.Item.ApplyDecisions
{
/// <summary>
/// Provides operations to call the applyDecisions method.
/// </summary>
public class ApplyDecisionsRequestBuilder : BaseRequestBuilder
public class ApplyDecisionsRequestBuilder : BaseRequestBuilder
{
/// <summary>
/// Instantiates a new <see cref="ApplyDecisionsRequestBuilder"/> and sets the default values.
Expand Down Expand Up @@ -49,7 +50,7 @@ public async Task PostAsync(Action<RequestConfiguration<DefaultQueryParameters>>
var requestInfo = ToPostRequestInformation(requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>>
{
{"XXX", ODataError.CreateFromDiscriminatorValue},
{ "XXX", ODataError.CreateFromDiscriminatorValue },
};
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
}
Expand Down Expand Up @@ -85,7 +86,7 @@ public ApplyDecisionsRequestBuilder WithUrl(string rawUrl)
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
[Obsolete("This class is deprecated. Please use the generic RequestConfiguration class generated by the generator.")]
public class ApplyDecisionsRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
public class ApplyDecisionsRequestBuilderPostRequestConfiguration : RequestConfiguration<DefaultQueryParameters>
{
}
}
Expand Down
Loading

0 comments on commit 35f5195

Please sign in to comment.