Newtype

smithy4s.Newtype
See theNewtype companion object
abstract opaque class Newtype[A] extends HasId

Attributes

Companion:
object
Graph
Supertypes
trait HasId
class Object
trait Matchable
class Any
Known subtypes
object Auth.type
object AuthTraitReference.type
object Default.type
object Documentation.type
object Enum.type
object EnumValue.type
object Examples.type
object HttpError.type
object HttpHeader.type
object HttpPrefixHeaders.type
object HttpQuery.type
object JsonName.type
object LocalMixinTrait.type
object MediaType.type
object NonEmptyString.type
object NonEmptyStringList.type
object NonEmptyStringMap.type
object Pattern.type
object PrimitiveShort.type
object References.type
object ResourceIdentifier.type
object Since.type
object Suppress.type
object Tags.type
object Title.type
object TraitDiffRules.type
object TraitShapeId.type
object TraitShapeIdList.type
object XmlName.type
object Acceptors.type
object NonEmptyString.type
object NonEmptyStringList.type
object Waitable.type
object WaiterDelay.type
object WaiterName.type
object Discriminated.type
object UncheckedExamples.type
object HttpMediaType.type
Self type

Members list

Concise view

Type members

Classlikes

object hint

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
hint.type

Types

opaque type Type

Value members

Abstract methods

Concrete methods

def apply(a: A): Type
def unapply(orig: Type): Some[A]

Inherited methods

def id: ShapeId

Attributes

Inherited from:
HasId

Extensions

Extensions

extension (orig: Type)
def value: A

Implicits

Implicits

implicit val asBijection: Bijection[A, Type]
implicit val tag: ShapeTag[Type]