Skip to content

Commit

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

Generated  models and request builders
  • Loading branch information
andrueastman authored Nov 16, 2023
2 parents 86fa50a + b284331 commit 24aba25
Show file tree
Hide file tree
Showing 7,026 changed files with 20,212 additions and 12,377 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v

## [Unreleased]

## [5.34.0] - 2023-11-12
## [5.35.0] - 2023-11-15

- Latest metadata updates from 11th November 2023.
- Fixes `Accept` header values generated by the SDK.
- Latest metadata updates from 14th November 2023.

## [5.33.0] - 2023-11-02

Expand Down
4 changes: 2 additions & 2 deletions src/Microsoft.Graph/Generated/Admin/AdminRequestBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action<AdminRequestBuilderGetR
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -138,7 +138,7 @@ public RequestInformation ToPatchRequestInformation(Microsoft.Graph.Models.Admin
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action<EdgeRequestBuilderDe
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json, application/json");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action<EdgeRequestBuilderGetRe
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -167,7 +167,7 @@ public RequestInformation ToPatchRequestInformation(Microsoft.Graph.Models.Edge
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action<InternetExplorerMode
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json, application/json");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action<InternetExplorerModeReq
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -167,7 +167,7 @@ public RequestInformation ToPatchRequestInformation(Microsoft.Graph.Models.Inter
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public RequestInformation ToDeleteRequestInformation(Action<BrowserSiteListItemR
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json, application/json");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -153,7 +153,7 @@ public RequestInformation ToGetRequestInformation(Action<BrowserSiteListItemRequ
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -180,7 +180,7 @@ public RequestInformation ToPatchRequestInformation(BrowserSiteList body, Action
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public RequestInformation ToPostRequestInformation(PublishPostRequestBody body,
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public RequestInformation ToDeleteRequestInformation(Action<BrowserSharedCookieI
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json, application/json");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action<BrowserSharedCookieItem
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -165,7 +165,7 @@ public RequestInformation ToPatchRequestInformation(BrowserSharedCookie body, Ac
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action<SharedCookiesRequestBui
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -133,7 +133,7 @@ public RequestInformation ToPostRequestInformation(BrowserSharedCookie body, Act
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public RequestInformation ToDeleteRequestInformation(Action<BrowserSiteItemReque
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json, application/json");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action<BrowserSiteItemRequestB
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -165,7 +165,7 @@ public RequestInformation ToPatchRequestInformation(BrowserSite body, Action<Bro
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action<SitesRequestBuilderGetR
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -133,7 +133,7 @@ public RequestInformation ToPostRequestInformation(BrowserSite body, Action<Site
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action<SiteListsRequestBuilder
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -133,7 +133,7 @@ public RequestInformation ToPostRequestInformation(BrowserSiteList body, Action<
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public RequestInformation ToGetRequestInformation(Action<PeopleRequestBuilderGet
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -124,7 +124,7 @@ public RequestInformation ToPatchRequestInformation(PeopleAdminSettings body, Ac
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public RequestInformation ToDeleteRequestInformation(Action<ProfileCardPropertyI
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json, application/json");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -138,7 +138,7 @@ public RequestInformation ToGetRequestInformation(Action<ProfileCardPropertyItem
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -165,7 +165,7 @@ public RequestInformation ToPatchRequestInformation(ProfileCardProperty body, Ac
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public RequestInformation ToGetRequestInformation(Action<ProfileCardPropertiesRe
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -133,7 +133,7 @@ public RequestInformation ToPostRequestInformation(ProfileCardProperty body, Act
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public RequestInformation ToGetRequestInformation(Action<HealthOverviewsRequestB
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -132,7 +132,7 @@ public RequestInformation ToPostRequestInformation(ServiceHealth body, Action<He
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public RequestInformation ToGetRequestInformation(Action<IssuesRequestBuilderGet
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -131,7 +131,7 @@ public RequestInformation ToPostRequestInformation(ServiceHealthIssue body, Acti
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public RequestInformation ToGetRequestInformation(Action<IncidentReportRequestBu
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json, application/json");
requestInfo.Headers.TryAdd("Accept", "application/octet-stream, application/json");
return requestInfo;
}
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public RequestInformation ToDeleteRequestInformation(Action<ServiceHealthIssueIt
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json, application/json");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -140,7 +140,7 @@ public RequestInformation ToGetRequestInformation(Action<ServiceHealthIssueItemR
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
return requestInfo;
}
/// <summary>
Expand All @@ -167,7 +167,7 @@ public RequestInformation ToPatchRequestInformation(ServiceHealthIssue body, Act
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
requestInfo.Headers.TryAdd("Accept", "application/json;q=1");
requestInfo.Headers.TryAdd("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
return requestInfo;
}
Expand Down
Loading

0 comments on commit 24aba25

Please sign in to comment.