Beispiel #1
0
 /// <summary>
 /// Gets the request builder for InformationProtectionEvaluateLabelsAndPolicies.
 /// </summary>
 /// <returns>The <see cref="IInformationProtectionEvaluateLabelsAndPoliciesRequestBuilder"/>.</returns>
 public IInformationProtectionEvaluateLabelsAndPoliciesRequestBuilder EvaluateLabelsAndPolicies(
     EvaluateSensitivityLabelsRequestObject evaluateSensitivityLabels    = null,
     DlpEvaluatePoliciesRequestObject evaluateDataLossPreventionPolicies = null,
     TextClassificationRequestObject classifyText = null)
 {
     return(new InformationProtectionEvaluateLabelsAndPoliciesRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.evaluateLabelsAndPolicies"),
                this.Client,
                evaluateSensitivityLabels,
                evaluateDataLossPreventionPolicies,
                classifyText));
 }
 /// <summary>
 /// Constructs a new <see cref="InformationProtectionEvaluateLabelsAndPoliciesRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="evaluateSensitivityLabels">A evaluateSensitivityLabels parameter for the OData method call.</param>
 /// <param name="evaluateDataLossPreventionPolicies">A evaluateDataLossPreventionPolicies parameter for the OData method call.</param>
 /// <param name="classifyText">A classifyText parameter for the OData method call.</param>
 public InformationProtectionEvaluateLabelsAndPoliciesRequestBuilder(
     string requestUrl,
     IBaseClient client,
     EvaluateSensitivityLabelsRequestObject evaluateSensitivityLabels,
     DlpEvaluatePoliciesRequestObject evaluateDataLossPreventionPolicies,
     TextClassificationRequestObject classifyText)
     : base(requestUrl, client)
 {
     this.SetParameter("evaluateSensitivityLabels", evaluateSensitivityLabels, true);
     this.SetParameter("evaluateDataLossPreventionPolicies", evaluateDataLossPreventionPolicies, true);
     this.SetParameter("classifyText", classifyText, true);
 }