Class V1SimilarParams.Body
-
- All Implemented Interfaces:
public final class V1SimilarParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1SimilarParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringurl()The URL to find similar content for final Optional<String>contents()Additional content to consider for similarity matching final Optional<LocalDate>endCrawlDate()Only include pages crawled before this date final Optional<LocalDate>endPublishedDate()Only include pages published before this date final Optional<List<String>>excludeDomains()Exclude results from these domains final Optional<List<String>>includeDomains()Only search within these domains final Optional<Boolean>includeText()Whether to include extracted text content in results final Optional<Long>numResults()Number of similar results to return final Optional<LocalDate>startCrawlDate()Only include pages crawled after this date final Optional<LocalDate>startPublishedDate()Only include pages published after this date final JsonField<String>_url()Returns the raw JSON value of url. final JsonField<String>_contents()Returns the raw JSON value of contents. final JsonField<LocalDate>_endCrawlDate()Returns the raw JSON value of endCrawlDate. final JsonField<LocalDate>_endPublishedDate()Returns the raw JSON value of endPublishedDate. final JsonField<List<String>>_excludeDomains()Returns the raw JSON value of excludeDomains. final JsonField<List<String>>_includeDomains()Returns the raw JSON value of includeDomains. final JsonField<Boolean>_includeText()Returns the raw JSON value of includeText. final JsonField<Long>_numResults()Returns the raw JSON value of numResults. final JsonField<LocalDate>_startCrawlDate()Returns the raw JSON value of startCrawlDate. final JsonField<LocalDate>_startPublishedDate()Returns the raw JSON value of startPublishedDate. final Map<String, JsonValue>_additionalProperties()final V1SimilarParams.Body.BuildertoBuilder()final V1SimilarParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static V1SimilarParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
endCrawlDate
final Optional<LocalDate> endCrawlDate()
Only include pages crawled before this date
-
endPublishedDate
final Optional<LocalDate> endPublishedDate()
Only include pages published before this date
-
excludeDomains
final Optional<List<String>> excludeDomains()
Exclude results from these domains
-
includeDomains
final Optional<List<String>> includeDomains()
Only search within these domains
-
includeText
final Optional<Boolean> includeText()
Whether to include extracted text content in results
-
numResults
final Optional<Long> numResults()
Number of similar results to return
-
startCrawlDate
final Optional<LocalDate> startCrawlDate()
Only include pages crawled after this date
-
startPublishedDate
final Optional<LocalDate> startPublishedDate()
Only include pages published after this date
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_contents
final JsonField<String> _contents()
Returns the raw JSON value of contents.
Unlike contents, this method doesn't throw if the JSON field has an unexpected type.
-
_endCrawlDate
final JsonField<LocalDate> _endCrawlDate()
Returns the raw JSON value of endCrawlDate.
Unlike endCrawlDate, this method doesn't throw if the JSON field has an unexpected type.
-
_endPublishedDate
final JsonField<LocalDate> _endPublishedDate()
Returns the raw JSON value of endPublishedDate.
Unlike endPublishedDate, this method doesn't throw if the JSON field has an unexpected type.
-
_excludeDomains
final JsonField<List<String>> _excludeDomains()
Returns the raw JSON value of excludeDomains.
Unlike excludeDomains, this method doesn't throw if the JSON field has an unexpected type.
-
_includeDomains
final JsonField<List<String>> _includeDomains()
Returns the raw JSON value of includeDomains.
Unlike includeDomains, this method doesn't throw if the JSON field has an unexpected type.
-
_includeText
final JsonField<Boolean> _includeText()
Returns the raw JSON value of includeText.
Unlike includeText, this method doesn't throw if the JSON field has an unexpected type.
-
_numResults
final JsonField<Long> _numResults()
Returns the raw JSON value of numResults.
Unlike numResults, this method doesn't throw if the JSON field has an unexpected type.
-
_startCrawlDate
final JsonField<LocalDate> _startCrawlDate()
Returns the raw JSON value of startCrawlDate.
Unlike startCrawlDate, this method doesn't throw if the JSON field has an unexpected type.
-
_startPublishedDate
final JsonField<LocalDate> _startPublishedDate()
Returns the raw JSON value of startPublishedDate.
Unlike startPublishedDate, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1SimilarParams.Body.Builder toBuilder()
-
validate
final V1SimilarParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static V1SimilarParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.url()
-
-
-
-