diff --git a/algoliasearch/Models/Ingestion/TransformationSearch.cs b/algoliasearch/Models/Ingestion/TransformationSearch.cs index 88d02148b..7a4eaa035 100644 --- a/algoliasearch/Models/Ingestion/TransformationSearch.cs +++ b/algoliasearch/Models/Ingestion/TransformationSearch.cs @@ -19,22 +19,15 @@ public partial class TransformationSearch /// /// Initializes a new instance of the TransformationSearch class. /// - [JsonConstructor] - public TransformationSearch() { } - /// - /// Initializes a new instance of the TransformationSearch class. - /// - /// transformationsIDs (required). - public TransformationSearch(List transformationsIDs) + public TransformationSearch() { - TransformationsIDs = transformationsIDs ?? throw new ArgumentNullException(nameof(transformationsIDs)); } /// - /// Gets or Sets TransformationsIDs + /// Gets or Sets TransformationIDs /// - [JsonPropertyName("transformationsIDs")] - public List TransformationsIDs { get; set; } + [JsonPropertyName("transformationIDs")] + public List TransformationIDs { get; set; } /// /// Returns the string presentation of the object @@ -44,7 +37,7 @@ public override string ToString() { StringBuilder sb = new StringBuilder(); sb.Append("class TransformationSearch {\n"); - sb.Append(" TransformationsIDs: ").Append(TransformationsIDs).Append("\n"); + sb.Append(" TransformationIDs: ").Append(TransformationIDs).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -71,7 +64,7 @@ public override bool Equals(object obj) } return - (TransformationsIDs == input.TransformationsIDs || TransformationsIDs != null && input.TransformationsIDs != null && TransformationsIDs.SequenceEqual(input.TransformationsIDs)); + (TransformationIDs == input.TransformationIDs || TransformationIDs != null && input.TransformationIDs != null && TransformationIDs.SequenceEqual(input.TransformationIDs)); } /// @@ -83,9 +76,9 @@ public override int GetHashCode() unchecked // Overflow is fine, just wrap { int hashCode = 41; - if (TransformationsIDs != null) + if (TransformationIDs != null) { - hashCode = (hashCode * 59) + TransformationsIDs.GetHashCode(); + hashCode = (hashCode * 59) + TransformationIDs.GetHashCode(); } return hashCode; }