package
models
Type Members
-
case class
ApiKey(id: Int, key: String, user: Option[BasicUser]) extends Product with Serializable
-
case class
ApiKeyContainer(apiKey: ApiKey) extends Product with Serializable
-
case class
Badge(id: Int, name: String, description: Option[String], grantCount: Int, allowTitle: Boolean, multipleGrant: Boolean, icon: String, image: Option[String] = None, listable: Boolean, enabled: Boolean, badgeGroupingId: Int, system: Boolean, slug: String, badgeTypeId: Int, longDescription: Option[String] = None) extends SerializableAsJson with Product with Serializable
-
case class
BadgeType(id: Int, name: String, sortOrder: Int) extends Product with Serializable
-
case class
BadgeTypes(badgeTypes: List[BadgeType]) extends Product with Serializable
-
case class
Badges(badges: List[Badge], badgeTypes: List[BadgeType]) extends Product with Serializable
-
-
case class
Category(id: Int, name: String, color: String, textColor: String, description: Option[String] = None, permissions: Option[Map[String, Int]] = None, parentCategoryId: Option[Int] = None, slug: Option[String] = None, autoCloseHours: Option[String] = None, autoCloseBasedOnLastPost: Option[Boolean] = None, position: Option[Int] = None, emailIn: Option[Boolean], emailInAllowStrangers: Option[Boolean] = None, logoUrl: Option[String] = None, allowBadges: Option[Boolean] = None, topicTemplate: Option[String] = None) extends SerializableAsJson with Product with Serializable
-
case class
CategoryContainer(category: Category) extends Product with Serializable
-
case class
CategoryList(categories: List[Category]) extends Product with Serializable
-
-
case class
CreateBadge(name: String, badgeTypeId: Int, description: Option[String] = None, allowTitle: Option[Boolean] = None, multipleGrant: Option[Boolean] = None, icon: Option[String] = None, listable: Option[Boolean] = None, targetPosts: Option[String] = None, query: Option[String] = None, enabled: Option[Boolean] = None, autoRevoke: Option[Boolean] = None, badgeGroupingId: Option[Int] = None, showPosts: Option[Boolean] = None, image: Option[String] = None, longDescription: Option[String] = None) extends SerializableAsJson with Product with Serializable
-
case class
CreateBadgeResponse(badgeTypes: List[BadgeType], badge: Badge) extends Product with Serializable
-
case class
CreateCategory(name: String, color: String, textColor: String, description: Option[String] = None, permissions: Option[Map[String, Int]] = None, parentCategoryId: Option[Int] = None) extends SerializableAsJson with Product with Serializable
-
case class
CreatePost(title: String, raw: String, topicId: Option[Long] = None, archetype: Option[String] = None, category: String, targetUsernames: Option[String] = None, replyToPostNumber: Option[Int] = None, autoTrack: Boolean = true) extends SerializableAsJson with Product with Serializable
-
case class
CreateUser(name: String, username: String, password: String, active: Boolean, email: String, staged: Boolean = false) extends SerializableAsJson with Product with Serializable
-
case class
CreateUserResponse(success: Boolean, active: Option[Boolean], message: String, userId: Int) extends Product with Serializable
-
case class
DiscourseApiException(msg: String, err: Throwable) extends Exception with Product with Serializable
-
case class
DiscourseApiJsonException(msg: String, err: Throwable) extends Exception with Product with Serializable
-
case class
DiscourseApiNotFoundException(msg: String, err: Throwable) extends Exception with Product with Serializable
-
case class
DiscourseApiUnauthenticatedException(msg: String, err: Throwable) extends Exception with Product with Serializable
-
case class
DiscourseStatusMessage(success: Boolean, message: String) extends Product with Serializable
-
case class
GrantBadge(badgeId: Int, username: String, reason: String) extends SerializableAsJson with Product with Serializable
-
case class
Group(id: Int, automatic: Boolean, name: String, userCount: Int, aliasLevel: Int, visible: Boolean, title: Option[String] = None, primaryGroup: Boolean) extends Product with Serializable
-
case class
GroupedSearchResult(morePosts: Option[Boolean] = None, moreUsers: Option[Boolean] = None, moreCategories: Option[Boolean] = None, postIds: List[Long], userIds: List[Long], categoryIds: List[Long]) extends Product with Serializable
-
type
JsonIgnoreProperties = fasterxml.jackson.annotation.JsonIgnoreProperties
-
type
JsonProperty = fasterxml.jackson.annotation.JsonProperty
-
case class
Notification(id: Int, notificationType: Int, read: Boolean, createdAt: OffsetDateTime, postNumber: Option[Int] = None, topicId: Option[Int] = None, slug: Option[String] = None, data: Map[String, String] = Map.empty) extends SerializableAsJson with Product with Serializable
-
case class
NotificationResponse(notifications: List[Notification], totalRowsNotifications: Int) extends SerializableAsJson with Product with Serializable
-
case class
Post(id: Int, cooked: String, topic_id: Int, updated_at: OffsetDateTime, created_at: OffsetDateTime) extends Product with Serializable
-
case class
PostStream(posts: List[Post]) extends Product with Serializable
-
case class
SSOContext(payload: String, signature: String, secret: String) extends Product with Serializable
-
case class
SSOUserRequest(email: String, require_activation: Boolean, external_id: String, username: String, name: String, avatar_url: String, admin: Boolean, moderator: Boolean, avatar_force_update: Boolean, suppress_welcome_message: Boolean) extends HasParameters with HasQueryParameters with Product with Serializable
-
case class
SSOUserResult(payload: String, signature: String) extends Product with Serializable
-
-
case class
SearchResponseCategories(id: Long) extends Product with Serializable
-
case class
SearchResponsePost(id: Long, name: Option[String] = None, username: String, avatarTemplate: Option[String] = None, createdAt: Option[String] = None, cooked: String, likeCount: Int, blurb: String, postNumber: Int, topicId: Long) extends Product with Serializable
-
-
case class
SearchResponseUsers(id: Long) extends Product with Serializable
-
case class
SignatureNotMatchedException(msg: String) extends Exception with Product with Serializable
-
case class
SuspendUser(duration: Int, reason: String) extends SerializableAsJson with Product with Serializable
-
case class
Topic(id: Int, title: String, slug: String, categoryId: Int, createdAt: OffsetDateTime, postStream: Option[PostStream] = None) extends Product with Serializable
-
case class
TopicList(topics: List[Topic]) extends Product with Serializable
-
case class
TopicListContainer(topicList: TopicList) extends Product with Serializable
-
case class
UpdateEmail(email: String, apiKey: String, apiUsername: String) extends SerializableAsJson with Product with Serializable
-
case class
UpdateTrustLevel(userId: Int, level: Int) extends SerializableAsJson with Product with Serializable
-
-
case class
UpdateUsername(newUsername: String, apiKey: String) extends SerializableAsJson with Product with Serializable
-
case class
User(id: Int, username: String, uploadedAvatarId: Option[Int] = None, avatarTemplate: Option[String], name: Option[String], email: Option[String], lastPostedAt: Option[OffsetDateTime] = None, lastSeenAt: Option[OffsetDateTime] = None, bioCooked: Option[String] = None, createdAt: OffsetDateTime, bioExcerpt: String, trustLevel: Int, moderator: Boolean, admin: Boolean, title: Option[String] = None, badgeCount: Int, gravatarAvatarUploadId: Option[Int] = None, custom_avatar_upload_id: Option[Int] = None, groups: List[Group]) extends BasicUser with Product with Serializable
-
Inherited from AnyRef
Inherited from Any