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