Regression |
The RegressionResponse type exposes the following members.
| Name | Description | |
|---|---|---|
| Metadata |
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) | |
| Sources | Gets the non-null, non-empty list of source(s) (essentially weather stations) that were used to generate the degree days used for the regressions in this response. | |
| StationId | Gets the non-null, non-empty canonical ID of the weather station or combination of weather stations that supplied the temperature data used to calculate the degree days used for the regressions in this response. | |
| TargetLongLat | Gets the LongLat that specifies the geographic position of the Location from the RegressionRequest that led to this response. |
| Name | Description | |
|---|---|---|
| Equals |
Returns true if obj is a
RegressionResponse with equal values apart from the
Metadata (which is not considered in the
equality test).
(Overrides ObjectEquals(Object)) | |
| GetHashCode |
Overridden to ensure consistency with Equals.
(Overrides ObjectGetHashCode) | |
| GetRegressions | Returns a non-null, non-empty, best-first ordered list of Regression objects, or throws a SourceDataException if the API could not generate regressions because there was not enough good weather data for the Location specified in your RegressionRequest. | |
| ToString |
Returns a non-null, non-empty string representation of this instance for logging and debugging purposes.
(Overrides ObjectToString) |
To get a RegressionResponse, you would send a RegressionRequest to the API via RunRegressions(RegressionRequest). See www.degreedays.net/api/regression for more information and code samples.
| Version | Description |
|---|---|
| 1.4 | This was added in version 1.4. |