repull 0.2.54 → 0.2.56

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 (192) hide show
  1. checksums.yaml +4 -4
  2. data/lib/repull/api/listings_api.rb +4 -4
  3. data/lib/repull/api/reservations_api.rb +4 -4
  4. data/lib/repull/api/reviews_api.rb +6 -6
  5. data/lib/repull/api/vrbo_api.rb +2231 -682
  6. data/lib/repull/models/{update_vrbo_listing_rooms200_response.rb → add_vrbo_listing_photos200_response.rb} +60 -113
  7. data/lib/repull/models/{update_vrbo_listing_photos200_response_data.rb → add_vrbo_listing_photos200_response_data.rb} +4 -4
  8. data/lib/repull/models/add_vrbo_listing_photos_request.rb +184 -0
  9. data/lib/repull/models/{update_vrbo_listing_photos_request_add_inner.rb → add_vrbo_listing_photos_request_photos_inner.rb} +36 -13
  10. data/lib/repull/models/add_vrbo_listing_room_request.rb +309 -0
  11. data/lib/repull/models/add_vrbo_listing_video200_response.rb +57 -110
  12. data/lib/repull/models/add_vrbo_listing_video200_response_data.rb +1 -1
  13. data/lib/repull/models/{update_vrbo_listing_translations_request.rb → create_vrbo_alteration200_response.rb} +17 -20
  14. data/lib/repull/models/create_vrbo_alteration200_response_data.rb +202 -0
  15. data/lib/repull/models/create_vrbo_alteration200_response_data_before.rb +201 -0
  16. data/lib/repull/models/create_vrbo_alteration200_response_data_due_date.rb +168 -0
  17. data/lib/repull/models/create_vrbo_alteration200_response_data_payment.rb +168 -0
  18. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_translations.rb → create_vrbo_alteration200_response_data_payment_lines_inner.rb} +17 -20
  19. data/lib/repull/models/create_vrbo_alteration200_response_data_payment_total.rb +159 -0
  20. data/lib/repull/models/create_vrbo_alteration201_response.rb +157 -0
  21. data/lib/repull/models/create_vrbo_alteration201_response_data.rb +193 -0
  22. data/lib/repull/models/{update_vrbo_listing_registration200_response.rb → create_vrbo_alteration_request.rb} +127 -120
  23. data/lib/repull/models/get_vrbo_connection200_response.rb +147 -0
  24. data/lib/repull/models/get_vrbo_connection200_response_data.rb +210 -0
  25. data/lib/repull/models/get_vrbo_connection200_response_data_accounts_inner.rb +292 -0
  26. data/lib/repull/models/get_vrbo_connection200_response_data_accounts_inner_sync.rb +156 -0
  27. data/lib/repull/models/get_vrbo_listing200_response.rb +175 -0
  28. data/lib/repull/models/get_vrbo_listing200_response_data_freshness.rb +187 -0
  29. data/lib/repull/models/get_vrbo_listing200_response_data_freshness_accounts_inner.rb +194 -0
  30. data/lib/repull/models/get_vrbo_listing200_response_data_inner.rb +548 -0
  31. data/lib/repull/models/get_vrbo_listing200_response_data_inner_address.rb +208 -0
  32. data/lib/repull/models/get_vrbo_listing200_response_data_inner_capacity.rb +177 -0
  33. data/lib/repull/models/get_vrbo_listing200_response_data_inner_capacity_pets.rb +158 -0
  34. data/lib/repull/models/get_vrbo_listing200_response_data_inner_content.rb +162 -0
  35. data/lib/repull/models/get_vrbo_listing200_response_data_inner_rating.rb +158 -0
  36. data/lib/repull/models/get_vrbo_listing_additional_info200_response.rb +46 -98
  37. data/lib/repull/models/get_vrbo_listing_additional_info200_response_data.rb +1 -1
  38. data/lib/repull/models/get_vrbo_listing_additional_info200_response_data_freshness.rb +308 -0
  39. data/lib/repull/models/{get_vrbo_listing_content200_response_listing.rb → get_vrbo_listing_additional_info200_response_data_freshness_accounts_inner.rb} +42 -46
  40. data/lib/repull/models/get_vrbo_listing_amenities200_response.rb +46 -98
  41. data/lib/repull/models/get_vrbo_listing_amenities200_response_data.rb +1 -1
  42. data/lib/repull/models/get_vrbo_listing_availability200_response.rb +186 -0
  43. data/lib/repull/models/get_vrbo_listing_availability200_response_data.rb +104 -0
  44. data/lib/repull/models/get_vrbo_listing_availability200_response_data_one_of.rb +208 -0
  45. data/lib/repull/models/get_vrbo_listing_availability200_response_data_one_of_inner.rb +260 -0
  46. data/lib/repull/models/get_vrbo_listing_availability200_response_range.rb +156 -0
  47. data/lib/repull/models/get_vrbo_listing_booking_settings200_response.rb +46 -98
  48. data/lib/repull/models/get_vrbo_listing_booking_settings200_response_data.rb +1 -1
  49. data/lib/repull/models/get_vrbo_listing_cancellation200_response.rb +46 -98
  50. data/lib/repull/models/get_vrbo_listing_cancellation200_response_data.rb +1 -1
  51. data/lib/repull/models/{get_vrbo_listing_welcome_guide200_response.rb → get_vrbo_listing_checkin_guide200_response.rb} +49 -101
  52. data/lib/repull/models/{get_vrbo_listing_welcome_guide200_response_data.rb → get_vrbo_listing_checkin_guide200_response_data.rb} +12 -12
  53. data/lib/repull/models/{update_vrbo_listing_rooms_request_update_inner.rb → get_vrbo_listing_checkout_guide200_response.rb} +52 -61
  54. data/lib/repull/models/get_vrbo_listing_checkout_guide200_response_data.rb +170 -0
  55. data/lib/repull/models/get_vrbo_listing_content200_response.rb +45 -81
  56. data/lib/repull/models/get_vrbo_listing_content200_response_sections.rb +28 -44
  57. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_welcome_guide.rb → get_vrbo_listing_content200_response_sections_checkin_guide.rb} +11 -11
  58. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_welcome_guide_access.rb → get_vrbo_listing_content200_response_sections_checkin_guide_access.rb} +3 -3
  59. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_welcome_guide_check_in.rb → get_vrbo_listing_content200_response_sections_checkin_guide_check_in.rb} +3 -3
  60. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_welcome_guide_contacts_inner.rb → get_vrbo_listing_content200_response_sections_checkin_guide_contacts_inner.rb} +3 -3
  61. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_welcome_guide_wifi.rb → get_vrbo_listing_content200_response_sections_checkin_guide_wifi.rb} +3 -3
  62. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_description.rb → get_vrbo_listing_content200_response_sections_descriptions_inner.rb} +26 -5
  63. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_description_limits.rb → get_vrbo_listing_content200_response_sections_descriptions_inner_limits.rb} +6 -5
  64. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_description_limits_headline.rb → get_vrbo_listing_content200_response_sections_descriptions_inner_limits_headline.rb} +3 -3
  65. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_property.rb → get_vrbo_listing_content200_response_sections_details.rb} +4 -4
  66. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_property_interior_size.rb → get_vrbo_listing_content200_response_sections_details_interior_size.rb} +3 -3
  67. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_registration.rb → get_vrbo_listing_content200_response_sections_permits.rb} +4 -4
  68. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_registration_fields_inner.rb → get_vrbo_listing_content200_response_sections_permits_fields_inner.rb} +3 -3
  69. data/lib/repull/models/{get_vrbo_listing_translations200_response.rb → get_vrbo_listing_descriptions200_response.rb} +61 -98
  70. data/lib/repull/models/{get_vrbo_listing_property200_response.rb → get_vrbo_listing_details200_response.rb} +49 -101
  71. data/lib/repull/models/{get_vrbo_listing_property200_response_data.rb → get_vrbo_listing_details200_response_data.rb} +5 -5
  72. data/lib/repull/models/get_vrbo_listing_fees200_response.rb +46 -98
  73. data/lib/repull/models/get_vrbo_listing_fees200_response_data.rb +1 -1
  74. data/lib/repull/models/get_vrbo_listing_house_rules200_response.rb +46 -98
  75. data/lib/repull/models/get_vrbo_listing_house_rules200_response_data.rb +1 -1
  76. data/lib/repull/models/get_vrbo_listing_location200_response.rb +46 -98
  77. data/lib/repull/models/get_vrbo_listing_location200_response_data.rb +1 -1
  78. data/lib/repull/models/get_vrbo_listing_payment_terms200_response.rb +46 -98
  79. data/lib/repull/models/get_vrbo_listing_payment_terms200_response_data.rb +1 -1
  80. data/lib/repull/models/{get_vrbo_listing_description200_response.rb → get_vrbo_listing_permits200_response.rb} +49 -101
  81. data/lib/repull/models/{get_vrbo_listing_registration200_response_data.rb → get_vrbo_listing_permits200_response_data.rb} +5 -5
  82. data/lib/repull/models/get_vrbo_listing_photos200_response.rb +46 -98
  83. data/lib/repull/models/get_vrbo_listing_photos200_response_data.rb +1 -1
  84. data/lib/repull/models/get_vrbo_listing_pricing200_response.rb +46 -98
  85. data/lib/repull/models/get_vrbo_listing_pricing200_response_data.rb +1 -1
  86. data/lib/repull/models/get_vrbo_listing_protection200_response.rb +46 -98
  87. data/lib/repull/models/get_vrbo_listing_protection200_response_data.rb +1 -1
  88. data/lib/repull/models/get_vrbo_listing_rates200_response.rb +46 -98
  89. data/lib/repull/models/get_vrbo_listing_rates200_response_data.rb +2 -2
  90. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_rates_days_inner.rb → get_vrbo_listing_rates200_response_data_days_inner.rb} +3 -3
  91. data/lib/repull/models/get_vrbo_listing_rooms200_response.rb +46 -98
  92. data/lib/repull/models/get_vrbo_listing_rooms200_response_data.rb +1 -1
  93. data/lib/repull/models/{get_vrbo_listing_registration200_response.rb → get_vrbo_listing_safety_disclosures200_response.rb} +49 -101
  94. data/lib/repull/models/get_vrbo_listing_safety_disclosures200_response_data.rb +151 -0
  95. data/lib/repull/models/get_vrbo_listing_story200_response.rb +46 -98
  96. data/lib/repull/models/get_vrbo_listing_story200_response_data.rb +1 -1
  97. data/lib/repull/models/get_vrbo_listing_taxes200_response.rb +46 -98
  98. data/lib/repull/models/get_vrbo_listing_taxes200_response_data.rb +1 -1
  99. data/lib/repull/models/get_vrbo_listing_videos200_response.rb +46 -98
  100. data/lib/repull/models/get_vrbo_listing_videos200_response_data.rb +1 -1
  101. data/lib/repull/models/get_vrbo_publish_job200_response_job.rb +1 -1
  102. data/lib/repull/models/get_vrbo_reservation200_response.rb +175 -0
  103. data/lib/repull/models/get_vrbo_reservation200_response_data.rb +310 -0
  104. data/lib/repull/models/get_vrbo_reservation200_response_data_available_actions_inner.rb +156 -0
  105. data/lib/repull/models/get_vrbo_reservation200_response_data_freshness.rb +219 -0
  106. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_translations_items_inner.rb → get_vrbo_reservation200_response_data_freshness_accounts_inner.rb} +31 -24
  107. data/lib/repull/models/{update_vrbo_listing_rooms_request.rb → list_vrbo_transactions200_response.rb} +23 -27
  108. data/lib/repull/models/list_vrbo_transactions200_response_data_freshness.rb +220 -0
  109. data/lib/repull/models/list_vrbo_transactions200_response_data_inner.rb +362 -0
  110. data/lib/repull/models/list_vrbo_transactions200_response_data_inner_payout.rb +189 -0
  111. data/lib/repull/models/map_vrbo_listing200_response.rb +183 -0
  112. data/lib/repull/models/map_vrbo_listing_request.rb +205 -0
  113. data/lib/repull/models/reorder_vrbo_listing_photos_request.rb +184 -0
  114. data/lib/repull/models/set_vrbo_listing_cover_photo_request.rb +164 -0
  115. data/lib/repull/models/submit_guest_review200_response.rb +26 -4
  116. data/lib/repull/models/sync_vrbo_transactions200_response.rb +167 -0
  117. data/lib/repull/models/{update_vrbo_listing_translations_request_set_inner.rb → sync_vrbo_transactions200_response_accounts_inner.rb} +40 -41
  118. data/lib/repull/models/sync_vrbo_transactions200_response_accounts_inner_error.rb +156 -0
  119. data/lib/repull/models/sync_vrbo_transactions_request.rb +156 -0
  120. data/lib/repull/models/update_vrbo_listing_additional_info200_response.rb +57 -110
  121. data/lib/repull/models/update_vrbo_listing_additional_info200_response_data.rb +1 -1
  122. data/lib/repull/models/update_vrbo_listing_amenities200_response.rb +57 -110
  123. data/lib/repull/models/update_vrbo_listing_amenities200_response_data.rb +1 -1
  124. data/lib/repull/models/update_vrbo_listing_availability202_response.rb +156 -0
  125. data/lib/repull/models/{update_vrbo_listing_translations200_response_data.rb → update_vrbo_listing_availability202_response_data.rb} +25 -21
  126. data/lib/repull/models/update_vrbo_listing_availability_request.rb +220 -0
  127. data/lib/repull/models/update_vrbo_listing_availability_request_operations_inner.rb +299 -0
  128. data/lib/repull/models/update_vrbo_listing_booking_settings200_response.rb +57 -110
  129. data/lib/repull/models/update_vrbo_listing_booking_settings200_response_data.rb +1 -1
  130. data/lib/repull/models/update_vrbo_listing_cancellation200_response.rb +57 -110
  131. data/lib/repull/models/update_vrbo_listing_cancellation200_response_data.rb +1 -1
  132. data/lib/repull/models/{update_vrbo_listing_translations200_response.rb → update_vrbo_listing_checkin_guide200_response.rb} +60 -113
  133. data/lib/repull/models/{update_vrbo_listing_welcome_guide200_response_data.rb → update_vrbo_listing_checkin_guide200_response_data.rb} +12 -12
  134. data/lib/repull/models/{update_vrbo_listing_welcome_guide_request.rb → update_vrbo_listing_checkin_guide_request.rb} +10 -10
  135. data/lib/repull/models/{update_vrbo_listing_welcome_guide_request_access.rb → update_vrbo_listing_checkin_guide_request_access.rb} +3 -3
  136. data/lib/repull/models/{update_vrbo_listing_welcome_guide_request_check_in.rb → update_vrbo_listing_checkin_guide_request_check_in.rb} +3 -3
  137. data/lib/repull/models/{update_vrbo_listing_welcome_guide_request_wifi.rb → update_vrbo_listing_checkin_guide_request_wifi.rb} +3 -3
  138. data/lib/repull/models/{update_vrbo_listing_welcome_guide200_response.rb → update_vrbo_listing_descriptions200_response.rb} +63 -113
  139. data/lib/repull/models/{update_vrbo_listing_description_request.rb → update_vrbo_listing_descriptions_request.rb} +14 -4
  140. data/lib/repull/models/{update_vrbo_listing_photos200_response.rb → update_vrbo_listing_details200_response.rb} +60 -113
  141. data/lib/repull/models/{update_vrbo_listing_property200_response_data.rb → update_vrbo_listing_details200_response_data.rb} +5 -5
  142. data/lib/repull/models/{update_vrbo_listing_property_request.rb → update_vrbo_listing_details_request.rb} +4 -4
  143. data/lib/repull/models/{update_vrbo_listing_property_request_interior_size.rb → update_vrbo_listing_details_request_interior_size.rb} +3 -3
  144. data/lib/repull/models/update_vrbo_listing_fees200_response.rb +57 -110
  145. data/lib/repull/models/update_vrbo_listing_fees200_response_data.rb +1 -1
  146. data/lib/repull/models/update_vrbo_listing_house_rules200_response.rb +57 -110
  147. data/lib/repull/models/update_vrbo_listing_house_rules200_response_data.rb +1 -1
  148. data/lib/repull/models/update_vrbo_listing_location200_response.rb +57 -110
  149. data/lib/repull/models/update_vrbo_listing_location200_response_data.rb +1 -1
  150. data/lib/repull/models/update_vrbo_listing_payment_terms200_response.rb +57 -110
  151. data/lib/repull/models/update_vrbo_listing_payment_terms200_response_data.rb +1 -1
  152. data/lib/repull/models/{update_vrbo_listing_property200_response.rb → update_vrbo_listing_permits200_response.rb} +60 -113
  153. data/lib/repull/models/{update_vrbo_listing_registration200_response_data.rb → update_vrbo_listing_permits200_response_data.rb} +5 -5
  154. data/lib/repull/models/{update_vrbo_listing_registration_request.rb → update_vrbo_listing_permits_request.rb} +4 -4
  155. data/lib/repull/models/{update_vrbo_listing_registration_request_settings_inner.rb → update_vrbo_listing_permits_request_settings_inner.rb} +4 -4
  156. data/lib/repull/models/{update_vrbo_listing_registration_request_settings_inner_value.rb → update_vrbo_listing_permits_request_settings_inner_value.rb} +1 -1
  157. data/lib/repull/models/update_vrbo_listing_photo_request.rb +229 -0
  158. data/lib/repull/models/update_vrbo_listing_pricing200_response.rb +57 -110
  159. data/lib/repull/models/update_vrbo_listing_pricing200_response_data.rb +1 -1
  160. data/lib/repull/models/update_vrbo_listing_protection200_response.rb +57 -110
  161. data/lib/repull/models/update_vrbo_listing_protection200_response_data.rb +1 -1
  162. data/lib/repull/models/update_vrbo_listing_rates200_response.rb +57 -110
  163. data/lib/repull/models/update_vrbo_listing_rates200_response_data.rb +2 -2
  164. data/lib/repull/models/{update_vrbo_listing_description200_response.rb → update_vrbo_listing_room200_response.rb} +60 -113
  165. data/lib/repull/models/{update_vrbo_listing_rooms200_response_data.rb → update_vrbo_listing_room200_response_data.rb} +4 -4
  166. data/lib/repull/models/update_vrbo_listing_room_request.rb +254 -0
  167. data/lib/repull/models/{update_vrbo_listing_rooms_request_add_inner_amenities.rb → update_vrbo_listing_room_request_amenities.rb} +3 -3
  168. data/lib/repull/models/{update_vrbo_listing_rooms_request_add_inner_amenities_one_of_inner.rb → update_vrbo_listing_room_request_amenities_one_of_inner.rb} +3 -3
  169. data/lib/repull/models/{update_vrbo_listing_rooms_request_add_inner.rb → update_vrbo_listing_room_request_beds_inner.rb} +53 -47
  170. data/lib/repull/models/update_vrbo_listing_safety_disclosures200_response.rb +245 -0
  171. data/lib/repull/models/update_vrbo_listing_safety_disclosures200_response_data.rb +151 -0
  172. data/lib/repull/models/{get_vrbo_listing_translations200_response_data.rb → update_vrbo_listing_safety_disclosures_request.rb} +27 -24
  173. data/lib/repull/models/update_vrbo_listing_safety_disclosures_request_groups.rb +156 -0
  174. data/lib/repull/models/update_vrbo_listing_safety_disclosures_request_groups_home_safety.rb +166 -0
  175. data/lib/repull/models/update_vrbo_listing_story200_response.rb +57 -110
  176. data/lib/repull/models/update_vrbo_listing_story200_response_data.rb +1 -1
  177. data/lib/repull/models/update_vrbo_listing_taxes200_response.rb +57 -110
  178. data/lib/repull/models/update_vrbo_listing_taxes200_response_data.rb +1 -1
  179. data/lib/repull/models/{update_vrbo_listing_photos_request.rb → vrbo_listing_action200_response.rb} +47 -43
  180. data/lib/repull/models/vrbo_listing_action200_response_units_inner.rb +192 -0
  181. data/lib/repull/models/vrbo_listing_action_request.rb +210 -0
  182. data/lib/repull/models/vrbo_reservation_action200_response.rb +166 -0
  183. data/lib/repull/models/vrbo_reservation_action200_response_data.rb +215 -0
  184. data/lib/repull/models/{update_vrbo_listing_description200_response_data.rb → vrbo_reservation_action200_response_data_payment.rb} +26 -25
  185. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_rates.rb → vrbo_reservation_action200_response_data_penalties.rb} +25 -34
  186. data/lib/repull/models/vrbo_reservation_action200_response_data_terms_inner.rb +158 -0
  187. data/lib/repull/models/vrbo_reservation_action_request.rb +268 -0
  188. data/lib/repull/version.rb +1 -1
  189. data/lib/repull.rb +118 -60
  190. data/openapi/v1.json +11811 -2951
  191. metadata +119 -61
  192. data/lib/repull/models/get_vrbo_listing_description200_response_data.rb +0 -168
@@ -14,30 +14,23 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Repull
17
- class UpdateVrboListingTranslations200Response < ApiModelBase
18
- attr_accessor :listing_id
19
-
20
- attr_accessor :vrbo_listing_number
21
-
22
- # Vrbo's property id for the unit.
23
- attr_accessor :property_id
24
-
25
- attr_accessor :section
17
+ class UpdateVrboListingCheckinGuide200Response < ApiModelBase
18
+ attr_accessor :data
26
19
 
27
20
  # The fields this request sent.
28
21
  attr_accessor :written
29
22
 
30
- attr_accessor :data
23
+ attr_accessor :data_freshness
24
+
25
+ attr_accessor :vrbo_listing_number
31
26
 
32
27
  # Attribute mapping from ruby-style variable name to JSON key.
33
28
  def self.attribute_map
34
29
  {
35
- :'listing_id' => :'listingId',
36
- :'vrbo_listing_number' => :'vrboListingNumber',
37
- :'property_id' => :'propertyId',
38
- :'section' => :'section',
30
+ :'data' => :'data',
39
31
  :'written' => :'written',
40
- :'data' => :'data'
32
+ :'data_freshness' => :'dataFreshness',
33
+ :'vrbo_listing_number' => :'vrboListingNumber'
41
34
  }
42
35
  end
43
36
 
@@ -54,12 +47,10 @@ module Repull
54
47
  # Attribute type mapping.
55
48
  def self.openapi_types
56
49
  {
57
- :'listing_id' => :'String',
58
- :'vrbo_listing_number' => :'String',
59
- :'property_id' => :'String',
60
- :'section' => :'String',
50
+ :'data' => :'UpdateVrboListingCheckinGuide200ResponseData',
61
51
  :'written' => :'Array<String>',
62
- :'data' => :'UpdateVrboListingTranslations200ResponseData'
52
+ :'data_freshness' => :'GetVrboListingAdditionalInfo200ResponseDataFreshness',
53
+ :'vrbo_listing_number' => :'String'
63
54
  }
64
55
  end
65
56
 
@@ -73,40 +64,22 @@ module Repull
73
64
  # @param [Hash] attributes Model attributes in the form of hash
74
65
  def initialize(attributes = {})
75
66
  if (!attributes.is_a?(Hash))
76
- fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingTranslations200Response` initialize method"
67
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingCheckinGuide200Response` initialize method"
77
68
  end
78
69
 
79
70
  # check to see if the attribute exists and convert string to symbol for hash key
80
71
  acceptable_attribute_map = self.class.acceptable_attribute_map
81
72
  attributes = attributes.each_with_object({}) { |(k, v), h|
82
73
  if (!acceptable_attribute_map.key?(k.to_sym))
83
- fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingTranslations200Response`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
74
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingCheckinGuide200Response`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
84
75
  end
85
76
  h[k.to_sym] = v
86
77
  }
87
78
 
88
- if attributes.key?(:'listing_id')
89
- self.listing_id = attributes[:'listing_id']
90
- else
91
- self.listing_id = nil
92
- end
93
-
94
- if attributes.key?(:'vrbo_listing_number')
95
- self.vrbo_listing_number = attributes[:'vrbo_listing_number']
96
- else
97
- self.vrbo_listing_number = nil
98
- end
99
-
100
- if attributes.key?(:'property_id')
101
- self.property_id = attributes[:'property_id']
102
- else
103
- self.property_id = nil
104
- end
105
-
106
- if attributes.key?(:'section')
107
- self.section = attributes[:'section']
79
+ if attributes.key?(:'data')
80
+ self.data = attributes[:'data']
108
81
  else
109
- self.section = nil
82
+ self.data = nil
110
83
  end
111
84
 
112
85
  if attributes.key?(:'written')
@@ -117,10 +90,16 @@ module Repull
117
90
  self.written = nil
118
91
  end
119
92
 
120
- if attributes.key?(:'data')
121
- self.data = attributes[:'data']
93
+ if attributes.key?(:'data_freshness')
94
+ self.data_freshness = attributes[:'data_freshness']
122
95
  else
123
- self.data = nil
96
+ self.data_freshness = nil
97
+ end
98
+
99
+ if attributes.key?(:'vrbo_listing_number')
100
+ self.vrbo_listing_number = attributes[:'vrbo_listing_number']
101
+ else
102
+ self.vrbo_listing_number = nil
124
103
  end
125
104
  end
126
105
 
@@ -129,28 +108,20 @@ module Repull
129
108
  def list_invalid_properties
130
109
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
131
110
  invalid_properties = Array.new
132
- if @listing_id.nil?
133
- invalid_properties.push('invalid value for "listing_id", listing_id cannot be nil.')
134
- end
135
-
136
- if @vrbo_listing_number.nil?
137
- invalid_properties.push('invalid value for "vrbo_listing_number", vrbo_listing_number cannot be nil.')
138
- end
139
-
140
- if @property_id.nil?
141
- invalid_properties.push('invalid value for "property_id", property_id cannot be nil.')
142
- end
143
-
144
- if @section.nil?
145
- invalid_properties.push('invalid value for "section", section cannot be nil.')
111
+ if @data.nil?
112
+ invalid_properties.push('invalid value for "data", data cannot be nil.')
146
113
  end
147
114
 
148
115
  if @written.nil?
149
116
  invalid_properties.push('invalid value for "written", written cannot be nil.')
150
117
  end
151
118
 
152
- if @data.nil?
153
- invalid_properties.push('invalid value for "data", data cannot be nil.')
119
+ if @data_freshness.nil?
120
+ invalid_properties.push('invalid value for "data_freshness", data_freshness cannot be nil.')
121
+ end
122
+
123
+ if @vrbo_listing_number.nil?
124
+ invalid_properties.push('invalid value for "vrbo_listing_number", vrbo_listing_number cannot be nil.')
154
125
  end
155
126
 
156
127
  invalid_properties
@@ -160,53 +131,21 @@ module Repull
160
131
  # @return true if the model is valid
161
132
  def valid?
162
133
  warn '[DEPRECATED] the `valid?` method is obsolete'
163
- return false if @listing_id.nil?
164
- return false if @vrbo_listing_number.nil?
165
- return false if @property_id.nil?
166
- return false if @section.nil?
167
- return false if @written.nil?
168
134
  return false if @data.nil?
135
+ return false if @written.nil?
136
+ return false if @data_freshness.nil?
137
+ return false if @vrbo_listing_number.nil?
169
138
  true
170
139
  end
171
140
 
172
141
  # Custom attribute writer method with validation
173
- # @param [Object] listing_id Value to be assigned
174
- def listing_id=(listing_id)
175
- if listing_id.nil?
176
- fail ArgumentError, 'listing_id cannot be nil'
177
- end
178
-
179
- @listing_id = listing_id
180
- end
181
-
182
- # Custom attribute writer method with validation
183
- # @param [Object] vrbo_listing_number Value to be assigned
184
- def vrbo_listing_number=(vrbo_listing_number)
185
- if vrbo_listing_number.nil?
186
- fail ArgumentError, 'vrbo_listing_number cannot be nil'
187
- end
188
-
189
- @vrbo_listing_number = vrbo_listing_number
190
- end
191
-
192
- # Custom attribute writer method with validation
193
- # @param [Object] property_id Value to be assigned
194
- def property_id=(property_id)
195
- if property_id.nil?
196
- fail ArgumentError, 'property_id cannot be nil'
197
- end
198
-
199
- @property_id = property_id
200
- end
201
-
202
- # Custom attribute writer method with validation
203
- # @param [Object] section Value to be assigned
204
- def section=(section)
205
- if section.nil?
206
- fail ArgumentError, 'section cannot be nil'
142
+ # @param [Object] data Value to be assigned
143
+ def data=(data)
144
+ if data.nil?
145
+ fail ArgumentError, 'data cannot be nil'
207
146
  end
208
147
 
209
- @section = section
148
+ @data = data
210
149
  end
211
150
 
212
151
  # Custom attribute writer method with validation
@@ -220,13 +159,23 @@ module Repull
220
159
  end
221
160
 
222
161
  # Custom attribute writer method with validation
223
- # @param [Object] data Value to be assigned
224
- def data=(data)
225
- if data.nil?
226
- fail ArgumentError, 'data cannot be nil'
162
+ # @param [Object] data_freshness Value to be assigned
163
+ def data_freshness=(data_freshness)
164
+ if data_freshness.nil?
165
+ fail ArgumentError, 'data_freshness cannot be nil'
227
166
  end
228
167
 
229
- @data = data
168
+ @data_freshness = data_freshness
169
+ end
170
+
171
+ # Custom attribute writer method with validation
172
+ # @param [Object] vrbo_listing_number Value to be assigned
173
+ def vrbo_listing_number=(vrbo_listing_number)
174
+ if vrbo_listing_number.nil?
175
+ fail ArgumentError, 'vrbo_listing_number cannot be nil'
176
+ end
177
+
178
+ @vrbo_listing_number = vrbo_listing_number
230
179
  end
231
180
 
232
181
  # Checks equality by comparing each attribute.
@@ -234,12 +183,10 @@ module Repull
234
183
  def ==(o)
235
184
  return true if self.equal?(o)
236
185
  self.class == o.class &&
237
- listing_id == o.listing_id &&
238
- vrbo_listing_number == o.vrbo_listing_number &&
239
- property_id == o.property_id &&
240
- section == o.section &&
186
+ data == o.data &&
241
187
  written == o.written &&
242
- data == o.data
188
+ data_freshness == o.data_freshness &&
189
+ vrbo_listing_number == o.vrbo_listing_number
243
190
  end
244
191
 
245
192
  # @see the `==` method
@@ -251,7 +198,7 @@ module Repull
251
198
  # Calculates hash code according to all attributes.
252
199
  # @return [Integer] Hash code
253
200
  def hash
254
- [listing_id, vrbo_listing_number, property_id, section, written, data].hash
201
+ [data, written, data_freshness, vrbo_listing_number].hash
255
202
  end
256
203
 
257
204
  # Builds the object from hash
@@ -14,8 +14,8 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Repull
17
- # What Vrbo has stored for the section, read back after the write.
18
- class UpdateVrboListingWelcomeGuide200ResponseData < ApiModelBase
17
+ # What Vrbo has after the write, read back from Vrbo.
18
+ class UpdateVrboListingCheckinGuide200ResponseData < ApiModelBase
19
19
  attr_accessor :check_in
20
20
 
21
21
  attr_accessor :check_out
@@ -60,14 +60,14 @@ module Repull
60
60
  # Attribute type mapping.
61
61
  def self.openapi_types
62
62
  {
63
- :'check_in' => :'GetVrboListingContent200ResponseSectionsWelcomeGuideCheckIn',
64
- :'check_out' => :'GetVrboListingContent200ResponseSectionsWelcomeGuideCheckIn',
65
- :'driving_directions' => :'GetVrboListingContent200ResponseSectionsWelcomeGuideCheckIn',
66
- :'parking_directions' => :'GetVrboListingContent200ResponseSectionsWelcomeGuideCheckIn',
67
- :'access' => :'GetVrboListingContent200ResponseSectionsWelcomeGuideAccess',
68
- :'wifi' => :'GetVrboListingContent200ResponseSectionsWelcomeGuideWifi',
69
- :'amenities' => :'Hash<String, GetVrboListingContent200ResponseSectionsWelcomeGuideCheckIn>',
70
- :'contacts' => :'Array<GetVrboListingContent200ResponseSectionsWelcomeGuideContactsInner>'
63
+ :'check_in' => :'GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn',
64
+ :'check_out' => :'GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn',
65
+ :'driving_directions' => :'GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn',
66
+ :'parking_directions' => :'GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn',
67
+ :'access' => :'GetVrboListingContent200ResponseSectionsCheckinGuideAccess',
68
+ :'wifi' => :'GetVrboListingContent200ResponseSectionsCheckinGuideWifi',
69
+ :'amenities' => :'Hash<String, GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn>',
70
+ :'contacts' => :'Array<GetVrboListingContent200ResponseSectionsCheckinGuideContactsInner>'
71
71
  }
72
72
  end
73
73
 
@@ -87,14 +87,14 @@ module Repull
87
87
  # @param [Hash] attributes Model attributes in the form of hash
88
88
  def initialize(attributes = {})
89
89
  if (!attributes.is_a?(Hash))
90
- fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingWelcomeGuide200ResponseData` initialize method"
90
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingCheckinGuide200ResponseData` initialize method"
91
91
  end
92
92
 
93
93
  # check to see if the attribute exists and convert string to symbol for hash key
94
94
  acceptable_attribute_map = self.class.acceptable_attribute_map
95
95
  attributes = attributes.each_with_object({}) { |(k, v), h|
96
96
  if (!acceptable_attribute_map.key?(k.to_sym))
97
- fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingWelcomeGuide200ResponseData`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
97
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingCheckinGuide200ResponseData`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
98
98
  end
99
99
  h[k.to_sym] = v
100
100
  }
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Repull
17
- class UpdateVrboListingWelcomeGuideRequest < ApiModelBase
17
+ class UpdateVrboListingCheckinGuideRequest < ApiModelBase
18
18
  attr_accessor :check_in
19
19
 
20
20
  attr_accessor :check_out
@@ -56,13 +56,13 @@ module Repull
56
56
  # Attribute type mapping.
57
57
  def self.openapi_types
58
58
  {
59
- :'check_in' => :'UpdateVrboListingWelcomeGuideRequestCheckIn',
60
- :'check_out' => :'UpdateVrboListingWelcomeGuideRequestCheckIn',
61
- :'driving_directions' => :'UpdateVrboListingWelcomeGuideRequestCheckIn',
62
- :'parking_directions' => :'UpdateVrboListingWelcomeGuideRequestCheckIn',
63
- :'wifi' => :'UpdateVrboListingWelcomeGuideRequestWifi',
64
- :'access' => :'UpdateVrboListingWelcomeGuideRequestAccess',
65
- :'amenities' => :'Hash<String, UpdateVrboListingWelcomeGuideRequestCheckIn>'
59
+ :'check_in' => :'UpdateVrboListingCheckinGuideRequestCheckIn',
60
+ :'check_out' => :'UpdateVrboListingCheckinGuideRequestCheckIn',
61
+ :'driving_directions' => :'UpdateVrboListingCheckinGuideRequestCheckIn',
62
+ :'parking_directions' => :'UpdateVrboListingCheckinGuideRequestCheckIn',
63
+ :'wifi' => :'UpdateVrboListingCheckinGuideRequestWifi',
64
+ :'access' => :'UpdateVrboListingCheckinGuideRequestAccess',
65
+ :'amenities' => :'Hash<String, UpdateVrboListingCheckinGuideRequestCheckIn>'
66
66
  }
67
67
  end
68
68
 
@@ -76,14 +76,14 @@ module Repull
76
76
  # @param [Hash] attributes Model attributes in the form of hash
77
77
  def initialize(attributes = {})
78
78
  if (!attributes.is_a?(Hash))
79
- fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingWelcomeGuideRequest` initialize method"
79
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingCheckinGuideRequest` initialize method"
80
80
  end
81
81
 
82
82
  # check to see if the attribute exists and convert string to symbol for hash key
83
83
  acceptable_attribute_map = self.class.acceptable_attribute_map
84
84
  attributes = attributes.each_with_object({}) { |(k, v), h|
85
85
  if (!acceptable_attribute_map.key?(k.to_sym))
86
- fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingWelcomeGuideRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
86
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingCheckinGuideRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
87
87
  end
88
88
  h[k.to_sym] = v
89
89
  }
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Repull
17
- class UpdateVrboListingWelcomeGuideRequestAccess < ApiModelBase
17
+ class UpdateVrboListingCheckinGuideRequestAccess < ApiModelBase
18
18
  attr_accessor :type
19
19
 
20
20
  attr_accessor :code
@@ -59,14 +59,14 @@ module Repull
59
59
  # @param [Hash] attributes Model attributes in the form of hash
60
60
  def initialize(attributes = {})
61
61
  if (!attributes.is_a?(Hash))
62
- fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingWelcomeGuideRequestAccess` initialize method"
62
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingCheckinGuideRequestAccess` initialize method"
63
63
  end
64
64
 
65
65
  # check to see if the attribute exists and convert string to symbol for hash key
66
66
  acceptable_attribute_map = self.class.acceptable_attribute_map
67
67
  attributes = attributes.each_with_object({}) { |(k, v), h|
68
68
  if (!acceptable_attribute_map.key?(k.to_sym))
69
- fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingWelcomeGuideRequestAccess`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
69
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingCheckinGuideRequestAccess`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
70
70
  end
71
71
  h[k.to_sym] = v
72
72
  }
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Repull
17
- class UpdateVrboListingWelcomeGuideRequestCheckIn < ApiModelBase
17
+ class UpdateVrboListingCheckinGuideRequestCheckIn < ApiModelBase
18
18
  attr_accessor :instructions
19
19
 
20
20
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -51,14 +51,14 @@ module Repull
51
51
  # @param [Hash] attributes Model attributes in the form of hash
52
52
  def initialize(attributes = {})
53
53
  if (!attributes.is_a?(Hash))
54
- fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingWelcomeGuideRequestCheckIn` initialize method"
54
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingCheckinGuideRequestCheckIn` initialize method"
55
55
  end
56
56
 
57
57
  # check to see if the attribute exists and convert string to symbol for hash key
58
58
  acceptable_attribute_map = self.class.acceptable_attribute_map
59
59
  attributes = attributes.each_with_object({}) { |(k, v), h|
60
60
  if (!acceptable_attribute_map.key?(k.to_sym))
61
- fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingWelcomeGuideRequestCheckIn`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingCheckinGuideRequestCheckIn`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
62
62
  end
63
63
  h[k.to_sym] = v
64
64
  }
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Repull
17
- class UpdateVrboListingWelcomeGuideRequestWifi < ApiModelBase
17
+ class UpdateVrboListingCheckinGuideRequestWifi < ApiModelBase
18
18
  attr_accessor :network_name
19
19
 
20
20
  attr_accessor :password
@@ -59,14 +59,14 @@ module Repull
59
59
  # @param [Hash] attributes Model attributes in the form of hash
60
60
  def initialize(attributes = {})
61
61
  if (!attributes.is_a?(Hash))
62
- fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingWelcomeGuideRequestWifi` initialize method"
62
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingCheckinGuideRequestWifi` initialize method"
63
63
  end
64
64
 
65
65
  # check to see if the attribute exists and convert string to symbol for hash key
66
66
  acceptable_attribute_map = self.class.acceptable_attribute_map
67
67
  attributes = attributes.each_with_object({}) { |(k, v), h|
68
68
  if (!acceptable_attribute_map.key?(k.to_sym))
69
- fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingWelcomeGuideRequestWifi`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
69
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingCheckinGuideRequestWifi`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
70
70
  end
71
71
  h[k.to_sym] = v
72
72
  }