diff --git a/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/Profile.kt b/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/Profile.kt index 4b32a37..8962cf2 100644 --- a/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/Profile.kt +++ b/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/Profile.kt @@ -1,7 +1,9 @@ package io.github.akiomik.seiun.model.app.bsky.actor +import com.squareup.moshi.JsonClass import io.github.akiomik.seiun.model.type.Image +@JsonClass(generateAdapter = true) data class Profile( val displayName: String, val description: String? = null, diff --git a/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/Ref.kt b/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/Ref.kt index b984587..3e5f1b7 100644 --- a/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/Ref.kt +++ b/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/Ref.kt @@ -1,5 +1,8 @@ package io.github.akiomik.seiun.model.app.bsky.actor +import com.squareup.moshi.JsonClass + +@JsonClass(generateAdapter = true) data class Ref( val did: String, val declarationCid: String diff --git a/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/UpdateProfileInput.kt b/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/UpdateProfileInput.kt index 6e9393e..3872a3c 100644 --- a/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/UpdateProfileInput.kt +++ b/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/UpdateProfileInput.kt @@ -1,7 +1,9 @@ package io.github.akiomik.seiun.model.app.bsky.actor +import com.squareup.moshi.JsonClass import io.github.akiomik.seiun.model.type.Image +@JsonClass(generateAdapter = true) data class UpdateProfileInput( val did: String? = null, val displayName: String? = null, diff --git a/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/UpdateProfileOutput.kt b/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/UpdateProfileOutput.kt index e093665..975a782 100644 --- a/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/UpdateProfileOutput.kt +++ b/app/src/main/java/io/github/akiomik/seiun/model/app/bsky/actor/UpdateProfileOutput.kt @@ -1,5 +1,8 @@ package io.github.akiomik.seiun.model.app.bsky.actor +import com.squareup.moshi.JsonClass + +@JsonClass(generateAdapter = true) data class UpdateProfileOutput( val uri: String, val cid: String,