com.amarjanica.discourse

models

package models

Linear Supertypes
Imports, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. models
  2. Imports
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. case class ApiKey(id: Int, key: String, user: Option[BasicUser]) extends Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  2. case class ApiKeyContainer(apiKey: ApiKey) extends Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  3. case class Badge(id: Int, name: String, description: Option[String], grantCount: Int, allowTitle: Boolean, multipleGrant: Boolean, icon: String, image: Option[String] = scala.None, listable: Boolean, enabled: Boolean, badgeGroupingId: Int, system: Boolean, slug: String, badgeTypeId: Int, longDescription: Option[String] = scala.None) extends SerializableAsJson with Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  4. case class BadgeType(id: Int, name: String, sortOrder: Int) extends Product with Serializable

  5. case class BadgeTypes(badgeTypes: List[BadgeType]) extends Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  6. case class Badges(badges: List[Badge], badgeTypes: List[BadgeType]) extends Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  7. class BasicUser extends Serializable with SerializableAsJson

    Annotations
    @JsonIgnoreProperties()
  8. case class Category(id: Int, name: String, color: String, textColor: String, description: Option[String] = scala.None, permissions: Option[Map[String, Int]] = scala.None, parentCategoryId: Option[Int] = scala.None, slug: Option[String] = scala.None, autoCloseHours: Option[String] = scala.None, autoCloseBasedOnLastPost: Option[Boolean] = scala.None, position: Option[Int] = scala.None, emailIn: Option[Boolean], emailInAllowStrangers: Option[Boolean] = scala.None, logoUrl: Option[String] = scala.None, allowBadges: Option[Boolean] = scala.None, topicTemplate: Option[String] = scala.None) extends SerializableAsJson with Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  9. case class CategoryContainer(category: Category) extends Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  10. case class CategoryList(categories: List[Category]) extends Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  11. case class CategoryListContainer(category_list: CategoryList) extends Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  12. case class CreateBadge(name: String, badgeTypeId: Int, description: Option[String] = scala.None, allowTitle: Option[Boolean] = scala.None, multipleGrant: Option[Boolean] = scala.None, icon: Option[String] = scala.None, listable: Option[Boolean] = scala.None, targetPosts: Option[String] = scala.None, query: Option[String] = scala.None, enabled: Option[Boolean] = scala.None, autoRevoke: Option[Boolean] = scala.None, badgeGroupingId: Option[Int] = scala.None, showPosts: Option[Boolean] = scala.None, image: Option[String] = scala.None, longDescription: Option[String] = scala.None) extends SerializableAsJson with Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  13. case class CreateBadgeResponse(badgeTypes: List[BadgeType], badge: Badge) extends Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  14. case class CreateCategory(name: String, color: String, textColor: String, description: Option[String] = scala.None, permissions: Option[Map[String, Int]] = scala.None, parentCategoryId: Option[Int] = scala.None) extends SerializableAsJson with Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  15. case class CreatePost(title: String, raw: String, topicId: Option[Long] = scala.None, archetype: Option[String] = scala.None, category: String, targetUsernames: Option[String] = scala.None, replyToPostNumber: Option[Int] = scala.None, autoTrack: Boolean = true) extends SerializableAsJson with Product with Serializable

  16. case class CreateUser(name: String, username: String, password: String, active: Boolean, email: String, staged: Boolean = false) extends SerializableAsJson with Product with Serializable

  17. case class CreateUserResponse(success: Boolean, active: Option[Boolean], message: String, userId: Int) extends Product with Serializable

  18. case class DiscourseApiException(msg: String, err: Throwable) extends Exception with Product with Serializable

  19. case class DiscourseApiJsonException(msg: String, err: Throwable) extends Exception with Product with Serializable

  20. case class DiscourseApiNotFoundException(msg: String, err: Throwable) extends Exception with Product with Serializable

  21. case class DiscourseApiUnauthenticatedException(msg: String, err: Throwable) extends Exception with Product with Serializable

  22. case class DiscourseStatusMessage(success: Boolean, message: String) extends Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  23. case class GrantBadge(badgeId: Int, username: String, reason: String) extends SerializableAsJson with Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  24. case class Group(id: Int, automatic: Boolean, name: String, userCount: Int, aliasLevel: Int, visible: Boolean, title: Option[String] = scala.None, primaryGroup: Boolean) extends Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  25. case class GroupedSearchResult(morePosts: Option[Boolean] = scala.None, moreUsers: Option[Boolean] = scala.None, moreCategories: Option[Boolean] = scala.None, postIds: List[Long], userIds: List[Long], categoryIds: List[Long]) extends Product with Serializable

  26. type JsonIgnoreProperties = fasterxml.jackson.annotation.JsonIgnoreProperties

    Definition Classes
    Imports
  27. type JsonProperty = fasterxml.jackson.annotation.JsonProperty

    Definition Classes
    Imports
  28. case class Notification(id: Int, notificationType: Int, read: Boolean, createdAt: OffsetDateTime, postNumber: Option[Int] = scala.None, topicId: Option[Int] = scala.None, slug: Option[String] = scala.None, data: Map[String, String] = ...) extends SerializableAsJson with Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  29. case class NotificationResponse(notifications: List[Notification], totalRowsNotifications: Int) extends SerializableAsJson with Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  30. case class Post(id: Int, cooked: String, topic_id: Int, updated_at: OffsetDateTime, created_at: OffsetDateTime) extends Product with Serializable

  31. case class PostStream(posts: List[Post]) extends Product with Serializable

  32. case class SSOContext(payload: String, signature: String, secret: String) extends Product with Serializable

  33. 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

    Contains params for generating user signing tokens for Discourse

  34. case class SSOUserResult(payload: String, signature: String) extends Product with Serializable

  35. case class SearchResponse(topics: List[SearchResponseTopic], posts: List[SearchResponsePost], users: List[SearchResponseUsers], categories: List[SearchResponseCategories], groupedSearchResult: GroupedSearchResult) extends Product with Serializable

  36. case class SearchResponseCategories(id: Long) extends Product with Serializable

  37. case class SearchResponsePost(id: Long, name: Option[String] = scala.None, username: String, avatarTemplate: Option[String] = scala.None, createdAt: Option[String] = scala.None, cooked: String, likeCount: Int, blurb: String, postNumber: Int, topicId: Long) extends Product with Serializable

  38. class SearchResponseTopic extends AnyRef

  39. case class SearchResponseUsers(id: Long) extends Product with Serializable

  40. case class SignatureNotMatchedException(msg: String) extends Exception with Product with Serializable

  41. case class SuspendUser(duration: Int, reason: String) extends SerializableAsJson with Product with Serializable

  42. case class Topic(id: Int, title: String, slug: String, categoryId: Int, createdAt: OffsetDateTime, postStream: Option[PostStream] = scala.None) extends Product with Serializable

  43. case class TopicList(topics: List[Topic]) extends Product with Serializable

  44. case class TopicListContainer(topicList: TopicList) extends Product with Serializable

  45. case class UpdateEmail(email: String, apiKey: String, apiUsername: String) extends SerializableAsJson with Product with Serializable

  46. case class UpdateTrustLevel(userId: Int, level: Int) extends SerializableAsJson with Product with Serializable

  47. case class UpdateUserStatus(success: String, user: User) extends SerializableAsJson with Product with Serializable

    Annotations
    @JsonIgnoreProperties()
  48. case class UpdateUsername(newUsername: String, apiKey: String) extends SerializableAsJson with Product with Serializable

  49. case class User(id: Int, username: String, uploadedAvatarId: Option[Int] = scala.None, avatarTemplate: Option[String], name: Option[String], email: Option[String], lastPostedAt: Option[OffsetDateTime] = scala.None, lastSeenAt: Option[OffsetDateTime] = scala.None, bioCooked: Option[String] = scala.None, createdAt: OffsetDateTime, bioExcerpt: String, trustLevel: Int, moderator: Boolean, admin: Boolean, title: Option[String] = scala.None, badgeCount: Int, gravatarAvatarUploadId: Option[Int] = scala.None, custom_avatar_upload_id: Option[Int] = scala.None, groups: List[Group]) extends BasicUser with Product with Serializable

  50. case class UserDetail(badges: List[Badge], user: User) extends SerializableAsJson with Product with Serializable

Inherited from Imports

Inherited from AnyRef

Inherited from Any

Ungrouped