Skip to content

Commit a1818d6

Browse files
authored
Merge branch 'main' into feat/javascript-browser-field
2 parents 861c8ee + 4545f0f commit a1818d6

File tree

105 files changed

+104
-1
lines changed

Some content is hidden

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

105 files changed

+104
-1
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Models/Abtesting/Effect.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Abtesting;
1515
/// Metric for which you want to detect the smallest relative difference.
1616
/// </summary>
1717
/// <value>Metric for which you want to detect the smallest relative difference.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Effect>))]
1819
public enum Effect
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Abtesting/Status.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Abtesting;
1515
/// 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.
1616
/// </summary>
1717
/// <value>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. </value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Status>))]
1819
public enum Status
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Analytics/Direction.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Analytics;
1414
/// <summary>
1515
/// Defines direction
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Direction>))]
1718
public enum Direction
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Analytics/Operator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Analytics;
1515
/// 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.
1616
/// </summary>
1717
/// <value>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. </value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Operator>))]
1819
public enum Operator
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Analytics/OrderBy.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Analytics;
1515
/// Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available.
1616
/// </summary>
1717
/// <value>Attribute by which to order the response items. If the `clickAnalytics` parameter is false, only `searchCount` is available. </value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<OrderBy>))]
1819
public enum OrderBy
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/Action.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Type of indexing operation.
1616
/// </summary>
1717
/// <value>Type of indexing operation.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Action>))]
1819
public enum Action
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/ActionType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Action to perform on the Algolia index.
1616
/// </summary>
1717
/// <value>Action to perform on the Algolia index.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<ActionType>))]
1819
public enum ActionType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/AuthenticationSortKeys.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Property by which to sort the list of authentication resources.
1616
/// </summary>
1717
/// <value>Property by which to sort the list of authentication resources.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<AuthenticationSortKeys>))]
1819
public enum AuthenticationSortKeys
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/AuthenticationType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Type of authentication. This determines the type of credentials required in the `input` object.
1616
/// </summary>
1717
/// <value>Type of authentication. This determines the type of credentials required in the `input` object.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<AuthenticationType>))]
1819
public enum AuthenticationType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/BigQueryDataType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Ingestion;
1414
/// <summary>
1515
/// Defines BigQueryDataType
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<BigQueryDataType>))]
1718
public enum BigQueryDataType
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/DestinationSortKeys.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Property by which to sort the destinations.
1616
/// </summary>
1717
/// <value>Property by which to sort the destinations.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<DestinationSortKeys>))]
1819
public enum DestinationSortKeys
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/DestinationType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Destination type. - `search`. Data is stored in an Algolia index. - `insights`. Data is recorded as user events in the Insights API.
1616
/// </summary>
1717
/// <value>Destination type. - `search`. Data is stored in an Algolia index. - `insights`. Data is recorded as user events in the Insights API. </value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<DestinationType>))]
1819
public enum DestinationType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/DockerImageType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Image type.
1616
/// </summary>
1717
/// <value>Image type.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<DockerImageType>))]
1819
public enum DockerImageType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/DockerRegistry.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Container registry name from where to pull the image.
1616
/// </summary>
1717
/// <value>Container registry name from where to pull the image.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<DockerRegistry>))]
1819
public enum DockerRegistry
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/DockerStreamsSyncMode.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// The strategy to use to fetch the data.
1616
/// </summary>
1717
/// <value>The strategy to use to fetch the data.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<DockerStreamsSyncMode>))]
1819
public enum DockerStreamsSyncMode
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/EntityType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Type of entity to update.
1616
/// </summary>
1717
/// <value>Type of entity to update.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<EntityType>))]
1819
public enum EntityType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/EventSortKeys.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Property by which to sort the list of task run events.
1616
/// </summary>
1717
/// <value>Property by which to sort the list of task run events.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<EventSortKeys>))]
1819
public enum EventSortKeys
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/EventStatus.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Ingestion;
1414
/// <summary>
1515
/// Defines EventStatus
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<EventStatus>))]
1718
public enum EventStatus
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/EventType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Ingestion;
1414
/// <summary>
1515
/// Defines EventType
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<EventType>))]
1718
public enum EventType
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/MappingFormatSchema.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Mapping format schema.
1616
/// </summary>
1717
/// <value>Mapping format schema.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<MappingFormatSchema>))]
1819
public enum MappingFormatSchema
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/MappingTypeCSV.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Ingestion;
1414
/// <summary>
1515
/// Defines MappingTypeCSV
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<MappingTypeCSV>))]
1718
public enum MappingTypeCSV
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/MethodType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// HTTP method to be used for retrieving your data.
1616
/// </summary>
1717
/// <value>HTTP method to be used for retrieving your data.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<MethodType>))]
1819
public enum MethodType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/OnDemandTriggerType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Task is run manually, with the `/run` endpoint.
1616
/// </summary>
1717
/// <value>Task is run manually, with the `/run` endpoint.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<OnDemandTriggerType>))]
1819
public enum OnDemandTriggerType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/OrderKeys.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Ascending or descending sort order.
1616
/// </summary>
1717
/// <value>Ascending or descending sort order.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<OrderKeys>))]
1819
public enum OrderKeys
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/Platform.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Name of an ecommerce platform with which to authenticate. This determines which authentication type you can select.
1616
/// </summary>
1717
/// <value>Name of an ecommerce platform with which to authenticate. This determines which authentication type you can select. </value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Platform>))]
1819
public enum Platform
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/PlatformNone.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Authentication resource not tied to any ecommerce platform, used for filtering.
1616
/// </summary>
1717
/// <value>Authentication resource not tied to any ecommerce platform, used for filtering.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<PlatformNone>))]
1819
public enum PlatformNone
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/RecordType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Record type for ecommerce sources.
1616
/// </summary>
1717
/// <value>Record type for ecommerce sources.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<RecordType>))]
1819
public enum RecordType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/RunOutcome.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Task run outcome.
1616
/// </summary>
1717
/// <value>Task run outcome.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<RunOutcome>))]
1819
public enum RunOutcome
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/RunReasonCode.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// A code for the task run's outcome. A readable description of the code is included in the `reason` response property.
1616
/// </summary>
1717
/// <value>A code for the task run's outcome. A readable description of the code is included in the `reason` response property.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<RunReasonCode>))]
1819
public enum RunReasonCode
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/RunSortKeys.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Property by which to sort the list of task runs.
1616
/// </summary>
1717
/// <value>Property by which to sort the list of task runs.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<RunSortKeys>))]
1819
public enum RunSortKeys
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/RunStatus.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Task run status.
1616
/// </summary>
1717
/// <value>Task run status.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<RunStatus>))]
1819
public enum RunStatus
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/RunType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Task run type.
1616
/// </summary>
1717
/// <value>Task run type.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<RunType>))]
1819
public enum RunType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/ScheduleTriggerType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Task runs on a schedule.
1616
/// </summary>
1717
/// <value>Task runs on a schedule.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<ScheduleTriggerType>))]
1819
public enum ScheduleTriggerType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/SortKeys.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Property by which to sort the list.
1616
/// </summary>
1717
/// <value>Property by which to sort the list.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<SortKeys>))]
1819
public enum SortKeys
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/SourceSortKeys.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Property by which to sort the list of sources.
1616
/// </summary>
1717
/// <value>Property by which to sort the list of sources.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<SourceSortKeys>))]
1819
public enum SourceSortKeys
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/SourceType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Ingestion;
1414
/// <summary>
1515
/// Defines SourceType
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<SourceType>))]
1718
public enum SourceType
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/StreamingTriggerType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Task runs continuously.
1616
/// </summary>
1717
/// <value>Task runs continuously.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<StreamingTriggerType>))]
1819
public enum StreamingTriggerType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/SubscriptionTriggerType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Task runs after receiving subscribed event.
1616
/// </summary>
1717
/// <value>Task runs after receiving subscribed event.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<SubscriptionTriggerType>))]
1819
public enum SubscriptionTriggerType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/TaskSortKeys.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// Property by which to sort the list of tasks.
1616
/// </summary>
1717
/// <value>Property by which to sort the list of tasks.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<TaskSortKeys>))]
1819
public enum TaskSortKeys
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/TriggerType.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Ingestion;
1515
/// 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.
1616
/// </summary>
1717
/// <value>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. </value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<TriggerType>))]
1819
public enum TriggerType
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Insights/AddToCartEvent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Insights;
1414
/// <summary>
1515
/// Defines AddToCartEvent
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<AddToCartEvent>))]
1718
public enum AddToCartEvent
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Insights/ClickEvent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Insights;
1414
/// <summary>
1515
/// Defines ClickEvent
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<ClickEvent>))]
1718
public enum ClickEvent
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Insights/ConversionEvent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Insights;
1414
/// <summary>
1515
/// Defines ConversionEvent
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<ConversionEvent>))]
1718
public enum ConversionEvent
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Insights/PurchaseEvent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Insights;
1414
/// <summary>
1515
/// Defines PurchaseEvent
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<PurchaseEvent>))]
1718
public enum PurchaseEvent
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Insights/ViewEvent.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Insights;
1414
/// <summary>
1515
/// Defines ViewEvent
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<ViewEvent>))]
1718
public enum ViewEvent
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Monitoring/Metric.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Monitoring;
1414
/// <summary>
1515
/// Defines Metric
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Metric>))]
1718
public enum Metric
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Monitoring/Period.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Monitoring;
1414
/// <summary>
1515
/// Defines Period
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Period>))]
1718
public enum Period
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Monitoring/Region.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Monitoring;
1515
/// Region where the cluster is located.
1616
/// </summary>
1717
/// <value>Region where the cluster is located.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Region>))]
1819
public enum Region
1920
{
2021
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Monitoring/ServerStatus.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ namespace Algolia.Search.Models.Monitoring;
1414
/// <summary>
1515
/// Defines ServerStatus
1616
/// </summary>
17+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<ServerStatus>))]
1718
public enum ServerStatus
1819
{
1920
/// <summary>

clients/algoliasearch-client-csharp/algoliasearch/Models/Monitoring/Status.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Algolia.Search.Models.Monitoring;
1515
/// Status of the cluster.
1616
/// </summary>
1717
/// <value>Status of the cluster.</value>
18+
[JsonConverter(typeof(Serializer.JsonStringEnumConverter<Status>))]
1819
public enum Status
1920
{
2021
/// <summary>

0 commit comments

Comments
 (0)