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

commonMain.app.bsky.feed.getFeedGenerator.kt Maven / Gradle / Ivy

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

package app.bsky.feed

import kotlin.Any
import kotlin.Boolean
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.AtUri

/**
 * @param feed AT-URI of the feed generator record.
 */
@Serializable
public data class GetFeedGeneratorQueryParams(
  /**
   * AT-URI of the feed generator record.
   */
  public val feed: AtUri,
) {
  public fun asList(): List> = buildList {
    add("feed" to feed)
  }
}

/**
 * @param isOnline Indicates whether the feed generator service has been online recently, or else
 * seems to be inactive.
 * @param isValid Indicates whether the feed generator service is compatible with the record
 * declaration.
 */
@Serializable
public data class GetFeedGeneratorResponse(
  public val view: GeneratorView,
  /**
   * Indicates whether the feed generator service has been online recently, or else seems to be
   * inactive.
   */
  public val isOnline: Boolean,
  /**
   * Indicates whether the feed generator service is compatible with the record declaration.
   */
  public val isValid: Boolean,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy