Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update-clients #70

Merged
merged 1 commit into from
Apr 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/Regula.FaceSDK.WebClient/Model/SearchResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
this.UpdatedAt = updatedAt;
this.Groups = groups;
this.Name = name;
this.Metadata = metadata;
this.Code = code;
this.Persons = persons;
this.Id = id;
Expand Down Expand Up @@ -112,7 +111,7 @@
/// A free-form object containing person's extended attributes. Available when a person is being created
/// </summary>
/// <value>A free-form object containing person&#39;s extended attributes. Available when a person is being created</value>
[DataMember(Name="metadata", EmitDefaultValue=true)]
[DataMember(Name="metadata", EmitDefaultValue=false)]
public Dictionary<string, Object> Metadata { get; set; }

/// <summary>
Expand Down Expand Up @@ -167,7 +166,7 @@
return
(
this.Code == input.Code ||
(this.Code != null &&

Check warning on line 169 in src/Regula.FaceSDK.WebClient/Model/SearchResult.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
this.Code.Equals(input.Code))
) &&
(
Expand Down Expand Up @@ -219,7 +218,7 @@
unchecked // Overflow is fine, just wrap
{
int hashCode = 41;
if (this.Code != null)

Check warning on line 221 in src/Regula.FaceSDK.WebClient/Model/SearchResult.cs

View workflow job for this annotation

GitHub Actions / run_smoke_test

The result of the expression is always 'true' since a value of type 'int' is never equal to 'null' of type 'int?'
hashCode = hashCode * 59 + this.Code.GetHashCode();
if (this.Persons != null)
hashCode = hashCode * 59 + this.Persons.GetHashCode();
Expand Down
Loading