/// <summary> /// Gets the request builder for InformationProtectionLabelEvaluateApplication. /// </summary> /// <returns>The <see cref="IInformationProtectionLabelEvaluateApplicationRequestBuilder"/>.</returns> public IInformationProtectionLabelEvaluateApplicationRequestBuilder EvaluateApplication( ContentInfo contentInfo, LabelingOptions labelingOptions) { return(new InformationProtectionLabelEvaluateApplicationRequestBuilder( this.AppendSegmentToRequestUrl("microsoft.graph.evaluateApplication"), this.Client, contentInfo, labelingOptions)); }
/// <summary> /// Constructs a new <see cref="InformationProtectionLabelEvaluateApplicationRequestBuilder"/>. /// </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="labelingOptions">A labelingOptions parameter for the OData method call.</param> public InformationProtectionLabelEvaluateApplicationRequestBuilder( string requestUrl, IBaseClient client, ContentInfo contentInfo, LabelingOptions labelingOptions) : base(requestUrl, client) { this.SetParameter("contentInfo", contentInfo, false); this.SetParameter("labelingOptions", labelingOptions, false); }
/// <summary> /// Gets the request builder for InformationProtectionPolicyApplyLabel. /// </summary> /// <returns>The <see cref="IInformationProtectionPolicyApplyLabelRequestBuilder"/>.</returns> public IInformationProtectionPolicyApplyLabelRequestBuilder ApplyLabel( ContentInfo contentInfo, LabelingOptions labelingOptions) { return(new InformationProtectionPolicyApplyLabelRequestBuilder( this.AppendSegmentToRequestUrl("microsoft.graph.applyLabel"), this.Client, contentInfo, labelingOptions)); }