All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pt.tecnico.dsi.openstack.neutron.models.Direction.scala Maven / Gradle / Ivy

The newest version!
package pt.tecnico.dsi.openstack.neutron.models

import cats.Show
import enumeratum.EnumEntry.Lowercase
import enumeratum.{CirceEnum, Enum, EnumEntry}

sealed trait Direction extends EnumEntry with Lowercase
case object Direction extends Enum[Direction] with CirceEnum[Direction] {
  case object Ingress extends Direction
  case object Egress extends Direction
  
  val values: IndexedSeq[Direction] = findValues
  
  implicit val show: Show[Direction] = Show.fromToString
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy