zernio-sdk 0.0.522 → 0.0.524
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/README.md +7 -1
- data/docs/AnalyticsApi.md +2 -2
- data/docs/ConnectApi.md +4 -4
- data/docs/FoodMenuItemOptionsInner.md +2 -2
- data/docs/GMBAttributesApi.md +1 -1
- data/docs/GMBMediaApi.md +1 -1
- data/docs/ListInboxConversations200ResponseDataInner.md +1 -1
- data/docs/SelectLinkedInOrganizationRequest.md +1 -1
- data/docs/SelectLinkedInOrganizationRequestSelectedOrganization.md +26 -0
- data/docs/UpdateGmbLocationRequest.md +3 -1
- data/docs/UpdateGoogleBusinessAttributesRequestAttributesInner.md +6 -2
- data/docs/UpdateGoogleBusinessAttributesRequestAttributesInnerUriValuesInner.md +18 -0
- data/docs/UpdateGoogleBusinessServicesRequestServiceItemsInner.md +3 -3
- data/docs/UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItem.md +20 -0
- data/docs/UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItemLabel.md +22 -0
- data/docs/UpdateGoogleBusinessServicesRequestServiceItemsInnerPrice.md +22 -0
- data/docs/UpdateGoogleBusinessServicesRequestServiceItemsInnerStructuredServiceItem.md +20 -0
- data/docs/UpdateLinkedInOrganization200Response.md +22 -0
- data/lib/zernio-sdk/api/analytics_api.rb +11 -2
- data/lib/zernio-sdk/api/connect_api.rb +7 -3
- data/lib/zernio-sdk/api/gmb_media_api.rb +6 -2
- data/lib/zernio-sdk/api/gmb_place_actions_api.rb +4 -4
- data/lib/zernio-sdk/api/gmb_verifications_api.rb +8 -0
- data/lib/zernio-sdk/models/batch_get_google_business_reviews_request.rb +37 -0
- data/lib/zernio-sdk/models/create_google_business_media_request.rb +21 -2
- data/lib/zernio-sdk/models/food_menu.rb +9 -0
- data/lib/zernio-sdk/models/food_menu_item.rb +9 -0
- data/lib/zernio-sdk/models/food_menu_item_attributes.rb +53 -0
- data/lib/zernio-sdk/models/food_menu_item_options_inner.rb +43 -0
- data/lib/zernio-sdk/models/food_menu_section.rb +9 -0
- data/lib/zernio-sdk/models/get_telegram_commands200_response_data_inner.rb +67 -0
- data/lib/zernio-sdk/models/list_inbox_conversations200_response_data_inner.rb +1 -0
- data/lib/zernio-sdk/models/reply_to_google_business_review_request.rb +9 -0
- data/lib/zernio-sdk/models/select_linked_in_organization_request.rb +1 -1
- data/lib/zernio-sdk/models/select_linked_in_organization_request_selected_organization.rb +263 -0
- data/lib/zernio-sdk/models/set_instagram_ice_breakers_request.rb +9 -0
- data/lib/zernio-sdk/models/set_instagram_ice_breakers_request_ice_breakers_inner.rb +18 -0
- data/lib/zernio-sdk/models/set_reddit_post_flair_request.rb +27 -0
- data/lib/zernio-sdk/models/set_telegram_commands_request.rb +9 -0
- data/lib/zernio-sdk/models/set_telegram_commands_request_commands_inner.rb +47 -0
- data/lib/zernio-sdk/models/update_gmb_location_request.rb +61 -4
- data/lib/zernio-sdk/models/update_google_business_attributes_request.rb +9 -0
- data/lib/zernio-sdk/models/update_google_business_attributes_request_attributes_inner.rb +84 -4
- data/lib/zernio-sdk/models/update_google_business_attributes_request_attributes_inner_uri_values_inner.rb +164 -0
- data/lib/zernio-sdk/models/update_google_business_place_action_request.rb +0 -22
- data/lib/zernio-sdk/models/update_google_business_services_request_service_items_inner.rb +3 -3
- data/lib/zernio-sdk/models/update_google_business_services_request_service_items_inner_free_form_service_item.rb +199 -0
- data/lib/zernio-sdk/models/update_google_business_services_request_service_items_inner_free_form_service_item_label.rb +191 -0
- data/lib/zernio-sdk/models/update_google_business_services_request_service_items_inner_price.rb +203 -0
- data/lib/zernio-sdk/models/update_google_business_services_request_service_items_inner_structured_service_item.rb +182 -0
- data/lib/zernio-sdk/models/{get_linked_in_post_reactions400_response.rb → update_linked_in_organization200_response.rb} +33 -24
- data/lib/zernio-sdk/models/update_reddit_subreddits_request.rb +9 -0
- data/lib/zernio-sdk/models/update_youtube_default_playlist_request.rb +9 -0
- data/lib/zernio-sdk/version.rb +1 -1
- data/lib/zernio-sdk.rb +7 -1
- data/openapi.yaml +107 -52
- data/spec/api/analytics_api_spec.rb +1 -1
- data/spec/api/connect_api_spec.rb +1 -1
- data/spec/api/gmb_media_api_spec.rb +1 -1
- data/spec/models/create_google_business_media_request_spec.rb +1 -1
- data/spec/models/food_menu_item_attributes_spec.rb +4 -0
- data/spec/models/select_linked_in_organization_request_selected_organization_spec.rb +60 -0
- data/spec/models/update_gmb_location_request_spec.rb +6 -0
- data/spec/models/update_google_business_attributes_request_attributes_inner_spec.rb +16 -0
- data/spec/models/update_google_business_attributes_request_attributes_inner_uri_values_inner_spec.rb +36 -0
- data/spec/models/update_google_business_services_request_service_items_inner_free_form_service_item_label_spec.rb +48 -0
- data/spec/models/update_google_business_services_request_service_items_inner_free_form_service_item_spec.rb +42 -0
- data/spec/models/update_google_business_services_request_service_items_inner_price_spec.rb +48 -0
- data/spec/models/update_google_business_services_request_service_items_inner_structured_service_item_spec.rb +42 -0
- data/spec/models/{get_linked_in_post_reactions400_response_spec.rb → update_linked_in_organization200_response_spec.rb} +16 -10
- metadata +29 -5
- data/docs/GetLinkedInPostReactions400Response.md +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 01f9b341adf1e43235960ba8689a73b53f081f01ffe3bec397cf2b8d8720ef41
|
|
4
|
+
data.tar.gz: '09881fa5641f28b8ad8e5bf339a514f109ee222effd8e1c014958727e8be2420'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bcc00c9a20bd4ad01c9e84a7c962a029354e4f890f850900072035c18be4a648447453de570ce44ae38338e73efff3a4ee9510529f07eae2cf41fc79897e5d98
|
|
7
|
+
data.tar.gz: 4898f730f9b72e1f7486e6fd76a385a7fb7aa4c186acaee62c4b2f5ec3425721ca57110e68fdccea3319866e44c379abfdb62f41f0144e98980638bd9dd26d9b
|
data/README.md
CHANGED
|
@@ -1088,7 +1088,6 @@ Class | Method | HTTP request | Description
|
|
|
1088
1088
|
- [Zernio::GetLinkedInPostReactions200ResponsePagination](docs/GetLinkedInPostReactions200ResponsePagination.md)
|
|
1089
1089
|
- [Zernio::GetLinkedInPostReactions200ResponseReactionsInner](docs/GetLinkedInPostReactions200ResponseReactionsInner.md)
|
|
1090
1090
|
- [Zernio::GetLinkedInPostReactions200ResponseReactionsInnerFrom](docs/GetLinkedInPostReactions200ResponseReactionsInnerFrom.md)
|
|
1091
|
-
- [Zernio::GetLinkedInPostReactions400Response](docs/GetLinkedInPostReactions400Response.md)
|
|
1092
1091
|
- [Zernio::GetLinkedInSupplyForecast200Response](docs/GetLinkedInSupplyForecast200Response.md)
|
|
1093
1092
|
- [Zernio::GetLinkedInSupplyForecast200ResponseForecastInner](docs/GetLinkedInSupplyForecast200ResponseForecastInner.md)
|
|
1094
1093
|
- [Zernio::GetLinkedInSupplyForecast200ResponseForecastInnerTimeSeriesInner](docs/GetLinkedInSupplyForecast200ResponseForecastInnerTimeSeriesInner.md)
|
|
@@ -1544,6 +1543,7 @@ Class | Method | HTTP request | Description
|
|
|
1544
1543
|
- [Zernio::SelectLinkedInOrganization200ResponseAccount](docs/SelectLinkedInOrganization200ResponseAccount.md)
|
|
1545
1544
|
- [Zernio::SelectLinkedInOrganization200ResponseBulkRefresh](docs/SelectLinkedInOrganization200ResponseBulkRefresh.md)
|
|
1546
1545
|
- [Zernio::SelectLinkedInOrganizationRequest](docs/SelectLinkedInOrganizationRequest.md)
|
|
1546
|
+
- [Zernio::SelectLinkedInOrganizationRequestSelectedOrganization](docs/SelectLinkedInOrganizationRequestSelectedOrganization.md)
|
|
1547
1547
|
- [Zernio::SelectPinterestBoard200Response](docs/SelectPinterestBoard200Response.md)
|
|
1548
1548
|
- [Zernio::SelectPinterestBoard200ResponseAccount](docs/SelectPinterestBoard200ResponseAccount.md)
|
|
1549
1549
|
- [Zernio::SelectPinterestBoardRequest](docs/SelectPinterestBoardRequest.md)
|
|
@@ -1747,6 +1747,7 @@ Class | Method | HTTP request | Description
|
|
|
1747
1747
|
- [Zernio::UpdateGoogleBusinessAttributes200Response](docs/UpdateGoogleBusinessAttributes200Response.md)
|
|
1748
1748
|
- [Zernio::UpdateGoogleBusinessAttributesRequest](docs/UpdateGoogleBusinessAttributesRequest.md)
|
|
1749
1749
|
- [Zernio::UpdateGoogleBusinessAttributesRequestAttributesInner](docs/UpdateGoogleBusinessAttributesRequestAttributesInner.md)
|
|
1750
|
+
- [Zernio::UpdateGoogleBusinessAttributesRequestAttributesInnerUriValuesInner](docs/UpdateGoogleBusinessAttributesRequestAttributesInnerUriValuesInner.md)
|
|
1750
1751
|
- [Zernio::UpdateGoogleBusinessFoodMenus200Response](docs/UpdateGoogleBusinessFoodMenus200Response.md)
|
|
1751
1752
|
- [Zernio::UpdateGoogleBusinessFoodMenusRequest](docs/UpdateGoogleBusinessFoodMenusRequest.md)
|
|
1752
1753
|
- [Zernio::UpdateGoogleBusinessLocationDetails200Response](docs/UpdateGoogleBusinessLocationDetails200Response.md)
|
|
@@ -1766,9 +1767,14 @@ Class | Method | HTTP request | Description
|
|
|
1766
1767
|
- [Zernio::UpdateGoogleBusinessServices200Response](docs/UpdateGoogleBusinessServices200Response.md)
|
|
1767
1768
|
- [Zernio::UpdateGoogleBusinessServicesRequest](docs/UpdateGoogleBusinessServicesRequest.md)
|
|
1768
1769
|
- [Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInner](docs/UpdateGoogleBusinessServicesRequestServiceItemsInner.md)
|
|
1770
|
+
- [Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItem](docs/UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItem.md)
|
|
1771
|
+
- [Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItemLabel](docs/UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItemLabel.md)
|
|
1772
|
+
- [Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerPrice](docs/UpdateGoogleBusinessServicesRequestServiceItemsInnerPrice.md)
|
|
1773
|
+
- [Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerStructuredServiceItem](docs/UpdateGoogleBusinessServicesRequestServiceItemsInnerStructuredServiceItem.md)
|
|
1769
1774
|
- [Zernio::UpdateInboxConversation200Response](docs/UpdateInboxConversation200Response.md)
|
|
1770
1775
|
- [Zernio::UpdateInboxConversation200ResponseData](docs/UpdateInboxConversation200ResponseData.md)
|
|
1771
1776
|
- [Zernio::UpdateInboxConversationRequest](docs/UpdateInboxConversationRequest.md)
|
|
1777
|
+
- [Zernio::UpdateLinkedInOrganization200Response](docs/UpdateLinkedInOrganization200Response.md)
|
|
1772
1778
|
- [Zernio::UpdateLinkedInOrganizationRequest](docs/UpdateLinkedInOrganizationRequest.md)
|
|
1773
1779
|
- [Zernio::UpdatePinterestBoardsRequest](docs/UpdatePinterestBoardsRequest.md)
|
|
1774
1780
|
- [Zernio::UpdatePostMetadata200Response](docs/UpdatePostMetadata200Response.md)
|
data/docs/AnalyticsApi.md
CHANGED
|
@@ -1229,7 +1229,7 @@ account_id = 'account_id_example' # String | The ID of the LinkedIn organization
|
|
|
1229
1229
|
urn = 'urn:li:share:7123456789012345678' # String | The LinkedIn post URN
|
|
1230
1230
|
opts = {
|
|
1231
1231
|
limit: 56, # Integer | Maximum number of reactions to return per page
|
|
1232
|
-
cursor:
|
|
1232
|
+
cursor: 56 # Integer | Offset-based pagination start index
|
|
1233
1233
|
}
|
|
1234
1234
|
|
|
1235
1235
|
begin
|
|
@@ -1266,7 +1266,7 @@ end
|
|
|
1266
1266
|
| **account_id** | **String** | The ID of the LinkedIn organization account | |
|
|
1267
1267
|
| **urn** | **String** | The LinkedIn post URN | |
|
|
1268
1268
|
| **limit** | **Integer** | Maximum number of reactions to return per page | [optional][default to 25] |
|
|
1269
|
-
| **cursor** | **
|
|
1269
|
+
| **cursor** | **Integer** | Offset-based pagination start index | [optional][default to 0] |
|
|
1270
1270
|
|
|
1271
1271
|
### Return type
|
|
1272
1272
|
|
data/docs/ConnectApi.md
CHANGED
|
@@ -2570,7 +2570,7 @@ end
|
|
|
2570
2570
|
|
|
2571
2571
|
## update_linked_in_organization
|
|
2572
2572
|
|
|
2573
|
-
> <
|
|
2573
|
+
> <UpdateLinkedInOrganization200Response> update_linked_in_organization(account_id, update_linked_in_organization_request)
|
|
2574
2574
|
|
|
2575
2575
|
Switch LinkedIn account type
|
|
2576
2576
|
|
|
@@ -2604,7 +2604,7 @@ end
|
|
|
2604
2604
|
|
|
2605
2605
|
This returns an Array which contains the response data, status code and headers.
|
|
2606
2606
|
|
|
2607
|
-
> <Array(<
|
|
2607
|
+
> <Array(<UpdateLinkedInOrganization200Response>, Integer, Hash)> update_linked_in_organization_with_http_info(account_id, update_linked_in_organization_request)
|
|
2608
2608
|
|
|
2609
2609
|
```ruby
|
|
2610
2610
|
begin
|
|
@@ -2612,7 +2612,7 @@ begin
|
|
|
2612
2612
|
data, status_code, headers = api_instance.update_linked_in_organization_with_http_info(account_id, update_linked_in_organization_request)
|
|
2613
2613
|
p status_code # => 2xx
|
|
2614
2614
|
p headers # => { ... }
|
|
2615
|
-
p data # => <
|
|
2615
|
+
p data # => <UpdateLinkedInOrganization200Response>
|
|
2616
2616
|
rescue Zernio::ApiError => e
|
|
2617
2617
|
puts "Error when calling ConnectApi->update_linked_in_organization_with_http_info: #{e}"
|
|
2618
2618
|
end
|
|
@@ -2627,7 +2627,7 @@ end
|
|
|
2627
2627
|
|
|
2628
2628
|
### Return type
|
|
2629
2629
|
|
|
2630
|
-
[**
|
|
2630
|
+
[**UpdateLinkedInOrganization200Response**](UpdateLinkedInOrganization200Response.md)
|
|
2631
2631
|
|
|
2632
2632
|
### Authorization
|
|
2633
2633
|
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **labels** | [**Array<FoodMenuLabel>**](FoodMenuLabel.md) | |
|
|
8
|
-
| **attributes** | [**FoodMenuItemAttributes**](FoodMenuItemAttributes.md) | |
|
|
7
|
+
| **labels** | [**Array<FoodMenuLabel>**](FoodMenuLabel.md) | | |
|
|
8
|
+
| **attributes** | [**FoodMenuItemAttributes**](FoodMenuItemAttributes.md) | | |
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
data/docs/GMBAttributesApi.md
CHANGED
|
@@ -186,7 +186,7 @@ end
|
|
|
186
186
|
|
|
187
187
|
api_instance = Zernio::GMBAttributesApi.new
|
|
188
188
|
account_id = 'account_id_example' # String |
|
|
189
|
-
update_google_business_attributes_request = Zernio::UpdateGoogleBusinessAttributesRequest.new({attributes: [Zernio::UpdateGoogleBusinessAttributesRequestAttributesInner.new], attribute_mask: 'attribute_mask_example'}) # UpdateGoogleBusinessAttributesRequest |
|
|
189
|
+
update_google_business_attributes_request = Zernio::UpdateGoogleBusinessAttributesRequest.new({attributes: [Zernio::UpdateGoogleBusinessAttributesRequestAttributesInner.new({name: 'name_example'})], attribute_mask: 'attribute_mask_example'}) # UpdateGoogleBusinessAttributesRequest |
|
|
190
190
|
opts = {
|
|
191
191
|
location_id: 'location_id_example' # String | Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
|
|
192
192
|
}
|
data/docs/GMBMediaApi.md
CHANGED
|
@@ -15,7 +15,7 @@ All URIs are relative to *https://zernio.com/api*
|
|
|
15
15
|
|
|
16
16
|
Upload photo
|
|
17
17
|
|
|
18
|
-
Creates a media item (photo) for a location from a publicly accessible URL. Categories determine where the photo appears: COVER, PROFILE, LOGO, EXTERIOR, INTERIOR, FOOD_AND_DRINK, MENU,
|
|
18
|
+
Creates a media item (photo) for a location from a publicly accessible URL. Categories determine where the photo appears: CATEGORY_UNSPECIFIED, COVER, PROFILE, LOGO, EXTERIOR, INTERIOR, PRODUCT, FOOD_AND_DRINK, MENU, COMMON_AREA, ROOMS, TEAMS, AT_WORK, ADDITIONAL.
|
|
19
19
|
|
|
20
20
|
### Examples
|
|
21
21
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **id** | **String** |
|
|
7
|
+
| **id** | **String** | Opaque conversation identifier. Pass it back verbatim to any /v1/inbox/conversations/{conversationId} route; do not assume a fixed format. | [optional] |
|
|
8
8
|
| **platform** | **String** | | [optional] |
|
|
9
9
|
| **account_id** | **String** | | [optional] |
|
|
10
10
|
| **account_username** | **String** | | [optional] |
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
| **temp_token** | **String** | | |
|
|
9
9
|
| **user_profile** | **Object** | | |
|
|
10
10
|
| **account_type** | **String** | | |
|
|
11
|
-
| **selected_organization** | **
|
|
11
|
+
| **selected_organization** | [**SelectLinkedInOrganizationRequestSelectedOrganization**](SelectLinkedInOrganizationRequestSelectedOrganization.md) | | [optional] |
|
|
12
12
|
| **redirect_url** | **String** | | [optional] |
|
|
13
13
|
|
|
14
14
|
## Example
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Zernio::SelectLinkedInOrganizationRequestSelectedOrganization
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **id** | **String** | | |
|
|
8
|
+
| **urn** | **String** | | |
|
|
9
|
+
| **name** | **String** | | |
|
|
10
|
+
| **logo_url** | **String** | | [optional] |
|
|
11
|
+
| **vanity_name** | **String** | | [optional] |
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```ruby
|
|
16
|
+
require 'zernio-sdk'
|
|
17
|
+
|
|
18
|
+
instance = Zernio::SelectLinkedInOrganizationRequestSelectedOrganization.new(
|
|
19
|
+
id: null,
|
|
20
|
+
urn: null,
|
|
21
|
+
name: null,
|
|
22
|
+
logo_url: null,
|
|
23
|
+
vanity_name: null
|
|
24
|
+
)
|
|
25
|
+
```
|
|
26
|
+
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
7
|
| **selected_location_id** | **String** | | |
|
|
8
8
|
| **google_account_id** | **String** | Optional but recommended. The Google Business Account resource name (\"accounts/123\") that owns the new location (from GET gmb-locations). When provided, the location is resolved directly instead of by enumerating the account, which is required for accounts with many locations. Named `googleAccountId` to disambiguate from the path `accountId` (the Zernio account). The legacy field name `accountId` is still accepted for backwards compatibility. | [optional] |
|
|
9
|
+
| **account_id** | **String** | Legacy alias for googleAccountId. Use googleAccountId for new integrations. | [optional] |
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
@@ -14,7 +15,8 @@ require 'zernio-sdk'
|
|
|
14
15
|
|
|
15
16
|
instance = Zernio::UpdateGmbLocationRequest.new(
|
|
16
17
|
selected_location_id: null,
|
|
17
|
-
google_account_id: null
|
|
18
|
+
google_account_id: null,
|
|
19
|
+
account_id: null
|
|
18
20
|
)
|
|
19
21
|
```
|
|
20
22
|
|
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **name** | **String** | |
|
|
7
|
+
| **name** | **String** | | |
|
|
8
|
+
| **value_type** | **String** | | [optional] |
|
|
8
9
|
| **values** | **Array<Object>** | | [optional] |
|
|
9
10
|
| **repeated_enum_value** | [**GetGoogleBusinessAttributes200ResponseAttributesInnerRepeatedEnumValue**](GetGoogleBusinessAttributes200ResponseAttributesInnerRepeatedEnumValue.md) | | [optional] |
|
|
11
|
+
| **uri_values** | [**Array<UpdateGoogleBusinessAttributesRequestAttributesInnerUriValuesInner>**](UpdateGoogleBusinessAttributesRequestAttributesInnerUriValuesInner.md) | | [optional] |
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -15,8 +17,10 @@ require 'zernio-sdk'
|
|
|
15
17
|
|
|
16
18
|
instance = Zernio::UpdateGoogleBusinessAttributesRequestAttributesInner.new(
|
|
17
19
|
name: null,
|
|
20
|
+
value_type: null,
|
|
18
21
|
values: null,
|
|
19
|
-
repeated_enum_value: null
|
|
22
|
+
repeated_enum_value: null,
|
|
23
|
+
uri_values: null
|
|
20
24
|
)
|
|
21
25
|
```
|
|
22
26
|
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessAttributesRequestAttributesInnerUriValuesInner
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **uri** | **String** | | |
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'zernio-sdk'
|
|
13
|
+
|
|
14
|
+
instance = Zernio::UpdateGoogleBusinessAttributesRequestAttributesInnerUriValuesInner.new(
|
|
15
|
+
uri: null
|
|
16
|
+
)
|
|
17
|
+
```
|
|
18
|
+
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
| Name | Type | Description | Notes |
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
|
7
|
-
| **structured_service_item** | [**
|
|
8
|
-
| **free_form_service_item** | [**
|
|
9
|
-
| **price** | [**
|
|
7
|
+
| **structured_service_item** | [**UpdateGoogleBusinessServicesRequestServiceItemsInnerStructuredServiceItem**](UpdateGoogleBusinessServicesRequestServiceItemsInnerStructuredServiceItem.md) | | [optional] |
|
|
8
|
+
| **free_form_service_item** | [**UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItem**](UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItem.md) | | [optional] |
|
|
9
|
+
| **price** | [**UpdateGoogleBusinessServicesRequestServiceItemsInnerPrice**](UpdateGoogleBusinessServicesRequestServiceItemsInnerPrice.md) | | [optional] |
|
|
10
10
|
|
|
11
11
|
## Example
|
|
12
12
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItem
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **category** | **String** | | |
|
|
8
|
+
| **label** | [**UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItemLabel**](UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItemLabel.md) | | |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'zernio-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItem.new(
|
|
16
|
+
category: null,
|
|
17
|
+
label: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItemLabel
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **display_name** | **String** | | |
|
|
8
|
+
| **description** | **String** | | [optional] |
|
|
9
|
+
| **language_code** | **String** | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'zernio-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerFreeFormServiceItemLabel.new(
|
|
17
|
+
display_name: null,
|
|
18
|
+
description: null,
|
|
19
|
+
language_code: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerPrice
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **currency_code** | **String** | | [optional] |
|
|
8
|
+
| **units** | **String** | | [optional] |
|
|
9
|
+
| **nanos** | **Integer** | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'zernio-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerPrice.new(
|
|
17
|
+
currency_code: null,
|
|
18
|
+
units: null,
|
|
19
|
+
nanos: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerStructuredServiceItem
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **service_type_id** | **String** | | |
|
|
8
|
+
| **description** | **String** | | [optional] |
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```ruby
|
|
13
|
+
require 'zernio-sdk'
|
|
14
|
+
|
|
15
|
+
instance = Zernio::UpdateGoogleBusinessServicesRequestServiceItemsInnerStructuredServiceItem.new(
|
|
16
|
+
service_type_id: null,
|
|
17
|
+
description: null
|
|
18
|
+
)
|
|
19
|
+
```
|
|
20
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Zernio::UpdateLinkedInOrganization200Response
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
|
|
5
|
+
| Name | Type | Description | Notes |
|
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
|
7
|
+
| **message** | **String** | | [optional] |
|
|
8
|
+
| **account_type** | **String** | | [optional] |
|
|
9
|
+
| **account_name** | **String** | | [optional] |
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```ruby
|
|
14
|
+
require 'zernio-sdk'
|
|
15
|
+
|
|
16
|
+
instance = Zernio::UpdateLinkedInOrganization200Response.new(
|
|
17
|
+
message: null,
|
|
18
|
+
account_type: null,
|
|
19
|
+
account_name: null
|
|
20
|
+
)
|
|
21
|
+
```
|
|
22
|
+
|
|
@@ -1223,7 +1223,7 @@ module Zernio
|
|
|
1223
1223
|
# @param urn [String] The LinkedIn post URN
|
|
1224
1224
|
# @param [Hash] opts the optional parameters
|
|
1225
1225
|
# @option opts [Integer] :limit Maximum number of reactions to return per page (default to 25)
|
|
1226
|
-
# @option opts [
|
|
1226
|
+
# @option opts [Integer] :cursor Offset-based pagination start index (default to 0)
|
|
1227
1227
|
# @return [GetLinkedInPostReactions200Response]
|
|
1228
1228
|
def get_linked_in_post_reactions(account_id, urn, opts = {})
|
|
1229
1229
|
data, _status_code, _headers = get_linked_in_post_reactions_with_http_info(account_id, urn, opts)
|
|
@@ -1236,7 +1236,7 @@ module Zernio
|
|
|
1236
1236
|
# @param urn [String] The LinkedIn post URN
|
|
1237
1237
|
# @param [Hash] opts the optional parameters
|
|
1238
1238
|
# @option opts [Integer] :limit Maximum number of reactions to return per page (default to 25)
|
|
1239
|
-
# @option opts [
|
|
1239
|
+
# @option opts [Integer] :cursor Offset-based pagination start index (default to 0)
|
|
1240
1240
|
# @return [Array<(GetLinkedInPostReactions200Response, Integer, Hash)>] GetLinkedInPostReactions200Response data, response status code and response headers
|
|
1241
1241
|
def get_linked_in_post_reactions_with_http_info(account_id, urn, opts = {})
|
|
1242
1242
|
if @api_client.config.debugging
|
|
@@ -1250,6 +1250,11 @@ module Zernio
|
|
|
1250
1250
|
if @api_client.config.client_side_validation && urn.nil?
|
|
1251
1251
|
fail ArgumentError, "Missing the required parameter 'urn' when calling AnalyticsApi.get_linked_in_post_reactions"
|
|
1252
1252
|
end
|
|
1253
|
+
pattern = Regexp.new(/^urn:li:(share|ugcPost|activity):[0-9]+$/)
|
|
1254
|
+
if @api_client.config.client_side_validation && urn !~ pattern
|
|
1255
|
+
fail ArgumentError, "invalid value for 'urn' when calling AnalyticsApi.get_linked_in_post_reactions, must conform to the pattern #{pattern}."
|
|
1256
|
+
end
|
|
1257
|
+
|
|
1253
1258
|
if @api_client.config.client_side_validation && !opts[:'limit'].nil? && opts[:'limit'] > 100
|
|
1254
1259
|
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling AnalyticsApi.get_linked_in_post_reactions, must be smaller than or equal to 100.'
|
|
1255
1260
|
end
|
|
@@ -1258,6 +1263,10 @@ module Zernio
|
|
|
1258
1263
|
fail ArgumentError, 'invalid value for "opts[:"limit"]" when calling AnalyticsApi.get_linked_in_post_reactions, must be greater than or equal to 1.'
|
|
1259
1264
|
end
|
|
1260
1265
|
|
|
1266
|
+
if @api_client.config.client_side_validation && !opts[:'cursor'].nil? && opts[:'cursor'] < 0
|
|
1267
|
+
fail ArgumentError, 'invalid value for "opts[:"cursor"]" when calling AnalyticsApi.get_linked_in_post_reactions, must be greater than or equal to 0.'
|
|
1268
|
+
end
|
|
1269
|
+
|
|
1261
1270
|
# resource path
|
|
1262
1271
|
local_var_path = '/v1/accounts/{accountId}/linkedin-post-reactions'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
|
|
1263
1272
|
|
|
@@ -1045,6 +1045,10 @@ module Zernio
|
|
|
1045
1045
|
if @api_client.config.client_side_validation && subreddit.nil?
|
|
1046
1046
|
fail ArgumentError, "Missing the required parameter 'subreddit' when calling ConnectApi.get_reddit_flairs"
|
|
1047
1047
|
end
|
|
1048
|
+
if @api_client.config.client_side_validation && subreddit.to_s.length < 1
|
|
1049
|
+
fail ArgumentError, 'invalid value for "subreddit" when calling ConnectApi.get_reddit_flairs, the character length must be greater than or equal to 1.'
|
|
1050
|
+
end
|
|
1051
|
+
|
|
1048
1052
|
# resource path
|
|
1049
1053
|
local_var_path = '/v1/accounts/{accountId}/reddit-flairs'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
|
|
1050
1054
|
|
|
@@ -2501,7 +2505,7 @@ module Zernio
|
|
|
2501
2505
|
# @param account_id [String]
|
|
2502
2506
|
# @param update_linked_in_organization_request [UpdateLinkedInOrganizationRequest]
|
|
2503
2507
|
# @param [Hash] opts the optional parameters
|
|
2504
|
-
# @return [
|
|
2508
|
+
# @return [UpdateLinkedInOrganization200Response]
|
|
2505
2509
|
def update_linked_in_organization(account_id, update_linked_in_organization_request, opts = {})
|
|
2506
2510
|
data, _status_code, _headers = update_linked_in_organization_with_http_info(account_id, update_linked_in_organization_request, opts)
|
|
2507
2511
|
data
|
|
@@ -2512,7 +2516,7 @@ module Zernio
|
|
|
2512
2516
|
# @param account_id [String]
|
|
2513
2517
|
# @param update_linked_in_organization_request [UpdateLinkedInOrganizationRequest]
|
|
2514
2518
|
# @param [Hash] opts the optional parameters
|
|
2515
|
-
# @return [Array<(
|
|
2519
|
+
# @return [Array<(UpdateLinkedInOrganization200Response, Integer, Hash)>] UpdateLinkedInOrganization200Response data, response status code and response headers
|
|
2516
2520
|
def update_linked_in_organization_with_http_info(account_id, update_linked_in_organization_request, opts = {})
|
|
2517
2521
|
if @api_client.config.debugging
|
|
2518
2522
|
@api_client.config.logger.debug 'Calling API: ConnectApi.update_linked_in_organization ...'
|
|
@@ -2548,7 +2552,7 @@ module Zernio
|
|
|
2548
2552
|
post_body = opts[:debug_body] || @api_client.object_to_http_body(update_linked_in_organization_request)
|
|
2549
2553
|
|
|
2550
2554
|
# return_type
|
|
2551
|
-
return_type = opts[:debug_return_type] || '
|
|
2555
|
+
return_type = opts[:debug_return_type] || 'UpdateLinkedInOrganization200Response'
|
|
2552
2556
|
|
|
2553
2557
|
# auth_names
|
|
2554
2558
|
auth_names = opts[:debug_auth_names] || ['bearerAuth']
|
|
@@ -20,7 +20,7 @@ module Zernio
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Upload photo
|
|
23
|
-
# Creates a media item (photo) for a location from a publicly accessible URL. Categories determine where the photo appears: COVER, PROFILE, LOGO, EXTERIOR, INTERIOR, FOOD_AND_DRINK, MENU,
|
|
23
|
+
# Creates a media item (photo) for a location from a publicly accessible URL. Categories determine where the photo appears: CATEGORY_UNSPECIFIED, COVER, PROFILE, LOGO, EXTERIOR, INTERIOR, PRODUCT, FOOD_AND_DRINK, MENU, COMMON_AREA, ROOMS, TEAMS, AT_WORK, ADDITIONAL.
|
|
24
24
|
# @param account_id [String]
|
|
25
25
|
# @param create_google_business_media_request [CreateGoogleBusinessMediaRequest]
|
|
26
26
|
# @param [Hash] opts the optional parameters
|
|
@@ -32,7 +32,7 @@ module Zernio
|
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
# Upload photo
|
|
35
|
-
# Creates a media item (photo) for a location from a publicly accessible URL. Categories determine where the photo appears: COVER, PROFILE, LOGO, EXTERIOR, INTERIOR, FOOD_AND_DRINK, MENU,
|
|
35
|
+
# Creates a media item (photo) for a location from a publicly accessible URL. Categories determine where the photo appears: CATEGORY_UNSPECIFIED, COVER, PROFILE, LOGO, EXTERIOR, INTERIOR, PRODUCT, FOOD_AND_DRINK, MENU, COMMON_AREA, ROOMS, TEAMS, AT_WORK, ADDITIONAL.
|
|
36
36
|
# @param account_id [String]
|
|
37
37
|
# @param create_google_business_media_request [CreateGoogleBusinessMediaRequest]
|
|
38
38
|
# @param [Hash] opts the optional parameters
|
|
@@ -202,6 +202,10 @@ module Zernio
|
|
|
202
202
|
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling GMBMediaApi.list_google_business_media, must be smaller than or equal to 100.'
|
|
203
203
|
end
|
|
204
204
|
|
|
205
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
|
|
206
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling GMBMediaApi.list_google_business_media, must be greater than or equal to 1.'
|
|
207
|
+
end
|
|
208
|
+
|
|
205
209
|
# resource path
|
|
206
210
|
local_var_path = '/v1/accounts/{accountId}/gmb-media'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
|
|
207
211
|
|
|
@@ -202,6 +202,10 @@ module Zernio
|
|
|
202
202
|
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling GMBPlaceActionsApi.list_google_business_place_actions, must be smaller than or equal to 100.'
|
|
203
203
|
end
|
|
204
204
|
|
|
205
|
+
if @api_client.config.client_side_validation && !opts[:'page_size'].nil? && opts[:'page_size'] < 1
|
|
206
|
+
fail ArgumentError, 'invalid value for "opts[:"page_size"]" when calling GMBPlaceActionsApi.list_google_business_place_actions, must be greater than or equal to 1.'
|
|
207
|
+
end
|
|
208
|
+
|
|
205
209
|
# resource path
|
|
206
210
|
local_var_path = '/v1/accounts/{accountId}/gmb-place-actions'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
|
|
207
211
|
|
|
@@ -272,10 +276,6 @@ module Zernio
|
|
|
272
276
|
if @api_client.config.client_side_validation && account_id.nil?
|
|
273
277
|
fail ArgumentError, "Missing the required parameter 'account_id' when calling GMBPlaceActionsApi.update_google_business_place_action"
|
|
274
278
|
end
|
|
275
|
-
# verify the required parameter 'update_google_business_place_action_request' is set
|
|
276
|
-
if @api_client.config.client_side_validation && update_google_business_place_action_request.nil?
|
|
277
|
-
fail ArgumentError, "Missing the required parameter 'update_google_business_place_action_request' when calling GMBPlaceActionsApi.update_google_business_place_action"
|
|
278
|
-
end
|
|
279
279
|
# resource path
|
|
280
280
|
local_var_path = '/v1/accounts/{accountId}/gmb-place-actions'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
|
|
281
281
|
|
|
@@ -56,6 +56,10 @@ module Zernio
|
|
|
56
56
|
if @api_client.config.client_side_validation && complete_google_business_verification_request.nil?
|
|
57
57
|
fail ArgumentError, "Missing the required parameter 'complete_google_business_verification_request' when calling GMBVerificationsApi.complete_google_business_verification"
|
|
58
58
|
end
|
|
59
|
+
if @api_client.config.client_side_validation && !opts[:'location_id'].nil? && opts[:'location_id'].to_s.length < 1
|
|
60
|
+
fail ArgumentError, 'invalid value for "opts[:"location_id"]" when calling GMBVerificationsApi.complete_google_business_verification, the character length must be greater than or equal to 1.'
|
|
61
|
+
end
|
|
62
|
+
|
|
59
63
|
# resource path
|
|
60
64
|
local_var_path = '/v1/accounts/{accountId}/gmb-verifications/{verificationId}/complete'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s)).sub('{' + 'verificationId' + '}', CGI.escape(verification_id.to_s))
|
|
61
65
|
|
|
@@ -133,6 +137,10 @@ module Zernio
|
|
|
133
137
|
if @api_client.config.client_side_validation && fetch_google_business_verification_options_request.nil?
|
|
134
138
|
fail ArgumentError, "Missing the required parameter 'fetch_google_business_verification_options_request' when calling GMBVerificationsApi.fetch_google_business_verification_options"
|
|
135
139
|
end
|
|
140
|
+
if @api_client.config.client_side_validation && !opts[:'location_id'].nil? && opts[:'location_id'].to_s.length < 1
|
|
141
|
+
fail ArgumentError, 'invalid value for "opts[:"location_id"]" when calling GMBVerificationsApi.fetch_google_business_verification_options, the character length must be greater than or equal to 1.'
|
|
142
|
+
end
|
|
143
|
+
|
|
136
144
|
# resource path
|
|
137
145
|
local_var_path = '/v1/accounts/{accountId}/gmb-verifications/options'.sub('{' + 'accountId' + '}', CGI.escape(account_id.to_s))
|
|
138
146
|
|
|
@@ -102,10 +102,22 @@ module Zernio
|
|
|
102
102
|
invalid_properties.push('invalid value for "location_names", location_names cannot be nil.')
|
|
103
103
|
end
|
|
104
104
|
|
|
105
|
+
if @location_names.length < 1
|
|
106
|
+
invalid_properties.push('invalid value for "location_names", number of items must be greater than or equal to 1.')
|
|
107
|
+
end
|
|
108
|
+
|
|
105
109
|
if !@page_size.nil? && @page_size > 50
|
|
106
110
|
invalid_properties.push('invalid value for "page_size", must be smaller than or equal to 50.')
|
|
107
111
|
end
|
|
108
112
|
|
|
113
|
+
if !@page_size.nil? && @page_size < 1
|
|
114
|
+
invalid_properties.push('invalid value for "page_size", must be greater than or equal to 1.')
|
|
115
|
+
end
|
|
116
|
+
|
|
117
|
+
if !@page_token.nil? && @page_token.to_s.length < 1
|
|
118
|
+
invalid_properties.push('invalid value for "page_token", the character length must be greater than or equal to 1.')
|
|
119
|
+
end
|
|
120
|
+
|
|
109
121
|
invalid_properties
|
|
110
122
|
end
|
|
111
123
|
|
|
@@ -114,7 +126,10 @@ module Zernio
|
|
|
114
126
|
def valid?
|
|
115
127
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
116
128
|
return false if @location_names.nil?
|
|
129
|
+
return false if @location_names.length < 1
|
|
117
130
|
return false if !@page_size.nil? && @page_size > 50
|
|
131
|
+
return false if !@page_size.nil? && @page_size < 1
|
|
132
|
+
return false if !@page_token.nil? && @page_token.to_s.length < 1
|
|
118
133
|
true
|
|
119
134
|
end
|
|
120
135
|
|
|
@@ -125,6 +140,10 @@ module Zernio
|
|
|
125
140
|
fail ArgumentError, 'location_names cannot be nil'
|
|
126
141
|
end
|
|
127
142
|
|
|
143
|
+
if location_names.length < 1
|
|
144
|
+
fail ArgumentError, 'invalid value for "location_names", number of items must be greater than or equal to 1.'
|
|
145
|
+
end
|
|
146
|
+
|
|
128
147
|
@location_names = location_names
|
|
129
148
|
end
|
|
130
149
|
|
|
@@ -139,9 +158,27 @@ module Zernio
|
|
|
139
158
|
fail ArgumentError, 'invalid value for "page_size", must be smaller than or equal to 50.'
|
|
140
159
|
end
|
|
141
160
|
|
|
161
|
+
if page_size < 1
|
|
162
|
+
fail ArgumentError, 'invalid value for "page_size", must be greater than or equal to 1.'
|
|
163
|
+
end
|
|
164
|
+
|
|
142
165
|
@page_size = page_size
|
|
143
166
|
end
|
|
144
167
|
|
|
168
|
+
# Custom attribute writer method with validation
|
|
169
|
+
# @param [Object] page_token Value to be assigned
|
|
170
|
+
def page_token=(page_token)
|
|
171
|
+
if page_token.nil?
|
|
172
|
+
fail ArgumentError, 'page_token cannot be nil'
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
if page_token.to_s.length < 1
|
|
176
|
+
fail ArgumentError, 'invalid value for "page_token", the character length must be greater than or equal to 1.'
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
@page_token = page_token
|
|
180
|
+
end
|
|
181
|
+
|
|
145
182
|
# Checks equality by comparing each attribute.
|
|
146
183
|
# @param [Object] Object to be compared
|
|
147
184
|
def ==(o)
|