Package

com.amarjanica.discourse

models

Permalink

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
Visibility
  1. Public
  2. All

Type Members

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

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

    Permalink
    Annotations
    @JsonIgnoreProperties()
  3. 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

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

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

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

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

    Permalink
    Annotations
    @JsonIgnoreProperties()
  8. 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

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

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

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

    Permalink
    Annotations
    @JsonIgnoreProperties()
  12. 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

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

    Permalink
    Annotations
    @JsonIgnoreProperties()
  14. 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

    Permalink
    Annotations
    @JsonIgnoreProperties()
  15. 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

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

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

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

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

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

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

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

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

    Permalink
    Annotations
    @JsonIgnoreProperties()
  24. 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

    Permalink
    Annotations
    @JsonIgnoreProperties()
  25. 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

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

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

    Permalink
    Definition Classes
    Imports
  28. 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

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

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

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

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

    Permalink
  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

    Permalink

    Contains params for generating user signing tokens for Discourse

    Contains params for generating user signing tokens for Discourse

    email

    must be a verified email address.

    require_activation

    true If the email address has not been verified, set require_activation to "true".

    external_id

    Your unique user id. The suggested value is your database's 'id' row number.

    username

    will become the username on Discourse if the user is new or SiteSetting.sso_overrides_username is set.

    name

    will become the full name on Discourse if the user is new or SiteSetting.sso_overrides_name is set.

    admin

    boolean

    moderator

    boolean

    suppress_welcome_message

    boolean

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

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

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

    Permalink
  37. 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

    Permalink
  38. class SearchResponseTopic extends AnyRef

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

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

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

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

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

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

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

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

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

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

    Permalink
  49. 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

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

    Permalink

Inherited from Imports

Inherited from AnyRef

Inherited from Any

Ungrouped