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

commonMain.com.atproto.sync.listReposRepo.kt Maven / Gradle / Ivy

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

package com.atproto.sync

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlinx.serialization.Serializable
import sh.christian.ozone.api.Cid
import sh.christian.ozone.api.Did

/**
 * @param head Current repo commit CID
 * @param status If active=false, this optional field indicates a possible reason for why the
 * account is not active. If active=false and no status is supplied, then the host makes no claim for
 * why the repository is no longer being hosted.
 */
@Serializable
public data class ListReposRepo(
  public val did: Did,
  /**
   * Current repo commit CID
   */
  public val head: Cid,
  public val rev: String,
  public val active: Boolean? = null,
  /**
   * If active=false, this optional field indicates a possible reason for why the account is not
   * active. If active=false and no status is supplied, then the host makes no claim for why the
   * repository is no longer being hosted.
   */
  public val status: ListReposStatus? = null,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy