| 程序包 | 说明 |
|---|---|
| com.zhipu.oapi.service.v4.model |
| 限定符和类型 | 字段和说明 |
|---|---|
WeatherUnit |
Weather.unit |
WeatherUnit |
WeatherResponse.unit |
| 限定符和类型 | 方法和说明 |
|---|---|
static WeatherUnit |
WeatherUnit.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static WeatherUnit[] |
WeatherUnit.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 构造器和说明 |
|---|
WeatherResponse(String location,
WeatherUnit unit,
int temperature,
String description) |
Copyright © 2024. All rights reserved.