/** * Return true if this searchResponse_hits object is equal to o. */ public override bool Equals(object o) { if (this == o) { return(true); } if (o == null || GetType() != o.GetType()) { return(false); } SearchResponseHits searchResponseHits = (SearchResponseHits)o; return(object.Equals(this.maxScore, searchResponseHits.maxScore) && object.Equals(this.total, searchResponseHits.total) && object.Equals(this.hits, searchResponseHits.hits)); }
public void SetHits(SearchResponseHits hits) { this.hits = hits; }
public SearchResponse Hits(SearchResponseHits hits) { this.hits = hits; return(this); }