Packages

package models

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. models
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed case class Flavor(id: String, name: String, description: Option[String] = None, vcpus: Int, ram: Information, disk: Information, ephemeral: Information = 0.gibibytes, swap: Information = 0.mebibytes, rxtxFactor: Float = 1.0f, disabled: Boolean = false, isPublic: Boolean = true, extraSpecs: Map[String, String] = Map.empty, links: List[Link] = List.empty) extends Identifiable with Product with Serializable
  2. final case class Keypair(name: String, publicKey: String, fingerprint: String, deleted: Boolean = false, userId: String, createdAt: LocalDateTime, updatedAt: Option[OffsetDateTime] = None, deletedAt: Option[OffsetDateTime] = None) extends Identifiable with Product with Serializable
  3. final case class Quota(instances: Int, cores: Int, ram: Information, keyPairs: Int, metadataItems: Int, serverGroups: Int, serverGroupMembers: Int) extends Product with Serializable

    A value of -1 means no limit.

    A value of -1 means no limit.

    instances

    number of allowed servers for each project.

    cores

    number of allowed server cores for each project.

    ram

    amount of allowed server RAM, in MiB, for each project.

    keyPairs

    number of allowed key pairs for each user.

    metadataItems

    number of allowed metadata items for each server.

    serverGroups

    number of server groups that are allowed for each project.

    serverGroupMembers

    number of allowed members for each server group.

  4. case class QuotaUsage(instances: Usage[Int], cores: Usage[Int], ram: Usage[Information], keyPairs: Usage[Int], metadataItems: Usage[Int], serverGroups: Usage[Int], serverGroupMembers: Usage[Int]) extends Product with Serializable

    A value of -1 means no limit.

    A value of -1 means no limit.

    instances

    number of allowed servers for each project.

    cores

    number of allowed server cores for each project.

    ram

    amount of allowed server RAM, in MiB, for each project.

    keyPairs

    number of allowed key pairs for each user.

    metadataItems

    number of allowed metadata items for each server.

    serverGroups

    number of server groups that are allowed for each project.

    serverGroupMembers

    number of allowed members for each server group.

  5. case class ServerSummary(id: String, name: String, links: List[Link] = List.empty) extends Identifiable with Product with Serializable
  6. case class ServerUsage(name: String, instanceId: String, flavor: String, hours: Double, disk: Information, memory: Information, vcpus: Double, state: String, uptime: Int, startedAt: LocalDateTime, endedAt: Option[LocalDateTime] = None) extends Product with Serializable
  7. case class UsageReport(start: LocalDateTime, stop: LocalDateTime, projectId: String, totalHours: Double, totalDiskUsage: Information, totalMemoryUsage: Information, totalVCPUsUsage: Double, serverUsages: List[ServerUsage] = List.empty) extends Product with Serializable

Value Members

  1. implicit val codecInformation: Codec[Information]
  2. implicit val showInformation: Show[Information]
  3. object Flavor extends Serializable
  4. object Keypair extends Serializable
  5. object Quota extends Serializable
  6. object QuotaUsage extends Serializable
  7. object ServerSummary extends Serializable
  8. object ServerUsage extends Serializable
  9. object UsageReport extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped