Skip to content

Commit 00305cb

Browse files
committed
fix(clients): escape char in comments (generated)
algolia/api-clients-automation#3973 Co-authored-by: algolia-bot <[email protected]>
1 parent d896997 commit 00305cb

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+70
-70
lines changed

lib/Model/Abtesting/Status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description A/B test status. - &#x60;active&#x60;. The A/B test is live and search traffic is split between the two variants. - &#x60;stopped&#x60;. You stopped the A/B test. The A/B test data is still available for analysis. - &#x60;expired&#x60;. The A/B test was automatically stopped after reaching its end date. - &#x60;failed&#x60;. Creating the A/B test failed.
12+
* @description A/B test status. - `active`. The A/B test is live and search traffic is split between the two variants. - `stopped`. You stopped the A/B test. The A/B test data is still available for analysis. - `expired`. The A/B test was automatically stopped after reaching its end date. - `failed`. Creating the A/B test failed.
1313
*/
1414
class Status
1515
{

lib/Model/Analytics/Operator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Character that characterizes how the filter is applied. For example, for a facet filter &#x60;facet:value&#x60;, &#x60;:&#x60; is the operator. For a numeric filter &#x60;count&gt;50&#x60;, &#x60;&gt;&#x60; is the operator.
12+
* @description Character that characterizes how the filter is applied. For example, for a facet filter `facet:value`, `:` is the operator. For a numeric filter `count>50`, `>` is the operator.
1313
*/
1414
class Operator
1515
{

lib/Model/Analytics/OrderBy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Attribute by which to order the response items. If the &#x60;clickAnalytics&#x60; parameter is false, only &#x60;searchCount&#x60; is available.
12+
* @description Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available.
1313
*/
1414
class OrderBy
1515
{

lib/Model/Ingestion/AuthenticationType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Type of authentication. This determines the type of credentials required in the &#x60;input&#x60; object.
12+
* @description Type of authentication. This determines the type of credentials required in the `input` object.
1313
*/
1414
class AuthenticationType
1515
{

lib/Model/Ingestion/DestinationType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Destination type. - &#x60;search&#x60;. Data is stored in an Algolia index. - &#x60;insights&#x60;. Data is recorded as user events in the Insights API.
12+
* @description Destination type. - `search`. Data is stored in an Algolia index. - `insights`. Data is recorded as user events in the Insights API.
1313
*/
1414
class DestinationType
1515
{

lib/Model/Ingestion/OnDemandTriggerType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Task is run manually, with the &#x60;/run&#x60; endpoint.
12+
* @description Task is run manually, with the `/run` endpoint.
1313
*/
1414
class OnDemandTriggerType
1515
{

lib/Model/Ingestion/RunReasonCode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description A code for the task run&#39;s outcome. A readable description of the code is included in the &#x60;reason&#x60; response property.
12+
* @description A code for the task run's outcome. A readable description of the code is included in the `reason` response property.
1313
*/
1414
class RunReasonCode
1515
{

lib/Model/Ingestion/ShopifyInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Represents the required elements of the task input when using a &#x60;shopify&#x60; source.
15+
* @description Represents the required elements of the task input when using a `shopify` source.
1616
*/
1717
class ShopifyInput extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Ingestion/StreamingInput.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Input for a &#x60;streaming&#x60; task whose source is of type &#x60;ga4BigqueryExport&#x60; and for which extracted data is continuously streamed.
15+
* @description Input for a `streaming` task whose source is of type `ga4BigqueryExport` and for which extracted data is continuously streamed.
1616
*/
1717
class StreamingInput extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Ingestion/TaskCreateV1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description API request body for creating a task using the V1 shape, please use methods and types that don&#39;t contain the V1 suffix.
15+
* @description API request body for creating a task using the V1 shape, please use methods and types that don't contain the V1 suffix.
1616
*/
1717
class TaskCreateV1 extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Ingestion/TaskUpdateV1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description API request body for updating a task using the V1 shape, please use methods and types that don&#39;t contain the V1 suffix.
15+
* @description API request body for updating a task using the V1 shape, please use methods and types that don't contain the V1 suffix.
1616
*/
1717
class TaskUpdateV1 extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Ingestion/TaskV1.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description The V1 task object, please use methods and types that don&#39;t contain the V1 suffix.
15+
* @description The V1 task object, please use methods and types that don't contain the V1 suffix.
1616
*/
1717
class TaskV1 extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Ingestion/TriggerType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Task trigger, describing when a task should run. - &#x60;onDemand&#x60;. Manually trigger the task with the &#x60;/run&#x60; endpoint. - &#x60;schedule&#x60;. Regularly trigger the task on a &#x60;cron&#x60; schedule. - &#x60;subscription&#x60;. Trigger the task after an event is received, such as, a webhook. - &#x60;streaming&#x60;. Run the task continuously.
12+
* @description Task trigger, describing when a task should run. - `onDemand`. Manually trigger the task with the `/run` endpoint. - `schedule`. Regularly trigger the task on a `cron` schedule. - `subscription`. Trigger the task after an event is received, such as, a webhook. - `streaming`. Run the task continuously.
1313
*/
1414
class TriggerType
1515
{

lib/Model/Insights/AddedToCartObjectIDs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Use this event to track when users add items to their shopping cart unrelated to a previous Algolia request. For example, if you don&#39;t use Algolia to build your category pages, use this event. To track add-to-cart events related to Algolia requests, use the \&quot;Added to cart object IDs after search\&quot; event.
15+
* @description Use this event to track when users add items to their shopping cart unrelated to a previous Algolia request. For example, if you don't use Algolia to build your category pages, use this event. To track add-to-cart events related to Algolia requests, use the \"Added to cart object IDs after search\" event.
1616
*/
1717
class AddedToCartObjectIDs extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Insights/AddedToCartObjectIDsAfterSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Use this event to track when users add items to their shopping cart after a previous Algolia request. If you&#39;re building your category pages with Algolia, you&#39;ll also use this event.
15+
* @description Use this event to track when users add items to their shopping cart after a previous Algolia request. If you're building your category pages with Algolia, you'll also use this event.
1616
*/
1717
class AddedToCartObjectIDsAfterSearch extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Insights/ClickedObjectIDs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Use this event to track when users click items unrelated to a previous Algolia request. For example, if you don&#39;t use Algolia to build your category pages, use this event. To track click events related to Algolia requests, use the \&quot;Clicked object IDs after search\&quot; event.
15+
* @description Use this event to track when users click items unrelated to a previous Algolia request. For example, if you don't use Algolia to build your category pages, use this event. To track click events related to Algolia requests, use the \"Clicked object IDs after search\" event.
1616
*/
1717
class ClickedObjectIDs extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Insights/ClickedObjectIDsAfterSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Click event after an Algolia request. Use this event to track when users click items in the search results. If you&#39;re building your category pages with Algolia, you&#39;ll also use this event.
15+
* @description Click event after an Algolia request. Use this event to track when users click items in the search results. If you're building your category pages with Algolia, you'll also use this event.
1616
*/
1717
class ClickedObjectIDsAfterSearch extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Insights/ConvertedObjectIDs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Use this event to track when users convert on items unrelated to a previous Algolia request. For example, if you don&#39;t use Algolia to build your category pages, use this event. To track conversion events related to Algolia requests, use the \&quot;Converted object IDs after search\&quot; event.
15+
* @description Use this event to track when users convert on items unrelated to a previous Algolia request. For example, if you don't use Algolia to build your category pages, use this event. To track conversion events related to Algolia requests, use the \"Converted object IDs after search\" event.
1616
*/
1717
class ConvertedObjectIDs extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Insights/ConvertedObjectIDsAfterSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Use this event to track when users convert after a previous Algolia request. For example, a user clicks on an item in the search results to view the product detail page. Then, the user adds the item to their shopping cart. If you&#39;re building your category pages with Algolia, you&#39;ll also use this event.
15+
* @description Use this event to track when users convert after a previous Algolia request. For example, a user clicks on an item in the search results to view the product detail page. Then, the user adds the item to their shopping cart. If you're building your category pages with Algolia, you'll also use this event.
1616
*/
1717
class ConvertedObjectIDsAfterSearch extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Insights/Discount.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Absolute value of the discount for this product, in units of &#x60;currency&#x60;.
15+
* @description Absolute value of the discount for this product, in units of `currency`.
1616
*/
1717
class Discount extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Insights/Price.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Total price of a product, including any discounts, in units of &#x60;currency&#x60;.
15+
* @description Total price of a product, including any discounts, in units of `currency`.
1616
*/
1717
class Price extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Insights/PurchasedObjectIDs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Use this event to track when users make a purchase unrelated to a previous Algolia request. For example, if you don&#39;t use Algolia to build your category pages, use this event. To track purchase events related to Algolia requests, use the \&quot;Purchased object IDs after search\&quot; event.
15+
* @description Use this event to track when users make a purchase unrelated to a previous Algolia request. For example, if you don't use Algolia to build your category pages, use this event. To track purchase events related to Algolia requests, use the \"Purchased object IDs after search\" event.
1616
*/
1717
class PurchasedObjectIDs extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Insights/PurchasedObjectIDsAfterSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Use this event to track when users make a purchase after a previous Algolia request. If you&#39;re building your category pages with Algolia, you&#39;ll also use this event.
15+
* @description Use this event to track when users make a purchase after a previous Algolia request. If you're building your category pages with Algolia, you'll also use this event.
1616
*/
1717
class PurchasedObjectIDsAfterSearch extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Insights/Value.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Total monetary value of this event in units of &#x60;currency&#x60;.
15+
* @description Total monetary value of this event in units of `currency`.
1616
*/
1717
class Value extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/QuerySuggestions/LogLevel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Type of log entry. - &#x60;SKIP&#x60;. A query is skipped because it doesn&#39;t match the conditions for successful inclusion. For example, when a query doesn&#39;t generate enough search results. - &#x60;INFO&#x60;. An informative log entry. - &#x60;ERROR&#x60;. The Query Suggestions process encountered an error.
12+
* @description Type of log entry. - `SKIP`. A query is skipped because it doesn't match the conditions for successful inclusion. For example, when a query doesn't generate enough search results. - `INFO`. An informative log entry. - `ERROR`. The Query Suggestions process encountered an error.
1313
*/
1414
class LogLevel
1515
{

lib/Model/Recommend/AroundRadius.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Maximum radius for a search around a central location. This parameter works in combination with the &#x60;aroundLatLng&#x60; and &#x60;aroundLatLngViaIP&#x60; parameters. By default, the search radius is determined automatically from the density of hits around the central location. The search radius is small if there are many hits close to the central coordinates.
15+
* @description Maximum radius for a search around a central location. This parameter works in combination with the `aroundLatLng` and `aroundLatLngViaIP` parameters. By default, the search radius is determined automatically from the density of hits around the central location. The search radius is small if there are many hits close to the central coordinates.
1616
*/
1717
class AroundRadius extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Recommend/AroundRadiusAll.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Return all records with a valid &#x60;_geoloc&#x60; attribute. Don&#39;t filter by distance.
12+
* @description Return all records with a valid `_geoloc` attribute. Don't filter by distance.
1313
*/
1414
class AroundRadiusAll
1515
{

lib/Model/Recommend/Distinct.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Determines how many records of a group are included in the search results. Records with the same value for the &#x60;attributeForDistinct&#x60; attribute are considered a group. The &#x60;distinct&#x60; setting controls how many members of the group are returned. This is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature). The &#x60;distinct&#x60; setting is ignored if &#x60;attributeForDistinct&#x60; is not set.
15+
* @description Determines how many records of a group are included in the search results. Records with the same value for the `attributeForDistinct` attribute are considered a group. The `distinct` setting controls how many members of the group are returned. This is useful for [deduplication and grouping](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/#introducing-algolias-distinct-feature). The `distinct` setting is ignored if `attributeForDistinct` is not set.
1616
*/
1717
class Distinct extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Recommend/ExactOnSingleWordQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word. - &#x60;attribute&#x60;. The Exact ranking criterion is 1 if the query word and attribute value are the same. For example, a search for \&quot;road\&quot; will match the value \&quot;road\&quot;, but not \&quot;road trip\&quot;. - &#x60;none&#x60;. The Exact ranking criterion is ignored on single-word searches. - &#x60;word&#x60;. The Exact ranking criterion is 1 if the query word is found in the attribute value. The query word must have at least 3 characters and must not be a stop word. Only exact matches will be highlighted, partial and prefix matches won&#39;t.
12+
* @description Determines how the [Exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes) is computed when the search query has only one word. - `attribute`. The Exact ranking criterion is 1 if the query word and attribute value are the same. For example, a search for \"road\" will match the value \"road\", but not \"road trip\". - `none`. The Exact ranking criterion is ignored on single-word searches. - `word`. The Exact ranking criterion is 1 if the query word is found in the attribute value. The query word must have at least 3 characters and must not be a stop word. Only exact matches will be highlighted, partial and prefix matches won't.
1313
*/
1414
class ExactOnSingleWordQuery
1515
{

lib/Model/Recommend/FacetFilters.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*
1313
* @category Class
1414
*
15-
* @description Filter the search by facet values, so that only records with the same facet values are retrieved. **Prefer using the &#x60;filters&#x60; parameter, which supports all filter types and combinations with boolean operators.** - &#x60;[filter1, filter2]&#x60; is interpreted as &#x60;filter1 AND filter2&#x60;. - &#x60;[[filter1, filter2], filter3]&#x60; is interpreted as &#x60;filter1 OR filter2 AND filter3&#x60;. - &#x60;facet:-value&#x60; is interpreted as &#x60;NOT facet:value&#x60;. While it&#39;s best to avoid attributes that start with a &#x60;-&#x60;, you can still filter them by escaping with a backslash: &#x60;facet:\\-value&#x60;.
15+
* @description Filter the search by facet values, so that only records with the same facet values are retrieved. **Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.** - `[filter1, filter2]` is interpreted as `filter1 AND filter2`. - `[[filter1, filter2], filter3]` is interpreted as `filter1 OR filter2 AND filter3`. - `facet:-value` is interpreted as `NOT facet:value`. While it's best to avoid attributes that start with a `-`, you can still filter them by escaping with a backslash: `facet:\\-value`.
1616
*/
1717
class FacetFilters extends AbstractModel implements ModelInterface, \ArrayAccess, \JsonSerializable
1818
{

lib/Model/Recommend/FbtModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Frequently bought together model. This model recommends items that have been purchased within 1 day with the item with the ID &#x60;objectID&#x60;.
12+
* @description Frequently bought together model. This model recommends items that have been purchased within 1 day with the item with the ID `objectID`.
1313
*/
1414
class FbtModel
1515
{

lib/Model/Recommend/LookingSimilarModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* @category Class
1111
*
12-
* @description Looking similar model. This model recommends items that look similar to the item with the ID &#x60;objectID&#x60; based on image attributes in your index.
12+
* @description Looking similar model. This model recommends items that look similar to the item with the ID `objectID` based on image attributes in your index.
1313
*/
1414
class LookingSimilarModel
1515
{

0 commit comments

Comments
 (0)