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,24 +15,18 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
17
|
class GetVrboListingContent200Response < ApiModelBase
|
|
18
|
-
attr_accessor :
|
|
19
|
-
|
|
20
|
-
attr_accessor :vrbo_listing_number
|
|
21
|
-
|
|
22
|
-
attr_accessor :property_id
|
|
18
|
+
attr_accessor :sections
|
|
23
19
|
|
|
24
|
-
attr_accessor :
|
|
20
|
+
attr_accessor :data_freshness
|
|
25
21
|
|
|
26
|
-
attr_accessor :
|
|
22
|
+
attr_accessor :vrbo_listing_number
|
|
27
23
|
|
|
28
24
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
29
25
|
def self.attribute_map
|
|
30
26
|
{
|
|
31
|
-
:'
|
|
32
|
-
:'
|
|
33
|
-
:'
|
|
34
|
-
:'listing' => :'listing',
|
|
35
|
-
:'sections' => :'sections'
|
|
27
|
+
:'sections' => :'sections',
|
|
28
|
+
:'data_freshness' => :'dataFreshness',
|
|
29
|
+
:'vrbo_listing_number' => :'vrboListingNumber'
|
|
36
30
|
}
|
|
37
31
|
end
|
|
38
32
|
|
|
@@ -49,18 +43,15 @@ module Repull
|
|
|
49
43
|
# Attribute type mapping.
|
|
50
44
|
def self.openapi_types
|
|
51
45
|
{
|
|
52
|
-
:'
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
55
|
-
:'listing' => :'GetVrboListingContent200ResponseListing',
|
|
56
|
-
:'sections' => :'GetVrboListingContent200ResponseSections'
|
|
46
|
+
:'sections' => :'GetVrboListingContent200ResponseSections',
|
|
47
|
+
:'data_freshness' => :'GetVrboListingAdditionalInfo200ResponseDataFreshness',
|
|
48
|
+
:'vrbo_listing_number' => :'String'
|
|
57
49
|
}
|
|
58
50
|
end
|
|
59
51
|
|
|
60
52
|
# List of attributes with nullable: true
|
|
61
53
|
def self.openapi_nullable
|
|
62
54
|
Set.new([
|
|
63
|
-
:'listing',
|
|
64
55
|
])
|
|
65
56
|
end
|
|
66
57
|
|
|
@@ -80,32 +71,22 @@ module Repull
|
|
|
80
71
|
h[k.to_sym] = v
|
|
81
72
|
}
|
|
82
73
|
|
|
83
|
-
if attributes.key?(:'
|
|
84
|
-
self.
|
|
85
|
-
else
|
|
86
|
-
self.listing_id = nil
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
if attributes.key?(:'vrbo_listing_number')
|
|
90
|
-
self.vrbo_listing_number = attributes[:'vrbo_listing_number']
|
|
74
|
+
if attributes.key?(:'sections')
|
|
75
|
+
self.sections = attributes[:'sections']
|
|
91
76
|
else
|
|
92
|
-
self.
|
|
77
|
+
self.sections = nil
|
|
93
78
|
end
|
|
94
79
|
|
|
95
|
-
if attributes.key?(:'
|
|
96
|
-
self.
|
|
80
|
+
if attributes.key?(:'data_freshness')
|
|
81
|
+
self.data_freshness = attributes[:'data_freshness']
|
|
97
82
|
else
|
|
98
|
-
self.
|
|
83
|
+
self.data_freshness = nil
|
|
99
84
|
end
|
|
100
85
|
|
|
101
|
-
if attributes.key?(:'
|
|
102
|
-
self.
|
|
103
|
-
end
|
|
104
|
-
|
|
105
|
-
if attributes.key?(:'sections')
|
|
106
|
-
self.sections = attributes[:'sections']
|
|
86
|
+
if attributes.key?(:'vrbo_listing_number')
|
|
87
|
+
self.vrbo_listing_number = attributes[:'vrbo_listing_number']
|
|
107
88
|
else
|
|
108
|
-
self.
|
|
89
|
+
self.vrbo_listing_number = nil
|
|
109
90
|
end
|
|
110
91
|
end
|
|
111
92
|
|
|
@@ -114,20 +95,16 @@ module Repull
|
|
|
114
95
|
def list_invalid_properties
|
|
115
96
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
116
97
|
invalid_properties = Array.new
|
|
117
|
-
if @
|
|
118
|
-
invalid_properties.push('invalid value for "
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
if @vrbo_listing_number.nil?
|
|
122
|
-
invalid_properties.push('invalid value for "vrbo_listing_number", vrbo_listing_number cannot be nil.')
|
|
98
|
+
if @sections.nil?
|
|
99
|
+
invalid_properties.push('invalid value for "sections", sections cannot be nil.')
|
|
123
100
|
end
|
|
124
101
|
|
|
125
|
-
if @
|
|
126
|
-
invalid_properties.push('invalid value for "
|
|
102
|
+
if @data_freshness.nil?
|
|
103
|
+
invalid_properties.push('invalid value for "data_freshness", data_freshness cannot be nil.')
|
|
127
104
|
end
|
|
128
105
|
|
|
129
|
-
if @
|
|
130
|
-
invalid_properties.push('invalid value for "
|
|
106
|
+
if @vrbo_listing_number.nil?
|
|
107
|
+
invalid_properties.push('invalid value for "vrbo_listing_number", vrbo_listing_number cannot be nil.')
|
|
131
108
|
end
|
|
132
109
|
|
|
133
110
|
invalid_properties
|
|
@@ -137,51 +114,40 @@ module Repull
|
|
|
137
114
|
# @return true if the model is valid
|
|
138
115
|
def valid?
|
|
139
116
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
140
|
-
return false if @listing_id.nil?
|
|
141
|
-
return false if @vrbo_listing_number.nil?
|
|
142
|
-
return false if @property_id.nil?
|
|
143
117
|
return false if @sections.nil?
|
|
118
|
+
return false if @data_freshness.nil?
|
|
119
|
+
return false if @vrbo_listing_number.nil?
|
|
144
120
|
true
|
|
145
121
|
end
|
|
146
122
|
|
|
147
123
|
# Custom attribute writer method with validation
|
|
148
|
-
# @param [Object]
|
|
149
|
-
def
|
|
150
|
-
if
|
|
151
|
-
fail ArgumentError, '
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
@listing_id = listing_id
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
# Custom attribute writer method with validation
|
|
158
|
-
# @param [Object] vrbo_listing_number Value to be assigned
|
|
159
|
-
def vrbo_listing_number=(vrbo_listing_number)
|
|
160
|
-
if vrbo_listing_number.nil?
|
|
161
|
-
fail ArgumentError, 'vrbo_listing_number cannot be nil'
|
|
124
|
+
# @param [Object] sections Value to be assigned
|
|
125
|
+
def sections=(sections)
|
|
126
|
+
if sections.nil?
|
|
127
|
+
fail ArgumentError, 'sections cannot be nil'
|
|
162
128
|
end
|
|
163
129
|
|
|
164
|
-
@
|
|
130
|
+
@sections = sections
|
|
165
131
|
end
|
|
166
132
|
|
|
167
133
|
# Custom attribute writer method with validation
|
|
168
|
-
# @param [Object]
|
|
169
|
-
def
|
|
170
|
-
if
|
|
171
|
-
fail ArgumentError, '
|
|
134
|
+
# @param [Object] data_freshness Value to be assigned
|
|
135
|
+
def data_freshness=(data_freshness)
|
|
136
|
+
if data_freshness.nil?
|
|
137
|
+
fail ArgumentError, 'data_freshness cannot be nil'
|
|
172
138
|
end
|
|
173
139
|
|
|
174
|
-
@
|
|
140
|
+
@data_freshness = data_freshness
|
|
175
141
|
end
|
|
176
142
|
|
|
177
143
|
# Custom attribute writer method with validation
|
|
178
|
-
# @param [Object]
|
|
179
|
-
def
|
|
180
|
-
if
|
|
181
|
-
fail ArgumentError, '
|
|
144
|
+
# @param [Object] vrbo_listing_number Value to be assigned
|
|
145
|
+
def vrbo_listing_number=(vrbo_listing_number)
|
|
146
|
+
if vrbo_listing_number.nil?
|
|
147
|
+
fail ArgumentError, 'vrbo_listing_number cannot be nil'
|
|
182
148
|
end
|
|
183
149
|
|
|
184
|
-
@
|
|
150
|
+
@vrbo_listing_number = vrbo_listing_number
|
|
185
151
|
end
|
|
186
152
|
|
|
187
153
|
# Checks equality by comparing each attribute.
|
|
@@ -189,11 +155,9 @@ module Repull
|
|
|
189
155
|
def ==(o)
|
|
190
156
|
return true if self.equal?(o)
|
|
191
157
|
self.class == o.class &&
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
listing == o.listing &&
|
|
196
|
-
sections == o.sections
|
|
158
|
+
sections == o.sections &&
|
|
159
|
+
data_freshness == o.data_freshness &&
|
|
160
|
+
vrbo_listing_number == o.vrbo_listing_number
|
|
197
161
|
end
|
|
198
162
|
|
|
199
163
|
# @see the `==` method
|
|
@@ -205,7 +169,7 @@ module Repull
|
|
|
205
169
|
# Calculates hash code according to all attributes.
|
|
206
170
|
# @return [Integer] Hash code
|
|
207
171
|
def hash
|
|
208
|
-
[
|
|
172
|
+
[sections, data_freshness, vrbo_listing_number].hash
|
|
209
173
|
end
|
|
210
174
|
|
|
211
175
|
# Builds the object from hash
|
|
@@ -14,18 +14,16 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
# Keyed by section; each is the data of `GET /v1/channels/vrbo/listings/{id}/{section}`, or `{ error: { code, message } }` when that section failed.
|
|
17
|
+
# Keyed by section; each is the `data` of `GET /v1/channels/vrbo/listings/{id}/{section}`, or `{ error: { code, message } }` when that section failed.
|
|
18
18
|
class GetVrboListingContent200ResponseSections < ApiModelBase
|
|
19
|
-
attr_accessor :
|
|
19
|
+
attr_accessor :descriptions
|
|
20
20
|
|
|
21
|
-
attr_accessor :
|
|
21
|
+
attr_accessor :details
|
|
22
22
|
|
|
23
23
|
attr_accessor :story
|
|
24
24
|
|
|
25
25
|
attr_accessor :additional_info
|
|
26
26
|
|
|
27
|
-
attr_accessor :translations
|
|
28
|
-
|
|
29
27
|
attr_accessor :photos
|
|
30
28
|
|
|
31
29
|
attr_accessor :amenities
|
|
@@ -44,28 +42,25 @@ module Repull
|
|
|
44
42
|
|
|
45
43
|
attr_accessor :pricing
|
|
46
44
|
|
|
47
|
-
attr_accessor :rates
|
|
48
|
-
|
|
49
45
|
attr_accessor :payment_terms
|
|
50
46
|
|
|
51
47
|
attr_accessor :protection
|
|
52
48
|
|
|
53
49
|
attr_accessor :taxes
|
|
54
50
|
|
|
55
|
-
attr_accessor :
|
|
51
|
+
attr_accessor :permits
|
|
56
52
|
|
|
57
|
-
attr_accessor :
|
|
53
|
+
attr_accessor :checkin_guide
|
|
58
54
|
|
|
59
55
|
attr_accessor :videos
|
|
60
56
|
|
|
61
57
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
62
58
|
def self.attribute_map
|
|
63
59
|
{
|
|
64
|
-
:'
|
|
65
|
-
:'
|
|
60
|
+
:'descriptions' => :'descriptions',
|
|
61
|
+
:'details' => :'details',
|
|
66
62
|
:'story' => :'story',
|
|
67
63
|
:'additional_info' => :'additional-info',
|
|
68
|
-
:'translations' => :'translations',
|
|
69
64
|
:'photos' => :'photos',
|
|
70
65
|
:'amenities' => :'amenities',
|
|
71
66
|
:'rooms' => :'rooms',
|
|
@@ -75,12 +70,11 @@ module Repull
|
|
|
75
70
|
:'cancellation' => :'cancellation',
|
|
76
71
|
:'fees' => :'fees',
|
|
77
72
|
:'pricing' => :'pricing',
|
|
78
|
-
:'rates' => :'rates',
|
|
79
73
|
:'payment_terms' => :'payment-terms',
|
|
80
74
|
:'protection' => :'protection',
|
|
81
75
|
:'taxes' => :'taxes',
|
|
82
|
-
:'
|
|
83
|
-
:'
|
|
76
|
+
:'permits' => :'permits',
|
|
77
|
+
:'checkin_guide' => :'checkin-guide',
|
|
84
78
|
:'videos' => :'videos'
|
|
85
79
|
}
|
|
86
80
|
end
|
|
@@ -98,11 +92,10 @@ module Repull
|
|
|
98
92
|
# Attribute type mapping.
|
|
99
93
|
def self.openapi_types
|
|
100
94
|
{
|
|
101
|
-
:'
|
|
102
|
-
:'
|
|
95
|
+
:'descriptions' => :'Array<GetVrboListingContent200ResponseSectionsDescriptionsInner>',
|
|
96
|
+
:'details' => :'GetVrboListingContent200ResponseSectionsDetails',
|
|
103
97
|
:'story' => :'GetVrboListingContent200ResponseSectionsStory',
|
|
104
98
|
:'additional_info' => :'GetVrboListingContent200ResponseSectionsAdditionalInfo',
|
|
105
|
-
:'translations' => :'GetVrboListingContent200ResponseSectionsTranslations',
|
|
106
99
|
:'photos' => :'GetVrboListingContent200ResponseSectionsPhotos',
|
|
107
100
|
:'amenities' => :'GetVrboListingContent200ResponseSectionsAmenities',
|
|
108
101
|
:'rooms' => :'GetVrboListingContent200ResponseSectionsRooms',
|
|
@@ -112,12 +105,11 @@ module Repull
|
|
|
112
105
|
:'cancellation' => :'GetVrboListingContent200ResponseSectionsCancellation',
|
|
113
106
|
:'fees' => :'GetVrboListingContent200ResponseSectionsFees',
|
|
114
107
|
:'pricing' => :'GetVrboListingContent200ResponseSectionsPricing',
|
|
115
|
-
:'rates' => :'GetVrboListingContent200ResponseSectionsRates',
|
|
116
108
|
:'payment_terms' => :'GetVrboListingContent200ResponseSectionsPaymentTerms',
|
|
117
109
|
:'protection' => :'GetVrboListingContent200ResponseSectionsProtection',
|
|
118
110
|
:'taxes' => :'GetVrboListingContent200ResponseSectionsTaxes',
|
|
119
|
-
:'
|
|
120
|
-
:'
|
|
111
|
+
:'permits' => :'GetVrboListingContent200ResponseSectionsPermits',
|
|
112
|
+
:'checkin_guide' => :'GetVrboListingContent200ResponseSectionsCheckinGuide',
|
|
121
113
|
:'videos' => :'GetVrboListingContent200ResponseSectionsVideos'
|
|
122
114
|
}
|
|
123
115
|
end
|
|
@@ -144,12 +136,14 @@ module Repull
|
|
|
144
136
|
h[k.to_sym] = v
|
|
145
137
|
}
|
|
146
138
|
|
|
147
|
-
if attributes.key?(:'
|
|
148
|
-
|
|
139
|
+
if attributes.key?(:'descriptions')
|
|
140
|
+
if (value = attributes[:'descriptions']).is_a?(Array)
|
|
141
|
+
self.descriptions = value
|
|
142
|
+
end
|
|
149
143
|
end
|
|
150
144
|
|
|
151
|
-
if attributes.key?(:'
|
|
152
|
-
self.
|
|
145
|
+
if attributes.key?(:'details')
|
|
146
|
+
self.details = attributes[:'details']
|
|
153
147
|
end
|
|
154
148
|
|
|
155
149
|
if attributes.key?(:'story')
|
|
@@ -160,10 +154,6 @@ module Repull
|
|
|
160
154
|
self.additional_info = attributes[:'additional_info']
|
|
161
155
|
end
|
|
162
156
|
|
|
163
|
-
if attributes.key?(:'translations')
|
|
164
|
-
self.translations = attributes[:'translations']
|
|
165
|
-
end
|
|
166
|
-
|
|
167
157
|
if attributes.key?(:'photos')
|
|
168
158
|
self.photos = attributes[:'photos']
|
|
169
159
|
end
|
|
@@ -200,10 +190,6 @@ module Repull
|
|
|
200
190
|
self.pricing = attributes[:'pricing']
|
|
201
191
|
end
|
|
202
192
|
|
|
203
|
-
if attributes.key?(:'rates')
|
|
204
|
-
self.rates = attributes[:'rates']
|
|
205
|
-
end
|
|
206
|
-
|
|
207
193
|
if attributes.key?(:'payment_terms')
|
|
208
194
|
self.payment_terms = attributes[:'payment_terms']
|
|
209
195
|
end
|
|
@@ -216,12 +202,12 @@ module Repull
|
|
|
216
202
|
self.taxes = attributes[:'taxes']
|
|
217
203
|
end
|
|
218
204
|
|
|
219
|
-
if attributes.key?(:'
|
|
220
|
-
self.
|
|
205
|
+
if attributes.key?(:'permits')
|
|
206
|
+
self.permits = attributes[:'permits']
|
|
221
207
|
end
|
|
222
208
|
|
|
223
|
-
if attributes.key?(:'
|
|
224
|
-
self.
|
|
209
|
+
if attributes.key?(:'checkin_guide')
|
|
210
|
+
self.checkin_guide = attributes[:'checkin_guide']
|
|
225
211
|
end
|
|
226
212
|
|
|
227
213
|
if attributes.key?(:'videos')
|
|
@@ -249,11 +235,10 @@ module Repull
|
|
|
249
235
|
def ==(o)
|
|
250
236
|
return true if self.equal?(o)
|
|
251
237
|
self.class == o.class &&
|
|
252
|
-
|
|
253
|
-
|
|
238
|
+
descriptions == o.descriptions &&
|
|
239
|
+
details == o.details &&
|
|
254
240
|
story == o.story &&
|
|
255
241
|
additional_info == o.additional_info &&
|
|
256
|
-
translations == o.translations &&
|
|
257
242
|
photos == o.photos &&
|
|
258
243
|
amenities == o.amenities &&
|
|
259
244
|
rooms == o.rooms &&
|
|
@@ -263,12 +248,11 @@ module Repull
|
|
|
263
248
|
cancellation == o.cancellation &&
|
|
264
249
|
fees == o.fees &&
|
|
265
250
|
pricing == o.pricing &&
|
|
266
|
-
rates == o.rates &&
|
|
267
251
|
payment_terms == o.payment_terms &&
|
|
268
252
|
protection == o.protection &&
|
|
269
253
|
taxes == o.taxes &&
|
|
270
|
-
|
|
271
|
-
|
|
254
|
+
permits == o.permits &&
|
|
255
|
+
checkin_guide == o.checkin_guide &&
|
|
272
256
|
videos == o.videos
|
|
273
257
|
end
|
|
274
258
|
|
|
@@ -281,7 +265,7 @@ module Repull
|
|
|
281
265
|
# Calculates hash code according to all attributes.
|
|
282
266
|
# @return [Integer] Hash code
|
|
283
267
|
def hash
|
|
284
|
-
[
|
|
268
|
+
[descriptions, details, story, additional_info, photos, amenities, rooms, location, house_rules, booking_settings, cancellation, fees, pricing, payment_terms, protection, taxes, permits, checkin_guide, videos].hash
|
|
285
269
|
end
|
|
286
270
|
|
|
287
271
|
# Builds the object from hash
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsCheckinGuide < ApiModelBase
|
|
18
18
|
attr_accessor :check_in
|
|
19
19
|
|
|
20
20
|
attr_accessor :check_out
|
|
@@ -59,14 +59,14 @@ module Repull
|
|
|
59
59
|
# Attribute type mapping.
|
|
60
60
|
def self.openapi_types
|
|
61
61
|
{
|
|
62
|
-
:'check_in' => :'
|
|
63
|
-
:'check_out' => :'
|
|
64
|
-
:'driving_directions' => :'
|
|
65
|
-
:'parking_directions' => :'
|
|
66
|
-
:'access' => :'
|
|
67
|
-
:'wifi' => :'
|
|
68
|
-
:'amenities' => :'Hash<String,
|
|
69
|
-
:'contacts' => :'Array<
|
|
62
|
+
:'check_in' => :'GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn',
|
|
63
|
+
:'check_out' => :'GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn',
|
|
64
|
+
:'driving_directions' => :'GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn',
|
|
65
|
+
:'parking_directions' => :'GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn',
|
|
66
|
+
:'access' => :'GetVrboListingContent200ResponseSectionsCheckinGuideAccess',
|
|
67
|
+
:'wifi' => :'GetVrboListingContent200ResponseSectionsCheckinGuideWifi',
|
|
68
|
+
:'amenities' => :'Hash<String, GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn>',
|
|
69
|
+
:'contacts' => :'Array<GetVrboListingContent200ResponseSectionsCheckinGuideContactsInner>'
|
|
70
70
|
}
|
|
71
71
|
end
|
|
72
72
|
|
|
@@ -86,14 +86,14 @@ module Repull
|
|
|
86
86
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
87
87
|
def initialize(attributes = {})
|
|
88
88
|
if (!attributes.is_a?(Hash))
|
|
89
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
89
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsCheckinGuide` initialize method"
|
|
90
90
|
end
|
|
91
91
|
|
|
92
92
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
93
93
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
94
94
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
95
95
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
96
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
96
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsCheckinGuide`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
97
97
|
end
|
|
98
98
|
h[k.to_sym] = v
|
|
99
99
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsCheckinGuideAccess < ApiModelBase
|
|
18
18
|
attr_accessor :type
|
|
19
19
|
|
|
20
20
|
attr_accessor :code
|
|
@@ -62,14 +62,14 @@ module Repull
|
|
|
62
62
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
63
63
|
def initialize(attributes = {})
|
|
64
64
|
if (!attributes.is_a?(Hash))
|
|
65
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
65
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsCheckinGuideAccess` initialize method"
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
69
69
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
70
70
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
71
71
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
72
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
72
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsCheckinGuideAccess`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
73
73
|
end
|
|
74
74
|
h[k.to_sym] = v
|
|
75
75
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn < ApiModelBase
|
|
18
18
|
attr_accessor :instructions
|
|
19
19
|
|
|
20
20
|
attr_accessor :available
|
|
@@ -61,14 +61,14 @@ module Repull
|
|
|
61
61
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
62
62
|
def initialize(attributes = {})
|
|
63
63
|
if (!attributes.is_a?(Hash))
|
|
64
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
64
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn` initialize method"
|
|
65
65
|
end
|
|
66
66
|
|
|
67
67
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
68
68
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
69
69
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
70
70
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
71
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
71
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsCheckinGuideCheckIn`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
72
72
|
end
|
|
73
73
|
h[k.to_sym] = v
|
|
74
74
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsCheckinGuideContactsInner < ApiModelBase
|
|
18
18
|
attr_accessor :scope
|
|
19
19
|
|
|
20
20
|
attr_accessor :name
|
|
@@ -62,14 +62,14 @@ module Repull
|
|
|
62
62
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
63
63
|
def initialize(attributes = {})
|
|
64
64
|
if (!attributes.is_a?(Hash))
|
|
65
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
65
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsCheckinGuideContactsInner` initialize method"
|
|
66
66
|
end
|
|
67
67
|
|
|
68
68
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
69
69
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
70
70
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
71
71
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
72
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
72
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsCheckinGuideContactsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
73
73
|
end
|
|
74
74
|
h[k.to_sym] = v
|
|
75
75
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsCheckinGuideWifi < ApiModelBase
|
|
18
18
|
attr_accessor :network_name
|
|
19
19
|
|
|
20
20
|
attr_accessor :password
|
|
@@ -67,14 +67,14 @@ module Repull
|
|
|
67
67
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
68
68
|
def initialize(attributes = {})
|
|
69
69
|
if (!attributes.is_a?(Hash))
|
|
70
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
70
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsCheckinGuideWifi` initialize method"
|
|
71
71
|
end
|
|
72
72
|
|
|
73
73
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
74
74
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
75
75
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
76
76
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
77
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
77
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsCheckinGuideWifi`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
78
78
|
end
|
|
79
79
|
h[k.to_sym] = v
|
|
80
80
|
}
|
|
@@ -14,7 +14,13 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsDescriptionsInner < ApiModelBase
|
|
18
|
+
# `null` for the listing's own language; a language code for a hand-written translation.
|
|
19
|
+
attr_accessor :locale
|
|
20
|
+
|
|
21
|
+
# `true` for the listing's own language.
|
|
22
|
+
attr_accessor :primary
|
|
23
|
+
|
|
18
24
|
attr_accessor :headline
|
|
19
25
|
|
|
20
26
|
attr_accessor :description
|
|
@@ -24,6 +30,8 @@ module Repull
|
|
|
24
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
25
31
|
def self.attribute_map
|
|
26
32
|
{
|
|
33
|
+
:'locale' => :'locale',
|
|
34
|
+
:'primary' => :'primary',
|
|
27
35
|
:'headline' => :'headline',
|
|
28
36
|
:'description' => :'description',
|
|
29
37
|
:'limits' => :'limits'
|
|
@@ -43,15 +51,18 @@ module Repull
|
|
|
43
51
|
# Attribute type mapping.
|
|
44
52
|
def self.openapi_types
|
|
45
53
|
{
|
|
54
|
+
:'locale' => :'String',
|
|
55
|
+
:'primary' => :'Boolean',
|
|
46
56
|
:'headline' => :'String',
|
|
47
57
|
:'description' => :'String',
|
|
48
|
-
:'limits' => :'
|
|
58
|
+
:'limits' => :'GetVrboListingContent200ResponseSectionsDescriptionsInnerLimits'
|
|
49
59
|
}
|
|
50
60
|
end
|
|
51
61
|
|
|
52
62
|
# List of attributes with nullable: true
|
|
53
63
|
def self.openapi_nullable
|
|
54
64
|
Set.new([
|
|
65
|
+
:'locale',
|
|
55
66
|
:'headline',
|
|
56
67
|
:'description',
|
|
57
68
|
])
|
|
@@ -61,18 +72,26 @@ module Repull
|
|
|
61
72
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
62
73
|
def initialize(attributes = {})
|
|
63
74
|
if (!attributes.is_a?(Hash))
|
|
64
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
75
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsDescriptionsInner` initialize method"
|
|
65
76
|
end
|
|
66
77
|
|
|
67
78
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
68
79
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
69
80
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
70
81
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
71
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
82
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsDescriptionsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
72
83
|
end
|
|
73
84
|
h[k.to_sym] = v
|
|
74
85
|
}
|
|
75
86
|
|
|
87
|
+
if attributes.key?(:'locale')
|
|
88
|
+
self.locale = attributes[:'locale']
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
if attributes.key?(:'primary')
|
|
92
|
+
self.primary = attributes[:'primary']
|
|
93
|
+
end
|
|
94
|
+
|
|
76
95
|
if attributes.key?(:'headline')
|
|
77
96
|
self.headline = attributes[:'headline']
|
|
78
97
|
end
|
|
@@ -106,6 +125,8 @@ module Repull
|
|
|
106
125
|
def ==(o)
|
|
107
126
|
return true if self.equal?(o)
|
|
108
127
|
self.class == o.class &&
|
|
128
|
+
locale == o.locale &&
|
|
129
|
+
primary == o.primary &&
|
|
109
130
|
headline == o.headline &&
|
|
110
131
|
description == o.description &&
|
|
111
132
|
limits == o.limits
|
|
@@ -120,7 +141,7 @@ module Repull
|
|
|
120
141
|
# Calculates hash code according to all attributes.
|
|
121
142
|
# @return [Integer] Hash code
|
|
122
143
|
def hash
|
|
123
|
-
[headline, description, limits].hash
|
|
144
|
+
[locale, primary, headline, description, limits].hash
|
|
124
145
|
end
|
|
125
146
|
|
|
126
147
|
# Builds the object from hash
|