diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-10-01 15:09:59 +0000 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2019-10-01 17:55:13 +0000 |
| commit | a37db765d22747c12f6c035efc96bea429c2269d (patch) | |
| tree | 1ae5eda8baa6a71631bb875fa0101c0e32d56627 /android | |
| parent | fb69385fbc9c999c5ac5301830d08f67192cef2e (diff) | |
| download | mullvadvpn-a37db765d22747c12f6c035efc96bea429c2269d.tar.xz mullvadvpn-a37db765d22747c12f6c035efc96bea429c2269d.zip | |
Create `GetAccountDataResult` model class
Diffstat (limited to 'android')
| -rw-r--r-- | android/src/main/kotlin/net/mullvad/mullvadvpn/model/GetAccountDataResult.kt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/android/src/main/kotlin/net/mullvad/mullvadvpn/model/GetAccountDataResult.kt b/android/src/main/kotlin/net/mullvad/mullvadvpn/model/GetAccountDataResult.kt new file mode 100644 index 0000000000..386288676f --- /dev/null +++ b/android/src/main/kotlin/net/mullvad/mullvadvpn/model/GetAccountDataResult.kt @@ -0,0 +1,8 @@ +package net.mullvad.mullvadvpn.model + +sealed class GetAccountDataResult { + class Ok(val accountData: AccountData) : GetAccountDataResult() + class InvalidAccount : GetAccountDataResult() + class RpcError : GetAccountDataResult() + class OtherError : GetAccountDataResult() +} |
