ContractualRulesTextAttribution Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. entitysearch. models. ContractualRulesContractualRule - com.
microsoft. azure. cognitiveservices. search. entitysearch. models. ContractualRulesAttribution - com.
microsoft. azure. cognitiveservices. search. entitysearch. models. ContractualRulesTextAttribution
- com.
- com.
- com.
public class ContractualRulesTextAttribution
extends ContractualRulesAttribution
Defines a contractual rule for text attribution.
Constructor Summary
Constructor | Description | |
---|---|---|
ContractualRulesTextAttribution() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
optionalForListDisplay()
Get the optional |
java.lang.String |
text()
Get the text value. |
Contractual |
withText(String text)
Set the text value. |
Methods inherited from ContractualRulesAttribution
Methods inherited from ContractualRulesContractualRule
Methods inherited from java.lang.Object
java.lang.Object.clone
java.lang.Object.equals
java.lang.Object.finalize
java.lang.Object.getClass
java.lang.Object.hashCode
java.lang.Object.notify
java.lang.Object.notifyAll
java.lang.Object.toString
java.lang.Object.wait
java.lang.Object.wait
java.lang.Object.wait
Constructor Details
ContractualRulesTextAttribution
public ContractualRulesTextAttribution()
Method Details
optionalForListDisplay
public Boolean optionalForListDisplay()
Get the optionalForListDisplay value.
Returns:
the optionalForListDisplay value
text
public String text()
Get the text value.
Returns:
the text value
withText
public ContractualRulesTextAttribution withText(String text)
Set the text value.
Parameters:
text
- the text value to set
Returns:
the ContractualRulesTextAttribution object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java