Show / Hide Table of Contents

Struct ForecastHourly

Data class that holds hourly data parsed from forecast api response

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: WeatherAPI_CSharp
Assembly: WeatherAPI-CSharp.dll
Syntax
public readonly struct ForecastHourly

Properties

| Edit this page View Source

ChanceOfRain

Declaration
public int ChanceOfRain { get; }
Property Value
Type Description
int

Chance of rain as percentage

| Edit this page View Source

ChanceOfSnow

Declaration
public int ChanceOfSnow { get; }
Property Value
Type Description
int

Chance of snow as percentage

| Edit this page View Source

Clouds

Declaration
public int Clouds { get; }
Property Value
Type Description
int

Cloud cover as percentage

| Edit this page View Source

ConditionCode

Declaration
public int ConditionCode { get; }
Property Value
Type Description
int

Weather condition code

| Edit this page View Source

ConditionIconUrl

Declaration
public string ConditionIconUrl { get; }
Property Value
Type Description
string

Weather condition icon

| Edit this page View Source

ConditionText

Declaration
public string ConditionText { get; }
Property Value
Type Description
string

Weather condition text

| Edit this page View Source

Date

Declaration
public DateTime Date { get; }
Property Value
Type Description
DateTime

Date and time of forecast

| Edit this page View Source

DateEpoch

Declaration
public long DateEpoch { get; }
Property Value
Type Description
long

Date and time of forecast as unix time

| Edit this page View Source

DewPointCelsius

Declaration
public double DewPointCelsius { get; }
Property Value
Type Description
double

Dew point in celcius

| Edit this page View Source

DewPointFahrenheit

Declaration
public double DewPointFahrenheit { get; }
Property Value
Type Description
double

Dew point in fahrenheit

| Edit this page View Source

FeelsLikeCelsius

Declaration
public double FeelsLikeCelsius { get; }
Property Value
Type Description
double

Feels like temperature as celcius

| Edit this page View Source

FeelsLikeFahrenheit

Declaration
public double FeelsLikeFahrenheit { get; }
Property Value
Type Description
double

Feels like temperature as fahrenheit

| Edit this page View Source

GustKph

Declaration
public double GustKph { get; }
Property Value
Type Description
double

Wind gust in kilometers per hour

| Edit this page View Source

GustMph

Declaration
public double GustMph { get; }
Property Value
Type Description
double

Wind gust in miles per hour

| Edit this page View Source

HeatIndexCelsius

Declaration
public double HeatIndexCelsius { get; }
Property Value
Type Description
double

Heat index in celcius

| Edit this page View Source

HeatIndexFahrenheit

Declaration
public double HeatIndexFahrenheit { get; }
Property Value
Type Description
double

Heat index in fahrenheit

| Edit this page View Source

Humidity

Declaration
public int Humidity { get; }
Property Value
Type Description
int

Humidity as percentage

| Edit this page View Source

IsDay

Declaration
public bool IsDay { get; }
Property Value
Type Description
bool

Whether to show day condition icon or night icon

| Edit this page View Source

PrecipitationIn

Declaration
public double PrecipitationIn { get; }
Property Value
Type Description
double

Precipitation amount in inches

| Edit this page View Source

PrecipitationMm

Declaration
public double PrecipitationMm { get; }
Property Value
Type Description
double

Precipitation amount in millimeters

| Edit this page View Source

PressureIn

Declaration
public double PressureIn { get; }
Property Value
Type Description
double

Pressure in inches

| Edit this page View Source

PressureMb

Declaration
public double PressureMb { get; }
Property Value
Type Description
double

Pressure in millibars

| Edit this page View Source

TemperatureCelsius

Declaration
public double TemperatureCelsius { get; }
Property Value
Type Description
double

Temperature in celsius

| Edit this page View Source

TemperatureFahrenheit

Declaration
public double TemperatureFahrenheit { get; }
Property Value
Type Description
double

Temperature in fahrenheit

| Edit this page View Source

UV

Declaration
public double UV { get; }
Property Value
Type Description
double

UV Index

| Edit this page View Source

Valid

Declaration
public bool Valid { get; }
Property Value
Type Description
bool

Whether or not the API request was successfull

| Edit this page View Source

VisibilityKm

Declaration
public double VisibilityKm { get; }
Property Value
Type Description
double

Visibility in kilometers

| Edit this page View Source

VisibilityMiles

Declaration
public double VisibilityMiles { get; }
Property Value
Type Description
double

Visibility in miles

| Edit this page View Source

WillItRain

Declaration
public bool WillItRain { get; }
Property Value
Type Description
bool

Will it will rain or not

| Edit this page View Source

WillItSnow

Declaration
public bool WillItSnow { get; }
Property Value
Type Description
bool

Will it snow or not

| Edit this page View Source

WindChillCelsius

Declaration
public double WindChillCelsius { get; }
Property Value
Type Description
double

Windchill temperature in celcius

| Edit this page View Source

WindChillFahrenheit

Declaration
public double WindChillFahrenheit { get; }
Property Value
Type Description
double

Windchill temperature in fahrenheit

| Edit this page View Source

WindDegree

Declaration
public int WindDegree { get; }
Property Value
Type Description
int

Wind direction in degrees

| Edit this page View Source

WindDirection

Declaration
public string WindDirection { get; }
Property Value
Type Description
string

Wind direction as 16 point compass. e.g.: NSW

| Edit this page View Source

WindKph

Declaration
public double WindKph { get; }
Property Value
Type Description
double

Maximum wind speed in kilometers per hour

| Edit this page View Source

WindMph

Declaration
public double WindMph { get; }
Property Value
Type Description
double

Maximum wind speed in miles per hour

Methods

| Edit this page View Source

ToString()

Generates string of all Members and their values

Declaration
public override string ToString()
Returns
Type Description
string

Printable string of members and their values

Overrides
ValueType.ToString()
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX