diff --git a/openapi/normalized/justserpapi-openapi.json b/openapi/normalized/justserpapi-openapi.json index 36d6a2cfd..e090ae0d8 100644 --- a/openapi/normalized/justserpapi-openapi.json +++ b/openapi/normalized/justserpapi-openapi.json @@ -270,22 +270,32 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" }, { "name": "result_time", @@ -352,10 +362,17 @@ { "name": "hours", "in": "query", - "description": "Time window for trending topics. Supported values: '4' (past 4 hours), '24' (past 24 hours), '48' (past 48 hours), '168' (past 7 days).", + "description": "Time window for trending topics.\n\nAvailable Values:\n- `PAST_4_HOURS`: Past 4 hours. Legacy value `4` is also accepted.\n- `PAST_24_HOURS`: Past 24 hours. Legacy value `24` is also accepted.\n- `PAST_48_HOURS`: Past 48 hours. Legacy value `48` is also accepted.\n- `PAST_7_DAYS`: Past 7 days. Legacy value `168` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Trends trending-now time window.", + "enum": [ + "PAST_4_HOURS", + "PAST_24_HOURS", + "PAST_48_HOURS", + "PAST_7_DAYS" + ] } }, { @@ -443,19 +460,31 @@ { "name": "region", "in": "query", - "description": "Refines results for region charts. Supported values: 'COUNTRY', 'REGION', 'DMA', 'CITY'.", + "description": "Refines results for region charts.\n\nAvailable Values:\n- `COUNTRY`: Country-level results.\n- `REGION`: Region-level results.\n- `DMA`: Designated market area results.\n- `CITY`: City-level results.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Trends region chart refinement.", + "enum": [ + "COUNTRY", + "REGION", + "DMA", + "CITY" + ] } }, { "name": "data_type", "in": "query", - "description": "The type of trend data to retrieve. Supported values: 'TIMESERIES' (Interest over time), 'GEO_MAP' (Breakdown by region).", + "description": "The type of trend data to retrieve.\n\nAvailable Values:\n- `INTEREST_OVER_TIME`: Interest over time. Legacy value `TIMESERIES` is also accepted.\n- `REGION_BREAKDOWN`: Breakdown by region. Legacy value `GEO_MAP` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Trends data type.", + "enum": [ + "INTEREST_OVER_TIME", + "REGION_BREAKDOWN" + ] } }, { @@ -481,10 +510,17 @@ { "name": "gprop", "in": "query", - "description": "The Google property to filter trends. Supported values: 'images', 'news', 'froogle' (Shopping), 'youtube'.", + "description": "The Google property to filter trends.\n\nAvailable Values:\n- `IMAGES`: Google Images. Legacy value `images` is also accepted.\n- `NEWS`: Google News. Legacy value `news` is also accepted.\n- `SHOPPING`: Google Shopping. Legacy value `froogle` is also accepted.\n- `YOUTUBE`: YouTube. Legacy value `youtube` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Trends property filter.", + "enum": [ + "IMAGES", + "NEWS", + "SHOPPING", + "YOUTUBE" + ] } }, { @@ -693,22 +729,32 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" } ], "responses": { @@ -853,22 +899,32 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" } ], "responses": { @@ -1076,30 +1132,45 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" }, { "name": "filter", "in": "query", - "description": "Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable.", + "description": "Toggle similar-results and omitted-results filtering.\n\nAvailable Values:\n- `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted.\n- `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google result filter toggle.", + "enum": [ + "DISABLED", + "ENABLED" + ] } } ], @@ -1308,30 +1379,45 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" }, { "name": "filter", "in": "query", - "description": "Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable.", + "description": "Toggle similar-results and omitted-results filtering.\n\nAvailable Values:\n- `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted.\n- `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google result filter toggle.", + "enum": [ + "DISABLED", + "ENABLED" + ] } } ], @@ -1540,30 +1626,45 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" }, { "name": "filter", "in": "query", - "description": "Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable.", + "description": "Toggle similar-results and omitted-results filtering.\n\nAvailable Values:\n- `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted.\n- `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google result filter toggle.", + "enum": [ + "DISABLED", + "ENABLED" + ] } } ], @@ -1607,14 +1708,14 @@ "Google" ], "summary": "Search", - "description": "Get Google scholar Search data, including papers, patents, and legal docs, citation and year filters, and versions and cited-by links, for literature review and academic result monitoring.", + "description": "Search Google Scholar papers, patents, legal documents, citations, and article versions for literature review and academic monitoring. Provide query, cites, or cluster; cluster cannot be combined with query or cites.", "operationId": "ScholarSearch", "parameters": [ { "name": "query", "in": "query", - "description": "The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'.", - "required": true, + "description": "The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. Required unless cites or cluster is provided, and cannot be combined with cluster.", + "required": false, "schema": { "type": "string" } @@ -1632,7 +1733,7 @@ { "name": "cites", "in": "query", - "description": "Return articles that cite the article with the specified ID.", + "description": "Return articles that cite the article with the specified ID. Can be used alone or with query, but cannot be combined with cluster.", "required": false, "schema": { "type": "string" @@ -1659,16 +1760,21 @@ { "name": "scisbd", "in": "query", - "description": "Controls whether to return only abstract results (1) or all results (0).", + "description": "Controls whether to return only abstract results or all results.\n\nAvailable Values:\n- `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted.\n- `ABSTRACT_RESULTS_ONLY`: Return abstract results only. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Scholar abstract-result filter.", + "enum": [ + "ALL_RESULTS", + "ABSTRACT_RESULTS_ONLY" + ] } }, { "name": "cluster", "in": "query", - "description": "The unique ID of an article cluster to retrieve all versions of a specific work.", + "description": "The unique ID of an article cluster to retrieve all versions of a specific work. Cannot be combined with query or cites.", "required": false, "schema": { "type": "string" @@ -1727,12 +1833,17 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "filter", @@ -1746,19 +1857,29 @@ { "name": "as_vis", "in": "query", - "description": "Controls whether citations are included in the results: 1 = exclude, 0 (default) = include.", + "description": "Controls whether citations are included in the results.\n\nAvailable Values:\n- `INCLUDE_CITATIONS`: Include citations in the results. Legacy value `0` is also accepted.\n- `EXCLUDE_CITATIONS`: Exclude citations from the results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Scholar citation visibility filter.", + "enum": [ + "INCLUDE_CITATIONS", + "EXCLUDE_CITATIONS" + ] } }, { "name": "as_rr", "in": "query", - "description": "Controls whether to show only review articles (topic overviews or discussions of the searched works/authors). Set to 1 to enable the filter, or 0 (default) to return all results.", + "description": "Controls whether to show only review articles or return all results.\n\nAvailable Values:\n- `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted.\n- `REVIEW_ARTICLES_ONLY`: Return review articles only. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Scholar review-article filter.", + "enum": [ + "ALL_RESULTS", + "REVIEW_ARTICLES_ONLY" + ] } } ], @@ -1901,19 +2022,29 @@ { "name": "view_op", "in": "query", - "description": "Specific view operation for the author profile. Use 'list_colleagues' to see co-authors or 'view_citation' for article details.", + "description": "Specific view operation for the author profile.\n\nAvailable Values:\n- `LIST_COLLEAGUES`: List co-authors. Legacy value `list_colleagues` is also accepted.\n- `VIEW_CITATION`: View citation details. Legacy value `view_citation` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Scholar author profile view operation.", + "enum": [ + "LIST_COLLEAGUES", + "VIEW_CITATION" + ] } }, { "name": "sort", "in": "query", - "description": "Sorting criteria for the author's publications. Supported values: 'title', 'pubdate'.", + "description": "Sorting criteria for the author's publications.\n\nAvailable Values:\n- `TITLE`: Sort by title. Legacy value `title` is also accepted.\n- `PUBLICATION_DATE`: Sort by publication date. Legacy value `pubdate` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Scholar author publication sort order.", + "enum": [ + "TITLE", + "PUBLICATION_DATE" + ] } }, { @@ -2003,10 +2134,15 @@ { "name": "sort", "in": "query", - "description": "Sorting order for patent results. Supported values: 'new' (Newest), 'old' (Oldest).", + "description": "Sorting order for patent results.\n\nAvailable Values:\n- `NEWEST`: Newest first. Legacy value `new` is also accepted.\n- `OLDEST`: Oldest first. Legacy value `old` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Patents sort order.", + "enum": [ + "NEWEST", + "OLDEST" + ] } }, { @@ -2021,10 +2157,14 @@ { "name": "dups", "in": "query", - "description": "Deduplication method. Supported values: 'language' (by Publication).", + "description": "Deduplication method.\n\nAvailable Values:\n- `LANGUAGE`: Deduplicate by publication language. Legacy value `language` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Patents deduplication method.", + "enum": [ + "LANGUAGE" + ] } }, { @@ -2106,28 +2246,43 @@ { "name": "status", "in": "query", - "description": "Filter by patent status. Supported values: 'GRANT', 'APPLICATION'.", + "description": "Filter by patent status.\n\nAvailable Values:\n- `GRANT`: Granted patents.\n- `APPLICATION`: Patent applications.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Patents status filter.", + "enum": [ + "GRANT", + "APPLICATION" + ] } }, { "name": "type", "in": "query", - "description": "Filter by patent type. Supported values: 'PATENT', 'DESIGN'.", + "description": "Filter by patent type.\n\nAvailable Values:\n- `PATENT`: Patent.\n- `DESIGN`: Design patent.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Patents type filter.", + "enum": [ + "PATENT", + "DESIGN" + ] } }, { "name": "litigation", "in": "query", - "description": "Filter by litigation status. Supported values: 'YES', 'NO'.", + "description": "Filter by litigation status.\n\nAvailable Values:\n- `YES`: Patents with litigation.\n- `NO`: Patents without litigation.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Patents litigation filter.", + "enum": [ + "YES", + "NO" + ] } } ], @@ -2306,10 +2461,15 @@ { "name": "so", "in": "query", - "description": "Sorting order for news results. Supported values: '0' (Relevance, default), '1' (Date). Only works with 'story_token'.", + "description": "Sorting order for news results. Only works with 'story_token'.\n\nAvailable Values:\n- `RELEVANCE`: Relevance. Legacy value `0` is also accepted.\n- `DATE`: Date. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google News sorting order.", + "enum": [ + "RELEVANCE", + "DATE" + ] } } ], @@ -2499,12 +2659,19 @@ { "name": "sort_by", "in": "query", - "description": "Sorting order for reviews. Supported values: 'qualityScore' (Relevance), 'newestFirst' (Newest), 'ratingHigh' (Highest rating), 'ratingLow' (Lowest rating).", + "description": "Sorting order for reviews.\n\nAvailable Values:\n- `RELEVANCE`: Relevance. Legacy value `qualityScore` is also accepted.\n- `NEWEST`: Newest first. Legacy value `newestFirst` is also accepted.\n- `HIGHEST_RATING`: Highest rating first. Legacy value `ratingHigh` is also accepted.\n- `LOWEST_RATING`: Lowest rating first. Legacy value `ratingLow` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Maps review sort order.", + "enum": [ + "RELEVANCE", + "NEWEST", + "HIGHEST_RATING", + "LOWEST_RATING" + ] }, - "example": "qualityScore" + "example": "RELEVANCE" }, { "name": "topic_id", @@ -3337,10 +3504,20 @@ { "name": "period_unit", "in": "query", - "description": "Time unit for 'recent' image results. Supported values: 's' (Second), 'n' (Minute), 'h' (Hour), 'd' (Day), 'w' (Week), 'm' (Month), 'y' (Year).", + "description": "Time unit for recent image results.\n\nAvailable Values:\n- `SECOND`: Second. Legacy value `s` is also accepted.\n- `MINUTE`: Minute. Legacy value `n` is also accepted.\n- `HOUR`: Hour. Legacy value `h` is also accepted.\n- `DAY`: Day. Legacy value `d` is also accepted.\n- `WEEK`: Week. Legacy value `w` is also accepted.\n- `MONTH`: Month. Legacy value `m` is also accepted.\n- `YEAR`: Year. Legacy value `y` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Images recent-result time unit.", + "enum": [ + "SECOND", + "MINUTE", + "HOUR", + "DAY", + "WEEK", + "MONTH", + "YEAR" + ] } }, { @@ -3391,19 +3568,32 @@ { "name": "imgar", "in": "query", - "description": "Filter by image aspect ratio. Supported values: 's' (Square), 't' (Tall), 'w' (Wide), 'xw' (Panoramic).", + "description": "Filter by image aspect ratio.\n\nAvailable Values:\n- `SQUARE`: Square images. Legacy value `s` is also accepted.\n- `TALL`: Tall images. Legacy value `t` is also accepted.\n- `WIDE`: Wide images. Legacy value `w` is also accepted.\n- `PANORAMIC`: Panoramic images. Legacy value `xw` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Images aspect-ratio filter.", + "enum": [ + "SQUARE", + "TALL", + "WIDE", + "PANORAMIC" + ] } }, { "name": "imgsz", "in": "query", - "description": "Filter by image size. Supported values: 'l' (Large), 'm' (Medium), 'i' (Icon), and specific resolutions like '4mp', '10mp'.", + "description": "Filter by image size.\n\nAvailable Values:\n- `LARGE`: Large images. Legacy value `l` is also accepted.\n- `MEDIUM`: Medium images. Legacy value `m` is also accepted.\n- `ICON`: Icon-sized images. Legacy value `i` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Images size filter.", + "enum": [ + "LARGE", + "MEDIUM", + "ICON" + ] } }, { @@ -3427,39 +3617,60 @@ { "name": "licenses", "in": "query", - "description": "Filter by usage rights and licenses. Supported values: 'f' (Free to use), 'fc' (Commercial use), 'cl' (Creative Commons).", + "description": "Filter by usage rights and licenses.\n\nAvailable Values:\n- `FREE_TO_USE`: Free to use. Legacy value `f` is also accepted.\n- `COMMERCIAL_USE`: Commercial use. Legacy value `fc` is also accepted.\n- `CREATIVE_COMMONS`: Creative Commons. Legacy value `cl` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Images license filter.", + "enum": [ + "FREE_TO_USE", + "COMMERCIAL_USE", + "CREATIVE_COMMONS" + ] } }, { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" }, { "name": "filter", "in": "query", - "description": "Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable.", + "description": "Toggle similar-results and omitted-results filtering.\n\nAvailable Values:\n- `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted.\n- `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google result filter toggle.", + "enum": [ + "DISABLED", + "ENABLED" + ] } } ], @@ -3616,10 +3827,16 @@ { "name": "sort_by", "in": "query", - "description": "The criteria to sort hotel results. Supported values: '3' (Lowest price), '8' (Highest rating), '13' (Most reviews).", + "description": "The criteria to sort hotel results.\n\nAvailable Values:\n- `LOWEST_PRICE`: Lowest price. Legacy value `3` is also accepted.\n- `HIGHEST_RATING`: Highest rating. Legacy value `8` is also accepted.\n- `MOST_REVIEWS`: Most reviews. Legacy value `13` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Hotels sort order.", + "enum": [ + "LOWEST_PRICE", + "HIGHEST_RATING", + "MOST_REVIEWS" + ] } }, { @@ -3661,10 +3878,16 @@ { "name": "rating", "in": "query", - "description": "Filter by minimum guest rating. Supported values: '7' (3.5+), '8' (4.0+), '9' (4.5+).", + "description": "Filter by minimum guest rating.\n\nAvailable Values:\n- `AT_LEAST_3_5`: 3.5+ guest rating. Legacy value `7` is also accepted.\n- `AT_LEAST_4_0`: 4.0+ guest rating. Legacy value `8` is also accepted.\n- `AT_LEAST_4_5`: 4.5+ guest rating. Legacy value `9` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Hotels minimum guest rating filter.", + "enum": [ + "AT_LEAST_3_5", + "AT_LEAST_4_0", + "AT_LEAST_4_5" + ] } }, { @@ -4042,12 +4265,17 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" } ], "responses": { @@ -4105,38 +4333,15 @@ "float": { "type": "boolean" }, - "string": { - "type": "boolean" - }, "integralNumber": { "type": "boolean" }, "floatingPointNumber": { "type": "boolean" }, - "valueNode": { - "type": "boolean" - }, - "container": { - "type": "boolean" - }, - "missingNode": { + "string": { "type": "boolean" }, - "nodeType": { - "type": "string", - "enum": [ - "ARRAY", - "BINARY", - "BOOLEAN", - "MISSING", - "NULL", - "NUMBER", - "OBJECT", - "POJO", - "STRING" - ] - }, "pojo": { "type": "boolean" }, @@ -4168,6 +4373,29 @@ "binary": { "type": "boolean" }, + "nodeType": { + "type": "string", + "enum": [ + "ARRAY", + "BINARY", + "BOOLEAN", + "MISSING", + "NULL", + "NUMBER", + "OBJECT", + "POJO", + "STRING" + ] + }, + "valueNode": { + "type": "boolean" + }, + "container": { + "type": "boolean" + }, + "missingNode": { + "type": "boolean" + }, "number": { "type": "boolean" }, diff --git a/openapi/raw/justserpapi-openapi.json b/openapi/raw/justserpapi-openapi.json index 35c221e6f..59264bde0 100644 --- a/openapi/raw/justserpapi-openapi.json +++ b/openapi/raw/justserpapi-openapi.json @@ -243,22 +243,32 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" }, { "name": "result_time", @@ -316,10 +326,17 @@ { "name": "hours", "in": "query", - "description": "Time window for trending topics. Supported values: '4' (past 4 hours), '24' (past 24 hours), '48' (past 48 hours), '168' (past 7 days).", + "description": "Time window for trending topics.\n\nAvailable Values:\n- `PAST_4_HOURS`: Past 4 hours. Legacy value `4` is also accepted.\n- `PAST_24_HOURS`: Past 24 hours. Legacy value `24` is also accepted.\n- `PAST_48_HOURS`: Past 48 hours. Legacy value `48` is also accepted.\n- `PAST_7_DAYS`: Past 7 days. Legacy value `168` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Trends trending-now time window.", + "enum": [ + "PAST_4_HOURS", + "PAST_24_HOURS", + "PAST_48_HOURS", + "PAST_7_DAYS" + ] } }, { @@ -398,19 +415,31 @@ { "name": "region", "in": "query", - "description": "Refines results for region charts. Supported values: 'COUNTRY', 'REGION', 'DMA', 'CITY'.", + "description": "Refines results for region charts.\n\nAvailable Values:\n- `COUNTRY`: Country-level results.\n- `REGION`: Region-level results.\n- `DMA`: Designated market area results.\n- `CITY`: City-level results.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Trends region chart refinement.", + "enum": [ + "COUNTRY", + "REGION", + "DMA", + "CITY" + ] } }, { "name": "data_type", "in": "query", - "description": "The type of trend data to retrieve. Supported values: 'TIMESERIES' (Interest over time), 'GEO_MAP' (Breakdown by region).", + "description": "The type of trend data to retrieve.\n\nAvailable Values:\n- `INTEREST_OVER_TIME`: Interest over time. Legacy value `TIMESERIES` is also accepted.\n- `REGION_BREAKDOWN`: Breakdown by region. Legacy value `GEO_MAP` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Trends data type.", + "enum": [ + "INTEREST_OVER_TIME", + "REGION_BREAKDOWN" + ] } }, { @@ -436,10 +465,17 @@ { "name": "gprop", "in": "query", - "description": "The Google property to filter trends. Supported values: 'images', 'news', 'froogle' (Shopping), 'youtube'.", + "description": "The Google property to filter trends.\n\nAvailable Values:\n- `IMAGES`: Google Images. Legacy value `images` is also accepted.\n- `NEWS`: Google News. Legacy value `news` is also accepted.\n- `SHOPPING`: Google Shopping. Legacy value `froogle` is also accepted.\n- `YOUTUBE`: YouTube. Legacy value `youtube` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Trends property filter.", + "enum": [ + "IMAGES", + "NEWS", + "SHOPPING", + "YOUTUBE" + ] } }, { @@ -630,22 +666,32 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" } ], "responses": { @@ -781,22 +827,32 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" } ], "responses": { @@ -995,30 +1051,45 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" }, { "name": "filter", "in": "query", - "description": "Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable.", + "description": "Toggle similar-results and omitted-results filtering.\n\nAvailable Values:\n- `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted.\n- `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google result filter toggle.", + "enum": [ + "DISABLED", + "ENABLED" + ] } } ], @@ -1218,30 +1289,45 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" }, { "name": "filter", "in": "query", - "description": "Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable.", + "description": "Toggle similar-results and omitted-results filtering.\n\nAvailable Values:\n- `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted.\n- `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google result filter toggle.", + "enum": [ + "DISABLED", + "ENABLED" + ] } } ], @@ -1441,30 +1527,45 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" }, { "name": "filter", "in": "query", - "description": "Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable.", + "description": "Toggle similar-results and omitted-results filtering.\n\nAvailable Values:\n- `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted.\n- `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google result filter toggle.", + "enum": [ + "DISABLED", + "ENABLED" + ] } } ], @@ -1499,14 +1600,14 @@ "Google Scholar" ], "summary": "Search", - "description": "Get Google scholar Search data, including papers, patents, and legal docs, citation and year filters, and versions and cited-by links, for literature review and academic result monitoring.", + "description": "Search Google Scholar papers, patents, legal documents, citations, and article versions for literature review and academic monitoring. Provide query, cites, or cluster; cluster cannot be combined with query or cites.", "operationId": "ScholarSearch", "parameters": [ { "name": "query", "in": "query", - "description": "The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'.", - "required": true, + "description": "The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. Required unless cites or cluster is provided, and cannot be combined with cluster.", + "required": false, "schema": { "type": "string" } @@ -1524,7 +1625,7 @@ { "name": "cites", "in": "query", - "description": "Return articles that cite the article with the specified ID.", + "description": "Return articles that cite the article with the specified ID. Can be used alone or with query, but cannot be combined with cluster.", "required": false, "schema": { "type": "string" @@ -1551,16 +1652,21 @@ { "name": "scisbd", "in": "query", - "description": "Controls whether to return only abstract results (1) or all results (0).", + "description": "Controls whether to return only abstract results or all results.\n\nAvailable Values:\n- `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted.\n- `ABSTRACT_RESULTS_ONLY`: Return abstract results only. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Scholar abstract-result filter.", + "enum": [ + "ALL_RESULTS", + "ABSTRACT_RESULTS_ONLY" + ] } }, { "name": "cluster", "in": "query", - "description": "The unique ID of an article cluster to retrieve all versions of a specific work.", + "description": "The unique ID of an article cluster to retrieve all versions of a specific work. Cannot be combined with query or cites.", "required": false, "schema": { "type": "string" @@ -1619,12 +1725,17 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "filter", @@ -1638,19 +1749,29 @@ { "name": "as_vis", "in": "query", - "description": "Controls whether citations are included in the results: 1 = exclude, 0 (default) = include.", + "description": "Controls whether citations are included in the results.\n\nAvailable Values:\n- `INCLUDE_CITATIONS`: Include citations in the results. Legacy value `0` is also accepted.\n- `EXCLUDE_CITATIONS`: Exclude citations from the results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Scholar citation visibility filter.", + "enum": [ + "INCLUDE_CITATIONS", + "EXCLUDE_CITATIONS" + ] } }, { "name": "as_rr", "in": "query", - "description": "Controls whether to show only review articles (topic overviews or discussions of the searched works/authors). Set to 1 to enable the filter, or 0 (default) to return all results.", + "description": "Controls whether to show only review articles or return all results.\n\nAvailable Values:\n- `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted.\n- `REVIEW_ARTICLES_ONLY`: Return review articles only. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Scholar review-article filter.", + "enum": [ + "ALL_RESULTS", + "REVIEW_ARTICLES_ONLY" + ] } } ], @@ -1775,19 +1896,29 @@ { "name": "view_op", "in": "query", - "description": "Specific view operation for the author profile. Use 'list_colleagues' to see co-authors or 'view_citation' for article details.", + "description": "Specific view operation for the author profile.\n\nAvailable Values:\n- `LIST_COLLEAGUES`: List co-authors. Legacy value `list_colleagues` is also accepted.\n- `VIEW_CITATION`: View citation details. Legacy value `view_citation` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Scholar author profile view operation.", + "enum": [ + "LIST_COLLEAGUES", + "VIEW_CITATION" + ] } }, { "name": "sort", "in": "query", - "description": "Sorting criteria for the author's publications. Supported values: 'title', 'pubdate'.", + "description": "Sorting criteria for the author's publications.\n\nAvailable Values:\n- `TITLE`: Sort by title. Legacy value `title` is also accepted.\n- `PUBLICATION_DATE`: Sort by publication date. Legacy value `pubdate` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Scholar author publication sort order.", + "enum": [ + "TITLE", + "PUBLICATION_DATE" + ] } }, { @@ -1868,10 +1999,15 @@ { "name": "sort", "in": "query", - "description": "Sorting order for patent results. Supported values: 'new' (Newest), 'old' (Oldest).", + "description": "Sorting order for patent results.\n\nAvailable Values:\n- `NEWEST`: Newest first. Legacy value `new` is also accepted.\n- `OLDEST`: Oldest first. Legacy value `old` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Patents sort order.", + "enum": [ + "NEWEST", + "OLDEST" + ] } }, { @@ -1886,10 +2022,14 @@ { "name": "dups", "in": "query", - "description": "Deduplication method. Supported values: 'language' (by Publication).", + "description": "Deduplication method.\n\nAvailable Values:\n- `LANGUAGE`: Deduplicate by publication language. Legacy value `language` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Patents deduplication method.", + "enum": [ + "LANGUAGE" + ] } }, { @@ -1971,28 +2111,43 @@ { "name": "status", "in": "query", - "description": "Filter by patent status. Supported values: 'GRANT', 'APPLICATION'.", + "description": "Filter by patent status.\n\nAvailable Values:\n- `GRANT`: Granted patents.\n- `APPLICATION`: Patent applications.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Patents status filter.", + "enum": [ + "GRANT", + "APPLICATION" + ] } }, { "name": "type", "in": "query", - "description": "Filter by patent type. Supported values: 'PATENT', 'DESIGN'.", + "description": "Filter by patent type.\n\nAvailable Values:\n- `PATENT`: Patent.\n- `DESIGN`: Design patent.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Patents type filter.", + "enum": [ + "PATENT", + "DESIGN" + ] } }, { "name": "litigation", "in": "query", - "description": "Filter by litigation status. Supported values: 'YES', 'NO'.", + "description": "Filter by litigation status.\n\nAvailable Values:\n- `YES`: Patents with litigation.\n- `NO`: Patents without litigation.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Patents litigation filter.", + "enum": [ + "YES", + "NO" + ] } } ], @@ -2153,10 +2308,15 @@ { "name": "so", "in": "query", - "description": "Sorting order for news results. Supported values: '0' (Relevance, default), '1' (Date). Only works with 'story_token'.", + "description": "Sorting order for news results. Only works with 'story_token'.\n\nAvailable Values:\n- `RELEVANCE`: Relevance. Legacy value `0` is also accepted.\n- `DATE`: Date. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google News sorting order.", + "enum": [ + "RELEVANCE", + "DATE" + ] } } ], @@ -2328,12 +2488,19 @@ { "name": "sort_by", "in": "query", - "description": "Sorting order for reviews. Supported values: 'qualityScore' (Relevance), 'newestFirst' (Newest), 'ratingHigh' (Highest rating), 'ratingLow' (Lowest rating).", + "description": "Sorting order for reviews.\n\nAvailable Values:\n- `RELEVANCE`: Relevance. Legacy value `qualityScore` is also accepted.\n- `NEWEST`: Newest first. Legacy value `newestFirst` is also accepted.\n- `HIGHEST_RATING`: Highest rating first. Legacy value `ratingHigh` is also accepted.\n- `LOWEST_RATING`: Lowest rating first. Legacy value `ratingLow` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Maps review sort order.", + "enum": [ + "RELEVANCE", + "NEWEST", + "HIGHEST_RATING", + "LOWEST_RATING" + ] }, - "example": "qualityScore" + "example": "RELEVANCE" }, { "name": "topic_id", @@ -3094,10 +3261,20 @@ { "name": "period_unit", "in": "query", - "description": "Time unit for 'recent' image results. Supported values: 's' (Second), 'n' (Minute), 'h' (Hour), 'd' (Day), 'w' (Week), 'm' (Month), 'y' (Year).", + "description": "Time unit for recent image results.\n\nAvailable Values:\n- `SECOND`: Second. Legacy value `s` is also accepted.\n- `MINUTE`: Minute. Legacy value `n` is also accepted.\n- `HOUR`: Hour. Legacy value `h` is also accepted.\n- `DAY`: Day. Legacy value `d` is also accepted.\n- `WEEK`: Week. Legacy value `w` is also accepted.\n- `MONTH`: Month. Legacy value `m` is also accepted.\n- `YEAR`: Year. Legacy value `y` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Images recent-result time unit.", + "enum": [ + "SECOND", + "MINUTE", + "HOUR", + "DAY", + "WEEK", + "MONTH", + "YEAR" + ] } }, { @@ -3148,19 +3325,32 @@ { "name": "imgar", "in": "query", - "description": "Filter by image aspect ratio. Supported values: 's' (Square), 't' (Tall), 'w' (Wide), 'xw' (Panoramic).", + "description": "Filter by image aspect ratio.\n\nAvailable Values:\n- `SQUARE`: Square images. Legacy value `s` is also accepted.\n- `TALL`: Tall images. Legacy value `t` is also accepted.\n- `WIDE`: Wide images. Legacy value `w` is also accepted.\n- `PANORAMIC`: Panoramic images. Legacy value `xw` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Images aspect-ratio filter.", + "enum": [ + "SQUARE", + "TALL", + "WIDE", + "PANORAMIC" + ] } }, { "name": "imgsz", "in": "query", - "description": "Filter by image size. Supported values: 'l' (Large), 'm' (Medium), 'i' (Icon), and specific resolutions like '4mp', '10mp'.", + "description": "Filter by image size.\n\nAvailable Values:\n- `LARGE`: Large images. Legacy value `l` is also accepted.\n- `MEDIUM`: Medium images. Legacy value `m` is also accepted.\n- `ICON`: Icon-sized images. Legacy value `i` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Images size filter.", + "enum": [ + "LARGE", + "MEDIUM", + "ICON" + ] } }, { @@ -3184,39 +3374,60 @@ { "name": "licenses", "in": "query", - "description": "Filter by usage rights and licenses. Supported values: 'f' (Free to use), 'fc' (Commercial use), 'cl' (Creative Commons).", + "description": "Filter by usage rights and licenses.\n\nAvailable Values:\n- `FREE_TO_USE`: Free to use. Legacy value `f` is also accepted.\n- `COMMERCIAL_USE`: Commercial use. Legacy value `fc` is also accepted.\n- `CREATIVE_COMMONS`: Creative Commons. Legacy value `cl` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Images license filter.", + "enum": [ + "FREE_TO_USE", + "COMMERCIAL_USE", + "CREATIVE_COMMONS" + ] } }, { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" }, { "name": "nfpr", "in": "query", - "description": "Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them.", + "description": "Controls Google's auto-correction.\n\nAvailable Values:\n- `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted.\n- `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google auto-correction setting.", + "enum": [ + "INCLUDE_CORRECTED_RESULTS", + "EXCLUDE_CORRECTED_RESULTS" + ] }, - "example": 0 + "example": "INCLUDE_CORRECTED_RESULTS" }, { "name": "filter", "in": "query", - "description": "Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable.", + "description": "Toggle similar-results and omitted-results filtering.\n\nAvailable Values:\n- `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted.\n- `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google result filter toggle.", + "enum": [ + "DISABLED", + "ENABLED" + ] } } ], @@ -3364,10 +3575,16 @@ { "name": "sort_by", "in": "query", - "description": "The criteria to sort hotel results. Supported values: '3' (Lowest price), '8' (Highest rating), '13' (Most reviews).", + "description": "The criteria to sort hotel results.\n\nAvailable Values:\n- `LOWEST_PRICE`: Lowest price. Legacy value `3` is also accepted.\n- `HIGHEST_RATING`: Highest rating. Legacy value `8` is also accepted.\n- `MOST_REVIEWS`: Most reviews. Legacy value `13` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Hotels sort order.", + "enum": [ + "LOWEST_PRICE", + "HIGHEST_RATING", + "MOST_REVIEWS" + ] } }, { @@ -3409,10 +3626,16 @@ { "name": "rating", "in": "query", - "description": "Filter by minimum guest rating. Supported values: '7' (3.5+), '8' (4.0+), '9' (4.5+).", + "description": "Filter by minimum guest rating.\n\nAvailable Values:\n- `AT_LEAST_3_5`: 3.5+ guest rating. Legacy value `7` is also accepted.\n- `AT_LEAST_4_0`: 4.0+ guest rating. Legacy value `8` is also accepted.\n- `AT_LEAST_4_5`: 4.5+ guest rating. Legacy value `9` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google Hotels minimum guest rating filter.", + "enum": [ + "AT_LEAST_3_5", + "AT_LEAST_4_0", + "AT_LEAST_4_5" + ] } }, { @@ -3754,12 +3977,17 @@ { "name": "safe", "in": "query", - "description": "SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it.", + "description": "SafeSearch filter setting.\n\nAvailable Values:\n- `ACTIVE`: Filter adult content. Legacy value `active` is also accepted.\n- `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted.", "required": false, "schema": { - "type": "string" + "type": "string", + "description": "Google SafeSearch filter setting.", + "enum": [ + "ACTIVE", + "OFF" + ] }, - "example": "off" + "example": "OFF" } ], "responses": { @@ -3808,38 +4036,15 @@ "float": { "type": "boolean" }, - "string": { - "type": "boolean" - }, "integralNumber": { "type": "boolean" }, "floatingPointNumber": { "type": "boolean" }, - "valueNode": { - "type": "boolean" - }, - "container": { - "type": "boolean" - }, - "missingNode": { + "string": { "type": "boolean" }, - "nodeType": { - "type": "string", - "enum": [ - "ARRAY", - "BINARY", - "BOOLEAN", - "MISSING", - "NULL", - "NUMBER", - "OBJECT", - "POJO", - "STRING" - ] - }, "pojo": { "type": "boolean" }, @@ -3871,6 +4076,29 @@ "binary": { "type": "boolean" }, + "nodeType": { + "type": "string", + "enum": [ + "ARRAY", + "BINARY", + "BOOLEAN", + "MISSING", + "NULL", + "NUMBER", + "OBJECT", + "POJO", + "STRING" + ] + }, + "valueNode": { + "type": "boolean" + }, + "container": { + "type": "boolean" + }, + "missingNode": { + "type": "boolean" + }, "number": { "type": "boolean" }, diff --git a/src/main/generated/com/justserpapi/generated/api/GoogleApi.java b/src/main/generated/com/justserpapi/generated/api/GoogleApi.java index 852e778f5..f65ca79d8 100644 --- a/src/main/generated/com/justserpapi/generated/api/GoogleApi.java +++ b/src/main/generated/com/justserpapi/generated/api/GoogleApi.java @@ -79,7 +79,7 @@ public void setCustomBaseUrl(String customBaseUrl) { * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param location The textual location name (e.g., 'New York, NY') to localize the search results. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -181,7 +181,7 @@ private okhttp3.Call aiModeValidateBeforeCall(String query, Boolean html, String * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param location The textual location name (e.g., 'New York, NY') to localize the search results. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -208,7 +208,7 @@ public JustSerpApiResponse aiMode(String query, Boolean html, String country, St * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param location The textual location name (e.g., 'New York, NY') to localize the search results. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -236,7 +236,7 @@ public ApiResponse aiModeWithHttpInfo(String query, Boolean * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param location The textual location name (e.g., 'New York, NY') to localize the search results. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -741,12 +741,12 @@ public okhttp3.Call financeSearchAsync(String query, Boolean html, String langua * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param currency The three-letter ISO currency code for displaying prices (e.g., 'USD', 'EUR'). See <a href=\"/reference/hotels/google-hotels-currency\">Google Hotels Currency</a>. (optional) - * @param sortBy The criteria to sort hotel results. Supported values: '3' (Lowest price), '8' (Highest rating), '13' (Most reviews). (optional) + * @param sortBy The criteria to sort hotel results. Available Values: - `LOWEST_PRICE`: Lowest price. Legacy value `3` is also accepted. - `HIGHEST_RATING`: Highest rating. Legacy value `8` is also accepted. - `MOST_REVIEWS`: Most reviews. Legacy value `13` is also accepted. (optional) * @param minPrice Minimum price filter for the hotel stay. (optional) * @param maxPrice Maximum price filter for the hotel stay. (optional) * @param propertyTypes Filter by hotel property types. See the <a href=\"/reference/hotels/google-hotels-property-types\">Google Property Types</a> for the full list of supported hotel property types. For vacation rentals, refer to the <a href=\"/reference/hotels/google-hotels-vacation-rentals-property-types\">Google Hotels Vacation Rentals Property Types</a>. (optional) * @param amenities Filter by specific amenities (e.g., '35' for free Wi-Fi). <a href=\"/reference/hotels/google-hotels-amenities\">Google Hotels Amenities</a> (hotel amenities). <a href=\"/reference/hotels/google-hotels-vacation-rentals-amenities\">Google Hotels Vacation Rentals Amenities</a> (vacation rental amenities) (optional) - * @param rating Filter by minimum guest rating. Supported values: '7' (3.5+), '8' (4.0+), '9' (4.5+). (optional) + * @param rating Filter by minimum guest rating. Available Values: - `AT_LEAST_3_5`: 3.5+ guest rating. Legacy value `7` is also accepted. - `AT_LEAST_4_0`: 4.0+ guest rating. Legacy value `8` is also accepted. - `AT_LEAST_4_5`: 4.5+ guest rating. Legacy value `9` is also accepted. (optional) * @param brands Filter by specific hotel brand IDs. IDs can be comma-separated. (optional) * @param hotelClass Filter by hotel star ratings. Supported values: '2', '3', '4', '5'. Can be comma-separated. (optional) * @param freeCancellation Filter for hotels that offer free cancellation. Set to '1' or 'true' to enable. (optional) @@ -953,12 +953,12 @@ private okhttp3.Call hotelsSearchValidateBeforeCall(String query, String checkIn * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param currency The three-letter ISO currency code for displaying prices (e.g., 'USD', 'EUR'). See <a href=\"/reference/hotels/google-hotels-currency\">Google Hotels Currency</a>. (optional) - * @param sortBy The criteria to sort hotel results. Supported values: '3' (Lowest price), '8' (Highest rating), '13' (Most reviews). (optional) + * @param sortBy The criteria to sort hotel results. Available Values: - `LOWEST_PRICE`: Lowest price. Legacy value `3` is also accepted. - `HIGHEST_RATING`: Highest rating. Legacy value `8` is also accepted. - `MOST_REVIEWS`: Most reviews. Legacy value `13` is also accepted. (optional) * @param minPrice Minimum price filter for the hotel stay. (optional) * @param maxPrice Maximum price filter for the hotel stay. (optional) * @param propertyTypes Filter by hotel property types. See the <a href=\"/reference/hotels/google-hotels-property-types\">Google Property Types</a> for the full list of supported hotel property types. For vacation rentals, refer to the <a href=\"/reference/hotels/google-hotels-vacation-rentals-property-types\">Google Hotels Vacation Rentals Property Types</a>. (optional) * @param amenities Filter by specific amenities (e.g., '35' for free Wi-Fi). <a href=\"/reference/hotels/google-hotels-amenities\">Google Hotels Amenities</a> (hotel amenities). <a href=\"/reference/hotels/google-hotels-vacation-rentals-amenities\">Google Hotels Vacation Rentals Amenities</a> (vacation rental amenities) (optional) - * @param rating Filter by minimum guest rating. Supported values: '7' (3.5+), '8' (4.0+), '9' (4.5+). (optional) + * @param rating Filter by minimum guest rating. Available Values: - `AT_LEAST_3_5`: 3.5+ guest rating. Legacy value `7` is also accepted. - `AT_LEAST_4_0`: 4.0+ guest rating. Legacy value `8` is also accepted. - `AT_LEAST_4_5`: 4.5+ guest rating. Legacy value `9` is also accepted. (optional) * @param brands Filter by specific hotel brand IDs. IDs can be comma-separated. (optional) * @param hotelClass Filter by hotel star ratings. Supported values: '2', '3', '4', '5'. Can be comma-separated. (optional) * @param freeCancellation Filter for hotels that offer free cancellation. Set to '1' or 'true' to enable. (optional) @@ -1000,12 +1000,12 @@ public JustSerpApiResponse hotelsSearch(String query, String checkInDate, String * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param currency The three-letter ISO currency code for displaying prices (e.g., 'USD', 'EUR'). See <a href=\"/reference/hotels/google-hotels-currency\">Google Hotels Currency</a>. (optional) - * @param sortBy The criteria to sort hotel results. Supported values: '3' (Lowest price), '8' (Highest rating), '13' (Most reviews). (optional) + * @param sortBy The criteria to sort hotel results. Available Values: - `LOWEST_PRICE`: Lowest price. Legacy value `3` is also accepted. - `HIGHEST_RATING`: Highest rating. Legacy value `8` is also accepted. - `MOST_REVIEWS`: Most reviews. Legacy value `13` is also accepted. (optional) * @param minPrice Minimum price filter for the hotel stay. (optional) * @param maxPrice Maximum price filter for the hotel stay. (optional) * @param propertyTypes Filter by hotel property types. See the <a href=\"/reference/hotels/google-hotels-property-types\">Google Property Types</a> for the full list of supported hotel property types. For vacation rentals, refer to the <a href=\"/reference/hotels/google-hotels-vacation-rentals-property-types\">Google Hotels Vacation Rentals Property Types</a>. (optional) * @param amenities Filter by specific amenities (e.g., '35' for free Wi-Fi). <a href=\"/reference/hotels/google-hotels-amenities\">Google Hotels Amenities</a> (hotel amenities). <a href=\"/reference/hotels/google-hotels-vacation-rentals-amenities\">Google Hotels Vacation Rentals Amenities</a> (vacation rental amenities) (optional) - * @param rating Filter by minimum guest rating. Supported values: '7' (3.5+), '8' (4.0+), '9' (4.5+). (optional) + * @param rating Filter by minimum guest rating. Available Values: - `AT_LEAST_3_5`: 3.5+ guest rating. Legacy value `7` is also accepted. - `AT_LEAST_4_0`: 4.0+ guest rating. Legacy value `8` is also accepted. - `AT_LEAST_4_5`: 4.5+ guest rating. Legacy value `9` is also accepted. (optional) * @param brands Filter by specific hotel brand IDs. IDs can be comma-separated. (optional) * @param hotelClass Filter by hotel star ratings. Supported values: '2', '3', '4', '5'. Can be comma-separated. (optional) * @param freeCancellation Filter for hotels that offer free cancellation. Set to '1' or 'true' to enable. (optional) @@ -1048,12 +1048,12 @@ public ApiResponse hotelsSearchWithHttpInfo(String query, S * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param currency The three-letter ISO currency code for displaying prices (e.g., 'USD', 'EUR'). See <a href=\"/reference/hotels/google-hotels-currency\">Google Hotels Currency</a>. (optional) - * @param sortBy The criteria to sort hotel results. Supported values: '3' (Lowest price), '8' (Highest rating), '13' (Most reviews). (optional) + * @param sortBy The criteria to sort hotel results. Available Values: - `LOWEST_PRICE`: Lowest price. Legacy value `3` is also accepted. - `HIGHEST_RATING`: Highest rating. Legacy value `8` is also accepted. - `MOST_REVIEWS`: Most reviews. Legacy value `13` is also accepted. (optional) * @param minPrice Minimum price filter for the hotel stay. (optional) * @param maxPrice Maximum price filter for the hotel stay. (optional) * @param propertyTypes Filter by hotel property types. See the <a href=\"/reference/hotels/google-hotels-property-types\">Google Property Types</a> for the full list of supported hotel property types. For vacation rentals, refer to the <a href=\"/reference/hotels/google-hotels-vacation-rentals-property-types\">Google Hotels Vacation Rentals Property Types</a>. (optional) * @param amenities Filter by specific amenities (e.g., '35' for free Wi-Fi). <a href=\"/reference/hotels/google-hotels-amenities\">Google Hotels Amenities</a> (hotel amenities). <a href=\"/reference/hotels/google-hotels-vacation-rentals-amenities\">Google Hotels Vacation Rentals Amenities</a> (vacation rental amenities) (optional) - * @param rating Filter by minimum guest rating. Supported values: '7' (3.5+), '8' (4.0+), '9' (4.5+). (optional) + * @param rating Filter by minimum guest rating. Available Values: - `AT_LEAST_3_5`: 3.5+ guest rating. Legacy value `7` is also accepted. - `AT_LEAST_4_0`: 4.0+ guest rating. Legacy value `8` is also accepted. - `AT_LEAST_4_5`: 4.5+ guest rating. Legacy value `9` is also accepted. (optional) * @param brands Filter by specific hotel brand IDs. IDs can be comma-separated. (optional) * @param hotelClass Filter by hotel star ratings. Supported values: '2', '3', '4', '5'. Can be comma-separated. (optional) * @param freeCancellation Filter for hotels that offer free cancellation. Set to '1' or 'true' to enable. (optional) @@ -1241,20 +1241,20 @@ public okhttp3.Call htmlAsync(String url, final ApiCallback * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) - * @param periodUnit Time unit for 'recent' image results. Supported values: 's' (Second), 'n' (Minute), 'h' (Hour), 'd' (Day), 'w' (Week), 'm' (Month), 'y' (Year). (optional) + * @param periodUnit Time unit for recent image results. Available Values: - `SECOND`: Second. Legacy value `s` is also accepted. - `MINUTE`: Minute. Legacy value `n` is also accepted. - `HOUR`: Hour. Legacy value `h` is also accepted. - `DAY`: Day. Legacy value `d` is also accepted. - `WEEK`: Week. Legacy value `w` is also accepted. - `MONTH`: Month. Legacy value `m` is also accepted. - `YEAR`: Year. Legacy value `y` is also accepted. (optional) * @param periodValue Time duration value used with 'period_unit' (e.g., 15 for 15 days). Default: 1. (optional) * @param startDate Start date for restricting images to a time range. Format: 'YYYYMMDD' (e.g., '20241201'). (optional) * @param endDate End date for restricting images to a time range. Format: 'YYYYMMDD' (e.g., '20241231'). (optional) * @param chips Additional suggested search terms (chips) to filter images. Values are obtained from previous responses. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param imgar Filter by image aspect ratio. Supported values: 's' (Square), 't' (Tall), 'w' (Wide), 'xw' (Panoramic). (optional) - * @param imgsz Filter by image size. Supported values: 'l' (Large), 'm' (Medium), 'i' (Icon), and specific resolutions like '4mp', '10mp'. (optional) + * @param imgar Filter by image aspect ratio. Available Values: - `SQUARE`: Square images. Legacy value `s` is also accepted. - `TALL`: Tall images. Legacy value `t` is also accepted. - `WIDE`: Wide images. Legacy value `w` is also accepted. - `PANORAMIC`: Panoramic images. Legacy value `xw` is also accepted. (optional) + * @param imgsz Filter by image size. Available Values: - `LARGE`: Large images. Legacy value `l` is also accepted. - `MEDIUM`: Medium images. Legacy value `m` is also accepted. - `ICON`: Icon-sized images. Legacy value `i` is also accepted. (optional) * @param imageColor Filter images by a dominant color (e.g., 'red', 'blue', 'bw' for black and white, 'trans' for transparent). (optional) * @param imageType Filter by image type. Supported values: 'face', 'photo', 'clipart', 'lineart', 'animated'. (optional) - * @param licenses Filter by usage rights and licenses. Supported values: 'f' (Free to use), 'fc' (Commercial use), 'cl' (Creative Commons). (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param licenses Filter by usage rights and licenses. Available Values: - `FREE_TO_USE`: Free to use. Legacy value `f` is also accepted. - `COMMERCIAL_USE`: Commercial use. Legacy value `fc` is also accepted. - `CREATIVE_COMMONS`: Creative Commons. Legacy value `cl` is also accepted. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -1428,20 +1428,20 @@ private okhttp3.Call imagesSearchValidateBeforeCall(String query, Boolean html, * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) - * @param periodUnit Time unit for 'recent' image results. Supported values: 's' (Second), 'n' (Minute), 'h' (Hour), 'd' (Day), 'w' (Week), 'm' (Month), 'y' (Year). (optional) + * @param periodUnit Time unit for recent image results. Available Values: - `SECOND`: Second. Legacy value `s` is also accepted. - `MINUTE`: Minute. Legacy value `n` is also accepted. - `HOUR`: Hour. Legacy value `h` is also accepted. - `DAY`: Day. Legacy value `d` is also accepted. - `WEEK`: Week. Legacy value `w` is also accepted. - `MONTH`: Month. Legacy value `m` is also accepted. - `YEAR`: Year. Legacy value `y` is also accepted. (optional) * @param periodValue Time duration value used with 'period_unit' (e.g., 15 for 15 days). Default: 1. (optional) * @param startDate Start date for restricting images to a time range. Format: 'YYYYMMDD' (e.g., '20241201'). (optional) * @param endDate End date for restricting images to a time range. Format: 'YYYYMMDD' (e.g., '20241231'). (optional) * @param chips Additional suggested search terms (chips) to filter images. Values are obtained from previous responses. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param imgar Filter by image aspect ratio. Supported values: 's' (Square), 't' (Tall), 'w' (Wide), 'xw' (Panoramic). (optional) - * @param imgsz Filter by image size. Supported values: 'l' (Large), 'm' (Medium), 'i' (Icon), and specific resolutions like '4mp', '10mp'. (optional) + * @param imgar Filter by image aspect ratio. Available Values: - `SQUARE`: Square images. Legacy value `s` is also accepted. - `TALL`: Tall images. Legacy value `t` is also accepted. - `WIDE`: Wide images. Legacy value `w` is also accepted. - `PANORAMIC`: Panoramic images. Legacy value `xw` is also accepted. (optional) + * @param imgsz Filter by image size. Available Values: - `LARGE`: Large images. Legacy value `l` is also accepted. - `MEDIUM`: Medium images. Legacy value `m` is also accepted. - `ICON`: Icon-sized images. Legacy value `i` is also accepted. (optional) * @param imageColor Filter images by a dominant color (e.g., 'red', 'blue', 'bw' for black and white, 'trans' for transparent). (optional) * @param imageType Filter by image type. Supported values: 'face', 'photo', 'clipart', 'lineart', 'animated'. (optional) - * @param licenses Filter by usage rights and licenses. Supported values: 'f' (Free to use), 'fc' (Commercial use), 'cl' (Creative Commons). (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param licenses Filter by usage rights and licenses. Available Values: - `FREE_TO_USE`: Free to use. Legacy value `f` is also accepted. - `COMMERCIAL_USE`: Commercial use. Legacy value `fc` is also accepted. - `CREATIVE_COMMONS`: Creative Commons. Legacy value `cl` is also accepted. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1472,20 +1472,20 @@ public JustSerpApiResponse imagesSearch(String query, Boolean html, Integer page * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) - * @param periodUnit Time unit for 'recent' image results. Supported values: 's' (Second), 'n' (Minute), 'h' (Hour), 'd' (Day), 'w' (Week), 'm' (Month), 'y' (Year). (optional) + * @param periodUnit Time unit for recent image results. Available Values: - `SECOND`: Second. Legacy value `s` is also accepted. - `MINUTE`: Minute. Legacy value `n` is also accepted. - `HOUR`: Hour. Legacy value `h` is also accepted. - `DAY`: Day. Legacy value `d` is also accepted. - `WEEK`: Week. Legacy value `w` is also accepted. - `MONTH`: Month. Legacy value `m` is also accepted. - `YEAR`: Year. Legacy value `y` is also accepted. (optional) * @param periodValue Time duration value used with 'period_unit' (e.g., 15 for 15 days). Default: 1. (optional) * @param startDate Start date for restricting images to a time range. Format: 'YYYYMMDD' (e.g., '20241201'). (optional) * @param endDate End date for restricting images to a time range. Format: 'YYYYMMDD' (e.g., '20241231'). (optional) * @param chips Additional suggested search terms (chips) to filter images. Values are obtained from previous responses. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param imgar Filter by image aspect ratio. Supported values: 's' (Square), 't' (Tall), 'w' (Wide), 'xw' (Panoramic). (optional) - * @param imgsz Filter by image size. Supported values: 'l' (Large), 'm' (Medium), 'i' (Icon), and specific resolutions like '4mp', '10mp'. (optional) + * @param imgar Filter by image aspect ratio. Available Values: - `SQUARE`: Square images. Legacy value `s` is also accepted. - `TALL`: Tall images. Legacy value `t` is also accepted. - `WIDE`: Wide images. Legacy value `w` is also accepted. - `PANORAMIC`: Panoramic images. Legacy value `xw` is also accepted. (optional) + * @param imgsz Filter by image size. Available Values: - `LARGE`: Large images. Legacy value `l` is also accepted. - `MEDIUM`: Medium images. Legacy value `m` is also accepted. - `ICON`: Icon-sized images. Legacy value `i` is also accepted. (optional) * @param imageColor Filter images by a dominant color (e.g., 'red', 'blue', 'bw' for black and white, 'trans' for transparent). (optional) * @param imageType Filter by image type. Supported values: 'face', 'photo', 'clipart', 'lineart', 'animated'. (optional) - * @param licenses Filter by usage rights and licenses. Supported values: 'f' (Free to use), 'fc' (Commercial use), 'cl' (Creative Commons). (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param licenses Filter by usage rights and licenses. Available Values: - `FREE_TO_USE`: Free to use. Legacy value `f` is also accepted. - `COMMERCIAL_USE`: Commercial use. Legacy value `fc` is also accepted. - `CREATIVE_COMMONS`: Creative Commons. Legacy value `cl` is also accepted. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -1517,20 +1517,20 @@ public ApiResponse imagesSearchWithHttpInfo(String query, B * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) - * @param periodUnit Time unit for 'recent' image results. Supported values: 's' (Second), 'n' (Minute), 'h' (Hour), 'd' (Day), 'w' (Week), 'm' (Month), 'y' (Year). (optional) + * @param periodUnit Time unit for recent image results. Available Values: - `SECOND`: Second. Legacy value `s` is also accepted. - `MINUTE`: Minute. Legacy value `n` is also accepted. - `HOUR`: Hour. Legacy value `h` is also accepted. - `DAY`: Day. Legacy value `d` is also accepted. - `WEEK`: Week. Legacy value `w` is also accepted. - `MONTH`: Month. Legacy value `m` is also accepted. - `YEAR`: Year. Legacy value `y` is also accepted. (optional) * @param periodValue Time duration value used with 'period_unit' (e.g., 15 for 15 days). Default: 1. (optional) * @param startDate Start date for restricting images to a time range. Format: 'YYYYMMDD' (e.g., '20241201'). (optional) * @param endDate End date for restricting images to a time range. Format: 'YYYYMMDD' (e.g., '20241231'). (optional) * @param chips Additional suggested search terms (chips) to filter images. Values are obtained from previous responses. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param imgar Filter by image aspect ratio. Supported values: 's' (Square), 't' (Tall), 'w' (Wide), 'xw' (Panoramic). (optional) - * @param imgsz Filter by image size. Supported values: 'l' (Large), 'm' (Medium), 'i' (Icon), and specific resolutions like '4mp', '10mp'. (optional) + * @param imgar Filter by image aspect ratio. Available Values: - `SQUARE`: Square images. Legacy value `s` is also accepted. - `TALL`: Tall images. Legacy value `t` is also accepted. - `WIDE`: Wide images. Legacy value `w` is also accepted. - `PANORAMIC`: Panoramic images. Legacy value `xw` is also accepted. (optional) + * @param imgsz Filter by image size. Available Values: - `LARGE`: Large images. Legacy value `l` is also accepted. - `MEDIUM`: Medium images. Legacy value `m` is also accepted. - `ICON`: Icon-sized images. Legacy value `i` is also accepted. (optional) * @param imageColor Filter images by a dominant color (e.g., 'red', 'blue', 'bw' for black and white, 'trans' for transparent). (optional) * @param imageType Filter by image type. Supported values: 'face', 'photo', 'clipart', 'lineart', 'animated'. (optional) - * @param licenses Filter by usage rights and licenses. Supported values: 'f' (Free to use), 'fc' (Commercial use), 'cl' (Creative Commons). (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param licenses Filter by usage rights and licenses. Available Values: - `FREE_TO_USE`: Free to use. Legacy value `f` is also accepted. - `COMMERCIAL_USE`: Commercial use. Legacy value `fc` is also accepted. - `CREATIVE_COMMONS`: Creative Commons. Legacy value `cl` is also accepted. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -2821,7 +2821,7 @@ public okhttp3.Call mapsPostsAsync(String dataId, String nextPageToken, final Ap * Build call for mapsReviews * @param dataId The unique Google Maps location ID (feature ID). You can get this from our Google Maps Search API. (required) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) - * @param sortBy Sorting order for reviews. Supported values: 'qualityScore' (Relevance), 'newestFirst' (Newest), 'ratingHigh' (Highest rating), 'ratingLow' (Lowest rating). (optional) + * @param sortBy Sorting order for reviews. Available Values: - `RELEVANCE`: Relevance. Legacy value `qualityScore` is also accepted. - `NEWEST`: Newest first. Legacy value `newestFirst` is also accepted. - `HIGHEST_RATING`: Highest rating first. Legacy value `ratingHigh` is also accepted. - `LOWEST_RATING`: Lowest rating first. Legacy value `ratingLow` is also accepted. (optional) * @param topicId Filter reviews by a specific topic ID. Topic IDs are obtained from previous Maps Reviews API responses. (optional) * @param nextPageToken Token for retrieving the next page of reviews. (optional) * @param results The maximum number of reviews to return per page (range: 1-20). (optional) @@ -2923,7 +2923,7 @@ private okhttp3.Call mapsReviewsValidateBeforeCall(String dataId, String languag * Get Google maps Reviews data, including ratings and reviewer metadata, for reputation analysis and review monitoring. * @param dataId The unique Google Maps location ID (feature ID). You can get this from our Google Maps Search API. (required) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) - * @param sortBy Sorting order for reviews. Supported values: 'qualityScore' (Relevance), 'newestFirst' (Newest), 'ratingHigh' (Highest rating), 'ratingLow' (Lowest rating). (optional) + * @param sortBy Sorting order for reviews. Available Values: - `RELEVANCE`: Relevance. Legacy value `qualityScore` is also accepted. - `NEWEST`: Newest first. Legacy value `newestFirst` is also accepted. - `HIGHEST_RATING`: Highest rating first. Legacy value `ratingHigh` is also accepted. - `LOWEST_RATING`: Lowest rating first. Legacy value `ratingLow` is also accepted. (optional) * @param topicId Filter reviews by a specific topic ID. Topic IDs are obtained from previous Maps Reviews API responses. (optional) * @param nextPageToken Token for retrieving the next page of reviews. (optional) * @param results The maximum number of reviews to return per page (range: 1-20). (optional) @@ -2950,7 +2950,7 @@ public JustSerpApiResponse mapsReviews(String dataId, String language, String so * Get Google maps Reviews data, including ratings and reviewer metadata, for reputation analysis and review monitoring. * @param dataId The unique Google Maps location ID (feature ID). You can get this from our Google Maps Search API. (required) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) - * @param sortBy Sorting order for reviews. Supported values: 'qualityScore' (Relevance), 'newestFirst' (Newest), 'ratingHigh' (Highest rating), 'ratingLow' (Lowest rating). (optional) + * @param sortBy Sorting order for reviews. Available Values: - `RELEVANCE`: Relevance. Legacy value `qualityScore` is also accepted. - `NEWEST`: Newest first. Legacy value `newestFirst` is also accepted. - `HIGHEST_RATING`: Highest rating first. Legacy value `ratingHigh` is also accepted. - `LOWEST_RATING`: Lowest rating first. Legacy value `ratingLow` is also accepted. (optional) * @param topicId Filter reviews by a specific topic ID. Topic IDs are obtained from previous Maps Reviews API responses. (optional) * @param nextPageToken Token for retrieving the next page of reviews. (optional) * @param results The maximum number of reviews to return per page (range: 1-20). (optional) @@ -2978,7 +2978,7 @@ public ApiResponse mapsReviewsWithHttpInfo(String dataId, S * Get Google maps Reviews data, including ratings and reviewer metadata, for reputation analysis and review monitoring. * @param dataId The unique Google Maps location ID (feature ID). You can get this from our Google Maps Search API. (required) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) - * @param sortBy Sorting order for reviews. Supported values: 'qualityScore' (Relevance), 'newestFirst' (Newest), 'ratingHigh' (Highest rating), 'ratingLow' (Lowest rating). (optional) + * @param sortBy Sorting order for reviews. Available Values: - `RELEVANCE`: Relevance. Legacy value `qualityScore` is also accepted. - `NEWEST`: Newest first. Legacy value `newestFirst` is also accepted. - `HIGHEST_RATING`: Highest rating first. Legacy value `ratingHigh` is also accepted. - `LOWEST_RATING`: Lowest rating first. Legacy value `ratingLow` is also accepted. (optional) * @param topicId Filter reviews by a specific topic ID. Topic IDs are obtained from previous Maps Reviews API responses. (optional) * @param nextPageToken Token for retrieving the next page of reviews. (optional) * @param results The maximum number of reviews to return per page (range: 1-20). (optional) @@ -3359,7 +3359,7 @@ public okhttp3.Call markdownAsync(String url, final ApiCallback newsSearchWithHttpInfo(String query, Str * @param topicToken The Google News topic token to retrieve results for a specific category (e.g., 'World', 'Technology'). Obtained from previous responses. (optional) * @param publicationToken The Google News publication token to fetch results from a specific source (e.g., 'CNN', 'BBC'). Obtained from previous responses. (optional) * @param sectionToken The Google News section token to access a specific subsection within a topic or publication. (optional) - * @param so Sorting order for news results. Supported values: '0' (Relevance, default), '1' (Date). Only works with 'story_token'. (optional) + * @param so Sorting order for news results. Only works with 'story_token'. Available Values: - `RELEVANCE`: Relevance. Legacy value `0` is also accepted. - `DATE`: Date. Legacy value `1` is also accepted. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -3712,9 +3712,9 @@ public okhttp3.Call patentDetailsAsync(String patentId, String language, Boolean * @param query The search query for patents (e.g., 'autonomous vehicles', 'blockchain security'). (required) * @param page The results page number. Use 0 for the first page, 1 for the second, and so on. (optional) * @param num The number of results to return per page (range: 1-100). (optional) - * @param sort Sorting order for patent results. Supported values: 'new' (Newest), 'old' (Oldest). (optional) + * @param sort Sorting order for patent results. Available Values: - `NEWEST`: Newest first. Legacy value `new` is also accepted. - `OLDEST`: Oldest first. Legacy value `old` is also accepted. (optional) * @param clustered If set to true, results will be grouped by classification. (optional) - * @param dups Deduplication method. Supported values: 'language' (by Publication). (optional) + * @param dups Deduplication method. Available Values: - `LANGUAGE`: Deduplicate by publication language. Legacy value `language` is also accepted. (optional) * @param patents Whether to include Google Patents results. (optional) * @param scholar Whether to include Google Scholar results. (optional) * @param before Latest date to include. Format: 'type:YYYYMMDD' (e.g., 'publication:20230101'). (optional) @@ -3723,9 +3723,9 @@ public okhttp3.Call patentDetailsAsync(String patentId, String language, Boolean * @param assignee Filter by patent assignee(s). Multiple values can be comma-separated. (optional) * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) - * @param status Filter by patent status. Supported values: 'GRANT', 'APPLICATION'. (optional) - * @param type Filter by patent type. Supported values: 'PATENT', 'DESIGN'. (optional) - * @param litigation Filter by litigation status. Supported values: 'YES', 'NO'. (optional) + * @param status Filter by patent status. Available Values: - `GRANT`: Granted patents. - `APPLICATION`: Patent applications. (optional) + * @param type Filter by patent type. Available Values: - `PATENT`: Patent. - `DESIGN`: Design patent. (optional) + * @param litigation Filter by litigation status. Available Values: - `YES`: Patents with litigation. - `NO`: Patents without litigation. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -3869,9 +3869,9 @@ private okhttp3.Call patentSearchValidateBeforeCall(String query, Integer page, * @param query The search query for patents (e.g., 'autonomous vehicles', 'blockchain security'). (required) * @param page The results page number. Use 0 for the first page, 1 for the second, and so on. (optional) * @param num The number of results to return per page (range: 1-100). (optional) - * @param sort Sorting order for patent results. Supported values: 'new' (Newest), 'old' (Oldest). (optional) + * @param sort Sorting order for patent results. Available Values: - `NEWEST`: Newest first. Legacy value `new` is also accepted. - `OLDEST`: Oldest first. Legacy value `old` is also accepted. (optional) * @param clustered If set to true, results will be grouped by classification. (optional) - * @param dups Deduplication method. Supported values: 'language' (by Publication). (optional) + * @param dups Deduplication method. Available Values: - `LANGUAGE`: Deduplicate by publication language. Legacy value `language` is also accepted. (optional) * @param patents Whether to include Google Patents results. (optional) * @param scholar Whether to include Google Scholar results. (optional) * @param before Latest date to include. Format: 'type:YYYYMMDD' (e.g., 'publication:20230101'). (optional) @@ -3880,9 +3880,9 @@ private okhttp3.Call patentSearchValidateBeforeCall(String query, Integer page, * @param assignee Filter by patent assignee(s). Multiple values can be comma-separated. (optional) * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) - * @param status Filter by patent status. Supported values: 'GRANT', 'APPLICATION'. (optional) - * @param type Filter by patent type. Supported values: 'PATENT', 'DESIGN'. (optional) - * @param litigation Filter by litigation status. Supported values: 'YES', 'NO'. (optional) + * @param status Filter by patent status. Available Values: - `GRANT`: Granted patents. - `APPLICATION`: Patent applications. (optional) + * @param type Filter by patent type. Available Values: - `PATENT`: Patent. - `DESIGN`: Design patent. (optional) + * @param litigation Filter by litigation status. Available Values: - `YES`: Patents with litigation. - `NO`: Patents without litigation. (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3907,9 +3907,9 @@ public JustSerpApiResponse patentSearch(String query, Integer page, Integer num, * @param query The search query for patents (e.g., 'autonomous vehicles', 'blockchain security'). (required) * @param page The results page number. Use 0 for the first page, 1 for the second, and so on. (optional) * @param num The number of results to return per page (range: 1-100). (optional) - * @param sort Sorting order for patent results. Supported values: 'new' (Newest), 'old' (Oldest). (optional) + * @param sort Sorting order for patent results. Available Values: - `NEWEST`: Newest first. Legacy value `new` is also accepted. - `OLDEST`: Oldest first. Legacy value `old` is also accepted. (optional) * @param clustered If set to true, results will be grouped by classification. (optional) - * @param dups Deduplication method. Supported values: 'language' (by Publication). (optional) + * @param dups Deduplication method. Available Values: - `LANGUAGE`: Deduplicate by publication language. Legacy value `language` is also accepted. (optional) * @param patents Whether to include Google Patents results. (optional) * @param scholar Whether to include Google Scholar results. (optional) * @param before Latest date to include. Format: 'type:YYYYMMDD' (e.g., 'publication:20230101'). (optional) @@ -3918,9 +3918,9 @@ public JustSerpApiResponse patentSearch(String query, Integer page, Integer num, * @param assignee Filter by patent assignee(s). Multiple values can be comma-separated. (optional) * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) - * @param status Filter by patent status. Supported values: 'GRANT', 'APPLICATION'. (optional) - * @param type Filter by patent type. Supported values: 'PATENT', 'DESIGN'. (optional) - * @param litigation Filter by litigation status. Supported values: 'YES', 'NO'. (optional) + * @param status Filter by patent status. Available Values: - `GRANT`: Granted patents. - `APPLICATION`: Patent applications. (optional) + * @param type Filter by patent type. Available Values: - `PATENT`: Patent. - `DESIGN`: Design patent. (optional) + * @param litigation Filter by litigation status. Available Values: - `YES`: Patents with litigation. - `NO`: Patents without litigation. (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -3946,9 +3946,9 @@ public ApiResponse patentSearchWithHttpInfo(String query, I * @param query The search query for patents (e.g., 'autonomous vehicles', 'blockchain security'). (required) * @param page The results page number. Use 0 for the first page, 1 for the second, and so on. (optional) * @param num The number of results to return per page (range: 1-100). (optional) - * @param sort Sorting order for patent results. Supported values: 'new' (Newest), 'old' (Oldest). (optional) + * @param sort Sorting order for patent results. Available Values: - `NEWEST`: Newest first. Legacy value `new` is also accepted. - `OLDEST`: Oldest first. Legacy value `old` is also accepted. (optional) * @param clustered If set to true, results will be grouped by classification. (optional) - * @param dups Deduplication method. Supported values: 'language' (by Publication). (optional) + * @param dups Deduplication method. Available Values: - `LANGUAGE`: Deduplicate by publication language. Legacy value `language` is also accepted. (optional) * @param patents Whether to include Google Patents results. (optional) * @param scholar Whether to include Google Scholar results. (optional) * @param before Latest date to include. Format: 'type:YYYYMMDD' (e.g., 'publication:20230101'). (optional) @@ -3957,9 +3957,9 @@ public ApiResponse patentSearchWithHttpInfo(String query, I * @param assignee Filter by patent assignee(s). Multiple values can be comma-separated. (optional) * @param country Set the target country code (e.g., 'us', 'uk') to localize results. See <a href=\"/reference/google-countries\">Google Countries</a>. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) - * @param status Filter by patent status. Supported values: 'GRANT', 'APPLICATION'. (optional) - * @param type Filter by patent type. Supported values: 'PATENT', 'DESIGN'. (optional) - * @param litigation Filter by litigation status. Supported values: 'YES', 'NO'. (optional) + * @param status Filter by patent status. Available Values: - `GRANT`: Granted patents. - `APPLICATION`: Patent applications. (optional) + * @param type Filter by patent type. Available Values: - `PATENT`: Patent. - `DESIGN`: Design patent. (optional) + * @param litigation Filter by litigation status. Available Values: - `YES`: Patents with litigation. - `NO`: Patents without litigation. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -4132,8 +4132,8 @@ public okhttp3.Call renderedHtmlAsync(String url, final ApiCallback scholarAuthorWithHttpInfo(String authorI * @param authorId The unique Google Scholar ID of the researcher/author (e.g., 'LSs6DR8AAAAJ'). (required) * @param results The number of results to return per page. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) - * @param viewOp Specific view operation for the author profile. Use 'list_colleagues' to see co-authors or 'view_citation' for article details. (optional) - * @param sort Sorting criteria for the author's publications. Supported values: 'title', 'pubdate'. (optional) + * @param viewOp Specific view operation for the author profile. Available Values: - `LIST_COLLEAGUES`: List co-authors. Legacy value `list_colleagues` is also accepted. - `VIEW_CITATION`: View citation details. Legacy value `view_citation` is also accepted. (optional) + * @param sort Sorting criteria for the author's publications. Available Values: - `TITLE`: Sort by title. Legacy value `title` is also accepted. - `PUBLICATION_DATE`: Sort by publication date. Legacy value `pubdate` is also accepted. (optional) * @param citationId The citation ID to view details for (required when 'view_op' is 'view_citation'). (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -4469,22 +4469,22 @@ public okhttp3.Call scholarCiteSearchAsync(String query, String language, final } /** * Build call for scholarSearch - * @param query The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. (required) + * @param query The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. Required unless cites or cluster is provided, and cannot be combined with cluster. (optional) * @param html Set to true to return the raw HTML of the Google Scholar search page. (optional) - * @param cites Return articles that cite the article with the specified ID. (optional) + * @param cites Return articles that cite the article with the specified ID. Can be used alone or with query, but cannot be combined with cluster. (optional) * @param asYlo Minimum publication year filter (e.g., '2020'). (optional) * @param asYhi Maximum publication year filter (e.g., '2024'). (optional) - * @param scisbd Controls whether to return only abstract results (1) or all results (0). (optional) - * @param cluster The unique ID of an article cluster to retrieve all versions of a specific work. (optional) + * @param scisbd Controls whether to return only abstract results or all results. Available Values: - `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted. - `ABSTRACT_RESULTS_ONLY`: Return abstract results only. Legacy value `1` is also accepted. (optional) + * @param cluster The unique ID of an article cluster to retrieve all versions of a specific work. Cannot be combined with query or cites. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param page The results page number. Use 0 for the first page, 1 for the second, and so on. (optional) * @param results The number of search results to return per page. (optional) * @param asSdt Advanced filter for specific document types or legal jurisdictions. E.g., '7' to include patents. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) - * @param asVis Controls whether citations are included in the results: 1 = exclude, 0 (default) = include. (optional) - * @param asRr Controls whether to show only review articles (topic overviews or discussions of the searched works/authors). Set to 1 to enable the filter, or 0 (default) to return all results. (optional) + * @param asVis Controls whether citations are included in the results. Available Values: - `INCLUDE_CITATIONS`: Include citations in the results. Legacy value `0` is also accepted. - `EXCLUDE_CITATIONS`: Exclude citations from the results. Legacy value `1` is also accepted. (optional) + * @param asRr Controls whether to show only review articles or return all results. Available Values: - `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted. - `REVIEW_ARTICLES_ONLY`: Return review articles only. Legacy value `1` is also accepted. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4609,34 +4609,29 @@ public okhttp3.Call scholarSearchCall(String query, Boolean html, String cites, @SuppressWarnings("rawtypes") private okhttp3.Call scholarSearchValidateBeforeCall(String query, Boolean html, String cites, String asYlo, String asYhi, String scisbd, String cluster, String language, String lr, Integer page, Integer results, String asSdt, String safe, String filter, String asVis, String asRr, final ApiCallback _callback) throws ApiException { - // verify the required parameter 'query' is set - if (query == null) { - throw new ApiException("Missing the required parameter 'query' when calling scholarSearch(Async)"); - } - return scholarSearchCall(query, html, cites, asYlo, asYhi, scisbd, cluster, language, lr, page, results, asSdt, safe, filter, asVis, asRr, _callback); } /** * Search - * Get Google scholar Search data, including papers, patents, and legal docs, citation and year filters, and versions and cited-by links, for literature review and academic result monitoring. - * @param query The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. (required) + * Search Google Scholar papers, patents, legal documents, citations, and article versions for literature review and academic monitoring. Provide query, cites, or cluster; cluster cannot be combined with query or cites. + * @param query The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. Required unless cites or cluster is provided, and cannot be combined with cluster. (optional) * @param html Set to true to return the raw HTML of the Google Scholar search page. (optional) - * @param cites Return articles that cite the article with the specified ID. (optional) + * @param cites Return articles that cite the article with the specified ID. Can be used alone or with query, but cannot be combined with cluster. (optional) * @param asYlo Minimum publication year filter (e.g., '2020'). (optional) * @param asYhi Maximum publication year filter (e.g., '2024'). (optional) - * @param scisbd Controls whether to return only abstract results (1) or all results (0). (optional) - * @param cluster The unique ID of an article cluster to retrieve all versions of a specific work. (optional) + * @param scisbd Controls whether to return only abstract results or all results. Available Values: - `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted. - `ABSTRACT_RESULTS_ONLY`: Return abstract results only. Legacy value `1` is also accepted. (optional) + * @param cluster The unique ID of an article cluster to retrieve all versions of a specific work. Cannot be combined with query or cites. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param page The results page number. Use 0 for the first page, 1 for the second, and so on. (optional) * @param results The number of search results to return per page. (optional) * @param asSdt Advanced filter for specific document types or legal jurisdictions. E.g., '7' to include patents. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) - * @param asVis Controls whether citations are included in the results: 1 = exclude, 0 (default) = include. (optional) - * @param asRr Controls whether to show only review articles (topic overviews or discussions of the searched works/authors). Set to 1 to enable the filter, or 0 (default) to return all results. (optional) + * @param asVis Controls whether citations are included in the results. Available Values: - `INCLUDE_CITATIONS`: Include citations in the results. Legacy value `0` is also accepted. - `EXCLUDE_CITATIONS`: Exclude citations from the results. Legacy value `1` is also accepted. (optional) + * @param asRr Controls whether to show only review articles or return all results. Available Values: - `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted. - `REVIEW_ARTICLES_ONLY`: Return review articles only. Legacy value `1` is also accepted. (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4657,23 +4652,23 @@ public JustSerpApiResponse scholarSearch(String query, Boolean html, String cite /** * Search - * Get Google scholar Search data, including papers, patents, and legal docs, citation and year filters, and versions and cited-by links, for literature review and academic result monitoring. - * @param query The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. (required) + * Search Google Scholar papers, patents, legal documents, citations, and article versions for literature review and academic monitoring. Provide query, cites, or cluster; cluster cannot be combined with query or cites. + * @param query The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. Required unless cites or cluster is provided, and cannot be combined with cluster. (optional) * @param html Set to true to return the raw HTML of the Google Scholar search page. (optional) - * @param cites Return articles that cite the article with the specified ID. (optional) + * @param cites Return articles that cite the article with the specified ID. Can be used alone or with query, but cannot be combined with cluster. (optional) * @param asYlo Minimum publication year filter (e.g., '2020'). (optional) * @param asYhi Maximum publication year filter (e.g., '2024'). (optional) - * @param scisbd Controls whether to return only abstract results (1) or all results (0). (optional) - * @param cluster The unique ID of an article cluster to retrieve all versions of a specific work. (optional) + * @param scisbd Controls whether to return only abstract results or all results. Available Values: - `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted. - `ABSTRACT_RESULTS_ONLY`: Return abstract results only. Legacy value `1` is also accepted. (optional) + * @param cluster The unique ID of an article cluster to retrieve all versions of a specific work. Cannot be combined with query or cites. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param page The results page number. Use 0 for the first page, 1 for the second, and so on. (optional) * @param results The number of search results to return per page. (optional) * @param asSdt Advanced filter for specific document types or legal jurisdictions. E.g., '7' to include patents. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) - * @param asVis Controls whether citations are included in the results: 1 = exclude, 0 (default) = include. (optional) - * @param asRr Controls whether to show only review articles (topic overviews or discussions of the searched works/authors). Set to 1 to enable the filter, or 0 (default) to return all results. (optional) + * @param asVis Controls whether citations are included in the results. Available Values: - `INCLUDE_CITATIONS`: Include citations in the results. Legacy value `0` is also accepted. - `EXCLUDE_CITATIONS`: Exclude citations from the results. Legacy value `1` is also accepted. (optional) + * @param asRr Controls whether to show only review articles or return all results. Available Values: - `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted. - `REVIEW_ARTICLES_ONLY`: Return review articles only. Legacy value `1` is also accepted. (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4695,23 +4690,23 @@ public ApiResponse scholarSearchWithHttpInfo(String query, /** * Search (asynchronously) - * Get Google scholar Search data, including papers, patents, and legal docs, citation and year filters, and versions and cited-by links, for literature review and academic result monitoring. - * @param query The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. (required) + * Search Google Scholar papers, patents, legal documents, citations, and article versions for literature review and academic monitoring. Provide query, cites, or cluster; cluster cannot be combined with query or cites. + * @param query The academic search query (e.g., 'machine learning', 'CRISPR gene editing'). Supports advanced operators like 'author:'. Required unless cites or cluster is provided, and cannot be combined with cluster. (optional) * @param html Set to true to return the raw HTML of the Google Scholar search page. (optional) - * @param cites Return articles that cite the article with the specified ID. (optional) + * @param cites Return articles that cite the article with the specified ID. Can be used alone or with query, but cannot be combined with cluster. (optional) * @param asYlo Minimum publication year filter (e.g., '2020'). (optional) * @param asYhi Maximum publication year filter (e.g., '2024'). (optional) - * @param scisbd Controls whether to return only abstract results (1) or all results (0). (optional) - * @param cluster The unique ID of an article cluster to retrieve all versions of a specific work. (optional) + * @param scisbd Controls whether to return only abstract results or all results. Available Values: - `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted. - `ABSTRACT_RESULTS_ONLY`: Return abstract results only. Legacy value `1` is also accepted. (optional) + * @param cluster The unique ID of an article cluster to retrieve all versions of a specific work. Cannot be combined with query or cites. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param page The results page number. Use 0 for the first page, 1 for the second, and so on. (optional) * @param results The number of search results to return per page. (optional) * @param asSdt Advanced filter for specific document types or legal jurisdictions. E.g., '7' to include patents. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) - * @param asVis Controls whether citations are included in the results: 1 = exclude, 0 (default) = include. (optional) - * @param asRr Controls whether to show only review articles (topic overviews or discussions of the searched works/authors). Set to 1 to enable the filter, or 0 (default) to return all results. (optional) + * @param asVis Controls whether citations are included in the results. Available Values: - `INCLUDE_CITATIONS`: Include citations in the results. Legacy value `0` is also accepted. - `EXCLUDE_CITATIONS`: Exclude citations from the results. Legacy value `1` is also accepted. (optional) + * @param asRr Controls whether to show only review articles or return all results. Available Values: - `ALL_RESULTS`: Return all results. Legacy value `0` is also accepted. - `REVIEW_ARTICLES_ONLY`: Return review articles only. Legacy value `1` is also accepted. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -4752,9 +4747,9 @@ public okhttp3.Call scholarSearchAsync(String query, Boolean html, String cites, * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -4924,9 +4919,9 @@ private okhttp3.Call searchValidateBeforeCall(String query, Integer page, Boolea * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -4965,9 +4960,9 @@ public JustSerpApiResponse search(String query, Integer page, Boolean html, Stri * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5007,9 +5002,9 @@ public ApiResponse searchWithHttpInfo(String query, Integer * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -5050,9 +5045,9 @@ public okhttp3.Call searchAsync(String query, Integer page, Boolean html, String * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -5222,9 +5217,9 @@ private okhttp3.Call searchLightValidateBeforeCall(String query, Integer page, B * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5263,9 +5258,9 @@ public JustSerpApiResponse searchLight(String query, Integer page, Boolean html, * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5305,9 +5300,9 @@ public ApiResponse searchLightWithHttpInfo(String query, In * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -5348,9 +5343,9 @@ public okhttp3.Call searchLightAsync(String query, Integer page, Boolean html, S * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -5520,9 +5515,9 @@ private okhttp3.Call searchMobileValidateBeforeCall(String query, Integer page, * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5561,9 +5556,9 @@ public JustSerpApiResponse searchMobile(String query, Integer page, Boolean html * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5603,9 +5598,9 @@ public ApiResponse searchMobileWithHttpInfo(String query, I * @param ibp Parameter (ibp) used to control certain Google UI expansions or rendering modes (commonly in local/business result views). This is an advanced technical parameter — if you’re not familiar with it, you can leave it empty. (optional) * @param uds Advanced filter token (uds) used for specific Google search sub-filters. This is an advanced technical parameter, usually provided by Google in filter options/results — if you’re not familiar with it, you can leave it empty. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) - * @param filter Toggle 'Similar Results' and 'Omitted Results' filters. Set to '1' (default) to enable, '0' to disable. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) + * @param filter Toggle similar-results and omitted-results filtering. Available Values: - `DISABLED`: Disable similar and omitted results filtering. Legacy value `0` is also accepted. - `ENABLED`: Enable similar and omitted results filtering. Legacy value `1` is also accepted. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -5639,8 +5634,8 @@ public okhttp3.Call searchMobileAsync(String query, Integer page, Boolean html, * @param shoprs A unique ID used to apply specific shopping filters. Usually obtained from previous response. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -5771,8 +5766,8 @@ private okhttp3.Call shoppingSearchValidateBeforeCall(String query, Integer page * @param shoprs A unique ID used to apply specific shopping filters. Usually obtained from previous response. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5804,8 +5799,8 @@ public JustSerpApiResponse shoppingSearch(String query, Integer page, Boolean ht * @param shoprs A unique ID used to apply specific shopping filters. Usually obtained from previous response. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -5838,8 +5833,8 @@ public ApiResponse shoppingSearchWithHttpInfo(String query, * @param shoprs A unique ID used to apply specific shopping filters. Usually obtained from previous response. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -5872,8 +5867,8 @@ public okhttp3.Call shoppingSearchAsync(String query, Integer page, Boolean html * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @param _callback Callback for upload/download progress * @return Call to execute * @throws ApiException If fail to serialize the request body object @@ -5999,8 +5994,8 @@ private okhttp3.Call shortsSearchValidateBeforeCall(String query, Integer start, * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -6031,8 +6026,8 @@ public JustSerpApiResponse shortsSearch(String query, Integer start, Boolean htm * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body * @http.response.details @@ -6064,8 +6059,8 @@ public ApiResponse shortsSearchWithHttpInfo(String query, I * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call * @throws ApiException If fail to process the API call, e.g. serializing the request body object @@ -6246,11 +6241,11 @@ public okhttp3.Call trendsAutocompleteAsync(String query, String language, final * @param query The search term or topic ID to analyze in Google Trends (e.g., 'iPhone', '/m/027lnzs' for Bitcoin). You can provide up to 5 terms separated by commas for comparisons. (required) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param geo The geographic location code to filter trends (e.g., 'US', 'GB'). Omit for worldwide trends. See <a href=\"/reference/google-trends-locations\">Google Trends Locations</a>. (optional) - * @param region Refines results for region charts. Supported values: 'COUNTRY', 'REGION', 'DMA', 'CITY'. (optional) - * @param dataType The type of trend data to retrieve. Supported values: 'TIMESERIES' (Interest over time), 'GEO_MAP' (Breakdown by region). (optional) + * @param region Refines results for region charts. Available Values: - `COUNTRY`: Country-level results. - `REGION`: Region-level results. - `DMA`: Designated market area results. - `CITY`: City-level results. (optional) + * @param dataType The type of trend data to retrieve. Available Values: - `INTEREST_OVER_TIME`: Interest over time. Legacy value `TIMESERIES` is also accepted. - `REGION_BREAKDOWN`: Breakdown by region. Legacy value `GEO_MAP` is also accepted. (optional) * @param tz Time zone offset in minutes (e.g., '420' for PDT). Range: -1439 to 1439. (optional) * @param cat The search category code (e.g., '0' for all categories). (optional) - * @param gprop The Google property to filter trends. Supported values: 'images', 'news', 'froogle' (Shopping), 'youtube'. (optional) + * @param gprop The Google property to filter trends. Available Values: - `IMAGES`: Google Images. Legacy value `images` is also accepted. - `NEWS`: Google News. Legacy value `news` is also accepted. - `SHOPPING`: Google Shopping. Legacy value `froogle` is also accepted. - `YOUTUBE`: YouTube. Legacy value `youtube` is also accepted. (optional) * @param date Date range filter for the search. Supports predefined values (now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all) and custom ranges: yyyy-mm-dd yyyy-mm-dd (e.g. 2021-10-15 2022-05-25) or hourly yyyy-mm-ddThh yyyy-mm-ddThh within 1 week (e.g. 2022-05-19T10 2022-05-24T22, based on tz). (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -6363,11 +6358,11 @@ private okhttp3.Call trendsSearchValidateBeforeCall(String query, String languag * @param query The search term or topic ID to analyze in Google Trends (e.g., 'iPhone', '/m/027lnzs' for Bitcoin). You can provide up to 5 terms separated by commas for comparisons. (required) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param geo The geographic location code to filter trends (e.g., 'US', 'GB'). Omit for worldwide trends. See <a href=\"/reference/google-trends-locations\">Google Trends Locations</a>. (optional) - * @param region Refines results for region charts. Supported values: 'COUNTRY', 'REGION', 'DMA', 'CITY'. (optional) - * @param dataType The type of trend data to retrieve. Supported values: 'TIMESERIES' (Interest over time), 'GEO_MAP' (Breakdown by region). (optional) + * @param region Refines results for region charts. Available Values: - `COUNTRY`: Country-level results. - `REGION`: Region-level results. - `DMA`: Designated market area results. - `CITY`: City-level results. (optional) + * @param dataType The type of trend data to retrieve. Available Values: - `INTEREST_OVER_TIME`: Interest over time. Legacy value `TIMESERIES` is also accepted. - `REGION_BREAKDOWN`: Breakdown by region. Legacy value `GEO_MAP` is also accepted. (optional) * @param tz Time zone offset in minutes (e.g., '420' for PDT). Range: -1439 to 1439. (optional) * @param cat The search category code (e.g., '0' for all categories). (optional) - * @param gprop The Google property to filter trends. Supported values: 'images', 'news', 'froogle' (Shopping), 'youtube'. (optional) + * @param gprop The Google property to filter trends. Available Values: - `IMAGES`: Google Images. Legacy value `images` is also accepted. - `NEWS`: Google News. Legacy value `news` is also accepted. - `SHOPPING`: Google Shopping. Legacy value `froogle` is also accepted. - `YOUTUBE`: YouTube. Legacy value `youtube` is also accepted. (optional) * @param date Date range filter for the search. Supports predefined values (now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all) and custom ranges: yyyy-mm-dd yyyy-mm-dd (e.g. 2021-10-15 2022-05-25) or hourly yyyy-mm-ddThh yyyy-mm-ddThh within 1 week (e.g. 2022-05-19T10 2022-05-24T22, based on tz). (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -6393,11 +6388,11 @@ public JustSerpApiResponse trendsSearch(String query, String language, String ge * @param query The search term or topic ID to analyze in Google Trends (e.g., 'iPhone', '/m/027lnzs' for Bitcoin). You can provide up to 5 terms separated by commas for comparisons. (required) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param geo The geographic location code to filter trends (e.g., 'US', 'GB'). Omit for worldwide trends. See <a href=\"/reference/google-trends-locations\">Google Trends Locations</a>. (optional) - * @param region Refines results for region charts. Supported values: 'COUNTRY', 'REGION', 'DMA', 'CITY'. (optional) - * @param dataType The type of trend data to retrieve. Supported values: 'TIMESERIES' (Interest over time), 'GEO_MAP' (Breakdown by region). (optional) + * @param region Refines results for region charts. Available Values: - `COUNTRY`: Country-level results. - `REGION`: Region-level results. - `DMA`: Designated market area results. - `CITY`: City-level results. (optional) + * @param dataType The type of trend data to retrieve. Available Values: - `INTEREST_OVER_TIME`: Interest over time. Legacy value `TIMESERIES` is also accepted. - `REGION_BREAKDOWN`: Breakdown by region. Legacy value `GEO_MAP` is also accepted. (optional) * @param tz Time zone offset in minutes (e.g., '420' for PDT). Range: -1439 to 1439. (optional) * @param cat The search category code (e.g., '0' for all categories). (optional) - * @param gprop The Google property to filter trends. Supported values: 'images', 'news', 'froogle' (Shopping), 'youtube'. (optional) + * @param gprop The Google property to filter trends. Available Values: - `IMAGES`: Google Images. Legacy value `images` is also accepted. - `NEWS`: Google News. Legacy value `news` is also accepted. - `SHOPPING`: Google Shopping. Legacy value `froogle` is also accepted. - `YOUTUBE`: YouTube. Legacy value `youtube` is also accepted. (optional) * @param date Date range filter for the search. Supports predefined values (now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all) and custom ranges: yyyy-mm-dd yyyy-mm-dd (e.g. 2021-10-15 2022-05-25) or hourly yyyy-mm-ddThh yyyy-mm-ddThh within 1 week (e.g. 2022-05-19T10 2022-05-24T22, based on tz). (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -6424,11 +6419,11 @@ public ApiResponse trendsSearchWithHttpInfo(String query, S * @param query The search term or topic ID to analyze in Google Trends (e.g., 'iPhone', '/m/027lnzs' for Bitcoin). You can provide up to 5 terms separated by commas for comparisons. (required) * @param language Set the language for the results using its two-letter code (e.g., 'en' for English, 'fr' for French). See <a href=\"/reference/google-language\">Google Language</a>. (optional) * @param geo The geographic location code to filter trends (e.g., 'US', 'GB'). Omit for worldwide trends. See <a href=\"/reference/google-trends-locations\">Google Trends Locations</a>. (optional) - * @param region Refines results for region charts. Supported values: 'COUNTRY', 'REGION', 'DMA', 'CITY'. (optional) - * @param dataType The type of trend data to retrieve. Supported values: 'TIMESERIES' (Interest over time), 'GEO_MAP' (Breakdown by region). (optional) + * @param region Refines results for region charts. Available Values: - `COUNTRY`: Country-level results. - `REGION`: Region-level results. - `DMA`: Designated market area results. - `CITY`: City-level results. (optional) + * @param dataType The type of trend data to retrieve. Available Values: - `INTEREST_OVER_TIME`: Interest over time. Legacy value `TIMESERIES` is also accepted. - `REGION_BREAKDOWN`: Breakdown by region. Legacy value `GEO_MAP` is also accepted. (optional) * @param tz Time zone offset in minutes (e.g., '420' for PDT). Range: -1439 to 1439. (optional) * @param cat The search category code (e.g., '0' for all categories). (optional) - * @param gprop The Google property to filter trends. Supported values: 'images', 'news', 'froogle' (Shopping), 'youtube'. (optional) + * @param gprop The Google property to filter trends. Available Values: - `IMAGES`: Google Images. Legacy value `images` is also accepted. - `NEWS`: Google News. Legacy value `news` is also accepted. - `SHOPPING`: Google Shopping. Legacy value `froogle` is also accepted. - `YOUTUBE`: YouTube. Legacy value `youtube` is also accepted. (optional) * @param date Date range filter for the search. Supports predefined values (now 1-H, now 4-H, now 1-d, now 7-d, today 1-m, today 3-m, today 12-m, today 5-y, all) and custom ranges: yyyy-mm-dd yyyy-mm-dd (e.g. 2021-10-15 2022-05-25) or hourly yyyy-mm-ddThh yyyy-mm-ddThh within 1 week (e.g. 2022-05-19T10 2022-05-24T22, based on tz). (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -6454,7 +6449,7 @@ public okhttp3.Call trendsSearchAsync(String query, String language, String geo, /** * Build call for trendsTrendingNow * @param geo The geographic location code to retrieve real-time trends for (e.g., 'US' for United States). Default is 'US'. (required) - * @param hours Time window for trending topics. Supported values: '4' (past 4 hours), '24' (past 24 hours), '48' (past 48 hours), '168' (past 7 days). (optional) + * @param hours Time window for trending topics. Available Values: - `PAST_4_HOURS`: Past 4 hours. Legacy value `4` is also accepted. - `PAST_24_HOURS`: Past 24 hours. Legacy value `24` is also accepted. - `PAST_48_HOURS`: Past 48 hours. Legacy value `48` is also accepted. - `PAST_7_DAYS`: Past 7 days. Legacy value `168` is also accepted. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en'). (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -6541,7 +6536,7 @@ private okhttp3.Call trendsTrendingNowValidateBeforeCall(String geo, String hour * Trending Now * Get Google trends Trending Now data, including latest trending topics, region and time-window filters, and volume indicators, for breaking-trend monitoring and editorial planning. * @param geo The geographic location code to retrieve real-time trends for (e.g., 'US' for United States). Default is 'US'. (required) - * @param hours Time window for trending topics. Supported values: '4' (past 4 hours), '24' (past 24 hours), '48' (past 48 hours), '168' (past 7 days). (optional) + * @param hours Time window for trending topics. Available Values: - `PAST_4_HOURS`: Past 4 hours. Legacy value `4` is also accepted. - `PAST_24_HOURS`: Past 24 hours. Legacy value `24` is also accepted. - `PAST_48_HOURS`: Past 48 hours. Legacy value `48` is also accepted. - `PAST_7_DAYS`: Past 7 days. Legacy value `168` is also accepted. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en'). (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -6565,7 +6560,7 @@ public JustSerpApiResponse trendsTrendingNow(String geo, String hours, String la * Trending Now * Get Google trends Trending Now data, including latest trending topics, region and time-window filters, and volume indicators, for breaking-trend monitoring and editorial planning. * @param geo The geographic location code to retrieve real-time trends for (e.g., 'US' for United States). Default is 'US'. (required) - * @param hours Time window for trending topics. Supported values: '4' (past 4 hours), '24' (past 24 hours), '48' (past 48 hours), '168' (past 7 days). (optional) + * @param hours Time window for trending topics. Available Values: - `PAST_4_HOURS`: Past 4 hours. Legacy value `4` is also accepted. - `PAST_24_HOURS`: Past 24 hours. Legacy value `24` is also accepted. - `PAST_48_HOURS`: Past 48 hours. Legacy value `48` is also accepted. - `PAST_7_DAYS`: Past 7 days. Legacy value `168` is also accepted. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en'). (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -6590,7 +6585,7 @@ public ApiResponse trendsTrendingNowWithHttpInfo(String geo * Trending Now (asynchronously) * Get Google trends Trending Now data, including latest trending topics, region and time-window filters, and volume indicators, for breaking-trend monitoring and editorial planning. * @param geo The geographic location code to retrieve real-time trends for (e.g., 'US' for United States). Default is 'US'. (required) - * @param hours Time window for trending topics. Supported values: '4' (past 4 hours), '24' (past 24 hours), '48' (past 48 hours), '168' (past 7 days). (optional) + * @param hours Time window for trending topics. Available Values: - `PAST_4_HOURS`: Past 4 hours. Legacy value `4` is also accepted. - `PAST_24_HOURS`: Past 24 hours. Legacy value `24` is also accepted. - `PAST_48_HOURS`: Past 48 hours. Legacy value `48` is also accepted. - `PAST_7_DAYS`: Past 7 days. Legacy value `168` is also accepted. (optional) * @param language Set the language for the results using its two-letter code (e.g., 'en'). (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call @@ -6624,8 +6619,8 @@ public okhttp3.Call trendsTrendingNowAsync(String geo, String hours, String lang * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @param resultTime Filter results by publication time (e.g., 'qdr:d' for past 24 hours, 'qdr:w' for past week). (optional) * @param _callback Callback for upload/download progress * @return Call to execute @@ -6756,8 +6751,8 @@ private okhttp3.Call videosSearchValidateBeforeCall(String query, Integer page, * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @param resultTime Filter results by publication time (e.g., 'qdr:d' for past 24 hours, 'qdr:w' for past week). (optional) * @return JustSerpApiResponse * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -6789,8 +6784,8 @@ public JustSerpApiResponse videosSearch(String query, Integer page, Boolean html * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @param resultTime Filter results by publication time (e.g., 'qdr:d' for past 24 hours, 'qdr:w' for past week). (optional) * @return ApiResponse<JustSerpApiResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body @@ -6823,8 +6818,8 @@ public ApiResponse videosSearchWithHttpInfo(String query, I * @param lr Restrict results to one or more languages using the 'lang_{language_code}' format (e.g., 'lang_en'). See <a href=\"/reference/google-lr-language\">Google LR Language</a>. (optional) * @param uule Encoded location string (UULE) used to precisely localize Google search results. This is an advanced/technical parameter — if you’re not familiar with it, you can leave it empty and omit it. (optional) * @param tbs Advanced search filter parameter (tbs) used to apply Google result filters (e.g. time range). This is an advanced parameter — if you’re not familiar with it, you can leave it empty. (optional) - * @param safe SafeSearch filter setting. Set to 'active' to filter adult content, or 'off' to disable it. (optional) - * @param nfpr Controls Google's auto-correction. Set to '1' to exclude corrected results, '0' to include them. (optional) + * @param safe SafeSearch filter setting. Available Values: - `ACTIVE`: Filter adult content. Legacy value `active` is also accepted. - `OFF`: Disable SafeSearch filtering. Legacy value `off` is also accepted. (optional) + * @param nfpr Controls Google's auto-correction. Available Values: - `INCLUDE_CORRECTED_RESULTS`: Include corrected results. Legacy value `0` is also accepted. - `EXCLUDE_CORRECTED_RESULTS`: Exclude corrected results. Legacy value `1` is also accepted. (optional) * @param resultTime Filter results by publication time (e.g., 'qdr:d' for past 24 hours, 'qdr:w' for past week). (optional) * @param _callback The callback to be executed when the API call finishes * @return The request call diff --git a/src/main/generated/com/justserpapi/model/JsonNode.java b/src/main/generated/com/justserpapi/model/JsonNode.java index 002bacb8b..731f7f573 100644 --- a/src/main/generated/com/justserpapi/model/JsonNode.java +++ b/src/main/generated/com/justserpapi/model/JsonNode.java @@ -75,11 +75,6 @@ public class JsonNode { @javax.annotation.Nullable private Boolean _float; - public static final String SERIALIZED_NAME_STRING = "string"; - @SerializedName(SERIALIZED_NAME_STRING) - @javax.annotation.Nullable - private Boolean string; - public static final String SERIALIZED_NAME_INTEGRAL_NUMBER = "integralNumber"; @SerializedName(SERIALIZED_NAME_INTEGRAL_NUMBER) @javax.annotation.Nullable @@ -90,20 +85,61 @@ public class JsonNode { @javax.annotation.Nullable private Boolean floatingPointNumber; - public static final String SERIALIZED_NAME_VALUE_NODE = "valueNode"; - @SerializedName(SERIALIZED_NAME_VALUE_NODE) + public static final String SERIALIZED_NAME_STRING = "string"; + @SerializedName(SERIALIZED_NAME_STRING) @javax.annotation.Nullable - private Boolean valueNode; + private Boolean string; - public static final String SERIALIZED_NAME_CONTAINER = "container"; - @SerializedName(SERIALIZED_NAME_CONTAINER) + public static final String SERIALIZED_NAME_POJO = "pojo"; + @SerializedName(SERIALIZED_NAME_POJO) @javax.annotation.Nullable - private Boolean container; + private Boolean pojo; - public static final String SERIALIZED_NAME_MISSING_NODE = "missingNode"; - @SerializedName(SERIALIZED_NAME_MISSING_NODE) + public static final String SERIALIZED_NAME_SHORT = "short"; + @SerializedName(SERIALIZED_NAME_SHORT) @javax.annotation.Nullable - private Boolean missingNode; + private Boolean _short; + + public static final String SERIALIZED_NAME_INT = "int"; + @SerializedName(SERIALIZED_NAME_INT) + @javax.annotation.Nullable + private Boolean _int; + + public static final String SERIALIZED_NAME_LONG = "long"; + @SerializedName(SERIALIZED_NAME_LONG) + @javax.annotation.Nullable + private Boolean _long; + + public static final String SERIALIZED_NAME_DOUBLE = "double"; + @SerializedName(SERIALIZED_NAME_DOUBLE) + @javax.annotation.Nullable + private Boolean _double; + + public static final String SERIALIZED_NAME_BIG_DECIMAL = "bigDecimal"; + @SerializedName(SERIALIZED_NAME_BIG_DECIMAL) + @javax.annotation.Nullable + private Boolean bigDecimal; + + public static final String SERIALIZED_NAME_BIG_INTEGER = "bigInteger"; + @SerializedName(SERIALIZED_NAME_BIG_INTEGER) + @javax.annotation.Nullable + private Boolean bigInteger; + + public static final String SERIALIZED_NAME_TEXTUAL = "textual"; + @Deprecated + @SerializedName(SERIALIZED_NAME_TEXTUAL) + @javax.annotation.Nullable + private Boolean textual; + + public static final String SERIALIZED_NAME_BOOLEAN = "boolean"; + @SerializedName(SERIALIZED_NAME_BOOLEAN) + @javax.annotation.Nullable + private Boolean _boolean; + + public static final String SERIALIZED_NAME_BINARY = "binary"; + @SerializedName(SERIALIZED_NAME_BINARY) + @javax.annotation.Nullable + private Boolean binary; /** * Gets or Sets nodeType @@ -176,56 +212,20 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti @javax.annotation.Nullable private NodeTypeEnum nodeType; - public static final String SERIALIZED_NAME_POJO = "pojo"; - @SerializedName(SERIALIZED_NAME_POJO) - @javax.annotation.Nullable - private Boolean pojo; - - public static final String SERIALIZED_NAME_SHORT = "short"; - @SerializedName(SERIALIZED_NAME_SHORT) - @javax.annotation.Nullable - private Boolean _short; - - public static final String SERIALIZED_NAME_INT = "int"; - @SerializedName(SERIALIZED_NAME_INT) - @javax.annotation.Nullable - private Boolean _int; - - public static final String SERIALIZED_NAME_LONG = "long"; - @SerializedName(SERIALIZED_NAME_LONG) - @javax.annotation.Nullable - private Boolean _long; - - public static final String SERIALIZED_NAME_DOUBLE = "double"; - @SerializedName(SERIALIZED_NAME_DOUBLE) - @javax.annotation.Nullable - private Boolean _double; - - public static final String SERIALIZED_NAME_BIG_DECIMAL = "bigDecimal"; - @SerializedName(SERIALIZED_NAME_BIG_DECIMAL) - @javax.annotation.Nullable - private Boolean bigDecimal; - - public static final String SERIALIZED_NAME_BIG_INTEGER = "bigInteger"; - @SerializedName(SERIALIZED_NAME_BIG_INTEGER) - @javax.annotation.Nullable - private Boolean bigInteger; - - public static final String SERIALIZED_NAME_TEXTUAL = "textual"; - @Deprecated - @SerializedName(SERIALIZED_NAME_TEXTUAL) + public static final String SERIALIZED_NAME_VALUE_NODE = "valueNode"; + @SerializedName(SERIALIZED_NAME_VALUE_NODE) @javax.annotation.Nullable - private Boolean textual; + private Boolean valueNode; - public static final String SERIALIZED_NAME_BOOLEAN = "boolean"; - @SerializedName(SERIALIZED_NAME_BOOLEAN) + public static final String SERIALIZED_NAME_CONTAINER = "container"; + @SerializedName(SERIALIZED_NAME_CONTAINER) @javax.annotation.Nullable - private Boolean _boolean; + private Boolean container; - public static final String SERIALIZED_NAME_BINARY = "binary"; - @SerializedName(SERIALIZED_NAME_BINARY) + public static final String SERIALIZED_NAME_MISSING_NODE = "missingNode"; + @SerializedName(SERIALIZED_NAME_MISSING_NODE) @javax.annotation.Nullable - private Boolean binary; + private Boolean missingNode; public static final String SERIALIZED_NAME_NUMBER = "number"; @SerializedName(SERIALIZED_NAME_NUMBER) @@ -335,25 +335,6 @@ public void setFloat(@javax.annotation.Nullable Boolean _float) { } - public JsonNode string(@javax.annotation.Nullable Boolean string) { - this.string = string; - return this; - } - - /** - * Get string - * @return string - */ - @javax.annotation.Nullable - public Boolean getString() { - return string; - } - - public void setString(@javax.annotation.Nullable Boolean string) { - this.string = string; - } - - public JsonNode integralNumber(@javax.annotation.Nullable Boolean integralNumber) { this.integralNumber = integralNumber; return this; @@ -392,79 +373,22 @@ public void setFloatingPointNumber(@javax.annotation.Nullable Boolean floatingPo } - public JsonNode valueNode(@javax.annotation.Nullable Boolean valueNode) { - this.valueNode = valueNode; - return this; - } - - /** - * Get valueNode - * @return valueNode - */ - @javax.annotation.Nullable - public Boolean getValueNode() { - return valueNode; - } - - public void setValueNode(@javax.annotation.Nullable Boolean valueNode) { - this.valueNode = valueNode; - } - - - public JsonNode container(@javax.annotation.Nullable Boolean container) { - this.container = container; - return this; - } - - /** - * Get container - * @return container - */ - @javax.annotation.Nullable - public Boolean getContainer() { - return container; - } - - public void setContainer(@javax.annotation.Nullable Boolean container) { - this.container = container; - } - - - public JsonNode missingNode(@javax.annotation.Nullable Boolean missingNode) { - this.missingNode = missingNode; - return this; - } - - /** - * Get missingNode - * @return missingNode - */ - @javax.annotation.Nullable - public Boolean getMissingNode() { - return missingNode; - } - - public void setMissingNode(@javax.annotation.Nullable Boolean missingNode) { - this.missingNode = missingNode; - } - - - public JsonNode nodeType(@javax.annotation.Nullable NodeTypeEnum nodeType) { - this.nodeType = nodeType; + public JsonNode string(@javax.annotation.Nullable Boolean string) { + this.string = string; return this; } /** - * Get nodeType - * @return nodeType + * Get string + * @return string */ @javax.annotation.Nullable - public NodeTypeEnum getNodeType() { - return nodeType; + public Boolean getString() { + return string; } - public void setNodeType(@javax.annotation.Nullable NodeTypeEnum nodeType) { - this.nodeType = nodeType; + public void setString(@javax.annotation.Nullable Boolean string) { + this.string = string; } @@ -662,6 +586,82 @@ public void setBinary(@javax.annotation.Nullable Boolean binary) { } + public JsonNode nodeType(@javax.annotation.Nullable NodeTypeEnum nodeType) { + this.nodeType = nodeType; + return this; + } + + /** + * Get nodeType + * @return nodeType + */ + @javax.annotation.Nullable + public NodeTypeEnum getNodeType() { + return nodeType; + } + + public void setNodeType(@javax.annotation.Nullable NodeTypeEnum nodeType) { + this.nodeType = nodeType; + } + + + public JsonNode valueNode(@javax.annotation.Nullable Boolean valueNode) { + this.valueNode = valueNode; + return this; + } + + /** + * Get valueNode + * @return valueNode + */ + @javax.annotation.Nullable + public Boolean getValueNode() { + return valueNode; + } + + public void setValueNode(@javax.annotation.Nullable Boolean valueNode) { + this.valueNode = valueNode; + } + + + public JsonNode container(@javax.annotation.Nullable Boolean container) { + this.container = container; + return this; + } + + /** + * Get container + * @return container + */ + @javax.annotation.Nullable + public Boolean getContainer() { + return container; + } + + public void setContainer(@javax.annotation.Nullable Boolean container) { + this.container = container; + } + + + public JsonNode missingNode(@javax.annotation.Nullable Boolean missingNode) { + this.missingNode = missingNode; + return this; + } + + /** + * Get missingNode + * @return missingNode + */ + @javax.annotation.Nullable + public Boolean getMissingNode() { + return missingNode; + } + + public void setMissingNode(@javax.annotation.Nullable Boolean missingNode) { + this.missingNode = missingNode; + } + + public JsonNode number(@javax.annotation.Nullable Boolean number) { this.number = number; return this; @@ -715,13 +715,9 @@ public boolean equals(Object o) { Objects.equals(this._null, jsonNode._null) && Objects.equals(this._object, jsonNode._object) && Objects.equals(this._float, jsonNode._float) && - Objects.equals(this.string, jsonNode.string) && Objects.equals(this.integralNumber, jsonNode.integralNumber) && Objects.equals(this.floatingPointNumber, jsonNode.floatingPointNumber) && - Objects.equals(this.valueNode, jsonNode.valueNode) && - Objects.equals(this.container, jsonNode.container) && - Objects.equals(this.missingNode, jsonNode.missingNode) && - Objects.equals(this.nodeType, jsonNode.nodeType) && + Objects.equals(this.string, jsonNode.string) && Objects.equals(this.pojo, jsonNode.pojo) && Objects.equals(this._short, jsonNode._short) && Objects.equals(this._int, jsonNode._int) && @@ -732,13 +728,17 @@ public boolean equals(Object o) { Objects.equals(this.textual, jsonNode.textual) && Objects.equals(this._boolean, jsonNode._boolean) && Objects.equals(this.binary, jsonNode.binary) && + Objects.equals(this.nodeType, jsonNode.nodeType) && + Objects.equals(this.valueNode, jsonNode.valueNode) && + Objects.equals(this.container, jsonNode.container) && + Objects.equals(this.missingNode, jsonNode.missingNode) && Objects.equals(this.number, jsonNode.number) && Objects.equals(this.embeddedValue, jsonNode.embeddedValue); } @Override public int hashCode() { - return Objects.hash(empty, array, _null, _object, _float, string, integralNumber, floatingPointNumber, valueNode, container, missingNode, nodeType, pojo, _short, _int, _long, _double, bigDecimal, bigInteger, textual, _boolean, binary, number, embeddedValue); + return Objects.hash(empty, array, _null, _object, _float, integralNumber, floatingPointNumber, string, pojo, _short, _int, _long, _double, bigDecimal, bigInteger, textual, _boolean, binary, nodeType, valueNode, container, missingNode, number, embeddedValue); } @Override @@ -750,13 +750,9 @@ public String toString() { sb.append(" _null: ").append(toIndentedString(_null)).append("\n"); sb.append(" _object: ").append(toIndentedString(_object)).append("\n"); sb.append(" _float: ").append(toIndentedString(_float)).append("\n"); - sb.append(" string: ").append(toIndentedString(string)).append("\n"); sb.append(" integralNumber: ").append(toIndentedString(integralNumber)).append("\n"); sb.append(" floatingPointNumber: ").append(toIndentedString(floatingPointNumber)).append("\n"); - sb.append(" valueNode: ").append(toIndentedString(valueNode)).append("\n"); - sb.append(" container: ").append(toIndentedString(container)).append("\n"); - sb.append(" missingNode: ").append(toIndentedString(missingNode)).append("\n"); - sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); + sb.append(" string: ").append(toIndentedString(string)).append("\n"); sb.append(" pojo: ").append(toIndentedString(pojo)).append("\n"); sb.append(" _short: ").append(toIndentedString(_short)).append("\n"); sb.append(" _int: ").append(toIndentedString(_int)).append("\n"); @@ -767,6 +763,10 @@ public String toString() { sb.append(" textual: ").append(toIndentedString(textual)).append("\n"); sb.append(" _boolean: ").append(toIndentedString(_boolean)).append("\n"); sb.append(" binary: ").append(toIndentedString(binary)).append("\n"); + sb.append(" nodeType: ").append(toIndentedString(nodeType)).append("\n"); + sb.append(" valueNode: ").append(toIndentedString(valueNode)).append("\n"); + sb.append(" container: ").append(toIndentedString(container)).append("\n"); + sb.append(" missingNode: ").append(toIndentedString(missingNode)).append("\n"); sb.append(" number: ").append(toIndentedString(number)).append("\n"); sb.append(" embeddedValue: ").append(toIndentedString(embeddedValue)).append("\n"); sb.append("}"); @@ -796,13 +796,9 @@ private String toIndentedString(Object o) { openapiFields.add("null"); openapiFields.add("object"); openapiFields.add("float"); - openapiFields.add("string"); openapiFields.add("integralNumber"); openapiFields.add("floatingPointNumber"); - openapiFields.add("valueNode"); - openapiFields.add("container"); - openapiFields.add("missingNode"); - openapiFields.add("nodeType"); + openapiFields.add("string"); openapiFields.add("pojo"); openapiFields.add("short"); openapiFields.add("int"); @@ -813,6 +809,10 @@ private String toIndentedString(Object o) { openapiFields.add("textual"); openapiFields.add("boolean"); openapiFields.add("binary"); + openapiFields.add("nodeType"); + openapiFields.add("valueNode"); + openapiFields.add("container"); + openapiFields.add("missingNode"); openapiFields.add("number"); openapiFields.add("embeddedValue");