public bool Equals(ApiCreateRoomRequest x, ApiCreateRoomRequest y) { if (x == null && y == null) { return(true); } if ((x == null && y != null) || (x != null && y == null)) { return(false); } return(CompareHelper.ListIsEqual(x.AdminGroupIds, y.AdminGroupIds) && CompareHelper.ListIsEqual(x.AdminIds, y.AdminIds) && x.InheritPermissions == y.InheritPermissions && string.Equals(x.Name, y.Name) && string.Equals(x.NewGroupMemberAcceptance, y.NewGroupMemberAcceptance) && string.Equals(x.Notes, y.Notes) && x.ParentId == y.ParentId && x.Quota == y.Quota && x.RecycleBinRetentionPeriod == y.RecycleBinRetentionPeriod); }
public bool Equals(UserAccount x, UserAccount y) { if (x == null && y == null) { return(true); } if ((x == null && y != null) || (x != null && y == null)) { return(false); } return(x.Id == y.Id && string.Equals(x.LoginName, y.LoginName) && string.Equals(x.Title, y.Title) && string.Equals(x.FirstName, y.FirstName) && string.Equals(x.LastName, y.LastName) && string.Equals(x.Email, y.Email) && x.HasEncryptionEnabled == y.HasEncryptionEnabled && x.HasManageableRooms == y.HasManageableRooms && x.ExpireAt == y.ExpireAt && x.LastLoginSuccessAt == y.LastLoginSuccessAt && x.LastLoginFailAt == y.LastLoginFailAt && x.HomeRoomId == y.HomeRoomId && CompareHelper.ListIsEqual(x.UserRoles, y.UserRoles)); }
public bool Equals(WebClient x, WebClient y) { return(CompareHelper.ListIsEqual(x.Headers, y.Headers)); }