Class UnitSystemsInfo
java.lang.Object
com.azure.resourcemanager.agrifood.models.UnitSystemsInfo
Unit systems info for the data provider.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionkey()
Get the key property: UnitSystem key sent as part of ProviderInput.void
validate()
Validates the instance.values()
Get the values property: List of unit systems supported by this data provider.Set the key property: UnitSystem key sent as part of ProviderInput.withValues
(List<String> values) Set the values property: List of unit systems supported by this data provider.
-
Constructor Details
-
UnitSystemsInfo
public UnitSystemsInfo()
-
-
Method Details
-
key
Get the key property: UnitSystem key sent as part of ProviderInput.- Returns:
- the key value.
-
withKey
Set the key property: UnitSystem key sent as part of ProviderInput.- Parameters:
key
- the key value to set.- Returns:
- the UnitSystemsInfo object itself.
-
values
Get the values property: List of unit systems supported by this data provider.- Returns:
- the values value.
-
withValues
Set the values property: List of unit systems supported by this data provider.- Parameters:
values
- the values value to set.- Returns:
- the UnitSystemsInfo object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-