Ejemplo n.º 1
0
 /// <summary>
 /// Constructs a new <see cref="TimeCardClockOutRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="atApprovedLocation">A atApprovedLocation parameter for the OData method call.</param>
 /// <param name="notes">A notes parameter for the OData method call.</param>
 public TimeCardClockOutRequestBuilder(
     string requestUrl,
     IBaseClient client,
     bool?atApprovedLocation,
     ItemBody notes)
     : base(requestUrl, client)
 {
     this.SetParameter("atApprovedLocation", atApprovedLocation, true);
     this.SetParameter("notes", notes, true);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Gets the request builder for TimeCardStartBreak.
 /// </summary>
 /// <returns>The <see cref="ITimeCardStartBreakRequestBuilder"/>.</returns>
 public ITimeCardStartBreakRequestBuilder StartBreak(
     bool?atApprovedLocation = null,
     ItemBody notes          = null)
 {
     return(new TimeCardStartBreakRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.startBreak"),
                this.Client,
                atApprovedLocation,
                notes));
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Gets the request builder for TimeCardClockOut.
 /// </summary>
 /// <returns>The <see cref="ITimeCardClockOutRequestBuilder"/>.</returns>
 public ITimeCardClockOutRequestBuilder ClockOut(
     bool?atApprovedLocation = null,
     ItemBody notes          = null)
 {
     return(new TimeCardClockOutRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.clockOut"),
                this.Client,
                atApprovedLocation,
                notes));
 }
 /// <summary>
 /// Gets the request builder for TimeCardClockIn.
 /// </summary>
 /// <returns>The <see cref="ITimeCardClockInRequestBuilder"/>.</returns>
 public ITimeCardClockInRequestBuilder ClockIn(
     bool?atApprovedLocation = null,
     string onBehalfOfUserId = null,
     ItemBody notes          = null)
 {
     return(new TimeCardClockInRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.clockIn"),
                this.Client,
                atApprovedLocation,
                onBehalfOfUserId,
                notes));
 }
 /// <summary>
 /// Constructs a new <see cref="TimeCardClockInRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="atApprovedLocation">A atApprovedLocation parameter for the OData method call.</param>
 /// <param name="onBehalfOfUserId">A onBehalfOfUserId parameter for the OData method call.</param>
 /// <param name="notes">A notes parameter for the OData method call.</param>
 public TimeCardClockInRequestBuilder(
     string requestUrl,
     IBaseClient client,
     bool?atApprovedLocation,
     string onBehalfOfUserId,
     ItemBody notes)
     : base(requestUrl, client)
 {
     this.SetParameter("atApprovedLocation", atApprovedLocation, true);
     this.SetParameter("onBehalfOfUserId", onBehalfOfUserId, true);
     this.SetParameter("notes", notes, true);
 }
 /// <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);
 }