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. case class Attachment(id: String, serverId: String, attachmentId: String, attachedAt: LocalDateTime, hostName: String, volumeId: String, device: String) extends Product with Serializable
  2. final case class Quota(volumes: Int, volumesPerType: Map[String, Int] = Map.empty, snapshots: Int, snapshotsPerType: Map[String, Int] = Map.empty, backups: Int, groups: Int, maxVolumeSize: Information, backupsStorage: Information, volumesStorage: Information, volumesStoragePerType: Map[String, Information] = Map.empty) extends Product with Serializable

    A value of -1 means no limit.

    A value of -1 means no limit.

    volumes

    number of volumes that are allowed for each project.

    volumesPerType

    number of volumes that are allowed for each project and the specified volume type.

    snapshots

    number of snapshots that are allowed for each project.

    snapshotsPerType

    number of snapshots per volume type that are allowed for each project.

    backups

    number of backups that are allowed for each project.

    groups

    number of groups that are allowed for each project.

    maxVolumeSize

    max size of a volume.

    backupsStorage

    size of backups that are allowed for each project.

    volumesStorage

    size of volumes and snapshots that are allowed for each project.

    volumesStoragePerType

    size of volumes and snapshots per volume type that are allowed for each project.

  3. case class QuotaUsage(volumes: Usage[Int], volumesPerType: Map[String, Usage[Int]], snapshots: Usage[Int], snapshotsPerType: Map[String, Usage[Int]], backups: Usage[Int], groups: Usage[Int], maxVolumeSize: Usage[Information], backupsStorage: Usage[Information], volumesStorage: Usage[Information], volumesStoragePerType: Map[String, Usage[Information]]) extends Product with Serializable

    A value of -1 means no limit.

    A value of -1 means no limit.

    volumes

    number of volumes that are allowed for each project.

    volumesPerType

    number of volumes that are allowed for each project and the specified volume type.

    snapshots

    number of snapshots that are allowed for each project.

    snapshotsPerType

    number of snapshots per volume type that are allowed for each project.

    backups

    number of backups that are allowed for each project.

    groups

    number of groups that are allowed for each project.

    maxVolumeSize

    max size of a volume.

    backupsStorage

    size of backups that are allowed for each project.

    volumesStorage

    size of volumes and snapshots that are allowed for each project.

    volumesStoragePerType

    size of volumes and snapshots per volume type that are allowed for each project.

  4. case class Volume(id: String, size: Information, status: VolumeStatus, userId: String, projectId: Option[String] = None, name: Option[String] = None, description: Option[String] = None, type: Option[String] = None, createdAt: LocalDateTime, updatedAt: Option[LocalDateTime] = None, availabilityZone: String, encrypted: Boolean, multiAttach: Boolean = false, bootable: Boolean, snapshotId: Option[String] = None, sourceVolumeId: Option[String] = None, consistencyGroupId: Option[String] = None, host: Option[String] = None, backendVolumeId: Option[String] = None, replicationStatus: Option[VolumeStatus] = None, migrationStatus: Option[VolumeStatus] = None, attachments: List[Attachment] = List.empty, metadata: JsonObject = JsonObject.empty, volumeImageMetadata: Option[Map[String, String]] = None, links: List[Link] = List.empty) extends Identifiable with Product with Serializable

    size

    the size of the volume, in gibibytes (GiB).

    status

    the volume status.

    userId

    the UUID of the user.

    projectId

    the project ID which the volume belongs to.

    name

    the volume name.

    description

    the volume description.

    createdAt

    the date and time when the resource was created.

    updatedAt

    the date and time when the resource was updated.

    availabilityZone

    the name of the availability zone.

    encrypted

    whether this volume is encrypted.

    multiAttach

    whether this volume can attach to more than one instance.

    bootable

    whether this volume has the bootable attribute set.

    snapshotId

    the snapshot id from which this volume was created.

    sourceVolumeId

    the volume id from which this volume was created.

    consistencyGroupId

    the consistency group id this volume belongs to.

    host

    current back-end of the volume. Host format is host@backend#pool.

    backendVolumeId

    the volume ID that this volume name on the back-end is based on.

    replicationStatus

    the volume replication status.

    migrationStatus

    the status of this volume migration.

    attachments

    instance attachment information.

    metadata

    metadata that is associated with the volume.

    volumeImageMetadata

    list of image metadata entries. Only included for volumes that were created from an image, or from a snapshot of a volume originally created from an image.

  5. sealed trait VolumeStatus extends EnumEntry
  6. case class VolumeSummary(id: String, name: Option[String] = None, links: List[Link] = List.empty) extends Identifiable with Product with Serializable

Value Members

  1. implicit val decoderInformation: Decoder[Information]
  2. implicit val encoderInformation: Encoder[Information]
  3. object Attachment extends Serializable
  4. object Quota extends Serializable
  5. object QuotaUsage extends Serializable
  6. object Volume extends Serializable
  7. case object VolumeStatus extends Enum[VolumeStatus] with Product with Serializable
  8. object VolumeSummary extends Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped