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.
- checksums.yaml +4 -4
- data/lib/repull/api/listings_api.rb +4 -4
- data/lib/repull/api/vrbo_api.rb +1976 -798
- 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/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/{update_vrbo_listing_translations_request.rb → get_vrbo_connection200_response_data_accounts_inner_sync.rb} +16 -20
- 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_listing_content200_response_sections_rates.rb → get_vrbo_listing200_response_data_inner_capacity.rb} +31 -31
- data/lib/repull/models/get_vrbo_listing200_response_data_inner_capacity_pets.rb +158 -0
- data/lib/repull/models/{get_vrbo_listing_content200_response_sections_translations.rb → get_vrbo_listing200_response_data_inner_content.rb} +20 -18
- 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/{update_vrbo_listing_rooms_request.rb → get_vrbo_listing_checkout_guide200_response_data.rb} +26 -27
- 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/{update_vrbo_listing_translations_request_set_inner.rb → map_vrbo_listing200_response.rb} +40 -41
- 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/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/version.rb +1 -1
- data/lib/repull.rb +89 -60
- data/openapi/v1.json +10116 -2944
- metadata +90 -61
- data/lib/repull/models/get_vrbo_listing_content200_response_sections_translations_items_inner.rb +0 -167
- data/lib/repull/models/get_vrbo_listing_description200_response_data.rb +0 -168
- data/lib/repull/models/update_vrbo_listing_description200_response_data.rb +0 -168
- data/lib/repull/models/update_vrbo_listing_registration200_response.rb +0 -298
|
@@ -14,7 +14,8 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
|
|
17
|
+
# On the primary item: the lengths Vrbo allows.
|
|
18
|
+
class GetVrboListingContent200ResponseSectionsDescriptionsInnerLimits < ApiModelBase
|
|
18
19
|
attr_accessor :headline
|
|
19
20
|
|
|
20
21
|
attr_accessor :description
|
|
@@ -40,8 +41,8 @@ module Repull
|
|
|
40
41
|
# Attribute type mapping.
|
|
41
42
|
def self.openapi_types
|
|
42
43
|
{
|
|
43
|
-
:'headline' => :'
|
|
44
|
-
:'description' => :'
|
|
44
|
+
:'headline' => :'GetVrboListingContent200ResponseSectionsDescriptionsInnerLimitsHeadline',
|
|
45
|
+
:'description' => :'GetVrboListingContent200ResponseSectionsDescriptionsInnerLimitsHeadline'
|
|
45
46
|
}
|
|
46
47
|
end
|
|
47
48
|
|
|
@@ -57,14 +58,14 @@ module Repull
|
|
|
57
58
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
58
59
|
def initialize(attributes = {})
|
|
59
60
|
if (!attributes.is_a?(Hash))
|
|
60
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
61
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsDescriptionsInnerLimits` initialize method"
|
|
61
62
|
end
|
|
62
63
|
|
|
63
64
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
65
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
65
66
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
67
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
68
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsDescriptionsInnerLimits`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
68
69
|
end
|
|
69
70
|
h[k.to_sym] = v
|
|
70
71
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsDescriptionsInnerLimitsHeadline < ApiModelBase
|
|
18
18
|
attr_accessor :min_length
|
|
19
19
|
|
|
20
20
|
attr_accessor :max_length
|
|
@@ -57,14 +57,14 @@ module Repull
|
|
|
57
57
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
58
58
|
def initialize(attributes = {})
|
|
59
59
|
if (!attributes.is_a?(Hash))
|
|
60
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
60
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsDescriptionsInnerLimitsHeadline` initialize method"
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
64
64
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
65
65
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
66
66
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
67
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
67
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsDescriptionsInnerLimitsHeadline`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
68
68
|
end
|
|
69
69
|
h[k.to_sym] = v
|
|
70
70
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsDetails < ApiModelBase
|
|
18
18
|
attr_accessor :property_type
|
|
19
19
|
|
|
20
20
|
attr_accessor :property_type_options
|
|
@@ -55,7 +55,7 @@ module Repull
|
|
|
55
55
|
:'property_type' => :'String',
|
|
56
56
|
:'property_type_options' => :'Array<GetVrboListingAmenities200ResponseDataGroupsValueFieldsInnerOptionsInner>',
|
|
57
57
|
:'property_name' => :'String',
|
|
58
|
-
:'interior_size' => :'
|
|
58
|
+
:'interior_size' => :'GetVrboListingContent200ResponseSectionsDetailsInteriorSize',
|
|
59
59
|
:'seniors_only' => :'Boolean',
|
|
60
60
|
:'long_term_renters_welcome' => :'Boolean'
|
|
61
61
|
}
|
|
@@ -75,14 +75,14 @@ module Repull
|
|
|
75
75
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
76
76
|
def initialize(attributes = {})
|
|
77
77
|
if (!attributes.is_a?(Hash))
|
|
78
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
78
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsDetails` initialize method"
|
|
79
79
|
end
|
|
80
80
|
|
|
81
81
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
82
82
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
83
83
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
84
84
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
85
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
85
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsDetails`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
86
86
|
end
|
|
87
87
|
h[k.to_sym] = v
|
|
88
88
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsDetailsInteriorSize < ApiModelBase
|
|
18
18
|
attr_accessor :value
|
|
19
19
|
|
|
20
20
|
attr_accessor :unit
|
|
@@ -79,14 +79,14 @@ module Repull
|
|
|
79
79
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
80
80
|
def initialize(attributes = {})
|
|
81
81
|
if (!attributes.is_a?(Hash))
|
|
82
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
82
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsDetailsInteriorSize` initialize method"
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
86
86
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
87
87
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
88
88
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
89
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
89
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsDetailsInteriorSize`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
90
90
|
end
|
|
91
91
|
h[k.to_sym] = v
|
|
92
92
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsPermits < ApiModelBase
|
|
18
18
|
attr_accessor :status
|
|
19
19
|
|
|
20
20
|
attr_accessor :fields
|
|
@@ -41,7 +41,7 @@ module Repull
|
|
|
41
41
|
def self.openapi_types
|
|
42
42
|
{
|
|
43
43
|
:'status' => :'String',
|
|
44
|
-
:'fields' => :'Array<
|
|
44
|
+
:'fields' => :'Array<GetVrboListingContent200ResponseSectionsPermitsFieldsInner>'
|
|
45
45
|
}
|
|
46
46
|
end
|
|
47
47
|
|
|
@@ -56,14 +56,14 @@ module Repull
|
|
|
56
56
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
57
57
|
def initialize(attributes = {})
|
|
58
58
|
if (!attributes.is_a?(Hash))
|
|
59
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
59
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsPermits` initialize method"
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
63
63
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
64
64
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
65
65
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
66
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
66
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsPermits`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
67
67
|
end
|
|
68
68
|
h[k.to_sym] = v
|
|
69
69
|
}
|
|
@@ -14,7 +14,7 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
17
|
+
class GetVrboListingContent200ResponseSectionsPermitsFieldsInner < ApiModelBase
|
|
18
18
|
attr_accessor :name
|
|
19
19
|
|
|
20
20
|
attr_accessor :label
|
|
@@ -65,14 +65,14 @@ module Repull
|
|
|
65
65
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
66
66
|
def initialize(attributes = {})
|
|
67
67
|
if (!attributes.is_a?(Hash))
|
|
68
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
68
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingContent200ResponseSectionsPermitsFieldsInner` initialize method"
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
72
72
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
73
73
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
74
74
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
75
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
75
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingContent200ResponseSectionsPermitsFieldsInner`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
76
76
|
end
|
|
77
77
|
h[k.to_sym] = v
|
|
78
78
|
}
|
|
@@ -14,26 +14,25 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module Repull
|
|
17
|
-
class
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
attr_accessor :vrbo_listing_number
|
|
17
|
+
class GetVrboListingDescriptions200Response < ApiModelBase
|
|
18
|
+
# The section as Vrbo has it.
|
|
19
|
+
attr_accessor :data
|
|
21
20
|
|
|
22
|
-
#
|
|
23
|
-
attr_accessor :
|
|
21
|
+
# The languages a translation can be written in (`value` is the `locale`).
|
|
22
|
+
attr_accessor :languages
|
|
24
23
|
|
|
25
|
-
attr_accessor :
|
|
24
|
+
attr_accessor :data_freshness
|
|
26
25
|
|
|
27
|
-
|
|
26
|
+
# The Vrbo listing number this is about.
|
|
27
|
+
attr_accessor :vrbo_listing_number
|
|
28
28
|
|
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
30
30
|
def self.attribute_map
|
|
31
31
|
{
|
|
32
|
-
:'
|
|
33
|
-
:'
|
|
34
|
-
:'
|
|
35
|
-
:'
|
|
36
|
-
:'data' => :'data'
|
|
32
|
+
:'data' => :'data',
|
|
33
|
+
:'languages' => :'languages',
|
|
34
|
+
:'data_freshness' => :'dataFreshness',
|
|
35
|
+
:'vrbo_listing_number' => :'vrboListingNumber'
|
|
37
36
|
}
|
|
38
37
|
end
|
|
39
38
|
|
|
@@ -50,11 +49,10 @@ module Repull
|
|
|
50
49
|
# Attribute type mapping.
|
|
51
50
|
def self.openapi_types
|
|
52
51
|
{
|
|
53
|
-
:'
|
|
54
|
-
:'
|
|
55
|
-
:'
|
|
56
|
-
:'
|
|
57
|
-
:'data' => :'GetVrboListingTranslations200ResponseData'
|
|
52
|
+
:'data' => :'Array<GetVrboListingContent200ResponseSectionsDescriptionsInner>',
|
|
53
|
+
:'languages' => :'Array<GetVrboListingAmenities200ResponseDataGroupsValueFieldsInnerOptionsInner>',
|
|
54
|
+
:'data_freshness' => :'GetVrboListingAdditionalInfo200ResponseDataFreshness',
|
|
55
|
+
:'vrbo_listing_number' => :'String'
|
|
58
56
|
}
|
|
59
57
|
end
|
|
60
58
|
|
|
@@ -68,46 +66,42 @@ module Repull
|
|
|
68
66
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
69
67
|
def initialize(attributes = {})
|
|
70
68
|
if (!attributes.is_a?(Hash))
|
|
71
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::
|
|
69
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `Repull::GetVrboListingDescriptions200Response` initialize method"
|
|
72
70
|
end
|
|
73
71
|
|
|
74
72
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
75
73
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
76
74
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
77
75
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
78
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::
|
|
76
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `Repull::GetVrboListingDescriptions200Response`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
79
77
|
end
|
|
80
78
|
h[k.to_sym] = v
|
|
81
79
|
}
|
|
82
80
|
|
|
83
|
-
if attributes.key?(:'
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
end
|
|
88
|
-
|
|
89
|
-
if attributes.key?(:'vrbo_listing_number')
|
|
90
|
-
self.vrbo_listing_number = attributes[:'vrbo_listing_number']
|
|
81
|
+
if attributes.key?(:'data')
|
|
82
|
+
if (value = attributes[:'data']).is_a?(Array)
|
|
83
|
+
self.data = value
|
|
84
|
+
end
|
|
91
85
|
else
|
|
92
|
-
self.
|
|
86
|
+
self.data = nil
|
|
93
87
|
end
|
|
94
88
|
|
|
95
|
-
if attributes.key?(:'
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
89
|
+
if attributes.key?(:'languages')
|
|
90
|
+
if (value = attributes[:'languages']).is_a?(Array)
|
|
91
|
+
self.languages = value
|
|
92
|
+
end
|
|
99
93
|
end
|
|
100
94
|
|
|
101
|
-
if attributes.key?(:'
|
|
102
|
-
self.
|
|
95
|
+
if attributes.key?(:'data_freshness')
|
|
96
|
+
self.data_freshness = attributes[:'data_freshness']
|
|
103
97
|
else
|
|
104
|
-
self.
|
|
98
|
+
self.data_freshness = nil
|
|
105
99
|
end
|
|
106
100
|
|
|
107
|
-
if attributes.key?(:'
|
|
108
|
-
self.
|
|
101
|
+
if attributes.key?(:'vrbo_listing_number')
|
|
102
|
+
self.vrbo_listing_number = attributes[:'vrbo_listing_number']
|
|
109
103
|
else
|
|
110
|
-
self.
|
|
104
|
+
self.vrbo_listing_number = nil
|
|
111
105
|
end
|
|
112
106
|
end
|
|
113
107
|
|
|
@@ -116,24 +110,16 @@ module Repull
|
|
|
116
110
|
def list_invalid_properties
|
|
117
111
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
118
112
|
invalid_properties = Array.new
|
|
119
|
-
if @
|
|
120
|
-
invalid_properties.push('invalid value for "
|
|
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.')
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
if @property_id.nil?
|
|
128
|
-
invalid_properties.push('invalid value for "property_id", property_id cannot be nil.')
|
|
113
|
+
if @data.nil?
|
|
114
|
+
invalid_properties.push('invalid value for "data", data cannot be nil.')
|
|
129
115
|
end
|
|
130
116
|
|
|
131
|
-
if @
|
|
132
|
-
invalid_properties.push('invalid value for "
|
|
117
|
+
if @data_freshness.nil?
|
|
118
|
+
invalid_properties.push('invalid value for "data_freshness", data_freshness cannot be nil.')
|
|
133
119
|
end
|
|
134
120
|
|
|
135
|
-
if @
|
|
136
|
-
invalid_properties.push('invalid value for "
|
|
121
|
+
if @vrbo_listing_number.nil?
|
|
122
|
+
invalid_properties.push('invalid value for "vrbo_listing_number", vrbo_listing_number cannot be nil.')
|
|
137
123
|
end
|
|
138
124
|
|
|
139
125
|
invalid_properties
|
|
@@ -143,62 +129,40 @@ module Repull
|
|
|
143
129
|
# @return true if the model is valid
|
|
144
130
|
def valid?
|
|
145
131
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
146
|
-
return false if @listing_id.nil?
|
|
147
|
-
return false if @vrbo_listing_number.nil?
|
|
148
|
-
return false if @property_id.nil?
|
|
149
|
-
return false if @section.nil?
|
|
150
132
|
return false if @data.nil?
|
|
133
|
+
return false if @data_freshness.nil?
|
|
134
|
+
return false if @vrbo_listing_number.nil?
|
|
151
135
|
true
|
|
152
136
|
end
|
|
153
137
|
|
|
154
138
|
# Custom attribute writer method with validation
|
|
155
|
-
# @param [Object]
|
|
156
|
-
def
|
|
157
|
-
if
|
|
158
|
-
fail ArgumentError, '
|
|
159
|
-
end
|
|
160
|
-
|
|
161
|
-
@listing_id = listing_id
|
|
162
|
-
end
|
|
163
|
-
|
|
164
|
-
# Custom attribute writer method with validation
|
|
165
|
-
# @param [Object] vrbo_listing_number Value to be assigned
|
|
166
|
-
def vrbo_listing_number=(vrbo_listing_number)
|
|
167
|
-
if vrbo_listing_number.nil?
|
|
168
|
-
fail ArgumentError, 'vrbo_listing_number cannot be nil'
|
|
169
|
-
end
|
|
170
|
-
|
|
171
|
-
@vrbo_listing_number = vrbo_listing_number
|
|
172
|
-
end
|
|
173
|
-
|
|
174
|
-
# Custom attribute writer method with validation
|
|
175
|
-
# @param [Object] property_id Value to be assigned
|
|
176
|
-
def property_id=(property_id)
|
|
177
|
-
if property_id.nil?
|
|
178
|
-
fail ArgumentError, 'property_id cannot be nil'
|
|
139
|
+
# @param [Object] data Value to be assigned
|
|
140
|
+
def data=(data)
|
|
141
|
+
if data.nil?
|
|
142
|
+
fail ArgumentError, 'data cannot be nil'
|
|
179
143
|
end
|
|
180
144
|
|
|
181
|
-
@
|
|
145
|
+
@data = data
|
|
182
146
|
end
|
|
183
147
|
|
|
184
148
|
# Custom attribute writer method with validation
|
|
185
|
-
# @param [Object]
|
|
186
|
-
def
|
|
187
|
-
if
|
|
188
|
-
fail ArgumentError, '
|
|
149
|
+
# @param [Object] data_freshness Value to be assigned
|
|
150
|
+
def data_freshness=(data_freshness)
|
|
151
|
+
if data_freshness.nil?
|
|
152
|
+
fail ArgumentError, 'data_freshness cannot be nil'
|
|
189
153
|
end
|
|
190
154
|
|
|
191
|
-
@
|
|
155
|
+
@data_freshness = data_freshness
|
|
192
156
|
end
|
|
193
157
|
|
|
194
158
|
# Custom attribute writer method with validation
|
|
195
|
-
# @param [Object]
|
|
196
|
-
def
|
|
197
|
-
if
|
|
198
|
-
fail ArgumentError, '
|
|
159
|
+
# @param [Object] vrbo_listing_number Value to be assigned
|
|
160
|
+
def vrbo_listing_number=(vrbo_listing_number)
|
|
161
|
+
if vrbo_listing_number.nil?
|
|
162
|
+
fail ArgumentError, 'vrbo_listing_number cannot be nil'
|
|
199
163
|
end
|
|
200
164
|
|
|
201
|
-
@
|
|
165
|
+
@vrbo_listing_number = vrbo_listing_number
|
|
202
166
|
end
|
|
203
167
|
|
|
204
168
|
# Checks equality by comparing each attribute.
|
|
@@ -206,11 +170,10 @@ module Repull
|
|
|
206
170
|
def ==(o)
|
|
207
171
|
return true if self.equal?(o)
|
|
208
172
|
self.class == o.class &&
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
data == o.data
|
|
173
|
+
data == o.data &&
|
|
174
|
+
languages == o.languages &&
|
|
175
|
+
data_freshness == o.data_freshness &&
|
|
176
|
+
vrbo_listing_number == o.vrbo_listing_number
|
|
214
177
|
end
|
|
215
178
|
|
|
216
179
|
# @see the `==` method
|
|
@@ -222,7 +185,7 @@ module Repull
|
|
|
222
185
|
# Calculates hash code according to all attributes.
|
|
223
186
|
# @return [Integer] Hash code
|
|
224
187
|
def hash
|
|
225
|
-
[
|
|
188
|
+
[data, languages, data_freshness, vrbo_listing_number].hash
|
|
226
189
|
end
|
|
227
190
|
|
|
228
191
|
# Builds the object from hash
|