/// <summary> /// Returns true if TesTask instances are equal /// </summary> /// <param name="other">Instance of TesTask to be compared</param> /// <returns>Boolean</returns> public bool Equals(TesTask other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( State == other.State || State.Equals(other.State) ) && ( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( Description == other.Description || Description != null && Description.Equals(other.Description) ) && ( Inputs == other.Inputs || Inputs != null && Inputs.SequenceEqual(other.Inputs) ) && ( Outputs == other.Outputs || Outputs != null && Outputs.SequenceEqual(other.Outputs) ) && ( Resources == other.Resources || Resources != null && Resources.Equals(other.Resources) ) && ( Executors == other.Executors || Executors != null && Executors.SequenceEqual(other.Executors) ) && ( Volumes == other.Volumes || Volumes != null && Volumes.SequenceEqual(other.Volumes) ) && ( Tags == other.Tags || Tags != null && Tags.SequenceEqual(other.Tags) ) && ( Logs == other.Logs || Logs != null && Logs.SequenceEqual(other.Logs) ) && ( CreationTime == other.CreationTime || CreationTime != null && CreationTime.Equals(other.CreationTime) )); }