Versions in this module Expand all Collapse all v1 v1.0.1 Jul 31, 2019 Changes in this version + var ContextAPIKey = contextKey("apikey") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextOAuth2 = contextKey("token") + func CacheExpires(r *http.Response) time.Time + type APIClient struct + DefaultApi *DefaultApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) ChangeBasePath(path string) + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type AdditionalFeatures struct + AnnualEnergyConsumptionInKWh int32 + AnnualHeatingCostInPounds int32 + AnnualHotWaterCostInPounds int32 + AnnualLightingCostInPounds int32 + BuiltForm BuiltForm + CurrentEnergyRating EnergyRating + DateOfPreviousSale string + FloorHeightInFoot float32 + LeaseholdOrFreehold LeaseholdOrFreehold + PotentialEnergyRating EnergyRating + PriceOfPreviousSale int32 + RoofEnergyEfficiency EnergyEfficiency + RoofInsulation RoofInsulation + RoofType RoofType + WallEnergyEfficiency EnergyEfficiency + WallInsulation WallInsulation + WallType WallType + WindowEnergyEfficiency EnergyEfficiency + WindowGlazingType WindowGlazingType + type BasicAuth struct + Password string + UserName string + type BuiltForm string + const BUILT_FORM_DETACHED + const BUILT_FORM_ENCLOSED_END_TERRACE + const BUILT_FORM_ENCLOSED_MID_TERRACE + const BUILT_FORM_END_TERRACE + const BUILT_FORM_MID_TERRACE + const BUILT_FORM_SEMI_DETACHED + type Configuration struct + BasePath string + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + Scheme string + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + type DefaultApiService service + func (a *DefaultApiService) GetFastValuation(ctx context.Context, propertyFeatures PropertyFeatures) (int32, *http.Response, error) + func (a *DefaultApiService) GetValuation(ctx context.Context, propertyFeatures PropertyFeatures) (Valuation, *http.Response, error) + type EnergyEfficiency string + const ENERGY_EFFICIENCY_AVERAGE + const ENERGY_EFFICIENCY_GOOD + const ENERGY_EFFICIENCY_POOR + const ENERGY_EFFICIENCY_VERY_GOOD + const ENERGY_EFFICIENCY_VERY_POOR + type EnergyRating string + const ENERGY_RATING_A + const ENERGY_RATING_B + const ENERGY_RATING_C + const ENERGY_RATING_D + const ENERGY_RATING_E + const ENERGY_RATING_F + const ENERGY_RATING_G + const ENERGY_RATING_I + type FloorLevel string + const FLOOR_LEVEL_BASEMENT + const FLOOR_LEVEL_FLOOR_1 + const FLOOR_LEVEL_FLOOR_10 + const FLOOR_LEVEL_FLOOR_11 + const FLOOR_LEVEL_FLOOR_12 + const FLOOR_LEVEL_FLOOR_13 + const FLOOR_LEVEL_FLOOR_14 + const FLOOR_LEVEL_FLOOR_15 + const FLOOR_LEVEL_FLOOR_16 + const FLOOR_LEVEL_FLOOR_17 + const FLOOR_LEVEL_FLOOR_18 + const FLOOR_LEVEL_FLOOR_19 + const FLOOR_LEVEL_FLOOR_2 + const FLOOR_LEVEL_FLOOR_20 + const FLOOR_LEVEL_FLOOR_21_OR_ABOVE + const FLOOR_LEVEL_FLOOR_3 + const FLOOR_LEVEL_FLOOR_4 + const FLOOR_LEVEL_FLOOR_5 + const FLOOR_LEVEL_FLOOR_6 + const FLOOR_LEVEL_FLOOR_7 + const FLOOR_LEVEL_FLOOR_8 + const FLOOR_LEVEL_FLOOR_9 + const FLOOR_LEVEL_GROUND + const FLOOR_LEVEL_MIDDLE + const FLOOR_LEVEL_TOP + type GenericOpenAPIError struct + func (e GenericOpenAPIError) Body() []byte + func (e GenericOpenAPIError) Error() string + func (e GenericOpenAPIError) Model() interface{} + type LeaseholdOrFreehold string + const LEASEHOLD_OR_FREEHOLD_FREEHOLD + const LEASEHOLD_OR_FREEHOLD_LEASEHOLD + type NewOrResale string + const NEW_OR_RESALE_NEW + const NEW_OR_RESALE_RESALE + type Problem struct + Detail string + Instance string + Status int32 + Title string + Type string + type PropertyFeatures struct + AdditionalFeatures AdditionalFeatures + RequiredFeatures RequiredFeatures + type PropertyType string + const PROPERTY_TYPE_DETACHED_HOUSE + const PROPERTY_TYPE_FLAT + const PROPERTY_TYPE_SEMI_DETACHED_HOUSE + const PROPERTY_TYPE_TERRACED_HOUSE + type RequiredFeatures struct + FloorLevel FloorLevel + NewOrResale NewOrResale + NumberOfRooms int32 + Postcode string + PropertyType PropertyType + TotalFloorAreaInSqf int32 + type RoofInsulation string + const ROOF_INSULATION_ADDITIONAL + const ROOF_INSULATION_DWELLING + const ROOF_INSULATION_INSULATED + const ROOF_INSULATION_NO + const ROOF_INSULATION_PARTIAL + type RoofType string + const ROOF_TYPE_DWELLING + const ROOF_TYPE_FLAT + const ROOF_TYPE_PITCHED + const ROOF_TYPE_THATCHED + type Valuation struct + Confidence int32 + MostProbablePrice int32 + PriceDistribution []ValuationPriceDistribution + PriceRangeFrom int32 + PriceRangeTo int32 + type ValuationPriceDistribution struct + PriceFrom int32 + PriceTo int32 + Probability float64 + type WallInsulation string + const WALL_INSULATION_ADDITIONAL + const WALL_INSULATION_INSULATED + const WALL_INSULATION_NO + const WALL_INSULATION_PARTIAL + type WallType string + const WALL_TYPE_CAVITY_WALL + const WALL_TYPE_COB + const WALL_TYPE_GRANITE_OR_WHIN + const WALL_TYPE_PARK_HOME_WALL + const WALL_TYPE_SANDSTONE + const WALL_TYPE_SOLID_BRICK + const WALL_TYPE_SYSTEM_BUILD + const WALL_TYPE_TIMBER_FRAME + type WindowGlazingType string + const WINDOW_GLAZING_TYPE_DOUBLE + const WINDOW_GLAZING_TYPE_MULTIPLE + const WINDOW_GLAZING_TYPE_PERFORMANCE + const WINDOW_GLAZING_TYPE_SECONDARY + const WINDOW_GLAZING_TYPE_SINGLE + const WINDOW_GLAZING_TYPE_TRIPLE