Show / Hide Table of Contents

Struct ForecastDaily

Data class that holds daily 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 ForecastDaily

Properties

| Edit this page View Source

AvgHumidity

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

Average humidity as percentage

| Edit this page View Source

AvgTemperatureCelsius

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

Average temperature in celsius for the day

| Edit this page View Source

AvgTemperatureFahrenheit

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

Average temperature in fahrenheit for the day

| Edit this page View Source

AvgVisibilityKm

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

Average visibility in kilometer

| Edit this page View Source

AvgVisibilityMiles

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

Average visibility in miles

| 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

ConditionCode

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

Weather condition unique code

| Edit this page View Source

ConditionIconUrl

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

Weather icon url

| 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

Forecast date

| Edit this page View Source

DateEpoch

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

Forecast date as unix time

| Edit this page View Source

MaxTemperatureCelsius

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

Maximum temperature in celsius for the day

| Edit this page View Source

MaxTemperatureFahrenheit

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

Maximum temperature in fahrenheit for the day

| Edit this page View Source

MaxWindKph

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

Maximum wind speed in kilometer per hour

| Edit this page View Source

MaxWindMph

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

Maximum wind speed in miles per hour

| Edit this page View Source

MinTemperatureCelsius

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

Minimum temperature in celsius for the day

| Edit this page View Source

MinTemperatureFahrenheit

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

Minimum temperature in fahrenheit for the day

| Edit this page View Source

TotalPrecipitationIn

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

Total precipitation in inches

| Edit this page View Source

TotalPrecipitationMm

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

Total precipitation in milimeters

| Edit this page View Source

TotalSnowCm

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

Total snow in centimeters

| 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

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 will snow or not

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