/// <summary> /// Returns true if Team instances are equal /// </summary> /// <param name="other">Instance of Team to be compared</param> /// <returns>Boolean</returns> public bool Equals(Team other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Uuid == other.Uuid || Uuid != null && Uuid.Equals(other.Uuid) ) && ( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( Description == other.Description || Description != null && Description.Equals(other.Description) ) && ( TeamIds == other.TeamIds || TeamIds != null && other.TeamIds != null && TeamIds.SequenceEqual(other.TeamIds) ) && ( UserIds == other.UserIds || UserIds != null && other.UserIds != null && UserIds.SequenceEqual(other.UserIds) ) && ( DataPolicyIds == other.DataPolicyIds || DataPolicyIds != null && other.DataPolicyIds != null && DataPolicyIds.SequenceEqual(other.DataPolicyIds) ) && ( TermsOfServiceId == other.TermsOfServiceId || TermsOfServiceId != null && TermsOfServiceId.Equals(other.TermsOfServiceId) ) && ( SubRealmId == other.SubRealmId || SubRealmId != null && SubRealmId.Equals(other.SubRealmId) )); }
/// <summary> /// Returns true if TermsOfService instances are equal /// </summary> /// <param name="other">Instance of TermsOfService to be compared</param> /// <returns>Boolean</returns> public bool Equals(TermsOfService other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Uuid == other.Uuid || Uuid != null && Uuid.Equals(other.Uuid) ) && ( AgreementName == other.AgreementName || AgreementName != null && AgreementName.Equals(other.AgreementName) ) && ( Version == other.Version || Version != null && Version.Equals(other.Version) ) && ( AgreementFileData == other.AgreementFileData || AgreementFileData != null && AgreementFileData.Equals(other.AgreementFileData) ) && ( TeamIds == other.TeamIds || TeamIds != null && other.TeamIds != null && TeamIds.SequenceEqual(other.TeamIds) ) && ( AcceptedUserIds == other.AcceptedUserIds || AcceptedUserIds != null && other.AcceptedUserIds != null && AcceptedUserIds.SequenceEqual(other.AcceptedUserIds) ) && ( SubRealmId == other.SubRealmId || SubRealmId != null && SubRealmId.Equals(other.SubRealmId) )); }
/// <summary> /// Returns true if TeamSubmit instances are equal /// </summary> /// <param name="other">Instance of TeamSubmit to be compared</param> /// <returns>Boolean</returns> public bool Equals(TeamSubmit other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Uuid == other.Uuid || Uuid != null && Uuid.Equals(other.Uuid) ) && ( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( Description == other.Description || Description != null && Description.Equals(other.Description) ) && ( TeamIds == other.TeamIds || TeamIds != null && other.TeamIds != null && TeamIds.SequenceEqual(other.TeamIds) ) && ( DataPolicies == other.DataPolicies || DataPolicies != null && other.DataPolicies != null && DataPolicies.SequenceEqual(other.DataPolicies) )); }
/// <summary> /// Returns true if UserSubmit instances are equal /// </summary> /// <param name="other">Instance of UserSubmit to be compared</param> /// <returns>Boolean</returns> public bool Equals(UserSubmit other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Uuid == other.Uuid || Uuid != null && Uuid.Equals(other.Uuid) ) && ( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( Surname == other.Surname || Surname != null && Surname.Equals(other.Surname) ) && ( Username == other.Username || Username != null && Username.Equals(other.Username) ) && ( Password == other.Password || Password != null && Password.Equals(other.Password) ) && ( Email == other.Email || Email != null && Email.Equals(other.Email) ) && ( PhoneNumber == other.PhoneNumber || PhoneNumber != null && PhoneNumber.Equals(other.PhoneNumber) ) && ( Avatar == other.Avatar || Avatar != null && Avatar.Equals(other.Avatar) ) && ( LdapAuthenticationModeId == other.LdapAuthenticationModeId || LdapAuthenticationModeId != null && LdapAuthenticationModeId.Equals(other.LdapAuthenticationModeId) ) && ( RoleIds == other.RoleIds || RoleIds != null && other.RoleIds != null && RoleIds.SequenceEqual(other.RoleIds) ) && ( TeamIds == other.TeamIds || TeamIds != null && other.TeamIds != null && TeamIds.SequenceEqual(other.TeamIds) ) && ( CustomAttributes == other.CustomAttributes || CustomAttributes != null && other.CustomAttributes != null && CustomAttributes.SequenceEqual(other.CustomAttributes) )); }