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

commonMain.com.atproto.server.describeServer.kt Maven / Gradle / Ivy

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

package com.atproto.server

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

/**
 * @param inviteCodeRequired If true, an invite code must be supplied to create an account on this
 * instance.
 * @param phoneVerificationRequired If true, a phone verification token must be supplied to create
 * an account on this instance.
 * @param links URLs of service policy documents.
 * @param contact Contact information
 */
@Serializable
public data class DescribeServerResponse(
  /**
   * If true, an invite code must be supplied to create an account on this instance.
   */
  public val inviteCodeRequired: Boolean? = null,
  /**
   * If true, a phone verification token must be supplied to create an account on this instance.
   */
  public val phoneVerificationRequired: Boolean? = null,
  public val availableUserDomains: ReadOnlyList,
  /**
   * URLs of service policy documents.
   */
  public val links: DescribeServerLinks? = null,
  /**
   * Contact information
   */
  public val contact: DescribeServerContact? = null,
  public val did: Did,
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy