Skip to content

Commit

Permalink
Merge pull request #1542 from microsoftgraph/v1.0/pipelinebuild/91121
Browse files Browse the repository at this point in the history
Generated v1.0 models and request builders using Typewriter
  • Loading branch information
andrueastman authored Nov 1, 2022
2 parents b231eb0 + 656bd0c commit 994deb2
Show file tree
Hide file tree
Showing 107 changed files with 2,257 additions and 3,421 deletions.
6 changes: 6 additions & 0 deletions src/Microsoft.Graph/Generated/model/Invitation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ public partial class Invitation : Entity
[JsonPropertyName("inviteRedirectUrl")]
public string InviteRedirectUrl { get; set; }

/// <summary>
/// Gets or sets reset redemption.
/// </summary>
[JsonPropertyName("resetRedemption")]
public bool? ResetRedemption { get; set; }

/// <summary>
/// Gets or sets send invitation message.
/// Indicates whether an email should be sent to the user being invited. The default is false.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public partial class InvitationParticipantInfo

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

/// <summary>
/// Gets or sets removeFromDefaultAudioRoutingGroup.
/// Optional. Whether to remove them from the main mixer.
/// </summary>
[JsonPropertyName("removeFromDefaultAudioRoutingGroup")]
public bool? RemoveFromDefaultAudioRoutingGroup { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public partial class ServiceHealthIssuePost

/// <summary>
/// Gets or sets description.
/// The content of the service issue post.
/// The content of the service issue post. The supported value for the contentType property is html.
/// </summary>
[JsonPropertyName("description")]
public ItemBody Description { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public ServiceUpdateMessage()

/// <summary>
/// Gets or sets body.
/// The content type and content of the service message body.
/// The content type and content of the service message body. The supported value for the contentType property is html.
/// </summary>
[JsonPropertyName("body")]
public ItemBody Body { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,66 +25,59 @@ public partial interface IReportRootGetOffice365ActivationCountsRequest : IBaseR
/// Issues the GET request.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
System.Threading.Tasks.Task<Report> GetAsync(
CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<Stream> GetAsync(
CancellationToken cancellationToken = default,
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);

/// <summary>
/// Issues the GET request and returns a <see cref="GraphResponse"/> object.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
System.Threading.Tasks.Task<GraphResponse<Report>> GetResponseAsync(CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<GraphResponse> GetResponseAsync(CancellationToken cancellationToken = default);


/// <summary>
/// Issues the PATCH request.
/// </summary>
/// <param name="report">The Report object set with the properties to update.</param>
/// <param name="stream">The Stream object set with the properties to update.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
System.Threading.Tasks.Task<Report> PatchAsync(Report report,
CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<Stream> PatchAsync(Stream stream,
CancellationToken cancellationToken = default,
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);

/// <summary>
/// Issues the PATCH request and returns a <see cref="GraphResponse"/> object.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="report">The Report object set with the properties to update.</param>
/// <param name="stream">The Stream object set with the properties to update.</param>
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
System.Threading.Tasks.Task<GraphResponse<Report>> PatchResponseAsync(Report report, CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<GraphResponse> PatchResponseAsync(Stream stream, CancellationToken cancellationToken = default);


/// <summary>
/// Issues the PUT request.
/// </summary>
/// <param name="report">The Report object to update.</param>
/// <param name="stream">The Stream object to update.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
System.Threading.Tasks.Task<Report> PutAsync(Report report,
CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<Stream> PutAsync(Stream stream,
CancellationToken cancellationToken = default,
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);

/// <summary>
/// Issues the PUT request and returns a <see cref="GraphResponse"/> object.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="report">The Report object set with the properties to update.</param>
/// <param name="stream">The Stream object set with the properties to update.</param>
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
System.Threading.Tasks.Task<GraphResponse<Report>> PutResponseAsync(Report report, CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<GraphResponse> PutResponseAsync(Stream stream, CancellationToken cancellationToken = default);


/// <summary>
/// Adds the specified expand value to the request.
/// </summary>
/// <param name="value">The expand value.</param>
/// <returns>The request object to send.</returns>
IReportRootGetOffice365ActivationCountsRequest Expand(string value);

/// <summary>
/// Adds the specified select value to the request.
/// </summary>
/// <param name="value">The select value.</param>
/// <returns>The request object to send.</returns>
IReportRootGetOffice365ActivationCountsRequest Select(string value);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,66 +25,59 @@ public partial interface IReportRootGetOffice365ActivationsUserCountsRequest : I
/// Issues the GET request.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
System.Threading.Tasks.Task<Report> GetAsync(
CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<Stream> GetAsync(
CancellationToken cancellationToken = default,
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);

/// <summary>
/// Issues the GET request and returns a <see cref="GraphResponse"/> object.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
System.Threading.Tasks.Task<GraphResponse<Report>> GetResponseAsync(CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<GraphResponse> GetResponseAsync(CancellationToken cancellationToken = default);


/// <summary>
/// Issues the PATCH request.
/// </summary>
/// <param name="report">The Report object set with the properties to update.</param>
/// <param name="stream">The Stream object set with the properties to update.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
System.Threading.Tasks.Task<Report> PatchAsync(Report report,
CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<Stream> PatchAsync(Stream stream,
CancellationToken cancellationToken = default,
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);

/// <summary>
/// Issues the PATCH request and returns a <see cref="GraphResponse"/> object.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="report">The Report object set with the properties to update.</param>
/// <param name="stream">The Stream object set with the properties to update.</param>
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
System.Threading.Tasks.Task<GraphResponse<Report>> PatchResponseAsync(Report report, CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<GraphResponse> PatchResponseAsync(Stream stream, CancellationToken cancellationToken = default);


/// <summary>
/// Issues the PUT request.
/// </summary>
/// <param name="report">The Report object to update.</param>
/// <param name="stream">The Stream object to update.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
System.Threading.Tasks.Task<Report> PutAsync(Report report,
CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<Stream> PutAsync(Stream stream,
CancellationToken cancellationToken = default,
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);

/// <summary>
/// Issues the PUT request and returns a <see cref="GraphResponse"/> object.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="report">The Report object set with the properties to update.</param>
/// <param name="stream">The Stream object set with the properties to update.</param>
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
System.Threading.Tasks.Task<GraphResponse<Report>> PutResponseAsync(Report report, CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<GraphResponse> PutResponseAsync(Stream stream, CancellationToken cancellationToken = default);


/// <summary>
/// Adds the specified expand value to the request.
/// </summary>
/// <param name="value">The expand value.</param>
/// <returns>The request object to send.</returns>
IReportRootGetOffice365ActivationsUserCountsRequest Expand(string value);

/// <summary>
/// Adds the specified select value to the request.
/// </summary>
/// <param name="value">The select value.</param>
/// <returns>The request object to send.</returns>
IReportRootGetOffice365ActivationsUserCountsRequest Select(string value);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -25,66 +25,59 @@ public partial interface IReportRootGetOffice365ActivationsUserDetailRequest : I
/// Issues the GET request.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
System.Threading.Tasks.Task<Report> GetAsync(
CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<Stream> GetAsync(
CancellationToken cancellationToken = default,
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);

/// <summary>
/// Issues the GET request and returns a <see cref="GraphResponse"/> object.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
System.Threading.Tasks.Task<GraphResponse<Report>> GetResponseAsync(CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<GraphResponse> GetResponseAsync(CancellationToken cancellationToken = default);


/// <summary>
/// Issues the PATCH request.
/// </summary>
/// <param name="report">The Report object set with the properties to update.</param>
/// <param name="stream">The Stream object set with the properties to update.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
System.Threading.Tasks.Task<Report> PatchAsync(Report report,
CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<Stream> PatchAsync(Stream stream,
CancellationToken cancellationToken = default,
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);

/// <summary>
/// Issues the PATCH request and returns a <see cref="GraphResponse"/> object.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="report">The Report object set with the properties to update.</param>
/// <param name="stream">The Stream object set with the properties to update.</param>
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
System.Threading.Tasks.Task<GraphResponse<Report>> PatchResponseAsync(Report report, CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<GraphResponse> PatchResponseAsync(Stream stream, CancellationToken cancellationToken = default);


/// <summary>
/// Issues the PUT request.
/// </summary>
/// <param name="report">The Report object to update.</param>
/// <param name="stream">The Stream object to update.</param>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="httpCompletionOption">The <see cref="HttpCompletionOption"/> for the request.</param>
/// <returns>The task to await for async call.</returns>
System.Threading.Tasks.Task<Report> PutAsync(Report report,
CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<Stream> PutAsync(Stream stream,
CancellationToken cancellationToken = default,
HttpCompletionOption httpCompletionOption = HttpCompletionOption.ResponseContentRead);

/// <summary>
/// Issues the PUT request and returns a <see cref="GraphResponse"/> object.
/// </summary>
/// <param name="cancellationToken">The <see cref="CancellationToken"/> for the request.</param>
/// <param name="report">The Report object set with the properties to update.</param>
/// <param name="stream">The Stream object set with the properties to update.</param>
/// <returns>The <see cref="GraphResponse"/> object of the request</returns>
System.Threading.Tasks.Task<GraphResponse<Report>> PutResponseAsync(Report report, CancellationToken cancellationToken = default);
System.Threading.Tasks.Task<GraphResponse> PutResponseAsync(Stream stream, CancellationToken cancellationToken = default);


/// <summary>
/// Adds the specified expand value to the request.
/// </summary>
/// <param name="value">The expand value.</param>
/// <returns>The request object to send.</returns>
IReportRootGetOffice365ActivationsUserDetailRequest Expand(string value);

/// <summary>
/// Adds the specified select value to the request.
/// </summary>
/// <param name="value">The select value.</param>
/// <returns>The request object to send.</returns>
IReportRootGetOffice365ActivationsUserDetailRequest Select(string value);
}
}
Loading

0 comments on commit 994deb2

Please sign in to comment.