repull 0.2.54 → 0.2.55

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 (163) hide show
  1. checksums.yaml +4 -4
  2. data/lib/repull/api/listings_api.rb +4 -4
  3. data/lib/repull/api/vrbo_api.rb +1976 -798
  4. data/lib/repull/models/{update_vrbo_listing_rooms200_response.rb → add_vrbo_listing_photos200_response.rb} +60 -113
  5. data/lib/repull/models/{update_vrbo_listing_photos200_response_data.rb → add_vrbo_listing_photos200_response_data.rb} +4 -4
  6. data/lib/repull/models/add_vrbo_listing_photos_request.rb +184 -0
  7. data/lib/repull/models/{update_vrbo_listing_photos_request_add_inner.rb → add_vrbo_listing_photos_request_photos_inner.rb} +36 -13
  8. data/lib/repull/models/add_vrbo_listing_room_request.rb +309 -0
  9. data/lib/repull/models/add_vrbo_listing_video200_response.rb +57 -110
  10. data/lib/repull/models/add_vrbo_listing_video200_response_data.rb +1 -1
  11. data/lib/repull/models/get_vrbo_connection200_response.rb +147 -0
  12. data/lib/repull/models/get_vrbo_connection200_response_data.rb +210 -0
  13. data/lib/repull/models/get_vrbo_connection200_response_data_accounts_inner.rb +292 -0
  14. data/lib/repull/models/{update_vrbo_listing_translations_request.rb → get_vrbo_connection200_response_data_accounts_inner_sync.rb} +16 -20
  15. data/lib/repull/models/get_vrbo_listing200_response.rb +175 -0
  16. data/lib/repull/models/get_vrbo_listing200_response_data_freshness.rb +187 -0
  17. data/lib/repull/models/get_vrbo_listing200_response_data_freshness_accounts_inner.rb +194 -0
  18. data/lib/repull/models/get_vrbo_listing200_response_data_inner.rb +548 -0
  19. data/lib/repull/models/get_vrbo_listing200_response_data_inner_address.rb +208 -0
  20. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_rates.rb → get_vrbo_listing200_response_data_inner_capacity.rb} +31 -31
  21. data/lib/repull/models/get_vrbo_listing200_response_data_inner_capacity_pets.rb +158 -0
  22. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_translations.rb → get_vrbo_listing200_response_data_inner_content.rb} +20 -18
  23. data/lib/repull/models/get_vrbo_listing200_response_data_inner_rating.rb +158 -0
  24. data/lib/repull/models/get_vrbo_listing_additional_info200_response.rb +46 -98
  25. data/lib/repull/models/get_vrbo_listing_additional_info200_response_data.rb +1 -1
  26. data/lib/repull/models/get_vrbo_listing_additional_info200_response_data_freshness.rb +308 -0
  27. data/lib/repull/models/{get_vrbo_listing_content200_response_listing.rb → get_vrbo_listing_additional_info200_response_data_freshness_accounts_inner.rb} +42 -46
  28. data/lib/repull/models/get_vrbo_listing_amenities200_response.rb +46 -98
  29. data/lib/repull/models/get_vrbo_listing_amenities200_response_data.rb +1 -1
  30. data/lib/repull/models/get_vrbo_listing_availability200_response.rb +186 -0
  31. data/lib/repull/models/get_vrbo_listing_availability200_response_data.rb +104 -0
  32. data/lib/repull/models/get_vrbo_listing_availability200_response_data_one_of.rb +208 -0
  33. data/lib/repull/models/get_vrbo_listing_availability200_response_data_one_of_inner.rb +260 -0
  34. data/lib/repull/models/get_vrbo_listing_availability200_response_range.rb +156 -0
  35. data/lib/repull/models/get_vrbo_listing_booking_settings200_response.rb +46 -98
  36. data/lib/repull/models/get_vrbo_listing_booking_settings200_response_data.rb +1 -1
  37. data/lib/repull/models/get_vrbo_listing_cancellation200_response.rb +46 -98
  38. data/lib/repull/models/get_vrbo_listing_cancellation200_response_data.rb +1 -1
  39. data/lib/repull/models/{get_vrbo_listing_welcome_guide200_response.rb → get_vrbo_listing_checkin_guide200_response.rb} +49 -101
  40. data/lib/repull/models/{get_vrbo_listing_welcome_guide200_response_data.rb → get_vrbo_listing_checkin_guide200_response_data.rb} +12 -12
  41. data/lib/repull/models/{update_vrbo_listing_rooms_request_update_inner.rb → get_vrbo_listing_checkout_guide200_response.rb} +52 -61
  42. data/lib/repull/models/{update_vrbo_listing_rooms_request.rb → get_vrbo_listing_checkout_guide200_response_data.rb} +26 -27
  43. data/lib/repull/models/get_vrbo_listing_content200_response.rb +45 -81
  44. data/lib/repull/models/get_vrbo_listing_content200_response_sections.rb +28 -44
  45. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_welcome_guide.rb → get_vrbo_listing_content200_response_sections_checkin_guide.rb} +11 -11
  46. 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
  47. 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
  48. 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
  49. 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
  50. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_description.rb → get_vrbo_listing_content200_response_sections_descriptions_inner.rb} +26 -5
  51. 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
  52. 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
  53. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_property.rb → get_vrbo_listing_content200_response_sections_details.rb} +4 -4
  54. 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
  55. data/lib/repull/models/{get_vrbo_listing_content200_response_sections_registration.rb → get_vrbo_listing_content200_response_sections_permits.rb} +4 -4
  56. 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
  57. data/lib/repull/models/{get_vrbo_listing_translations200_response.rb → get_vrbo_listing_descriptions200_response.rb} +61 -98
  58. data/lib/repull/models/{get_vrbo_listing_property200_response.rb → get_vrbo_listing_details200_response.rb} +49 -101
  59. data/lib/repull/models/{get_vrbo_listing_property200_response_data.rb → get_vrbo_listing_details200_response_data.rb} +5 -5
  60. data/lib/repull/models/get_vrbo_listing_fees200_response.rb +46 -98
  61. data/lib/repull/models/get_vrbo_listing_fees200_response_data.rb +1 -1
  62. data/lib/repull/models/get_vrbo_listing_house_rules200_response.rb +46 -98
  63. data/lib/repull/models/get_vrbo_listing_house_rules200_response_data.rb +1 -1
  64. data/lib/repull/models/get_vrbo_listing_location200_response.rb +46 -98
  65. data/lib/repull/models/get_vrbo_listing_location200_response_data.rb +1 -1
  66. data/lib/repull/models/get_vrbo_listing_payment_terms200_response.rb +46 -98
  67. data/lib/repull/models/get_vrbo_listing_payment_terms200_response_data.rb +1 -1
  68. data/lib/repull/models/{get_vrbo_listing_description200_response.rb → get_vrbo_listing_permits200_response.rb} +49 -101
  69. data/lib/repull/models/{get_vrbo_listing_registration200_response_data.rb → get_vrbo_listing_permits200_response_data.rb} +5 -5
  70. data/lib/repull/models/get_vrbo_listing_photos200_response.rb +46 -98
  71. data/lib/repull/models/get_vrbo_listing_photos200_response_data.rb +1 -1
  72. data/lib/repull/models/get_vrbo_listing_pricing200_response.rb +46 -98
  73. data/lib/repull/models/get_vrbo_listing_pricing200_response_data.rb +1 -1
  74. data/lib/repull/models/get_vrbo_listing_protection200_response.rb +46 -98
  75. data/lib/repull/models/get_vrbo_listing_protection200_response_data.rb +1 -1
  76. data/lib/repull/models/get_vrbo_listing_rates200_response.rb +46 -98
  77. data/lib/repull/models/get_vrbo_listing_rates200_response_data.rb +2 -2
  78. 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
  79. data/lib/repull/models/get_vrbo_listing_rooms200_response.rb +46 -98
  80. data/lib/repull/models/get_vrbo_listing_rooms200_response_data.rb +1 -1
  81. data/lib/repull/models/{get_vrbo_listing_registration200_response.rb → get_vrbo_listing_safety_disclosures200_response.rb} +49 -101
  82. data/lib/repull/models/get_vrbo_listing_safety_disclosures200_response_data.rb +151 -0
  83. data/lib/repull/models/get_vrbo_listing_story200_response.rb +46 -98
  84. data/lib/repull/models/get_vrbo_listing_story200_response_data.rb +1 -1
  85. data/lib/repull/models/get_vrbo_listing_taxes200_response.rb +46 -98
  86. data/lib/repull/models/get_vrbo_listing_taxes200_response_data.rb +1 -1
  87. data/lib/repull/models/get_vrbo_listing_videos200_response.rb +46 -98
  88. data/lib/repull/models/get_vrbo_listing_videos200_response_data.rb +1 -1
  89. data/lib/repull/models/get_vrbo_publish_job200_response_job.rb +1 -1
  90. data/lib/repull/models/{update_vrbo_listing_translations_request_set_inner.rb → map_vrbo_listing200_response.rb} +40 -41
  91. data/lib/repull/models/map_vrbo_listing_request.rb +205 -0
  92. data/lib/repull/models/reorder_vrbo_listing_photos_request.rb +184 -0
  93. data/lib/repull/models/set_vrbo_listing_cover_photo_request.rb +164 -0
  94. data/lib/repull/models/update_vrbo_listing_additional_info200_response.rb +57 -110
  95. data/lib/repull/models/update_vrbo_listing_additional_info200_response_data.rb +1 -1
  96. data/lib/repull/models/update_vrbo_listing_amenities200_response.rb +57 -110
  97. data/lib/repull/models/update_vrbo_listing_amenities200_response_data.rb +1 -1
  98. data/lib/repull/models/update_vrbo_listing_availability202_response.rb +156 -0
  99. data/lib/repull/models/{update_vrbo_listing_translations200_response_data.rb → update_vrbo_listing_availability202_response_data.rb} +25 -21
  100. data/lib/repull/models/update_vrbo_listing_availability_request.rb +220 -0
  101. data/lib/repull/models/update_vrbo_listing_availability_request_operations_inner.rb +299 -0
  102. data/lib/repull/models/update_vrbo_listing_booking_settings200_response.rb +57 -110
  103. data/lib/repull/models/update_vrbo_listing_booking_settings200_response_data.rb +1 -1
  104. data/lib/repull/models/update_vrbo_listing_cancellation200_response.rb +57 -110
  105. data/lib/repull/models/update_vrbo_listing_cancellation200_response_data.rb +1 -1
  106. data/lib/repull/models/{update_vrbo_listing_translations200_response.rb → update_vrbo_listing_checkin_guide200_response.rb} +60 -113
  107. data/lib/repull/models/{update_vrbo_listing_welcome_guide200_response_data.rb → update_vrbo_listing_checkin_guide200_response_data.rb} +12 -12
  108. data/lib/repull/models/{update_vrbo_listing_welcome_guide_request.rb → update_vrbo_listing_checkin_guide_request.rb} +10 -10
  109. data/lib/repull/models/{update_vrbo_listing_welcome_guide_request_access.rb → update_vrbo_listing_checkin_guide_request_access.rb} +3 -3
  110. data/lib/repull/models/{update_vrbo_listing_welcome_guide_request_check_in.rb → update_vrbo_listing_checkin_guide_request_check_in.rb} +3 -3
  111. data/lib/repull/models/{update_vrbo_listing_welcome_guide_request_wifi.rb → update_vrbo_listing_checkin_guide_request_wifi.rb} +3 -3
  112. data/lib/repull/models/{update_vrbo_listing_welcome_guide200_response.rb → update_vrbo_listing_descriptions200_response.rb} +63 -113
  113. data/lib/repull/models/{update_vrbo_listing_description_request.rb → update_vrbo_listing_descriptions_request.rb} +14 -4
  114. data/lib/repull/models/{update_vrbo_listing_photos200_response.rb → update_vrbo_listing_details200_response.rb} +60 -113
  115. data/lib/repull/models/{update_vrbo_listing_property200_response_data.rb → update_vrbo_listing_details200_response_data.rb} +5 -5
  116. data/lib/repull/models/{update_vrbo_listing_property_request.rb → update_vrbo_listing_details_request.rb} +4 -4
  117. data/lib/repull/models/{update_vrbo_listing_property_request_interior_size.rb → update_vrbo_listing_details_request_interior_size.rb} +3 -3
  118. data/lib/repull/models/update_vrbo_listing_fees200_response.rb +57 -110
  119. data/lib/repull/models/update_vrbo_listing_fees200_response_data.rb +1 -1
  120. data/lib/repull/models/update_vrbo_listing_house_rules200_response.rb +57 -110
  121. data/lib/repull/models/update_vrbo_listing_house_rules200_response_data.rb +1 -1
  122. data/lib/repull/models/update_vrbo_listing_location200_response.rb +57 -110
  123. data/lib/repull/models/update_vrbo_listing_location200_response_data.rb +1 -1
  124. data/lib/repull/models/update_vrbo_listing_payment_terms200_response.rb +57 -110
  125. data/lib/repull/models/update_vrbo_listing_payment_terms200_response_data.rb +1 -1
  126. data/lib/repull/models/{update_vrbo_listing_property200_response.rb → update_vrbo_listing_permits200_response.rb} +60 -113
  127. data/lib/repull/models/{update_vrbo_listing_registration200_response_data.rb → update_vrbo_listing_permits200_response_data.rb} +5 -5
  128. data/lib/repull/models/{update_vrbo_listing_registration_request.rb → update_vrbo_listing_permits_request.rb} +4 -4
  129. data/lib/repull/models/{update_vrbo_listing_registration_request_settings_inner.rb → update_vrbo_listing_permits_request_settings_inner.rb} +4 -4
  130. data/lib/repull/models/{update_vrbo_listing_registration_request_settings_inner_value.rb → update_vrbo_listing_permits_request_settings_inner_value.rb} +1 -1
  131. data/lib/repull/models/update_vrbo_listing_photo_request.rb +229 -0
  132. data/lib/repull/models/update_vrbo_listing_pricing200_response.rb +57 -110
  133. data/lib/repull/models/update_vrbo_listing_pricing200_response_data.rb +1 -1
  134. data/lib/repull/models/update_vrbo_listing_protection200_response.rb +57 -110
  135. data/lib/repull/models/update_vrbo_listing_protection200_response_data.rb +1 -1
  136. data/lib/repull/models/update_vrbo_listing_rates200_response.rb +57 -110
  137. data/lib/repull/models/update_vrbo_listing_rates200_response_data.rb +2 -2
  138. data/lib/repull/models/{update_vrbo_listing_description200_response.rb → update_vrbo_listing_room200_response.rb} +60 -113
  139. data/lib/repull/models/{update_vrbo_listing_rooms200_response_data.rb → update_vrbo_listing_room200_response_data.rb} +4 -4
  140. data/lib/repull/models/update_vrbo_listing_room_request.rb +254 -0
  141. data/lib/repull/models/{update_vrbo_listing_rooms_request_add_inner_amenities.rb → update_vrbo_listing_room_request_amenities.rb} +3 -3
  142. 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
  143. data/lib/repull/models/{update_vrbo_listing_rooms_request_add_inner.rb → update_vrbo_listing_room_request_beds_inner.rb} +53 -47
  144. data/lib/repull/models/update_vrbo_listing_safety_disclosures200_response.rb +245 -0
  145. data/lib/repull/models/update_vrbo_listing_safety_disclosures200_response_data.rb +151 -0
  146. data/lib/repull/models/{get_vrbo_listing_translations200_response_data.rb → update_vrbo_listing_safety_disclosures_request.rb} +27 -24
  147. data/lib/repull/models/update_vrbo_listing_safety_disclosures_request_groups.rb +156 -0
  148. data/lib/repull/models/update_vrbo_listing_safety_disclosures_request_groups_home_safety.rb +166 -0
  149. data/lib/repull/models/update_vrbo_listing_story200_response.rb +57 -110
  150. data/lib/repull/models/update_vrbo_listing_story200_response_data.rb +1 -1
  151. data/lib/repull/models/update_vrbo_listing_taxes200_response.rb +57 -110
  152. data/lib/repull/models/update_vrbo_listing_taxes200_response_data.rb +1 -1
  153. data/lib/repull/models/{update_vrbo_listing_photos_request.rb → vrbo_listing_action200_response.rb} +47 -43
  154. data/lib/repull/models/vrbo_listing_action200_response_units_inner.rb +192 -0
  155. data/lib/repull/models/vrbo_listing_action_request.rb +210 -0
  156. data/lib/repull/version.rb +1 -1
  157. data/lib/repull.rb +89 -60
  158. data/openapi/v1.json +10116 -2944
  159. metadata +90 -61
  160. data/lib/repull/models/get_vrbo_listing_content200_response_sections_translations_items_inner.rb +0 -167
  161. data/lib/repull/models/get_vrbo_listing_description200_response_data.rb +0 -168
  162. data/lib/repull/models/update_vrbo_listing_description200_response_data.rb +0 -168
  163. data/lib/repull/models/update_vrbo_listing_registration200_response.rb +0 -298
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Repull
17
- class UpdateVrboListingPropertyRequest < ApiModelBase
17
+ class UpdateVrboListingDetailsRequest < ApiModelBase
18
18
  # One of the read's `propertyTypeOptions[].value`.
19
19
  attr_accessor :property_type
20
20
 
@@ -53,7 +53,7 @@ module Repull
53
53
  {
54
54
  :'property_type' => :'String',
55
55
  :'property_name' => :'String',
56
- :'interior_size' => :'UpdateVrboListingPropertyRequestInteriorSize',
56
+ :'interior_size' => :'UpdateVrboListingDetailsRequestInteriorSize',
57
57
  :'seniors_only' => :'Boolean',
58
58
  :'long_term_renters_welcome' => :'Boolean'
59
59
  }
@@ -69,14 +69,14 @@ module Repull
69
69
  # @param [Hash] attributes Model attributes in the form of hash
70
70
  def initialize(attributes = {})
71
71
  if (!attributes.is_a?(Hash))
72
- fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingPropertyRequest` initialize method"
72
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingDetailsRequest` initialize method"
73
73
  end
74
74
 
75
75
  # check to see if the attribute exists and convert string to symbol for hash key
76
76
  acceptable_attribute_map = self.class.acceptable_attribute_map
77
77
  attributes = attributes.each_with_object({}) { |(k, v), h|
78
78
  if (!acceptable_attribute_map.key?(k.to_sym))
79
- fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingPropertyRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
79
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingDetailsRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
80
80
  end
81
81
  h[k.to_sym] = v
82
82
  }
@@ -14,7 +14,7 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module Repull
17
- class UpdateVrboListingPropertyRequestInteriorSize < ApiModelBase
17
+ class UpdateVrboListingDetailsRequestInteriorSize < ApiModelBase
18
18
  attr_accessor :value
19
19
 
20
20
  attr_accessor :unit
@@ -77,14 +77,14 @@ module Repull
77
77
  # @param [Hash] attributes Model attributes in the form of hash
78
78
  def initialize(attributes = {})
79
79
  if (!attributes.is_a?(Hash))
80
- fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingPropertyRequestInteriorSize` initialize method"
80
+ fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::UpdateVrboListingDetailsRequestInteriorSize` initialize method"
81
81
  end
82
82
 
83
83
  # check to see if the attribute exists and convert string to symbol for hash key
84
84
  acceptable_attribute_map = self.class.acceptable_attribute_map
85
85
  attributes = attributes.each_with_object({}) { |(k, v), h|
86
86
  if (!acceptable_attribute_map.key?(k.to_sym))
87
- fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingPropertyRequestInteriorSize`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
87
+ fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::UpdateVrboListingDetailsRequestInteriorSize`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
88
88
  end
89
89
  h[k.to_sym] = v
90
90
  }
@@ -15,29 +15,22 @@ require 'time'
15
15
 
16
16
  module Repull
17
17
  class UpdateVrboListingFees200Response < 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
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' => :'UpdateVrboListingFees200ResponseData',
61
51
  :'written' => :'Array<String>',
62
- :'data' => :'UpdateVrboListingFees200ResponseData'
52
+ :'data_freshness' => :'GetVrboListingAdditionalInfo200ResponseDataFreshness',
53
+ :'vrbo_listing_number' => :'String'
63
54
  }
64
55
  end
65
56
 
@@ -85,28 +76,10 @@ module Repull
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,7 +14,7 @@ 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.
17
+ # What Vrbo has after the write, read back from Vrbo.
18
18
  class UpdateVrboListingFees200ResponseData < ApiModelBase
19
19
  attr_accessor :currency
20
20
 
@@ -15,29 +15,22 @@ require 'time'
15
15
 
16
16
  module Repull
17
17
  class UpdateVrboListingHouseRules200Response < 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
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' => :'UpdateVrboListingHouseRules200ResponseData',
61
51
  :'written' => :'Array<String>',
62
- :'data' => :'UpdateVrboListingHouseRules200ResponseData'
52
+ :'data_freshness' => :'GetVrboListingAdditionalInfo200ResponseDataFreshness',
53
+ :'vrbo_listing_number' => :'String'
63
54
  }
64
55
  end
65
56
 
@@ -85,28 +76,10 @@ module Repull
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,7 +14,7 @@ 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.
17
+ # What Vrbo has after the write, read back from Vrbo.
18
18
  class UpdateVrboListingHouseRules200ResponseData < ApiModelBase
19
19
  attr_accessor :check_in_time
20
20