public final class ScoringParameter extends Object
Constructor and Description |
---|
ScoringParameter(String nameValuePair)
Constructor to take name value pair string of ScoringParameter.
|
ScoringParameter(String name,
com.azure.core.models.GeoPoint value)
Initializes a new instance of the ScoringParameter class with the given name and GeographyPoint value.
|
ScoringParameter(String name,
List<String> values)
Initializes a new instance of the ScoringParameter class with the given name and string values.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of the scoring parameter.
|
List<String> |
getValues()
Gets the values of the scoring parameter.
|
String |
toString()
Covert
ScoringParameter to string. |
public ScoringParameter(String nameValuePair)
nameValuePair
- The dash separated name value pairs.public ScoringParameter(String name, List<String> values)
name
- Name of the scoring parameter.values
- Values of the scoring parameter.NullPointerException
- if name
or values
is null.public ScoringParameter(String name, com.azure.core.models.GeoPoint value)
name
- Name of the scoring parameter.value
- Value of the scoring parameter.NullPointerException
- If value
is null.public String getName()
public List<String> getValues()
public String toString()
ScoringParameter
to string.toString
in class Object
IllegalArgumentException
- if all values in the list are null or empty.Copyright © 2021 Microsoft Corporation. All rights reserved.