Beispiel #1
0
        public override int GetHashCode()
        {
            int hashCode = -1012390189;

            if (AppointmentsOnboarded != null)
            {
                hashCode += AppointmentsOnboarded.GetHashCode();
            }

            if (Errors != null)
            {
                hashCode += Errors.GetHashCode();
            }

            return(hashCode);
        }
Beispiel #2
0
        public override bool Equals(object obj)
        {
            if (obj == null)
            {
                return(false);
            }

            if (obj == this)
            {
                return(true);
            }

            return(obj is CheckAppointmentsOnboardedResponse other &&
                   ((AppointmentsOnboarded == null && other.AppointmentsOnboarded == null) || (AppointmentsOnboarded?.Equals(other.AppointmentsOnboarded) == true)) &&
                   ((Errors == null && other.Errors == null) || (Errors?.Equals(other.Errors) == true)));
        }
Beispiel #3
0
 protected void ToString(List <string> toStringOutput)
 {
     toStringOutput.Add($"AppointmentsOnboarded = {(AppointmentsOnboarded == null ? "null" : AppointmentsOnboarded.ToString())}");
     toStringOutput.Add($"Errors = {(Errors == null ? "null" : $"[{ string.Join(", ", Errors)} ]")}");
 }