/// <summary>
 /// Gets the request builder for UserTeamworkSendActivityNotification.
 /// </summary>
 /// <returns>The <see cref="IUserTeamworkSendActivityNotificationRequestBuilder"/>.</returns>
 public IUserTeamworkSendActivityNotificationRequestBuilder SendActivityNotification(
     TeamworkActivityTopic topic = null,
     string activityType         = null,
     Int64?chainId        = null,
     ItemBody previewText = null,
     IEnumerable <KeyValuePair> templateParameters = null)
 {
     return(new UserTeamworkSendActivityNotificationRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.sendActivityNotification"),
                this.Client,
                topic,
                activityType,
                chainId,
                previewText,
                templateParameters));
 }
 /// <summary>
 /// Constructs a new <see cref="UserTeamworkSendActivityNotificationRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="topic">A topic parameter for the OData method call.</param>
 /// <param name="activityType">A activityType parameter for the OData method call.</param>
 /// <param name="chainId">A chainId parameter for the OData method call.</param>
 /// <param name="previewText">A previewText parameter for the OData method call.</param>
 /// <param name="templateParameters">A templateParameters parameter for the OData method call.</param>
 public UserTeamworkSendActivityNotificationRequestBuilder(
     string requestUrl,
     IBaseClient client,
     TeamworkActivityTopic topic,
     string activityType,
     Int64?chainId,
     ItemBody previewText,
     IEnumerable <KeyValuePair> templateParameters)
     : base(requestUrl, client)
 {
     this.SetParameter("topic", topic, true);
     this.SetParameter("activityType", activityType, true);
     this.SetParameter("chainId", chainId, true);
     this.SetParameter("previewText", previewText, true);
     this.SetParameter("templateParameters", templateParameters, true);
 }