|
| 1 | +/* |
| 2 | + * Copyright (c) 2023 New Vector Ltd |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +package io.element.android.libraries.matrix.api.timeline.item.event |
| 18 | + |
| 19 | +sealed interface OtherState { |
| 20 | + data object PolicyRuleRoom : OtherState |
| 21 | + data object PolicyRuleServer : OtherState |
| 22 | + data object PolicyRuleUser : OtherState |
| 23 | + data object RoomAliases : OtherState |
| 24 | + data class RoomAvatar(val url: String?) : OtherState |
| 25 | + data object RoomCanonicalAlias : OtherState |
| 26 | + data object RoomCreate : OtherState |
| 27 | + data object RoomEncryption : OtherState |
| 28 | + data object RoomGuestAccess : OtherState |
| 29 | + data object RoomHistoryVisibility : OtherState |
| 30 | + data object RoomJoinRules : OtherState |
| 31 | + data class RoomName(val name: String?) : OtherState |
| 32 | + data object RoomPinnedEvents : OtherState |
| 33 | + data object RoomPowerLevels : OtherState |
| 34 | + data object RoomServerAcl : OtherState |
| 35 | + data class RoomThirdPartyInvite(val displayName: String?) : OtherState |
| 36 | + data object RoomTombstone : OtherState |
| 37 | + data class RoomTopic(val topic: String?) : OtherState |
| 38 | + data object SpaceChild : OtherState |
| 39 | + data object SpaceParent : OtherState |
| 40 | + data class Custom(val eventType: String) : OtherState |
| 41 | +} |
0 commit comments