avm_client 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/Gemfile.lock +79 -0
  4. data/README.md +104 -0
  5. data/Rakefile +10 -0
  6. data/avm_client.gemspec +45 -0
  7. data/docs/AdditionalFeatures.md +53 -0
  8. data/docs/BuiltForm.md +16 -0
  9. data/docs/DefaultApi.md +67 -0
  10. data/docs/EnergyEfficiency.md +16 -0
  11. data/docs/EnergyRating.md +16 -0
  12. data/docs/FloorLevel.md +16 -0
  13. data/docs/LeaseholdOrFreehold.md +16 -0
  14. data/docs/NewOrResale.md +16 -0
  15. data/docs/Problem.md +25 -0
  16. data/docs/PropertyFeatures.md +19 -0
  17. data/docs/PropertyType.md +16 -0
  18. data/docs/RequiredFeatures.md +27 -0
  19. data/docs/RoofInsulation.md +16 -0
  20. data/docs/RoofType.md +16 -0
  21. data/docs/Valuation.md +25 -0
  22. data/docs/ValuationPriceDistribution.md +21 -0
  23. data/docs/WallInsulation.md +16 -0
  24. data/docs/WallType.md +16 -0
  25. data/docs/WindowGlazingType.md +16 -0
  26. data/lib/avm_client/api/default_api.rb +146 -0
  27. data/lib/avm_client/avm_client.rb +386 -0
  28. data/lib/avm_client/avm_error.rb +57 -0
  29. data/lib/avm_client/configuration.rb +248 -0
  30. data/lib/avm_client/models/additional_features.rb +373 -0
  31. data/lib/avm_client/models/built_form.rb +40 -0
  32. data/lib/avm_client/models/energy_efficiency.rb +39 -0
  33. data/lib/avm_client/models/energy_rating.rb +42 -0
  34. data/lib/avm_client/models/floor_level.rb +59 -0
  35. data/lib/avm_client/models/leasehold_or_freehold.rb +36 -0
  36. data/lib/avm_client/models/new_or_resale.rb +36 -0
  37. data/lib/avm_client/models/problem.rb +264 -0
  38. data/lib/avm_client/models/property_features.rb +210 -0
  39. data/lib/avm_client/models/property_type.rb +38 -0
  40. data/lib/avm_client/models/required_features.rb +329 -0
  41. data/lib/avm_client/models/roof_insulation.rb +39 -0
  42. data/lib/avm_client/models/roof_type.rb +38 -0
  43. data/lib/avm_client/models/valuation.rb +239 -0
  44. data/lib/avm_client/models/valuation_price_distribution.rb +217 -0
  45. data/lib/avm_client/models/wall_insulation.rb +38 -0
  46. data/lib/avm_client/models/wall_type.rb +42 -0
  47. data/lib/avm_client/models/window_glazing_type.rb +40 -0
  48. data/lib/avm_client/version.rb +15 -0
  49. data/lib/avm_client.rb +58 -0
  50. metadata +272 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 62e433dd58427db0a4a2ceea70de4a2cc3d5ce6848039469ba3c48942e9e0e91
4
+ data.tar.gz: 0b72bc1e3b020ad4960fd476ae3d47454180fd7eb25886ecc56315ac21b0d471
5
+ SHA512:
6
+ metadata.gz: 3eb64fc7e29208cbe13a6b55560486a375641fa731a13a1106dd9e4cb2a537b7f9b5420c81e228467227d47bc5b53d9625ac14da60b66b93422e178f6168fb00
7
+ data.tar.gz: 4870493cf84b76ea4c6280028f7a0d3e8dd51be4e82c269465bd66785a8c46f286f3090c414761b3383cb0efb4f479656d9f80b74f76aaa9668be90020153f1c
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'rake', '~> 12.0.0'
7
+ gem 'pry-byebug'
8
+ gem 'rubocop', '~> 0.66.0'
9
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,79 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ avm_client (1.0.0)
5
+ json (~> 2.1, >= 2.1.0)
6
+ typhoeus (~> 1.0, >= 1.0.1)
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ ZenTest (4.11.2)
12
+ addressable (2.5.2)
13
+ public_suffix (>= 2.0.2, < 4.0)
14
+ autotest (4.4.6)
15
+ ZenTest (>= 4.4.1)
16
+ autotest-fsevent (0.2.14)
17
+ sys-uname
18
+ autotest-growl (0.2.16)
19
+ autotest-rails-pure (4.1.2)
20
+ byebug (10.0.2)
21
+ coderay (1.1.2)
22
+ crack (0.4.3)
23
+ safe_yaml (~> 1.0.0)
24
+ diff-lcs (1.3)
25
+ ethon (0.11.0)
26
+ ffi (>= 1.3.0)
27
+ ffi (1.9.25)
28
+ hashdiff (0.3.7)
29
+ json (2.1.0)
30
+ method_source (0.9.0)
31
+ pry (0.11.3)
32
+ coderay (~> 1.1.0)
33
+ method_source (~> 0.9.0)
34
+ pry-byebug (3.6.0)
35
+ byebug (~> 10.0)
36
+ pry (~> 0.10)
37
+ public_suffix (3.0.3)
38
+ rake (12.0.0)
39
+ rspec (3.8.0)
40
+ rspec-core (~> 3.8.0)
41
+ rspec-expectations (~> 3.8.0)
42
+ rspec-mocks (~> 3.8.0)
43
+ rspec-core (3.8.0)
44
+ rspec-support (~> 3.8.0)
45
+ rspec-expectations (3.8.1)
46
+ diff-lcs (>= 1.2.0, < 2.0)
47
+ rspec-support (~> 3.8.0)
48
+ rspec-mocks (3.8.0)
49
+ diff-lcs (>= 1.2.0, < 2.0)
50
+ rspec-support (~> 3.8.0)
51
+ rspec-support (3.8.0)
52
+ safe_yaml (1.0.4)
53
+ sys-uname (1.0.3)
54
+ ffi (>= 1.0.0)
55
+ typhoeus (1.3.0)
56
+ ethon (>= 0.9.0)
57
+ vcr (3.0.3)
58
+ webmock (1.24.6)
59
+ addressable (>= 2.3.6)
60
+ crack (>= 0.3.2)
61
+ hashdiff
62
+
63
+ PLATFORMS
64
+ ruby
65
+
66
+ DEPENDENCIES
67
+ autotest (~> 4.4, >= 4.4.6)
68
+ autotest-fsevent (~> 0.2, >= 0.2.12)
69
+ autotest-growl (~> 0.2, >= 0.2.16)
70
+ autotest-rails-pure (~> 4.1, >= 4.1.2)
71
+ avm_client!
72
+ pry-byebug
73
+ rake (~> 12.0.0)
74
+ rspec (~> 3.6, >= 3.6.0)
75
+ vcr (~> 3.0, >= 3.0.1)
76
+ webmock (~> 1.24, >= 1.24.3)
77
+
78
+ BUNDLED WITH
79
+ 1.16.1
data/README.md ADDED
@@ -0,0 +1,104 @@
1
+ # avm_client
2
+
3
+ AvmClient - the Ruby gem for the AVM
4
+
5
+ This is api for AVM (automated valuation machine)
6
+
7
+ This SDK is automatically generated by the [Avm Generator](https://Avm-generator.tech) project:
8
+
9
+ - API version: 1.0.0
10
+ - Package version: 1.0.0
11
+ - Build package: org.Avmtools.codegen.languages.RubyClientCodegen
12
+
13
+ ## Installation
14
+
15
+ ### Build a gem
16
+
17
+
18
+
19
+ ## Getting Started
20
+
21
+ Please follow the [installation](#installation) procedure and then run the following code:
22
+
23
+ ```ruby
24
+ # Load the gem
25
+ require 'avm_client'
26
+
27
+ # Setup authorization
28
+ AvmClient.configure do |config|
29
+ # Configure API key authorization: ApiKeyAuth
30
+ config.api_key['X-API-KEY'] = 'SET YOUR TOKEN HERE!'
31
+ end
32
+
33
+ api_instance = AvmClient::DefaultApi.new
34
+
35
+ property_features = AvmClient::PropertyFeatures.new
36
+ required_features = AvmClient::RequiredFeatures.new
37
+ additional_features = AvmClient::AdditionalFeatures.new
38
+
39
+ additional_features.built_form = AvmClient::BuiltForm::DETACHED
40
+ additional_features.roof_energy_efficiency = AvmClient::EnergyEfficiency::GOOD
41
+
42
+ required_features.postcode = 'b1 1tb'
43
+ required_features.floor_level = AvmClient::FloorLevel::FLOOR_5
44
+ required_features.new_or_resale = AvmClient::NewOrResale::NEW
45
+ required_features.number_of_rooms = 2
46
+ required_features.property_type = AvmClient::PropertyType::DETACHED_HOUSE
47
+ required_features.total_floor_area_in_sqf = 160
48
+
49
+ property_features.additional_features = additional_features
50
+ property_features.required_features = required_features
51
+
52
+ begin
53
+ price = api_instance.get_fast_valuation(property_features)
54
+ valuation = api_instance.get_valuation(property_features)
55
+ puts price
56
+ puts "price range from: #{valuation.price_range_from}"
57
+ puts "to: #{valuation.price_range_to}"
58
+ rescue AvmClient::ApiError => e
59
+ puts "Exception when calling DefaultApi->get_fast_valuation: #{e}"
60
+ end
61
+ ```
62
+
63
+ ## Documentation for API Endpoints
64
+
65
+ All URIs are relative to *https://avm.enbisys.com/api*
66
+
67
+ Class | Method | HTTP request | Description
68
+ ------------ | ------------- | ------------- | -------------
69
+ *AvmClient::DefaultApi* | [**get_fast_valuation**](docs/DefaultApi.md#get_fast_valuation) | **POST** /properties/getFastValuation |
70
+ *AvmClient::DefaultApi* | [**get_valuation**](docs/DefaultApi.md#get_valuation) | **POST** /properties/getValuation |
71
+
72
+
73
+ ## Documentation for Models
74
+
75
+ - [AvmClient::AdditionalFeatures](docs/AdditionalFeatures.md)
76
+ - [AvmClient::BuiltForm](docs/BuiltForm.md)
77
+ - [AvmClient::EnergyEfficiency](docs/EnergyEfficiency.md)
78
+ - [AvmClient::EnergyRating](docs/EnergyRating.md)
79
+ - [AvmClient::FloorLevel](docs/FloorLevel.md)
80
+ - [AvmClient::LeaseholdOrFreehold](docs/LeaseholdOrFreehold.md)
81
+ - [AvmClient::NewOrResale](docs/NewOrResale.md)
82
+ - [AvmClient::Problem](docs/Problem.md)
83
+ - [AvmClient::PropertyFeatures](docs/PropertyFeatures.md)
84
+ - [AvmClient::PropertyType](docs/PropertyType.md)
85
+ - [AvmClient::RequiredFeatures](docs/RequiredFeatures.md)
86
+ - [AvmClient::RoofInsulation](docs/RoofInsulation.md)
87
+ - [AvmClient::RoofType](docs/RoofType.md)
88
+ - [AvmClient::Valuation](docs/Valuation.md)
89
+ - [AvmClient::ValuationPriceDistribution](docs/ValuationPriceDistribution.md)
90
+ - [AvmClient::WallInsulation](docs/WallInsulation.md)
91
+ - [AvmClient::WallType](docs/WallType.md)
92
+ - [AvmClient::WindowGlazingType](docs/WindowGlazingType.md)
93
+
94
+
95
+ ## Documentation for Authorization
96
+
97
+
98
+ ### ApiKeyAuth
99
+
100
+
101
+ - **Type**: API key
102
+ - **API key parameter name**: X-API-KEY
103
+ - **Location**: HTTP header
104
+
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+ task default: :spec
8
+ rescue LoadError
9
+ # no rspec available
10
+ end
@@ -0,0 +1,45 @@
1
+ # -*- encoding: utf-8 -*-
2
+
3
+ =begin
4
+ #AVM
5
+
6
+ #This is api for AVM (automated valuation machine)
7
+
8
+ The version of the AvmClient document: 1.0.0
9
+ Contact: info@enbisys.com
10
+ Generated by: https://openapi-generator.tech
11
+ OpenAPI Generator version: 4.0.3
12
+
13
+ =end
14
+
15
+ $:.push File.expand_path("../lib", __FILE__)
16
+ require "avm_client/version"
17
+
18
+ Gem::Specification.new do |s|
19
+ s.name = "avm_client"
20
+ s.version = AvmClient::VERSION
21
+ s.platform = Gem::Platform::RUBY
22
+ s.authors = ["enbisys.com"]
23
+ s.email = ["info@enbisys.com"]
24
+ s.homepage = "https://avm.enbisys.com"
25
+ s.summary = "AVM Ruby Gem"
26
+ s.description = "This is api for AVM (automated valuation machine)"
27
+ s.license = "Unlicense"
28
+ s.required_ruby_version = ">= 1.9"
29
+
30
+ s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
+ s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+
33
+ s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
+ s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'
35
+ s.add_development_dependency 'webmock', '~> 1.24', '>= 1.24.3'
36
+ s.add_development_dependency 'autotest', '~> 4.4', '>= 4.4.6'
37
+ s.add_development_dependency 'autotest-rails-pure', '~> 4.1', '>= 4.1.2'
38
+ s.add_development_dependency 'autotest-growl', '~> 0.2', '>= 0.2.16'
39
+ s.add_development_dependency 'autotest-fsevent', '~> 0.2', '>= 0.2.12'
40
+
41
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
42
+ s.test_files = `find spec/*`.split("\n")
43
+ s.executables = []
44
+ s.require_paths = ["lib"]
45
+ end
@@ -0,0 +1,53 @@
1
+ # AvmClient::AdditionalFeatures
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **price_of_previous_sale** | **Integer** | | [optional]
8
+ **date_of_previous_sale** | **Date** | | [optional]
9
+ **leasehold_or_freehold** | [**LeaseholdOrFreehold**](LeaseholdOrFreehold.md) | | [optional]
10
+ **wall_type** | [**WallType**](WallType.md) | | [optional]
11
+ **wall_insulation** | [**WallInsulation**](WallInsulation.md) | | [optional]
12
+ **wall_energy_efficiency** | [**EnergyEfficiency**](EnergyEfficiency.md) | | [optional]
13
+ **roof_type** | [**RoofType**](RoofType.md) | | [optional]
14
+ **roof_insulation** | [**RoofInsulation**](RoofInsulation.md) | | [optional]
15
+ **roof_energy_efficiency** | [**EnergyEfficiency**](EnergyEfficiency.md) | | [optional]
16
+ **window_glazing_type** | [**WindowGlazingType**](WindowGlazingType.md) | | [optional]
17
+ **window_energy_efficiency** | [**EnergyEfficiency**](EnergyEfficiency.md) | | [optional]
18
+ **current_energy_rating** | [**EnergyRating**](EnergyRating.md) | | [optional]
19
+ **potential_energy_rating** | [**EnergyRating**](EnergyRating.md) | | [optional]
20
+ **annual_heating_cost_in_pounds** | **Integer** | | [optional]
21
+ **annual_hot_water_cost_in_pounds** | **Integer** | | [optional]
22
+ **annual_lighting_cost_in_pounds** | **Integer** | | [optional]
23
+ **annual_energy_consumption_in_k_wh** | **Integer** | | [optional]
24
+ **floor_height_in_foot** | **Float** | | [optional]
25
+ **built_form** | [**BuiltForm**](BuiltForm.md) | | [optional]
26
+
27
+ ## Code Sample
28
+
29
+ ```ruby
30
+ require 'AvmClient'
31
+
32
+ instance = AvmClient::AdditionalFeatures.new(price_of_previous_sale: 300000,
33
+ date_of_previous_sale: null,
34
+ leasehold_or_freehold: null,
35
+ wall_type: null,
36
+ wall_insulation: null,
37
+ wall_energy_efficiency: null,
38
+ roof_type: null,
39
+ roof_insulation: null,
40
+ roof_energy_efficiency: null,
41
+ window_glazing_type: null,
42
+ window_energy_efficiency: null,
43
+ current_energy_rating: null,
44
+ potential_energy_rating: null,
45
+ annual_heating_cost_in_pounds: 817,
46
+ annual_hot_water_cost_in_pounds: 273,
47
+ annual_lighting_cost_in_pounds: 102,
48
+ annual_energy_consumption_in_k_wh: 25662,
49
+ floor_height_in_foot: 7.58,
50
+ built_form: null)
51
+ ```
52
+
53
+
data/docs/BuiltForm.md ADDED
@@ -0,0 +1,16 @@
1
+ # AvmClient::BuiltForm
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'AvmClient'
12
+
13
+ instance = AvmClient::BuiltForm.new()
14
+ ```
15
+
16
+
@@ -0,0 +1,67 @@
1
+ # AvmClient::DefaultApi
2
+
3
+ All URIs are relative to *https://avm.enbisys.com/api*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**get_fast_valuation**](DefaultApi.md#get_fast_valuation) | **POST** /properties/getFastValuation |
8
+ [**get_valuation**](DefaultApi.md#get_valuation) | **POST** /properties/getValuation |
9
+
10
+
11
+
12
+ ## get_fast_valuation
13
+
14
+ > Integer get_fast_valuation(property_features)
15
+
16
+
17
+
18
+ Get only property price valuation without confidence estimation
19
+
20
+ ### Parameters
21
+
22
+
23
+ Name | Type | Description | Notes
24
+ ------------- | ------------- | ------------- | -------------
25
+ **property_features** | [**PropertyFeatures**](PropertyFeatures.md)| Property features that describe property |
26
+
27
+ ### Return type
28
+
29
+ **Integer**
30
+
31
+ ### Authorization
32
+
33
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
34
+
35
+ ### HTTP request headers
36
+
37
+ - **Content-Type**: application/json
38
+ - **Accept**: application/json, application/problem+json
39
+
40
+
41
+ ## get_valuation
42
+
43
+ > Valuation get_valuation(property_features)
44
+
45
+ Get property price valuation with confidence estimation
46
+
47
+
48
+ ### Parameters
49
+
50
+
51
+ Name | Type | Description | Notes
52
+ ------------- | ------------- | ------------- | -------------
53
+ **property_features** | [**PropertyFeatures**](PropertyFeatures.md)| Property features to valuate |
54
+
55
+ ### Return type
56
+
57
+ [**Valuation**](Valuation.md)
58
+
59
+ ### Authorization
60
+
61
+ [ApiKeyAuth](../README.md#ApiKeyAuth)
62
+
63
+ ### HTTP request headers
64
+
65
+ - **Content-Type**: application/json
66
+ - **Accept**: application/problem+json
67
+
@@ -0,0 +1,16 @@
1
+ # AvmClient::EnergyEfficiency
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'AvmClient'
12
+
13
+ instance = AvmClient::EnergyEfficiency.new()
14
+ ```
15
+
16
+
@@ -0,0 +1,16 @@
1
+ # AvmClient::EnergyRating
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'AvmClient'
12
+
13
+ instance = AvmClient::EnergyRating.new()
14
+ ```
15
+
16
+
@@ -0,0 +1,16 @@
1
+ # AvmClient::FloorLevel
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'AvmClient'
12
+
13
+ instance = AvmClient::FloorLevel.new()
14
+ ```
15
+
16
+
@@ -0,0 +1,16 @@
1
+ # AvmClient::LeaseholdOrFreehold
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'AvmClient'
12
+
13
+ instance = AvmClient::LeaseholdOrFreehold.new()
14
+ ```
15
+
16
+
@@ -0,0 +1,16 @@
1
+ # AvmClient::NewOrResale
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'AvmClient'
12
+
13
+ instance = AvmClient::NewOrResale.new()
14
+ ```
15
+
16
+
data/docs/Problem.md ADDED
@@ -0,0 +1,25 @@
1
+ # AvmClient::Problem
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **type** | **String** | A relative URI reference that identifies the problem type. When dereferenced, it SHOULD provide human-readable documentation for the problem type (e.g. using HTML). | [optional] [default to &#39;about:blank&#39;]
8
+ **title** | **String** | A short, summary of the problem type. Written in english and readable for engineers (usually not suited for non technical stakeholders and not localized) | [optional]
9
+ **status** | **Integer** | The HTTP status code generated by the origin server for this occurrence of the problem. | [optional]
10
+ **detail** | **String** | A human-readable explanation specific to this occurrence of the problem | [optional]
11
+ **instance** | **String** | A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'AvmClient'
17
+
18
+ instance = AvmClient::Problem.new(type: null,
19
+ title: Service Unavailable,
20
+ status: 503,
21
+ detail: null,
22
+ instance: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,19 @@
1
+ # AvmClient::PropertyFeatures
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **required_features** | [**RequiredFeatures**](RequiredFeatures.md) | |
8
+ **additional_features** | [**AdditionalFeatures**](AdditionalFeatures.md) | | [optional]
9
+
10
+ ## Code Sample
11
+
12
+ ```ruby
13
+ require 'AvmClient'
14
+
15
+ instance = AvmClient::PropertyFeatures.new(required_features: null,
16
+ additional_features: null)
17
+ ```
18
+
19
+
@@ -0,0 +1,16 @@
1
+ # AvmClient::PropertyType
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'AvmClient'
12
+
13
+ instance = AvmClient::PropertyType.new()
14
+ ```
15
+
16
+
@@ -0,0 +1,27 @@
1
+ # AvmClient::RequiredFeatures
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **postcode** | **String** | Postcode |
8
+ **new_or_resale** | [**NewOrResale**](NewOrResale.md) | |
9
+ **floor_level** | [**FloorLevel**](FloorLevel.md) | |
10
+ **total_floor_area_in_sqf** | **Integer** | Floor area (sqf) |
11
+ **property_type** | [**PropertyType**](PropertyType.md) | |
12
+ **number_of_rooms** | **Integer** | |
13
+
14
+ ## Code Sample
15
+
16
+ ```ruby
17
+ require 'AvmClient'
18
+
19
+ instance = AvmClient::RequiredFeatures.new(postcode: B1 1TB,
20
+ new_or_resale: null,
21
+ floor_level: null,
22
+ total_floor_area_in_sqf: 90,
23
+ property_type: null,
24
+ number_of_rooms: 3)
25
+ ```
26
+
27
+
@@ -0,0 +1,16 @@
1
+ # AvmClient::RoofInsulation
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'AvmClient'
12
+
13
+ instance = AvmClient::RoofInsulation.new()
14
+ ```
15
+
16
+
data/docs/RoofType.md ADDED
@@ -0,0 +1,16 @@
1
+ # AvmClient::RoofType
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'AvmClient'
12
+
13
+ instance = AvmClient::RoofType.new()
14
+ ```
15
+
16
+
data/docs/Valuation.md ADDED
@@ -0,0 +1,25 @@
1
+ # AvmClient::Valuation
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **most_probable_price** | **Integer** | Predicted price, pound | [optional]
8
+ **price_range_from** | **Integer** | Lower price boundary, pound | [optional]
9
+ **price_range_to** | **Integer** | Higher price boundary, pound | [optional]
10
+ **confidence** | **Integer** | Probability (in percents) that actual price is within the specified boundaries | [optional]
11
+ **price_distribution** | [**Array&lt;ValuationPriceDistribution&gt;**](ValuationPriceDistribution.md) | Describes the probabilities (in percents) that actual price is within particular subranges | [optional]
12
+
13
+ ## Code Sample
14
+
15
+ ```ruby
16
+ require 'AvmClient'
17
+
18
+ instance = AvmClient::Valuation.new(most_probable_price: 233000,
19
+ price_range_from: 230000,
20
+ price_range_to: 235000,
21
+ confidence: 95,
22
+ price_distribution: null)
23
+ ```
24
+
25
+
@@ -0,0 +1,21 @@
1
+ # AvmClient::ValuationPriceDistribution
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+ **price_from** | **Integer** | left subrange boundary | [optional]
8
+ **price_to** | **Integer** | right subrange boundary | [optional]
9
+ **probability** | **Float** | Probability that price is within the specified boundaries | [optional]
10
+
11
+ ## Code Sample
12
+
13
+ ```ruby
14
+ require 'AvmClient'
15
+
16
+ instance = AvmClient::ValuationPriceDistribution.new(price_from: 230000,
17
+ price_to: 231000,
18
+ probability: 0.05)
19
+ ```
20
+
21
+
@@ -0,0 +1,16 @@
1
+ # AvmClient::WallInsulation
2
+
3
+ ## Properties
4
+
5
+ Name | Type | Description | Notes
6
+ ------------ | ------------- | ------------- | -------------
7
+
8
+ ## Code Sample
9
+
10
+ ```ruby
11
+ require 'AvmClient'
12
+
13
+ instance = AvmClient::WallInsulation.new()
14
+ ```
15
+
16
+