public override int GetHashCode() { int hashCode = -294097730; if (BookableOnly != null) { hashCode += BookableOnly.GetHashCode(); } if (Limit != null) { hashCode += Limit.GetHashCode(); } if (Cursor != null) { hashCode += Cursor.GetHashCode(); } if (LocationId != null) { hashCode += LocationId.GetHashCode(); } return(hashCode); }
protected void ToString(List <string> toStringOutput) { toStringOutput.Add($"BookableOnly = {(BookableOnly == null ? "null" : BookableOnly.ToString())}"); toStringOutput.Add($"Limit = {(Limit == null ? "null" : Limit.ToString())}"); toStringOutput.Add($"Cursor = {(Cursor == null ? "null" : Cursor == string.Empty ? "" : Cursor)}"); toStringOutput.Add($"LocationId = {(LocationId == null ? "null" : LocationId == string.Empty ? "" : LocationId)}"); }
public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } return(obj is ListTeamMemberBookingProfilesRequest other && ((BookableOnly == null && other.BookableOnly == null) || (BookableOnly?.Equals(other.BookableOnly) == true)) && ((Limit == null && other.Limit == null) || (Limit?.Equals(other.Limit) == true)) && ((Cursor == null && other.Cursor == null) || (Cursor?.Equals(other.Cursor) == true)) && ((LocationId == null && other.LocationId == null) || (LocationId?.Equals(other.LocationId) == true))); }