@@ -78,7 +78,10 @@ class CreateDeepNewsRequest implements ModelInterface, ArrayAccess, \JsonSeriali
7878 'search_depth ' => 'int ' ,
7979 'max_depth ' => 'int ' ,
8080 'sources ' => '\AskNews\Model\Sources1 ' ,
81- 'return_sources ' => 'bool '
81+ 'return_sources ' => 'bool ' ,
82+ 'include_coordinates ' => 'bool ' ,
83+ 'include_entities ' => 'bool ' ,
84+ 'include_graphs ' => 'bool '
8285 ];
8386
8487 /**
@@ -110,7 +113,10 @@ class CreateDeepNewsRequest implements ModelInterface, ArrayAccess, \JsonSeriali
110113 'search_depth ' => null ,
111114 'max_depth ' => null ,
112115 'sources ' => null ,
113- 'return_sources ' => null
116+ 'return_sources ' => null ,
117+ 'include_coordinates ' => null ,
118+ 'include_entities ' => null ,
119+ 'include_graphs ' => null
114120 ];
115121
116122 /**
@@ -140,7 +146,10 @@ class CreateDeepNewsRequest implements ModelInterface, ArrayAccess, \JsonSeriali
140146 'search_depth ' => false ,
141147 'max_depth ' => false ,
142148 'sources ' => false ,
143- 'return_sources ' => false
149+ 'return_sources ' => false ,
150+ 'include_coordinates ' => false ,
151+ 'include_entities ' => false ,
152+ 'include_graphs ' => false
144153 ];
145154
146155 /**
@@ -250,7 +259,10 @@ public function isNullableSetToNull(string $property): bool
250259 'search_depth ' => 'search_depth ' ,
251260 'max_depth ' => 'max_depth ' ,
252261 'sources ' => 'sources ' ,
253- 'return_sources ' => 'return_sources '
262+ 'return_sources ' => 'return_sources ' ,
263+ 'include_coordinates ' => 'include_coordinates ' ,
264+ 'include_entities ' => 'include_entities ' ,
265+ 'include_graphs ' => 'include_graphs '
254266 ];
255267
256268 /**
@@ -280,7 +292,10 @@ public function isNullableSetToNull(string $property): bool
280292 'search_depth ' => 'setSearchDepth ' ,
281293 'max_depth ' => 'setMaxDepth ' ,
282294 'sources ' => 'setSources ' ,
283- 'return_sources ' => 'setReturnSources '
295+ 'return_sources ' => 'setReturnSources ' ,
296+ 'include_coordinates ' => 'setIncludeCoordinates ' ,
297+ 'include_entities ' => 'setIncludeEntities ' ,
298+ 'include_graphs ' => 'setIncludeGraphs '
284299 ];
285300
286301 /**
@@ -310,7 +325,10 @@ public function isNullableSetToNull(string $property): bool
310325 'search_depth ' => 'getSearchDepth ' ,
311326 'max_depth ' => 'getMaxDepth ' ,
312327 'sources ' => 'getSources ' ,
313- 'return_sources ' => 'getReturnSources '
328+ 'return_sources ' => 'getReturnSources ' ,
329+ 'include_coordinates ' => 'getIncludeCoordinates ' ,
330+ 'include_entities ' => 'getIncludeEntities ' ,
331+ 'include_graphs ' => 'getIncludeGraphs '
314332 ];
315333
316334 /**
@@ -409,6 +427,9 @@ public function __construct(array $data = null)
409427 $ this ->setIfExists ('max_depth ' , $ data ?? [], 4 );
410428 $ this ->setIfExists ('sources ' , $ data ?? [], null );
411429 $ this ->setIfExists ('return_sources ' , $ data ?? [], true );
430+ $ this ->setIfExists ('include_coordinates ' , $ data ?? [], false );
431+ $ this ->setIfExists ('include_entities ' , $ data ?? [], true );
432+ $ this ->setIfExists ('include_graphs ' , $ data ?? [], false );
412433 }
413434
414435 /**
@@ -1096,6 +1117,87 @@ public function setReturnSources($return_sources)
10961117
10971118 return $ this ;
10981119 }
1120+
1121+ /**
1122+ * Gets include_coordinates
1123+ *
1124+ * @return bool|null
1125+ */
1126+ public function getIncludeCoordinates ()
1127+ {
1128+ return $ this ->container ['include_coordinates ' ];
1129+ }
1130+
1131+ /**
1132+ * Sets include_coordinates
1133+ *
1134+ * @param bool|null $include_coordinates include_coordinates
1135+ *
1136+ * @return self
1137+ */
1138+ public function setIncludeCoordinates ($ include_coordinates )
1139+ {
1140+ if (is_null ($ include_coordinates )) {
1141+ throw new \InvalidArgumentException ('non-nullable include_coordinates cannot be null ' );
1142+ }
1143+ $ this ->container ['include_coordinates ' ] = $ include_coordinates ;
1144+
1145+ return $ this ;
1146+ }
1147+
1148+ /**
1149+ * Gets include_entities
1150+ *
1151+ * @return bool|null
1152+ */
1153+ public function getIncludeEntities ()
1154+ {
1155+ return $ this ->container ['include_entities ' ];
1156+ }
1157+
1158+ /**
1159+ * Sets include_entities
1160+ *
1161+ * @param bool|null $include_entities include_entities
1162+ *
1163+ * @return self
1164+ */
1165+ public function setIncludeEntities ($ include_entities )
1166+ {
1167+ if (is_null ($ include_entities )) {
1168+ throw new \InvalidArgumentException ('non-nullable include_entities cannot be null ' );
1169+ }
1170+ $ this ->container ['include_entities ' ] = $ include_entities ;
1171+
1172+ return $ this ;
1173+ }
1174+
1175+ /**
1176+ * Gets include_graphs
1177+ *
1178+ * @return bool|null
1179+ */
1180+ public function getIncludeGraphs ()
1181+ {
1182+ return $ this ->container ['include_graphs ' ];
1183+ }
1184+
1185+ /**
1186+ * Sets include_graphs
1187+ *
1188+ * @param bool|null $include_graphs include_graphs
1189+ *
1190+ * @return self
1191+ */
1192+ public function setIncludeGraphs ($ include_graphs )
1193+ {
1194+ if (is_null ($ include_graphs )) {
1195+ throw new \InvalidArgumentException ('non-nullable include_graphs cannot be null ' );
1196+ }
1197+ $ this ->container ['include_graphs ' ] = $ include_graphs ;
1198+
1199+ return $ this ;
1200+ }
10991201 /**
11001202 * Returns true if offset exists. False otherwise.
11011203 *
0 commit comments