Click or drag to resize
LocationInfoResponse Class
Contains the location/station-related info returned in response to a LocationInfoRequest.
Inheritance Hierarchy

Namespace: DegreeDays.Api.Data
Assembly: DegreeDaysApi (in DegreeDaysApi.dll) Version: (
public sealed class LocationInfoResponse : Response

The LocationInfoResponse type exposes the following members.

Public methodEquals
Returns true if obj is a LocationInfoResponse with equal values for everything apart from the Metadata (which is not considered in the equality test).
(Overrides ObjectEquals(Object).)
Public methodGetHashCode
Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode.)
Public methodToString
Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString.)
Public propertyMetadata
Gets a non-null ResponseMetadata object containing metadata sent back with the response from the API servers, including details of the account's current rate limit.
(Inherited from Response.)
Public propertySources
Returns the non-null, non-empty array of source(s) (essentially weather stations) that would be used to generate data for an equivalent LocationDataResponse.
Public propertyStationId
Gets the non-null, non-empty canonical ID of the weather station or combination of weather stations that would be used to generate data for an equivalent LocationDataResponse.
Public propertyTargetLongLat
Gets the non-null LongLat that specifies the geographic position of the Location from the LocationInfoRequest that led to this response.

This mirrors LocationDataResponse, except it doesn't actually contain any data (i.e. no DataSets).

Thread Safety
Instances of this class are immutable. You can safely reuse them and call them from multiple threads at once.
See Also