Optional list of watchlist dataset IDs connected to this job.
+ */ + _FinalStage connectedDatasetIds(OptionalWhen true, returns generic news validators and enrichments suitable for + * watchlist-based article collection instead of query-specific fields.
+ */ + _FinalStage fetchAllWatchlistNews(OptionalWhen true, returns generic news validators and enrichments suitable for + * watchlist-based article collection instead of query-specific fields.
+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage fetchAllWatchlistNews(Boolean fetchAllWatchlistNews) { + this.fetchAllWatchlistNews = Optional.ofNullable(fetchAllWatchlistNews); + return this; + } + + /** + *When true, returns generic news validators and enrichments suitable for + * watchlist-based article collection instead of query-specific fields.
+ */ + @java.lang.Override + @JsonSetter(value = "fetch_all_watchlist_news", nulls = Nulls.SKIP) + public _FinalStage fetchAllWatchlistNews(OptionalOptional list of watchlist dataset IDs connected to this job.
+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage connectedDatasetIds(ListOptional list of watchlist dataset IDs connected to this job.
+ */ + @java.lang.Override + @JsonSetter(value = "connected_dataset_ids", nulls = Nulls.SKIP) + public _FinalStage connectedDatasetIds(Optionalevent_associated keeps only
+ * events where the entity is a direct actor. mention keeps only events
+ * where the entity is merely referenced. Only relevant when
+ * connected_dataset_ids is set.
+ */
+ @JsonProperty("ed_association_type")
+ public OptionalWhen true, retrieves all news for connected Company Watchlist entities + * without topic filtering. Requires connected_dataset_ids to be set.
+ */ + _FinalStage fetchAllWatchlistNews(OptionalFilter events by entity association type. event_associated keeps only
+ * events where the entity is a direct actor. mention keeps only events
+ * where the entity is merely referenced. Only relevant when
+ * connected_dataset_ids is set.
Filter events by entity association type. event_associated keeps only
+ * events where the entity is a direct actor. mention keeps only events
+ * where the entity is merely referenced. Only relevant when
+ * connected_dataset_ids is set.
Filter events by entity association type. event_associated keeps only
+ * events where the entity is a direct actor. mention keeps only events
+ * where the entity is merely referenced. Only relevant when
+ * connected_dataset_ids is set.
When true, retrieves all news for connected Company Watchlist entities + * without topic filtering. Requires connected_dataset_ids to be set.
+ * @return Reference to {@code this} so that method calls can be chained together. + */ + @java.lang.Override + public _FinalStage fetchAllWatchlistNews(Boolean fetchAllWatchlistNews) { + this.fetchAllWatchlistNews = Optional.ofNullable(fetchAllWatchlistNews); + return this; + } + + /** + *When true, retrieves all news for connected Company Watchlist entities + * without topic filtering. Requires connected_dataset_ids to be set.
+ */ + @java.lang.Override + @JsonSetter(value = "fetch_all_watchlist_news", nulls = Nulls.SKIP) + public _FinalStage fetchAllWatchlistNews(OptionalIDs of webhooks to notify when the job completes. Maximum 5 per job.
* @return Reference to {@code this} so that method calls can be chained together. @@ -587,6 +692,8 @@ public SubmitRequestDto build() { edScoreMin, projectId, webhookIds, + fetchAllWatchlistNews, + edAssociationType, additionalProperties); } diff --git a/src/main/java/com/newscatcher/catchall/types/ConnectedEntity.java b/src/main/java/com/newscatcher/catchall/types/ConnectedEntity.java index 57f8063..ff6efea 100644 --- a/src/main/java/com/newscatcher/catchall/types/ConnectedEntity.java +++ b/src/main/java/com/newscatcher/catchall/types/ConnectedEntity.java @@ -29,6 +29,8 @@ public final class ConnectedEntity { private final String relation; + private final Optionalevent_associated if the entity is a direct actor, mention if merely referenced.
+ */
+ @JsonProperty("association_type")
+ public OptionalHow the entity relates to the event: event_associated if the entity is a direct actor, mention if merely referenced.
The stored attributes for this entity. Present only when attributes exist in the database.
*The field name matches the value of type — for example, "company" type entities have a company field.
How the entity relates to the event: event_associated if the entity is a direct actor, mention if merely referenced.
How the entity relates to the event: event_associated if the entity is a direct actor, mention if merely referenced.