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

commonMain.app.bsky.actor.InterestsPref.kt Maven / Gradle / Ivy

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

package app.bsky.actor

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlinx.serialization.Serializable

/**
 * @param tags A list of tags which describe the account owner's interests gathered during
 * onboarding.
 */
@Serializable
public data class InterestsPref(
  /**
   * A list of tags which describe the account owner's interests gathered during onboarding.
   */
  public val tags: List,
) {
  init {
    require(tags.count() <= 100) {
      "tags.count() must be <= 100, but was ${tags.count()}"
    }
    require(tags.count() <= 640) {
      "tags.count() must be <= 640, but was ${tags.count()}"
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy