AttachmentKind

com.worxbend.codeberg4s.issues.AttachmentKind
See theAttachmentKind companion enum

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def from(value: String): AttachmentKind

Reads the type field, matched case-insensitively after trimming.

Reads the type field, matched case-insensitively after trimming.

'''Total, and deliberately so.''' An unrecognised value becomes AttachmentKind.Other rather than a decoding failure, for the reason the type note gives. That is why this returns a kind and not an Either.

Attributes

Concrete fields

val ExternalWire: String

The value Forgejo's Attachment.type uses for an external one.

The value Forgejo's Attachment.type uses for an external one.

Attributes

val UploadedWire: String

The value Forgejo's Attachment.type uses for an uploaded attachment.

The value Forgejo's Attachment.type uses for an uploaded attachment.

Attributes