public override bool Equals(object obj) { if (obj == null) { return(false); } if (obj == this) { return(true); } return(obj is RetrieveObsMigrationProfileResponse other && ((BannerEnabled == null && other.BannerEnabled == null) || (BannerEnabled?.Equals(other.BannerEnabled) == true)) && ((BannerText == null && other.BannerText == null) || (BannerText?.Equals(other.BannerText) == true)) && ((BannerCtaText == null && other.BannerCtaText == null) || (BannerCtaText?.Equals(other.BannerCtaText) == true)) && ((BannerCtaUrl == null && other.BannerCtaUrl == null) || (BannerCtaUrl?.Equals(other.BannerCtaUrl) == true)) && ((Errors == null && other.Errors == null) || (Errors?.Equals(other.Errors) == true))); }