/// <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);
     }
 }
示例#2
0
        /// <summary>
        /// Returns true if InlineResponseDefault1Value instances are equal
        /// </summary>
        /// <param name="other">Instance of InlineResponseDefault1Value to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(InlineResponseDefault1Value other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OdataEtag == other.OdataEtag ||
                     OdataEtag != null &&
                     OdataEtag.Equals(other.OdataEtag)
                     ) &&
                 (
                     Uniquename == other.Uniquename ||
                     Uniquename != null &&
                     Uniquename.Equals(other.Uniquename)
                 ) &&
                 (
                     Workflowid == other.Workflowid ||
                     Workflowid != null &&
                     Workflowid.Equals(other.Workflowid)
                 ));
        }
示例#3
0
        /// <summary>
        /// Returns true if InlineResponseDefault2Value instances are equal
        /// </summary>
        /// <param name="other">Instance of InlineResponseDefault2Value to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(InlineResponseDefault2Value other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OdataEtag == other.OdataEtag ||
                     OdataEtag != null &&
                     OdataEtag.Equals(other.OdataEtag)
                     ) &&
                 (
                     OwneridValue == other.OwneridValue ||
                     OwneridValue != null &&
                     OwneridValue.Equals(other.OwneridValue)
                 ) &&
                 (
                     ProcessidValue == other.ProcessidValue ||
                     ProcessidValue != null &&
                     ProcessidValue.Equals(other.ProcessidValue)
                 ) &&
                 (
                     Owningbusinessunit == other.Owningbusinessunit ||
                     Owningbusinessunit != null &&
                     Owningbusinessunit.Equals(other.Owningbusinessunit)
                 ) &&
                 (
                     Stagename == other.Stagename ||
                     Stagename != null &&
                     Stagename.Equals(other.Stagename)
                 ) &&
                 (
                     Primaryentitytypecode == other.Primaryentitytypecode ||
                     Primaryentitytypecode != null &&
                     Primaryentitytypecode.Equals(other.Primaryentitytypecode)
                 ) &&
                 (
                     Clientdata == other.Clientdata ||
                     Clientdata != null &&
                     Clientdata.SequenceEqual(other.Clientdata)
                 ) &&
                 (
                     Processstageid == other.Processstageid ||
                     Processstageid != null &&
                     Processstageid.Equals(other.Processstageid)
                 ) &&
                 (
                     Stagecategory == other.Stagecategory ||
                     Stagecategory != null &&
                     Stagecategory.Equals(other.Stagecategory)
                 ));
        }
示例#4
0
        /// <summary>
        /// Returns true if InlineResponseDefault5Value instances are equal
        /// </summary>
        /// <param name="other">Instance of InlineResponseDefault5Value to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(InlineResponseDefault5Value other)
        {
            if (ReferenceEquals(null, other))
            {
                return(false);
            }
            if (ReferenceEquals(this, other))
            {
                return(true);
            }

            return
                ((
                     OdataEtag == other.OdataEtag ||
                     OdataEtag != null &&
                     OdataEtag.Equals(other.OdataEtag)
                     ) &&
                 (
                     Nickname == other.Nickname ||
                     Nickname != null &&
                     Nickname.Equals(other.Nickname)
                 ) &&
                 (
                     Fullname == other.Fullname ||
                     Fullname != null &&
                     Fullname.Equals(other.Fullname)
                 ) &&
                 (
                     Firstname == other.Firstname ||
                     Firstname != null &&
                     Firstname.Equals(other.Firstname)
                 ) &&
                 (
                     Lastname == other.Lastname ||
                     Lastname != null &&
                     Lastname.Equals(other.Lastname)
                 ) &&
                 (
                     Azureactivedirectoryobjectid == other.Azureactivedirectoryobjectid ||
                     Azureactivedirectoryobjectid != null &&
                     Azureactivedirectoryobjectid.Equals(other.Azureactivedirectoryobjectid)
                 ) &&
                 (
                     Systemuserid == other.Systemuserid ||
                     Systemuserid != null &&
                     Systemuserid.Equals(other.Systemuserid)
                 ) &&
                 (
                     Ownerid == other.Ownerid ||
                     Ownerid != null &&
                     Ownerid.Equals(other.Ownerid)
                 ));
        }
示例#5
0
 /// <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 (OwneridValue != null)
         {
             hashCode = hashCode * 59 + OwneridValue.GetHashCode();
         }
         if (ProcessidValue != null)
         {
             hashCode = hashCode * 59 + ProcessidValue.GetHashCode();
         }
         if (Owningbusinessunit != null)
         {
             hashCode = hashCode * 59 + Owningbusinessunit.GetHashCode();
         }
         if (Stagename != null)
         {
             hashCode = hashCode * 59 + Stagename.GetHashCode();
         }
         if (Primaryentitytypecode != null)
         {
             hashCode = hashCode * 59 + Primaryentitytypecode.GetHashCode();
         }
         if (Clientdata != null)
         {
             hashCode = hashCode * 59 + Clientdata.GetHashCode();
         }
         if (Processstageid != null)
         {
             hashCode = hashCode * 59 + Processstageid.GetHashCode();
         }
         if (Stagecategory != null)
         {
             hashCode = hashCode * 59 + Stagecategory.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)
                 ));
        }
示例#7
0
 /// <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 (Nickname != null)
         {
             hashCode = hashCode * 59 + Nickname.GetHashCode();
         }
         if (Fullname != null)
         {
             hashCode = hashCode * 59 + Fullname.GetHashCode();
         }
         if (Firstname != null)
         {
             hashCode = hashCode * 59 + Firstname.GetHashCode();
         }
         if (Lastname != null)
         {
             hashCode = hashCode * 59 + Lastname.GetHashCode();
         }
         if (Azureactivedirectoryobjectid != null)
         {
             hashCode = hashCode * 59 + Azureactivedirectoryobjectid.GetHashCode();
         }
         if (Systemuserid != null)
         {
             hashCode = hashCode * 59 + Systemuserid.GetHashCode();
         }
         if (Ownerid != null)
         {
             hashCode = hashCode * 59 + Ownerid.GetHashCode();
         }
         return(hashCode);
     }
 }
示例#8
0
 /// <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 (Uniquename != null)
         {
             hashCode = hashCode * 59 + Uniquename.GetHashCode();
         }
         if (Workflowid != null)
         {
             hashCode = hashCode * 59 + Workflowid.GetHashCode();
         }
         return(hashCode);
     }
 }