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