public override int GetHashCode() { int hashCode = -1794576862; if (Context != null) { hashCode += Context.GetHashCode(); } if (TeamMemberWages != null) { hashCode += TeamMemberWages.GetHashCode(); } if (Cursor != null) { hashCode += Cursor.GetHashCode(); } if (Errors != null) { hashCode += Errors.GetHashCode(); } return(hashCode); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } return(obj is ListTeamMemberWagesResponse other && ((Context == null && other.Context == null) || (Context?.Equals(other.Context) == true)) && ((TeamMemberWages == null && other.TeamMemberWages == null) || (TeamMemberWages?.Equals(other.TeamMemberWages) == true)) && ((Cursor == null && other.Cursor == null) || (Cursor?.Equals(other.Cursor) == true)) && ((Errors == null && other.Errors == null) || (Errors?.Equals(other.Errors) == true))); }