-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/algoliasearch-recommend
- Loading branch information
Showing
348 changed files
with
21,398 additions
and
1,854 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20.14.0 | ||
20.15.0 |
434 changes: 217 additions & 217 deletions
434
.yarn/releases/yarn-4.3.0.cjs → .yarn/releases/yarn-4.3.1.cjs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
484 changes: 484 additions & 0 deletions
484
clients/algoliasearch-client-csharp/algoliasearch/Clients/IngestionClient.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 109 additions & 0 deletions
109
...algoliasearch-client-csharp/algoliasearch/Models/Ingestion/ListTransformationsResponse.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
// | ||
// 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. | ||
// | ||
using System; | ||
using System.Text; | ||
using System.Linq; | ||
using System.Text.Json.Serialization; | ||
using System.Collections.Generic; | ||
using Algolia.Search.Serializer; | ||
using System.Text.Json; | ||
|
||
namespace Algolia.Search.Models.Ingestion; | ||
|
||
/// <summary> | ||
/// Configured transformations and pagination information. | ||
/// </summary> | ||
public partial class ListTransformationsResponse | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the ListTransformationsResponse class. | ||
/// </summary> | ||
[JsonConstructor] | ||
public ListTransformationsResponse() { } | ||
/// <summary> | ||
/// Initializes a new instance of the ListTransformationsResponse class. | ||
/// </summary> | ||
/// <param name="transformations">transformations (required).</param> | ||
/// <param name="pagination">pagination (required).</param> | ||
public ListTransformationsResponse(List<Transformation> transformations, Pagination pagination) | ||
{ | ||
Transformations = transformations ?? throw new ArgumentNullException(nameof(transformations)); | ||
Pagination = pagination ?? throw new ArgumentNullException(nameof(pagination)); | ||
} | ||
|
||
/// <summary> | ||
/// Gets or Sets Transformations | ||
/// </summary> | ||
[JsonPropertyName("transformations")] | ||
public List<Transformation> Transformations { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or Sets Pagination | ||
/// </summary> | ||
[JsonPropertyName("pagination")] | ||
public Pagination Pagination { get; set; } | ||
|
||
/// <summary> | ||
/// Returns the string presentation of the object | ||
/// </summary> | ||
/// <returns>String presentation of the object</returns> | ||
public override string ToString() | ||
{ | ||
StringBuilder sb = new StringBuilder(); | ||
sb.Append("class ListTransformationsResponse {\n"); | ||
sb.Append(" Transformations: ").Append(Transformations).Append("\n"); | ||
sb.Append(" Pagination: ").Append(Pagination).Append("\n"); | ||
sb.Append("}\n"); | ||
return sb.ToString(); | ||
} | ||
|
||
/// <summary> | ||
/// Returns the JSON string presentation of the object | ||
/// </summary> | ||
/// <returns>JSON string presentation of the object</returns> | ||
public virtual string ToJson() | ||
{ | ||
return JsonSerializer.Serialize(this, JsonConfig.Options); | ||
} | ||
|
||
/// <summary> | ||
/// Returns true if objects are equal | ||
/// </summary> | ||
/// <param name="obj">Object to be compared</param> | ||
/// <returns>Boolean</returns> | ||
public override bool Equals(object obj) | ||
{ | ||
if (obj is not ListTransformationsResponse input) | ||
{ | ||
return false; | ||
} | ||
|
||
return | ||
(Transformations == input.Transformations || Transformations != null && input.Transformations != null && Transformations.SequenceEqual(input.Transformations)) && | ||
(Pagination == input.Pagination || (Pagination != null && Pagination.Equals(input.Pagination))); | ||
} | ||
|
||
/// <summary> | ||
/// Gets the hash code | ||
/// </summary> | ||
/// <returns>Hash code</returns> | ||
public override int GetHashCode() | ||
{ | ||
unchecked // Overflow is fine, just wrap | ||
{ | ||
int hashCode = 41; | ||
if (Transformations != null) | ||
{ | ||
hashCode = (hashCode * 59) + Transformations.GetHashCode(); | ||
} | ||
if (Pagination != null) | ||
{ | ||
hashCode = (hashCode * 59) + Pagination.GetHashCode(); | ||
} | ||
return hashCode; | ||
} | ||
} | ||
|
||
} | ||
|
44 changes: 44 additions & 0 deletions
44
clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/SortKeys.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
// | ||
// 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. | ||
// | ||
using System; | ||
using System.Text; | ||
using System.Linq; | ||
using System.Text.Json.Serialization; | ||
using System.Collections.Generic; | ||
using Algolia.Search.Serializer; | ||
using System.Text.Json; | ||
|
||
namespace Algolia.Search.Models.Ingestion; | ||
|
||
/// <summary> | ||
/// Property by which to sort the list. | ||
/// </summary> | ||
/// <value>Property by which to sort the list.</value> | ||
public enum SortKeys | ||
{ | ||
/// <summary> | ||
/// Enum Name for value: name | ||
/// </summary> | ||
[JsonPropertyName("name")] | ||
Name = 1, | ||
|
||
/// <summary> | ||
/// Enum Type for value: type | ||
/// </summary> | ||
[JsonPropertyName("type")] | ||
Type = 2, | ||
|
||
/// <summary> | ||
/// Enum UpdatedAt for value: updatedAt | ||
/// </summary> | ||
[JsonPropertyName("updatedAt")] | ||
UpdatedAt = 3, | ||
|
||
/// <summary> | ||
/// Enum CreatedAt for value: createdAt | ||
/// </summary> | ||
[JsonPropertyName("createdAt")] | ||
CreatedAt = 4 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.