Share via


ContractualRulesLicenseAttribution Class

Definition

Defines a contractual rule for license attribution.

[Newtonsoft.Json.JsonObject("ContractualRules/LicenseAttribution")]
public class ContractualRulesLicenseAttribution : Microsoft.Azure.CognitiveServices.Search.EntitySearch.Models.ContractualRulesAttribution
[<Newtonsoft.Json.JsonObject("ContractualRules/LicenseAttribution")>]
type ContractualRulesLicenseAttribution = class
    inherit ContractualRulesAttribution
Public Class ContractualRulesLicenseAttribution
Inherits ContractualRulesAttribution
Inheritance
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

ContractualRulesLicenseAttribution()

Initializes a new instance of the ContractualRulesLicenseAttribution class.

ContractualRulesLicenseAttribution(String, Nullable<Boolean>, License, String)

Initializes a new instance of the ContractualRulesLicenseAttribution class.

Properties

License

Gets the license under which the content may be used.

LicenseNotice

Gets the license to display next to the targeted field.

MustBeCloseToContent

Gets a Boolean value that determines whether the contents of the rule must be placed in close proximity to the field that the rule applies to. If true, the contents must be placed in close proximity. If false, or this field does not exist, the contents may be placed at the caller's discretion.

(Inherited from ContractualRulesAttribution)
TargetPropertyName

Gets the name of the field that the rule applies to.

(Inherited from ContractualRulesContractualRule)

Applies to