Uses of Enum Class
com.bytedesk.ai.tools.Unit

Packages that use Unit
Package
Description
 
  • Uses of Unit in com.bytedesk.ai.tools

    Fields in com.bytedesk.ai.tools declared as Unit
    Modifier and Type
    Field
    Description
    private final Unit
    WeatherRequest.unit
    The field for the unit record component.
    private final Unit
    WeatherResponse.unit
    The field for the unit record component.
    Methods in com.bytedesk.ai.tools that return Unit
    Modifier and Type
    Method
    Description
    WeatherRequest.unit()
    Returns the value of the unit record component.
    WeatherResponse.unit()
    Returns the value of the unit record component.
    static Unit
    Unit.valueOf(String name)
    Returns 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.tools with parameters of type Unit
    Modifier
    Constructor
    Description
     
    WeatherRequest(String location, Unit unit)
    Creates an instance of a WeatherRequest record class.
     
    WeatherResponse(double temp, Unit unit)
    Creates an instance of a WeatherResponse record class.