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.
- checksums.yaml +4 -4
- data/lib/repull/api/listings_api.rb +4 -4
- data/lib/repull/api/reservations_api.rb +4 -4
- data/lib/repull/api/reviews_api.rb +6 -6
- data/lib/repull/api/vrbo_api.rb +2231 -682
- data/lib/repull/models/{update_vrbo_listing_rooms200_response.rb → add_vrbo_listing_photos200_response.rb} +60 -113
- data/lib/repull/models/{update_vrbo_listing_photos200_response_data.rb → add_vrbo_listing_photos200_response_data.rb} +4 -4
- data/lib/repull/models/add_vrbo_listing_photos_request.rb +184 -0
- data/lib/repull/models/{update_vrbo_listing_photos_request_add_inner.rb → add_vrbo_listing_photos_request_photos_inner.rb} +36 -13
- data/lib/repull/models/add_vrbo_listing_room_request.rb +309 -0
- data/lib/repull/models/add_vrbo_listing_video200_response.rb +57 -110
- data/lib/repull/models/add_vrbo_listing_video200_response_data.rb +1 -1
- data/lib/repull/models/{update_vrbo_listing_translations_request.rb → create_vrbo_alteration200_response.rb} +17 -20
- data/lib/repull/models/create_vrbo_alteration200_response_data.rb +202 -0
- data/lib/repull/models/create_vrbo_alteration200_response_data_before.rb +201 -0
- data/lib/repull/models/create_vrbo_alteration200_response_data_due_date.rb +168 -0
- data/lib/repull/models/create_vrbo_alteration200_response_data_payment.rb +168 -0
- data/lib/repull/models/{get_vrbo_listing_content200_response_sections_translations.rb → create_vrbo_alteration200_response_data_payment_lines_inner.rb} +17 -20
- data/lib/repull/models/create_vrbo_alteration200_response_data_payment_total.rb +159 -0
- data/lib/repull/models/create_vrbo_alteration201_response.rb +157 -0
- data/lib/repull/models/create_vrbo_alteration201_response_data.rb +193 -0
- data/lib/repull/models/{update_vrbo_listing_registration200_response.rb → create_vrbo_alteration_request.rb} +127 -120
- data/lib/repull/models/get_vrbo_connection200_response.rb +147 -0
- data/lib/repull/models/get_vrbo_connection200_response_data.rb +210 -0
- data/lib/repull/models/get_vrbo_connection200_response_data_accounts_inner.rb +292 -0
- data/lib/repull/models/get_vrbo_connection200_response_data_accounts_inner_sync.rb +156 -0
- data/lib/repull/models/get_vrbo_listing200_response.rb +175 -0
- data/lib/repull/models/get_vrbo_listing200_response_data_freshness.rb +187 -0
- data/lib/repull/models/get_vrbo_listing200_response_data_freshness_accounts_inner.rb +194 -0
- data/lib/repull/models/get_vrbo_listing200_response_data_inner.rb +548 -0
- data/lib/repull/models/get_vrbo_listing200_response_data_inner_address.rb +208 -0
- data/lib/repull/models/get_vrbo_listing200_response_data_inner_capacity.rb +177 -0
- data/lib/repull/models/get_vrbo_listing200_response_data_inner_capacity_pets.rb +158 -0
- data/lib/repull/models/get_vrbo_listing200_response_data_inner_content.rb +162 -0
- data/lib/repull/models/get_vrbo_listing200_response_data_inner_rating.rb +158 -0
- data/lib/repull/models/get_vrbo_listing_additional_info200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_additional_info200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_additional_info200_response_data_freshness.rb +308 -0
- data/lib/repull/models/{get_vrbo_listing_content200_response_listing.rb → get_vrbo_listing_additional_info200_response_data_freshness_accounts_inner.rb} +42 -46
- data/lib/repull/models/get_vrbo_listing_amenities200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_amenities200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_availability200_response.rb +186 -0
- data/lib/repull/models/get_vrbo_listing_availability200_response_data.rb +104 -0
- data/lib/repull/models/get_vrbo_listing_availability200_response_data_one_of.rb +208 -0
- data/lib/repull/models/get_vrbo_listing_availability200_response_data_one_of_inner.rb +260 -0
- data/lib/repull/models/get_vrbo_listing_availability200_response_range.rb +156 -0
- data/lib/repull/models/get_vrbo_listing_booking_settings200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_booking_settings200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_cancellation200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_cancellation200_response_data.rb +1 -1
- data/lib/repull/models/{get_vrbo_listing_welcome_guide200_response.rb → get_vrbo_listing_checkin_guide200_response.rb} +49 -101
- data/lib/repull/models/{get_vrbo_listing_welcome_guide200_response_data.rb → get_vrbo_listing_checkin_guide200_response_data.rb} +12 -12
- data/lib/repull/models/{update_vrbo_listing_rooms_request_update_inner.rb → get_vrbo_listing_checkout_guide200_response.rb} +52 -61
- data/lib/repull/models/get_vrbo_listing_checkout_guide200_response_data.rb +170 -0
- data/lib/repull/models/get_vrbo_listing_content200_response.rb +45 -81
- data/lib/repull/models/get_vrbo_listing_content200_response_sections.rb +28 -44
- data/lib/repull/models/{get_vrbo_listing_content200_response_sections_welcome_guide.rb → get_vrbo_listing_content200_response_sections_checkin_guide.rb} +11 -11
- 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
- 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
- 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
- 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
- data/lib/repull/models/{get_vrbo_listing_content200_response_sections_description.rb → get_vrbo_listing_content200_response_sections_descriptions_inner.rb} +26 -5
- 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
- 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
- data/lib/repull/models/{get_vrbo_listing_content200_response_sections_property.rb → get_vrbo_listing_content200_response_sections_details.rb} +4 -4
- 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
- data/lib/repull/models/{get_vrbo_listing_content200_response_sections_registration.rb → get_vrbo_listing_content200_response_sections_permits.rb} +4 -4
- 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
- data/lib/repull/models/{get_vrbo_listing_translations200_response.rb → get_vrbo_listing_descriptions200_response.rb} +61 -98
- data/lib/repull/models/{get_vrbo_listing_property200_response.rb → get_vrbo_listing_details200_response.rb} +49 -101
- data/lib/repull/models/{get_vrbo_listing_property200_response_data.rb → get_vrbo_listing_details200_response_data.rb} +5 -5
- data/lib/repull/models/get_vrbo_listing_fees200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_fees200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_house_rules200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_house_rules200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_location200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_location200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_payment_terms200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_payment_terms200_response_data.rb +1 -1
- data/lib/repull/models/{get_vrbo_listing_description200_response.rb → get_vrbo_listing_permits200_response.rb} +49 -101
- data/lib/repull/models/{get_vrbo_listing_registration200_response_data.rb → get_vrbo_listing_permits200_response_data.rb} +5 -5
- data/lib/repull/models/get_vrbo_listing_photos200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_photos200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_pricing200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_pricing200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_protection200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_protection200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_rates200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_rates200_response_data.rb +2 -2
- 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
- data/lib/repull/models/get_vrbo_listing_rooms200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_rooms200_response_data.rb +1 -1
- data/lib/repull/models/{get_vrbo_listing_registration200_response.rb → get_vrbo_listing_safety_disclosures200_response.rb} +49 -101
- data/lib/repull/models/get_vrbo_listing_safety_disclosures200_response_data.rb +151 -0
- data/lib/repull/models/get_vrbo_listing_story200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_story200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_taxes200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_taxes200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_listing_videos200_response.rb +46 -98
- data/lib/repull/models/get_vrbo_listing_videos200_response_data.rb +1 -1
- data/lib/repull/models/get_vrbo_publish_job200_response_job.rb +1 -1
- data/lib/repull/models/get_vrbo_reservation200_response.rb +175 -0
- data/lib/repull/models/get_vrbo_reservation200_response_data.rb +310 -0
- data/lib/repull/models/get_vrbo_reservation200_response_data_available_actions_inner.rb +156 -0
- data/lib/repull/models/get_vrbo_reservation200_response_data_freshness.rb +219 -0
- 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
- data/lib/repull/models/{update_vrbo_listing_rooms_request.rb → list_vrbo_transactions200_response.rb} +23 -27
- data/lib/repull/models/list_vrbo_transactions200_response_data_freshness.rb +220 -0
- data/lib/repull/models/list_vrbo_transactions200_response_data_inner.rb +362 -0
- data/lib/repull/models/list_vrbo_transactions200_response_data_inner_payout.rb +189 -0
- data/lib/repull/models/map_vrbo_listing200_response.rb +183 -0
- data/lib/repull/models/map_vrbo_listing_request.rb +205 -0
- data/lib/repull/models/reorder_vrbo_listing_photos_request.rb +184 -0
- data/lib/repull/models/set_vrbo_listing_cover_photo_request.rb +164 -0
- data/lib/repull/models/submit_guest_review200_response.rb +26 -4
- data/lib/repull/models/sync_vrbo_transactions200_response.rb +167 -0
- data/lib/repull/models/{update_vrbo_listing_translations_request_set_inner.rb → sync_vrbo_transactions200_response_accounts_inner.rb} +40 -41
- data/lib/repull/models/sync_vrbo_transactions200_response_accounts_inner_error.rb +156 -0
- data/lib/repull/models/sync_vrbo_transactions_request.rb +156 -0
- data/lib/repull/models/update_vrbo_listing_additional_info200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_additional_info200_response_data.rb +1 -1
- data/lib/repull/models/update_vrbo_listing_amenities200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_amenities200_response_data.rb +1 -1
- data/lib/repull/models/update_vrbo_listing_availability202_response.rb +156 -0
- data/lib/repull/models/{update_vrbo_listing_translations200_response_data.rb → update_vrbo_listing_availability202_response_data.rb} +25 -21
- data/lib/repull/models/update_vrbo_listing_availability_request.rb +220 -0
- data/lib/repull/models/update_vrbo_listing_availability_request_operations_inner.rb +299 -0
- data/lib/repull/models/update_vrbo_listing_booking_settings200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_booking_settings200_response_data.rb +1 -1
- data/lib/repull/models/update_vrbo_listing_cancellation200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_cancellation200_response_data.rb +1 -1
- data/lib/repull/models/{update_vrbo_listing_translations200_response.rb → update_vrbo_listing_checkin_guide200_response.rb} +60 -113
- data/lib/repull/models/{update_vrbo_listing_welcome_guide200_response_data.rb → update_vrbo_listing_checkin_guide200_response_data.rb} +12 -12
- data/lib/repull/models/{update_vrbo_listing_welcome_guide_request.rb → update_vrbo_listing_checkin_guide_request.rb} +10 -10
- data/lib/repull/models/{update_vrbo_listing_welcome_guide_request_access.rb → update_vrbo_listing_checkin_guide_request_access.rb} +3 -3
- data/lib/repull/models/{update_vrbo_listing_welcome_guide_request_check_in.rb → update_vrbo_listing_checkin_guide_request_check_in.rb} +3 -3
- data/lib/repull/models/{update_vrbo_listing_welcome_guide_request_wifi.rb → update_vrbo_listing_checkin_guide_request_wifi.rb} +3 -3
- data/lib/repull/models/{update_vrbo_listing_welcome_guide200_response.rb → update_vrbo_listing_descriptions200_response.rb} +63 -113
- data/lib/repull/models/{update_vrbo_listing_description_request.rb → update_vrbo_listing_descriptions_request.rb} +14 -4
- data/lib/repull/models/{update_vrbo_listing_photos200_response.rb → update_vrbo_listing_details200_response.rb} +60 -113
- data/lib/repull/models/{update_vrbo_listing_property200_response_data.rb → update_vrbo_listing_details200_response_data.rb} +5 -5
- data/lib/repull/models/{update_vrbo_listing_property_request.rb → update_vrbo_listing_details_request.rb} +4 -4
- data/lib/repull/models/{update_vrbo_listing_property_request_interior_size.rb → update_vrbo_listing_details_request_interior_size.rb} +3 -3
- data/lib/repull/models/update_vrbo_listing_fees200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_fees200_response_data.rb +1 -1
- data/lib/repull/models/update_vrbo_listing_house_rules200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_house_rules200_response_data.rb +1 -1
- data/lib/repull/models/update_vrbo_listing_location200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_location200_response_data.rb +1 -1
- data/lib/repull/models/update_vrbo_listing_payment_terms200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_payment_terms200_response_data.rb +1 -1
- data/lib/repull/models/{update_vrbo_listing_property200_response.rb → update_vrbo_listing_permits200_response.rb} +60 -113
- data/lib/repull/models/{update_vrbo_listing_registration200_response_data.rb → update_vrbo_listing_permits200_response_data.rb} +5 -5
- data/lib/repull/models/{update_vrbo_listing_registration_request.rb → update_vrbo_listing_permits_request.rb} +4 -4
- data/lib/repull/models/{update_vrbo_listing_registration_request_settings_inner.rb → update_vrbo_listing_permits_request_settings_inner.rb} +4 -4
- data/lib/repull/models/{update_vrbo_listing_registration_request_settings_inner_value.rb → update_vrbo_listing_permits_request_settings_inner_value.rb} +1 -1
- data/lib/repull/models/update_vrbo_listing_photo_request.rb +229 -0
- data/lib/repull/models/update_vrbo_listing_pricing200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_pricing200_response_data.rb +1 -1
- data/lib/repull/models/update_vrbo_listing_protection200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_protection200_response_data.rb +1 -1
- data/lib/repull/models/update_vrbo_listing_rates200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_rates200_response_data.rb +2 -2
- data/lib/repull/models/{update_vrbo_listing_description200_response.rb → update_vrbo_listing_room200_response.rb} +60 -113
- data/lib/repull/models/{update_vrbo_listing_rooms200_response_data.rb → update_vrbo_listing_room200_response_data.rb} +4 -4
- data/lib/repull/models/update_vrbo_listing_room_request.rb +254 -0
- data/lib/repull/models/{update_vrbo_listing_rooms_request_add_inner_amenities.rb → update_vrbo_listing_room_request_amenities.rb} +3 -3
- 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
- data/lib/repull/models/{update_vrbo_listing_rooms_request_add_inner.rb → update_vrbo_listing_room_request_beds_inner.rb} +53 -47
- data/lib/repull/models/update_vrbo_listing_safety_disclosures200_response.rb +245 -0
- data/lib/repull/models/update_vrbo_listing_safety_disclosures200_response_data.rb +151 -0
- data/lib/repull/models/{get_vrbo_listing_translations200_response_data.rb → update_vrbo_listing_safety_disclosures_request.rb} +27 -24
- data/lib/repull/models/update_vrbo_listing_safety_disclosures_request_groups.rb +156 -0
- data/lib/repull/models/update_vrbo_listing_safety_disclosures_request_groups_home_safety.rb +166 -0
- data/lib/repull/models/update_vrbo_listing_story200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_story200_response_data.rb +1 -1
- data/lib/repull/models/update_vrbo_listing_taxes200_response.rb +57 -110
- data/lib/repull/models/update_vrbo_listing_taxes200_response_data.rb +1 -1
- data/lib/repull/models/{update_vrbo_listing_photos_request.rb → vrbo_listing_action200_response.rb} +47 -43
- data/lib/repull/models/vrbo_listing_action200_response_units_inner.rb +192 -0
- data/lib/repull/models/vrbo_listing_action_request.rb +210 -0
- data/lib/repull/models/vrbo_reservation_action200_response.rb +166 -0
- data/lib/repull/models/vrbo_reservation_action200_response_data.rb +215 -0
- data/lib/repull/models/{update_vrbo_listing_description200_response_data.rb → vrbo_reservation_action200_response_data_payment.rb} +26 -25
- data/lib/repull/models/{get_vrbo_listing_content200_response_sections_rates.rb → vrbo_reservation_action200_response_data_penalties.rb} +25 -34
- data/lib/repull/models/vrbo_reservation_action200_response_data_terms_inner.rb +158 -0
- data/lib/repull/models/vrbo_reservation_action_request.rb +268 -0
- data/lib/repull/version.rb +1 -1
- data/lib/repull.rb +118 -60
- data/openapi/v1.json +11811 -2951
- metadata +119 -61
- data/lib/repull/models/get_vrbo_listing_description200_response_data.rb +0 -168
|
@@ -15,29 +15,22 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
17
|
class UpdateVrboListingBookingSettings200Response < ApiModelBase
|
|
18
|
-
attr_accessor :
|
|
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 :
|
|
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
|
-
:'
|
|
36
|
-
:'vrbo_listing_number' => :'vrboListingNumber',
|
|
37
|
-
:'property_id' => :'propertyId',
|
|
38
|
-
:'section' => :'section',
|
|
30
|
+
:'data' => :'data',
|
|
39
31
|
:'written' => :'written',
|
|
40
|
-
:'
|
|
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
|
-
:'
|
|
58
|
-
:'vrbo_listing_number' => :'String',
|
|
59
|
-
:'property_id' => :'String',
|
|
60
|
-
:'section' => :'String',
|
|
50
|
+
:'data' => :'UpdateVrboListingBookingSettings200ResponseData',
|
|
61
51
|
:'written' => :'Array<String>',
|
|
62
|
-
:'
|
|
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?(:'
|
|
89
|
-
self.
|
|
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.
|
|
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?(:'
|
|
121
|
-
self.
|
|
93
|
+
if attributes.key?(:'data_freshness')
|
|
94
|
+
self.data_freshness = attributes[:'data_freshness']
|
|
122
95
|
else
|
|
123
|
-
self.
|
|
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 @
|
|
133
|
-
invalid_properties.push('invalid value for "
|
|
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 @
|
|
153
|
-
invalid_properties.push('invalid value for "
|
|
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]
|
|
174
|
-
def
|
|
175
|
-
if
|
|
176
|
-
fail ArgumentError, '
|
|
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
|
-
@
|
|
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]
|
|
224
|
-
def
|
|
225
|
-
if
|
|
226
|
-
fail ArgumentError, '
|
|
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
|
-
@
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
[
|
|
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
|
|
17
|
+
# What Vrbo has after the write, read back from Vrbo.
|
|
18
18
|
class UpdateVrboListingBookingSettings200ResponseData < ApiModelBase
|
|
19
19
|
attr_accessor :booking_type
|
|
20
20
|
|
|
@@ -15,29 +15,22 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
17
|
class UpdateVrboListingCancellation200Response < ApiModelBase
|
|
18
|
-
attr_accessor :
|
|
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 :
|
|
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
|
-
:'
|
|
36
|
-
:'vrbo_listing_number' => :'vrboListingNumber',
|
|
37
|
-
:'property_id' => :'propertyId',
|
|
38
|
-
:'section' => :'section',
|
|
30
|
+
:'data' => :'data',
|
|
39
31
|
:'written' => :'written',
|
|
40
|
-
:'
|
|
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
|
-
:'
|
|
58
|
-
:'vrbo_listing_number' => :'String',
|
|
59
|
-
:'property_id' => :'String',
|
|
60
|
-
:'section' => :'String',
|
|
50
|
+
:'data' => :'UpdateVrboListingCancellation200ResponseData',
|
|
61
51
|
:'written' => :'Array<String>',
|
|
62
|
-
:'
|
|
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?(:'
|
|
89
|
-
self.
|
|
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.
|
|
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?(:'
|
|
121
|
-
self.
|
|
93
|
+
if attributes.key?(:'data_freshness')
|
|
94
|
+
self.data_freshness = attributes[:'data_freshness']
|
|
122
95
|
else
|
|
123
|
-
self.
|
|
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 @
|
|
133
|
-
invalid_properties.push('invalid value for "
|
|
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 @
|
|
153
|
-
invalid_properties.push('invalid value for "
|
|
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]
|
|
174
|
-
def
|
|
175
|
-
if
|
|
176
|
-
fail ArgumentError, '
|
|
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
|
-
@
|
|
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]
|
|
224
|
-
def
|
|
225
|
-
if
|
|
226
|
-
fail ArgumentError, '
|
|
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
|
-
@
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
[
|
|
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
|
|
17
|
+
# What Vrbo has after the write, read back from Vrbo.
|
|
18
18
|
class UpdateVrboListingCancellation200ResponseData < ApiModelBase
|
|
19
19
|
attr_accessor :policy_type
|
|
20
20
|
|