Click or drag to resize

LocationInfoResponse Class

Contains the location/station-related info returned in response to a LocationInfoRequest.
Inheritance Hierarchy
SystemObject
  DegreeDays.ApiResponse
    DegreeDays.Api.DataLocationInfoResponse

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

The LocationInfoResponse type exposes the following members.

Properties
 NameDescription
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.
Top
Methods
 NameDescription
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)
Top
Remarks

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.
Version History
VersionDescription
1.1 This was added in version 1.1.
See Also