enum

package
v0.0.0-...-3f23c4f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type AnimeImageType

type AnimeImageType string
const (
	AnimeImageTypePOSTER    AnimeImageType = "POSTER"
	AnimeImageTypeBANNER    AnimeImageType = "BANNER"
	AnimeImageTypeCHARACTER AnimeImageType = "CHARACTER"
	AnimeImageTypeACTOR     AnimeImageType = "ACTOR"
)

func (AnimeImageType) Enum

func (tt AnimeImageType) Enum() *AnimeImageType

func (AnimeImageType) IsValid

func (tt AnimeImageType) IsValid() bool

func (AnimeImageType) String

func (tt AnimeImageType) String() string

type AnimeProvider

type AnimeProvider string
const (
	AnimeProviderUNKNOWN     AnimeProvider = "UNKNOWN"
	AnimeProviderMYANIMELIST AnimeProvider = "MYANIMELIST"
	AnimeProviderANIMEPLANET AnimeProvider = "ANIME_PLANET"
	AnimeProviderKITSUIO     AnimeProvider = "KITSU_IO"
	AnimeProviderANISEARCH   AnimeProvider = "ANISEARCH"
	AnimeProviderANILIST     AnimeProvider = "ANILIST"
	AnimeProviderNOTIFYMOE   AnimeProvider = "NOTIFY_MOE"
	AnimeProviderANIDBNET    AnimeProvider = "ANIDB_NET"
	AnimeProviderLIVECHARTME AnimeProvider = "LIVECHART_ME"
	AnimeProviderTHETVDB     AnimeProvider = "THE_TV_DB"
	AnimeProviderFANARTTV    AnimeProvider = "FANART_TV"
	AnimeProviderIMDB        AnimeProvider = "IMDB"
)

func ParseAnimeProvider

func ParseAnimeProvider(str *string) *AnimeProvider

func (AnimeProvider) Enum

func (ap AnimeProvider) Enum() *AnimeProvider

func (AnimeProvider) IsValid

func (ap AnimeProvider) IsValid() bool

func (AnimeProvider) Proto

func (*AnimeProvider) Scan

func (ap *AnimeProvider) Scan(src interface{}) error

func (AnimeProvider) String

func (ap AnimeProvider) String() string

type AnimeRelationType

type AnimeRelationType string
const (
	RelationTypeADAPTATION AnimeRelationType = "ADAPTATION"
	RelationTypePREQUEL    AnimeRelationType = "PREQUEL"
	RelationTypeSEQUEL     AnimeRelationType = "SEQUEL"
	RelationTypePARENT     AnimeRelationType = "PARENT"
	RelationTypeSIDESTORY  AnimeRelationType = "SIDE_STORY"
	RelationTypeSPINOFF    AnimeRelationType = "SPIN_OFF"
)

func ParseRelationType

func ParseRelationType(str *string) *AnimeRelationType

func (AnimeRelationType) Enum

func (AnimeRelationType) IsValid

func (r AnimeRelationType) IsValid() bool

func (*AnimeRelationType) Scan

func (f *AnimeRelationType) Scan(src interface{}) error

func (AnimeRelationType) String

func (r AnimeRelationType) String() string

type AnimeTitleType

type AnimeTitleType string
const (
	AnimeTitleTypeUNKNOWN  AnimeTitleType = "UNKNOWN"
	AnimeTitleTypeMAIN     AnimeTitleType = "MAIN"
	AnimeTitleTypeOFFICIAL AnimeTitleType = "OFFICIAL"
	AnimeTitleTypeSHORT    AnimeTitleType = "SHORT"
	AnimeTitleTypeSYNONYM  AnimeTitleType = "SYNONYM"
)

func ParseAnimeTitleType

func ParseAnimeTitleType(str *string) *AnimeTitleType

func (AnimeTitleType) Enum

func (tt AnimeTitleType) Enum() *AnimeTitleType

func (AnimeTitleType) IsValid

func (tt AnimeTitleType) IsValid() bool

func (*AnimeTitleType) Scan

func (tt *AnimeTitleType) Scan(src interface{}) error

func (AnimeTitleType) String

func (tt AnimeTitleType) String() string

type CharacterRole

type CharacterRole string
const (
	CharacterRoleMAIN       CharacterRole = "MAIN"
	CharacterRoleSUPPORTING CharacterRole = "SUPPORTING"
	CharacterRoleBACKGROUND CharacterRole = "BACKGROUND"
)

func (CharacterRole) Enum

func (r CharacterRole) Enum() *CharacterRole

func (*CharacterRole) Scan

func (r *CharacterRole) Scan(src interface{}) error

func (CharacterRole) String

func (r CharacterRole) String() string

type Format

type Format string
const (
	FormatOVA     Format = "OVA"
	FormatONA     Format = "ONA"
	FormatTV      Format = "TV"
	FormatMOVIE   Format = "MOVIE"
	FormatMUSIC   Format = "MUSIC"
	FormatSPECIAL Format = "SPECIAL"
)

func ParseFormat

func ParseFormat(str *string) *Format

func (Format) Enum

func (f Format) Enum() *Format

func (*Format) Scan

func (f *Format) Scan(src interface{}) error

func (Format) String

func (f Format) String() string

type Season

type Season string
const (
	SeasonSPRING Season = "SPRING"
	SeasonSUMMER Season = "SUMMER"
	SeasonFALL   Season = "FALL"
	SeasonWINTER Season = "WINTER"
)

func ParseSeason

func ParseSeason(str *string) *Season

func (Season) Enum

func (s Season) Enum() *Season

func (*Season) Scan

func (s *Season) Scan(src interface{}) error

func (Season) String

func (s Season) String() string

type Status

type Status string
const (
	StatusUNKNOWN   Status = "UNKNOWN"
	StatusFINISHED  Status = "FINISHED"
	StatusRELEASING Status = "RELEASING"
	StatusUPCOMING  Status = "UPCOMING"
	StatusCANCELED  Status = "CANCELED"
)

func ParseStatus

func ParseStatus(str *string) *Status

func (Status) Enum

func (s Status) Enum() *Status

func (*Status) Scan

func (s *Status) Scan(src interface{}) error

func (Status) String

func (s Status) String() string

type UpdateAnimeReportProperty

type UpdateAnimeReportProperty string
const (
	UpdateAnimeReportPropertyDESCRIPTION     UpdateAnimeReportProperty = "DESCRIPTION"
	UpdateAnimeReportPropertyCOUNTRYOFORIGIN UpdateAnimeReportProperty = "COUNTRY_OF_ORIGIN"
	UpdateAnimeReportPropertySCORE           UpdateAnimeReportProperty = "SCORE"
	UpdateAnimeReportPropertyAGERATING       UpdateAnimeReportProperty = "AGE_RATING"
	UpdateAnimeReportPropertySTATUS          UpdateAnimeReportProperty = "STATUS"
	UpdateAnimeReportPropertySEASON          UpdateAnimeReportProperty = "SEASON"
	UpdateAnimeReportPropertyFORMAT          UpdateAnimeReportProperty = "FORMAT"
	UpdateAnimeReportPropertySEASONYEAR      UpdateAnimeReportProperty = "SEASON_YEAR"
	UpdateAnimeReportPropertyENDDATE         UpdateAnimeReportProperty = "END_DATE"
	UpdateAnimeReportPropertySTARTDATE       UpdateAnimeReportProperty = "START_DATE"
	UpdateAnimeReportPropertyPOSTER          UpdateAnimeReportProperty = "POSTER"
	UpdateAnimeReportPropertyBANNER          UpdateAnimeReportProperty = "BANNER"
)

func (UpdateAnimeReportProperty) String

func (p UpdateAnimeReportProperty) String() string

func (UpdateAnimeReportProperty) Valid

func (p UpdateAnimeReportProperty) Valid() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL