/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (HttpNsAdobeComAdobecloudRelProgram != null) { hashCode = hashCode * 59 + HttpNsAdobeComAdobecloudRelProgram.GetHashCode(); } if (HttpNsAdobeComAdobecloudRelExecution != null) { hashCode = hashCode * 59 + HttpNsAdobeComAdobecloudRelExecution.GetHashCode(); } if (HttpNsAdobeComAdobecloudRelExecutions != null) { hashCode = hashCode * 59 + HttpNsAdobeComAdobecloudRelExecutions.GetHashCode(); } if (HttpNsAdobeComAdobecloudRelRollbackLastSuccessfulExecution != null) { hashCode = hashCode * 59 + HttpNsAdobeComAdobecloudRelRollbackLastSuccessfulExecution.GetHashCode(); } if (Self != null) { hashCode = hashCode * 59 + Self.GetHashCode(); } return(hashCode); } }
/// <summary> /// Returns true if PipelineLinks instances are equal /// </summary> /// <param name="other">Instance of PipelineLinks to be compared</param> /// <returns>Boolean</returns> public bool Equals(PipelineLinks other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( HttpNsAdobeComAdobecloudRelProgram == other.HttpNsAdobeComAdobecloudRelProgram || HttpNsAdobeComAdobecloudRelProgram != null && HttpNsAdobeComAdobecloudRelProgram.Equals(other.HttpNsAdobeComAdobecloudRelProgram) ) && ( HttpNsAdobeComAdobecloudRelExecution == other.HttpNsAdobeComAdobecloudRelExecution || HttpNsAdobeComAdobecloudRelExecution != null && HttpNsAdobeComAdobecloudRelExecution.Equals(other.HttpNsAdobeComAdobecloudRelExecution) ) && ( HttpNsAdobeComAdobecloudRelExecutions == other.HttpNsAdobeComAdobecloudRelExecutions || HttpNsAdobeComAdobecloudRelExecutions != null && HttpNsAdobeComAdobecloudRelExecutions.Equals(other.HttpNsAdobeComAdobecloudRelExecutions) ) && ( HttpNsAdobeComAdobecloudRelRollbackLastSuccessfulExecution == other.HttpNsAdobeComAdobecloudRelRollbackLastSuccessfulExecution || HttpNsAdobeComAdobecloudRelRollbackLastSuccessfulExecution != null && HttpNsAdobeComAdobecloudRelRollbackLastSuccessfulExecution.Equals(other.HttpNsAdobeComAdobecloudRelRollbackLastSuccessfulExecution) ) && ( Self == other.Self || Self != null && Self.Equals(other.Self) )); }