/// <summary> /// Returns true if ExtensionClassContainerImpl1map instances are equal /// </summary> /// <param name="other">Instance of ExtensionClassContainerImpl1map to be compared</param> /// <returns>Boolean</returns> public bool Equals(ExtensionClassContainerImpl1map other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( IoJenkinsBlueoceanServiceEmbeddedRestPipelineImpl == other.IoJenkinsBlueoceanServiceEmbeddedRestPipelineImpl || IoJenkinsBlueoceanServiceEmbeddedRestPipelineImpl != null && IoJenkinsBlueoceanServiceEmbeddedRestPipelineImpl.Equals(other.IoJenkinsBlueoceanServiceEmbeddedRestPipelineImpl) ) && ( IoJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl == other.IoJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl || IoJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl != null && IoJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl.Equals(other.IoJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl) ) && ( Class == other.Class || Class != null && Class.Equals(other.Class) )); }
/// <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 (IoJenkinsBlueoceanServiceEmbeddedRestPipelineImpl != null) { hashCode = hashCode * 59 + IoJenkinsBlueoceanServiceEmbeddedRestPipelineImpl.GetHashCode(); } if (IoJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl != null) { hashCode = hashCode * 59 + IoJenkinsBlueoceanServiceEmbeddedRestMultiBranchPipelineImpl.GetHashCode(); } if (Class != null) { hashCode = hashCode * 59 + Class.GetHashCode(); } return(hashCode); } }