public override int GetHashCode() { int hashCode = 1419029283; if (Context != null) { hashCode += Context.GetHashCode(); } if (TeamMemberBookingProfile != null) { hashCode += TeamMemberBookingProfile.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 RetrieveTeamMemberBookingProfileResponse other && ((Context == null && other.Context == null) || (Context?.Equals(other.Context) == true)) && ((TeamMemberBookingProfile == null && other.TeamMemberBookingProfile == null) || (TeamMemberBookingProfile?.Equals(other.TeamMemberBookingProfile) == true)) && ((Errors == null && other.Errors == null) || (Errors?.Equals(other.Errors) == true))); }
protected void ToString(List <string> toStringOutput) { toStringOutput.Add($"TeamMemberBookingProfile = {(TeamMemberBookingProfile == null ? "null" : TeamMemberBookingProfile.ToString())}"); toStringOutput.Add($"Errors = {(Errors == null ? "null" : $"[{ string.Join(", ", Errors)} ]")}"); }