/// <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 (OdataEtag != null)
         {
             hashCode = hashCode * 59 + OdataEtag.GetHashCode();
         }
         if (CatTeammemberValueODataCommunityDisplayV1FormattedValue != null)
         {
             hashCode = hashCode * 59 + CatTeammemberValueODataCommunityDisplayV1FormattedValue.GetHashCode();
         }
         if (CatTeammemberValue != null)
         {
             hashCode = hashCode * 59 + CatTeammemberValue.GetHashCode();
         }
         if (CatGtmentryValueODataCommunityDisplayV1FormattedValue != null)
         {
             hashCode = hashCode * 59 + CatGtmentryValueODataCommunityDisplayV1FormattedValue.GetHashCode();
         }
         if (CatGtmentryValue != null)
         {
             hashCode = hashCode * 59 + CatGtmentryValue.GetHashCode();
         }
         if (CatProjectteamrolesid != null)
         {
             hashCode = hashCode * 59 + CatProjectteamrolesid.GetHashCode();
         }
         return(hashCode);
     }
 }
        /// <summary>
        /// Returns true if InlineResponseDefaultCatProjectTeamRolesGtmEntryCatGtmEntr instances are equal
        /// </summary>
        /// <param name="other">Instance of InlineResponseDefaultCatProjectTeamRolesGtmEntryCatGtmEntr to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(InlineResponseDefaultCatProjectTeamRolesGtmEntryCatGtmEntr other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OdataEtag == other.OdataEtag ||
                     OdataEtag != null &&
                     OdataEtag.Equals(other.OdataEtag)
                     ) &&
                 (
                     CatTeammemberValueODataCommunityDisplayV1FormattedValue == other.CatTeammemberValueODataCommunityDisplayV1FormattedValue ||
                     CatTeammemberValueODataCommunityDisplayV1FormattedValue != null &&
                     CatTeammemberValueODataCommunityDisplayV1FormattedValue.Equals(other.CatTeammemberValueODataCommunityDisplayV1FormattedValue)
                 ) &&
                 (
                     CatTeammemberValue == other.CatTeammemberValue ||
                     CatTeammemberValue != null &&
                     CatTeammemberValue.Equals(other.CatTeammemberValue)
                 ) &&
                 (
                     CatGtmentryValueODataCommunityDisplayV1FormattedValue == other.CatGtmentryValueODataCommunityDisplayV1FormattedValue ||
                     CatGtmentryValueODataCommunityDisplayV1FormattedValue != null &&
                     CatGtmentryValueODataCommunityDisplayV1FormattedValue.Equals(other.CatGtmentryValueODataCommunityDisplayV1FormattedValue)
                 ) &&
                 (
                     CatGtmentryValue == other.CatGtmentryValue ||
                     CatGtmentryValue != null &&
                     CatGtmentryValue.Equals(other.CatGtmentryValue)
                 ) &&
                 (
                     CatProjectteamrolesid == other.CatProjectteamrolesid ||
                     CatProjectteamrolesid != null &&
                     CatProjectteamrolesid.Equals(other.CatProjectteamrolesid)
                 ));
        }