/// <summary> /// Returns true if RemoveToolsRequest instances are equal /// </summary> /// <param name="other">Instance of RemoveToolsRequest to be compared</param> /// <returns>Boolean</returns> public bool Equals(RemoveToolsRequest other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( PipelineId == other.PipelineId || PipelineId != null && PipelineId.Equals(other.PipelineId) ) && ( Tools == other.Tools || Tools != null && other.Tools != null && Tools.SequenceEqual(other.Tools) )); }
/// <summary> /// Returns true if PipelineExecution instances are equal /// </summary> /// <param name="other">Instance of PipelineExecution to be compared</param> /// <returns>Boolean</returns> public bool Equals(PipelineExecution other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Id == other.Id || Id != null && Id.Equals(other.Id) ) && ( ProgramId == other.ProgramId || ProgramId != null && ProgramId.Equals(other.ProgramId) ) && ( PipelineId == other.PipelineId || PipelineId != null && PipelineId.Equals(other.PipelineId) ) && ( ArtifactsVersion == other.ArtifactsVersion || ArtifactsVersion != null && ArtifactsVersion.Equals(other.ArtifactsVersion) ) && ( User == other.User || User != null && User.Equals(other.User) ) && ( Status == other.Status || Status.Equals(other.Status) ) && ( Trigger == other.Trigger || Trigger.Equals(other.Trigger) ) && ( CreatedAt == other.CreatedAt || CreatedAt != null && CreatedAt.Equals(other.CreatedAt) ) && ( UpdatedAt == other.UpdatedAt || UpdatedAt != null && UpdatedAt.Equals(other.UpdatedAt) ) && ( FinishedAt == other.FinishedAt || FinishedAt != null && FinishedAt.Equals(other.FinishedAt) ) && ( Embedded == other.Embedded || Embedded != null && Embedded.Equals(other.Embedded) ) && ( Links == other.Links || Links != null && Links.Equals(other.Links) )); }