/// <summary> /// Constructs a new <see cref="InformationProtectionLabelEvaluateRemovalRequestBuilder"/>. /// </summary> /// <param name="requestUrl">The URL for the request.</param> /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param> /// <param name="contentInfo">A contentInfo parameter for the OData method call.</param> /// <param name="downgradeJustification">A downgradeJustification parameter for the OData method call.</param> public InformationProtectionLabelEvaluateRemovalRequestBuilder( string requestUrl, IBaseClient client, ContentInfo contentInfo, DowngradeJustification downgradeJustification) : base(requestUrl, client) { this.SetParameter("contentInfo", contentInfo, false); this.SetParameter("downgradeJustification", downgradeJustification, true); }
/// <summary> /// Gets the request builder for InformationProtectionLabelEvaluateRemoval. /// </summary> /// <returns>The <see cref="IInformationProtectionLabelEvaluateRemovalRequestBuilder"/>.</returns> public IInformationProtectionLabelEvaluateRemovalRequestBuilder EvaluateRemoval( ContentInfo contentInfo, DowngradeJustification downgradeJustification = null) { return(new InformationProtectionLabelEvaluateRemovalRequestBuilder( this.AppendSegmentToRequestUrl("microsoft.graph.evaluateRemoval"), this.Client, contentInfo, downgradeJustification)); }