Beispiel #1
0
 /// <summary>
 /// Gets the request builder for SensitivityLabelEvaluate.
 /// </summary>
 /// <returns>The <see cref="ISensitivityLabelEvaluateRequestBuilder"/>.</returns>
 public ISensitivityLabelEvaluateRequestBuilder Evaluate(
     IEnumerable <DiscoveredSensitiveType> discoveredSensitiveTypes = null,
     CurrentLabel currentLabel = null)
 {
     return(new SensitivityLabelEvaluateRequestBuilder(
                this.AppendSegmentToRequestUrl("microsoft.graph.evaluate"),
                this.Client,
                discoveredSensitiveTypes,
                currentLabel));
 }
 /// <summary>
 /// Constructs a new <see cref="SensitivityLabelEvaluateRequestBuilder"/>.
 /// </summary>
 /// <param name="requestUrl">The URL for the request.</param>
 /// <param name="client">The <see cref="IBaseClient"/> for handling requests.</param>
 /// <param name="discoveredSensitiveTypes">A discoveredSensitiveTypes parameter for the OData method call.</param>
 /// <param name="currentLabel">A currentLabel parameter for the OData method call.</param>
 public SensitivityLabelEvaluateRequestBuilder(
     string requestUrl,
     IBaseClient client,
     IEnumerable <DiscoveredSensitiveType> discoveredSensitiveTypes,
     CurrentLabel currentLabel)
     : base(requestUrl, client)
 {
     this.SetParameter("discoveredSensitiveTypes", discoveredSensitiveTypes, true);
     this.SetParameter("currentLabel", currentLabel, true);
 }