Skip to content

Commit

Permalink
fix(specs): add ignoreConjugations to AlternativesAsExact [skip-b…
Browse files Browse the repository at this point in the history
…c] (#4230) (generated) [skip ci]

Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Dec 11, 2024
1 parent baf7d6f commit 34cc8bf
Show file tree
Hide file tree
Showing 58 changed files with 99 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ public enum AlternativesAsExact
/// Enum MultiWordsSynonym for value: multiWordsSynonym
/// </summary>
[JsonPropertyName("multiWordsSynonym")]
MultiWordsSynonym = 3
MultiWordsSynonym = 3,

/// <summary>
/// Enum IgnoreConjugations for value: ignoreConjugations
/// </summary>
[JsonPropertyName("ignoreConjugations")]
IgnoreConjugations = 4
}

Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ public enum AlternativesAsExact
/// Enum MultiWordsSynonym for value: multiWordsSynonym
/// </summary>
[JsonPropertyName("multiWordsSynonym")]
MultiWordsSynonym = 3
MultiWordsSynonym = 3,

/// <summary>
/// Enum IgnoreConjugations for value: ignoreConjugations
/// </summary>
[JsonPropertyName("ignoreConjugations")]
IgnoreConjugations = 4
}

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import 'package:json_annotation/json_annotation.dart';
enum AlternativesAsExact {
ignorePlurals(r'ignorePlurals'),
singleWordSynonym(r'singleWordSynonym'),
multiWordsSynonym(r'multiWordsSynonym');
multiWordsSynonym(r'multiWordsSynonym'),
ignoreConjugations(r'ignoreConjugations');

const AlternativesAsExact(this.raw);
final dynamic raw;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import 'package:json_annotation/json_annotation.dart';
enum AlternativesAsExact {
ignorePlurals(r'ignorePlurals'),
singleWordSynonym(r'singleWordSynonym'),
multiWordsSynonym(r'multiWordsSynonym');
multiWordsSynonym(r'multiWordsSynonym'),
ignoreConjugations(r'ignoreConjugations');

const AlternativesAsExact(this.raw);
final dynamic raw;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import 'package:json_annotation/json_annotation.dart';
enum AlternativesAsExact {
ignorePlurals(r'ignorePlurals'),
singleWordSynonym(r'singleWordSynonym'),
multiWordsSynonym(r'multiWordsSynonym');
multiWordsSynonym(r'multiWordsSynonym'),
ignoreConjugations(r'ignoreConjugations');

const AlternativesAsExact(this.raw);
final dynamic raw;
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ public enum AlternativesAsExact {

SINGLE_WORD_SYNONYM("singleWordSynonym"),

MULTI_WORDS_SYNONYM("multiWordsSynonym");
MULTI_WORDS_SYNONYM("multiWordsSynonym"),

IGNORE_CONJUGATIONS("ignoreConjugations");

private final String value;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ public enum AlternativesAsExact {

SINGLE_WORD_SYNONYM("singleWordSynonym"),

MULTI_WORDS_SYNONYM("multiWordsSynonym");
MULTI_WORDS_SYNONYM("multiWordsSynonym"),

IGNORE_CONJUGATIONS("ignoreConjugations");

private final String value;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.

export type AlternativesAsExact = 'ignorePlurals' | 'singleWordSynonym' | 'multiWordsSynonym';
export type AlternativesAsExact = 'ignorePlurals' | 'singleWordSynonym' | 'multiWordsSynonym' | 'ignoreConjugations';
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.

export type AlternativesAsExact = 'ignorePlurals' | 'singleWordSynonym' | 'multiWordsSynonym';
export type AlternativesAsExact = 'ignorePlurals' | 'singleWordSynonym' | 'multiWordsSynonym' | 'ignoreConjugations';
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.

export type AlternativesAsExact = 'ignorePlurals' | 'singleWordSynonym' | 'multiWordsSynonym';
export type AlternativesAsExact = 'ignorePlurals' | 'singleWordSynonym' | 'multiWordsSynonym' | 'ignoreConjugations';
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.

export type AlternativesAsExact = 'ignorePlurals' | 'singleWordSynonym' | 'multiWordsSynonym';
export type AlternativesAsExact = 'ignorePlurals' | 'singleWordSynonym' | 'multiWordsSynonym' | 'ignoreConjugations';
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ public enum class AlternativesAsExact(public val value: kotlin.String) {
SingleWordSynonym("singleWordSynonym"),

@SerialName(value = "multiWordsSynonym")
MultiWordsSynonym("multiWordsSynonym");
MultiWordsSynonym("multiWordsSynonym"),

@SerialName(value = "ignoreConjugations")
IgnoreConjugations("ignoreConjugations");

override fun toString(): kotlin.String = value
}
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ public enum class AlternativesAsExact(public val value: kotlin.String) {
SingleWordSynonym("singleWordSynonym"),

@SerialName(value = "multiWordsSynonym")
MultiWordsSynonym("multiWordsSynonym");
MultiWordsSynonym("multiWordsSynonym"),

@SerialName(value = "ignoreConjugations")
IgnoreConjugations("ignoreConjugations");

override fun toString(): kotlin.String = value
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class AlternativesAsExact

public const MULTI_WORDS_SYNONYM = 'multiWordsSynonym';

public const IGNORE_CONJUGATIONS = 'ignoreConjugations';

/**
* Gets allowable values of the enum.
*
Expand All @@ -31,6 +33,7 @@ public static function getAllowableEnumValues()
self::IGNORE_PLURALS,
self::SINGLE_WORD_SYNONYM,
self::MULTI_WORDS_SYNONYM,
self::IGNORE_CONJUGATIONS,
];
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ class AlternativesAsExact

public const MULTI_WORDS_SYNONYM = 'multiWordsSynonym';

public const IGNORE_CONJUGATIONS = 'ignoreConjugations';

/**
* Gets allowable values of the enum.
*
Expand All @@ -31,6 +33,7 @@ public static function getAllowableEnumValues()
self::IGNORE_PLURALS,
self::SINGLE_WORD_SYNONYM,
self::MULTI_WORDS_SYNONYM,
self::IGNORE_CONJUGATIONS,
];
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class AlternativesAsExact(str, Enum):

MULTIWORDSSYNONYM = "multiWordsSynonym"

IGNORECONJUGATIONS = "ignoreConjugations"

@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of AlternativesAsExact from a JSON string"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class AlternativesAsExact(str, Enum):

MULTIWORDSSYNONYM = "multiWordsSynonym"

IGNORECONJUGATIONS = "ignoreConjugations"

@classmethod
def from_json(cls, json_str: str) -> Self:
"""Create an instance of AlternativesAsExact from a JSON string"""
Expand Down
Loading

0 comments on commit 34cc8bf

Please sign in to comment.