/// <summary> /// Returns true if RoleSubmit instances are equal /// </summary> /// <param name="other">Instance of RoleSubmit to be compared</param> /// <returns>Boolean</returns> public bool Equals(RoleSubmit other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( Description == other.Description || Description != null && Description.Equals(other.Description) ) && ( Uuid == other.Uuid || Uuid != null && Uuid.Equals(other.Uuid) ) && ( RoleIds == other.RoleIds || RoleIds != null && other.RoleIds != null && RoleIds.SequenceEqual(other.RoleIds) ) && ( UserIds == other.UserIds || UserIds != null && other.UserIds != null && UserIds.SequenceEqual(other.UserIds) ) && ( FunctionIds == other.FunctionIds || FunctionIds != null && other.FunctionIds != null && FunctionIds.SequenceEqual(other.FunctionIds) )); }
/// <summary> /// Returns true if UserProfileSubmit instances are equal /// </summary> /// <param name="other">Instance of UserProfileSubmit to be compared</param> /// <returns>Boolean</returns> public bool Equals(UserProfileSubmit other) { if (other is null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Name == other.Name || Name != null && Name.Equals(other.Name) ) && ( Description == other.Description || Description != null && Description.Equals(other.Description) ) && ( SubRealmId == other.SubRealmId || SubRealmId != null && SubRealmId.Equals(other.SubRealmId) ) && ( RoleIds == other.RoleIds || RoleIds != null && other.RoleIds != null && RoleIds.SequenceEqual(other.RoleIds) ) && ( TeamIds == other.TeamIds || TeamIds != null && other.TeamIds != null && TeamIds.SequenceEqual(other.TeamIds) )); }
/// <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) )); }