Skip to content

Commit e277b40

Browse files
authored
Merge pull request #1544 from microsoftgraph/dev
Release 4.46.0
2 parents 0477739 + 994deb2 commit e277b40

108 files changed

Lines changed: 2258 additions & 3422 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/validatePullRequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v3.1.0
1717
- name: Setup .NET
18-
uses: actions/setup-dotnet@v3.0.2
18+
uses: actions/setup-dotnet@v3.0.3
1919
with:
2020
dotnet-version: 6.0.x
2121
- name: Initialize CodeQL

src/Microsoft.Graph/Generated/model/Invitation.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ public partial class Invitation : Entity
6262
[JsonPropertyName("inviteRedirectUrl")]
6363
public string InviteRedirectUrl { get; set; }
6464

65+
/// <summary>
66+
/// Gets or sets reset redemption.
67+
/// </summary>
68+
[JsonPropertyName("resetRedemption")]
69+
public bool? ResetRedemption { get; set; }
70+
6571
/// <summary>
6672
/// Gets or sets send invitation message.
6773
/// Indicates whether an email should be sent to the user being invited. The default is false.

src/Microsoft.Graph/Generated/model/InvitationParticipantInfo.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ public partial class InvitationParticipantInfo
2323

2424
/// <summary>
2525
/// Gets or sets hidden.
26+
/// Optional. Whether to hide the participant from the roster.
2627
/// </summary>
2728
[JsonPropertyName("hidden")]
2829
public bool? Hidden { get; set; }
@@ -43,6 +44,7 @@ public partial class InvitationParticipantInfo
4344

4445
/// <summary>
4546
/// Gets or sets removeFromDefaultAudioRoutingGroup.
47+
/// Optional. Whether to remove them from the main mixer.
4648
/// </summary>
4749
[JsonPropertyName("removeFromDefaultAudioRoutingGroup")]
4850
public bool? RemoveFromDefaultAudioRoutingGroup { get; set; }

src/Microsoft.Graph/Generated/model/ServiceHealthIssuePost.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public partial class ServiceHealthIssuePost
3030

3131
/// <summary>
3232
/// Gets or sets description.
33-
/// The content of the service issue post.
33+
/// The content of the service issue post. The supported value for the contentType property is html.
3434
/// </summary>
3535
[JsonPropertyName("description")]
3636
public ItemBody Description { get; set; }

src/Microsoft.Graph/Generated/model/ServiceUpdateMessage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public ServiceUpdateMessage()
4545

4646
/// <summary>
4747
/// Gets or sets body.
48-
/// The content type and content of the service message body.
48+
/// The content type and content of the service message body. The supported value for the contentType property is html.
4949
/// </summary>
5050
[JsonPropertyName("body")]
5151
public ItemBody Body { get; set; }

src/Microsoft.Graph/Generated/requests/IReportRootGetOffice365ActivationCountsRequest.cs

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -25,66 +25,59 @@ public partial interface IReportRootGetOffice365ActivationCountsRequest : IBaseR
2525
/// Issues the GET request.
2626
/// </summary>
2727
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
28+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
2829
/// <returns>The task to await for async call.</returns>
29-
System.Threading.Tasks.Task<Report> GetAsync(
30-
CancellationToken cancellationToken = default);
30+
System.Threading.Tasks.Task<Stream> GetAsync(
31+
CancellationToken cancellationToken = default,
32+
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);
3133

3234
/// <summary>
3335
/// Issues the GET request and returns a <see cref="GraphResponse"/> object.
3436
/// </summary>
3537
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
3638
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
37-
System.Threading.Tasks.Task<GraphResponse<Report>> GetResponseAsync(CancellationToken cancellationToken = default);
39+
System.Threading.Tasks.Task<GraphResponse> GetResponseAsync(CancellationToken cancellationToken = default);
3840

3941

4042
/// <summary>
4143
/// Issues the PATCH request.
4244
/// </summary>
43-
/// <param name="report">The Report object set with the properties to update.</param>
45+
/// <param name="stream">The Stream object set with the properties to update.</param>
4446
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
47+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
4548
/// <returns>The task to await for async call.</returns>
46-
System.Threading.Tasks.Task<Report> PatchAsync(Report report,
47-
CancellationToken cancellationToken = default);
49+
System.Threading.Tasks.Task<Stream> PatchAsync(Stream stream,
50+
CancellationToken cancellationToken = default,
51+
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);
4852

4953
/// <summary>
5054
/// Issues the PATCH request and returns a <see cref="GraphResponse"/> object.
5155
/// </summary>
5256
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
53-
/// <param name="report">The Report object set with the properties to update.</param>
57+
/// <param name="stream">The Stream object set with the properties to update.</param>
5458
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
55-
System.Threading.Tasks.Task<GraphResponse<Report>> PatchResponseAsync(Report report, CancellationToken cancellationToken = default);
59+
System.Threading.Tasks.Task<GraphResponse> PatchResponseAsync(Stream stream, CancellationToken cancellationToken = default);
5660

5761

5862
/// <summary>
5963
/// Issues the PUT request.
6064
/// </summary>
61-
/// <param name="report">The Report object to update.</param>
65+
/// <param name="stream">The Stream object to update.</param>
6266
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
67+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
6368
/// <returns>The task to await for async call.</returns>
64-
System.Threading.Tasks.Task<Report> PutAsync(Report report,
65-
CancellationToken cancellationToken = default);
69+
System.Threading.Tasks.Task<Stream> PutAsync(Stream stream,
70+
CancellationToken cancellationToken = default,
71+
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);
6672

6773
/// <summary>
6874
/// Issues the PUT request and returns a <see cref="GraphResponse"/> object.
6975
/// </summary>
7076
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
71-
/// <param name="report">The Report object set with the properties to update.</param>
77+
/// <param name="stream">The Stream object set with the properties to update.</param>
7278
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
73-
System.Threading.Tasks.Task<GraphResponse<Report>> PutResponseAsync(Report report, CancellationToken cancellationToken = default);
79+
System.Threading.Tasks.Task<GraphResponse> PutResponseAsync(Stream stream, CancellationToken cancellationToken = default);
7480

7581

76-
/// <summary>
77-
/// Adds the specified expand value to the request.
78-
/// </summary>
79-
/// <param name="value">The expand value.</param>
80-
/// <returns>The request object to send.</returns>
81-
IReportRootGetOffice365ActivationCountsRequest Expand(string value);
82-
83-
/// <summary>
84-
/// Adds the specified select value to the request.
85-
/// </summary>
86-
/// <param name="value">The select value.</param>
87-
/// <returns>The request object to send.</returns>
88-
IReportRootGetOffice365ActivationCountsRequest Select(string value);
8982
}
9083
}

src/Microsoft.Graph/Generated/requests/IReportRootGetOffice365ActivationsUserCountsRequest.cs

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -25,66 +25,59 @@ public partial interface IReportRootGetOffice365ActivationsUserCountsRequest : I
2525
/// Issues the GET request.
2626
/// </summary>
2727
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
28+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
2829
/// <returns>The task to await for async call.</returns>
29-
System.Threading.Tasks.Task<Report> GetAsync(
30-
CancellationToken cancellationToken = default);
30+
System.Threading.Tasks.Task<Stream> GetAsync(
31+
CancellationToken cancellationToken = default,
32+
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);
3133

3234
/// <summary>
3335
/// Issues the GET request and returns a <see cref="GraphResponse"/> object.
3436
/// </summary>
3537
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
3638
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
37-
System.Threading.Tasks.Task<GraphResponse<Report>> GetResponseAsync(CancellationToken cancellationToken = default);
39+
System.Threading.Tasks.Task<GraphResponse> GetResponseAsync(CancellationToken cancellationToken = default);
3840

3941

4042
/// <summary>
4143
/// Issues the PATCH request.
4244
/// </summary>
43-
/// <param name="report">The Report object set with the properties to update.</param>
45+
/// <param name="stream">The Stream object set with the properties to update.</param>
4446
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
47+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
4548
/// <returns>The task to await for async call.</returns>
46-
System.Threading.Tasks.Task<Report> PatchAsync(Report report,
47-
CancellationToken cancellationToken = default);
49+
System.Threading.Tasks.Task<Stream> PatchAsync(Stream stream,
50+
CancellationToken cancellationToken = default,
51+
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);
4852

4953
/// <summary>
5054
/// Issues the PATCH request and returns a <see cref="GraphResponse"/> object.
5155
/// </summary>
5256
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
53-
/// <param name="report">The Report object set with the properties to update.</param>
57+
/// <param name="stream">The Stream object set with the properties to update.</param>
5458
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
55-
System.Threading.Tasks.Task<GraphResponse<Report>> PatchResponseAsync(Report report, CancellationToken cancellationToken = default);
59+
System.Threading.Tasks.Task<GraphResponse> PatchResponseAsync(Stream stream, CancellationToken cancellationToken = default);
5660

5761

5862
/// <summary>
5963
/// Issues the PUT request.
6064
/// </summary>
61-
/// <param name="report">The Report object to update.</param>
65+
/// <param name="stream">The Stream object to update.</param>
6266
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
67+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
6368
/// <returns>The task to await for async call.</returns>
64-
System.Threading.Tasks.Task<Report> PutAsync(Report report,
65-
CancellationToken cancellationToken = default);
69+
System.Threading.Tasks.Task<Stream> PutAsync(Stream stream,
70+
CancellationToken cancellationToken = default,
71+
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);
6672

6773
/// <summary>
6874
/// Issues the PUT request and returns a <see cref="GraphResponse"/> object.
6975
/// </summary>
7076
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
71-
/// <param name="report">The Report object set with the properties to update.</param>
77+
/// <param name="stream">The Stream object set with the properties to update.</param>
7278
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
73-
System.Threading.Tasks.Task<GraphResponse<Report>> PutResponseAsync(Report report, CancellationToken cancellationToken = default);
79+
System.Threading.Tasks.Task<GraphResponse> PutResponseAsync(Stream stream, CancellationToken cancellationToken = default);
7480

7581

76-
/// <summary>
77-
/// Adds the specified expand value to the request.
78-
/// </summary>
79-
/// <param name="value">The expand value.</param>
80-
/// <returns>The request object to send.</returns>
81-
IReportRootGetOffice365ActivationsUserCountsRequest Expand(string value);
82-
83-
/// <summary>
84-
/// Adds the specified select value to the request.
85-
/// </summary>
86-
/// <param name="value">The select value.</param>
87-
/// <returns>The request object to send.</returns>
88-
IReportRootGetOffice365ActivationsUserCountsRequest Select(string value);
8982
}
9083
}

src/Microsoft.Graph/Generated/requests/IReportRootGetOffice365ActivationsUserDetailRequest.cs

Lines changed: 19 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -25,66 +25,59 @@ public partial interface IReportRootGetOffice365ActivationsUserDetailRequest : I
2525
/// Issues the GET request.
2626
/// </summary>
2727
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
28+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
2829
/// <returns>The task to await for async call.</returns>
29-
System.Threading.Tasks.Task<Report> GetAsync(
30-
CancellationToken cancellationToken = default);
30+
System.Threading.Tasks.Task<Stream> GetAsync(
31+
CancellationToken cancellationToken = default,
32+
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);
3133

3234
/// <summary>
3335
/// Issues the GET request and returns a <see cref="GraphResponse"/> object.
3436
/// </summary>
3537
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
3638
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
37-
System.Threading.Tasks.Task<GraphResponse<Report>> GetResponseAsync(CancellationToken cancellationToken = default);
39+
System.Threading.Tasks.Task<GraphResponse> GetResponseAsync(CancellationToken cancellationToken = default);
3840

3941

4042
/// <summary>
4143
/// Issues the PATCH request.
4244
/// </summary>
43-
/// <param name="report">The Report object set with the properties to update.</param>
45+
/// <param name="stream">The Stream object set with the properties to update.</param>
4446
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
47+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
4548
/// <returns>The task to await for async call.</returns>
46-
System.Threading.Tasks.Task<Report> PatchAsync(Report report,
47-
CancellationToken cancellationToken = default);
49+
System.Threading.Tasks.Task<Stream> PatchAsync(Stream stream,
50+
CancellationToken cancellationToken = default,
51+
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);
4852

4953
/// <summary>
5054
/// Issues the PATCH request and returns a <see cref="GraphResponse"/> object.
5155
/// </summary>
5256
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
53-
/// <param name="report">The Report object set with the properties to update.</param>
57+
/// <param name="stream">The Stream object set with the properties to update.</param>
5458
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
55-
System.Threading.Tasks.Task<GraphResponse<Report>> PatchResponseAsync(Report report, CancellationToken cancellationToken = default);
59+
System.Threading.Tasks.Task<GraphResponse> PatchResponseAsync(Stream stream, CancellationToken cancellationToken = default);
5660

5761

5862
/// <summary>
5963
/// Issues the PUT request.
6064
/// </summary>
61-
/// <param name="report">The Report object to update.</param>
65+
/// <param name="stream">The Stream object to update.</param>
6266
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
67+
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
6368
/// <returns>The task to await for async call.</returns>
64-
System.Threading.Tasks.Task<Report> PutAsync(Report report,
65-
CancellationToken cancellationToken = default);
69+
System.Threading.Tasks.Task<Stream> PutAsync(Stream stream,
70+
CancellationToken cancellationToken = default,
71+
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);
6672

6773
/// <summary>
6874
/// Issues the PUT request and returns a <see cref="GraphResponse"/> object.
6975
/// </summary>
7076
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
71-
/// <param name="report">The Report object set with the properties to update.</param>
77+
/// <param name="stream">The Stream object set with the properties to update.</param>
7278
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
73-
System.Threading.Tasks.Task<GraphResponse<Report>> PutResponseAsync(Report report, CancellationToken cancellationToken = default);
79+
System.Threading.Tasks.Task<GraphResponse> PutResponseAsync(Stream stream, CancellationToken cancellationToken = default);
7480

7581

76-
/// <summary>
77-
/// Adds the specified expand value to the request.
78-
/// </summary>
79-
/// <param name="value">The expand value.</param>
80-
/// <returns>The request object to send.</returns>
81-
IReportRootGetOffice365ActivationsUserDetailRequest Expand(string value);
82-
83-
/// <summary>
84-
/// Adds the specified select value to the request.
85-
/// </summary>
86-
/// <param name="value">The select value.</param>
87-
/// <returns>The request object to send.</returns>
88-
IReportRootGetOffice365ActivationsUserDetailRequest Select(string value);
8982
}
9083
}

0 commit comments

Comments
 (0)