Skip to content

Commit 39b50a1

Browse files
algolia-botsbellone
andcommitted
docs: authentication type can't be updated (generated)
algolia/api-clients-automation#5824 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
1 parent 9af9727 commit 39b50a1

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

algoliasearch/Models/Ingestion/AuthenticationUpdate.cs

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ namespace Algolia.Search.Models.Ingestion;
1616
/// </summary>
1717
public partial class AuthenticationUpdate
1818
{
19-
/// <summary>
20-
/// Gets or Sets Type
21-
/// </summary>
22-
[JsonPropertyName("type")]
23-
public AuthenticationType? Type { get; set; }
24-
2519
/// <summary>
2620
/// Initializes a new instance of the AuthenticationUpdate class.
2721
/// </summary>
@@ -48,7 +42,6 @@ public override string ToString()
4842
{
4943
StringBuilder sb = new StringBuilder();
5044
sb.Append("class AuthenticationUpdate {\n");
51-
sb.Append(" Type: ").Append(Type).Append("\n");
5245
sb.Append(" Name: ").Append(Name).Append("\n");
5346
sb.Append(" Input: ").Append(Input).Append("\n");
5447
sb.Append("}\n");
@@ -76,8 +69,7 @@ public override bool Equals(object obj)
7669
return false;
7770
}
7871

79-
return (Type == input.Type || Type.Equals(input.Type))
80-
&& (Name == input.Name || (Name != null && Name.Equals(input.Name)))
72+
return (Name == input.Name || (Name != null && Name.Equals(input.Name)))
8173
&& (Input == input.Input || (Input != null && Input.Equals(input.Input)));
8274
}
8375

@@ -90,7 +82,6 @@ public override int GetHashCode()
9082
unchecked // Overflow is fine, just wrap
9183
{
9284
int hashCode = 41;
93-
hashCode = (hashCode * 59) + Type.GetHashCode();
9485
if (Name != null)
9586
{
9687
hashCode = (hashCode * 59) + Name.GetHashCode();

0 commit comments

Comments
 (0)