get_around_owner 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 (154) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +303 -0
  4. data/Rakefile +10 -0
  5. data/docs/CarsApi.md +151 -0
  6. data/docs/CheckinsApi.md +71 -0
  7. data/docs/CheckoutsApi.md +71 -0
  8. data/docs/GetaroundCar.md +28 -0
  9. data/docs/GetaroundCarsIndexInner.md +18 -0
  10. data/docs/GetaroundCheckin.md +24 -0
  11. data/docs/GetaroundCheckinsIndexInner.md +18 -0
  12. data/docs/GetaroundCheckout.md +26 -0
  13. data/docs/GetaroundCreateMessagesRequest.md +18 -0
  14. data/docs/GetaroundCreateUnavailabilitiesRequest.md +22 -0
  15. data/docs/GetaroundDestroyUnavailabilityRequest.md +20 -0
  16. data/docs/GetaroundInvoice.md +34 -0
  17. data/docs/GetaroundInvoiceChargesInner.md +20 -0
  18. data/docs/GetaroundInvoicesIndexInner.md +18 -0
  19. data/docs/GetaroundMessage.md +26 -0
  20. data/docs/GetaroundMessagesSent.md +22 -0
  21. data/docs/GetaroundMessagesSentAllOfData.md +20 -0
  22. data/docs/GetaroundPayout.md +28 -0
  23. data/docs/GetaroundPayoutInvoicesInner.md +18 -0
  24. data/docs/GetaroundPayoutsIndexInner.md +18 -0
  25. data/docs/GetaroundReason.md +15 -0
  26. data/docs/GetaroundRental.md +32 -0
  27. data/docs/GetaroundRentalInvoicesIndexInner.md +18 -0
  28. data/docs/GetaroundRentalMessagesIndexInner.md +18 -0
  29. data/docs/GetaroundRentalsBooked.md +22 -0
  30. data/docs/GetaroundRentalsBookedAllOfData.md +18 -0
  31. data/docs/GetaroundRentalsCanceled.md +22 -0
  32. data/docs/GetaroundRentalsCarCheckedIn.md +22 -0
  33. data/docs/GetaroundRentalsCarCheckedOut.md +22 -0
  34. data/docs/GetaroundRentalsCarSwitched.md +22 -0
  35. data/docs/GetaroundRentalsIndexInner.md +18 -0
  36. data/docs/GetaroundRentalsTimesChanged.md +22 -0
  37. data/docs/GetaroundUnavailabilitiesCreated.md +22 -0
  38. data/docs/GetaroundUnavailabilitiesCreatedAllOfData.md +24 -0
  39. data/docs/GetaroundUnavailabilitiesDeleted.md +22 -0
  40. data/docs/GetaroundUnavailabilitiesDeletedAllOfData.md +22 -0
  41. data/docs/GetaroundUnavailability.md +24 -0
  42. data/docs/GetaroundUser.md +42 -0
  43. data/docs/GetaroundUsersUpdated.md +22 -0
  44. data/docs/GetaroundUsersUpdatedAllOfData.md +18 -0
  45. data/docs/GetaroundWebhook.md +22 -0
  46. data/docs/InvoicesApi.md +231 -0
  47. data/docs/MessagesApi.md +71 -0
  48. data/docs/PayoutsApi.md +155 -0
  49. data/docs/RentalsApi.md +263 -0
  50. data/docs/UnavailabilitiesApi.md +135 -0
  51. data/docs/UsersApi.md +71 -0
  52. data/get_around_owner.gemspec +26 -0
  53. data/git_push.sh +57 -0
  54. data/lib/get_around_owner/api/cars_api.rb +148 -0
  55. data/lib/get_around_owner/api/checkins_api.rb +82 -0
  56. data/lib/get_around_owner/api/checkouts_api.rb +82 -0
  57. data/lib/get_around_owner/api/invoices_api.rb +223 -0
  58. data/lib/get_around_owner/api/messages_api.rb +82 -0
  59. data/lib/get_around_owner/api/payouts_api.rb +162 -0
  60. data/lib/get_around_owner/api/rentals_api.rb +262 -0
  61. data/lib/get_around_owner/api/unavailabilities_api.rb +142 -0
  62. data/lib/get_around_owner/api/users_api.rb +82 -0
  63. data/lib/get_around_owner/api_client.rb +394 -0
  64. data/lib/get_around_owner/api_error.rb +58 -0
  65. data/lib/get_around_owner/configuration.rb +298 -0
  66. data/lib/get_around_owner/models/getaround_car.rb +308 -0
  67. data/lib/get_around_owner/models/getaround_cars_index_inner.rb +223 -0
  68. data/lib/get_around_owner/models/getaround_checkin.rb +279 -0
  69. data/lib/get_around_owner/models/getaround_checkins_index_inner.rb +222 -0
  70. data/lib/get_around_owner/models/getaround_checkout.rb +298 -0
  71. data/lib/get_around_owner/models/getaround_create_messages_request.rb +222 -0
  72. data/lib/get_around_owner/models/getaround_create_unavailabilities_request.rb +283 -0
  73. data/lib/get_around_owner/models/getaround_destroy_unavailability_request.rb +239 -0
  74. data/lib/get_around_owner/models/getaround_invoice.rb +396 -0
  75. data/lib/get_around_owner/models/getaround_invoice_charges_inner.rb +225 -0
  76. data/lib/get_around_owner/models/getaround_invoices_index_inner.rb +223 -0
  77. data/lib/get_around_owner/models/getaround_message.rb +291 -0
  78. data/lib/get_around_owner/models/getaround_messages_sent.rb +257 -0
  79. data/lib/get_around_owner/models/getaround_messages_sent_all_of_data.rb +225 -0
  80. data/lib/get_around_owner/models/getaround_payout.rb +347 -0
  81. data/lib/get_around_owner/models/getaround_payout_invoices_inner.rb +223 -0
  82. data/lib/get_around_owner/models/getaround_payouts_index_inner.rb +223 -0
  83. data/lib/get_around_owner/models/getaround_reason.rb +45 -0
  84. data/lib/get_around_owner/models/getaround_rental.rb +380 -0
  85. data/lib/get_around_owner/models/getaround_rental_invoices_index_inner.rb +223 -0
  86. data/lib/get_around_owner/models/getaround_rental_messages_index_inner.rb +223 -0
  87. data/lib/get_around_owner/models/getaround_rentals_booked.rb +257 -0
  88. data/lib/get_around_owner/models/getaround_rentals_booked_all_of_data.rb +215 -0
  89. data/lib/get_around_owner/models/getaround_rentals_canceled.rb +257 -0
  90. data/lib/get_around_owner/models/getaround_rentals_car_checked_in.rb +257 -0
  91. data/lib/get_around_owner/models/getaround_rentals_car_checked_out.rb +257 -0
  92. data/lib/get_around_owner/models/getaround_rentals_car_switched.rb +257 -0
  93. data/lib/get_around_owner/models/getaround_rentals_index_inner.rb +223 -0
  94. data/lib/get_around_owner/models/getaround_rentals_times_changed.rb +257 -0
  95. data/lib/get_around_owner/models/getaround_unavailabilities_created.rb +257 -0
  96. data/lib/get_around_owner/models/getaround_unavailabilities_created_all_of_data.rb +267 -0
  97. data/lib/get_around_owner/models/getaround_unavailabilities_deleted.rb +257 -0
  98. data/lib/get_around_owner/models/getaround_unavailabilities_deleted_all_of_data.rb +235 -0
  99. data/lib/get_around_owner/models/getaround_unavailability.rb +302 -0
  100. data/lib/get_around_owner/models/getaround_user.rb +420 -0
  101. data/lib/get_around_owner/models/getaround_users_updated.rb +257 -0
  102. data/lib/get_around_owner/models/getaround_users_updated_all_of_data.rb +215 -0
  103. data/lib/get_around_owner/models/getaround_webhook.rb +252 -0
  104. data/lib/get_around_owner/version.rb +15 -0
  105. data/lib/get_around_owner.rb +86 -0
  106. data/spec/api/cars_api_spec.rb +60 -0
  107. data/spec/api/checkins_api_spec.rb +62 -0
  108. data/spec/api/checkouts_api_spec.rb +62 -0
  109. data/spec/api/invoices_api_spec.rb +76 -0
  110. data/spec/api/messages_api_spec.rb +73 -0
  111. data/spec/api/payouts_api_spec.rb +62 -0
  112. data/spec/api/rentals_api_spec.rb +62 -0
  113. data/spec/api/unavailabilities_api_spec.rb +77 -0
  114. data/spec/api/users_api_spec.rb +47 -0
  115. data/spec/models/getaround_car_spec.rb +66 -0
  116. data/spec/models/getaround_cars_index_inner_spec.rb +36 -0
  117. data/spec/models/getaround_checkin_spec.rb +54 -0
  118. data/spec/models/getaround_checkins_index_inner_spec.rb +36 -0
  119. data/spec/models/getaround_checkout_spec.rb +60 -0
  120. data/spec/models/getaround_create_messages_request_spec.rb +36 -0
  121. data/spec/models/getaround_create_unavailabilities_request_spec.rb +52 -0
  122. data/spec/models/getaround_destroy_unavailability_request_spec.rb +42 -0
  123. data/spec/models/getaround_invoice_charges_inner_spec.rb +42 -0
  124. data/spec/models/getaround_invoice_spec.rb +92 -0
  125. data/spec/models/getaround_invoices_index_inner_spec.rb +36 -0
  126. data/spec/models/getaround_message_spec.rb +60 -0
  127. data/spec/models/getaround_messages_sent_all_of_data_spec.rb +42 -0
  128. data/spec/models/getaround_messages_sent_spec.rb +48 -0
  129. data/spec/models/getaround_payout_invoices_inner_spec.rb +36 -0
  130. data/spec/models/getaround_payout_spec.rb +70 -0
  131. data/spec/models/getaround_payouts_index_inner_spec.rb +36 -0
  132. data/spec/models/getaround_reason_spec.rb +30 -0
  133. data/spec/models/getaround_rental_invoices_index_inner_spec.rb +36 -0
  134. data/spec/models/getaround_rental_messages_index_inner_spec.rb +36 -0
  135. data/spec/models/getaround_rental_spec.rb +78 -0
  136. data/spec/models/getaround_rentals_booked_all_of_data_spec.rb +36 -0
  137. data/spec/models/getaround_rentals_booked_spec.rb +48 -0
  138. data/spec/models/getaround_rentals_canceled_spec.rb +48 -0
  139. data/spec/models/getaround_rentals_car_checked_in_spec.rb +48 -0
  140. data/spec/models/getaround_rentals_car_checked_out_spec.rb +48 -0
  141. data/spec/models/getaround_rentals_car_switched_spec.rb +48 -0
  142. data/spec/models/getaround_rentals_index_inner_spec.rb +36 -0
  143. data/spec/models/getaround_rentals_times_changed_spec.rb +48 -0
  144. data/spec/models/getaround_unavailabilities_created_all_of_data_spec.rb +54 -0
  145. data/spec/models/getaround_unavailabilities_created_spec.rb +48 -0
  146. data/spec/models/getaround_unavailabilities_deleted_all_of_data_spec.rb +48 -0
  147. data/spec/models/getaround_unavailabilities_deleted_spec.rb +48 -0
  148. data/spec/models/getaround_unavailability_spec.rb +58 -0
  149. data/spec/models/getaround_user_spec.rb +108 -0
  150. data/spec/models/getaround_users_updated_all_of_data_spec.rb +36 -0
  151. data/spec/models/getaround_users_updated_spec.rb +48 -0
  152. data/spec/models/getaround_webhook_spec.rb +48 -0
  153. data/spec/spec_helper.rb +111 -0
  154. metadata +283 -0
@@ -0,0 +1,24 @@
1
+ # GetAroundOwner::GetaroundCheckin
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **rental_id** | **Integer** | Rental's ID linked to this checkin | |
8
+ | **mileage** | **Integer** | The vehicle’s mileage at checkin (in local units, eg: FR: km, GB: miles, ...) | [optional] |
9
+ | **fuel_level** | **Integer** | The vehicle’s fuel level at checkin (in percentage) | [optional] |
10
+ | **occurred_at** | **Time** | Checkin's time in ISO8601 format | |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'get_around_owner'
16
+
17
+ instance = GetAroundOwner::GetaroundCheckin.new(
18
+ rental_id: null,
19
+ mileage: null,
20
+ fuel_level: null,
21
+ occurred_at: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,18 @@
1
+ # GetAroundOwner::GetaroundCheckinsIndexInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **rental_id** | **Integer** | The rental ID | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'get_around_owner'
13
+
14
+ instance = GetAroundOwner::GetaroundCheckinsIndexInner.new(
15
+ rental_id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # GetAroundOwner::GetaroundCheckout
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **rental_id** | **Integer** | Rental's ID linked to this checkout | |
8
+ | **mileage** | **Integer** | The vehicle’s mileage at checkout (in local units, eg: FR: km, GB: miles, ...) | [optional] |
9
+ | **fuel_level** | **Integer** | The vehicle’s fuel level at checkout (in percentage) | [optional] |
10
+ | **distance_driven** | **Integer** | The number of kilometers driven during this rental | |
11
+ | **occurred_at** | **Time** | Checkout's time in ISO8601 format | |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'get_around_owner'
17
+
18
+ instance = GetAroundOwner::GetaroundCheckout.new(
19
+ rental_id: null,
20
+ mileage: null,
21
+ fuel_level: null,
22
+ distance_driven: null,
23
+ occurred_at: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,18 @@
1
+ # GetAroundOwner::GetaroundCreateMessagesRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **content** | **String** | Content of the message (2000 characters max) | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'get_around_owner'
13
+
14
+ instance = GetAroundOwner::GetaroundCreateMessagesRequest.new(
15
+ content: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # GetAroundOwner::GetaroundCreateUnavailabilitiesRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **starts_at** | **Time** | Start date and time of the unavailability in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html) with a 30 min granularity. | |
8
+ | **ends_at** | **Time** | End date and time of the unavailability in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html) with a 30 min granularity. | |
9
+ | **reason** | **String** | Reason of the unavailability | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'get_around_owner'
15
+
16
+ instance = GetAroundOwner::GetaroundCreateUnavailabilitiesRequest.new(
17
+ starts_at: null,
18
+ ends_at: null,
19
+ reason: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # GetAroundOwner::GetaroundDestroyUnavailabilityRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **starts_at** | **Time** | Start date and time of the unavailability in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html) with a 30 min granularity. | |
8
+ | **ends_at** | **Time** | End date and time of the unavailability in [ISO8601 format](https://www.iso.org/iso-8601-date-and-time-format.html) with a 30 min granularity. | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'get_around_owner'
14
+
15
+ instance = GetAroundOwner::GetaroundDestroyUnavailabilityRequest.new(
16
+ starts_at: null,
17
+ ends_at: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,34 @@
1
+ # GetAroundOwner::GetaroundInvoice
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The invoice ID | |
8
+ | **pdf_url** | **String** | The temporary url (lifetime: 20min) to download the pdf of the tax invoice is generated each to time you call the endpoint. Also, the 'links' variable will not be present if there is no uploaded invoice yet. This could happen if the job to generate & upload the invoice is not done yet. | |
9
+ | **product_type** | **String** | The type of product the invoice is related to | |
10
+ | **product_id** | **Integer** | The id of the product the invoice is related to | |
11
+ | **emitted_at** | **Time** | The date at which the invoice was emitted | |
12
+ | **total_price** | **Integer** | The invoice amount, which is what you will receive (or which will be debited from your account if it is negative) | |
13
+ | **currency** | **String** | The currency of the invoice amount (ISO 4217 alphabetic code) | |
14
+ | **entity_type** | **String** | The type of entity the invoice is related to | |
15
+ | **charges** | [**Array<GetaroundInvoiceChargesInner>**](GetaroundInvoiceChargesInner.md) | Array of charges | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'get_around_owner'
21
+
22
+ instance = GetAroundOwner::GetaroundInvoice.new(
23
+ id: null,
24
+ pdf_url: null,
25
+ product_type: null,
26
+ product_id: null,
27
+ emitted_at: null,
28
+ total_price: null,
29
+ currency: null,
30
+ entity_type: null,
31
+ charges: null
32
+ )
33
+ ```
34
+
@@ -0,0 +1,20 @@
1
+ # GetAroundOwner::GetaroundInvoiceChargesInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**GetaroundAnyOf**](GetaroundAnyOf.md) | | [optional] |
8
+ | **amount** | **Integer** | The charge's amount | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'get_around_owner'
14
+
15
+ instance = GetAroundOwner::GetaroundInvoiceChargesInner.new(
16
+ type: null,
17
+ amount: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,18 @@
1
+ # GetAroundOwner::GetaroundInvoicesIndexInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The invoice ID | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'get_around_owner'
13
+
14
+ instance = GetAroundOwner::GetaroundInvoicesIndexInner.new(
15
+ id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # GetAroundOwner::GetaroundMessage
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The message ID | |
8
+ | **rental_id** | **Integer** | ID of the related rental | |
9
+ | **sending_user_id** | **Integer** | ID of the sending user | |
10
+ | **sent_at** | **String** | Date the message was sent | |
11
+ | **content** | **String** | Content of message, Personal information detected in messages is hidden | |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'get_around_owner'
17
+
18
+ instance = GetAroundOwner::GetaroundMessage.new(
19
+ id: null,
20
+ rental_id: null,
21
+ sending_user_id: null,
22
+ sent_at: null,
23
+ content: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,22 @@
1
+ # GetAroundOwner::GetaroundMessagesSent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **Object** | | |
8
+ | **data** | [**GetaroundMessagesSentAllOfData**](GetaroundMessagesSentAllOfData.md) | | |
9
+ | **occurred_at** | **Time** | The webhook event occurred at timestamp | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'get_around_owner'
15
+
16
+ instance = GetAroundOwner::GetaroundMessagesSent.new(
17
+ type: null,
18
+ data: null,
19
+ occurred_at: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,20 @@
1
+ # GetAroundOwner::GetaroundMessagesSentAllOfData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **message_id** | **Float** | The message identifier | [optional] |
8
+ | **rental_id** | **Float** | The rental identifier | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'get_around_owner'
14
+
15
+ instance = GetAroundOwner::GetaroundMessagesSentAllOfData.new(
16
+ message_id: null,
17
+ rental_id: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,28 @@
1
+ # GetAroundOwner::GetaroundPayout
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The payout ID | |
8
+ | **amount** | **Integer** | The amount of the payout, in cents (0.01€) | |
9
+ | **currency** | **String** | The currency of the payout (ISO 4217 alphabetic code) | |
10
+ | **completed_at** | **Time** | The ISO8601 formatted payout completion date | |
11
+ | **entity_type** | **String** | The type of entity the payout is related to | |
12
+ | **invoices** | [**Array<GetaroundPayoutInvoicesInner>**](GetaroundPayoutInvoicesInner.md) | An array of invoices paid by this payout | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'get_around_owner'
18
+
19
+ instance = GetAroundOwner::GetaroundPayout.new(
20
+ id: null,
21
+ amount: null,
22
+ currency: null,
23
+ completed_at: null,
24
+ entity_type: null,
25
+ invoices: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,18 @@
1
+ # GetAroundOwner::GetaroundPayoutInvoicesInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The invoice ID | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'get_around_owner'
13
+
14
+ instance = GetAroundOwner::GetaroundPayoutInvoicesInner.new(
15
+ id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # GetAroundOwner::GetaroundPayoutsIndexInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The payout ID | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'get_around_owner'
13
+
14
+ instance = GetAroundOwner::GetaroundPayoutsIndexInner.new(
15
+ id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,15 @@
1
+ # GetAroundOwner::GetaroundReason
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'get_around_owner'
12
+
13
+ instance = GetAroundOwner::GetaroundReason.new()
14
+ ```
15
+
@@ -0,0 +1,32 @@
1
+ # GetAroundOwner::GetaroundRental
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | Rental's id | |
8
+ | **car_id** | **Integer** | Vehicle's id | |
9
+ | **user_id** | **Integer** | User id of the rental's driver | |
10
+ | **starts_at** | **Time** | Rental's started time in ISO8601 format | |
11
+ | **ends_at** | **Time** | Rental's ended time in ISO8601 format | |
12
+ | **booked_at** | **Time** | Rental's booked time in ISO8601 format | |
13
+ | **price** | **Integer** | Price set by the owner (in cents 0.01€) | |
14
+ | **insurance_fee** | **Integer** | Insurance amount collected (in cents 0.01€) | |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'get_around_owner'
20
+
21
+ instance = GetAroundOwner::GetaroundRental.new(
22
+ id: null,
23
+ car_id: null,
24
+ user_id: null,
25
+ starts_at: null,
26
+ ends_at: null,
27
+ booked_at: null,
28
+ price: null,
29
+ insurance_fee: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,18 @@
1
+ # GetAroundOwner::GetaroundRentalInvoicesIndexInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The invoice ID | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'get_around_owner'
13
+
14
+ instance = GetAroundOwner::GetaroundRentalInvoicesIndexInner.new(
15
+ id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,18 @@
1
+ # GetAroundOwner::GetaroundRentalMessagesIndexInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The message ID | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'get_around_owner'
13
+
14
+ instance = GetAroundOwner::GetaroundRentalMessagesIndexInner.new(
15
+ id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # GetAroundOwner::GetaroundRentalsBooked
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **Object** | | |
8
+ | **data** | [**GetaroundRentalsBookedAllOfData**](GetaroundRentalsBookedAllOfData.md) | | |
9
+ | **occurred_at** | **Time** | The webhook event occurred at timestamp | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'get_around_owner'
15
+
16
+ instance = GetAroundOwner::GetaroundRentalsBooked.new(
17
+ type: null,
18
+ data: null,
19
+ occurred_at: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # GetAroundOwner::GetaroundRentalsBookedAllOfData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **rental_id** | **Float** | The rental identifier | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'get_around_owner'
13
+
14
+ instance = GetAroundOwner::GetaroundRentalsBookedAllOfData.new(
15
+ rental_id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # GetAroundOwner::GetaroundRentalsCanceled
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **Object** | | |
8
+ | **data** | [**GetaroundRentalsBookedAllOfData**](GetaroundRentalsBookedAllOfData.md) | | |
9
+ | **occurred_at** | **Time** | The webhook event occurred at timestamp | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'get_around_owner'
15
+
16
+ instance = GetAroundOwner::GetaroundRentalsCanceled.new(
17
+ type: null,
18
+ data: null,
19
+ occurred_at: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # GetAroundOwner::GetaroundRentalsCarCheckedIn
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **Object** | | |
8
+ | **data** | [**GetaroundRentalsBookedAllOfData**](GetaroundRentalsBookedAllOfData.md) | | |
9
+ | **occurred_at** | **Time** | The webhook event occurred at timestamp | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'get_around_owner'
15
+
16
+ instance = GetAroundOwner::GetaroundRentalsCarCheckedIn.new(
17
+ type: null,
18
+ data: null,
19
+ occurred_at: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # GetAroundOwner::GetaroundRentalsCarCheckedOut
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **Object** | | |
8
+ | **data** | [**GetaroundRentalsBookedAllOfData**](GetaroundRentalsBookedAllOfData.md) | | |
9
+ | **occurred_at** | **Time** | The webhook event occurred at timestamp | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'get_around_owner'
15
+
16
+ instance = GetAroundOwner::GetaroundRentalsCarCheckedOut.new(
17
+ type: null,
18
+ data: null,
19
+ occurred_at: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # GetAroundOwner::GetaroundRentalsCarSwitched
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **Object** | | |
8
+ | **data** | [**GetaroundRentalsBookedAllOfData**](GetaroundRentalsBookedAllOfData.md) | | |
9
+ | **occurred_at** | **Time** | The webhook event occurred at timestamp | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'get_around_owner'
15
+
16
+ instance = GetAroundOwner::GetaroundRentalsCarSwitched.new(
17
+ type: null,
18
+ data: null,
19
+ occurred_at: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,18 @@
1
+ # GetAroundOwner::GetaroundRentalsIndexInner
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **Integer** | The rental ID | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'get_around_owner'
13
+
14
+ instance = GetAroundOwner::GetaroundRentalsIndexInner.new(
15
+ id: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # GetAroundOwner::GetaroundRentalsTimesChanged
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **Object** | | |
8
+ | **data** | [**GetaroundRentalsBookedAllOfData**](GetaroundRentalsBookedAllOfData.md) | | |
9
+ | **occurred_at** | **Time** | The webhook event occurred at timestamp | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'get_around_owner'
15
+
16
+ instance = GetAroundOwner::GetaroundRentalsTimesChanged.new(
17
+ type: null,
18
+ data: null,
19
+ occurred_at: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # GetAroundOwner::GetaroundUnavailabilitiesCreated
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | **Object** | | |
8
+ | **data** | [**GetaroundUnavailabilitiesCreatedAllOfData**](GetaroundUnavailabilitiesCreatedAllOfData.md) | | |
9
+ | **occurred_at** | **Time** | The webhook event occurred at timestamp | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'get_around_owner'
15
+
16
+ instance = GetAroundOwner::GetaroundUnavailabilitiesCreated.new(
17
+ type: null,
18
+ data: null,
19
+ occurred_at: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,24 @@
1
+ # GetAroundOwner::GetaroundUnavailabilitiesCreatedAllOfData
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **car_id** | **Integer** | ID of the related car | [optional] |
8
+ | **starts_at** | **Time** | The ISO8601 formatted beginning of the unavailability's period | [optional] |
9
+ | **ends_at** | **Time** | The ISO8601 formatted ending of the unavailability's period | [optional] |
10
+ | **reason** | [**GetaroundReason**](GetaroundReason.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'get_around_owner'
16
+
17
+ instance = GetAroundOwner::GetaroundUnavailabilitiesCreatedAllOfData.new(
18
+ car_id: null,
19
+ starts_at: null,
20
+ ends_at: null,
21
+ reason: null
22
+ )
23
+ ```
24
+