All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.app.bsky.graph.getSuggestedFollowsByActor.kt Maven / Gradle / Ivy

The newest version!
@file:Suppress("DEPRECATION")

package app.bsky.graph

import app.bsky.actor.ProfileView
import kotlin.Any
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlinx.collections.immutable.toImmutableList
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.AtIdentifier
import sh.christian.ozone.api.model.ReadOnlyList

@Serializable
public data class GetSuggestedFollowsByActorQueryParams(
  public val actor: AtIdentifier,
) {
  public fun asList(): ReadOnlyList> = buildList {
    add("actor" to actor)
  }.toImmutableList()
}

/**
 * @param isFallback If true, response has fallen-back to generic results, and is not scoped using
 * relativeToDid
 */
@Serializable
public data class GetSuggestedFollowsByActorResponse(
  public val suggestions: ReadOnlyList,
  /**
   * If true, response has fallen-back to generic results, and is not scoped using relativeToDid
   */
  public val isFallback: Boolean? = false,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy