Uses of Enum Class
com.bytedesk.ai.utils.tools.Unit
Packages that use Unit
-
Uses of Unit in com.bytedesk.ai.utils.tools
Fields in com.bytedesk.ai.utils.tools declared as UnitModifier and TypeFieldDescriptionprivate final UnitWeatherRequest.unitThe field for theunitrecord component.private final UnitWeatherResponse.unitThe field for theunitrecord component.Methods in com.bytedesk.ai.utils.tools that return UnitModifier and TypeMethodDescriptionWeatherRequest.unit()Returns the value of theunitrecord component.WeatherResponse.unit()Returns the value of theunitrecord component.static UnitReturns the enum constant of this class with the specified name.static Unit[]Unit.values()Returns an array containing the constants of this enum class, in the order they are declared.Constructors in com.bytedesk.ai.utils.tools with parameters of type UnitModifierConstructorDescriptionWeatherRequest(String location, Unit unit) Creates an instance of aWeatherRequestrecord class.WeatherResponse(double temp, Unit unit) Creates an instance of aWeatherResponserecord class.