mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-06 04:20:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.438.1
This commit is contained in:
@@ -23,6 +23,7 @@ const (
|
||||
TypeTvShow Type = 2
|
||||
TypeSeason Type = 3
|
||||
TypeEpisode Type = 4
|
||||
TypeAudio Type = 8
|
||||
)
|
||||
|
||||
func (e Type) ToPointer() *Type {
|
||||
@@ -41,6 +42,8 @@ func (e *Type) UnmarshalJSON(data []byte) error {
|
||||
case 3:
|
||||
fallthrough
|
||||
case 4:
|
||||
fallthrough
|
||||
case 8:
|
||||
*e = Type(v)
|
||||
return nil
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user