Skip to content

Commit

Permalink
Merge pull request #2076 from microsoftgraph/kiota/v1.0/pipelinebuild…
Browse files Browse the repository at this point in the history
…/122943

Generated  models and request builders
  • Loading branch information
andrueastman authored Aug 18, 2023
2 parents 0ad1f1a + ede8b00 commit 9fc24ac
Show file tree
Hide file tree
Showing 1,462 changed files with 2,045 additions and 656 deletions.
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 adheres to [Semantic Versioning](https://semver.org/spec/v

## [Unreleased]

## [5.22.0] - 2023-08-16

- Fix for incorrect property names when the reserved names matched the type name (https://github.com/microsoft/kiota/pull/3107).
- Latest metadata updates from 15th August 2023.

## [5.22.0] - 2023-08-09

- Latest metadata updates from 8th August 2023.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class SharedCookiesRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity.</summary>
/// <param name="position">The unique identifier of browserSharedCookie</param>
public BrowserSharedCookieItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("browserSharedCookie%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class SitesRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity.</summary>
/// <param name="position">The unique identifier of browserSite</param>
public BrowserSiteItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("browserSite%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class SiteListsRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity.</summary>
/// <param name="position">The unique identifier of browserSiteList</param>
public BrowserSiteListItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("browserSiteList%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class HealthOverviewsRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the healthOverviews property of the microsoft.graph.serviceAnnouncement entity.</summary>
/// <param name="position">The unique identifier of serviceHealth</param>
public ServiceHealthItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("serviceHealth%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class IssuesRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the issues property of the microsoft.graph.serviceHealth entity.</summary>
/// <param name="position">The unique identifier of serviceHealthIssue</param>
public ServiceHealthIssueItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("serviceHealthIssue%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class IssuesRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the issues property of the microsoft.graph.serviceAnnouncement entity.</summary>
/// <param name="position">The unique identifier of serviceHealthIssue</param>
public ServiceHealthIssueItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("serviceHealthIssue%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class AttachmentsRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the attachments property of the microsoft.graph.serviceUpdateMessage entity.</summary>
/// <param name="position">The unique identifier of serviceAnnouncementAttachment</param>
public ServiceAnnouncementAttachmentItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("serviceAnnouncementAttachment%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public class MessagesRequestBuilder : BaseRequestBuilder {
new UnfavoriteRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the messages property of the microsoft.graph.serviceAnnouncement entity.</summary>
/// <param name="position">The unique identifier of serviceUpdateMessage</param>
public ServiceUpdateMessageItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("serviceUpdateMessage%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ namespace Microsoft.Graph.AgreementAcceptances {
/// </summary>
public class AgreementAcceptancesRequestBuilder : BaseRequestBuilder {
/// <summary>Provides operations to manage the collection of agreementAcceptance entities.</summary>
/// <param name="position">The unique identifier of agreementAcceptance</param>
public AgreementAcceptanceItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("agreementAcceptance%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ namespace Microsoft.Graph.Agreements {
/// </summary>
public class AgreementsRequestBuilder : BaseRequestBuilder {
/// <summary>Provides operations to manage the collection of agreement entities.</summary>
/// <param name="position">The unique identifier of agreement</param>
public AgreementItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("agreement%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class AcceptancesRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the acceptances property of the microsoft.graph.agreement entity.</summary>
/// <param name="position">The unique identifier of agreementAcceptance</param>
public AgreementAcceptanceItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("agreementAcceptance%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class VersionsRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity.</summary>
/// <param name="position">The unique identifier of agreementFileVersion</param>
public AgreementFileVersionItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("agreementFileVersion%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class LocalizationsRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the localizations property of the microsoft.graph.agreementFile entity.</summary>
/// <param name="position">The unique identifier of agreementFileLocalization</param>
public AgreementFileLocalizationItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("agreementFileLocalization%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class FilesRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the files property of the microsoft.graph.agreement entity.</summary>
/// <param name="position">The unique identifier of agreementFileLocalization</param>
public AgreementFileLocalizationItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("agreementFileLocalization%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class VersionsRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the versions property of the microsoft.graph.agreementFileLocalization entity.</summary>
/// <param name="position">The unique identifier of agreementFileVersion</param>
public AgreementFileVersionItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("agreementFileVersion%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class AppDefinitionsRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the appDefinitions property of the microsoft.graph.teamsApp entity.</summary>
/// <param name="position">The unique identifier of teamsAppDefinition</param>
public TeamsAppDefinitionItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("teamsAppDefinition%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class TeamsAppsRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the teamsApps property of the microsoft.graph.appCatalogs entity.</summary>
/// <param name="position">The unique identifier of teamsApp</param>
public TeamsAppItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("teamsApp%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class ApplicationTemplatesRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the collection of applicationTemplate entities.</summary>
/// <param name="position">The unique identifier of applicationTemplate</param>
public ApplicationTemplateItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("applicationTemplate%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public class ApplicationsRequestBuilder : BaseRequestBuilder {
new ValidatePropertiesRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the collection of application entities.</summary>
/// <param name="position">The unique identifier of application</param>
public ApplicationItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("application%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public class AppManagementPoliciesRequestBuilder : BaseRequestBuilder {
new RefRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Gets an item from the Microsoft.Graph.applications.item.appManagementPolicies.item collection</summary>
/// <param name="position">Unique identifier of the item</param>
public AppManagementPolicyItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("appManagementPolicy%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class ExtensionPropertiesRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the extensionProperties property of the microsoft.graph.application entity.</summary>
/// <param name="position">The unique identifier of extensionProperty</param>
public ExtensionPropertyItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("extensionProperty%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class FederatedIdentityCredentialsRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the federatedIdentityCredentials property of the microsoft.graph.application entity.</summary>
/// <param name="position">The unique identifier of federatedIdentityCredential</param>
public FederatedIdentityCredentialItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("federatedIdentityCredential%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public class HomeRealmDiscoveryPoliciesRequestBuilder : BaseRequestBuilder {
new CountRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Provides operations to manage the homeRealmDiscoveryPolicies property of the microsoft.graph.application entity.</summary>
/// <param name="position">The unique identifier of homeRealmDiscoveryPolicy</param>
public HomeRealmDiscoveryPolicyItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("homeRealmDiscoveryPolicy%2Did", position);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public class OwnersRequestBuilder : BaseRequestBuilder {
new RefRequestBuilder(PathParameters, RequestAdapter);
}
/// <summary>Gets an item from the Microsoft.Graph.applications.item.owners.item collection</summary>
/// <param name="position">Unique identifier of the item</param>
public DirectoryObjectItemRequestBuilder this[string position] { get {
var urlTplParams = new Dictionary<string, object>(PathParameters);
urlTplParams.Add("directoryObject%2Did", position);
Expand All @@ -66,7 +67,7 @@ public OwnersRequestBuilder(Dictionary<string, object> pathParameters, IRequestA
public OwnersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
}
/// <summary>
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -86,7 +87,7 @@ public async Task<DirectoryObjectCollectionResponse> GetAsync(Action<OwnersReque
return await RequestAdapter.SendAsync<DirectoryObjectCollectionResponse>(requestInfo, DirectoryObjectCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand All @@ -112,7 +113,7 @@ public RequestInformation ToGetRequestInformation(Action<OwnersRequestBuilderGet
return requestInfo;
}
/// <summary>
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
/// </summary>
public class OwnersRequestBuilderGetQueryParameters {
/// <summary>Include count of items</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public RefRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdap
public RefRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/applications/{application%2Did}/owners/$ref{?%24top,%24skip,%24search,%24filter,%24count,%24orderby}", rawUrl) {
}
/// <summary>
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
/// Find more info here <see href="https://learn.microsoft.com/graph/api/application-list-owners?view=graph-rest-1.0" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down Expand Up @@ -71,7 +71,7 @@ public async Task PostAsync(ReferenceCreate body, Action<RefRequestBuilderPostRe
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken);
}
/// <summary>
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand Down Expand Up @@ -124,7 +124,7 @@ public RequestInformation ToPostRequestInformation(ReferenceCreate body, Action<
return requestInfo;
}
/// <summary>
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand and $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1).
/// Directory objects that are owners of the application. Read-only. Nullable. Supports $expand, $filter (/$count eq 0, /$count ne 0, /$count eq 1, /$count ne 1), and $select nested in $expand.
/// </summary>
public class RefRequestBuilderGetQueryParameters {
/// <summary>Include count of items</summary>
Expand Down
Loading

0 comments on commit 9fc24ac

Please sign in to comment.