com.gilt.cavellc

models

package models

Visibility
  1. Public
  2. All

Type Members

  1. sealed trait Aggregator extends AnyRef

    An aggregator for metric data

  2. case class Alert(id: Option[String] = scala.None, description: String, enabled: Boolean, period: String, condition: String, handbookUrl: Option[String] = scala.None, routing: Option[Map[String, String]] = scala.None, relatedMetrics: Option[Seq[AlertMetric]] = scala.None) extends Product with Serializable

    This entity describes a configured alert, what to check and how often.

  3. case class AlertMetric(name: String, tags: Map[String, String], aggregator: Option[Aggregator] = scala.None, periodSeconds: Option[Long] = scala.None) extends Product with Serializable

    Information about a metric related to an alert.

  4. case class Auth(token: String, expires: DateTime) extends Product with Serializable

    Authorization information for a user

  5. case class Issue(description: String, since: DateTime, until: Option[DateTime] = scala.None) extends Product with Serializable

    An issue affecting CAVE right now, or recently closed

  6. case class Member(user: User, role: Role) extends Product with Serializable

    An organization or team user, with the role

  7. case class Metric(name: String, tags: Option[Map[String, String]] = scala.None, timestamp: Long, value: Double) extends Product with Serializable

    This entity encapsulates metric data that can be stored in CAVE.

  8. case class MetricData(time: DateTime, value: Double) extends Product with Serializable

    This entity encapsulates a data point for a metric.

  9. case class MetricDataBulk(metrics: Seq[MetricData]) extends Product with Serializable

    This entity encapsulates data for a metric.

  10. case class MetricInfo(name: String, tags: Seq[String]) extends Product with Serializable

    This entity encapsulates information about a metric.

  11. case class Organization(name: String, email: String, notificationUrl: String, tokens: Seq[Token]) extends Product with Serializable

    An organization is a real-world customer of the CAVE service.

  12. sealed trait Role extends AnyRef

    The role that a user has in an organization or team

  13. case class Status(current: Seq[Issue], recent: Seq[Issue]) extends Product with Serializable

    The list of current and recent issues affecting CAVE

  14. case class Team(name: String, tokens: Seq[Token]) extends Product with Serializable

    Each team has its own data.

  15. case class Token(id: String, description: String, value: String, created: DateTime) extends Product with Serializable

    A token is a security string, used to authenticate requests.

  16. case class User(firstName: String, lastName: String, email: String) extends Product with Serializable

    A user is a real-world person who is using the CAVE service.

  17. case class UserOrganization(name: String, role: Role) extends Product with Serializable

    An organization associated with a user.

  18. case class UserTeam(name: String, role: Role) extends Product with Serializable

    A team associated with a user.

Value Members

  1. object Aggregator

  2. object Role

Ungrouped