gen

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: MIT Imports: 27 Imported by: 0

Documentation

Overview

Code generated by ogen, DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithServerURL

func WithServerURL(ctx context.Context, u *url.URL) context.Context

WithServerURL sets context key to override server URL.

Types

type AddProject

type AddProject struct {
	// A directory that already exists.
	Path OptString `json:"path"`
	// A git remote to clone.
	Remote OptString `json:"remote"`
	// Which branch to clone; the remote's default when absent.
	Branch OptString `json:"branch"`
	// `inmemory` to hold a cloned project in RAM rather than on disk.
	Storage OptString `json:"storage"`
}

Exactly one of path or remote. Ref: #/components/schemas/AddProject

func (*AddProject) Decode

func (s *AddProject) Decode(d *jx.Decoder) error

Decode decodes AddProject from json.

func (*AddProject) Encode

func (s *AddProject) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AddProject) GetBranch

func (s *AddProject) GetBranch() OptString

GetBranch returns the value of Branch.

func (*AddProject) GetPath

func (s *AddProject) GetPath() OptString

GetPath returns the value of Path.

func (*AddProject) GetRemote

func (s *AddProject) GetRemote() OptString

GetRemote returns the value of Remote.

func (*AddProject) GetStorage

func (s *AddProject) GetStorage() OptString

GetStorage returns the value of Storage.

func (*AddProject) MarshalJSON

func (s *AddProject) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AddProject) SetBranch

func (s *AddProject) SetBranch(val OptString)

SetBranch sets the value of Branch.

func (*AddProject) SetPath

func (s *AddProject) SetPath(val OptString)

SetPath sets the value of Path.

func (*AddProject) SetRemote

func (s *AddProject) SetRemote(val OptString)

SetRemote sets the value of Remote.

func (*AddProject) SetStorage

func (s *AddProject) SetStorage(val OptString)

SetStorage sets the value of Storage.

func (*AddProject) UnmarshalJSON

func (s *AddProject) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AddProjectBadGateway

type AddProjectBadGateway Error

func (*AddProjectBadGateway) Decode

func (s *AddProjectBadGateway) Decode(d *jx.Decoder) error

Decode decodes AddProjectBadGateway from json.

func (*AddProjectBadGateway) Encode

func (s *AddProjectBadGateway) Encode(e *jx.Encoder)

Encode encodes AddProjectBadGateway as json.

func (*AddProjectBadGateway) MarshalJSON

func (s *AddProjectBadGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AddProjectBadGateway) UnmarshalJSON

func (s *AddProjectBadGateway) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AddProjectBadRequest

type AddProjectBadRequest Error

func (*AddProjectBadRequest) Decode

func (s *AddProjectBadRequest) Decode(d *jx.Decoder) error

Decode decodes AddProjectBadRequest from json.

func (*AddProjectBadRequest) Encode

func (s *AddProjectBadRequest) Encode(e *jx.Encoder)

Encode encodes AddProjectBadRequest as json.

func (*AddProjectBadRequest) MarshalJSON

func (s *AddProjectBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AddProjectBadRequest) UnmarshalJSON

func (s *AddProjectBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AddProjectInternalServerError

type AddProjectInternalServerError Error

func (*AddProjectInternalServerError) Decode

Decode decodes AddProjectInternalServerError from json.

func (*AddProjectInternalServerError) Encode

Encode encodes AddProjectInternalServerError as json.

func (*AddProjectInternalServerError) MarshalJSON

func (s *AddProjectInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AddProjectInternalServerError) UnmarshalJSON

func (s *AddProjectInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AddProjectRes

type AddProjectRes interface {
	// contains filtered or unexported methods
}

type AddProjectServiceUnavailable

type AddProjectServiceUnavailable Error

func (*AddProjectServiceUnavailable) Decode

Decode decodes AddProjectServiceUnavailable from json.

func (*AddProjectServiceUnavailable) Encode

func (s *AddProjectServiceUnavailable) Encode(e *jx.Encoder)

Encode encodes AddProjectServiceUnavailable as json.

func (*AddProjectServiceUnavailable) MarshalJSON

func (s *AddProjectServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AddProjectServiceUnavailable) UnmarshalJSON

func (s *AddProjectServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Anchor

type Anchor struct {
	X float64 `json:"x"`
	Y float64 `json:"y"`
}

Where a block sits, as fractions of the frame. It anchors the block rather than positioning its top-left corner, so changing alignment does not move it (0038 D5). Ref: #/components/schemas/Anchor

func (*Anchor) Decode

func (s *Anchor) Decode(d *jx.Decoder) error

Decode decodes Anchor from json.

func (*Anchor) Encode

func (s *Anchor) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Anchor) GetX

func (s *Anchor) GetX() float64

GetX returns the value of X.

func (*Anchor) GetY

func (s *Anchor) GetY() float64

GetY returns the value of Y.

func (*Anchor) MarshalJSON

func (s *Anchor) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Anchor) SetX

func (s *Anchor) SetX(val float64)

SetX sets the value of X.

func (*Anchor) SetY

func (s *Anchor) SetY(val float64)

SetY sets the value of Y.

func (*Anchor) UnmarshalJSON

func (s *Anchor) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Anchor) Validate

func (s *Anchor) Validate() error

type ApproveSocialBadRequest

type ApproveSocialBadRequest Error

func (*ApproveSocialBadRequest) Decode

func (s *ApproveSocialBadRequest) Decode(d *jx.Decoder) error

Decode decodes ApproveSocialBadRequest from json.

func (*ApproveSocialBadRequest) Encode

func (s *ApproveSocialBadRequest) Encode(e *jx.Encoder)

Encode encodes ApproveSocialBadRequest as json.

func (*ApproveSocialBadRequest) MarshalJSON

func (s *ApproveSocialBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ApproveSocialBadRequest) UnmarshalJSON

func (s *ApproveSocialBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ApproveSocialConflict

type ApproveSocialConflict Error

func (*ApproveSocialConflict) Decode

func (s *ApproveSocialConflict) Decode(d *jx.Decoder) error

Decode decodes ApproveSocialConflict from json.

func (*ApproveSocialConflict) Encode

func (s *ApproveSocialConflict) Encode(e *jx.Encoder)

Encode encodes ApproveSocialConflict as json.

func (*ApproveSocialConflict) MarshalJSON

func (s *ApproveSocialConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ApproveSocialConflict) UnmarshalJSON

func (s *ApproveSocialConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ApproveSocialInternalServerError

type ApproveSocialInternalServerError Error

func (*ApproveSocialInternalServerError) Decode

Decode decodes ApproveSocialInternalServerError from json.

func (*ApproveSocialInternalServerError) Encode

Encode encodes ApproveSocialInternalServerError as json.

func (*ApproveSocialInternalServerError) MarshalJSON

func (s *ApproveSocialInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ApproveSocialInternalServerError) UnmarshalJSON

func (s *ApproveSocialInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ApproveSocialNotFound

type ApproveSocialNotFound Error

func (*ApproveSocialNotFound) Decode

func (s *ApproveSocialNotFound) Decode(d *jx.Decoder) error

Decode decodes ApproveSocialNotFound from json.

func (*ApproveSocialNotFound) Encode

func (s *ApproveSocialNotFound) Encode(e *jx.Encoder)

Encode encodes ApproveSocialNotFound as json.

func (*ApproveSocialNotFound) MarshalJSON

func (s *ApproveSocialNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ApproveSocialNotFound) UnmarshalJSON

func (s *ApproveSocialNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ApproveSocialParams

type ApproveSocialParams struct {
	// The reel's slug.
	Slug     string
	Platform Platform
}

ApproveSocialParams is parameters of approveSocial operation.

type ApproveSocialRes

type ApproveSocialRes interface {
	// contains filtered or unexported methods
}

type ApproveSocialUnprocessableEntity

type ApproveSocialUnprocessableEntity Error

func (*ApproveSocialUnprocessableEntity) Decode

Decode decodes ApproveSocialUnprocessableEntity from json.

func (*ApproveSocialUnprocessableEntity) Encode

Encode encodes ApproveSocialUnprocessableEntity as json.

func (*ApproveSocialUnprocessableEntity) MarshalJSON

func (s *ApproveSocialUnprocessableEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ApproveSocialUnprocessableEntity) UnmarshalJSON

func (s *ApproveSocialUnprocessableEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Article

type Article struct {
	Slug    string    `json:"slug"`
	Title   string    `json:"title"`
	Date    OptString `json:"date"`
	Bundle  string    `json:"bundle"`
	Section OptString `json:"section"`
	Draft   OptBool   `json:"draft"`
	Image   OptString `json:"image"`
	Summary OptString `json:"summary"`
	HTML    string    `json:"html"`
}

The linked article, with its body rendered for preview. Ref: #/components/schemas/Article

func (*Article) Decode

func (s *Article) Decode(d *jx.Decoder) error

Decode decodes Article from json.

func (*Article) Encode

func (s *Article) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Article) GetBundle

func (s *Article) GetBundle() string

GetBundle returns the value of Bundle.

func (*Article) GetDate

func (s *Article) GetDate() OptString

GetDate returns the value of Date.

func (*Article) GetDraft

func (s *Article) GetDraft() OptBool

GetDraft returns the value of Draft.

func (*Article) GetHTML

func (s *Article) GetHTML() string

GetHTML returns the value of HTML.

func (*Article) GetImage

func (s *Article) GetImage() OptString

GetImage returns the value of Image.

func (*Article) GetSection

func (s *Article) GetSection() OptString

GetSection returns the value of Section.

func (*Article) GetSlug

func (s *Article) GetSlug() string

GetSlug returns the value of Slug.

func (*Article) GetSummary

func (s *Article) GetSummary() OptString

GetSummary returns the value of Summary.

func (*Article) GetTitle

func (s *Article) GetTitle() string

GetTitle returns the value of Title.

func (*Article) MarshalJSON

func (s *Article) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Article) SetBundle

func (s *Article) SetBundle(val string)

SetBundle sets the value of Bundle.

func (*Article) SetDate

func (s *Article) SetDate(val OptString)

SetDate sets the value of Date.

func (*Article) SetDraft

func (s *Article) SetDraft(val OptBool)

SetDraft sets the value of Draft.

func (*Article) SetHTML

func (s *Article) SetHTML(val string)

SetHTML sets the value of HTML.

func (*Article) SetImage

func (s *Article) SetImage(val OptString)

SetImage sets the value of Image.

func (*Article) SetSection

func (s *Article) SetSection(val OptString)

SetSection sets the value of Section.

func (*Article) SetSlug

func (s *Article) SetSlug(val string)

SetSlug sets the value of Slug.

func (*Article) SetSummary

func (s *Article) SetSummary(val OptString)

SetSummary sets the value of Summary.

func (*Article) SetTitle

func (s *Article) SetTitle(val string)

SetTitle sets the value of Title.

func (*Article) UnmarshalJSON

func (s *Article) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AspectEdit

type AspectEdit struct {
	// E.g. "9:16"; empty restores the configured default.
	Aspect string `json:"aspect"`
}

Ref: #/components/schemas/AspectEdit

func (*AspectEdit) Decode

func (s *AspectEdit) Decode(d *jx.Decoder) error

Decode decodes AspectEdit from json.

func (*AspectEdit) Encode

func (s *AspectEdit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AspectEdit) GetAspect

func (s *AspectEdit) GetAspect() string

GetAspect returns the value of Aspect.

func (*AspectEdit) MarshalJSON

func (s *AspectEdit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AspectEdit) SetAspect

func (s *AspectEdit) SetAspect(val string)

SetAspect sets the value of Aspect.

func (*AspectEdit) UnmarshalJSON

func (s *AspectEdit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Avatar

type Avatar struct {
	Name string `json:"name"`
	// The reference image this likeness is generated from.
	Ref      OptString `json:"ref"`
	Likeness OptString `json:"likeness"`
	Style    OptString `json:"style"`
	Palette  OptString `json:"palette"`
	// Appended to every prompt using this avatar.
	Postamble OptString `json:"postamble"`
}

One member of the project's cast. Avatars are a PROJECT registry, not a per-reel one, so the same likeness stays consistent across every reel that uses it. Ref: #/components/schemas/Avatar

func (*Avatar) Decode

func (s *Avatar) Decode(d *jx.Decoder) error

Decode decodes Avatar from json.

func (*Avatar) Encode

func (s *Avatar) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Avatar) GetLikeness

func (s *Avatar) GetLikeness() OptString

GetLikeness returns the value of Likeness.

func (*Avatar) GetName

func (s *Avatar) GetName() string

GetName returns the value of Name.

func (*Avatar) GetPalette

func (s *Avatar) GetPalette() OptString

GetPalette returns the value of Palette.

func (*Avatar) GetPostamble

func (s *Avatar) GetPostamble() OptString

GetPostamble returns the value of Postamble.

func (*Avatar) GetRef

func (s *Avatar) GetRef() OptString

GetRef returns the value of Ref.

func (*Avatar) GetStyle

func (s *Avatar) GetStyle() OptString

GetStyle returns the value of Style.

func (*Avatar) MarshalJSON

func (s *Avatar) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Avatar) SetLikeness

func (s *Avatar) SetLikeness(val OptString)

SetLikeness sets the value of Likeness.

func (*Avatar) SetName

func (s *Avatar) SetName(val string)

SetName sets the value of Name.

func (*Avatar) SetPalette

func (s *Avatar) SetPalette(val OptString)

SetPalette sets the value of Palette.

func (*Avatar) SetPostamble

func (s *Avatar) SetPostamble(val OptString)

SetPostamble sets the value of Postamble.

func (*Avatar) SetRef

func (s *Avatar) SetRef(val OptString)

SetRef sets the value of Ref.

func (*Avatar) SetStyle

func (s *Avatar) SetStyle(val OptString)

SetStyle sets the value of Style.

func (*Avatar) UnmarshalJSON

func (s *Avatar) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type AvatarsEdit

type AvatarsEdit struct {
	Avatars []string `json:"avatars"`
}

Ref: #/components/schemas/AvatarsEdit

func (*AvatarsEdit) Decode

func (s *AvatarsEdit) Decode(d *jx.Decoder) error

Decode decodes AvatarsEdit from json.

func (*AvatarsEdit) Encode

func (s *AvatarsEdit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*AvatarsEdit) GetAvatars

func (s *AvatarsEdit) GetAvatars() []string

GetAvatars returns the value of Avatars.

func (*AvatarsEdit) MarshalJSON

func (s *AvatarsEdit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*AvatarsEdit) SetAvatars

func (s *AvatarsEdit) SetAvatars(val []string)

SetAvatars sets the value of Avatars.

func (*AvatarsEdit) UnmarshalJSON

func (s *AvatarsEdit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*AvatarsEdit) Validate

func (s *AvatarsEdit) Validate() error

type BundleEdit

type BundleEdit struct {
	// The article bundle's directory in the owning project.
	Dir string `json:"dir"`
}

Ref: #/components/schemas/BundleEdit

func (*BundleEdit) Decode

func (s *BundleEdit) Decode(d *jx.Decoder) error

Decode decodes BundleEdit from json.

func (*BundleEdit) Encode

func (s *BundleEdit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*BundleEdit) GetDir

func (s *BundleEdit) GetDir() string

GetDir returns the value of Dir.

func (*BundleEdit) MarshalJSON

func (s *BundleEdit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*BundleEdit) SetDir

func (s *BundleEdit) SetDir(val string)

SetDir sets the value of Dir.

func (*BundleEdit) UnmarshalJSON

func (s *BundleEdit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Card

type Card struct {
	// The words on screen. Omitted rather than empty when the card carries its words in `texts`, because
	// `"text": ""` reads like a field someone forgot to fill in.
	Text OptString `json:"text"`
	// Positioned blocks, which SUPERSEDE `text` when present (spec 0038). Absent means the single `text`
	// laid out by the mode default, so every board written before positioning renders identically.
	Texts []TextBlock `json:"texts"`
	// The narration; may be fuller than the on-screen text.
	Vo OptString `json:"vo"`
	// What to depict, for a generated illustration.
	Scene OptString    `json:"scene"`
	Mode  OptCardMode  `json:"mode"`
	Media OptCardMedia `json:"media"`
	// Palette ROLE, not a colour. Block mode only — overlay ignores it.
	Bg     OptString `json:"bg"`
	Fg     OptString `json:"fg"`
	Accent OptString `json:"accent"`
	// Seconds of air before the narration, REPLACING the theme's rather than adding to it.
	// Present-and-zero is meaningful — it means this beat starts speaking immediately — which is why
	// absent and zero differ.
	Lead OptFloat64 `json:"lead"`
	// Seconds of air after it, replacing the theme's.
	Tail OptFloat64 `json:"tail"`
	// On-screen seconds, used ONLY when no narration sizes the card. A card with voiceover takes its
	// length from the read.
	Dur   OptFloat64   `json:"dur"`
	Scrim OptCardScrim `json:"scrim"`
	// The cast appearing on this card.
	Avatars []string         `json:"avatars"`
	Voice   OptVoiceOverride `json:"voice"`
	// Render this card's text in the mono face (the URL closer).
	Mono OptBool `json:"mono"`
	// RETIRED (spec 0050 D1) and renders nothing. Kept in the schema because existing boards still carry
	// it, and silently dropping a field on save would rewrite someone's file behind their back.
	Cover OptBool `json:"cover"`
}

One card. `text` (a tight distillation) and `vo` (the narration) are DISTINCT inputs on purpose: the read may be fuller than the words on screen and may carry provider control tags the viewer must never see. Ref: #/components/schemas/Card

func (*Card) Decode

func (s *Card) Decode(d *jx.Decoder) error

Decode decodes Card from json.

func (*Card) Encode

func (s *Card) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Card) GetAccent

func (s *Card) GetAccent() OptString

GetAccent returns the value of Accent.

func (*Card) GetAvatars

func (s *Card) GetAvatars() []string

GetAvatars returns the value of Avatars.

func (*Card) GetBg

func (s *Card) GetBg() OptString

GetBg returns the value of Bg.

func (*Card) GetCover

func (s *Card) GetCover() OptBool

GetCover returns the value of Cover.

func (*Card) GetDur

func (s *Card) GetDur() OptFloat64

GetDur returns the value of Dur.

func (*Card) GetFg

func (s *Card) GetFg() OptString

GetFg returns the value of Fg.

func (*Card) GetLead

func (s *Card) GetLead() OptFloat64

GetLead returns the value of Lead.

func (*Card) GetMedia

func (s *Card) GetMedia() OptCardMedia

GetMedia returns the value of Media.

func (*Card) GetMode

func (s *Card) GetMode() OptCardMode

GetMode returns the value of Mode.

func (*Card) GetMono

func (s *Card) GetMono() OptBool

GetMono returns the value of Mono.

func (*Card) GetScene

func (s *Card) GetScene() OptString

GetScene returns the value of Scene.

func (*Card) GetScrim

func (s *Card) GetScrim() OptCardScrim

GetScrim returns the value of Scrim.

func (*Card) GetTail

func (s *Card) GetTail() OptFloat64

GetTail returns the value of Tail.

func (*Card) GetText

func (s *Card) GetText() OptString

GetText returns the value of Text.

func (*Card) GetTexts

func (s *Card) GetTexts() []TextBlock

GetTexts returns the value of Texts.

func (*Card) GetVo

func (s *Card) GetVo() OptString

GetVo returns the value of Vo.

func (*Card) GetVoice

func (s *Card) GetVoice() OptVoiceOverride

GetVoice returns the value of Voice.

func (*Card) MarshalJSON

func (s *Card) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Card) SetAccent

func (s *Card) SetAccent(val OptString)

SetAccent sets the value of Accent.

func (*Card) SetAvatars

func (s *Card) SetAvatars(val []string)

SetAvatars sets the value of Avatars.

func (*Card) SetBg

func (s *Card) SetBg(val OptString)

SetBg sets the value of Bg.

func (*Card) SetCover

func (s *Card) SetCover(val OptBool)

SetCover sets the value of Cover.

func (*Card) SetDur

func (s *Card) SetDur(val OptFloat64)

SetDur sets the value of Dur.

func (*Card) SetFg

func (s *Card) SetFg(val OptString)

SetFg sets the value of Fg.

func (*Card) SetLead

func (s *Card) SetLead(val OptFloat64)

SetLead sets the value of Lead.

func (*Card) SetMedia

func (s *Card) SetMedia(val OptCardMedia)

SetMedia sets the value of Media.

func (*Card) SetMode

func (s *Card) SetMode(val OptCardMode)

SetMode sets the value of Mode.

func (*Card) SetMono

func (s *Card) SetMono(val OptBool)

SetMono sets the value of Mono.

func (*Card) SetScene

func (s *Card) SetScene(val OptString)

SetScene sets the value of Scene.

func (*Card) SetScrim

func (s *Card) SetScrim(val OptCardScrim)

SetScrim sets the value of Scrim.

func (*Card) SetTail

func (s *Card) SetTail(val OptFloat64)

SetTail sets the value of Tail.

func (*Card) SetText

func (s *Card) SetText(val OptString)

SetText sets the value of Text.

func (*Card) SetTexts

func (s *Card) SetTexts(val []TextBlock)

SetTexts sets the value of Texts.

func (*Card) SetVo

func (s *Card) SetVo(val OptString)

SetVo sets the value of Vo.

func (*Card) SetVoice

func (s *Card) SetVoice(val OptVoiceOverride)

SetVoice sets the value of Voice.

func (*Card) UnmarshalJSON

func (s *Card) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Card) Validate

func (s *Card) Validate() error

type CardAssets

type CardAssets struct {
	Media bool `json:"media"`
	Vo    bool `json:"vo"`
}

Ref: #/components/schemas/CardAssets

func (*CardAssets) Decode

func (s *CardAssets) Decode(d *jx.Decoder) error

Decode decodes CardAssets from json.

func (*CardAssets) Encode

func (s *CardAssets) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CardAssets) GetMedia

func (s *CardAssets) GetMedia() bool

GetMedia returns the value of Media.

func (*CardAssets) GetVo

func (s *CardAssets) GetVo() bool

GetVo returns the value of Vo.

func (*CardAssets) MarshalJSON

func (s *CardAssets) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CardAssets) SetMedia

func (s *CardAssets) SetMedia(val bool)

SetMedia sets the value of Media.

func (*CardAssets) SetVo

func (s *CardAssets) SetVo(val bool)

SetVo sets the value of Vo.

func (*CardAssets) UnmarshalJSON

func (s *CardAssets) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CardMedia

type CardMedia struct {
	Kind   CardMediaKind   `json:"kind"`
	Source CardMediaSource `json:"source"`
	// Workspace-relative.
	Path string `json:"path"`
	// The theme this was generated under. Stamped so a board mixing two aesthetics is visible rather than
	// merely looking wrong.
	Theme OptString `json:"theme"`
}

Ref: #/components/schemas/CardMedia

func (*CardMedia) Decode

func (s *CardMedia) Decode(d *jx.Decoder) error

Decode decodes CardMedia from json.

func (*CardMedia) Encode

func (s *CardMedia) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CardMedia) GetKind

func (s *CardMedia) GetKind() CardMediaKind

GetKind returns the value of Kind.

func (*CardMedia) GetPath

func (s *CardMedia) GetPath() string

GetPath returns the value of Path.

func (*CardMedia) GetSource

func (s *CardMedia) GetSource() CardMediaSource

GetSource returns the value of Source.

func (*CardMedia) GetTheme

func (s *CardMedia) GetTheme() OptString

GetTheme returns the value of Theme.

func (*CardMedia) MarshalJSON

func (s *CardMedia) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CardMedia) SetKind

func (s *CardMedia) SetKind(val CardMediaKind)

SetKind sets the value of Kind.

func (*CardMedia) SetPath

func (s *CardMedia) SetPath(val string)

SetPath sets the value of Path.

func (*CardMedia) SetSource

func (s *CardMedia) SetSource(val CardMediaSource)

SetSource sets the value of Source.

func (*CardMedia) SetTheme

func (s *CardMedia) SetTheme(val OptString)

SetTheme sets the value of Theme.

func (*CardMedia) UnmarshalJSON

func (s *CardMedia) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CardMedia) Validate

func (s *CardMedia) Validate() error

type CardMediaKind

type CardMediaKind string
const (
	CardMediaKindImage CardMediaKind = "image"
	CardMediaKindVideo CardMediaKind = "video"
)

func (CardMediaKind) AllValues

func (CardMediaKind) AllValues() []CardMediaKind

AllValues returns all CardMediaKind values.

func (*CardMediaKind) Decode

func (s *CardMediaKind) Decode(d *jx.Decoder) error

Decode decodes CardMediaKind from json.

func (CardMediaKind) Encode

func (s CardMediaKind) Encode(e *jx.Encoder)

Encode encodes CardMediaKind as json.

func (CardMediaKind) MarshalJSON

func (s CardMediaKind) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (CardMediaKind) MarshalText

func (s CardMediaKind) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*CardMediaKind) UnmarshalJSON

func (s *CardMediaKind) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CardMediaKind) UnmarshalText

func (s *CardMediaKind) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (CardMediaKind) Validate

func (s CardMediaKind) Validate() error

type CardMediaSource

type CardMediaSource string
const (
	CardMediaSourceGenerated CardMediaSource = "generated"
	CardMediaSourceUploaded  CardMediaSource = "uploaded"
	CardMediaSourceCover     CardMediaSource = "cover"
)

func (CardMediaSource) AllValues

func (CardMediaSource) AllValues() []CardMediaSource

AllValues returns all CardMediaSource values.

func (*CardMediaSource) Decode

func (s *CardMediaSource) Decode(d *jx.Decoder) error

Decode decodes CardMediaSource from json.

func (CardMediaSource) Encode

func (s CardMediaSource) Encode(e *jx.Encoder)

Encode encodes CardMediaSource as json.

func (CardMediaSource) MarshalJSON

func (s CardMediaSource) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (CardMediaSource) MarshalText

func (s CardMediaSource) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*CardMediaSource) UnmarshalJSON

func (s *CardMediaSource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CardMediaSource) UnmarshalText

func (s *CardMediaSource) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (CardMediaSource) Validate

func (s CardMediaSource) Validate() error

type CardMode

type CardMode string

A full-bleed illustration with a scrim and text over it, or one line over a solid palette background. Absent takes the theme's default. Ref: #/components/schemas/CardMode

const (
	CardModeOverlay CardMode = "overlay"
	CardModeBlock   CardMode = "block"
)

func (CardMode) AllValues

func (CardMode) AllValues() []CardMode

AllValues returns all CardMode values.

func (*CardMode) Decode

func (s *CardMode) Decode(d *jx.Decoder) error

Decode decodes CardMode from json.

func (CardMode) Encode

func (s CardMode) Encode(e *jx.Encoder)

Encode encodes CardMode as json.

func (CardMode) MarshalJSON

func (s CardMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (CardMode) MarshalText

func (s CardMode) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*CardMode) UnmarshalJSON

func (s *CardMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CardMode) UnmarshalText

func (s *CardMode) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (CardMode) Validate

func (s CardMode) Validate() error

type CardScreen

type CardScreen struct {
	Card     int  `json:"card"`
	Screened bool `json:"screened"`
	// Text was detected in the image.
	Flagged bool `json:"flagged"`
	// What was read out of it.
	Glyphs []string `json:"glyphs"`
}

Whether a card's selected illustration has been checked for text the model leaked into the image, and what was found. Ref: #/components/schemas/CardScreen

func (*CardScreen) Decode

func (s *CardScreen) Decode(d *jx.Decoder) error

Decode decodes CardScreen from json.

func (*CardScreen) Encode

func (s *CardScreen) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CardScreen) GetCard

func (s *CardScreen) GetCard() int

GetCard returns the value of Card.

func (*CardScreen) GetFlagged

func (s *CardScreen) GetFlagged() bool

GetFlagged returns the value of Flagged.

func (*CardScreen) GetGlyphs

func (s *CardScreen) GetGlyphs() []string

GetGlyphs returns the value of Glyphs.

func (*CardScreen) GetScreened

func (s *CardScreen) GetScreened() bool

GetScreened returns the value of Screened.

func (*CardScreen) MarshalJSON

func (s *CardScreen) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CardScreen) SetCard

func (s *CardScreen) SetCard(val int)

SetCard sets the value of Card.

func (*CardScreen) SetFlagged

func (s *CardScreen) SetFlagged(val bool)

SetFlagged sets the value of Flagged.

func (*CardScreen) SetGlyphs

func (s *CardScreen) SetGlyphs(val []string)

SetGlyphs sets the value of Glyphs.

func (*CardScreen) SetScreened

func (s *CardScreen) SetScreened(val bool)

SetScreened sets the value of Screened.

func (*CardScreen) UnmarshalJSON

func (s *CardScreen) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CardScrim

type CardScrim struct {
	From      OptFloat64            `json:"from"`
	Color     OptString             `json:"color"`
	Opacity   OptFloat64            `json:"opacity"`
	Direction OptCardScrimDirection `json:"direction"`
}

Overrides the theme's scrim for one card, for a scene whose illustration fights the text. Absent means the theme's. `from` and `opacity` are nullable because zero is a real value and differs from unset. Ref: #/components/schemas/CardScrim

func (*CardScrim) Decode

func (s *CardScrim) Decode(d *jx.Decoder) error

Decode decodes CardScrim from json.

func (*CardScrim) Encode

func (s *CardScrim) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CardScrim) GetColor

func (s *CardScrim) GetColor() OptString

GetColor returns the value of Color.

func (*CardScrim) GetDirection

func (s *CardScrim) GetDirection() OptCardScrimDirection

GetDirection returns the value of Direction.

func (*CardScrim) GetFrom

func (s *CardScrim) GetFrom() OptFloat64

GetFrom returns the value of From.

func (*CardScrim) GetOpacity

func (s *CardScrim) GetOpacity() OptFloat64

GetOpacity returns the value of Opacity.

func (*CardScrim) MarshalJSON

func (s *CardScrim) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CardScrim) SetColor

func (s *CardScrim) SetColor(val OptString)

SetColor sets the value of Color.

func (*CardScrim) SetDirection

func (s *CardScrim) SetDirection(val OptCardScrimDirection)

SetDirection sets the value of Direction.

func (*CardScrim) SetFrom

func (s *CardScrim) SetFrom(val OptFloat64)

SetFrom sets the value of From.

func (*CardScrim) SetOpacity

func (s *CardScrim) SetOpacity(val OptFloat64)

SetOpacity sets the value of Opacity.

func (*CardScrim) UnmarshalJSON

func (s *CardScrim) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CardScrim) Validate

func (s *CardScrim) Validate() error

type CardScrimDirection

type CardScrimDirection string
const (
	CardScrimDirectionUp   CardScrimDirection = "up"
	CardScrimDirectionDown CardScrimDirection = "down"
)

func (CardScrimDirection) AllValues

func (CardScrimDirection) AllValues() []CardScrimDirection

AllValues returns all CardScrimDirection values.

func (*CardScrimDirection) Decode

func (s *CardScrimDirection) Decode(d *jx.Decoder) error

Decode decodes CardScrimDirection from json.

func (CardScrimDirection) Encode

func (s CardScrimDirection) Encode(e *jx.Encoder)

Encode encodes CardScrimDirection as json.

func (CardScrimDirection) MarshalJSON

func (s CardScrimDirection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (CardScrimDirection) MarshalText

func (s CardScrimDirection) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*CardScrimDirection) UnmarshalJSON

func (s *CardScrimDirection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CardScrimDirection) UnmarshalText

func (s *CardScrimDirection) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (CardScrimDirection) Validate

func (s CardScrimDirection) Validate() error

type ChatHistory

type ChatHistory struct {
	History []ChatTurn `json:"history"`
}

Ref: #/components/schemas/ChatHistory

func (*ChatHistory) Decode

func (s *ChatHistory) Decode(d *jx.Decoder) error

Decode decodes ChatHistory from json.

func (*ChatHistory) Encode

func (s *ChatHistory) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ChatHistory) GetHistory

func (s *ChatHistory) GetHistory() []ChatTurn

GetHistory returns the value of History.

func (*ChatHistory) MarshalJSON

func (s *ChatHistory) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ChatHistory) SetHistory

func (s *ChatHistory) SetHistory(val []ChatTurn)

SetHistory sets the value of History.

func (*ChatHistory) UnmarshalJSON

func (s *ChatHistory) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ChatHistory) Validate

func (s *ChatHistory) Validate() error

type ChatTurn

type ChatTurn struct {
	Role string `json:"role"`
	Text string `json:"text"`
}

Ref: #/components/schemas/ChatTurn

func (*ChatTurn) Decode

func (s *ChatTurn) Decode(d *jx.Decoder) error

Decode decodes ChatTurn from json.

func (*ChatTurn) Encode

func (s *ChatTurn) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ChatTurn) GetRole

func (s *ChatTurn) GetRole() string

GetRole returns the value of Role.

func (*ChatTurn) GetText

func (s *ChatTurn) GetText() string

GetText returns the value of Text.

func (*ChatTurn) MarshalJSON

func (s *ChatTurn) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ChatTurn) SetRole

func (s *ChatTurn) SetRole(val string)

SetRole sets the value of Role.

func (*ChatTurn) SetText

func (s *ChatTurn) SetText(val string)

SetText sets the value of Text.

func (*ChatTurn) UnmarshalJSON

func (s *ChatTurn) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CheckConnectionsBadGateway

type CheckConnectionsBadGateway Error

func (*CheckConnectionsBadGateway) Decode

Decode decodes CheckConnectionsBadGateway from json.

func (*CheckConnectionsBadGateway) Encode

func (s *CheckConnectionsBadGateway) Encode(e *jx.Encoder)

Encode encodes CheckConnectionsBadGateway as json.

func (*CheckConnectionsBadGateway) MarshalJSON

func (s *CheckConnectionsBadGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CheckConnectionsBadGateway) UnmarshalJSON

func (s *CheckConnectionsBadGateway) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CheckConnectionsRes

type CheckConnectionsRes interface {
	// contains filtered or unexported methods
}

type CheckConnectionsServiceUnavailable

type CheckConnectionsServiceUnavailable Error

func (*CheckConnectionsServiceUnavailable) Decode

Decode decodes CheckConnectionsServiceUnavailable from json.

func (*CheckConnectionsServiceUnavailable) Encode

Encode encodes CheckConnectionsServiceUnavailable as json.

func (*CheckConnectionsServiceUnavailable) MarshalJSON

func (s *CheckConnectionsServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CheckConnectionsServiceUnavailable) UnmarshalJSON

func (s *CheckConnectionsServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client implements OAS client.

func NewClient

func NewClient(serverURL string, opts ...ClientOption) (*Client, error)

NewClient initializes new Client defined by OAS.

func (*Client) AddProject

func (c *Client) AddProject(ctx context.Context, request *AddProject) (AddProjectRes, error)

AddProject invokes addProject operation.

Either `path` (a directory that already exists) or `remote` (cloned into the studio's cache). A remote project can be held in memory rather than on disk, which bounds what a clone costs.

POST /projects

func (*Client) ApproveSocial

func (c *Client) ApproveSocial(ctx context.Context, request OptSocialApproval, params ApproveSocialParams) (ApproveSocialRes, error)

ApproveSocial invokes approveSocial operation.

Refused while the copy breaks a hard platform constraint. Approval is the human gate in front of publishing, so it will not pass something the platform would reject.

POST /workspace/{slug}/social/{platform}/approve

func (*Client) CheckConnections

func (c *Client) CheckConnections(ctx context.Context) (CheckConnectionsRes, error)

CheckConnections invokes checkConnections operation.

A dry-run refresh against every enabled platform that has a refresher. Some platforms rotate a refresh token on every use, so this is a probe rather than something to call idly. A platform alerting does not fail the request: its verdict is in its own entry, and the whole list is returned.

POST /connections/check

func (*Client) CommitReel

func (c *Client) CommitReel(ctx context.Context, params CommitReelParams) (CommitReelRes, error)

CommitReel invokes commitReel operation.

The explicit git action. Routine saves do not commit, so this is the only place the studio writes history on purpose. Media syncs first, and a media failure never blocks the commit — it is reported on the response.

POST /workspace/{slug}/commit

func (*Client) CreateAvatar

func (c *Client) CreateAvatar(ctx context.Context, request *Avatar) (CreateAvatarRes, error)

CreateAvatar invokes createAvatar operation.

Add an avatar to the project.

POST /avatars

func (*Client) CreateReel

func (c *Client) CreateReel(ctx context.Context, request *NewReel) (CreateReelRes, error)

CreateReel invokes createReel operation.

Create a reel.

POST /reels

func (*Client) CreateTheme

func (c *Client) CreateTheme(ctx context.Context, request *Theme) (CreateThemeRes, error)

CreateTheme invokes createTheme operation.

The body carries the keyword. PUT /themes/{keyword} is the same operation with the path carrying it instead.

POST /themes

func (*Client) DuplicateReel

func (c *Client) DuplicateReel(ctx context.Context, request *SlugTarget, params DuplicateReelParams) (DuplicateReelRes, error)

DuplicateReel invokes duplicateReel operation.

A whole-workspace copy, which is how a reel becomes the starting point for the next one rather than a template nobody maintains.

POST /reels/{slug}/duplicate

func (*Client) ForgetProject

func (c *Client) ForgetProject(ctx context.Context, request *ProjectPath) (ForgetProjectRes, error)

ForgetProject invokes forgetProject operation.

Forgetting is a registry operation and nothing else — the project's own files are untouched, because keryx does not own them.

POST /projects/forget

func (*Client) GenSocial

func (c *Client) GenSocial(ctx context.Context, params GenSocialParams) (GenSocialRes, error)

GenSocial invokes genSocial operation.

Asynchronous and PAID. It returns a job immediately and the work outlives the request, because a browser navigating away must not abandon generation that is already being charged for.

POST /workspace/{slug}/social/{platform}/gen

func (*Client) GenerateCard

func (c *Client) GenerateCard(ctx context.Context, request OptGenerateRequest, params GenerateCardParams) (GenerateCardRes, error)

GenerateCard invokes generateCard operation.

Needs a scene on the card to generate from. Nothing is promoted: the takes appear in the card's gallery and a human picks one.

POST /workspace/{slug}/cards/{n}/generate

func (*Client) GenerateCardVO

func (c *Client) GenerateCardVO(ctx context.Context, request OptGenerateRequest, params GenerateCardVOParams) (GenerateCardVORes, error)

GenerateCardVO invokes generateCardVO operation.

Needs narration on the card. A generated read lands beside any browser recording for the same card and is auditioned the same way.

POST /workspace/{slug}/cards/{n}/vo/generate

func (*Client) GenerateCover

func (c *Client) GenerateCover(ctx context.Context, request OptGenerateRequest, params GenerateCoverParams) (GenerateCoverRes, error)

GenerateCover invokes generateCover operation.

The scene is recorded on the workspace as it is used, so re-rolling the cover does not need it typed again.

POST /workspace/{slug}/cover/generate

func (*Client) GenerateMusic

func (c *Client) GenerateMusic(ctx context.Context, request OptGenerateRequest, params GenerateMusicParams) (GenerateMusicRes, error)

GenerateMusic invokes generateMusic operation.

Generate music-bed candidates.

POST /workspace/{slug}/music/generate

func (*Client) GeneratePortrait

func (c *Client) GeneratePortrait(ctx context.Context, request OptGenerateRequest, params GeneratePortraitParams) (GeneratePortraitRes, error)

GeneratePortrait invokes generatePortrait operation.

Needs at least one reference image; there is nothing to work from otherwise.

POST /workspace/{slug}/portrait/generate

func (*Client) GetArticle

func (c *Client) GetArticle(ctx context.Context, params GetArticleParams) (GetArticleRes, error)

GetArticle invokes getArticle operation.

One article, with its body rendered for preview.

GET /content/article

func (*Client) GetChatHistory

func (c *Client) GetChatHistory(ctx context.Context, params GetChatHistoryParams) (GetChatHistoryRes, error)

GetChatHistory invokes getChatHistory operation.

The conversation so far.

GET /workspace/{slug}/chat/history

func (*Client) GetConfig

func (c *Client) GetConfig(ctx context.Context) (GetConfigRes, error)

GetConfig invokes getConfig operation.

Only keys the studio may show are returned, and only those actually set. The ALLOWLIST ITSELF IS NOT IN THIS DOCUMENT, deliberately. It lives in `configKeys` in pkg/studio/handlers_config.go, which is what filters at runtime; enumerating the forty-odd keys here as well would make the schema and that slice two descriptions of one thing, which is the drift this spec exists to remove (the reasoning 0053 Q3 used to reject `x-keryx-requirements`). What the schema holds is the shape, the method and the status codes.

GET /config

func (*Client) GetConfigYAML

func (c *Client) GetConfigYAML(ctx context.Context) (GetConfigYAMLRes, error)

GetConfigYAML invokes getConfigYAML operation.

Comments and all, with secrets masked. For reading and editing structure, never for recovering a value someone stored.

GET /config/file

func (*Client) GetConnections

func (c *Client) GetConnections(ctx context.Context) (*Connections, error)

GetConnections invokes getConnections operation.

Read-only and offline: it reports what the non-secret configuration says about each platform, including when a token expires. It does not contact anyone — /connections/check is the operation that does.

GET /connections

func (*Client) GetJob

func (c *Client) GetJob(ctx context.Context, params GetJobParams) (GetJobRes, error)

GetJob invokes getJob operation.

Poll an asynchronous job.

GET /workspace/{slug}/jobs/{id}

func (*Client) GetOutcome

func (c *Client) GetOutcome(ctx context.Context, params GetOutcomeParams) (GetOutcomeRes, error)

GetOutcome invokes getOutcome operation.

Remembered so a commit or push that failed is still visible after the response that reported it has gone.

GET /workspace/{slug}/outcome

func (*Client) GetQuota

func (c *Client) GetQuota(ctx context.Context) (GetQuotaRes, error)

GetQuota invokes getQuota operation.

Spend context for the composer. Absent rather than zero when the configured provider does not track a quota.

GET /quota

func (*Client) GetSocial

func (c *Client) GetSocial(ctx context.Context, params GetSocialParams) (GetSocialRes, error)

GetSocial invokes getSocial operation.

All supported platforms are present, including ones with nothing written yet — an empty entry is an empty composer, not a missing one. The `rev` is a revision token: send it back on a write and the write is refused if the record moved underneath you.

GET /workspace/{slug}/social

func (*Client) GetSpend

func (c *Client) GetSpend(ctx context.Context, params GetSpendParams) (GetSpendRes, error)

GetSpend invokes getSpend operation.

Settled rather than estimated: this is the ledger's total, so it answers what has been spent rather than what something might cost.

GET /workspace/{slug}/spend

func (*Client) GetThemeCatalog

func (c *Client) GetThemeCatalog(ctx context.Context) (*ThemeCatalog, error)

GetThemeCatalog invokes getThemeCatalog operation.

The Settings manager's payload: whole themes rather than the picker's reduced view, plus the scope each keyword resolves in, so the manager can offer promotion only where it applies. Scopes may be empty if they cannot be resolved — the manager still lists and edits, it just cannot promote.

GET /themes/catalog

func (*Client) GetTimeline

func (c *Client) GetTimeline(ctx context.Context, params GetTimelineParams) (GetTimelineRes, error)

GetTimeline invokes getTimeline operation.

Computed before any render. Card durations come from their narration when there is any, which is what vo_driven reports - a board timed by reads behaves very differently from one falling back to dur.

GET /workspace/{slug}/timeline

func (*Client) GetVCStatus

func (c *Client) GetVCStatus(ctx context.Context) (*VCStatus, error)

GetVCStatus invokes getVCStatus operation.

Reports whether the active project is a git repository, its first remote, and a heuristic for whether a push would authenticate. Always 200: "this is not a repository" is an answer, not an error, because the studio runs perfectly well against a project that is not under version control.

GET /vc/status

func (*Client) GetWorkspace

func (c *Client) GetWorkspace(ctx context.Context, params GetWorkspaceParams) (GetWorkspaceRes, error)

GetWorkspace invokes getWorkspace operation.

The board, what is wrong with it, and the filesystem truths the board cannot express - which cards have artefacts on disk, whether a cover exists and at what size.

GET /workspace/{slug}

func (*Client) ListAvatars

func (c *Client) ListAvatars(ctx context.Context) (ListAvatarsRes, error)

ListAvatars invokes listAvatars operation.

The project's cast.

GET /avatars

func (*Client) ListCardScreens

func (c *Client) ListCardScreens(ctx context.Context, params ListCardScreensParams) (ListCardScreensRes, error)

ListCardScreens invokes listCardScreens operation.

Which cards' illustrations have been checked for leaked text.

GET /workspace/{slug}/cards/screens

func (*Client) ListCardTakes

func (c *Client) ListCardTakes(ctx context.Context, params ListCardTakesParams) (ListCardTakesRes, error)

ListCardTakes invokes listCardTakes operation.

Images generated for this card. `current` names the one promoted into the card's slot, and is absent when nothing is promoted or the slot was filled outside the takes flow.

GET /workspace/{slug}/cards/{n}/takes

func (*Client) ListCardVOTakes

func (c *Client) ListCardVOTakes(ctx context.Context, params ListCardVOTakesParams) (ListCardVOTakesRes, error)

ListCardVOTakes invokes listCardVOTakes operation.

Every recorded or generated read for this card's narration. A browser recording (spec 0030) lands here beside a generated one and is auditioned the same way.

GET /workspace/{slug}/cards/{n}/vo/takes

func (*Client) ListCoverTakes

func (c *Client) ListCoverTakes(ctx context.Context, params ListCoverTakesParams) (ListCoverTakesRes, error)

ListCoverTakes invokes listCoverTakes operation.

The reel's cover-art candidates.

GET /workspace/{slug}/cover/takes

func (*Client) ListFonts

func (c *Client) ListFonts(ctx context.Context) (ListFontsRes, error)

ListFonts invokes listFonts operation.

Includes the embedded floor, which is why keryx can draw text on a host with no system fonts at all (spec 0057).

GET /fonts

func (*Client) ListMusicTakes

func (c *Client) ListMusicTakes(ctx context.Context, params ListMusicTakesParams) (ListMusicTakesRes, error)

ListMusicTakes invokes listMusicTakes operation.

The reel's music-bed candidates.

GET /workspace/{slug}/music/takes

func (*Client) ListPortraitRefs

func (c *Client) ListPortraitRefs(ctx context.Context, params ListPortraitRefsParams) (ListPortraitRefsRes, error)

ListPortraitRefs invokes listPortraitRefs operation.

Uploaded references rather than generated takes, so nothing here is ever `current` — there is no slot for a reference to be promoted into.

GET /workspace/{slug}/portrait/refs

func (*Client) ListPortraitTakes

func (c *Client) ListPortraitTakes(ctx context.Context, params ListPortraitTakesParams) (ListPortraitTakesRes, error)

ListPortraitTakes invokes listPortraitTakes operation.

The portrait candidates.

GET /workspace/{slug}/portrait/takes

func (*Client) ListPosts

func (c *Client) ListPosts(ctx context.Context) (ListPostsRes, error)

ListPosts invokes listPosts operation.

A reel links to one of these by its bundle directory.

GET /content/posts

func (*Client) ListProjects

func (c *Client) ListProjects(ctx context.Context) (ListProjectsRes, error)

ListProjects invokes listProjects operation.

Every known project, and which is active.

GET /projects

func (*Client) ListReels

func (c *Client) ListReels(ctx context.Context) (ListReelsRes, error)

ListReels invokes listReels operation.

Each row carries the workspace's status on disk and whether it has changes git has not seen. `uncommitted` covers media as well as the board: media is git-ignored, so git-clean does not mean pushed.

GET /reels

func (*Client) ListThemes

func (c *Client) ListThemes(ctx context.Context) (*ThemePicker, error)

ListThemes invokes listThemes operation.

A reduced view for the picker: the fields the preview needs to draw text where the render will (fonts, palette, scrim) plus the pacing a card inherits. The Settings manager wants /themes/catalog instead, which carries whole themes.

GET /themes

func (*Client) PickCardTake

func (c *Client) PickCardTake(ctx context.Context, request *PickTake, params PickCardTakeParams) (PickCardTakeRes, error)

PickCardTake invokes pickCardTake operation.

Unlike the other picks, this one changes the BOARD — the card records the media it uses and the theme it was generated under — so it answers with the save result rather than the slot.

POST /workspace/{slug}/cards/{n}/pick

func (*Client) PickCardVO

func (c *Client) PickCardVO(ctx context.Context, request *PickVOTake, params PickCardVOParams) (PickCardVORes, error)

PickCardVO invokes pickCardVO operation.

The take must belong to THIS card: voiceover take filenames carry the line they were read for, and picking another card's read would silently retime the reel. `lock` approves the line in the same call (0030 R-GEN-52).

POST /workspace/{slug}/cards/{n}/vo/pick

func (*Client) PickCover

func (c *Client) PickCover(ctx context.Context, request *PickTake, params PickCoverParams) (PickCoverRes, error)

PickCover invokes pickCover operation.

The cover is a single slot, so picking replaces whatever was there. Nothing is deleted: the previous take stays a candidate.

POST /workspace/{slug}/cover/pick

func (*Client) PickMusic

func (c *Client) PickMusic(ctx context.Context, request *PickTake, params PickMusicParams) (PickMusicRes, error)

PickMusic invokes pickMusic operation.

Promote a music-bed candidate.

POST /workspace/{slug}/music/pick

func (*Client) PickPortrait

func (c *Client) PickPortrait(ctx context.Context, request *PickTake, params PickPortraitParams) (PickPortraitRes, error)

PickPortrait invokes pickPortrait operation.

Promote a portrait candidate.

POST /workspace/{slug}/portrait/pick

func (*Client) PostSocial

func (c *Client) PostSocial(ctx context.Context, request OptPostRequest, params PostSocialParams) (PostSocialRes, error)

PostSocial invokes postSocial operation.

The ONLY operation on this surface that reaches the outside world, and the reason `post` is kept off the MCP tool surface entirely (R-MCP-2). Asynchronous: the job carries a result line per platform.

POST /workspace/{slug}/social/post

func (*Client) PromoteTheme

func (c *Client) PromoteTheme(ctx context.Context, params PromoteThemeParams) (PromoteThemeRes, error)

PromoteTheme invokes promoteTheme operation.

Promotion is a move, not a copy: the theme leaves the project's .keryx.yaml and lands in the user library, where every project sees it.

POST /themes/{keyword}/promote

func (*Client) PullMedia

func (c *Client) PullMedia(ctx context.Context, params PullMediaParams) (PullMediaRes, error)

PullMedia invokes pullMedia operation.

Media is git-ignored, so a fresh clone has the board and none of the artefacts. This is what makes a reel workable on another machine. Local files that differ are LEFT ALONE — pulling never overwrites local work.

POST /workspace/{slug}/media/pull

func (*Client) PutChatHistory

func (c *Client) PutChatHistory(ctx context.Context, request *ChatHistory, params PutChatHistoryParams) (PutChatHistoryRes, error)

PutChatHistory invokes putChatHistory operation.

Whole-transcript replacement, which is what lets a turn be edited or dropped before it grounds the next answer.

PUT /workspace/{slug}/chat/history

func (*Client) PutConfig

func (c *Client) PutConfig(ctx context.Context, request Settings) (PutConfigRes, error)

PutConfig invokes putConfig operation.

Only the SUBMITTED keys are written, so the project's .keryx.yaml stays a minimal set of overrides rather than a copy of the merged container (R-CFG-2). A key outside the allowlist is refused. The file is created if absent, and an existing file that will not parse is a 422 — the write never clobbers something it could not read.

PUT /config

func (*Client) PutConfigYAML

func (c *Client) PutConfigYAML(ctx context.Context, request *ConfigYAMLEdit) (PutConfigYAMLRes, error)

PutConfigYAML invokes putConfigYAML operation.

Replace the project's settings file.

PUT /config/file

func (*Client) PutDirection

func (c *Client) PutDirection(ctx context.Context, request *DirectionEdit, params PutDirectionParams) (PutDirectionRes, error)

PutDirection invokes putDirection operation.

Intent and emotion rather than content - what the reel should feel like, used as grounding without being quoted.

PUT /workspace/{slug}/direction

func (*Client) PutReelAspect

func (c *Client) PutReelAspect(ctx context.Context, request *AspectEdit, params PutReelAspectParams) (PutReelAspectRes, error)

PutReelAspect invokes putReelAspect operation.

Overrides the configured default for this reel only. Changing it after a render makes that render stale, which the returned workspace reports rather than hiding.

PUT /workspace/{slug}/aspect

func (*Client) PutReelAvatars

func (c *Client) PutReelAvatars(ctx context.Context, request *AvatarsEdit, params PutReelAvatarsParams) (PutReelAvatarsRes, error)

PutReelAvatars invokes putReelAvatars operation.

Every name must resolve in the project's avatar registry; an unknown one is refused rather than stored and discovered at render. An empty list clears the cast.

PUT /workspace/{slug}/avatars

func (*Client) PutSocial

func (c *Client) PutSocial(ctx context.Context, request *SocialEdit, params PutSocialParams) (PutSocialRes, error)

PutSocial invokes putSocial operation.

Overwrites the COMPOSED CONTENT only. The status and any posting record survive, so editing copy cannot silently un-post something or lose the URL a post landed at.

PUT /workspace/{slug}/social/{platform}

func (*Client) PutSource

func (c *Client) PutSource(ctx context.Context, request *SourceEdit, params PutSourceParams) (PutSourceRes, error)

PutSource invokes putSource operation.

For a reel linked to no article; a linked reel reads its subject from the article instead. Echoes what it stored, because nothing else can change as a result.

PUT /workspace/{slug}/source

func (*Client) PutStoryboard

func (c *Client) PutStoryboard(ctx context.Context, request Storyboard, params PutStoryboardParams) (PutStoryboardRes, error)

PutStoryboard invokes putStoryboard operation.

Validated SEMANTICALLY before it is accepted: a body can be perfectly valid JSON and still be refused. That check is R-WS-9..R-WS-13 and lives in spec 0054 — OpenAPI has no vocabulary for it, which is exactly why 0053 does not try.

PUT /workspace/{slug}/storyboard

func (*Client) PutTheme

func (c *Client) PutTheme(ctx context.Context, request *ThemeEdit, params PutThemeParams) (PutThemeRes, error)

PutTheme invokes putTheme operation.

Returns the whole workspace re-read, because a theme change can alter what validates: a card relying on a palette role the new theme does not define becomes an error.

PUT /workspace/{slug}/theme

func (*Client) ReclaimStorage

func (c *Client) ReclaimStorage(ctx context.Context) (*StorageReclaim, error)

ReclaimStorage invokes reclaimStorage operation.

A dry run: it reports what is orphaned without deleting anything. Pruning is a CLI operation, deliberately — the studio shows the number and the CLI is where an irreversible delete is asked for. Always 200, for the same reason verify is.

POST /storage/reclaim

func (*Client) RemoveAvatar

func (c *Client) RemoveAvatar(ctx context.Context, params RemoveAvatarParams) (RemoveAvatarRes, error)

RemoveAvatar invokes removeAvatar operation.

Removes it from the project's registry. Reels that named it keep the name in their cast; the reference simply stops resolving, which is reported at the point of use rather than silently rewriting someone's board.

DELETE /avatars/{name}

func (*Client) RemoveReel

func (c *Client) RemoveReel(ctx context.Context, params RemoveReelParams) (RemoveReelRes, error)

RemoveReel invokes removeReel operation.

Removes the workspace directory. What has already been pushed to the object store is not touched here — `media gc` is where blobs are reclaimed, and deliberately so, because a blob may still be referenced by another reel.

DELETE /reels/{slug}

func (*Client) RemoveTheme

func (c *Client) RemoveTheme(ctx context.Context, params RemoveThemeParams) (RemoveThemeRes, error)

RemoveTheme invokes removeTheme operation.

Project scope only. A theme in the user library is a 404 here and can only be removed from the CLI, so a project can never delete something every other project shares.

DELETE /themes/{keyword}

func (*Client) RenameReel

func (c *Client) RenameReel(ctx context.Context, request *SlugTarget, params RenameReelParams) (RenameReelRes, error)

RenameReel invokes renameReel operation.

The slug IS the directory name, so a rename moves the workspace. The label is the human name and is changed through the workspace instead.

POST /reels/{slug}/rename

func (*Client) SaveAvatar

func (c *Client) SaveAvatar(ctx context.Context, request *Avatar, params SaveAvatarParams) (SaveAvatarRes, error)

SaveAvatar invokes saveAvatar operation.

Create or update the avatar this name identifies.

PUT /avatars/{name}

func (*Client) SaveTheme

func (c *Client) SaveTheme(ctx context.Context, request *Theme, params SaveThemeParams) (SaveThemeRes, error)

SaveTheme invokes saveTheme operation.

Upsert. The path identifies the theme and wins over any keyword in the body. There is no {type} segment: a keyword identifies exactly one theme (spec 0047 D4).

PUT /themes/{keyword}

func (*Client) ScreenCards

func (c *Client) ScreenCards(ctx context.Context, params ScreenCardsParams) (ScreenCardsRes, error)

ScreenCards invokes screenCards operation.

Image models write words into pictures. A card whose illustration contains text fights the card's own words, so this reads the images back and says which ones did.

POST /workspace/{slug}/cards/screen

func (*Client) SetBundle

func (c *Client) SetBundle(ctx context.Context, request *BundleEdit, params SetBundleParams) (SetBundleRes, error)

SetBundle invokes setBundle operation.

Link the reel to an article.

PUT /workspace/{slug}/bundle

func (*Client) SetLabel

func (c *Client) SetLabel(ctx context.Context, request *LabelEdit, params SetLabelParams) (SetLabelRes, error)

SetLabel invokes setLabel operation.

The label is the human name and the slug is the directory. Changing one never changes the other, so a reel can be renamed without moving any files.

PUT /workspace/{slug}/label

func (*Client) StartRender

func (c *Client) StartRender(ctx context.Context, request OptRenderRequest, params StartRenderParams) (StartRenderRes, error)

StartRender invokes startRender operation.

Asynchronous, and ONE AT A TIME per reel: a second render while one is in flight is a conflict rather than a queue, because two renders writing the same output is not something to resolve politely.

POST /workspace/{slug}/render

func (*Client) StopRender

func (c *Client) StopRender(ctx context.Context, params StopRenderParams) (StopRenderRes, error)

StopRender invokes stopRender operation.

Cancel the render in flight.

POST /workspace/{slug}/render/cancel

func (*Client) SummariseSource

func (c *Client) SummariseSource(ctx context.Context, params SummariseSourceParams) (SummariseSourceRes, error)

SummariseSource invokes summariseSource operation.

Needs a linked article; there is nothing to summarise otherwise, which is a 400 rather than an empty result.

POST /workspace/{slug}/source/summarise

func (*Client) SwitchProject

func (c *Client) SwitchProject(ctx context.Context, request *ProjectPath) (SwitchProjectRes, error)

SwitchProject invokes switchProject operation.

Make a known project the active one.

POST /projects/switch

func (*Client) VerifyStorage

func (c *Client) VerifyStorage(ctx context.Context) (*StorageCheck, error)

VerifyStorage invokes verifyStorage operation.

Always 200. "There is no object store configured" and "the bucket is unreachable" are both ANSWERS — the panel asking this wants to render them, not handle them — so the outcome is in the body and never in the status.

POST /storage/verify

type ClientOption

type ClientOption interface {
	// contains filtered or unexported methods
}

ClientOption is client config option.

func WithClient

func WithClient(client ht.Client) ClientOption

WithClient specifies http client to use.

type CommitReelBadRequest

type CommitReelBadRequest Error

func (*CommitReelBadRequest) Decode

func (s *CommitReelBadRequest) Decode(d *jx.Decoder) error

Decode decodes CommitReelBadRequest from json.

func (*CommitReelBadRequest) Encode

func (s *CommitReelBadRequest) Encode(e *jx.Encoder)

Encode encodes CommitReelBadRequest as json.

func (*CommitReelBadRequest) MarshalJSON

func (s *CommitReelBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommitReelBadRequest) UnmarshalJSON

func (s *CommitReelBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CommitReelConflict

type CommitReelConflict Error

func (*CommitReelConflict) Decode

func (s *CommitReelConflict) Decode(d *jx.Decoder) error

Decode decodes CommitReelConflict from json.

func (*CommitReelConflict) Encode

func (s *CommitReelConflict) Encode(e *jx.Encoder)

Encode encodes CommitReelConflict as json.

func (*CommitReelConflict) MarshalJSON

func (s *CommitReelConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommitReelConflict) UnmarshalJSON

func (s *CommitReelConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CommitReelInternalServerError

type CommitReelInternalServerError Error

func (*CommitReelInternalServerError) Decode

Decode decodes CommitReelInternalServerError from json.

func (*CommitReelInternalServerError) Encode

Encode encodes CommitReelInternalServerError as json.

func (*CommitReelInternalServerError) MarshalJSON

func (s *CommitReelInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommitReelInternalServerError) UnmarshalJSON

func (s *CommitReelInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CommitReelNotFound

type CommitReelNotFound Error

func (*CommitReelNotFound) Decode

func (s *CommitReelNotFound) Decode(d *jx.Decoder) error

Decode decodes CommitReelNotFound from json.

func (*CommitReelNotFound) Encode

func (s *CommitReelNotFound) Encode(e *jx.Encoder)

Encode encodes CommitReelNotFound as json.

func (*CommitReelNotFound) MarshalJSON

func (s *CommitReelNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommitReelNotFound) UnmarshalJSON

func (s *CommitReelNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CommitReelParams

type CommitReelParams struct {
	// The reel's slug.
	Slug string
}

CommitReelParams is parameters of commitReel operation.

type CommitReelRes

type CommitReelRes interface {
	// contains filtered or unexported methods
}

type CommitResult

type CommitResult struct {
	Commit OptCommitStatus    `json:"commit"`
	Push   OptPushStatus      `json:"push"`
	Media  OptMediaPushStatus `json:"media"`
}

What "Commit and push" did. Media syncs FIRST so the commit records the manifest alongside the authored state, and a media failure never blocks the commit — it is reported here instead. Ref: #/components/schemas/CommitResult

func (*CommitResult) Decode

func (s *CommitResult) Decode(d *jx.Decoder) error

Decode decodes CommitResult from json.

func (*CommitResult) Encode

func (s *CommitResult) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommitResult) GetCommit

func (s *CommitResult) GetCommit() OptCommitStatus

GetCommit returns the value of Commit.

func (*CommitResult) GetMedia

func (s *CommitResult) GetMedia() OptMediaPushStatus

GetMedia returns the value of Media.

func (*CommitResult) GetPush

func (s *CommitResult) GetPush() OptPushStatus

GetPush returns the value of Push.

func (*CommitResult) MarshalJSON

func (s *CommitResult) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommitResult) SetCommit

func (s *CommitResult) SetCommit(val OptCommitStatus)

SetCommit sets the value of Commit.

func (*CommitResult) SetMedia

func (s *CommitResult) SetMedia(val OptMediaPushStatus)

SetMedia sets the value of Media.

func (*CommitResult) SetPush

func (s *CommitResult) SetPush(val OptPushStatus)

SetPush sets the value of Push.

func (*CommitResult) UnmarshalJSON

func (s *CommitResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CommitStatus

type CommitStatus struct {
	Committed bool      `json:"committed"`
	Hash      OptString `json:"hash"`
	// Why not, when it did not.
	Reason OptString `json:"reason"`
}

Ref: #/components/schemas/CommitStatus

func (*CommitStatus) Decode

func (s *CommitStatus) Decode(d *jx.Decoder) error

Decode decodes CommitStatus from json.

func (*CommitStatus) Encode

func (s *CommitStatus) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*CommitStatus) GetCommitted

func (s *CommitStatus) GetCommitted() bool

GetCommitted returns the value of Committed.

func (*CommitStatus) GetHash

func (s *CommitStatus) GetHash() OptString

GetHash returns the value of Hash.

func (*CommitStatus) GetReason

func (s *CommitStatus) GetReason() OptString

GetReason returns the value of Reason.

func (*CommitStatus) MarshalJSON

func (s *CommitStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CommitStatus) SetCommitted

func (s *CommitStatus) SetCommitted(val bool)

SetCommitted sets the value of Committed.

func (*CommitStatus) SetHash

func (s *CommitStatus) SetHash(val OptString)

SetHash sets the value of Hash.

func (*CommitStatus) SetReason

func (s *CommitStatus) SetReason(val OptString)

SetReason sets the value of Reason.

func (*CommitStatus) UnmarshalJSON

func (s *CommitStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigYAML

type ConfigYAML struct {
	Yaml   string `json:"yaml"`
	Exists bool   `json:"exists"`
}

The project's settings file as TEXT, comments and all. Secrets are masked on the way out: this is for reading and editing structure, never for recovering a value someone stored. Ref: #/components/schemas/ConfigYAML

func (*ConfigYAML) Decode

func (s *ConfigYAML) Decode(d *jx.Decoder) error

Decode decodes ConfigYAML from json.

func (*ConfigYAML) Encode

func (s *ConfigYAML) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ConfigYAML) GetExists

func (s *ConfigYAML) GetExists() bool

GetExists returns the value of Exists.

func (*ConfigYAML) GetYaml

func (s *ConfigYAML) GetYaml() string

GetYaml returns the value of Yaml.

func (*ConfigYAML) MarshalJSON

func (s *ConfigYAML) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigYAML) SetExists

func (s *ConfigYAML) SetExists(val bool)

SetExists sets the value of Exists.

func (*ConfigYAML) SetYaml

func (s *ConfigYAML) SetYaml(val string)

SetYaml sets the value of Yaml.

func (*ConfigYAML) UnmarshalJSON

func (s *ConfigYAML) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ConfigYAMLEdit

type ConfigYAMLEdit struct {
	Yaml string `json:"yaml"`
}

Ref: #/components/schemas/ConfigYAMLEdit

func (*ConfigYAMLEdit) Decode

func (s *ConfigYAMLEdit) Decode(d *jx.Decoder) error

Decode decodes ConfigYAMLEdit from json.

func (*ConfigYAMLEdit) Encode

func (s *ConfigYAMLEdit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ConfigYAMLEdit) GetYaml

func (s *ConfigYAMLEdit) GetYaml() string

GetYaml returns the value of Yaml.

func (*ConfigYAMLEdit) MarshalJSON

func (s *ConfigYAMLEdit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ConfigYAMLEdit) SetYaml

func (s *ConfigYAMLEdit) SetYaml(val string)

SetYaml sets the value of Yaml.

func (*ConfigYAMLEdit) UnmarshalJSON

func (s *ConfigYAMLEdit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Connection

type Connection struct {
	Platform Platform `json:"platform"`
	Enabled  bool     `json:"enabled"`
	// What the configuration implies about this platform's token.
	Health string `json:"health"`
	// RFC3339, where the platform tracks an expiry at all.
	ExpiresAt OptString `json:"expires_at"`
	// Set only by the live probe. The static view leaves it false, so a caller can tell "not checked" from
	// "checked and fine".
	Checked OptBool `json:"checked"`
	// What the live probe found.
	Detail OptString `json:"detail"`
}

Ref: #/components/schemas/Connection

func (*Connection) Decode

func (s *Connection) Decode(d *jx.Decoder) error

Decode decodes Connection from json.

func (*Connection) Encode

func (s *Connection) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Connection) GetChecked

func (s *Connection) GetChecked() OptBool

GetChecked returns the value of Checked.

func (*Connection) GetDetail

func (s *Connection) GetDetail() OptString

GetDetail returns the value of Detail.

func (*Connection) GetEnabled

func (s *Connection) GetEnabled() bool

GetEnabled returns the value of Enabled.

func (*Connection) GetExpiresAt

func (s *Connection) GetExpiresAt() OptString

GetExpiresAt returns the value of ExpiresAt.

func (*Connection) GetHealth

func (s *Connection) GetHealth() string

GetHealth returns the value of Health.

func (*Connection) GetPlatform

func (s *Connection) GetPlatform() Platform

GetPlatform returns the value of Platform.

func (*Connection) MarshalJSON

func (s *Connection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Connection) SetChecked

func (s *Connection) SetChecked(val OptBool)

SetChecked sets the value of Checked.

func (*Connection) SetDetail

func (s *Connection) SetDetail(val OptString)

SetDetail sets the value of Detail.

func (*Connection) SetEnabled

func (s *Connection) SetEnabled(val bool)

SetEnabled sets the value of Enabled.

func (*Connection) SetExpiresAt

func (s *Connection) SetExpiresAt(val OptString)

SetExpiresAt sets the value of ExpiresAt.

func (*Connection) SetHealth

func (s *Connection) SetHealth(val string)

SetHealth sets the value of Health.

func (*Connection) SetPlatform

func (s *Connection) SetPlatform(val Platform)

SetPlatform sets the value of Platform.

func (*Connection) UnmarshalJSON

func (s *Connection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Connection) Validate

func (s *Connection) Validate() error

type Connections

type Connections struct {
	Platforms []Connection `json:"platforms"`
}

Ref: #/components/schemas/Connections

func (*Connections) Decode

func (s *Connections) Decode(d *jx.Decoder) error

Decode decodes Connections from json.

func (*Connections) Encode

func (s *Connections) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Connections) GetPlatforms

func (s *Connections) GetPlatforms() []Connection

GetPlatforms returns the value of Platforms.

func (*Connections) MarshalJSON

func (s *Connections) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Connections) SetPlatforms

func (s *Connections) SetPlatforms(val []Connection)

SetPlatforms sets the value of Platforms.

func (*Connections) UnmarshalJSON

func (s *Connections) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Connections) Validate

func (s *Connections) Validate() error

type Cost

type Cost struct {
	// ISO code.
	Currency string `json:"currency"`
	// What is priced.
	Unit    CostUnit `json:"unit"`
	PerUnit float64  `json:"per_unit"`
	// Characters for VO, seconds for music; zero means a flat rate.
	Magnitude OptFloat64 `json:"magnitude"`
	Count     int        `json:"count"`
	Amount    float64    `json:"amount"`
	Estimated bool       `json:"estimated"`
}

What something costs or is estimated to. `estimated` is the difference between a quote and a bill, and the studio shows it as one. Ref: #/components/schemas/Cost

func (*Cost) Decode

func (s *Cost) Decode(d *jx.Decoder) error

Decode decodes Cost from json.

func (*Cost) Encode

func (s *Cost) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Cost) GetAmount

func (s *Cost) GetAmount() float64

GetAmount returns the value of Amount.

func (*Cost) GetCount

func (s *Cost) GetCount() int

GetCount returns the value of Count.

func (*Cost) GetCurrency

func (s *Cost) GetCurrency() string

GetCurrency returns the value of Currency.

func (*Cost) GetEstimated

func (s *Cost) GetEstimated() bool

GetEstimated returns the value of Estimated.

func (*Cost) GetMagnitude

func (s *Cost) GetMagnitude() OptFloat64

GetMagnitude returns the value of Magnitude.

func (*Cost) GetPerUnit

func (s *Cost) GetPerUnit() float64

GetPerUnit returns the value of PerUnit.

func (*Cost) GetUnit

func (s *Cost) GetUnit() CostUnit

GetUnit returns the value of Unit.

func (*Cost) MarshalJSON

func (s *Cost) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Cost) SetAmount

func (s *Cost) SetAmount(val float64)

SetAmount sets the value of Amount.

func (*Cost) SetCount

func (s *Cost) SetCount(val int)

SetCount sets the value of Count.

func (*Cost) SetCurrency

func (s *Cost) SetCurrency(val string)

SetCurrency sets the value of Currency.

func (*Cost) SetEstimated

func (s *Cost) SetEstimated(val bool)

SetEstimated sets the value of Estimated.

func (*Cost) SetMagnitude

func (s *Cost) SetMagnitude(val OptFloat64)

SetMagnitude sets the value of Magnitude.

func (*Cost) SetPerUnit

func (s *Cost) SetPerUnit(val float64)

SetPerUnit sets the value of PerUnit.

func (*Cost) SetUnit

func (s *Cost) SetUnit(val CostUnit)

SetUnit sets the value of Unit.

func (*Cost) UnmarshalJSON

func (s *Cost) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Cost) Validate

func (s *Cost) Validate() error

type CostUnit

type CostUnit string

What is priced.

const (
	CostUnitImage  CostUnit = "image"
	CostUnitVo     CostUnit = "vo"
	CostUnitMusic  CostUnit = "music"
	CostUnitSocial CostUnit = "social"
)

func (CostUnit) AllValues

func (CostUnit) AllValues() []CostUnit

AllValues returns all CostUnit values.

func (*CostUnit) Decode

func (s *CostUnit) Decode(d *jx.Decoder) error

Decode decodes CostUnit from json.

func (CostUnit) Encode

func (s CostUnit) Encode(e *jx.Encoder)

Encode encodes CostUnit as json.

func (CostUnit) MarshalJSON

func (s CostUnit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (CostUnit) MarshalText

func (s CostUnit) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*CostUnit) UnmarshalJSON

func (s *CostUnit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*CostUnit) UnmarshalText

func (s *CostUnit) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (CostUnit) Validate

func (s CostUnit) Validate() error

type CreateAvatarBadRequest

type CreateAvatarBadRequest Error

func (*CreateAvatarBadRequest) Decode

func (s *CreateAvatarBadRequest) Decode(d *jx.Decoder) error

Decode decodes CreateAvatarBadRequest from json.

func (*CreateAvatarBadRequest) Encode

func (s *CreateAvatarBadRequest) Encode(e *jx.Encoder)

Encode encodes CreateAvatarBadRequest as json.

func (*CreateAvatarBadRequest) MarshalJSON

func (s *CreateAvatarBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateAvatarBadRequest) UnmarshalJSON

func (s *CreateAvatarBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateAvatarInternalServerError

type CreateAvatarInternalServerError Error

func (*CreateAvatarInternalServerError) Decode

Decode decodes CreateAvatarInternalServerError from json.

func (*CreateAvatarInternalServerError) Encode

Encode encodes CreateAvatarInternalServerError as json.

func (*CreateAvatarInternalServerError) MarshalJSON

func (s *CreateAvatarInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateAvatarInternalServerError) UnmarshalJSON

func (s *CreateAvatarInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateAvatarRes

type CreateAvatarRes interface {
	// contains filtered or unexported methods
}

type CreateReelBadRequest

type CreateReelBadRequest Error

func (*CreateReelBadRequest) Decode

func (s *CreateReelBadRequest) Decode(d *jx.Decoder) error

Decode decodes CreateReelBadRequest from json.

func (*CreateReelBadRequest) Encode

func (s *CreateReelBadRequest) Encode(e *jx.Encoder)

Encode encodes CreateReelBadRequest as json.

func (*CreateReelBadRequest) MarshalJSON

func (s *CreateReelBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateReelBadRequest) UnmarshalJSON

func (s *CreateReelBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateReelConflict

type CreateReelConflict Error

func (*CreateReelConflict) Decode

func (s *CreateReelConflict) Decode(d *jx.Decoder) error

Decode decodes CreateReelConflict from json.

func (*CreateReelConflict) Encode

func (s *CreateReelConflict) Encode(e *jx.Encoder)

Encode encodes CreateReelConflict as json.

func (*CreateReelConflict) MarshalJSON

func (s *CreateReelConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateReelConflict) UnmarshalJSON

func (s *CreateReelConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateReelInternalServerError

type CreateReelInternalServerError Error

func (*CreateReelInternalServerError) Decode

Decode decodes CreateReelInternalServerError from json.

func (*CreateReelInternalServerError) Encode

Encode encodes CreateReelInternalServerError as json.

func (*CreateReelInternalServerError) MarshalJSON

func (s *CreateReelInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateReelInternalServerError) UnmarshalJSON

func (s *CreateReelInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateReelRes

type CreateReelRes interface {
	// contains filtered or unexported methods
}

type CreateThemeBadRequest

type CreateThemeBadRequest Error

func (*CreateThemeBadRequest) Decode

func (s *CreateThemeBadRequest) Decode(d *jx.Decoder) error

Decode decodes CreateThemeBadRequest from json.

func (*CreateThemeBadRequest) Encode

func (s *CreateThemeBadRequest) Encode(e *jx.Encoder)

Encode encodes CreateThemeBadRequest as json.

func (*CreateThemeBadRequest) MarshalJSON

func (s *CreateThemeBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateThemeBadRequest) UnmarshalJSON

func (s *CreateThemeBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type CreateThemeRes

type CreateThemeRes interface {
	// contains filtered or unexported methods
}

type CreateThemeServiceUnavailable

type CreateThemeServiceUnavailable Error

func (*CreateThemeServiceUnavailable) Decode

Decode decodes CreateThemeServiceUnavailable from json.

func (*CreateThemeServiceUnavailable) Encode

Encode encodes CreateThemeServiceUnavailable as json.

func (*CreateThemeServiceUnavailable) MarshalJSON

func (s *CreateThemeServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*CreateThemeServiceUnavailable) UnmarshalJSON

func (s *CreateThemeServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DirectionEdit

type DirectionEdit struct {
	Direction string `json:"direction"`
}

Ref: #/components/schemas/DirectionEdit

func (*DirectionEdit) Decode

func (s *DirectionEdit) Decode(d *jx.Decoder) error

Decode decodes DirectionEdit from json.

func (*DirectionEdit) Encode

func (s *DirectionEdit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*DirectionEdit) GetDirection

func (s *DirectionEdit) GetDirection() string

GetDirection returns the value of Direction.

func (*DirectionEdit) MarshalJSON

func (s *DirectionEdit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DirectionEdit) SetDirection

func (s *DirectionEdit) SetDirection(val string)

SetDirection sets the value of Direction.

func (*DirectionEdit) UnmarshalJSON

func (s *DirectionEdit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DuplicateReelBadRequest

type DuplicateReelBadRequest Error

func (*DuplicateReelBadRequest) Decode

func (s *DuplicateReelBadRequest) Decode(d *jx.Decoder) error

Decode decodes DuplicateReelBadRequest from json.

func (*DuplicateReelBadRequest) Encode

func (s *DuplicateReelBadRequest) Encode(e *jx.Encoder)

Encode encodes DuplicateReelBadRequest as json.

func (*DuplicateReelBadRequest) MarshalJSON

func (s *DuplicateReelBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DuplicateReelBadRequest) UnmarshalJSON

func (s *DuplicateReelBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DuplicateReelConflict

type DuplicateReelConflict Error

func (*DuplicateReelConflict) Decode

func (s *DuplicateReelConflict) Decode(d *jx.Decoder) error

Decode decodes DuplicateReelConflict from json.

func (*DuplicateReelConflict) Encode

func (s *DuplicateReelConflict) Encode(e *jx.Encoder)

Encode encodes DuplicateReelConflict as json.

func (*DuplicateReelConflict) MarshalJSON

func (s *DuplicateReelConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DuplicateReelConflict) UnmarshalJSON

func (s *DuplicateReelConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DuplicateReelInternalServerError

type DuplicateReelInternalServerError Error

func (*DuplicateReelInternalServerError) Decode

Decode decodes DuplicateReelInternalServerError from json.

func (*DuplicateReelInternalServerError) Encode

Encode encodes DuplicateReelInternalServerError as json.

func (*DuplicateReelInternalServerError) MarshalJSON

func (s *DuplicateReelInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DuplicateReelInternalServerError) UnmarshalJSON

func (s *DuplicateReelInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DuplicateReelNotFound

type DuplicateReelNotFound Error

func (*DuplicateReelNotFound) Decode

func (s *DuplicateReelNotFound) Decode(d *jx.Decoder) error

Decode decodes DuplicateReelNotFound from json.

func (*DuplicateReelNotFound) Encode

func (s *DuplicateReelNotFound) Encode(e *jx.Encoder)

Encode encodes DuplicateReelNotFound as json.

func (*DuplicateReelNotFound) MarshalJSON

func (s *DuplicateReelNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*DuplicateReelNotFound) UnmarshalJSON

func (s *DuplicateReelNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type DuplicateReelParams

type DuplicateReelParams struct {
	// The reel's slug.
	Slug string
}

DuplicateReelParams is parameters of duplicateReel operation.

type DuplicateReelRes

type DuplicateReelRes interface {
	// contains filtered or unexported methods
}

type Error

type Error struct {
	// What went wrong, in a sentence meant for a person.
	Error string `json:"error"`
}

Ref: #/components/schemas/Error

func (*Error) Decode

func (s *Error) Decode(d *jx.Decoder) error

Decode decodes Error from json.

func (*Error) Encode

func (s *Error) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Error) GetError

func (s *Error) GetError() string

GetError returns the value of Error.

func (*Error) MarshalJSON

func (s *Error) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Error) SetError

func (s *Error) SetError(val string)

SetError sets the value of Error.

func (*Error) UnmarshalJSON

func (s *Error) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ErrorHandler

type ErrorHandler = ogenerrors.ErrorHandler

ErrorHandler is error handler.

type Font

type Font struct {
	Name string `json:"name"`
	// Where the face comes from — the embedded floor, the user library, or the project's own. keryx
	// renders text on any host because the floor needs no system fonts at all (spec 0057).
	Source string `json:"source"`
}

Ref: #/components/schemas/Font

func (*Font) Decode

func (s *Font) Decode(d *jx.Decoder) error

Decode decodes Font from json.

func (*Font) Encode

func (s *Font) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Font) GetName

func (s *Font) GetName() string

GetName returns the value of Name.

func (*Font) GetSource

func (s *Font) GetSource() string

GetSource returns the value of Source.

func (*Font) MarshalJSON

func (s *Font) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Font) SetName

func (s *Font) SetName(val string)

SetName sets the value of Name.

func (*Font) SetSource

func (s *Font) SetSource(val string)

SetSource sets the value of Source.

func (*Font) UnmarshalJSON

func (s *Font) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Fonts

type Fonts struct {
	Fonts []Font `json:"fonts"`
}

Ref: #/components/schemas/Fonts

func (*Fonts) Decode

func (s *Fonts) Decode(d *jx.Decoder) error

Decode decodes Fonts from json.

func (*Fonts) Encode

func (s *Fonts) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Fonts) GetFonts

func (s *Fonts) GetFonts() []Font

GetFonts returns the value of Fonts.

func (*Fonts) MarshalJSON

func (s *Fonts) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Fonts) SetFonts

func (s *Fonts) SetFonts(val []Font)

SetFonts sets the value of Fonts.

func (*Fonts) UnmarshalJSON

func (s *Fonts) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Fonts) Validate

func (s *Fonts) Validate() error

type ForgetProjectBadRequest

type ForgetProjectBadRequest Error

func (*ForgetProjectBadRequest) Decode

func (s *ForgetProjectBadRequest) Decode(d *jx.Decoder) error

Decode decodes ForgetProjectBadRequest from json.

func (*ForgetProjectBadRequest) Encode

func (s *ForgetProjectBadRequest) Encode(e *jx.Encoder)

Encode encodes ForgetProjectBadRequest as json.

func (*ForgetProjectBadRequest) MarshalJSON

func (s *ForgetProjectBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ForgetProjectBadRequest) UnmarshalJSON

func (s *ForgetProjectBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ForgetProjectInternalServerError

type ForgetProjectInternalServerError Error

func (*ForgetProjectInternalServerError) Decode

Decode decodes ForgetProjectInternalServerError from json.

func (*ForgetProjectInternalServerError) Encode

Encode encodes ForgetProjectInternalServerError as json.

func (*ForgetProjectInternalServerError) MarshalJSON

func (s *ForgetProjectInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ForgetProjectInternalServerError) UnmarshalJSON

func (s *ForgetProjectInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ForgetProjectRes

type ForgetProjectRes interface {
	// contains filtered or unexported methods
}

type GCReport

type GCReport struct {
	// Distinct blobs some manifest or ledger still needs.
	Referenced int `json:"referenced"`
	// Store keys nothing references.
	Orphans int `json:"orphans"`
	// Total size of the orphans; unknown sizes count zero.
	OrphanBytes int64 `json:"orphan_bytes"`
	Deleted     int   `json:"deleted"`
	Pruned      bool  `json:"pruned"`
	// A capped sample of orphan keys, so the number can be sanity-checked.
	SampleOrphan []string `json:"sample_orphan"`
	// Directories holding a manifest that no kind enumerated. Non-empty means the live set is incomplete
	// and a prune was REFUSED — deleting against an incomplete picture is how a store loses something it
	// needed.
	Unclaimed []string `json:"unclaimed"`
}

What a prune WOULD reclaim. Nothing here has been deleted: `deleted` is zero unless a prune ran, and this endpoint never runs one. Ref: #/components/schemas/GCReport

func (*GCReport) Decode

func (s *GCReport) Decode(d *jx.Decoder) error

Decode decodes GCReport from json.

func (*GCReport) Encode

func (s *GCReport) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GCReport) GetDeleted

func (s *GCReport) GetDeleted() int

GetDeleted returns the value of Deleted.

func (*GCReport) GetOrphanBytes

func (s *GCReport) GetOrphanBytes() int64

GetOrphanBytes returns the value of OrphanBytes.

func (*GCReport) GetOrphans

func (s *GCReport) GetOrphans() int

GetOrphans returns the value of Orphans.

func (*GCReport) GetPruned

func (s *GCReport) GetPruned() bool

GetPruned returns the value of Pruned.

func (*GCReport) GetReferenced

func (s *GCReport) GetReferenced() int

GetReferenced returns the value of Referenced.

func (*GCReport) GetSampleOrphan

func (s *GCReport) GetSampleOrphan() []string

GetSampleOrphan returns the value of SampleOrphan.

func (*GCReport) GetUnclaimed

func (s *GCReport) GetUnclaimed() []string

GetUnclaimed returns the value of Unclaimed.

func (*GCReport) MarshalJSON

func (s *GCReport) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GCReport) SetDeleted

func (s *GCReport) SetDeleted(val int)

SetDeleted sets the value of Deleted.

func (*GCReport) SetOrphanBytes

func (s *GCReport) SetOrphanBytes(val int64)

SetOrphanBytes sets the value of OrphanBytes.

func (*GCReport) SetOrphans

func (s *GCReport) SetOrphans(val int)

SetOrphans sets the value of Orphans.

func (*GCReport) SetPruned

func (s *GCReport) SetPruned(val bool)

SetPruned sets the value of Pruned.

func (*GCReport) SetReferenced

func (s *GCReport) SetReferenced(val int)

SetReferenced sets the value of Referenced.

func (*GCReport) SetSampleOrphan

func (s *GCReport) SetSampleOrphan(val []string)

SetSampleOrphan sets the value of SampleOrphan.

func (*GCReport) SetUnclaimed

func (s *GCReport) SetUnclaimed(val []string)

SetUnclaimed sets the value of Unclaimed.

func (*GCReport) UnmarshalJSON

func (s *GCReport) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenSocialBadRequest

type GenSocialBadRequest Error

func (*GenSocialBadRequest) Decode

func (s *GenSocialBadRequest) Decode(d *jx.Decoder) error

Decode decodes GenSocialBadRequest from json.

func (*GenSocialBadRequest) Encode

func (s *GenSocialBadRequest) Encode(e *jx.Encoder)

Encode encodes GenSocialBadRequest as json.

func (*GenSocialBadRequest) MarshalJSON

func (s *GenSocialBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenSocialBadRequest) UnmarshalJSON

func (s *GenSocialBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenSocialConflict

type GenSocialConflict Error

func (*GenSocialConflict) Decode

func (s *GenSocialConflict) Decode(d *jx.Decoder) error

Decode decodes GenSocialConflict from json.

func (*GenSocialConflict) Encode

func (s *GenSocialConflict) Encode(e *jx.Encoder)

Encode encodes GenSocialConflict as json.

func (*GenSocialConflict) MarshalJSON

func (s *GenSocialConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenSocialConflict) UnmarshalJSON

func (s *GenSocialConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenSocialNotFound

type GenSocialNotFound Error

func (*GenSocialNotFound) Decode

func (s *GenSocialNotFound) Decode(d *jx.Decoder) error

Decode decodes GenSocialNotFound from json.

func (*GenSocialNotFound) Encode

func (s *GenSocialNotFound) Encode(e *jx.Encoder)

Encode encodes GenSocialNotFound as json.

func (*GenSocialNotFound) MarshalJSON

func (s *GenSocialNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenSocialNotFound) UnmarshalJSON

func (s *GenSocialNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenSocialParams

type GenSocialParams struct {
	// The reel's slug.
	Slug     string
	Platform Platform
}

GenSocialParams is parameters of genSocial operation.

type GenSocialRes

type GenSocialRes interface {
	// contains filtered or unexported methods
}

type GenSocialServiceUnavailable

type GenSocialServiceUnavailable Error

func (*GenSocialServiceUnavailable) Decode

Decode decodes GenSocialServiceUnavailable from json.

func (*GenSocialServiceUnavailable) Encode

func (s *GenSocialServiceUnavailable) Encode(e *jx.Encoder)

Encode encodes GenSocialServiceUnavailable as json.

func (*GenSocialServiceUnavailable) MarshalJSON

func (s *GenSocialServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenSocialServiceUnavailable) UnmarshalJSON

func (s *GenSocialServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCardBadRequest

type GenerateCardBadRequest Error

func (*GenerateCardBadRequest) Decode

func (s *GenerateCardBadRequest) Decode(d *jx.Decoder) error

Decode decodes GenerateCardBadRequest from json.

func (*GenerateCardBadRequest) Encode

func (s *GenerateCardBadRequest) Encode(e *jx.Encoder)

Encode encodes GenerateCardBadRequest as json.

func (*GenerateCardBadRequest) MarshalJSON

func (s *GenerateCardBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCardBadRequest) UnmarshalJSON

func (s *GenerateCardBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCardConflict

type GenerateCardConflict Error

func (*GenerateCardConflict) Decode

func (s *GenerateCardConflict) Decode(d *jx.Decoder) error

Decode decodes GenerateCardConflict from json.

func (*GenerateCardConflict) Encode

func (s *GenerateCardConflict) Encode(e *jx.Encoder)

Encode encodes GenerateCardConflict as json.

func (*GenerateCardConflict) MarshalJSON

func (s *GenerateCardConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCardConflict) UnmarshalJSON

func (s *GenerateCardConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCardInternalServerError

type GenerateCardInternalServerError Error

func (*GenerateCardInternalServerError) Decode

Decode decodes GenerateCardInternalServerError from json.

func (*GenerateCardInternalServerError) Encode

Encode encodes GenerateCardInternalServerError as json.

func (*GenerateCardInternalServerError) MarshalJSON

func (s *GenerateCardInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCardInternalServerError) UnmarshalJSON

func (s *GenerateCardInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCardNotFound

type GenerateCardNotFound Error

func (*GenerateCardNotFound) Decode

func (s *GenerateCardNotFound) Decode(d *jx.Decoder) error

Decode decodes GenerateCardNotFound from json.

func (*GenerateCardNotFound) Encode

func (s *GenerateCardNotFound) Encode(e *jx.Encoder)

Encode encodes GenerateCardNotFound as json.

func (*GenerateCardNotFound) MarshalJSON

func (s *GenerateCardNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCardNotFound) UnmarshalJSON

func (s *GenerateCardNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCardParams

type GenerateCardParams struct {
	// The reel's slug.
	Slug string
	// The card's 1-based position in the storyboard.
	N int
	// `true` to proceed past the spend cap. The gate exists to stop a runaway, so confirming is a decision
	// the caller makes once and re-sends.
	Confirm OptSpendConfirm `json:",omitempty,omitzero"`
}

GenerateCardParams is parameters of generateCard operation.

type GenerateCardRes

type GenerateCardRes interface {
	// contains filtered or unexported methods
}

type GenerateCardServiceUnavailable

type GenerateCardServiceUnavailable Error

func (*GenerateCardServiceUnavailable) Decode

Decode decodes GenerateCardServiceUnavailable from json.

func (*GenerateCardServiceUnavailable) Encode

Encode encodes GenerateCardServiceUnavailable as json.

func (*GenerateCardServiceUnavailable) MarshalJSON

func (s *GenerateCardServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCardServiceUnavailable) UnmarshalJSON

func (s *GenerateCardServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCardVOBadRequest

type GenerateCardVOBadRequest Error

func (*GenerateCardVOBadRequest) Decode

func (s *GenerateCardVOBadRequest) Decode(d *jx.Decoder) error

Decode decodes GenerateCardVOBadRequest from json.

func (*GenerateCardVOBadRequest) Encode

func (s *GenerateCardVOBadRequest) Encode(e *jx.Encoder)

Encode encodes GenerateCardVOBadRequest as json.

func (*GenerateCardVOBadRequest) MarshalJSON

func (s *GenerateCardVOBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCardVOBadRequest) UnmarshalJSON

func (s *GenerateCardVOBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCardVOConflict

type GenerateCardVOConflict Error

func (*GenerateCardVOConflict) Decode

func (s *GenerateCardVOConflict) Decode(d *jx.Decoder) error

Decode decodes GenerateCardVOConflict from json.

func (*GenerateCardVOConflict) Encode

func (s *GenerateCardVOConflict) Encode(e *jx.Encoder)

Encode encodes GenerateCardVOConflict as json.

func (*GenerateCardVOConflict) MarshalJSON

func (s *GenerateCardVOConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCardVOConflict) UnmarshalJSON

func (s *GenerateCardVOConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCardVOInternalServerError

type GenerateCardVOInternalServerError Error

func (*GenerateCardVOInternalServerError) Decode

Decode decodes GenerateCardVOInternalServerError from json.

func (*GenerateCardVOInternalServerError) Encode

Encode encodes GenerateCardVOInternalServerError as json.

func (*GenerateCardVOInternalServerError) MarshalJSON

func (s *GenerateCardVOInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCardVOInternalServerError) UnmarshalJSON

func (s *GenerateCardVOInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCardVONotFound

type GenerateCardVONotFound Error

func (*GenerateCardVONotFound) Decode

func (s *GenerateCardVONotFound) Decode(d *jx.Decoder) error

Decode decodes GenerateCardVONotFound from json.

func (*GenerateCardVONotFound) Encode

func (s *GenerateCardVONotFound) Encode(e *jx.Encoder)

Encode encodes GenerateCardVONotFound as json.

func (*GenerateCardVONotFound) MarshalJSON

func (s *GenerateCardVONotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCardVONotFound) UnmarshalJSON

func (s *GenerateCardVONotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCardVOParams

type GenerateCardVOParams struct {
	// The reel's slug.
	Slug string
	// The card's 1-based position in the storyboard.
	N int
	// `true` to proceed past the spend cap. The gate exists to stop a runaway, so confirming is a decision
	// the caller makes once and re-sends.
	Confirm OptSpendConfirm `json:",omitempty,omitzero"`
}

GenerateCardVOParams is parameters of generateCardVO operation.

type GenerateCardVORes

type GenerateCardVORes interface {
	// contains filtered or unexported methods
}

type GenerateCardVOServiceUnavailable

type GenerateCardVOServiceUnavailable Error

func (*GenerateCardVOServiceUnavailable) Decode

Decode decodes GenerateCardVOServiceUnavailable from json.

func (*GenerateCardVOServiceUnavailable) Encode

Encode encodes GenerateCardVOServiceUnavailable as json.

func (*GenerateCardVOServiceUnavailable) MarshalJSON

func (s *GenerateCardVOServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCardVOServiceUnavailable) UnmarshalJSON

func (s *GenerateCardVOServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCoverBadRequest

type GenerateCoverBadRequest Error

func (*GenerateCoverBadRequest) Decode

func (s *GenerateCoverBadRequest) Decode(d *jx.Decoder) error

Decode decodes GenerateCoverBadRequest from json.

func (*GenerateCoverBadRequest) Encode

func (s *GenerateCoverBadRequest) Encode(e *jx.Encoder)

Encode encodes GenerateCoverBadRequest as json.

func (*GenerateCoverBadRequest) MarshalJSON

func (s *GenerateCoverBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCoverBadRequest) UnmarshalJSON

func (s *GenerateCoverBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCoverConflict

type GenerateCoverConflict Error

func (*GenerateCoverConflict) Decode

func (s *GenerateCoverConflict) Decode(d *jx.Decoder) error

Decode decodes GenerateCoverConflict from json.

func (*GenerateCoverConflict) Encode

func (s *GenerateCoverConflict) Encode(e *jx.Encoder)

Encode encodes GenerateCoverConflict as json.

func (*GenerateCoverConflict) MarshalJSON

func (s *GenerateCoverConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCoverConflict) UnmarshalJSON

func (s *GenerateCoverConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCoverInternalServerError

type GenerateCoverInternalServerError Error

func (*GenerateCoverInternalServerError) Decode

Decode decodes GenerateCoverInternalServerError from json.

func (*GenerateCoverInternalServerError) Encode

Encode encodes GenerateCoverInternalServerError as json.

func (*GenerateCoverInternalServerError) MarshalJSON

func (s *GenerateCoverInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCoverInternalServerError) UnmarshalJSON

func (s *GenerateCoverInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCoverNotFound

type GenerateCoverNotFound Error

func (*GenerateCoverNotFound) Decode

func (s *GenerateCoverNotFound) Decode(d *jx.Decoder) error

Decode decodes GenerateCoverNotFound from json.

func (*GenerateCoverNotFound) Encode

func (s *GenerateCoverNotFound) Encode(e *jx.Encoder)

Encode encodes GenerateCoverNotFound as json.

func (*GenerateCoverNotFound) MarshalJSON

func (s *GenerateCoverNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCoverNotFound) UnmarshalJSON

func (s *GenerateCoverNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateCoverParams

type GenerateCoverParams struct {
	// The reel's slug.
	Slug string
	// `true` to proceed past the spend cap. The gate exists to stop a runaway, so confirming is a decision
	// the caller makes once and re-sends.
	Confirm OptSpendConfirm `json:",omitempty,omitzero"`
}

GenerateCoverParams is parameters of generateCover operation.

type GenerateCoverRes

type GenerateCoverRes interface {
	// contains filtered or unexported methods
}

type GenerateCoverServiceUnavailable

type GenerateCoverServiceUnavailable Error

func (*GenerateCoverServiceUnavailable) Decode

Decode decodes GenerateCoverServiceUnavailable from json.

func (*GenerateCoverServiceUnavailable) Encode

Encode encodes GenerateCoverServiceUnavailable as json.

func (*GenerateCoverServiceUnavailable) MarshalJSON

func (s *GenerateCoverServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateCoverServiceUnavailable) UnmarshalJSON

func (s *GenerateCoverServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateMusicBadRequest

type GenerateMusicBadRequest Error

func (*GenerateMusicBadRequest) Decode

func (s *GenerateMusicBadRequest) Decode(d *jx.Decoder) error

Decode decodes GenerateMusicBadRequest from json.

func (*GenerateMusicBadRequest) Encode

func (s *GenerateMusicBadRequest) Encode(e *jx.Encoder)

Encode encodes GenerateMusicBadRequest as json.

func (*GenerateMusicBadRequest) MarshalJSON

func (s *GenerateMusicBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateMusicBadRequest) UnmarshalJSON

func (s *GenerateMusicBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateMusicConflict

type GenerateMusicConflict Error

func (*GenerateMusicConflict) Decode

func (s *GenerateMusicConflict) Decode(d *jx.Decoder) error

Decode decodes GenerateMusicConflict from json.

func (*GenerateMusicConflict) Encode

func (s *GenerateMusicConflict) Encode(e *jx.Encoder)

Encode encodes GenerateMusicConflict as json.

func (*GenerateMusicConflict) MarshalJSON

func (s *GenerateMusicConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateMusicConflict) UnmarshalJSON

func (s *GenerateMusicConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateMusicInternalServerError

type GenerateMusicInternalServerError Error

func (*GenerateMusicInternalServerError) Decode

Decode decodes GenerateMusicInternalServerError from json.

func (*GenerateMusicInternalServerError) Encode

Encode encodes GenerateMusicInternalServerError as json.

func (*GenerateMusicInternalServerError) MarshalJSON

func (s *GenerateMusicInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateMusicInternalServerError) UnmarshalJSON

func (s *GenerateMusicInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateMusicNotFound

type GenerateMusicNotFound Error

func (*GenerateMusicNotFound) Decode

func (s *GenerateMusicNotFound) Decode(d *jx.Decoder) error

Decode decodes GenerateMusicNotFound from json.

func (*GenerateMusicNotFound) Encode

func (s *GenerateMusicNotFound) Encode(e *jx.Encoder)

Encode encodes GenerateMusicNotFound as json.

func (*GenerateMusicNotFound) MarshalJSON

func (s *GenerateMusicNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateMusicNotFound) UnmarshalJSON

func (s *GenerateMusicNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateMusicParams

type GenerateMusicParams struct {
	// The reel's slug.
	Slug string
	// `true` to proceed past the spend cap. The gate exists to stop a runaway, so confirming is a decision
	// the caller makes once and re-sends.
	Confirm OptSpendConfirm `json:",omitempty,omitzero"`
}

GenerateMusicParams is parameters of generateMusic operation.

type GenerateMusicRes

type GenerateMusicRes interface {
	// contains filtered or unexported methods
}

type GenerateMusicServiceUnavailable

type GenerateMusicServiceUnavailable Error

func (*GenerateMusicServiceUnavailable) Decode

Decode decodes GenerateMusicServiceUnavailable from json.

func (*GenerateMusicServiceUnavailable) Encode

Encode encodes GenerateMusicServiceUnavailable as json.

func (*GenerateMusicServiceUnavailable) MarshalJSON

func (s *GenerateMusicServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateMusicServiceUnavailable) UnmarshalJSON

func (s *GenerateMusicServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GeneratePortraitBadRequest

type GeneratePortraitBadRequest Error

func (*GeneratePortraitBadRequest) Decode

Decode decodes GeneratePortraitBadRequest from json.

func (*GeneratePortraitBadRequest) Encode

func (s *GeneratePortraitBadRequest) Encode(e *jx.Encoder)

Encode encodes GeneratePortraitBadRequest as json.

func (*GeneratePortraitBadRequest) MarshalJSON

func (s *GeneratePortraitBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GeneratePortraitBadRequest) UnmarshalJSON

func (s *GeneratePortraitBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GeneratePortraitConflict

type GeneratePortraitConflict Error

func (*GeneratePortraitConflict) Decode

func (s *GeneratePortraitConflict) Decode(d *jx.Decoder) error

Decode decodes GeneratePortraitConflict from json.

func (*GeneratePortraitConflict) Encode

func (s *GeneratePortraitConflict) Encode(e *jx.Encoder)

Encode encodes GeneratePortraitConflict as json.

func (*GeneratePortraitConflict) MarshalJSON

func (s *GeneratePortraitConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GeneratePortraitConflict) UnmarshalJSON

func (s *GeneratePortraitConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GeneratePortraitInternalServerError

type GeneratePortraitInternalServerError Error

func (*GeneratePortraitInternalServerError) Decode

Decode decodes GeneratePortraitInternalServerError from json.

func (*GeneratePortraitInternalServerError) Encode

Encode encodes GeneratePortraitInternalServerError as json.

func (*GeneratePortraitInternalServerError) MarshalJSON

func (s *GeneratePortraitInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GeneratePortraitInternalServerError) UnmarshalJSON

func (s *GeneratePortraitInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GeneratePortraitNotFound

type GeneratePortraitNotFound Error

func (*GeneratePortraitNotFound) Decode

func (s *GeneratePortraitNotFound) Decode(d *jx.Decoder) error

Decode decodes GeneratePortraitNotFound from json.

func (*GeneratePortraitNotFound) Encode

func (s *GeneratePortraitNotFound) Encode(e *jx.Encoder)

Encode encodes GeneratePortraitNotFound as json.

func (*GeneratePortraitNotFound) MarshalJSON

func (s *GeneratePortraitNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GeneratePortraitNotFound) UnmarshalJSON

func (s *GeneratePortraitNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GeneratePortraitParams

type GeneratePortraitParams struct {
	// The reel's slug.
	Slug string
	// `true` to proceed past the spend cap. The gate exists to stop a runaway, so confirming is a decision
	// the caller makes once and re-sends.
	Confirm OptSpendConfirm `json:",omitempty,omitzero"`
}

GeneratePortraitParams is parameters of generatePortrait operation.

type GeneratePortraitRes

type GeneratePortraitRes interface {
	// contains filtered or unexported methods
}

type GeneratePortraitServiceUnavailable

type GeneratePortraitServiceUnavailable Error

func (*GeneratePortraitServiceUnavailable) Decode

Decode decodes GeneratePortraitServiceUnavailable from json.

func (*GeneratePortraitServiceUnavailable) Encode

Encode encodes GeneratePortraitServiceUnavailable as json.

func (*GeneratePortraitServiceUnavailable) MarshalJSON

func (s *GeneratePortraitServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GeneratePortraitServiceUnavailable) UnmarshalJSON

func (s *GeneratePortraitServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GenerateRequest

type GenerateRequest struct {
	// How many candidates to produce; the configured default when absent.
	Takes OptInt `json:"takes"`
	// Generate against this theme instead of the reel's. The take is stamped with the theme it came from,
	// so a board mixing two is visible rather than merely wrong.
	Theme OptString `json:"theme"`
	// Cover only: what to depict. It is recorded on the workspace as it is used, so a re-roll does not
	// need it typed again.
	Scene OptString `json:"scene"`
}

Ref: #/components/schemas/GenerateRequest

func (*GenerateRequest) Decode

func (s *GenerateRequest) Decode(d *jx.Decoder) error

Decode decodes GenerateRequest from json.

func (*GenerateRequest) Encode

func (s *GenerateRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GenerateRequest) GetScene

func (s *GenerateRequest) GetScene() OptString

GetScene returns the value of Scene.

func (*GenerateRequest) GetTakes

func (s *GenerateRequest) GetTakes() OptInt

GetTakes returns the value of Takes.

func (*GenerateRequest) GetTheme

func (s *GenerateRequest) GetTheme() OptString

GetTheme returns the value of Theme.

func (*GenerateRequest) MarshalJSON

func (s *GenerateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GenerateRequest) SetScene

func (s *GenerateRequest) SetScene(val OptString)

SetScene sets the value of Scene.

func (*GenerateRequest) SetTakes

func (s *GenerateRequest) SetTakes(val OptInt)

SetTakes sets the value of Takes.

func (*GenerateRequest) SetTheme

func (s *GenerateRequest) SetTheme(val OptString)

SetTheme sets the value of Theme.

func (*GenerateRequest) UnmarshalJSON

func (s *GenerateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*GenerateRequest) Validate

func (s *GenerateRequest) Validate() error

type GetArticleBadRequest

type GetArticleBadRequest Error

func (*GetArticleBadRequest) Decode

func (s *GetArticleBadRequest) Decode(d *jx.Decoder) error

Decode decodes GetArticleBadRequest from json.

func (*GetArticleBadRequest) Encode

func (s *GetArticleBadRequest) Encode(e *jx.Encoder)

Encode encodes GetArticleBadRequest as json.

func (*GetArticleBadRequest) MarshalJSON

func (s *GetArticleBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetArticleBadRequest) UnmarshalJSON

func (s *GetArticleBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetArticleInternalServerError

type GetArticleInternalServerError Error

func (*GetArticleInternalServerError) Decode

Decode decodes GetArticleInternalServerError from json.

func (*GetArticleInternalServerError) Encode

Encode encodes GetArticleInternalServerError as json.

func (*GetArticleInternalServerError) MarshalJSON

func (s *GetArticleInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetArticleInternalServerError) UnmarshalJSON

func (s *GetArticleInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetArticleParams

type GetArticleParams struct {
	// The article's directory in the owning project.
	Bundle string
}

GetArticleParams is parameters of getArticle operation.

type GetArticleRes

type GetArticleRes interface {
	// contains filtered or unexported methods
}

type GetChatHistoryBadRequest

type GetChatHistoryBadRequest Error

func (*GetChatHistoryBadRequest) Decode

func (s *GetChatHistoryBadRequest) Decode(d *jx.Decoder) error

Decode decodes GetChatHistoryBadRequest from json.

func (*GetChatHistoryBadRequest) Encode

func (s *GetChatHistoryBadRequest) Encode(e *jx.Encoder)

Encode encodes GetChatHistoryBadRequest as json.

func (*GetChatHistoryBadRequest) MarshalJSON

func (s *GetChatHistoryBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetChatHistoryBadRequest) UnmarshalJSON

func (s *GetChatHistoryBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetChatHistoryConflict

type GetChatHistoryConflict Error

func (*GetChatHistoryConflict) Decode

func (s *GetChatHistoryConflict) Decode(d *jx.Decoder) error

Decode decodes GetChatHistoryConflict from json.

func (*GetChatHistoryConflict) Encode

func (s *GetChatHistoryConflict) Encode(e *jx.Encoder)

Encode encodes GetChatHistoryConflict as json.

func (*GetChatHistoryConflict) MarshalJSON

func (s *GetChatHistoryConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetChatHistoryConflict) UnmarshalJSON

func (s *GetChatHistoryConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetChatHistoryInternalServerError

type GetChatHistoryInternalServerError Error

func (*GetChatHistoryInternalServerError) Decode

Decode decodes GetChatHistoryInternalServerError from json.

func (*GetChatHistoryInternalServerError) Encode

Encode encodes GetChatHistoryInternalServerError as json.

func (*GetChatHistoryInternalServerError) MarshalJSON

func (s *GetChatHistoryInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetChatHistoryInternalServerError) UnmarshalJSON

func (s *GetChatHistoryInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetChatHistoryNotFound

type GetChatHistoryNotFound Error

func (*GetChatHistoryNotFound) Decode

func (s *GetChatHistoryNotFound) Decode(d *jx.Decoder) error

Decode decodes GetChatHistoryNotFound from json.

func (*GetChatHistoryNotFound) Encode

func (s *GetChatHistoryNotFound) Encode(e *jx.Encoder)

Encode encodes GetChatHistoryNotFound as json.

func (*GetChatHistoryNotFound) MarshalJSON

func (s *GetChatHistoryNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetChatHistoryNotFound) UnmarshalJSON

func (s *GetChatHistoryNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetChatHistoryParams

type GetChatHistoryParams struct {
	// The reel's slug.
	Slug string
}

GetChatHistoryParams is parameters of getChatHistory operation.

type GetChatHistoryRes

type GetChatHistoryRes interface {
	// contains filtered or unexported methods
}

type GetConfigRes

type GetConfigRes interface {
	// contains filtered or unexported methods
}

type GetConfigYAMLInternalServerError

type GetConfigYAMLInternalServerError Error

func (*GetConfigYAMLInternalServerError) Decode

Decode decodes GetConfigYAMLInternalServerError from json.

func (*GetConfigYAMLInternalServerError) Encode

Encode encodes GetConfigYAMLInternalServerError as json.

func (*GetConfigYAMLInternalServerError) MarshalJSON

func (s *GetConfigYAMLInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetConfigYAMLInternalServerError) UnmarshalJSON

func (s *GetConfigYAMLInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetConfigYAMLRes

type GetConfigYAMLRes interface {
	// contains filtered or unexported methods
}

type GetConfigYAMLUnprocessableEntity

type GetConfigYAMLUnprocessableEntity Error

func (*GetConfigYAMLUnprocessableEntity) Decode

Decode decodes GetConfigYAMLUnprocessableEntity from json.

func (*GetConfigYAMLUnprocessableEntity) Encode

Encode encodes GetConfigYAMLUnprocessableEntity as json.

func (*GetConfigYAMLUnprocessableEntity) MarshalJSON

func (s *GetConfigYAMLUnprocessableEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetConfigYAMLUnprocessableEntity) UnmarshalJSON

func (s *GetConfigYAMLUnprocessableEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetJobParams

type GetJobParams struct {
	// The job's id, as returned when it was started.
	ID string
	// The reel's slug.
	Slug string
}

GetJobParams is parameters of getJob operation.

type GetJobRes

type GetJobRes interface {
	// contains filtered or unexported methods
}

type GetOutcomeBadRequest

type GetOutcomeBadRequest Error

func (*GetOutcomeBadRequest) Decode

func (s *GetOutcomeBadRequest) Decode(d *jx.Decoder) error

Decode decodes GetOutcomeBadRequest from json.

func (*GetOutcomeBadRequest) Encode

func (s *GetOutcomeBadRequest) Encode(e *jx.Encoder)

Encode encodes GetOutcomeBadRequest as json.

func (*GetOutcomeBadRequest) MarshalJSON

func (s *GetOutcomeBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOutcomeBadRequest) UnmarshalJSON

func (s *GetOutcomeBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetOutcomeConflict

type GetOutcomeConflict Error

func (*GetOutcomeConflict) Decode

func (s *GetOutcomeConflict) Decode(d *jx.Decoder) error

Decode decodes GetOutcomeConflict from json.

func (*GetOutcomeConflict) Encode

func (s *GetOutcomeConflict) Encode(e *jx.Encoder)

Encode encodes GetOutcomeConflict as json.

func (*GetOutcomeConflict) MarshalJSON

func (s *GetOutcomeConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOutcomeConflict) UnmarshalJSON

func (s *GetOutcomeConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetOutcomeInternalServerError

type GetOutcomeInternalServerError Error

func (*GetOutcomeInternalServerError) Decode

Decode decodes GetOutcomeInternalServerError from json.

func (*GetOutcomeInternalServerError) Encode

Encode encodes GetOutcomeInternalServerError as json.

func (*GetOutcomeInternalServerError) MarshalJSON

func (s *GetOutcomeInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOutcomeInternalServerError) UnmarshalJSON

func (s *GetOutcomeInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetOutcomeNotFound

type GetOutcomeNotFound Error

func (*GetOutcomeNotFound) Decode

func (s *GetOutcomeNotFound) Decode(d *jx.Decoder) error

Decode decodes GetOutcomeNotFound from json.

func (*GetOutcomeNotFound) Encode

func (s *GetOutcomeNotFound) Encode(e *jx.Encoder)

Encode encodes GetOutcomeNotFound as json.

func (*GetOutcomeNotFound) MarshalJSON

func (s *GetOutcomeNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetOutcomeNotFound) UnmarshalJSON

func (s *GetOutcomeNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetOutcomeParams

type GetOutcomeParams struct {
	// The reel's slug.
	Slug string
}

GetOutcomeParams is parameters of getOutcome operation.

type GetOutcomeRes

type GetOutcomeRes interface {
	// contains filtered or unexported methods
}

type GetQuotaBadGateway

type GetQuotaBadGateway Error

func (*GetQuotaBadGateway) Decode

func (s *GetQuotaBadGateway) Decode(d *jx.Decoder) error

Decode decodes GetQuotaBadGateway from json.

func (*GetQuotaBadGateway) Encode

func (s *GetQuotaBadGateway) Encode(e *jx.Encoder)

Encode encodes GetQuotaBadGateway as json.

func (*GetQuotaBadGateway) MarshalJSON

func (s *GetQuotaBadGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetQuotaBadGateway) UnmarshalJSON

func (s *GetQuotaBadGateway) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetQuotaRes

type GetQuotaRes interface {
	// contains filtered or unexported methods
}

type GetQuotaServiceUnavailable

type GetQuotaServiceUnavailable Error

func (*GetQuotaServiceUnavailable) Decode

Decode decodes GetQuotaServiceUnavailable from json.

func (*GetQuotaServiceUnavailable) Encode

func (s *GetQuotaServiceUnavailable) Encode(e *jx.Encoder)

Encode encodes GetQuotaServiceUnavailable as json.

func (*GetQuotaServiceUnavailable) MarshalJSON

func (s *GetQuotaServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetQuotaServiceUnavailable) UnmarshalJSON

func (s *GetQuotaServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetQuotaUnprocessableEntity

type GetQuotaUnprocessableEntity Error

func (*GetQuotaUnprocessableEntity) Decode

Decode decodes GetQuotaUnprocessableEntity from json.

func (*GetQuotaUnprocessableEntity) Encode

func (s *GetQuotaUnprocessableEntity) Encode(e *jx.Encoder)

Encode encodes GetQuotaUnprocessableEntity as json.

func (*GetQuotaUnprocessableEntity) MarshalJSON

func (s *GetQuotaUnprocessableEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetQuotaUnprocessableEntity) UnmarshalJSON

func (s *GetQuotaUnprocessableEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSocialBadRequest

type GetSocialBadRequest Error

func (*GetSocialBadRequest) Decode

func (s *GetSocialBadRequest) Decode(d *jx.Decoder) error

Decode decodes GetSocialBadRequest from json.

func (*GetSocialBadRequest) Encode

func (s *GetSocialBadRequest) Encode(e *jx.Encoder)

Encode encodes GetSocialBadRequest as json.

func (*GetSocialBadRequest) MarshalJSON

func (s *GetSocialBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetSocialBadRequest) UnmarshalJSON

func (s *GetSocialBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSocialConflict

type GetSocialConflict Error

func (*GetSocialConflict) Decode

func (s *GetSocialConflict) Decode(d *jx.Decoder) error

Decode decodes GetSocialConflict from json.

func (*GetSocialConflict) Encode

func (s *GetSocialConflict) Encode(e *jx.Encoder)

Encode encodes GetSocialConflict as json.

func (*GetSocialConflict) MarshalJSON

func (s *GetSocialConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetSocialConflict) UnmarshalJSON

func (s *GetSocialConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSocialInternalServerError

type GetSocialInternalServerError Error

func (*GetSocialInternalServerError) Decode

Decode decodes GetSocialInternalServerError from json.

func (*GetSocialInternalServerError) Encode

func (s *GetSocialInternalServerError) Encode(e *jx.Encoder)

Encode encodes GetSocialInternalServerError as json.

func (*GetSocialInternalServerError) MarshalJSON

func (s *GetSocialInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetSocialInternalServerError) UnmarshalJSON

func (s *GetSocialInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSocialNotFound

type GetSocialNotFound Error

func (*GetSocialNotFound) Decode

func (s *GetSocialNotFound) Decode(d *jx.Decoder) error

Decode decodes GetSocialNotFound from json.

func (*GetSocialNotFound) Encode

func (s *GetSocialNotFound) Encode(e *jx.Encoder)

Encode encodes GetSocialNotFound as json.

func (*GetSocialNotFound) MarshalJSON

func (s *GetSocialNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetSocialNotFound) UnmarshalJSON

func (s *GetSocialNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSocialParams

type GetSocialParams struct {
	// The reel's slug.
	Slug string
}

GetSocialParams is parameters of getSocial operation.

type GetSocialRes

type GetSocialRes interface {
	// contains filtered or unexported methods
}

type GetSpendBadRequest

type GetSpendBadRequest Error

func (*GetSpendBadRequest) Decode

func (s *GetSpendBadRequest) Decode(d *jx.Decoder) error

Decode decodes GetSpendBadRequest from json.

func (*GetSpendBadRequest) Encode

func (s *GetSpendBadRequest) Encode(e *jx.Encoder)

Encode encodes GetSpendBadRequest as json.

func (*GetSpendBadRequest) MarshalJSON

func (s *GetSpendBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetSpendBadRequest) UnmarshalJSON

func (s *GetSpendBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSpendConflict

type GetSpendConflict Error

func (*GetSpendConflict) Decode

func (s *GetSpendConflict) Decode(d *jx.Decoder) error

Decode decodes GetSpendConflict from json.

func (*GetSpendConflict) Encode

func (s *GetSpendConflict) Encode(e *jx.Encoder)

Encode encodes GetSpendConflict as json.

func (*GetSpendConflict) MarshalJSON

func (s *GetSpendConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetSpendConflict) UnmarshalJSON

func (s *GetSpendConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSpendInternalServerError

type GetSpendInternalServerError Error

func (*GetSpendInternalServerError) Decode

Decode decodes GetSpendInternalServerError from json.

func (*GetSpendInternalServerError) Encode

func (s *GetSpendInternalServerError) Encode(e *jx.Encoder)

Encode encodes GetSpendInternalServerError as json.

func (*GetSpendInternalServerError) MarshalJSON

func (s *GetSpendInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetSpendInternalServerError) UnmarshalJSON

func (s *GetSpendInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSpendNotFound

type GetSpendNotFound Error

func (*GetSpendNotFound) Decode

func (s *GetSpendNotFound) Decode(d *jx.Decoder) error

Decode decodes GetSpendNotFound from json.

func (*GetSpendNotFound) Encode

func (s *GetSpendNotFound) Encode(e *jx.Encoder)

Encode encodes GetSpendNotFound as json.

func (*GetSpendNotFound) MarshalJSON

func (s *GetSpendNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetSpendNotFound) UnmarshalJSON

func (s *GetSpendNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetSpendParams

type GetSpendParams struct {
	// The reel's slug.
	Slug string
}

GetSpendParams is parameters of getSpend operation.

type GetSpendRes

type GetSpendRes interface {
	// contains filtered or unexported methods
}

type GetTimelineBadRequest

type GetTimelineBadRequest Error

func (*GetTimelineBadRequest) Decode

func (s *GetTimelineBadRequest) Decode(d *jx.Decoder) error

Decode decodes GetTimelineBadRequest from json.

func (*GetTimelineBadRequest) Encode

func (s *GetTimelineBadRequest) Encode(e *jx.Encoder)

Encode encodes GetTimelineBadRequest as json.

func (*GetTimelineBadRequest) MarshalJSON

func (s *GetTimelineBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTimelineBadRequest) UnmarshalJSON

func (s *GetTimelineBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTimelineConflict

type GetTimelineConflict Error

func (*GetTimelineConflict) Decode

func (s *GetTimelineConflict) Decode(d *jx.Decoder) error

Decode decodes GetTimelineConflict from json.

func (*GetTimelineConflict) Encode

func (s *GetTimelineConflict) Encode(e *jx.Encoder)

Encode encodes GetTimelineConflict as json.

func (*GetTimelineConflict) MarshalJSON

func (s *GetTimelineConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTimelineConflict) UnmarshalJSON

func (s *GetTimelineConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTimelineInternalServerError

type GetTimelineInternalServerError Error

func (*GetTimelineInternalServerError) Decode

Decode decodes GetTimelineInternalServerError from json.

func (*GetTimelineInternalServerError) Encode

Encode encodes GetTimelineInternalServerError as json.

func (*GetTimelineInternalServerError) MarshalJSON

func (s *GetTimelineInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTimelineInternalServerError) UnmarshalJSON

func (s *GetTimelineInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTimelineNotFound

type GetTimelineNotFound Error

func (*GetTimelineNotFound) Decode

func (s *GetTimelineNotFound) Decode(d *jx.Decoder) error

Decode decodes GetTimelineNotFound from json.

func (*GetTimelineNotFound) Encode

func (s *GetTimelineNotFound) Encode(e *jx.Encoder)

Encode encodes GetTimelineNotFound as json.

func (*GetTimelineNotFound) MarshalJSON

func (s *GetTimelineNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetTimelineNotFound) UnmarshalJSON

func (s *GetTimelineNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetTimelineParams

type GetTimelineParams struct {
	// The reel's slug.
	Slug string
}

GetTimelineParams is parameters of getTimeline operation.

type GetTimelineRes

type GetTimelineRes interface {
	// contains filtered or unexported methods
}

type GetWorkspaceBadRequest

type GetWorkspaceBadRequest Error

func (*GetWorkspaceBadRequest) Decode

func (s *GetWorkspaceBadRequest) Decode(d *jx.Decoder) error

Decode decodes GetWorkspaceBadRequest from json.

func (*GetWorkspaceBadRequest) Encode

func (s *GetWorkspaceBadRequest) Encode(e *jx.Encoder)

Encode encodes GetWorkspaceBadRequest as json.

func (*GetWorkspaceBadRequest) MarshalJSON

func (s *GetWorkspaceBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkspaceBadRequest) UnmarshalJSON

func (s *GetWorkspaceBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWorkspaceConflict

type GetWorkspaceConflict Error

func (*GetWorkspaceConflict) Decode

func (s *GetWorkspaceConflict) Decode(d *jx.Decoder) error

Decode decodes GetWorkspaceConflict from json.

func (*GetWorkspaceConflict) Encode

func (s *GetWorkspaceConflict) Encode(e *jx.Encoder)

Encode encodes GetWorkspaceConflict as json.

func (*GetWorkspaceConflict) MarshalJSON

func (s *GetWorkspaceConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkspaceConflict) UnmarshalJSON

func (s *GetWorkspaceConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWorkspaceInternalServerError

type GetWorkspaceInternalServerError Error

func (*GetWorkspaceInternalServerError) Decode

Decode decodes GetWorkspaceInternalServerError from json.

func (*GetWorkspaceInternalServerError) Encode

Encode encodes GetWorkspaceInternalServerError as json.

func (*GetWorkspaceInternalServerError) MarshalJSON

func (s *GetWorkspaceInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkspaceInternalServerError) UnmarshalJSON

func (s *GetWorkspaceInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWorkspaceNotFound

type GetWorkspaceNotFound Error

func (*GetWorkspaceNotFound) Decode

func (s *GetWorkspaceNotFound) Decode(d *jx.Decoder) error

Decode decodes GetWorkspaceNotFound from json.

func (*GetWorkspaceNotFound) Encode

func (s *GetWorkspaceNotFound) Encode(e *jx.Encoder)

Encode encodes GetWorkspaceNotFound as json.

func (*GetWorkspaceNotFound) MarshalJSON

func (s *GetWorkspaceNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GetWorkspaceNotFound) UnmarshalJSON

func (s *GetWorkspaceNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type GetWorkspaceParams

type GetWorkspaceParams struct {
	// The reel's slug.
	Slug string
}

GetWorkspaceParams is parameters of getWorkspace operation.

type GetWorkspaceRes

type GetWorkspaceRes interface {
	// contains filtered or unexported methods
}

type GitOutcome

type GitOutcome struct {
	At     time.Time       `json:"at"`
	Commit OptCommitStatus `json:"commit"`
	Push   OptPushStatus   `json:"push"`
}

The last git result for this reel, remembered so a commit or push that failed is still visible after the response that reported it has gone. Ref: #/components/schemas/GitOutcome

func (*GitOutcome) Decode

func (s *GitOutcome) Decode(d *jx.Decoder) error

Decode decodes GitOutcome from json.

func (*GitOutcome) Encode

func (s *GitOutcome) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*GitOutcome) GetAt

func (s *GitOutcome) GetAt() time.Time

GetAt returns the value of At.

func (*GitOutcome) GetCommit

func (s *GitOutcome) GetCommit() OptCommitStatus

GetCommit returns the value of Commit.

func (*GitOutcome) GetPush

func (s *GitOutcome) GetPush() OptPushStatus

GetPush returns the value of Push.

func (*GitOutcome) MarshalJSON

func (s *GitOutcome) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*GitOutcome) SetAt

func (s *GitOutcome) SetAt(val time.Time)

SetAt sets the value of At.

func (*GitOutcome) SetCommit

func (s *GitOutcome) SetCommit(val OptCommitStatus)

SetCommit sets the value of Commit.

func (*GitOutcome) SetPush

func (s *GitOutcome) SetPush(val OptPushStatus)

SetPush sets the value of Push.

func (*GitOutcome) UnmarshalJSON

func (s *GitOutcome) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Handler

type Handler interface {
	// AddProject implements addProject operation.
	//
	// Either `path` (a directory that already exists) or `remote` (cloned into the studio's cache). A
	// remote project can be held in memory rather than on disk, which bounds what a clone costs.
	//
	// POST /projects
	AddProject(ctx context.Context, req *AddProject) (AddProjectRes, error)
	// ApproveSocial implements approveSocial operation.
	//
	// Refused while the copy breaks a hard platform constraint. Approval is the human gate in front of
	// publishing, so it will not pass something the platform would reject.
	//
	// POST /workspace/{slug}/social/{platform}/approve
	ApproveSocial(ctx context.Context, req OptSocialApproval, params ApproveSocialParams) (ApproveSocialRes, error)
	// CheckConnections implements checkConnections operation.
	//
	// A dry-run refresh against every enabled platform that has a refresher. Some platforms rotate a
	// refresh token on every use, so this is a probe rather than something to call idly. A platform
	// alerting does not fail the request: its verdict is in its own entry, and the whole list is returned.
	//
	// POST /connections/check
	CheckConnections(ctx context.Context) (CheckConnectionsRes, error)
	// CommitReel implements commitReel operation.
	//
	// The explicit git action. Routine saves do not commit, so this is the only place the studio writes
	// history on purpose. Media syncs first, and a media failure never blocks the commit — it is
	// reported on the response.
	//
	// POST /workspace/{slug}/commit
	CommitReel(ctx context.Context, params CommitReelParams) (CommitReelRes, error)
	// CreateAvatar implements createAvatar operation.
	//
	// Add an avatar to the project.
	//
	// POST /avatars
	CreateAvatar(ctx context.Context, req *Avatar) (CreateAvatarRes, error)
	// CreateReel implements createReel operation.
	//
	// Create a reel.
	//
	// POST /reels
	CreateReel(ctx context.Context, req *NewReel) (CreateReelRes, error)
	// CreateTheme implements createTheme operation.
	//
	// The body carries the keyword. PUT /themes/{keyword} is the same operation with the path carrying it
	// instead.
	//
	// POST /themes
	CreateTheme(ctx context.Context, req *Theme) (CreateThemeRes, error)
	// DuplicateReel implements duplicateReel operation.
	//
	// A whole-workspace copy, which is how a reel becomes the starting point for the next one rather than
	// a template nobody maintains.
	//
	// POST /reels/{slug}/duplicate
	DuplicateReel(ctx context.Context, req *SlugTarget, params DuplicateReelParams) (DuplicateReelRes, error)
	// ForgetProject implements forgetProject operation.
	//
	// Forgetting is a registry operation and nothing else — the project's own files are untouched,
	// because keryx does not own them.
	//
	// POST /projects/forget
	ForgetProject(ctx context.Context, req *ProjectPath) (ForgetProjectRes, error)
	// GenSocial implements genSocial operation.
	//
	// Asynchronous and PAID. It returns a job immediately and the work outlives the request, because a
	// browser navigating away must not abandon generation that is already being charged for.
	//
	// POST /workspace/{slug}/social/{platform}/gen
	GenSocial(ctx context.Context, params GenSocialParams) (GenSocialRes, error)
	// GenerateCard implements generateCard operation.
	//
	// Needs a scene on the card to generate from. Nothing is promoted: the takes appear in the card's
	// gallery and a human picks one.
	//
	// POST /workspace/{slug}/cards/{n}/generate
	GenerateCard(ctx context.Context, req OptGenerateRequest, params GenerateCardParams) (GenerateCardRes, error)
	// GenerateCardVO implements generateCardVO operation.
	//
	// Needs narration on the card. A generated read lands beside any browser recording for the same card
	// and is auditioned the same way.
	//
	// POST /workspace/{slug}/cards/{n}/vo/generate
	GenerateCardVO(ctx context.Context, req OptGenerateRequest, params GenerateCardVOParams) (GenerateCardVORes, error)
	// GenerateCover implements generateCover operation.
	//
	// The scene is recorded on the workspace as it is used, so re-rolling the cover does not need it typed
	// again.
	//
	// POST /workspace/{slug}/cover/generate
	GenerateCover(ctx context.Context, req OptGenerateRequest, params GenerateCoverParams) (GenerateCoverRes, error)
	// GenerateMusic implements generateMusic operation.
	//
	// Generate music-bed candidates.
	//
	// POST /workspace/{slug}/music/generate
	GenerateMusic(ctx context.Context, req OptGenerateRequest, params GenerateMusicParams) (GenerateMusicRes, error)
	// GeneratePortrait implements generatePortrait operation.
	//
	// Needs at least one reference image; there is nothing to work from otherwise.
	//
	// POST /workspace/{slug}/portrait/generate
	GeneratePortrait(ctx context.Context, req OptGenerateRequest, params GeneratePortraitParams) (GeneratePortraitRes, error)
	// GetArticle implements getArticle operation.
	//
	// One article, with its body rendered for preview.
	//
	// GET /content/article
	GetArticle(ctx context.Context, params GetArticleParams) (GetArticleRes, error)
	// GetChatHistory implements getChatHistory operation.
	//
	// The conversation so far.
	//
	// GET /workspace/{slug}/chat/history
	GetChatHistory(ctx context.Context, params GetChatHistoryParams) (GetChatHistoryRes, error)
	// GetConfig implements getConfig operation.
	//
	// Only keys the studio may show are returned, and only those actually set. The ALLOWLIST ITSELF IS NOT
	// IN THIS DOCUMENT, deliberately. It lives in `configKeys` in pkg/studio/handlers_config.go, which is
	// what filters at runtime; enumerating the forty-odd keys here as well would make the schema and that
	// slice two descriptions of one thing, which is the drift this spec exists to remove (the reasoning
	// 0053 Q3 used to reject `x-keryx-requirements`). What the schema holds is the shape, the method and
	// the status codes.
	//
	// GET /config
	GetConfig(ctx context.Context) (GetConfigRes, error)
	// GetConfigYAML implements getConfigYAML operation.
	//
	// Comments and all, with secrets masked. For reading and editing structure, never for recovering a
	// value someone stored.
	//
	// GET /config/file
	GetConfigYAML(ctx context.Context) (GetConfigYAMLRes, error)
	// GetConnections implements getConnections operation.
	//
	// Read-only and offline: it reports what the non-secret configuration says about each platform,
	// including when a token expires. It does not contact anyone — /connections/check is the operation
	// that does.
	//
	// GET /connections
	GetConnections(ctx context.Context) (*Connections, error)
	// GetJob implements getJob operation.
	//
	// Poll an asynchronous job.
	//
	// GET /workspace/{slug}/jobs/{id}
	GetJob(ctx context.Context, params GetJobParams) (GetJobRes, error)
	// GetOutcome implements getOutcome operation.
	//
	// Remembered so a commit or push that failed is still visible after the response that reported it has
	// gone.
	//
	// GET /workspace/{slug}/outcome
	GetOutcome(ctx context.Context, params GetOutcomeParams) (GetOutcomeRes, error)
	// GetQuota implements getQuota operation.
	//
	// Spend context for the composer. Absent rather than zero when the configured provider does not track
	// a quota.
	//
	// GET /quota
	GetQuota(ctx context.Context) (GetQuotaRes, error)
	// GetSocial implements getSocial operation.
	//
	// All supported platforms are present, including ones with nothing written yet — an empty entry is
	// an empty composer, not a missing one. The `rev` is a revision token: send it back on a write and the
	// write is refused if the record moved underneath you.
	//
	// GET /workspace/{slug}/social
	GetSocial(ctx context.Context, params GetSocialParams) (GetSocialRes, error)
	// GetSpend implements getSpend operation.
	//
	// Settled rather than estimated: this is the ledger's total, so it answers what has been spent rather
	// than what something might cost.
	//
	// GET /workspace/{slug}/spend
	GetSpend(ctx context.Context, params GetSpendParams) (GetSpendRes, error)
	// GetThemeCatalog implements getThemeCatalog operation.
	//
	// The Settings manager's payload: whole themes rather than the picker's reduced view, plus the scope
	// each keyword resolves in, so the manager can offer promotion only where it applies. Scopes may be
	// empty if they cannot be resolved — the manager still lists and edits, it just cannot promote.
	//
	// GET /themes/catalog
	GetThemeCatalog(ctx context.Context) (*ThemeCatalog, error)
	// GetTimeline implements getTimeline operation.
	//
	// Computed before any render. Card durations come from their narration when there is any, which is
	// what vo_driven reports - a board timed by reads behaves very differently from one falling back to
	// dur.
	//
	// GET /workspace/{slug}/timeline
	GetTimeline(ctx context.Context, params GetTimelineParams) (GetTimelineRes, error)
	// GetVCStatus implements getVCStatus operation.
	//
	// Reports whether the active project is a git repository, its first remote, and a heuristic for
	// whether a push would authenticate. Always 200: "this is not a repository" is an answer, not an
	// error, because the studio runs perfectly well against a project that is not under version control.
	//
	// GET /vc/status
	GetVCStatus(ctx context.Context) (*VCStatus, error)
	// GetWorkspace implements getWorkspace operation.
	//
	// The board, what is wrong with it, and the filesystem truths the board cannot express - which cards
	// have artefacts on disk, whether a cover exists and at what size.
	//
	// GET /workspace/{slug}
	GetWorkspace(ctx context.Context, params GetWorkspaceParams) (GetWorkspaceRes, error)
	// ListAvatars implements listAvatars operation.
	//
	// The project's cast.
	//
	// GET /avatars
	ListAvatars(ctx context.Context) (ListAvatarsRes, error)
	// ListCardScreens implements listCardScreens operation.
	//
	// Which cards' illustrations have been checked for leaked text.
	//
	// GET /workspace/{slug}/cards/screens
	ListCardScreens(ctx context.Context, params ListCardScreensParams) (ListCardScreensRes, error)
	// ListCardTakes implements listCardTakes operation.
	//
	// Images generated for this card. `current` names the one promoted into the card's slot, and is absent
	// when nothing is promoted or the slot was filled outside the takes flow.
	//
	// GET /workspace/{slug}/cards/{n}/takes
	ListCardTakes(ctx context.Context, params ListCardTakesParams) (ListCardTakesRes, error)
	// ListCardVOTakes implements listCardVOTakes operation.
	//
	// Every recorded or generated read for this card's narration. A browser recording (spec 0030) lands
	// here beside a generated one and is auditioned the same way.
	//
	// GET /workspace/{slug}/cards/{n}/vo/takes
	ListCardVOTakes(ctx context.Context, params ListCardVOTakesParams) (ListCardVOTakesRes, error)
	// ListCoverTakes implements listCoverTakes operation.
	//
	// The reel's cover-art candidates.
	//
	// GET /workspace/{slug}/cover/takes
	ListCoverTakes(ctx context.Context, params ListCoverTakesParams) (ListCoverTakesRes, error)
	// ListFonts implements listFonts operation.
	//
	// Includes the embedded floor, which is why keryx can draw text on a host with no system fonts at all
	// (spec 0057).
	//
	// GET /fonts
	ListFonts(ctx context.Context) (ListFontsRes, error)
	// ListMusicTakes implements listMusicTakes operation.
	//
	// The reel's music-bed candidates.
	//
	// GET /workspace/{slug}/music/takes
	ListMusicTakes(ctx context.Context, params ListMusicTakesParams) (ListMusicTakesRes, error)
	// ListPortraitRefs implements listPortraitRefs operation.
	//
	// Uploaded references rather than generated takes, so nothing here is ever `current` — there is no
	// slot for a reference to be promoted into.
	//
	// GET /workspace/{slug}/portrait/refs
	ListPortraitRefs(ctx context.Context, params ListPortraitRefsParams) (ListPortraitRefsRes, error)
	// ListPortraitTakes implements listPortraitTakes operation.
	//
	// The portrait candidates.
	//
	// GET /workspace/{slug}/portrait/takes
	ListPortraitTakes(ctx context.Context, params ListPortraitTakesParams) (ListPortraitTakesRes, error)
	// ListPosts implements listPosts operation.
	//
	// A reel links to one of these by its bundle directory.
	//
	// GET /content/posts
	ListPosts(ctx context.Context) (ListPostsRes, error)
	// ListProjects implements listProjects operation.
	//
	// Every known project, and which is active.
	//
	// GET /projects
	ListProjects(ctx context.Context) (ListProjectsRes, error)
	// ListReels implements listReels operation.
	//
	// Each row carries the workspace's status on disk and whether it has changes git has not seen.
	// `uncommitted` covers media as well as the board: media is git-ignored, so git-clean does not mean
	// pushed.
	//
	// GET /reels
	ListReels(ctx context.Context) (ListReelsRes, error)
	// ListThemes implements listThemes operation.
	//
	// A reduced view for the picker: the fields the preview needs to draw text where the render will
	// (fonts, palette, scrim) plus the pacing a card inherits. The Settings manager wants /themes/catalog
	// instead, which carries whole themes.
	//
	// GET /themes
	ListThemes(ctx context.Context) (*ThemePicker, error)
	// PickCardTake implements pickCardTake operation.
	//
	// Unlike the other picks, this one changes the BOARD — the card records the media it uses and the
	// theme it was generated under — so it answers with the save result rather than the slot.
	//
	// POST /workspace/{slug}/cards/{n}/pick
	PickCardTake(ctx context.Context, req *PickTake, params PickCardTakeParams) (PickCardTakeRes, error)
	// PickCardVO implements pickCardVO operation.
	//
	// The take must belong to THIS card: voiceover take filenames carry the line they were read for, and
	// picking another card's read would silently retime the reel. `lock` approves the line in the same
	// call (0030 R-GEN-52).
	//
	// POST /workspace/{slug}/cards/{n}/vo/pick
	PickCardVO(ctx context.Context, req *PickVOTake, params PickCardVOParams) (PickCardVORes, error)
	// PickCover implements pickCover operation.
	//
	// The cover is a single slot, so picking replaces whatever was there. Nothing is deleted: the previous
	// take stays a candidate.
	//
	// POST /workspace/{slug}/cover/pick
	PickCover(ctx context.Context, req *PickTake, params PickCoverParams) (PickCoverRes, error)
	// PickMusic implements pickMusic operation.
	//
	// Promote a music-bed candidate.
	//
	// POST /workspace/{slug}/music/pick
	PickMusic(ctx context.Context, req *PickTake, params PickMusicParams) (PickMusicRes, error)
	// PickPortrait implements pickPortrait operation.
	//
	// Promote a portrait candidate.
	//
	// POST /workspace/{slug}/portrait/pick
	PickPortrait(ctx context.Context, req *PickTake, params PickPortraitParams) (PickPortraitRes, error)
	// PostSocial implements postSocial operation.
	//
	// The ONLY operation on this surface that reaches the outside world, and the reason `post` is kept off
	// the MCP tool surface entirely (R-MCP-2). Asynchronous: the job carries a result line per platform.
	//
	// POST /workspace/{slug}/social/post
	PostSocial(ctx context.Context, req OptPostRequest, params PostSocialParams) (PostSocialRes, error)
	// PromoteTheme implements promoteTheme operation.
	//
	// Promotion is a move, not a copy: the theme leaves the project's .keryx.yaml and lands in the user
	// library, where every project sees it.
	//
	// POST /themes/{keyword}/promote
	PromoteTheme(ctx context.Context, params PromoteThemeParams) (PromoteThemeRes, error)
	// PullMedia implements pullMedia operation.
	//
	// Media is git-ignored, so a fresh clone has the board and none of the artefacts. This is what makes a
	// reel workable on another machine. Local files that differ are LEFT ALONE — pulling never
	// overwrites local work.
	//
	// POST /workspace/{slug}/media/pull
	PullMedia(ctx context.Context, params PullMediaParams) (PullMediaRes, error)
	// PutChatHistory implements putChatHistory operation.
	//
	// Whole-transcript replacement, which is what lets a turn be edited or dropped before it grounds the
	// next answer.
	//
	// PUT /workspace/{slug}/chat/history
	PutChatHistory(ctx context.Context, req *ChatHistory, params PutChatHistoryParams) (PutChatHistoryRes, error)
	// PutConfig implements putConfig operation.
	//
	// Only the SUBMITTED keys are written, so the project's .keryx.yaml stays a minimal set of overrides
	// rather than a copy of the merged container (R-CFG-2). A key outside the allowlist is refused. The
	// file is created if absent, and an existing file that will not parse is a 422 — the write never
	// clobbers something it could not read.
	//
	// PUT /config
	PutConfig(ctx context.Context, req Settings) (PutConfigRes, error)
	// PutConfigYAML implements putConfigYAML operation.
	//
	// Replace the project's settings file.
	//
	// PUT /config/file
	PutConfigYAML(ctx context.Context, req *ConfigYAMLEdit) (PutConfigYAMLRes, error)
	// PutDirection implements putDirection operation.
	//
	// Intent and emotion rather than content - what the reel should feel like, used as grounding without
	// being quoted.
	//
	// PUT /workspace/{slug}/direction
	PutDirection(ctx context.Context, req *DirectionEdit, params PutDirectionParams) (PutDirectionRes, error)
	// PutReelAspect implements putReelAspect operation.
	//
	// Overrides the configured default for this reel only. Changing it after a render makes that render
	// stale, which the returned workspace reports rather than hiding.
	//
	// PUT /workspace/{slug}/aspect
	PutReelAspect(ctx context.Context, req *AspectEdit, params PutReelAspectParams) (PutReelAspectRes, error)
	// PutReelAvatars implements putReelAvatars operation.
	//
	// Every name must resolve in the project's avatar registry; an unknown one is refused rather than
	// stored and discovered at render. An empty list clears the cast.
	//
	// PUT /workspace/{slug}/avatars
	PutReelAvatars(ctx context.Context, req *AvatarsEdit, params PutReelAvatarsParams) (PutReelAvatarsRes, error)
	// PutSocial implements putSocial operation.
	//
	// Overwrites the COMPOSED CONTENT only. The status and any posting record survive, so editing copy
	// cannot silently un-post something or lose the URL a post landed at.
	//
	// PUT /workspace/{slug}/social/{platform}
	PutSocial(ctx context.Context, req *SocialEdit, params PutSocialParams) (PutSocialRes, error)
	// PutSource implements putSource operation.
	//
	// For a reel linked to no article; a linked reel reads its subject from the article instead. Echoes
	// what it stored, because nothing else can change as a result.
	//
	// PUT /workspace/{slug}/source
	PutSource(ctx context.Context, req *SourceEdit, params PutSourceParams) (PutSourceRes, error)
	// PutStoryboard implements putStoryboard operation.
	//
	// Validated SEMANTICALLY before it is accepted: a body can be perfectly valid JSON and still be
	// refused. That check is R-WS-9..R-WS-13 and lives in spec 0054 — OpenAPI has no vocabulary for it,
	// which is exactly why 0053 does not try.
	//
	// PUT /workspace/{slug}/storyboard
	PutStoryboard(ctx context.Context, req Storyboard, params PutStoryboardParams) (PutStoryboardRes, error)
	// PutTheme implements putTheme operation.
	//
	// Returns the whole workspace re-read, because a theme change can alter what validates: a card relying
	// on a palette role the new theme does not define becomes an error.
	//
	// PUT /workspace/{slug}/theme
	PutTheme(ctx context.Context, req *ThemeEdit, params PutThemeParams) (PutThemeRes, error)
	// ReclaimStorage implements reclaimStorage operation.
	//
	// A dry run: it reports what is orphaned without deleting anything. Pruning is a CLI operation,
	// deliberately — the studio shows the number and the CLI is where an irreversible delete is asked
	// for. Always 200, for the same reason verify is.
	//
	// POST /storage/reclaim
	ReclaimStorage(ctx context.Context) (*StorageReclaim, error)
	// RemoveAvatar implements removeAvatar operation.
	//
	// Removes it from the project's registry. Reels that named it keep the name in their cast; the
	// reference simply stops resolving, which is reported at the point of use rather than silently
	// rewriting someone's board.
	//
	// DELETE /avatars/{name}
	RemoveAvatar(ctx context.Context, params RemoveAvatarParams) (RemoveAvatarRes, error)
	// RemoveReel implements removeReel operation.
	//
	// Removes the workspace directory. What has already been pushed to the object store is not touched
	// here — `media gc` is where blobs are reclaimed, and deliberately so, because a blob may still be
	// referenced by another reel.
	//
	// DELETE /reels/{slug}
	RemoveReel(ctx context.Context, params RemoveReelParams) (RemoveReelRes, error)
	// RemoveTheme implements removeTheme operation.
	//
	// Project scope only. A theme in the user library is a 404 here and can only be removed from the CLI,
	// so a project can never delete something every other project shares.
	//
	// DELETE /themes/{keyword}
	RemoveTheme(ctx context.Context, params RemoveThemeParams) (RemoveThemeRes, error)
	// RenameReel implements renameReel operation.
	//
	// The slug IS the directory name, so a rename moves the workspace. The label is the human name and is
	// changed through the workspace instead.
	//
	// POST /reels/{slug}/rename
	RenameReel(ctx context.Context, req *SlugTarget, params RenameReelParams) (RenameReelRes, error)
	// SaveAvatar implements saveAvatar operation.
	//
	// Create or update the avatar this name identifies.
	//
	// PUT /avatars/{name}
	SaveAvatar(ctx context.Context, req *Avatar, params SaveAvatarParams) (SaveAvatarRes, error)
	// SaveTheme implements saveTheme operation.
	//
	// Upsert. The path identifies the theme and wins over any keyword in the body. There is no {type}
	// segment: a keyword identifies exactly one theme (spec 0047 D4).
	//
	// PUT /themes/{keyword}
	SaveTheme(ctx context.Context, req *Theme, params SaveThemeParams) (SaveThemeRes, error)
	// ScreenCards implements screenCards operation.
	//
	// Image models write words into pictures. A card whose illustration contains text fights the card's
	// own words, so this reads the images back and says which ones did.
	//
	// POST /workspace/{slug}/cards/screen
	ScreenCards(ctx context.Context, params ScreenCardsParams) (ScreenCardsRes, error)
	// SetBundle implements setBundle operation.
	//
	// Link the reel to an article.
	//
	// PUT /workspace/{slug}/bundle
	SetBundle(ctx context.Context, req *BundleEdit, params SetBundleParams) (SetBundleRes, error)
	// SetLabel implements setLabel operation.
	//
	// The label is the human name and the slug is the directory. Changing one never changes the other, so
	// a reel can be renamed without moving any files.
	//
	// PUT /workspace/{slug}/label
	SetLabel(ctx context.Context, req *LabelEdit, params SetLabelParams) (SetLabelRes, error)
	// StartRender implements startRender operation.
	//
	// Asynchronous, and ONE AT A TIME per reel: a second render while one is in flight is a conflict
	// rather than a queue, because two renders writing the same output is not something to resolve
	// politely.
	//
	// POST /workspace/{slug}/render
	StartRender(ctx context.Context, req OptRenderRequest, params StartRenderParams) (StartRenderRes, error)
	// StopRender implements stopRender operation.
	//
	// Cancel the render in flight.
	//
	// POST /workspace/{slug}/render/cancel
	StopRender(ctx context.Context, params StopRenderParams) (StopRenderRes, error)
	// SummariseSource implements summariseSource operation.
	//
	// Needs a linked article; there is nothing to summarise otherwise, which is a 400 rather than an empty
	// result.
	//
	// POST /workspace/{slug}/source/summarise
	SummariseSource(ctx context.Context, params SummariseSourceParams) (SummariseSourceRes, error)
	// SwitchProject implements switchProject operation.
	//
	// Make a known project the active one.
	//
	// POST /projects/switch
	SwitchProject(ctx context.Context, req *ProjectPath) (SwitchProjectRes, error)
	// VerifyStorage implements verifyStorage operation.
	//
	// Always 200. "There is no object store configured" and "the bucket is unreachable" are both ANSWERS
	// — the panel asking this wants to render them, not handle them — so the outcome is in the body
	// and never in the status.
	//
	// POST /storage/verify
	VerifyStorage(ctx context.Context) (*StorageCheck, error)
}

Handler handles operations described by OpenAPI v3 specification.

type Invoker

type Invoker interface {
	// AddProject invokes addProject operation.
	//
	// Either `path` (a directory that already exists) or `remote` (cloned into the studio's cache). A
	// remote project can be held in memory rather than on disk, which bounds what a clone costs.
	//
	// POST /projects
	AddProject(ctx context.Context, request *AddProject) (AddProjectRes, error)
	// ApproveSocial invokes approveSocial operation.
	//
	// Refused while the copy breaks a hard platform constraint. Approval is the human gate in front of
	// publishing, so it will not pass something the platform would reject.
	//
	// POST /workspace/{slug}/social/{platform}/approve
	ApproveSocial(ctx context.Context, request OptSocialApproval, params ApproveSocialParams) (ApproveSocialRes, error)
	// CheckConnections invokes checkConnections operation.
	//
	// A dry-run refresh against every enabled platform that has a refresher. Some platforms rotate a
	// refresh token on every use, so this is a probe rather than something to call idly. A platform
	// alerting does not fail the request: its verdict is in its own entry, and the whole list is returned.
	//
	// POST /connections/check
	CheckConnections(ctx context.Context) (CheckConnectionsRes, error)
	// CommitReel invokes commitReel operation.
	//
	// The explicit git action. Routine saves do not commit, so this is the only place the studio writes
	// history on purpose. Media syncs first, and a media failure never blocks the commit — it is
	// reported on the response.
	//
	// POST /workspace/{slug}/commit
	CommitReel(ctx context.Context, params CommitReelParams) (CommitReelRes, error)
	// CreateAvatar invokes createAvatar operation.
	//
	// Add an avatar to the project.
	//
	// POST /avatars
	CreateAvatar(ctx context.Context, request *Avatar) (CreateAvatarRes, error)
	// CreateReel invokes createReel operation.
	//
	// Create a reel.
	//
	// POST /reels
	CreateReel(ctx context.Context, request *NewReel) (CreateReelRes, error)
	// CreateTheme invokes createTheme operation.
	//
	// The body carries the keyword. PUT /themes/{keyword} is the same operation with the path carrying it
	// instead.
	//
	// POST /themes
	CreateTheme(ctx context.Context, request *Theme) (CreateThemeRes, error)
	// DuplicateReel invokes duplicateReel operation.
	//
	// A whole-workspace copy, which is how a reel becomes the starting point for the next one rather than
	// a template nobody maintains.
	//
	// POST /reels/{slug}/duplicate
	DuplicateReel(ctx context.Context, request *SlugTarget, params DuplicateReelParams) (DuplicateReelRes, error)
	// ForgetProject invokes forgetProject operation.
	//
	// Forgetting is a registry operation and nothing else — the project's own files are untouched,
	// because keryx does not own them.
	//
	// POST /projects/forget
	ForgetProject(ctx context.Context, request *ProjectPath) (ForgetProjectRes, error)
	// GenSocial invokes genSocial operation.
	//
	// Asynchronous and PAID. It returns a job immediately and the work outlives the request, because a
	// browser navigating away must not abandon generation that is already being charged for.
	//
	// POST /workspace/{slug}/social/{platform}/gen
	GenSocial(ctx context.Context, params GenSocialParams) (GenSocialRes, error)
	// GenerateCard invokes generateCard operation.
	//
	// Needs a scene on the card to generate from. Nothing is promoted: the takes appear in the card's
	// gallery and a human picks one.
	//
	// POST /workspace/{slug}/cards/{n}/generate
	GenerateCard(ctx context.Context, request OptGenerateRequest, params GenerateCardParams) (GenerateCardRes, error)
	// GenerateCardVO invokes generateCardVO operation.
	//
	// Needs narration on the card. A generated read lands beside any browser recording for the same card
	// and is auditioned the same way.
	//
	// POST /workspace/{slug}/cards/{n}/vo/generate
	GenerateCardVO(ctx context.Context, request OptGenerateRequest, params GenerateCardVOParams) (GenerateCardVORes, error)
	// GenerateCover invokes generateCover operation.
	//
	// The scene is recorded on the workspace as it is used, so re-rolling the cover does not need it typed
	// again.
	//
	// POST /workspace/{slug}/cover/generate
	GenerateCover(ctx context.Context, request OptGenerateRequest, params GenerateCoverParams) (GenerateCoverRes, error)
	// GenerateMusic invokes generateMusic operation.
	//
	// Generate music-bed candidates.
	//
	// POST /workspace/{slug}/music/generate
	GenerateMusic(ctx context.Context, request OptGenerateRequest, params GenerateMusicParams) (GenerateMusicRes, error)
	// GeneratePortrait invokes generatePortrait operation.
	//
	// Needs at least one reference image; there is nothing to work from otherwise.
	//
	// POST /workspace/{slug}/portrait/generate
	GeneratePortrait(ctx context.Context, request OptGenerateRequest, params GeneratePortraitParams) (GeneratePortraitRes, error)
	// GetArticle invokes getArticle operation.
	//
	// One article, with its body rendered for preview.
	//
	// GET /content/article
	GetArticle(ctx context.Context, params GetArticleParams) (GetArticleRes, error)
	// GetChatHistory invokes getChatHistory operation.
	//
	// The conversation so far.
	//
	// GET /workspace/{slug}/chat/history
	GetChatHistory(ctx context.Context, params GetChatHistoryParams) (GetChatHistoryRes, error)
	// GetConfig invokes getConfig operation.
	//
	// Only keys the studio may show are returned, and only those actually set. The ALLOWLIST ITSELF IS NOT
	// IN THIS DOCUMENT, deliberately. It lives in `configKeys` in pkg/studio/handlers_config.go, which is
	// what filters at runtime; enumerating the forty-odd keys here as well would make the schema and that
	// slice two descriptions of one thing, which is the drift this spec exists to remove (the reasoning
	// 0053 Q3 used to reject `x-keryx-requirements`). What the schema holds is the shape, the method and
	// the status codes.
	//
	// GET /config
	GetConfig(ctx context.Context) (GetConfigRes, error)
	// GetConfigYAML invokes getConfigYAML operation.
	//
	// Comments and all, with secrets masked. For reading and editing structure, never for recovering a
	// value someone stored.
	//
	// GET /config/file
	GetConfigYAML(ctx context.Context) (GetConfigYAMLRes, error)
	// GetConnections invokes getConnections operation.
	//
	// Read-only and offline: it reports what the non-secret configuration says about each platform,
	// including when a token expires. It does not contact anyone — /connections/check is the operation
	// that does.
	//
	// GET /connections
	GetConnections(ctx context.Context) (*Connections, error)
	// GetJob invokes getJob operation.
	//
	// Poll an asynchronous job.
	//
	// GET /workspace/{slug}/jobs/{id}
	GetJob(ctx context.Context, params GetJobParams) (GetJobRes, error)
	// GetOutcome invokes getOutcome operation.
	//
	// Remembered so a commit or push that failed is still visible after the response that reported it has
	// gone.
	//
	// GET /workspace/{slug}/outcome
	GetOutcome(ctx context.Context, params GetOutcomeParams) (GetOutcomeRes, error)
	// GetQuota invokes getQuota operation.
	//
	// Spend context for the composer. Absent rather than zero when the configured provider does not track
	// a quota.
	//
	// GET /quota
	GetQuota(ctx context.Context) (GetQuotaRes, error)
	// GetSocial invokes getSocial operation.
	//
	// All supported platforms are present, including ones with nothing written yet — an empty entry is
	// an empty composer, not a missing one. The `rev` is a revision token: send it back on a write and the
	// write is refused if the record moved underneath you.
	//
	// GET /workspace/{slug}/social
	GetSocial(ctx context.Context, params GetSocialParams) (GetSocialRes, error)
	// GetSpend invokes getSpend operation.
	//
	// Settled rather than estimated: this is the ledger's total, so it answers what has been spent rather
	// than what something might cost.
	//
	// GET /workspace/{slug}/spend
	GetSpend(ctx context.Context, params GetSpendParams) (GetSpendRes, error)
	// GetThemeCatalog invokes getThemeCatalog operation.
	//
	// The Settings manager's payload: whole themes rather than the picker's reduced view, plus the scope
	// each keyword resolves in, so the manager can offer promotion only where it applies. Scopes may be
	// empty if they cannot be resolved — the manager still lists and edits, it just cannot promote.
	//
	// GET /themes/catalog
	GetThemeCatalog(ctx context.Context) (*ThemeCatalog, error)
	// GetTimeline invokes getTimeline operation.
	//
	// Computed before any render. Card durations come from their narration when there is any, which is
	// what vo_driven reports - a board timed by reads behaves very differently from one falling back to
	// dur.
	//
	// GET /workspace/{slug}/timeline
	GetTimeline(ctx context.Context, params GetTimelineParams) (GetTimelineRes, error)
	// GetVCStatus invokes getVCStatus operation.
	//
	// Reports whether the active project is a git repository, its first remote, and a heuristic for
	// whether a push would authenticate. Always 200: "this is not a repository" is an answer, not an
	// error, because the studio runs perfectly well against a project that is not under version control.
	//
	// GET /vc/status
	GetVCStatus(ctx context.Context) (*VCStatus, error)
	// GetWorkspace invokes getWorkspace operation.
	//
	// The board, what is wrong with it, and the filesystem truths the board cannot express - which cards
	// have artefacts on disk, whether a cover exists and at what size.
	//
	// GET /workspace/{slug}
	GetWorkspace(ctx context.Context, params GetWorkspaceParams) (GetWorkspaceRes, error)
	// ListAvatars invokes listAvatars operation.
	//
	// The project's cast.
	//
	// GET /avatars
	ListAvatars(ctx context.Context) (ListAvatarsRes, error)
	// ListCardScreens invokes listCardScreens operation.
	//
	// Which cards' illustrations have been checked for leaked text.
	//
	// GET /workspace/{slug}/cards/screens
	ListCardScreens(ctx context.Context, params ListCardScreensParams) (ListCardScreensRes, error)
	// ListCardTakes invokes listCardTakes operation.
	//
	// Images generated for this card. `current` names the one promoted into the card's slot, and is absent
	// when nothing is promoted or the slot was filled outside the takes flow.
	//
	// GET /workspace/{slug}/cards/{n}/takes
	ListCardTakes(ctx context.Context, params ListCardTakesParams) (ListCardTakesRes, error)
	// ListCardVOTakes invokes listCardVOTakes operation.
	//
	// Every recorded or generated read for this card's narration. A browser recording (spec 0030) lands
	// here beside a generated one and is auditioned the same way.
	//
	// GET /workspace/{slug}/cards/{n}/vo/takes
	ListCardVOTakes(ctx context.Context, params ListCardVOTakesParams) (ListCardVOTakesRes, error)
	// ListCoverTakes invokes listCoverTakes operation.
	//
	// The reel's cover-art candidates.
	//
	// GET /workspace/{slug}/cover/takes
	ListCoverTakes(ctx context.Context, params ListCoverTakesParams) (ListCoverTakesRes, error)
	// ListFonts invokes listFonts operation.
	//
	// Includes the embedded floor, which is why keryx can draw text on a host with no system fonts at all
	// (spec 0057).
	//
	// GET /fonts
	ListFonts(ctx context.Context) (ListFontsRes, error)
	// ListMusicTakes invokes listMusicTakes operation.
	//
	// The reel's music-bed candidates.
	//
	// GET /workspace/{slug}/music/takes
	ListMusicTakes(ctx context.Context, params ListMusicTakesParams) (ListMusicTakesRes, error)
	// ListPortraitRefs invokes listPortraitRefs operation.
	//
	// Uploaded references rather than generated takes, so nothing here is ever `current` — there is no
	// slot for a reference to be promoted into.
	//
	// GET /workspace/{slug}/portrait/refs
	ListPortraitRefs(ctx context.Context, params ListPortraitRefsParams) (ListPortraitRefsRes, error)
	// ListPortraitTakes invokes listPortraitTakes operation.
	//
	// The portrait candidates.
	//
	// GET /workspace/{slug}/portrait/takes
	ListPortraitTakes(ctx context.Context, params ListPortraitTakesParams) (ListPortraitTakesRes, error)
	// ListPosts invokes listPosts operation.
	//
	// A reel links to one of these by its bundle directory.
	//
	// GET /content/posts
	ListPosts(ctx context.Context) (ListPostsRes, error)
	// ListProjects invokes listProjects operation.
	//
	// Every known project, and which is active.
	//
	// GET /projects
	ListProjects(ctx context.Context) (ListProjectsRes, error)
	// ListReels invokes listReels operation.
	//
	// Each row carries the workspace's status on disk and whether it has changes git has not seen.
	// `uncommitted` covers media as well as the board: media is git-ignored, so git-clean does not mean
	// pushed.
	//
	// GET /reels
	ListReels(ctx context.Context) (ListReelsRes, error)
	// ListThemes invokes listThemes operation.
	//
	// A reduced view for the picker: the fields the preview needs to draw text where the render will
	// (fonts, palette, scrim) plus the pacing a card inherits. The Settings manager wants /themes/catalog
	// instead, which carries whole themes.
	//
	// GET /themes
	ListThemes(ctx context.Context) (*ThemePicker, error)
	// PickCardTake invokes pickCardTake operation.
	//
	// Unlike the other picks, this one changes the BOARD — the card records the media it uses and the
	// theme it was generated under — so it answers with the save result rather than the slot.
	//
	// POST /workspace/{slug}/cards/{n}/pick
	PickCardTake(ctx context.Context, request *PickTake, params PickCardTakeParams) (PickCardTakeRes, error)
	// PickCardVO invokes pickCardVO operation.
	//
	// The take must belong to THIS card: voiceover take filenames carry the line they were read for, and
	// picking another card's read would silently retime the reel. `lock` approves the line in the same
	// call (0030 R-GEN-52).
	//
	// POST /workspace/{slug}/cards/{n}/vo/pick
	PickCardVO(ctx context.Context, request *PickVOTake, params PickCardVOParams) (PickCardVORes, error)
	// PickCover invokes pickCover operation.
	//
	// The cover is a single slot, so picking replaces whatever was there. Nothing is deleted: the previous
	// take stays a candidate.
	//
	// POST /workspace/{slug}/cover/pick
	PickCover(ctx context.Context, request *PickTake, params PickCoverParams) (PickCoverRes, error)
	// PickMusic invokes pickMusic operation.
	//
	// Promote a music-bed candidate.
	//
	// POST /workspace/{slug}/music/pick
	PickMusic(ctx context.Context, request *PickTake, params PickMusicParams) (PickMusicRes, error)
	// PickPortrait invokes pickPortrait operation.
	//
	// Promote a portrait candidate.
	//
	// POST /workspace/{slug}/portrait/pick
	PickPortrait(ctx context.Context, request *PickTake, params PickPortraitParams) (PickPortraitRes, error)
	// PostSocial invokes postSocial operation.
	//
	// The ONLY operation on this surface that reaches the outside world, and the reason `post` is kept off
	// the MCP tool surface entirely (R-MCP-2). Asynchronous: the job carries a result line per platform.
	//
	// POST /workspace/{slug}/social/post
	PostSocial(ctx context.Context, request OptPostRequest, params PostSocialParams) (PostSocialRes, error)
	// PromoteTheme invokes promoteTheme operation.
	//
	// Promotion is a move, not a copy: the theme leaves the project's .keryx.yaml and lands in the user
	// library, where every project sees it.
	//
	// POST /themes/{keyword}/promote
	PromoteTheme(ctx context.Context, params PromoteThemeParams) (PromoteThemeRes, error)
	// PullMedia invokes pullMedia operation.
	//
	// Media is git-ignored, so a fresh clone has the board and none of the artefacts. This is what makes a
	// reel workable on another machine. Local files that differ are LEFT ALONE — pulling never
	// overwrites local work.
	//
	// POST /workspace/{slug}/media/pull
	PullMedia(ctx context.Context, params PullMediaParams) (PullMediaRes, error)
	// PutChatHistory invokes putChatHistory operation.
	//
	// Whole-transcript replacement, which is what lets a turn be edited or dropped before it grounds the
	// next answer.
	//
	// PUT /workspace/{slug}/chat/history
	PutChatHistory(ctx context.Context, request *ChatHistory, params PutChatHistoryParams) (PutChatHistoryRes, error)
	// PutConfig invokes putConfig operation.
	//
	// Only the SUBMITTED keys are written, so the project's .keryx.yaml stays a minimal set of overrides
	// rather than a copy of the merged container (R-CFG-2). A key outside the allowlist is refused. The
	// file is created if absent, and an existing file that will not parse is a 422 — the write never
	// clobbers something it could not read.
	//
	// PUT /config
	PutConfig(ctx context.Context, request Settings) (PutConfigRes, error)
	// PutConfigYAML invokes putConfigYAML operation.
	//
	// Replace the project's settings file.
	//
	// PUT /config/file
	PutConfigYAML(ctx context.Context, request *ConfigYAMLEdit) (PutConfigYAMLRes, error)
	// PutDirection invokes putDirection operation.
	//
	// Intent and emotion rather than content - what the reel should feel like, used as grounding without
	// being quoted.
	//
	// PUT /workspace/{slug}/direction
	PutDirection(ctx context.Context, request *DirectionEdit, params PutDirectionParams) (PutDirectionRes, error)
	// PutReelAspect invokes putReelAspect operation.
	//
	// Overrides the configured default for this reel only. Changing it after a render makes that render
	// stale, which the returned workspace reports rather than hiding.
	//
	// PUT /workspace/{slug}/aspect
	PutReelAspect(ctx context.Context, request *AspectEdit, params PutReelAspectParams) (PutReelAspectRes, error)
	// PutReelAvatars invokes putReelAvatars operation.
	//
	// Every name must resolve in the project's avatar registry; an unknown one is refused rather than
	// stored and discovered at render. An empty list clears the cast.
	//
	// PUT /workspace/{slug}/avatars
	PutReelAvatars(ctx context.Context, request *AvatarsEdit, params PutReelAvatarsParams) (PutReelAvatarsRes, error)
	// PutSocial invokes putSocial operation.
	//
	// Overwrites the COMPOSED CONTENT only. The status and any posting record survive, so editing copy
	// cannot silently un-post something or lose the URL a post landed at.
	//
	// PUT /workspace/{slug}/social/{platform}
	PutSocial(ctx context.Context, request *SocialEdit, params PutSocialParams) (PutSocialRes, error)
	// PutSource invokes putSource operation.
	//
	// For a reel linked to no article; a linked reel reads its subject from the article instead. Echoes
	// what it stored, because nothing else can change as a result.
	//
	// PUT /workspace/{slug}/source
	PutSource(ctx context.Context, request *SourceEdit, params PutSourceParams) (PutSourceRes, error)
	// PutStoryboard invokes putStoryboard operation.
	//
	// Validated SEMANTICALLY before it is accepted: a body can be perfectly valid JSON and still be
	// refused. That check is R-WS-9..R-WS-13 and lives in spec 0054 — OpenAPI has no vocabulary for it,
	// which is exactly why 0053 does not try.
	//
	// PUT /workspace/{slug}/storyboard
	PutStoryboard(ctx context.Context, request Storyboard, params PutStoryboardParams) (PutStoryboardRes, error)
	// PutTheme invokes putTheme operation.
	//
	// Returns the whole workspace re-read, because a theme change can alter what validates: a card relying
	// on a palette role the new theme does not define becomes an error.
	//
	// PUT /workspace/{slug}/theme
	PutTheme(ctx context.Context, request *ThemeEdit, params PutThemeParams) (PutThemeRes, error)
	// ReclaimStorage invokes reclaimStorage operation.
	//
	// A dry run: it reports what is orphaned without deleting anything. Pruning is a CLI operation,
	// deliberately — the studio shows the number and the CLI is where an irreversible delete is asked
	// for. Always 200, for the same reason verify is.
	//
	// POST /storage/reclaim
	ReclaimStorage(ctx context.Context) (*StorageReclaim, error)
	// RemoveAvatar invokes removeAvatar operation.
	//
	// Removes it from the project's registry. Reels that named it keep the name in their cast; the
	// reference simply stops resolving, which is reported at the point of use rather than silently
	// rewriting someone's board.
	//
	// DELETE /avatars/{name}
	RemoveAvatar(ctx context.Context, params RemoveAvatarParams) (RemoveAvatarRes, error)
	// RemoveReel invokes removeReel operation.
	//
	// Removes the workspace directory. What has already been pushed to the object store is not touched
	// here — `media gc` is where blobs are reclaimed, and deliberately so, because a blob may still be
	// referenced by another reel.
	//
	// DELETE /reels/{slug}
	RemoveReel(ctx context.Context, params RemoveReelParams) (RemoveReelRes, error)
	// RemoveTheme invokes removeTheme operation.
	//
	// Project scope only. A theme in the user library is a 404 here and can only be removed from the CLI,
	// so a project can never delete something every other project shares.
	//
	// DELETE /themes/{keyword}
	RemoveTheme(ctx context.Context, params RemoveThemeParams) (RemoveThemeRes, error)
	// RenameReel invokes renameReel operation.
	//
	// The slug IS the directory name, so a rename moves the workspace. The label is the human name and is
	// changed through the workspace instead.
	//
	// POST /reels/{slug}/rename
	RenameReel(ctx context.Context, request *SlugTarget, params RenameReelParams) (RenameReelRes, error)
	// SaveAvatar invokes saveAvatar operation.
	//
	// Create or update the avatar this name identifies.
	//
	// PUT /avatars/{name}
	SaveAvatar(ctx context.Context, request *Avatar, params SaveAvatarParams) (SaveAvatarRes, error)
	// SaveTheme invokes saveTheme operation.
	//
	// Upsert. The path identifies the theme and wins over any keyword in the body. There is no {type}
	// segment: a keyword identifies exactly one theme (spec 0047 D4).
	//
	// PUT /themes/{keyword}
	SaveTheme(ctx context.Context, request *Theme, params SaveThemeParams) (SaveThemeRes, error)
	// ScreenCards invokes screenCards operation.
	//
	// Image models write words into pictures. A card whose illustration contains text fights the card's
	// own words, so this reads the images back and says which ones did.
	//
	// POST /workspace/{slug}/cards/screen
	ScreenCards(ctx context.Context, params ScreenCardsParams) (ScreenCardsRes, error)
	// SetBundle invokes setBundle operation.
	//
	// Link the reel to an article.
	//
	// PUT /workspace/{slug}/bundle
	SetBundle(ctx context.Context, request *BundleEdit, params SetBundleParams) (SetBundleRes, error)
	// SetLabel invokes setLabel operation.
	//
	// The label is the human name and the slug is the directory. Changing one never changes the other, so
	// a reel can be renamed without moving any files.
	//
	// PUT /workspace/{slug}/label
	SetLabel(ctx context.Context, request *LabelEdit, params SetLabelParams) (SetLabelRes, error)
	// StartRender invokes startRender operation.
	//
	// Asynchronous, and ONE AT A TIME per reel: a second render while one is in flight is a conflict
	// rather than a queue, because two renders writing the same output is not something to resolve
	// politely.
	//
	// POST /workspace/{slug}/render
	StartRender(ctx context.Context, request OptRenderRequest, params StartRenderParams) (StartRenderRes, error)
	// StopRender invokes stopRender operation.
	//
	// Cancel the render in flight.
	//
	// POST /workspace/{slug}/render/cancel
	StopRender(ctx context.Context, params StopRenderParams) (StopRenderRes, error)
	// SummariseSource invokes summariseSource operation.
	//
	// Needs a linked article; there is nothing to summarise otherwise, which is a 400 rather than an empty
	// result.
	//
	// POST /workspace/{slug}/source/summarise
	SummariseSource(ctx context.Context, params SummariseSourceParams) (SummariseSourceRes, error)
	// SwitchProject invokes switchProject operation.
	//
	// Make a known project the active one.
	//
	// POST /projects/switch
	SwitchProject(ctx context.Context, request *ProjectPath) (SwitchProjectRes, error)
	// VerifyStorage invokes verifyStorage operation.
	//
	// Always 200. "There is no object store configured" and "the bucket is unreachable" are both ANSWERS
	// — the panel asking this wants to render them, not handle them — so the outcome is in the body
	// and never in the status.
	//
	// POST /storage/verify
	VerifyStorage(ctx context.Context) (*StorageCheck, error)
}

Invoker invokes operations described by OpenAPI v3 specification.

type Issue

type Issue struct {
	// The 1-based card, or -1 for the board itself.
	Card int    `json:"card"`
	Msg  string `json:"msg"`
}

Ref: #/components/schemas/Issue

func (*Issue) Decode

func (s *Issue) Decode(d *jx.Decoder) error

Decode decodes Issue from json.

func (*Issue) Encode

func (s *Issue) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Issue) GetCard

func (s *Issue) GetCard() int

GetCard returns the value of Card.

func (*Issue) GetMsg

func (s *Issue) GetMsg() string

GetMsg returns the value of Msg.

func (*Issue) MarshalJSON

func (s *Issue) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Issue) SetCard

func (s *Issue) SetCard(val int)

SetCard sets the value of Card.

func (*Issue) SetMsg

func (s *Issue) SetMsg(val string)

SetMsg sets the value of Msg.

func (*Issue) UnmarshalJSON

func (s *Issue) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Job

type Job struct {
	ID    string   `json:"id"`
	Kind  string   `json:"kind"`
	Card  OptInt   `json:"card"`
	State JobState `json:"state"`
	Takes []string `json:"takes"`
	// Posting jobs: one line per platform.
	Results []string `json:"results"`
	// Render jobs: the produced mp4, workspace-relative.
	Output    OptString `json:"output"`
	Cost      Cost      `json:"cost"`
	Error     OptString `json:"error"`
	ElapsedMs int64     `json:"elapsed_ms"`
	EtaMs     int64     `json:"eta_ms"`
	// Render jobs: 0-100 where the backend streams progress.
	Percent OptFloat64 `json:"percent"`
	// Which engine a render is running on.
	Backend OptString `json:"backend"`
	// Why a faster engine was passed over. A render that is merely slow looks identical to one that is
	// stuck, so the reason is shown.
	BackendNote OptString `json:"backend_note"`
}

An asynchronous operation. Generation and posting outlive their request deliberately — a browser navigating away must not abandon work that is already being paid for. Ref: #/components/schemas/Job

func (*Job) Decode

func (s *Job) Decode(d *jx.Decoder) error

Decode decodes Job from json.

func (*Job) Encode

func (s *Job) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Job) GetBackend

func (s *Job) GetBackend() OptString

GetBackend returns the value of Backend.

func (*Job) GetBackendNote

func (s *Job) GetBackendNote() OptString

GetBackendNote returns the value of BackendNote.

func (*Job) GetCard

func (s *Job) GetCard() OptInt

GetCard returns the value of Card.

func (*Job) GetCost

func (s *Job) GetCost() Cost

GetCost returns the value of Cost.

func (*Job) GetElapsedMs

func (s *Job) GetElapsedMs() int64

GetElapsedMs returns the value of ElapsedMs.

func (*Job) GetError

func (s *Job) GetError() OptString

GetError returns the value of Error.

func (*Job) GetEtaMs

func (s *Job) GetEtaMs() int64

GetEtaMs returns the value of EtaMs.

func (*Job) GetID

func (s *Job) GetID() string

GetID returns the value of ID.

func (*Job) GetKind

func (s *Job) GetKind() string

GetKind returns the value of Kind.

func (*Job) GetOutput

func (s *Job) GetOutput() OptString

GetOutput returns the value of Output.

func (*Job) GetPercent

func (s *Job) GetPercent() OptFloat64

GetPercent returns the value of Percent.

func (*Job) GetResults

func (s *Job) GetResults() []string

GetResults returns the value of Results.

func (*Job) GetState

func (s *Job) GetState() JobState

GetState returns the value of State.

func (*Job) GetTakes

func (s *Job) GetTakes() []string

GetTakes returns the value of Takes.

func (*Job) MarshalJSON

func (s *Job) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Job) SetBackend

func (s *Job) SetBackend(val OptString)

SetBackend sets the value of Backend.

func (*Job) SetBackendNote

func (s *Job) SetBackendNote(val OptString)

SetBackendNote sets the value of BackendNote.

func (*Job) SetCard

func (s *Job) SetCard(val OptInt)

SetCard sets the value of Card.

func (*Job) SetCost

func (s *Job) SetCost(val Cost)

SetCost sets the value of Cost.

func (*Job) SetElapsedMs

func (s *Job) SetElapsedMs(val int64)

SetElapsedMs sets the value of ElapsedMs.

func (*Job) SetError

func (s *Job) SetError(val OptString)

SetError sets the value of Error.

func (*Job) SetEtaMs

func (s *Job) SetEtaMs(val int64)

SetEtaMs sets the value of EtaMs.

func (*Job) SetID

func (s *Job) SetID(val string)

SetID sets the value of ID.

func (*Job) SetKind

func (s *Job) SetKind(val string)

SetKind sets the value of Kind.

func (*Job) SetOutput

func (s *Job) SetOutput(val OptString)

SetOutput sets the value of Output.

func (*Job) SetPercent

func (s *Job) SetPercent(val OptFloat64)

SetPercent sets the value of Percent.

func (*Job) SetResults

func (s *Job) SetResults(val []string)

SetResults sets the value of Results.

func (*Job) SetState

func (s *Job) SetState(val JobState)

SetState sets the value of State.

func (*Job) SetTakes

func (s *Job) SetTakes(val []string)

SetTakes sets the value of Takes.

func (*Job) UnmarshalJSON

func (s *Job) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Job) Validate

func (s *Job) Validate() error

type JobState

type JobState string
const (
	JobStateQueued  JobState = "queued"
	JobStateRunning JobState = "running"
	JobStateDone    JobState = "done"
	JobStateFailed  JobState = "failed"
)

func (JobState) AllValues

func (JobState) AllValues() []JobState

AllValues returns all JobState values.

func (*JobState) Decode

func (s *JobState) Decode(d *jx.Decoder) error

Decode decodes JobState from json.

func (JobState) Encode

func (s JobState) Encode(e *jx.Encoder)

Encode encodes JobState as json.

func (JobState) MarshalJSON

func (s JobState) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (JobState) MarshalText

func (s JobState) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*JobState) UnmarshalJSON

func (s *JobState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*JobState) UnmarshalText

func (s *JobState) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (JobState) Validate

func (s JobState) Validate() error

type LabelEdit

type LabelEdit struct {
	Label string `json:"label"`
}

Ref: #/components/schemas/LabelEdit

func (*LabelEdit) Decode

func (s *LabelEdit) Decode(d *jx.Decoder) error

Decode decodes LabelEdit from json.

func (*LabelEdit) Encode

func (s *LabelEdit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*LabelEdit) GetLabel

func (s *LabelEdit) GetLabel() string

GetLabel returns the value of Label.

func (*LabelEdit) MarshalJSON

func (s *LabelEdit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*LabelEdit) SetLabel

func (s *LabelEdit) SetLabel(val string)

SetLabel sets the value of Label.

func (*LabelEdit) UnmarshalJSON

func (s *LabelEdit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Labeler

type Labeler struct {
	// contains filtered or unexported fields
}

Labeler is used to allow adding custom attributes to the server request metrics.

func LabelerFromContext

func LabelerFromContext(ctx context.Context) (*Labeler, bool)

LabelerFromContext retrieves the Labeler from the provided context, if present.

If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.

func (*Labeler) Add

func (l *Labeler) Add(attrs ...attribute.KeyValue)

Add attributes to the Labeler.

func (*Labeler) AttributeSet

func (l *Labeler) AttributeSet() attribute.Set

AttributeSet returns the attributes added to the Labeler as an attribute.Set.

type ListAvatarsOKApplicationJSON

type ListAvatarsOKApplicationJSON []Avatar

func (*ListAvatarsOKApplicationJSON) Decode

Decode decodes ListAvatarsOKApplicationJSON from json.

func (ListAvatarsOKApplicationJSON) Encode

Encode encodes ListAvatarsOKApplicationJSON as json.

func (ListAvatarsOKApplicationJSON) MarshalJSON

func (s ListAvatarsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListAvatarsOKApplicationJSON) UnmarshalJSON

func (s *ListAvatarsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListAvatarsOKApplicationJSON) Validate

func (s ListAvatarsOKApplicationJSON) Validate() error

type ListAvatarsRes

type ListAvatarsRes interface {
	// contains filtered or unexported methods
}

type ListCardScreensBadRequest

type ListCardScreensBadRequest Error

func (*ListCardScreensBadRequest) Decode

func (s *ListCardScreensBadRequest) Decode(d *jx.Decoder) error

Decode decodes ListCardScreensBadRequest from json.

func (*ListCardScreensBadRequest) Encode

func (s *ListCardScreensBadRequest) Encode(e *jx.Encoder)

Encode encodes ListCardScreensBadRequest as json.

func (*ListCardScreensBadRequest) MarshalJSON

func (s *ListCardScreensBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardScreensBadRequest) UnmarshalJSON

func (s *ListCardScreensBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardScreensConflict

type ListCardScreensConflict Error

func (*ListCardScreensConflict) Decode

func (s *ListCardScreensConflict) Decode(d *jx.Decoder) error

Decode decodes ListCardScreensConflict from json.

func (*ListCardScreensConflict) Encode

func (s *ListCardScreensConflict) Encode(e *jx.Encoder)

Encode encodes ListCardScreensConflict as json.

func (*ListCardScreensConflict) MarshalJSON

func (s *ListCardScreensConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardScreensConflict) UnmarshalJSON

func (s *ListCardScreensConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardScreensInternalServerError

type ListCardScreensInternalServerError Error

func (*ListCardScreensInternalServerError) Decode

Decode decodes ListCardScreensInternalServerError from json.

func (*ListCardScreensInternalServerError) Encode

Encode encodes ListCardScreensInternalServerError as json.

func (*ListCardScreensInternalServerError) MarshalJSON

func (s *ListCardScreensInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardScreensInternalServerError) UnmarshalJSON

func (s *ListCardScreensInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardScreensNotFound

type ListCardScreensNotFound Error

func (*ListCardScreensNotFound) Decode

func (s *ListCardScreensNotFound) Decode(d *jx.Decoder) error

Decode decodes ListCardScreensNotFound from json.

func (*ListCardScreensNotFound) Encode

func (s *ListCardScreensNotFound) Encode(e *jx.Encoder)

Encode encodes ListCardScreensNotFound as json.

func (*ListCardScreensNotFound) MarshalJSON

func (s *ListCardScreensNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardScreensNotFound) UnmarshalJSON

func (s *ListCardScreensNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardScreensOKApplicationJSON

type ListCardScreensOKApplicationJSON []CardScreen

func (*ListCardScreensOKApplicationJSON) Decode

Decode decodes ListCardScreensOKApplicationJSON from json.

func (ListCardScreensOKApplicationJSON) Encode

Encode encodes ListCardScreensOKApplicationJSON as json.

func (ListCardScreensOKApplicationJSON) MarshalJSON

func (s ListCardScreensOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardScreensOKApplicationJSON) UnmarshalJSON

func (s *ListCardScreensOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListCardScreensOKApplicationJSON) Validate

type ListCardScreensParams

type ListCardScreensParams struct {
	// The reel's slug.
	Slug string
}

ListCardScreensParams is parameters of listCardScreens operation.

type ListCardScreensRes

type ListCardScreensRes interface {
	// contains filtered or unexported methods
}

type ListCardTakesBadRequest

type ListCardTakesBadRequest Error

func (*ListCardTakesBadRequest) Decode

func (s *ListCardTakesBadRequest) Decode(d *jx.Decoder) error

Decode decodes ListCardTakesBadRequest from json.

func (*ListCardTakesBadRequest) Encode

func (s *ListCardTakesBadRequest) Encode(e *jx.Encoder)

Encode encodes ListCardTakesBadRequest as json.

func (*ListCardTakesBadRequest) MarshalJSON

func (s *ListCardTakesBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardTakesBadRequest) UnmarshalJSON

func (s *ListCardTakesBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardTakesConflict

type ListCardTakesConflict Error

func (*ListCardTakesConflict) Decode

func (s *ListCardTakesConflict) Decode(d *jx.Decoder) error

Decode decodes ListCardTakesConflict from json.

func (*ListCardTakesConflict) Encode

func (s *ListCardTakesConflict) Encode(e *jx.Encoder)

Encode encodes ListCardTakesConflict as json.

func (*ListCardTakesConflict) MarshalJSON

func (s *ListCardTakesConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardTakesConflict) UnmarshalJSON

func (s *ListCardTakesConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardTakesInternalServerError

type ListCardTakesInternalServerError Error

func (*ListCardTakesInternalServerError) Decode

Decode decodes ListCardTakesInternalServerError from json.

func (*ListCardTakesInternalServerError) Encode

Encode encodes ListCardTakesInternalServerError as json.

func (*ListCardTakesInternalServerError) MarshalJSON

func (s *ListCardTakesInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardTakesInternalServerError) UnmarshalJSON

func (s *ListCardTakesInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardTakesNotFound

type ListCardTakesNotFound Error

func (*ListCardTakesNotFound) Decode

func (s *ListCardTakesNotFound) Decode(d *jx.Decoder) error

Decode decodes ListCardTakesNotFound from json.

func (*ListCardTakesNotFound) Encode

func (s *ListCardTakesNotFound) Encode(e *jx.Encoder)

Encode encodes ListCardTakesNotFound as json.

func (*ListCardTakesNotFound) MarshalJSON

func (s *ListCardTakesNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardTakesNotFound) UnmarshalJSON

func (s *ListCardTakesNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardTakesParams

type ListCardTakesParams struct {
	// The reel's slug.
	Slug string
	// The card's 1-based position in the storyboard.
	N int
}

ListCardTakesParams is parameters of listCardTakes operation.

type ListCardTakesRes

type ListCardTakesRes interface {
	// contains filtered or unexported methods
}

type ListCardVOTakesBadRequest

type ListCardVOTakesBadRequest Error

func (*ListCardVOTakesBadRequest) Decode

func (s *ListCardVOTakesBadRequest) Decode(d *jx.Decoder) error

Decode decodes ListCardVOTakesBadRequest from json.

func (*ListCardVOTakesBadRequest) Encode

func (s *ListCardVOTakesBadRequest) Encode(e *jx.Encoder)

Encode encodes ListCardVOTakesBadRequest as json.

func (*ListCardVOTakesBadRequest) MarshalJSON

func (s *ListCardVOTakesBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardVOTakesBadRequest) UnmarshalJSON

func (s *ListCardVOTakesBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardVOTakesConflict

type ListCardVOTakesConflict Error

func (*ListCardVOTakesConflict) Decode

func (s *ListCardVOTakesConflict) Decode(d *jx.Decoder) error

Decode decodes ListCardVOTakesConflict from json.

func (*ListCardVOTakesConflict) Encode

func (s *ListCardVOTakesConflict) Encode(e *jx.Encoder)

Encode encodes ListCardVOTakesConflict as json.

func (*ListCardVOTakesConflict) MarshalJSON

func (s *ListCardVOTakesConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardVOTakesConflict) UnmarshalJSON

func (s *ListCardVOTakesConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardVOTakesInternalServerError

type ListCardVOTakesInternalServerError Error

func (*ListCardVOTakesInternalServerError) Decode

Decode decodes ListCardVOTakesInternalServerError from json.

func (*ListCardVOTakesInternalServerError) Encode

Encode encodes ListCardVOTakesInternalServerError as json.

func (*ListCardVOTakesInternalServerError) MarshalJSON

func (s *ListCardVOTakesInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardVOTakesInternalServerError) UnmarshalJSON

func (s *ListCardVOTakesInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardVOTakesNotFound

type ListCardVOTakesNotFound Error

func (*ListCardVOTakesNotFound) Decode

func (s *ListCardVOTakesNotFound) Decode(d *jx.Decoder) error

Decode decodes ListCardVOTakesNotFound from json.

func (*ListCardVOTakesNotFound) Encode

func (s *ListCardVOTakesNotFound) Encode(e *jx.Encoder)

Encode encodes ListCardVOTakesNotFound as json.

func (*ListCardVOTakesNotFound) MarshalJSON

func (s *ListCardVOTakesNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCardVOTakesNotFound) UnmarshalJSON

func (s *ListCardVOTakesNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCardVOTakesParams

type ListCardVOTakesParams struct {
	// The reel's slug.
	Slug string
	// The card's 1-based position in the storyboard.
	N int
}

ListCardVOTakesParams is parameters of listCardVOTakes operation.

type ListCardVOTakesRes

type ListCardVOTakesRes interface {
	// contains filtered or unexported methods
}

type ListCoverTakesBadRequest

type ListCoverTakesBadRequest Error

func (*ListCoverTakesBadRequest) Decode

func (s *ListCoverTakesBadRequest) Decode(d *jx.Decoder) error

Decode decodes ListCoverTakesBadRequest from json.

func (*ListCoverTakesBadRequest) Encode

func (s *ListCoverTakesBadRequest) Encode(e *jx.Encoder)

Encode encodes ListCoverTakesBadRequest as json.

func (*ListCoverTakesBadRequest) MarshalJSON

func (s *ListCoverTakesBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCoverTakesBadRequest) UnmarshalJSON

func (s *ListCoverTakesBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCoverTakesConflict

type ListCoverTakesConflict Error

func (*ListCoverTakesConflict) Decode

func (s *ListCoverTakesConflict) Decode(d *jx.Decoder) error

Decode decodes ListCoverTakesConflict from json.

func (*ListCoverTakesConflict) Encode

func (s *ListCoverTakesConflict) Encode(e *jx.Encoder)

Encode encodes ListCoverTakesConflict as json.

func (*ListCoverTakesConflict) MarshalJSON

func (s *ListCoverTakesConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCoverTakesConflict) UnmarshalJSON

func (s *ListCoverTakesConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCoverTakesInternalServerError

type ListCoverTakesInternalServerError Error

func (*ListCoverTakesInternalServerError) Decode

Decode decodes ListCoverTakesInternalServerError from json.

func (*ListCoverTakesInternalServerError) Encode

Encode encodes ListCoverTakesInternalServerError as json.

func (*ListCoverTakesInternalServerError) MarshalJSON

func (s *ListCoverTakesInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCoverTakesInternalServerError) UnmarshalJSON

func (s *ListCoverTakesInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCoverTakesNotFound

type ListCoverTakesNotFound Error

func (*ListCoverTakesNotFound) Decode

func (s *ListCoverTakesNotFound) Decode(d *jx.Decoder) error

Decode decodes ListCoverTakesNotFound from json.

func (*ListCoverTakesNotFound) Encode

func (s *ListCoverTakesNotFound) Encode(e *jx.Encoder)

Encode encodes ListCoverTakesNotFound as json.

func (*ListCoverTakesNotFound) MarshalJSON

func (s *ListCoverTakesNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListCoverTakesNotFound) UnmarshalJSON

func (s *ListCoverTakesNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListCoverTakesParams

type ListCoverTakesParams struct {
	// The reel's slug.
	Slug string
}

ListCoverTakesParams is parameters of listCoverTakes operation.

type ListCoverTakesRes

type ListCoverTakesRes interface {
	// contains filtered or unexported methods
}

type ListFontsRes

type ListFontsRes interface {
	// contains filtered or unexported methods
}

type ListMusicTakesBadRequest

type ListMusicTakesBadRequest Error

func (*ListMusicTakesBadRequest) Decode

func (s *ListMusicTakesBadRequest) Decode(d *jx.Decoder) error

Decode decodes ListMusicTakesBadRequest from json.

func (*ListMusicTakesBadRequest) Encode

func (s *ListMusicTakesBadRequest) Encode(e *jx.Encoder)

Encode encodes ListMusicTakesBadRequest as json.

func (*ListMusicTakesBadRequest) MarshalJSON

func (s *ListMusicTakesBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListMusicTakesBadRequest) UnmarshalJSON

func (s *ListMusicTakesBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListMusicTakesConflict

type ListMusicTakesConflict Error

func (*ListMusicTakesConflict) Decode

func (s *ListMusicTakesConflict) Decode(d *jx.Decoder) error

Decode decodes ListMusicTakesConflict from json.

func (*ListMusicTakesConflict) Encode

func (s *ListMusicTakesConflict) Encode(e *jx.Encoder)

Encode encodes ListMusicTakesConflict as json.

func (*ListMusicTakesConflict) MarshalJSON

func (s *ListMusicTakesConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListMusicTakesConflict) UnmarshalJSON

func (s *ListMusicTakesConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListMusicTakesInternalServerError

type ListMusicTakesInternalServerError Error

func (*ListMusicTakesInternalServerError) Decode

Decode decodes ListMusicTakesInternalServerError from json.

func (*ListMusicTakesInternalServerError) Encode

Encode encodes ListMusicTakesInternalServerError as json.

func (*ListMusicTakesInternalServerError) MarshalJSON

func (s *ListMusicTakesInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListMusicTakesInternalServerError) UnmarshalJSON

func (s *ListMusicTakesInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListMusicTakesNotFound

type ListMusicTakesNotFound Error

func (*ListMusicTakesNotFound) Decode

func (s *ListMusicTakesNotFound) Decode(d *jx.Decoder) error

Decode decodes ListMusicTakesNotFound from json.

func (*ListMusicTakesNotFound) Encode

func (s *ListMusicTakesNotFound) Encode(e *jx.Encoder)

Encode encodes ListMusicTakesNotFound as json.

func (*ListMusicTakesNotFound) MarshalJSON

func (s *ListMusicTakesNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListMusicTakesNotFound) UnmarshalJSON

func (s *ListMusicTakesNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListMusicTakesParams

type ListMusicTakesParams struct {
	// The reel's slug.
	Slug string
}

ListMusicTakesParams is parameters of listMusicTakes operation.

type ListMusicTakesRes

type ListMusicTakesRes interface {
	// contains filtered or unexported methods
}

type ListPortraitRefsBadRequest

type ListPortraitRefsBadRequest Error

func (*ListPortraitRefsBadRequest) Decode

Decode decodes ListPortraitRefsBadRequest from json.

func (*ListPortraitRefsBadRequest) Encode

func (s *ListPortraitRefsBadRequest) Encode(e *jx.Encoder)

Encode encodes ListPortraitRefsBadRequest as json.

func (*ListPortraitRefsBadRequest) MarshalJSON

func (s *ListPortraitRefsBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPortraitRefsBadRequest) UnmarshalJSON

func (s *ListPortraitRefsBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListPortraitRefsConflict

type ListPortraitRefsConflict Error

func (*ListPortraitRefsConflict) Decode

func (s *ListPortraitRefsConflict) Decode(d *jx.Decoder) error

Decode decodes ListPortraitRefsConflict from json.

func (*ListPortraitRefsConflict) Encode

func (s *ListPortraitRefsConflict) Encode(e *jx.Encoder)

Encode encodes ListPortraitRefsConflict as json.

func (*ListPortraitRefsConflict) MarshalJSON

func (s *ListPortraitRefsConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPortraitRefsConflict) UnmarshalJSON

func (s *ListPortraitRefsConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListPortraitRefsInternalServerError

type ListPortraitRefsInternalServerError Error

func (*ListPortraitRefsInternalServerError) Decode

Decode decodes ListPortraitRefsInternalServerError from json.

func (*ListPortraitRefsInternalServerError) Encode

Encode encodes ListPortraitRefsInternalServerError as json.

func (*ListPortraitRefsInternalServerError) MarshalJSON

func (s *ListPortraitRefsInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPortraitRefsInternalServerError) UnmarshalJSON

func (s *ListPortraitRefsInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListPortraitRefsNotFound

type ListPortraitRefsNotFound Error

func (*ListPortraitRefsNotFound) Decode

func (s *ListPortraitRefsNotFound) Decode(d *jx.Decoder) error

Decode decodes ListPortraitRefsNotFound from json.

func (*ListPortraitRefsNotFound) Encode

func (s *ListPortraitRefsNotFound) Encode(e *jx.Encoder)

Encode encodes ListPortraitRefsNotFound as json.

func (*ListPortraitRefsNotFound) MarshalJSON

func (s *ListPortraitRefsNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPortraitRefsNotFound) UnmarshalJSON

func (s *ListPortraitRefsNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListPortraitRefsParams

type ListPortraitRefsParams struct {
	// The reel's slug.
	Slug string
}

ListPortraitRefsParams is parameters of listPortraitRefs operation.

type ListPortraitRefsRes

type ListPortraitRefsRes interface {
	// contains filtered or unexported methods
}

type ListPortraitTakesBadRequest

type ListPortraitTakesBadRequest Error

func (*ListPortraitTakesBadRequest) Decode

Decode decodes ListPortraitTakesBadRequest from json.

func (*ListPortraitTakesBadRequest) Encode

func (s *ListPortraitTakesBadRequest) Encode(e *jx.Encoder)

Encode encodes ListPortraitTakesBadRequest as json.

func (*ListPortraitTakesBadRequest) MarshalJSON

func (s *ListPortraitTakesBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPortraitTakesBadRequest) UnmarshalJSON

func (s *ListPortraitTakesBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListPortraitTakesConflict

type ListPortraitTakesConflict Error

func (*ListPortraitTakesConflict) Decode

func (s *ListPortraitTakesConflict) Decode(d *jx.Decoder) error

Decode decodes ListPortraitTakesConflict from json.

func (*ListPortraitTakesConflict) Encode

func (s *ListPortraitTakesConflict) Encode(e *jx.Encoder)

Encode encodes ListPortraitTakesConflict as json.

func (*ListPortraitTakesConflict) MarshalJSON

func (s *ListPortraitTakesConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPortraitTakesConflict) UnmarshalJSON

func (s *ListPortraitTakesConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListPortraitTakesInternalServerError

type ListPortraitTakesInternalServerError Error

func (*ListPortraitTakesInternalServerError) Decode

Decode decodes ListPortraitTakesInternalServerError from json.

func (*ListPortraitTakesInternalServerError) Encode

Encode encodes ListPortraitTakesInternalServerError as json.

func (*ListPortraitTakesInternalServerError) MarshalJSON

func (s *ListPortraitTakesInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPortraitTakesInternalServerError) UnmarshalJSON

func (s *ListPortraitTakesInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListPortraitTakesNotFound

type ListPortraitTakesNotFound Error

func (*ListPortraitTakesNotFound) Decode

func (s *ListPortraitTakesNotFound) Decode(d *jx.Decoder) error

Decode decodes ListPortraitTakesNotFound from json.

func (*ListPortraitTakesNotFound) Encode

func (s *ListPortraitTakesNotFound) Encode(e *jx.Encoder)

Encode encodes ListPortraitTakesNotFound as json.

func (*ListPortraitTakesNotFound) MarshalJSON

func (s *ListPortraitTakesNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPortraitTakesNotFound) UnmarshalJSON

func (s *ListPortraitTakesNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ListPortraitTakesParams

type ListPortraitTakesParams struct {
	// The reel's slug.
	Slug string
}

ListPortraitTakesParams is parameters of listPortraitTakes operation.

type ListPortraitTakesRes

type ListPortraitTakesRes interface {
	// contains filtered or unexported methods
}

type ListPostsOKApplicationJSON

type ListPostsOKApplicationJSON []Post

func (*ListPostsOKApplicationJSON) Decode

Decode decodes ListPostsOKApplicationJSON from json.

func (ListPostsOKApplicationJSON) Encode

func (s ListPostsOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes ListPostsOKApplicationJSON as json.

func (ListPostsOKApplicationJSON) MarshalJSON

func (s ListPostsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListPostsOKApplicationJSON) UnmarshalJSON

func (s *ListPostsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListPostsOKApplicationJSON) Validate

func (s ListPostsOKApplicationJSON) Validate() error

type ListPostsRes

type ListPostsRes interface {
	// contains filtered or unexported methods
}

type ListProjectsRes

type ListProjectsRes interface {
	// contains filtered or unexported methods
}

type ListReelsOKApplicationJSON

type ListReelsOKApplicationJSON []Reel

func (*ListReelsOKApplicationJSON) Decode

Decode decodes ListReelsOKApplicationJSON from json.

func (ListReelsOKApplicationJSON) Encode

func (s ListReelsOKApplicationJSON) Encode(e *jx.Encoder)

Encode encodes ListReelsOKApplicationJSON as json.

func (ListReelsOKApplicationJSON) MarshalJSON

func (s ListReelsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ListReelsOKApplicationJSON) UnmarshalJSON

func (s *ListReelsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ListReelsOKApplicationJSON) Validate

func (s ListReelsOKApplicationJSON) Validate() error

type ListReelsRes

type ListReelsRes interface {
	// contains filtered or unexported methods
}

type MediaPullStatus

type MediaPullStatus struct {
	Fetched      OptInt   `json:"fetched"`
	FetchedBytes OptInt64 `json:"fetched_bytes"`
	UpToDate     OptInt   `json:"up_to_date"`
	// Local files that differ from the store and were LEFT ALONE. Pulling never overwrites local work.
	SkippedModified OptInt    `json:"skipped_modified"`
	Skipped         OptString `json:"skipped"`
	Error           OptString `json:"error"`
}

Ref: #/components/schemas/MediaPullStatus

func (*MediaPullStatus) Decode

func (s *MediaPullStatus) Decode(d *jx.Decoder) error

Decode decodes MediaPullStatus from json.

func (*MediaPullStatus) Encode

func (s *MediaPullStatus) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MediaPullStatus) GetError

func (s *MediaPullStatus) GetError() OptString

GetError returns the value of Error.

func (*MediaPullStatus) GetFetched

func (s *MediaPullStatus) GetFetched() OptInt

GetFetched returns the value of Fetched.

func (*MediaPullStatus) GetFetchedBytes

func (s *MediaPullStatus) GetFetchedBytes() OptInt64

GetFetchedBytes returns the value of FetchedBytes.

func (*MediaPullStatus) GetSkipped

func (s *MediaPullStatus) GetSkipped() OptString

GetSkipped returns the value of Skipped.

func (*MediaPullStatus) GetSkippedModified

func (s *MediaPullStatus) GetSkippedModified() OptInt

GetSkippedModified returns the value of SkippedModified.

func (*MediaPullStatus) GetUpToDate

func (s *MediaPullStatus) GetUpToDate() OptInt

GetUpToDate returns the value of UpToDate.

func (*MediaPullStatus) MarshalJSON

func (s *MediaPullStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MediaPullStatus) SetError

func (s *MediaPullStatus) SetError(val OptString)

SetError sets the value of Error.

func (*MediaPullStatus) SetFetched

func (s *MediaPullStatus) SetFetched(val OptInt)

SetFetched sets the value of Fetched.

func (*MediaPullStatus) SetFetchedBytes

func (s *MediaPullStatus) SetFetchedBytes(val OptInt64)

SetFetchedBytes sets the value of FetchedBytes.

func (*MediaPullStatus) SetSkipped

func (s *MediaPullStatus) SetSkipped(val OptString)

SetSkipped sets the value of Skipped.

func (*MediaPullStatus) SetSkippedModified

func (s *MediaPullStatus) SetSkippedModified(val OptInt)

SetSkippedModified sets the value of SkippedModified.

func (*MediaPullStatus) SetUpToDate

func (s *MediaPullStatus) SetUpToDate(val OptInt)

SetUpToDate sets the value of UpToDate.

func (*MediaPullStatus) UnmarshalJSON

func (s *MediaPullStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type MediaPushStatus

type MediaPushStatus struct {
	Pushed      OptInt   `json:"pushed"`
	PushedBytes OptInt64 `json:"pushed_bytes"`
	Unchanged   OptInt   `json:"unchanged"`
	Removed     OptInt   `json:"removed"`
	// Why nothing was attempted, e.g. no object store configured.
	Skipped OptString `json:"skipped"`
	Error   OptString `json:"error"`
}

Ref: #/components/schemas/MediaPushStatus

func (*MediaPushStatus) Decode

func (s *MediaPushStatus) Decode(d *jx.Decoder) error

Decode decodes MediaPushStatus from json.

func (*MediaPushStatus) Encode

func (s *MediaPushStatus) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*MediaPushStatus) GetError

func (s *MediaPushStatus) GetError() OptString

GetError returns the value of Error.

func (*MediaPushStatus) GetPushed

func (s *MediaPushStatus) GetPushed() OptInt

GetPushed returns the value of Pushed.

func (*MediaPushStatus) GetPushedBytes

func (s *MediaPushStatus) GetPushedBytes() OptInt64

GetPushedBytes returns the value of PushedBytes.

func (*MediaPushStatus) GetRemoved

func (s *MediaPushStatus) GetRemoved() OptInt

GetRemoved returns the value of Removed.

func (*MediaPushStatus) GetSkipped

func (s *MediaPushStatus) GetSkipped() OptString

GetSkipped returns the value of Skipped.

func (*MediaPushStatus) GetUnchanged

func (s *MediaPushStatus) GetUnchanged() OptInt

GetUnchanged returns the value of Unchanged.

func (*MediaPushStatus) MarshalJSON

func (s *MediaPushStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*MediaPushStatus) SetError

func (s *MediaPushStatus) SetError(val OptString)

SetError sets the value of Error.

func (*MediaPushStatus) SetPushed

func (s *MediaPushStatus) SetPushed(val OptInt)

SetPushed sets the value of Pushed.

func (*MediaPushStatus) SetPushedBytes

func (s *MediaPushStatus) SetPushedBytes(val OptInt64)

SetPushedBytes sets the value of PushedBytes.

func (*MediaPushStatus) SetRemoved

func (s *MediaPushStatus) SetRemoved(val OptInt)

SetRemoved sets the value of Removed.

func (*MediaPushStatus) SetSkipped

func (s *MediaPushStatus) SetSkipped(val OptString)

SetSkipped sets the value of Skipped.

func (*MediaPushStatus) SetUnchanged

func (s *MediaPushStatus) SetUnchanged(val OptInt)

SetUnchanged sets the value of Unchanged.

func (*MediaPushStatus) UnmarshalJSON

func (s *MediaPushStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Middleware

type Middleware = middleware.Middleware

Middleware is middleware type.

type NewReel

type NewReel struct {
	Slug   string    `json:"slug"`
	Label  OptString `json:"label"`
	Theme  OptString `json:"theme"`
	Bundle OptString `json:"bundle"`
}

Ref: #/components/schemas/NewReel

func (*NewReel) Decode

func (s *NewReel) Decode(d *jx.Decoder) error

Decode decodes NewReel from json.

func (*NewReel) Encode

func (s *NewReel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*NewReel) GetBundle

func (s *NewReel) GetBundle() OptString

GetBundle returns the value of Bundle.

func (*NewReel) GetLabel

func (s *NewReel) GetLabel() OptString

GetLabel returns the value of Label.

func (*NewReel) GetSlug

func (s *NewReel) GetSlug() string

GetSlug returns the value of Slug.

func (*NewReel) GetTheme

func (s *NewReel) GetTheme() OptString

GetTheme returns the value of Theme.

func (*NewReel) MarshalJSON

func (s *NewReel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*NewReel) SetBundle

func (s *NewReel) SetBundle(val OptString)

SetBundle sets the value of Bundle.

func (*NewReel) SetLabel

func (s *NewReel) SetLabel(val OptString)

SetLabel sets the value of Label.

func (*NewReel) SetSlug

func (s *NewReel) SetSlug(val string)

SetSlug sets the value of Slug.

func (*NewReel) SetTheme

func (s *NewReel) SetTheme(val OptString)

SetTheme sets the value of Theme.

func (*NewReel) UnmarshalJSON

func (s *NewReel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OperationName

type OperationName = string

OperationName is the ogen operation name

const (
	AddProjectOperation        OperationName = "AddProject"
	ApproveSocialOperation     OperationName = "ApproveSocial"
	CheckConnectionsOperation  OperationName = "CheckConnections"
	CommitReelOperation        OperationName = "CommitReel"
	CreateAvatarOperation      OperationName = "CreateAvatar"
	CreateReelOperation        OperationName = "CreateReel"
	CreateThemeOperation       OperationName = "CreateTheme"
	DuplicateReelOperation     OperationName = "DuplicateReel"
	ForgetProjectOperation     OperationName = "ForgetProject"
	GenSocialOperation         OperationName = "GenSocial"
	GenerateCardOperation      OperationName = "GenerateCard"
	GenerateCardVOOperation    OperationName = "GenerateCardVO"
	GenerateCoverOperation     OperationName = "GenerateCover"
	GenerateMusicOperation     OperationName = "GenerateMusic"
	GeneratePortraitOperation  OperationName = "GeneratePortrait"
	GetArticleOperation        OperationName = "GetArticle"
	GetChatHistoryOperation    OperationName = "GetChatHistory"
	GetConfigOperation         OperationName = "GetConfig"
	GetConfigYAMLOperation     OperationName = "GetConfigYAML"
	GetConnectionsOperation    OperationName = "GetConnections"
	GetJobOperation            OperationName = "GetJob"
	GetOutcomeOperation        OperationName = "GetOutcome"
	GetQuotaOperation          OperationName = "GetQuota"
	GetSocialOperation         OperationName = "GetSocial"
	GetSpendOperation          OperationName = "GetSpend"
	GetThemeCatalogOperation   OperationName = "GetThemeCatalog"
	GetTimelineOperation       OperationName = "GetTimeline"
	GetVCStatusOperation       OperationName = "GetVCStatus"
	GetWorkspaceOperation      OperationName = "GetWorkspace"
	ListAvatarsOperation       OperationName = "ListAvatars"
	ListCardScreensOperation   OperationName = "ListCardScreens"
	ListCardTakesOperation     OperationName = "ListCardTakes"
	ListCardVOTakesOperation   OperationName = "ListCardVOTakes"
	ListCoverTakesOperation    OperationName = "ListCoverTakes"
	ListFontsOperation         OperationName = "ListFonts"
	ListMusicTakesOperation    OperationName = "ListMusicTakes"
	ListPortraitRefsOperation  OperationName = "ListPortraitRefs"
	ListPortraitTakesOperation OperationName = "ListPortraitTakes"
	ListPostsOperation         OperationName = "ListPosts"
	ListProjectsOperation      OperationName = "ListProjects"
	ListReelsOperation         OperationName = "ListReels"
	ListThemesOperation        OperationName = "ListThemes"
	PickCardTakeOperation      OperationName = "PickCardTake"
	PickCardVOOperation        OperationName = "PickCardVO"
	PickCoverOperation         OperationName = "PickCover"
	PickMusicOperation         OperationName = "PickMusic"
	PickPortraitOperation      OperationName = "PickPortrait"
	PostSocialOperation        OperationName = "PostSocial"
	PromoteThemeOperation      OperationName = "PromoteTheme"
	PullMediaOperation         OperationName = "PullMedia"
	PutChatHistoryOperation    OperationName = "PutChatHistory"
	PutConfigOperation         OperationName = "PutConfig"
	PutConfigYAMLOperation     OperationName = "PutConfigYAML"
	PutDirectionOperation      OperationName = "PutDirection"
	PutReelAspectOperation     OperationName = "PutReelAspect"
	PutReelAvatarsOperation    OperationName = "PutReelAvatars"
	PutSocialOperation         OperationName = "PutSocial"
	PutSourceOperation         OperationName = "PutSource"
	PutStoryboardOperation     OperationName = "PutStoryboard"
	PutThemeOperation          OperationName = "PutTheme"
	ReclaimStorageOperation    OperationName = "ReclaimStorage"
	RemoveAvatarOperation      OperationName = "RemoveAvatar"
	RemoveReelOperation        OperationName = "RemoveReel"
	RemoveThemeOperation       OperationName = "RemoveTheme"
	RenameReelOperation        OperationName = "RenameReel"
	SaveAvatarOperation        OperationName = "SaveAvatar"
	SaveThemeOperation         OperationName = "SaveTheme"
	ScreenCardsOperation       OperationName = "ScreenCards"
	SetBundleOperation         OperationName = "SetBundle"
	SetLabelOperation          OperationName = "SetLabel"
	StartRenderOperation       OperationName = "StartRender"
	StopRenderOperation        OperationName = "StopRender"
	SummariseSourceOperation   OperationName = "SummariseSource"
	SwitchProjectOperation     OperationName = "SwitchProject"
	VerifyStorageOperation     OperationName = "VerifyStorage"
)

type OptAnchor

type OptAnchor struct {
	Value Anchor
	Set   bool
}

OptAnchor is optional Anchor.

func NewOptAnchor

func NewOptAnchor(v Anchor) OptAnchor

NewOptAnchor returns new OptAnchor with value set to v.

func (*OptAnchor) Decode

func (o *OptAnchor) Decode(d *jx.Decoder) error

Decode decodes Anchor from json.

func (OptAnchor) Encode

func (o OptAnchor) Encode(e *jx.Encoder)

Encode encodes Anchor as json.

func (OptAnchor) Get

func (o OptAnchor) Get() (v Anchor, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptAnchor) IsSet

func (o OptAnchor) IsSet() bool

IsSet returns true if OptAnchor was set.

func (OptAnchor) MarshalJSON

func (s OptAnchor) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptAnchor) Or

func (o OptAnchor) Or(d Anchor) Anchor

Or returns value if set, or given parameter if does not.

func (*OptAnchor) Reset

func (o *OptAnchor) Reset()

Reset unsets value.

func (*OptAnchor) SetTo

func (o *OptAnchor) SetTo(v Anchor)

SetTo sets value to v.

func (*OptAnchor) UnmarshalJSON

func (s *OptAnchor) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptBool

type OptBool struct {
	Value bool
	Set   bool
}

OptBool is optional bool.

func NewOptBool

func NewOptBool(v bool) OptBool

NewOptBool returns new OptBool with value set to v.

func (*OptBool) Decode

func (o *OptBool) Decode(d *jx.Decoder) error

Decode decodes bool from json.

func (OptBool) Encode

func (o OptBool) Encode(e *jx.Encoder)

Encode encodes bool as json.

func (OptBool) Get

func (o OptBool) Get() (v bool, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptBool) IsSet

func (o OptBool) IsSet() bool

IsSet returns true if OptBool was set.

func (OptBool) MarshalJSON

func (s OptBool) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptBool) Or

func (o OptBool) Or(d bool) bool

Or returns value if set, or given parameter if does not.

func (*OptBool) Reset

func (o *OptBool) Reset()

Reset unsets value.

func (*OptBool) SetTo

func (o *OptBool) SetTo(v bool)

SetTo sets value to v.

func (*OptBool) UnmarshalJSON

func (s *OptBool) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCardMedia

type OptCardMedia struct {
	Value CardMedia
	Set   bool
}

OptCardMedia is optional CardMedia.

func NewOptCardMedia

func NewOptCardMedia(v CardMedia) OptCardMedia

NewOptCardMedia returns new OptCardMedia with value set to v.

func (*OptCardMedia) Decode

func (o *OptCardMedia) Decode(d *jx.Decoder) error

Decode decodes CardMedia from json.

func (OptCardMedia) Encode

func (o OptCardMedia) Encode(e *jx.Encoder)

Encode encodes CardMedia as json.

func (OptCardMedia) Get

func (o OptCardMedia) Get() (v CardMedia, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptCardMedia) IsSet

func (o OptCardMedia) IsSet() bool

IsSet returns true if OptCardMedia was set.

func (OptCardMedia) MarshalJSON

func (s OptCardMedia) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCardMedia) Or

Or returns value if set, or given parameter if does not.

func (*OptCardMedia) Reset

func (o *OptCardMedia) Reset()

Reset unsets value.

func (*OptCardMedia) SetTo

func (o *OptCardMedia) SetTo(v CardMedia)

SetTo sets value to v.

func (*OptCardMedia) UnmarshalJSON

func (s *OptCardMedia) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCardMode

type OptCardMode struct {
	Value CardMode
	Set   bool
}

OptCardMode is optional CardMode.

func NewOptCardMode

func NewOptCardMode(v CardMode) OptCardMode

NewOptCardMode returns new OptCardMode with value set to v.

func (*OptCardMode) Decode

func (o *OptCardMode) Decode(d *jx.Decoder) error

Decode decodes CardMode from json.

func (OptCardMode) Encode

func (o OptCardMode) Encode(e *jx.Encoder)

Encode encodes CardMode as json.

func (OptCardMode) Get

func (o OptCardMode) Get() (v CardMode, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptCardMode) IsSet

func (o OptCardMode) IsSet() bool

IsSet returns true if OptCardMode was set.

func (OptCardMode) MarshalJSON

func (s OptCardMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCardMode) Or

func (o OptCardMode) Or(d CardMode) CardMode

Or returns value if set, or given parameter if does not.

func (*OptCardMode) Reset

func (o *OptCardMode) Reset()

Reset unsets value.

func (*OptCardMode) SetTo

func (o *OptCardMode) SetTo(v CardMode)

SetTo sets value to v.

func (*OptCardMode) UnmarshalJSON

func (s *OptCardMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCardScrim

type OptCardScrim struct {
	Value CardScrim
	Set   bool
}

OptCardScrim is optional CardScrim.

func NewOptCardScrim

func NewOptCardScrim(v CardScrim) OptCardScrim

NewOptCardScrim returns new OptCardScrim with value set to v.

func (*OptCardScrim) Decode

func (o *OptCardScrim) Decode(d *jx.Decoder) error

Decode decodes CardScrim from json.

func (OptCardScrim) Encode

func (o OptCardScrim) Encode(e *jx.Encoder)

Encode encodes CardScrim as json.

func (OptCardScrim) Get

func (o OptCardScrim) Get() (v CardScrim, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptCardScrim) IsSet

func (o OptCardScrim) IsSet() bool

IsSet returns true if OptCardScrim was set.

func (OptCardScrim) MarshalJSON

func (s OptCardScrim) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCardScrim) Or

Or returns value if set, or given parameter if does not.

func (*OptCardScrim) Reset

func (o *OptCardScrim) Reset()

Reset unsets value.

func (*OptCardScrim) SetTo

func (o *OptCardScrim) SetTo(v CardScrim)

SetTo sets value to v.

func (*OptCardScrim) UnmarshalJSON

func (s *OptCardScrim) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCardScrimDirection

type OptCardScrimDirection struct {
	Value CardScrimDirection
	Set   bool
}

OptCardScrimDirection is optional CardScrimDirection.

func NewOptCardScrimDirection

func NewOptCardScrimDirection(v CardScrimDirection) OptCardScrimDirection

NewOptCardScrimDirection returns new OptCardScrimDirection with value set to v.

func (*OptCardScrimDirection) Decode

func (o *OptCardScrimDirection) Decode(d *jx.Decoder) error

Decode decodes CardScrimDirection from json.

func (OptCardScrimDirection) Encode

func (o OptCardScrimDirection) Encode(e *jx.Encoder)

Encode encodes CardScrimDirection as json.

func (OptCardScrimDirection) Get

Get returns value and boolean that denotes whether value was set.

func (OptCardScrimDirection) IsSet

func (o OptCardScrimDirection) IsSet() bool

IsSet returns true if OptCardScrimDirection was set.

func (OptCardScrimDirection) MarshalJSON

func (s OptCardScrimDirection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCardScrimDirection) Or

Or returns value if set, or given parameter if does not.

func (*OptCardScrimDirection) Reset

func (o *OptCardScrimDirection) Reset()

Reset unsets value.

func (*OptCardScrimDirection) SetTo

SetTo sets value to v.

func (*OptCardScrimDirection) UnmarshalJSON

func (s *OptCardScrimDirection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptCommitStatus

type OptCommitStatus struct {
	Value CommitStatus
	Set   bool
}

OptCommitStatus is optional CommitStatus.

func NewOptCommitStatus

func NewOptCommitStatus(v CommitStatus) OptCommitStatus

NewOptCommitStatus returns new OptCommitStatus with value set to v.

func (*OptCommitStatus) Decode

func (o *OptCommitStatus) Decode(d *jx.Decoder) error

Decode decodes CommitStatus from json.

func (OptCommitStatus) Encode

func (o OptCommitStatus) Encode(e *jx.Encoder)

Encode encodes CommitStatus as json.

func (OptCommitStatus) Get

func (o OptCommitStatus) Get() (v CommitStatus, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptCommitStatus) IsSet

func (o OptCommitStatus) IsSet() bool

IsSet returns true if OptCommitStatus was set.

func (OptCommitStatus) MarshalJSON

func (s OptCommitStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptCommitStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptCommitStatus) Reset

func (o *OptCommitStatus) Reset()

Reset unsets value.

func (*OptCommitStatus) SetTo

func (o *OptCommitStatus) SetTo(v CommitStatus)

SetTo sets value to v.

func (*OptCommitStatus) UnmarshalJSON

func (s *OptCommitStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptFloat64

type OptFloat64 struct {
	Value float64
	Set   bool
}

OptFloat64 is optional float64.

func NewOptFloat64

func NewOptFloat64(v float64) OptFloat64

NewOptFloat64 returns new OptFloat64 with value set to v.

func (*OptFloat64) Decode

func (o *OptFloat64) Decode(d *jx.Decoder) error

Decode decodes float64 from json.

func (OptFloat64) Encode

func (o OptFloat64) Encode(e *jx.Encoder)

Encode encodes float64 as json.

func (OptFloat64) Get

func (o OptFloat64) Get() (v float64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptFloat64) IsSet

func (o OptFloat64) IsSet() bool

IsSet returns true if OptFloat64 was set.

func (OptFloat64) MarshalJSON

func (s OptFloat64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptFloat64) Or

func (o OptFloat64) Or(d float64) float64

Or returns value if set, or given parameter if does not.

func (*OptFloat64) Reset

func (o *OptFloat64) Reset()

Reset unsets value.

func (*OptFloat64) SetTo

func (o *OptFloat64) SetTo(v float64)

SetTo sets value to v.

func (*OptFloat64) UnmarshalJSON

func (s *OptFloat64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGCReport

type OptGCReport struct {
	Value GCReport
	Set   bool
}

OptGCReport is optional GCReport.

func NewOptGCReport

func NewOptGCReport(v GCReport) OptGCReport

NewOptGCReport returns new OptGCReport with value set to v.

func (*OptGCReport) Decode

func (o *OptGCReport) Decode(d *jx.Decoder) error

Decode decodes GCReport from json.

func (OptGCReport) Encode

func (o OptGCReport) Encode(e *jx.Encoder)

Encode encodes GCReport as json.

func (OptGCReport) Get

func (o OptGCReport) Get() (v GCReport, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptGCReport) IsSet

func (o OptGCReport) IsSet() bool

IsSet returns true if OptGCReport was set.

func (OptGCReport) MarshalJSON

func (s OptGCReport) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGCReport) Or

func (o OptGCReport) Or(d GCReport) GCReport

Or returns value if set, or given parameter if does not.

func (*OptGCReport) Reset

func (o *OptGCReport) Reset()

Reset unsets value.

func (*OptGCReport) SetTo

func (o *OptGCReport) SetTo(v GCReport)

SetTo sets value to v.

func (*OptGCReport) UnmarshalJSON

func (s *OptGCReport) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptGenerateRequest

type OptGenerateRequest struct {
	Value GenerateRequest
	Set   bool
}

OptGenerateRequest is optional GenerateRequest.

func NewOptGenerateRequest

func NewOptGenerateRequest(v GenerateRequest) OptGenerateRequest

NewOptGenerateRequest returns new OptGenerateRequest with value set to v.

func (*OptGenerateRequest) Decode

func (o *OptGenerateRequest) Decode(d *jx.Decoder) error

Decode decodes GenerateRequest from json.

func (OptGenerateRequest) Encode

func (o OptGenerateRequest) Encode(e *jx.Encoder)

Encode encodes GenerateRequest as json.

func (OptGenerateRequest) Get

func (o OptGenerateRequest) Get() (v GenerateRequest, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptGenerateRequest) IsSet

func (o OptGenerateRequest) IsSet() bool

IsSet returns true if OptGenerateRequest was set.

func (OptGenerateRequest) MarshalJSON

func (s OptGenerateRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptGenerateRequest) Or

Or returns value if set, or given parameter if does not.

func (*OptGenerateRequest) Reset

func (o *OptGenerateRequest) Reset()

Reset unsets value.

func (*OptGenerateRequest) SetTo

func (o *OptGenerateRequest) SetTo(v GenerateRequest)

SetTo sets value to v.

func (*OptGenerateRequest) UnmarshalJSON

func (s *OptGenerateRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt

type OptInt struct {
	Value int
	Set   bool
}

OptInt is optional int.

func NewOptInt

func NewOptInt(v int) OptInt

NewOptInt returns new OptInt with value set to v.

func (*OptInt) Decode

func (o *OptInt) Decode(d *jx.Decoder) error

Decode decodes int from json.

func (OptInt) Encode

func (o OptInt) Encode(e *jx.Encoder)

Encode encodes int as json.

func (OptInt) Get

func (o OptInt) Get() (v int, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt) IsSet

func (o OptInt) IsSet() bool

IsSet returns true if OptInt was set.

func (OptInt) MarshalJSON

func (s OptInt) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt) Or

func (o OptInt) Or(d int) int

Or returns value if set, or given parameter if does not.

func (*OptInt) Reset

func (o *OptInt) Reset()

Reset unsets value.

func (*OptInt) SetTo

func (o *OptInt) SetTo(v int)

SetTo sets value to v.

func (*OptInt) UnmarshalJSON

func (s *OptInt) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptInt64

type OptInt64 struct {
	Value int64
	Set   bool
}

OptInt64 is optional int64.

func NewOptInt64

func NewOptInt64(v int64) OptInt64

NewOptInt64 returns new OptInt64 with value set to v.

func (*OptInt64) Decode

func (o *OptInt64) Decode(d *jx.Decoder) error

Decode decodes int64 from json.

func (OptInt64) Encode

func (o OptInt64) Encode(e *jx.Encoder)

Encode encodes int64 as json.

func (OptInt64) Get

func (o OptInt64) Get() (v int64, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptInt64) IsSet

func (o OptInt64) IsSet() bool

IsSet returns true if OptInt64 was set.

func (OptInt64) MarshalJSON

func (s OptInt64) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptInt64) Or

func (o OptInt64) Or(d int64) int64

Or returns value if set, or given parameter if does not.

func (*OptInt64) Reset

func (o *OptInt64) Reset()

Reset unsets value.

func (*OptInt64) SetTo

func (o *OptInt64) SetTo(v int64)

SetTo sets value to v.

func (*OptInt64) UnmarshalJSON

func (s *OptInt64) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptMediaPushStatus

type OptMediaPushStatus struct {
	Value MediaPushStatus
	Set   bool
}

OptMediaPushStatus is optional MediaPushStatus.

func NewOptMediaPushStatus

func NewOptMediaPushStatus(v MediaPushStatus) OptMediaPushStatus

NewOptMediaPushStatus returns new OptMediaPushStatus with value set to v.

func (*OptMediaPushStatus) Decode

func (o *OptMediaPushStatus) Decode(d *jx.Decoder) error

Decode decodes MediaPushStatus from json.

func (OptMediaPushStatus) Encode

func (o OptMediaPushStatus) Encode(e *jx.Encoder)

Encode encodes MediaPushStatus as json.

func (OptMediaPushStatus) Get

func (o OptMediaPushStatus) Get() (v MediaPushStatus, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptMediaPushStatus) IsSet

func (o OptMediaPushStatus) IsSet() bool

IsSet returns true if OptMediaPushStatus was set.

func (OptMediaPushStatus) MarshalJSON

func (s OptMediaPushStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptMediaPushStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptMediaPushStatus) Reset

func (o *OptMediaPushStatus) Reset()

Reset unsets value.

func (*OptMediaPushStatus) SetTo

func (o *OptMediaPushStatus) SetTo(v MediaPushStatus)

SetTo sets value to v.

func (*OptMediaPushStatus) UnmarshalJSON

func (s *OptMediaPushStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPalette

type OptPalette struct {
	Value Palette
	Set   bool
}

OptPalette is optional Palette.

func NewOptPalette

func NewOptPalette(v Palette) OptPalette

NewOptPalette returns new OptPalette with value set to v.

func (*OptPalette) Decode

func (o *OptPalette) Decode(d *jx.Decoder) error

Decode decodes Palette from json.

func (OptPalette) Encode

func (o OptPalette) Encode(e *jx.Encoder)

Encode encodes Palette as json.

func (OptPalette) Get

func (o OptPalette) Get() (v Palette, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptPalette) IsSet

func (o OptPalette) IsSet() bool

IsSet returns true if OptPalette was set.

func (OptPalette) MarshalJSON

func (s OptPalette) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPalette) Or

func (o OptPalette) Or(d Palette) Palette

Or returns value if set, or given parameter if does not.

func (*OptPalette) Reset

func (o *OptPalette) Reset()

Reset unsets value.

func (*OptPalette) SetTo

func (o *OptPalette) SetTo(v Palette)

SetTo sets value to v.

func (*OptPalette) UnmarshalJSON

func (s *OptPalette) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPostRequest

type OptPostRequest struct {
	Value PostRequest
	Set   bool
}

OptPostRequest is optional PostRequest.

func NewOptPostRequest

func NewOptPostRequest(v PostRequest) OptPostRequest

NewOptPostRequest returns new OptPostRequest with value set to v.

func (*OptPostRequest) Decode

func (o *OptPostRequest) Decode(d *jx.Decoder) error

Decode decodes PostRequest from json.

func (OptPostRequest) Encode

func (o OptPostRequest) Encode(e *jx.Encoder)

Encode encodes PostRequest as json.

func (OptPostRequest) Get

func (o OptPostRequest) Get() (v PostRequest, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptPostRequest) IsSet

func (o OptPostRequest) IsSet() bool

IsSet returns true if OptPostRequest was set.

func (OptPostRequest) MarshalJSON

func (s OptPostRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPostRequest) Or

Or returns value if set, or given parameter if does not.

func (*OptPostRequest) Reset

func (o *OptPostRequest) Reset()

Reset unsets value.

func (*OptPostRequest) SetTo

func (o *OptPostRequest) SetTo(v PostRequest)

SetTo sets value to v.

func (*OptPostRequest) UnmarshalJSON

func (s *OptPostRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPostTaxonomy

type OptPostTaxonomy struct {
	Value PostTaxonomy
	Set   bool
}

OptPostTaxonomy is optional PostTaxonomy.

func NewOptPostTaxonomy

func NewOptPostTaxonomy(v PostTaxonomy) OptPostTaxonomy

NewOptPostTaxonomy returns new OptPostTaxonomy with value set to v.

func (*OptPostTaxonomy) Decode

func (o *OptPostTaxonomy) Decode(d *jx.Decoder) error

Decode decodes PostTaxonomy from json.

func (OptPostTaxonomy) Encode

func (o OptPostTaxonomy) Encode(e *jx.Encoder)

Encode encodes PostTaxonomy as json.

func (OptPostTaxonomy) Get

func (o OptPostTaxonomy) Get() (v PostTaxonomy, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptPostTaxonomy) IsSet

func (o OptPostTaxonomy) IsSet() bool

IsSet returns true if OptPostTaxonomy was set.

func (OptPostTaxonomy) MarshalJSON

func (s OptPostTaxonomy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPostTaxonomy) Or

Or returns value if set, or given parameter if does not.

func (*OptPostTaxonomy) Reset

func (o *OptPostTaxonomy) Reset()

Reset unsets value.

func (*OptPostTaxonomy) SetTo

func (o *OptPostTaxonomy) SetTo(v PostTaxonomy)

SetTo sets value to v.

func (*OptPostTaxonomy) UnmarshalJSON

func (s *OptPostTaxonomy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptPushStatus

type OptPushStatus struct {
	Value PushStatus
	Set   bool
}

OptPushStatus is optional PushStatus.

func NewOptPushStatus

func NewOptPushStatus(v PushStatus) OptPushStatus

NewOptPushStatus returns new OptPushStatus with value set to v.

func (*OptPushStatus) Decode

func (o *OptPushStatus) Decode(d *jx.Decoder) error

Decode decodes PushStatus from json.

func (OptPushStatus) Encode

func (o OptPushStatus) Encode(e *jx.Encoder)

Encode encodes PushStatus as json.

func (OptPushStatus) Get

func (o OptPushStatus) Get() (v PushStatus, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptPushStatus) IsSet

func (o OptPushStatus) IsSet() bool

IsSet returns true if OptPushStatus was set.

func (OptPushStatus) MarshalJSON

func (s OptPushStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptPushStatus) Or

Or returns value if set, or given parameter if does not.

func (*OptPushStatus) Reset

func (o *OptPushStatus) Reset()

Reset unsets value.

func (*OptPushStatus) SetTo

func (o *OptPushStatus) SetTo(v PushStatus)

SetTo sets value to v.

func (*OptPushStatus) UnmarshalJSON

func (s *OptPushStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptRenderRequest

type OptRenderRequest struct {
	Value RenderRequest
	Set   bool
}

OptRenderRequest is optional RenderRequest.

func NewOptRenderRequest

func NewOptRenderRequest(v RenderRequest) OptRenderRequest

NewOptRenderRequest returns new OptRenderRequest with value set to v.

func (*OptRenderRequest) Decode

func (o *OptRenderRequest) Decode(d *jx.Decoder) error

Decode decodes RenderRequest from json.

func (OptRenderRequest) Encode

func (o OptRenderRequest) Encode(e *jx.Encoder)

Encode encodes RenderRequest as json.

func (OptRenderRequest) Get

func (o OptRenderRequest) Get() (v RenderRequest, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptRenderRequest) IsSet

func (o OptRenderRequest) IsSet() bool

IsSet returns true if OptRenderRequest was set.

func (OptRenderRequest) MarshalJSON

func (s OptRenderRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptRenderRequest) Or

Or returns value if set, or given parameter if does not.

func (*OptRenderRequest) Reset

func (o *OptRenderRequest) Reset()

Reset unsets value.

func (*OptRenderRequest) SetTo

func (o *OptRenderRequest) SetTo(v RenderRequest)

SetTo sets value to v.

func (*OptRenderRequest) UnmarshalJSON

func (s *OptRenderRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptScrim

type OptScrim struct {
	Value Scrim
	Set   bool
}

OptScrim is optional Scrim.

func NewOptScrim

func NewOptScrim(v Scrim) OptScrim

NewOptScrim returns new OptScrim with value set to v.

func (*OptScrim) Decode

func (o *OptScrim) Decode(d *jx.Decoder) error

Decode decodes Scrim from json.

func (OptScrim) Encode

func (o OptScrim) Encode(e *jx.Encoder)

Encode encodes Scrim as json.

func (OptScrim) Get

func (o OptScrim) Get() (v Scrim, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptScrim) IsSet

func (o OptScrim) IsSet() bool

IsSet returns true if OptScrim was set.

func (OptScrim) MarshalJSON

func (s OptScrim) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptScrim) Or

func (o OptScrim) Or(d Scrim) Scrim

Or returns value if set, or given parameter if does not.

func (*OptScrim) Reset

func (o *OptScrim) Reset()

Reset unsets value.

func (*OptScrim) SetTo

func (o *OptScrim) SetTo(v Scrim)

SetTo sets value to v.

func (*OptScrim) UnmarshalJSON

func (s *OptScrim) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptScrimDirection

type OptScrimDirection struct {
	Value ScrimDirection
	Set   bool
}

OptScrimDirection is optional ScrimDirection.

func NewOptScrimDirection

func NewOptScrimDirection(v ScrimDirection) OptScrimDirection

NewOptScrimDirection returns new OptScrimDirection with value set to v.

func (*OptScrimDirection) Decode

func (o *OptScrimDirection) Decode(d *jx.Decoder) error

Decode decodes ScrimDirection from json.

func (OptScrimDirection) Encode

func (o OptScrimDirection) Encode(e *jx.Encoder)

Encode encodes ScrimDirection as json.

func (OptScrimDirection) Get

func (o OptScrimDirection) Get() (v ScrimDirection, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptScrimDirection) IsSet

func (o OptScrimDirection) IsSet() bool

IsSet returns true if OptScrimDirection was set.

func (OptScrimDirection) MarshalJSON

func (s OptScrimDirection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptScrimDirection) Or

Or returns value if set, or given parameter if does not.

func (*OptScrimDirection) Reset

func (o *OptScrimDirection) Reset()

Reset unsets value.

func (*OptScrimDirection) SetTo

func (o *OptScrimDirection) SetTo(v ScrimDirection)

SetTo sets value to v.

func (*OptScrimDirection) UnmarshalJSON

func (s *OptScrimDirection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSocialApproval

type OptSocialApproval struct {
	Value SocialApproval
	Set   bool
}

OptSocialApproval is optional SocialApproval.

func NewOptSocialApproval

func NewOptSocialApproval(v SocialApproval) OptSocialApproval

NewOptSocialApproval returns new OptSocialApproval with value set to v.

func (*OptSocialApproval) Decode

func (o *OptSocialApproval) Decode(d *jx.Decoder) error

Decode decodes SocialApproval from json.

func (OptSocialApproval) Encode

func (o OptSocialApproval) Encode(e *jx.Encoder)

Encode encodes SocialApproval as json.

func (OptSocialApproval) Get

func (o OptSocialApproval) Get() (v SocialApproval, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSocialApproval) IsSet

func (o OptSocialApproval) IsSet() bool

IsSet returns true if OptSocialApproval was set.

func (OptSocialApproval) MarshalJSON

func (s OptSocialApproval) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptSocialApproval) Or

Or returns value if set, or given parameter if does not.

func (*OptSocialApproval) Reset

func (o *OptSocialApproval) Reset()

Reset unsets value.

func (*OptSocialApproval) SetTo

func (o *OptSocialApproval) SetTo(v SocialApproval)

SetTo sets value to v.

func (*OptSocialApproval) UnmarshalJSON

func (s *OptSocialApproval) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptSpendConfirm

type OptSpendConfirm struct {
	Value SpendConfirm
	Set   bool
}

OptSpendConfirm is optional SpendConfirm.

func NewOptSpendConfirm

func NewOptSpendConfirm(v SpendConfirm) OptSpendConfirm

NewOptSpendConfirm returns new OptSpendConfirm with value set to v.

func (OptSpendConfirm) Get

func (o OptSpendConfirm) Get() (v SpendConfirm, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptSpendConfirm) IsSet

func (o OptSpendConfirm) IsSet() bool

IsSet returns true if OptSpendConfirm was set.

func (OptSpendConfirm) Or

Or returns value if set, or given parameter if does not.

func (*OptSpendConfirm) Reset

func (o *OptSpendConfirm) Reset()

Reset unsets value.

func (*OptSpendConfirm) SetTo

func (o *OptSpendConfirm) SetTo(v SpendConfirm)

SetTo sets value to v.

type OptString

type OptString struct {
	Value string
	Set   bool
}

OptString is optional string.

func NewOptString

func NewOptString(v string) OptString

NewOptString returns new OptString with value set to v.

func (*OptString) Decode

func (o *OptString) Decode(d *jx.Decoder) error

Decode decodes string from json.

func (OptString) Encode

func (o OptString) Encode(e *jx.Encoder)

Encode encodes string as json.

func (OptString) Get

func (o OptString) Get() (v string, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptString) IsSet

func (o OptString) IsSet() bool

IsSet returns true if OptString was set.

func (OptString) MarshalJSON

func (s OptString) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptString) Or

func (o OptString) Or(d string) string

Or returns value if set, or given parameter if does not.

func (*OptString) Reset

func (o *OptString) Reset()

Reset unsets value.

func (*OptString) SetTo

func (o *OptString) SetTo(v string)

SetTo sets value to v.

func (*OptString) UnmarshalJSON

func (s *OptString) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptTextBlockAlign

type OptTextBlockAlign struct {
	Value TextBlockAlign
	Set   bool
}

OptTextBlockAlign is optional TextBlockAlign.

func NewOptTextBlockAlign

func NewOptTextBlockAlign(v TextBlockAlign) OptTextBlockAlign

NewOptTextBlockAlign returns new OptTextBlockAlign with value set to v.

func (*OptTextBlockAlign) Decode

func (o *OptTextBlockAlign) Decode(d *jx.Decoder) error

Decode decodes TextBlockAlign from json.

func (OptTextBlockAlign) Encode

func (o OptTextBlockAlign) Encode(e *jx.Encoder)

Encode encodes TextBlockAlign as json.

func (OptTextBlockAlign) Get

func (o OptTextBlockAlign) Get() (v TextBlockAlign, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptTextBlockAlign) IsSet

func (o OptTextBlockAlign) IsSet() bool

IsSet returns true if OptTextBlockAlign was set.

func (OptTextBlockAlign) MarshalJSON

func (s OptTextBlockAlign) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptTextBlockAlign) Or

Or returns value if set, or given parameter if does not.

func (*OptTextBlockAlign) Reset

func (o *OptTextBlockAlign) Reset()

Reset unsets value.

func (*OptTextBlockAlign) SetTo

func (o *OptTextBlockAlign) SetTo(v TextBlockAlign)

SetTo sets value to v.

func (*OptTextBlockAlign) UnmarshalJSON

func (s *OptTextBlockAlign) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptThemeCard

type OptThemeCard struct {
	Value ThemeCard
	Set   bool
}

OptThemeCard is optional ThemeCard.

func NewOptThemeCard

func NewOptThemeCard(v ThemeCard) OptThemeCard

NewOptThemeCard returns new OptThemeCard with value set to v.

func (*OptThemeCard) Decode

func (o *OptThemeCard) Decode(d *jx.Decoder) error

Decode decodes ThemeCard from json.

func (OptThemeCard) Encode

func (o OptThemeCard) Encode(e *jx.Encoder)

Encode encodes ThemeCard as json.

func (OptThemeCard) Get

func (o OptThemeCard) Get() (v ThemeCard, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptThemeCard) IsSet

func (o OptThemeCard) IsSet() bool

IsSet returns true if OptThemeCard was set.

func (OptThemeCard) MarshalJSON

func (s OptThemeCard) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptThemeCard) Or

Or returns value if set, or given parameter if does not.

func (*OptThemeCard) Reset

func (o *OptThemeCard) Reset()

Reset unsets value.

func (*OptThemeCard) SetTo

func (o *OptThemeCard) SetTo(v ThemeCard)

SetTo sets value to v.

func (*OptThemeCard) UnmarshalJSON

func (s *OptThemeCard) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptThemeCardMode

type OptThemeCardMode struct {
	Value ThemeCardMode
	Set   bool
}

OptThemeCardMode is optional ThemeCardMode.

func NewOptThemeCardMode

func NewOptThemeCardMode(v ThemeCardMode) OptThemeCardMode

NewOptThemeCardMode returns new OptThemeCardMode with value set to v.

func (*OptThemeCardMode) Decode

func (o *OptThemeCardMode) Decode(d *jx.Decoder) error

Decode decodes ThemeCardMode from json.

func (OptThemeCardMode) Encode

func (o OptThemeCardMode) Encode(e *jx.Encoder)

Encode encodes ThemeCardMode as json.

func (OptThemeCardMode) Get

func (o OptThemeCardMode) Get() (v ThemeCardMode, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptThemeCardMode) IsSet

func (o OptThemeCardMode) IsSet() bool

IsSet returns true if OptThemeCardMode was set.

func (OptThemeCardMode) MarshalJSON

func (s OptThemeCardMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptThemeCardMode) Or

Or returns value if set, or given parameter if does not.

func (*OptThemeCardMode) Reset

func (o *OptThemeCardMode) Reset()

Reset unsets value.

func (*OptThemeCardMode) SetTo

func (o *OptThemeCardMode) SetTo(v ThemeCardMode)

SetTo sets value to v.

func (*OptThemeCardMode) UnmarshalJSON

func (s *OptThemeCardMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptThemeFormats

type OptThemeFormats struct {
	Value ThemeFormats
	Set   bool
}

OptThemeFormats is optional ThemeFormats.

func NewOptThemeFormats

func NewOptThemeFormats(v ThemeFormats) OptThemeFormats

NewOptThemeFormats returns new OptThemeFormats with value set to v.

func (*OptThemeFormats) Decode

func (o *OptThemeFormats) Decode(d *jx.Decoder) error

Decode decodes ThemeFormats from json.

func (OptThemeFormats) Encode

func (o OptThemeFormats) Encode(e *jx.Encoder)

Encode encodes ThemeFormats as json.

func (OptThemeFormats) Get

func (o OptThemeFormats) Get() (v ThemeFormats, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptThemeFormats) IsSet

func (o OptThemeFormats) IsSet() bool

IsSet returns true if OptThemeFormats was set.

func (OptThemeFormats) MarshalJSON

func (s OptThemeFormats) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptThemeFormats) Or

Or returns value if set, or given parameter if does not.

func (*OptThemeFormats) Reset

func (o *OptThemeFormats) Reset()

Reset unsets value.

func (*OptThemeFormats) SetTo

func (o *OptThemeFormats) SetTo(v ThemeFormats)

SetTo sets value to v.

func (*OptThemeFormats) UnmarshalJSON

func (s *OptThemeFormats) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptThemeMusic

type OptThemeMusic struct {
	Value ThemeMusic
	Set   bool
}

OptThemeMusic is optional ThemeMusic.

func NewOptThemeMusic

func NewOptThemeMusic(v ThemeMusic) OptThemeMusic

NewOptThemeMusic returns new OptThemeMusic with value set to v.

func (*OptThemeMusic) Decode

func (o *OptThemeMusic) Decode(d *jx.Decoder) error

Decode decodes ThemeMusic from json.

func (OptThemeMusic) Encode

func (o OptThemeMusic) Encode(e *jx.Encoder)

Encode encodes ThemeMusic as json.

func (OptThemeMusic) Get

func (o OptThemeMusic) Get() (v ThemeMusic, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptThemeMusic) IsSet

func (o OptThemeMusic) IsSet() bool

IsSet returns true if OptThemeMusic was set.

func (OptThemeMusic) MarshalJSON

func (s OptThemeMusic) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptThemeMusic) Or

Or returns value if set, or given parameter if does not.

func (*OptThemeMusic) Reset

func (o *OptThemeMusic) Reset()

Reset unsets value.

func (*OptThemeMusic) SetTo

func (o *OptThemeMusic) SetTo(v ThemeMusic)

SetTo sets value to v.

func (*OptThemeMusic) UnmarshalJSON

func (s *OptThemeMusic) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptThemeVoice

type OptThemeVoice struct {
	Value ThemeVoice
	Set   bool
}

OptThemeVoice is optional ThemeVoice.

func NewOptThemeVoice

func NewOptThemeVoice(v ThemeVoice) OptThemeVoice

NewOptThemeVoice returns new OptThemeVoice with value set to v.

func (*OptThemeVoice) Decode

func (o *OptThemeVoice) Decode(d *jx.Decoder) error

Decode decodes ThemeVoice from json.

func (OptThemeVoice) Encode

func (o OptThemeVoice) Encode(e *jx.Encoder)

Encode encodes ThemeVoice as json.

func (OptThemeVoice) Get

func (o OptThemeVoice) Get() (v ThemeVoice, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptThemeVoice) IsSet

func (o OptThemeVoice) IsSet() bool

IsSet returns true if OptThemeVoice was set.

func (OptThemeVoice) MarshalJSON

func (s OptThemeVoice) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptThemeVoice) Or

Or returns value if set, or given parameter if does not.

func (*OptThemeVoice) Reset

func (o *OptThemeVoice) Reset()

Reset unsets value.

func (*OptThemeVoice) SetTo

func (o *OptThemeVoice) SetTo(v ThemeVoice)

SetTo sets value to v.

func (*OptThemeVoice) UnmarshalJSON

func (s *OptThemeVoice) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type OptVoiceOverride

type OptVoiceOverride struct {
	Value VoiceOverride
	Set   bool
}

OptVoiceOverride is optional VoiceOverride.

func NewOptVoiceOverride

func NewOptVoiceOverride(v VoiceOverride) OptVoiceOverride

NewOptVoiceOverride returns new OptVoiceOverride with value set to v.

func (*OptVoiceOverride) Decode

func (o *OptVoiceOverride) Decode(d *jx.Decoder) error

Decode decodes VoiceOverride from json.

func (OptVoiceOverride) Encode

func (o OptVoiceOverride) Encode(e *jx.Encoder)

Encode encodes VoiceOverride as json.

func (OptVoiceOverride) Get

func (o OptVoiceOverride) Get() (v VoiceOverride, ok bool)

Get returns value and boolean that denotes whether value was set.

func (OptVoiceOverride) IsSet

func (o OptVoiceOverride) IsSet() bool

IsSet returns true if OptVoiceOverride was set.

func (OptVoiceOverride) MarshalJSON

func (s OptVoiceOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (OptVoiceOverride) Or

Or returns value if set, or given parameter if does not.

func (*OptVoiceOverride) Reset

func (o *OptVoiceOverride) Reset()

Reset unsets value.

func (*OptVoiceOverride) SetTo

func (o *OptVoiceOverride) SetTo(v VoiceOverride)

SetTo sets value to v.

func (*OptVoiceOverride) UnmarshalJSON

func (s *OptVoiceOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Option

type Option interface {
	ServerOption
	ClientOption
}

Option is config option.

func WithAttributes

func WithAttributes(attributes ...attribute.KeyValue) Option

WithAttributes specifies default otel attributes.

func WithMeterProvider

func WithMeterProvider(provider metric.MeterProvider) Option

WithMeterProvider specifies a meter provider to use for creating a meter.

If none is specified, the otel.GetMeterProvider() is used.

func WithTracerProvider

func WithTracerProvider(provider trace.TracerProvider) Option

WithTracerProvider specifies a tracer provider to use for creating a tracer.

If none is specified, the global provider is used.

type Palette

type Palette map[string]string

Colour ROLE names to values. The editor offers these as roles rather than free text, so a card names a role and the theme decides the colour. Ref: #/components/schemas/Palette

func (*Palette) Decode

func (s *Palette) Decode(d *jx.Decoder) error

Decode decodes Palette from json.

func (Palette) Encode

func (s Palette) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (Palette) MarshalJSON

func (s Palette) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Palette) UnmarshalJSON

func (s *Palette) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCardTakeBadRequest

type PickCardTakeBadRequest Error

func (*PickCardTakeBadRequest) Decode

func (s *PickCardTakeBadRequest) Decode(d *jx.Decoder) error

Decode decodes PickCardTakeBadRequest from json.

func (*PickCardTakeBadRequest) Encode

func (s *PickCardTakeBadRequest) Encode(e *jx.Encoder)

Encode encodes PickCardTakeBadRequest as json.

func (*PickCardTakeBadRequest) MarshalJSON

func (s *PickCardTakeBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCardTakeBadRequest) UnmarshalJSON

func (s *PickCardTakeBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCardTakeConflict

type PickCardTakeConflict Error

func (*PickCardTakeConflict) Decode

func (s *PickCardTakeConflict) Decode(d *jx.Decoder) error

Decode decodes PickCardTakeConflict from json.

func (*PickCardTakeConflict) Encode

func (s *PickCardTakeConflict) Encode(e *jx.Encoder)

Encode encodes PickCardTakeConflict as json.

func (*PickCardTakeConflict) MarshalJSON

func (s *PickCardTakeConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCardTakeConflict) UnmarshalJSON

func (s *PickCardTakeConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCardTakeInternalServerError

type PickCardTakeInternalServerError Error

func (*PickCardTakeInternalServerError) Decode

Decode decodes PickCardTakeInternalServerError from json.

func (*PickCardTakeInternalServerError) Encode

Encode encodes PickCardTakeInternalServerError as json.

func (*PickCardTakeInternalServerError) MarshalJSON

func (s *PickCardTakeInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCardTakeInternalServerError) UnmarshalJSON

func (s *PickCardTakeInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCardTakeNotFound

type PickCardTakeNotFound Error

func (*PickCardTakeNotFound) Decode

func (s *PickCardTakeNotFound) Decode(d *jx.Decoder) error

Decode decodes PickCardTakeNotFound from json.

func (*PickCardTakeNotFound) Encode

func (s *PickCardTakeNotFound) Encode(e *jx.Encoder)

Encode encodes PickCardTakeNotFound as json.

func (*PickCardTakeNotFound) MarshalJSON

func (s *PickCardTakeNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCardTakeNotFound) UnmarshalJSON

func (s *PickCardTakeNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCardTakeOK

type PickCardTakeOK SaveResult

func (*PickCardTakeOK) Decode

func (s *PickCardTakeOK) Decode(d *jx.Decoder) error

Decode decodes PickCardTakeOK from json.

func (*PickCardTakeOK) Encode

func (s *PickCardTakeOK) Encode(e *jx.Encoder)

Encode encodes PickCardTakeOK as json.

func (*PickCardTakeOK) MarshalJSON

func (s *PickCardTakeOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCardTakeOK) UnmarshalJSON

func (s *PickCardTakeOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PickCardTakeOK) Validate

func (s *PickCardTakeOK) Validate() error

type PickCardTakeParams

type PickCardTakeParams struct {
	// The reel's slug.
	Slug string
	// The card's 1-based position in the storyboard.
	N int
}

PickCardTakeParams is parameters of pickCardTake operation.

type PickCardTakeRes

type PickCardTakeRes interface {
	// contains filtered or unexported methods
}

type PickCardTakeUnprocessableEntity

type PickCardTakeUnprocessableEntity SaveResult

func (*PickCardTakeUnprocessableEntity) Decode

Decode decodes PickCardTakeUnprocessableEntity from json.

func (*PickCardTakeUnprocessableEntity) Encode

Encode encodes PickCardTakeUnprocessableEntity as json.

func (*PickCardTakeUnprocessableEntity) MarshalJSON

func (s *PickCardTakeUnprocessableEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCardTakeUnprocessableEntity) UnmarshalJSON

func (s *PickCardTakeUnprocessableEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PickCardTakeUnprocessableEntity) Validate

func (s *PickCardTakeUnprocessableEntity) Validate() error

type PickCardVOBadRequest

type PickCardVOBadRequest Error

func (*PickCardVOBadRequest) Decode

func (s *PickCardVOBadRequest) Decode(d *jx.Decoder) error

Decode decodes PickCardVOBadRequest from json.

func (*PickCardVOBadRequest) Encode

func (s *PickCardVOBadRequest) Encode(e *jx.Encoder)

Encode encodes PickCardVOBadRequest as json.

func (*PickCardVOBadRequest) MarshalJSON

func (s *PickCardVOBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCardVOBadRequest) UnmarshalJSON

func (s *PickCardVOBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCardVOConflict

type PickCardVOConflict Error

func (*PickCardVOConflict) Decode

func (s *PickCardVOConflict) Decode(d *jx.Decoder) error

Decode decodes PickCardVOConflict from json.

func (*PickCardVOConflict) Encode

func (s *PickCardVOConflict) Encode(e *jx.Encoder)

Encode encodes PickCardVOConflict as json.

func (*PickCardVOConflict) MarshalJSON

func (s *PickCardVOConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCardVOConflict) UnmarshalJSON

func (s *PickCardVOConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCardVOInternalServerError

type PickCardVOInternalServerError Error

func (*PickCardVOInternalServerError) Decode

Decode decodes PickCardVOInternalServerError from json.

func (*PickCardVOInternalServerError) Encode

Encode encodes PickCardVOInternalServerError as json.

func (*PickCardVOInternalServerError) MarshalJSON

func (s *PickCardVOInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCardVOInternalServerError) UnmarshalJSON

func (s *PickCardVOInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCardVONotFound

type PickCardVONotFound Error

func (*PickCardVONotFound) Decode

func (s *PickCardVONotFound) Decode(d *jx.Decoder) error

Decode decodes PickCardVONotFound from json.

func (*PickCardVONotFound) Encode

func (s *PickCardVONotFound) Encode(e *jx.Encoder)

Encode encodes PickCardVONotFound as json.

func (*PickCardVONotFound) MarshalJSON

func (s *PickCardVONotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCardVONotFound) UnmarshalJSON

func (s *PickCardVONotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCardVOParams

type PickCardVOParams struct {
	// The reel's slug.
	Slug string
	// The card's 1-based position in the storyboard.
	N int
}

PickCardVOParams is parameters of pickCardVO operation.

type PickCardVORes

type PickCardVORes interface {
	// contains filtered or unexported methods
}

type PickCoverBadRequest

type PickCoverBadRequest Error

func (*PickCoverBadRequest) Decode

func (s *PickCoverBadRequest) Decode(d *jx.Decoder) error

Decode decodes PickCoverBadRequest from json.

func (*PickCoverBadRequest) Encode

func (s *PickCoverBadRequest) Encode(e *jx.Encoder)

Encode encodes PickCoverBadRequest as json.

func (*PickCoverBadRequest) MarshalJSON

func (s *PickCoverBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCoverBadRequest) UnmarshalJSON

func (s *PickCoverBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCoverConflict

type PickCoverConflict Error

func (*PickCoverConflict) Decode

func (s *PickCoverConflict) Decode(d *jx.Decoder) error

Decode decodes PickCoverConflict from json.

func (*PickCoverConflict) Encode

func (s *PickCoverConflict) Encode(e *jx.Encoder)

Encode encodes PickCoverConflict as json.

func (*PickCoverConflict) MarshalJSON

func (s *PickCoverConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCoverConflict) UnmarshalJSON

func (s *PickCoverConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCoverInternalServerError

type PickCoverInternalServerError Error

func (*PickCoverInternalServerError) Decode

Decode decodes PickCoverInternalServerError from json.

func (*PickCoverInternalServerError) Encode

func (s *PickCoverInternalServerError) Encode(e *jx.Encoder)

Encode encodes PickCoverInternalServerError as json.

func (*PickCoverInternalServerError) MarshalJSON

func (s *PickCoverInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCoverInternalServerError) UnmarshalJSON

func (s *PickCoverInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCoverNotFound

type PickCoverNotFound Error

func (*PickCoverNotFound) Decode

func (s *PickCoverNotFound) Decode(d *jx.Decoder) error

Decode decodes PickCoverNotFound from json.

func (*PickCoverNotFound) Encode

func (s *PickCoverNotFound) Encode(e *jx.Encoder)

Encode encodes PickCoverNotFound as json.

func (*PickCoverNotFound) MarshalJSON

func (s *PickCoverNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickCoverNotFound) UnmarshalJSON

func (s *PickCoverNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickCoverParams

type PickCoverParams struct {
	// The reel's slug.
	Slug string
}

PickCoverParams is parameters of pickCover operation.

type PickCoverRes

type PickCoverRes interface {
	// contains filtered or unexported methods
}

type PickMusicBadRequest

type PickMusicBadRequest Error

func (*PickMusicBadRequest) Decode

func (s *PickMusicBadRequest) Decode(d *jx.Decoder) error

Decode decodes PickMusicBadRequest from json.

func (*PickMusicBadRequest) Encode

func (s *PickMusicBadRequest) Encode(e *jx.Encoder)

Encode encodes PickMusicBadRequest as json.

func (*PickMusicBadRequest) MarshalJSON

func (s *PickMusicBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickMusicBadRequest) UnmarshalJSON

func (s *PickMusicBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickMusicConflict

type PickMusicConflict Error

func (*PickMusicConflict) Decode

func (s *PickMusicConflict) Decode(d *jx.Decoder) error

Decode decodes PickMusicConflict from json.

func (*PickMusicConflict) Encode

func (s *PickMusicConflict) Encode(e *jx.Encoder)

Encode encodes PickMusicConflict as json.

func (*PickMusicConflict) MarshalJSON

func (s *PickMusicConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickMusicConflict) UnmarshalJSON

func (s *PickMusicConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickMusicInternalServerError

type PickMusicInternalServerError Error

func (*PickMusicInternalServerError) Decode

Decode decodes PickMusicInternalServerError from json.

func (*PickMusicInternalServerError) Encode

func (s *PickMusicInternalServerError) Encode(e *jx.Encoder)

Encode encodes PickMusicInternalServerError as json.

func (*PickMusicInternalServerError) MarshalJSON

func (s *PickMusicInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickMusicInternalServerError) UnmarshalJSON

func (s *PickMusicInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickMusicNotFound

type PickMusicNotFound Error

func (*PickMusicNotFound) Decode

func (s *PickMusicNotFound) Decode(d *jx.Decoder) error

Decode decodes PickMusicNotFound from json.

func (*PickMusicNotFound) Encode

func (s *PickMusicNotFound) Encode(e *jx.Encoder)

Encode encodes PickMusicNotFound as json.

func (*PickMusicNotFound) MarshalJSON

func (s *PickMusicNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickMusicNotFound) UnmarshalJSON

func (s *PickMusicNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickMusicParams

type PickMusicParams struct {
	// The reel's slug.
	Slug string
}

PickMusicParams is parameters of pickMusic operation.

type PickMusicRes

type PickMusicRes interface {
	// contains filtered or unexported methods
}

type PickPortraitBadRequest

type PickPortraitBadRequest Error

func (*PickPortraitBadRequest) Decode

func (s *PickPortraitBadRequest) Decode(d *jx.Decoder) error

Decode decodes PickPortraitBadRequest from json.

func (*PickPortraitBadRequest) Encode

func (s *PickPortraitBadRequest) Encode(e *jx.Encoder)

Encode encodes PickPortraitBadRequest as json.

func (*PickPortraitBadRequest) MarshalJSON

func (s *PickPortraitBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickPortraitBadRequest) UnmarshalJSON

func (s *PickPortraitBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickPortraitConflict

type PickPortraitConflict Error

func (*PickPortraitConflict) Decode

func (s *PickPortraitConflict) Decode(d *jx.Decoder) error

Decode decodes PickPortraitConflict from json.

func (*PickPortraitConflict) Encode

func (s *PickPortraitConflict) Encode(e *jx.Encoder)

Encode encodes PickPortraitConflict as json.

func (*PickPortraitConflict) MarshalJSON

func (s *PickPortraitConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickPortraitConflict) UnmarshalJSON

func (s *PickPortraitConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickPortraitInternalServerError

type PickPortraitInternalServerError Error

func (*PickPortraitInternalServerError) Decode

Decode decodes PickPortraitInternalServerError from json.

func (*PickPortraitInternalServerError) Encode

Encode encodes PickPortraitInternalServerError as json.

func (*PickPortraitInternalServerError) MarshalJSON

func (s *PickPortraitInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickPortraitInternalServerError) UnmarshalJSON

func (s *PickPortraitInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickPortraitNotFound

type PickPortraitNotFound Error

func (*PickPortraitNotFound) Decode

func (s *PickPortraitNotFound) Decode(d *jx.Decoder) error

Decode decodes PickPortraitNotFound from json.

func (*PickPortraitNotFound) Encode

func (s *PickPortraitNotFound) Encode(e *jx.Encoder)

Encode encodes PickPortraitNotFound as json.

func (*PickPortraitNotFound) MarshalJSON

func (s *PickPortraitNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickPortraitNotFound) UnmarshalJSON

func (s *PickPortraitNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickPortraitParams

type PickPortraitParams struct {
	// The reel's slug.
	Slug string
}

PickPortraitParams is parameters of pickPortrait operation.

type PickPortraitRes

type PickPortraitRes interface {
	// contains filtered or unexported methods
}

type PickTake

type PickTake struct {
	// The candidate's filename, as listed by the matching takes operation. A path is accepted and only its
	// last segment is read.
	Take string `json:"take"`
}

Ref: #/components/schemas/PickTake

func (*PickTake) Decode

func (s *PickTake) Decode(d *jx.Decoder) error

Decode decodes PickTake from json.

func (*PickTake) Encode

func (s *PickTake) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PickTake) GetTake

func (s *PickTake) GetTake() string

GetTake returns the value of Take.

func (*PickTake) MarshalJSON

func (s *PickTake) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickTake) SetTake

func (s *PickTake) SetTake(val string)

SetTake sets the value of Take.

func (*PickTake) UnmarshalJSON

func (s *PickTake) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PickVOTake

type PickVOTake struct {
	// The candidate's filename, as listed by the matching takes operation. A path is accepted and only its
	// last segment is read.
	Take string `json:"take"`
	// Approve the line as well as promoting it, so a re-roll refuses without --force and `reel make` skips
	// it (spec 0025). Locking is a separate verb everywhere else; here it is an option because a recorded
	// read is usually final the moment it is chosen.
	Lock OptBool `json:"lock"`
}

A voiceover pick, which may approve the take in the same call. Only VO takes carry this: a hand-recorded read is the canonical "final, do not regenerate" take (0030 R-GEN-52), and making that two round trips invites the second one to be forgotten. Ref: #/components/schemas/PickVOTake

func (*PickVOTake) Decode

func (s *PickVOTake) Decode(d *jx.Decoder) error

Decode decodes PickVOTake from json.

func (*PickVOTake) Encode

func (s *PickVOTake) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PickVOTake) GetLock

func (s *PickVOTake) GetLock() OptBool

GetLock returns the value of Lock.

func (*PickVOTake) GetTake

func (s *PickVOTake) GetTake() string

GetTake returns the value of Take.

func (*PickVOTake) MarshalJSON

func (s *PickVOTake) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PickVOTake) SetLock

func (s *PickVOTake) SetLock(val OptBool)

SetLock sets the value of Lock.

func (*PickVOTake) SetTake

func (s *PickVOTake) SetTake(val string)

SetTake sets the value of Take.

func (*PickVOTake) UnmarshalJSON

func (s *PickVOTake) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Platform

type Platform string

Ref: #/components/schemas/Platform

const (
	PlatformInstagram Platform = "instagram"
	PlatformYoutube   Platform = "youtube"
	PlatformTiktok    Platform = "tiktok"
	PlatformLinkedin  Platform = "linkedin"
)

func (Platform) AllValues

func (Platform) AllValues() []Platform

AllValues returns all Platform values.

func (*Platform) Decode

func (s *Platform) Decode(d *jx.Decoder) error

Decode decodes Platform from json.

func (Platform) Encode

func (s Platform) Encode(e *jx.Encoder)

Encode encodes Platform as json.

func (Platform) MarshalJSON

func (s Platform) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (Platform) MarshalText

func (s Platform) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*Platform) UnmarshalJSON

func (s *Platform) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Platform) UnmarshalText

func (s *Platform) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (Platform) Validate

func (s Platform) Validate() error

type Post

type Post struct {
	Slug  string    `json:"slug"`
	Title string    `json:"title"`
	Date  OptString `json:"date"`
	// The entry's directory, which is what a reel links to.
	Bundle  string    `json:"bundle"`
	Section OptString `json:"section"`
	Draft   OptBool   `json:"draft"`
	Image   OptString `json:"image"`
	Summary OptString `json:"summary"`
	// Every frontmatter key the reader did not consume.
	Taxonomy OptPostTaxonomy `json:"taxonomy"`
}

An article in the owning project that a reel can be linked to. Ref: #/components/schemas/Post

func (*Post) Decode

func (s *Post) Decode(d *jx.Decoder) error

Decode decodes Post from json.

func (*Post) Encode

func (s *Post) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Post) GetBundle

func (s *Post) GetBundle() string

GetBundle returns the value of Bundle.

func (*Post) GetDate

func (s *Post) GetDate() OptString

GetDate returns the value of Date.

func (*Post) GetDraft

func (s *Post) GetDraft() OptBool

GetDraft returns the value of Draft.

func (*Post) GetImage

func (s *Post) GetImage() OptString

GetImage returns the value of Image.

func (*Post) GetSection

func (s *Post) GetSection() OptString

GetSection returns the value of Section.

func (*Post) GetSlug

func (s *Post) GetSlug() string

GetSlug returns the value of Slug.

func (*Post) GetSummary

func (s *Post) GetSummary() OptString

GetSummary returns the value of Summary.

func (*Post) GetTaxonomy

func (s *Post) GetTaxonomy() OptPostTaxonomy

GetTaxonomy returns the value of Taxonomy.

func (*Post) GetTitle

func (s *Post) GetTitle() string

GetTitle returns the value of Title.

func (*Post) MarshalJSON

func (s *Post) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Post) SetBundle

func (s *Post) SetBundle(val string)

SetBundle sets the value of Bundle.

func (*Post) SetDate

func (s *Post) SetDate(val OptString)

SetDate sets the value of Date.

func (*Post) SetDraft

func (s *Post) SetDraft(val OptBool)

SetDraft sets the value of Draft.

func (*Post) SetImage

func (s *Post) SetImage(val OptString)

SetImage sets the value of Image.

func (*Post) SetSection

func (s *Post) SetSection(val OptString)

SetSection sets the value of Section.

func (*Post) SetSlug

func (s *Post) SetSlug(val string)

SetSlug sets the value of Slug.

func (*Post) SetSummary

func (s *Post) SetSummary(val OptString)

SetSummary sets the value of Summary.

func (*Post) SetTaxonomy

func (s *Post) SetTaxonomy(val OptPostTaxonomy)

SetTaxonomy sets the value of Taxonomy.

func (*Post) SetTitle

func (s *Post) SetTitle(val string)

SetTitle sets the value of Title.

func (*Post) UnmarshalJSON

func (s *Post) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Post) Validate

func (s *Post) Validate() error

type PostRequest

type PostRequest struct {
	// Which platforms to publish to; all approved ones when absent.
	Platforms []Platform `json:"platforms"`
}

Ref: #/components/schemas/PostRequest

func (*PostRequest) Decode

func (s *PostRequest) Decode(d *jx.Decoder) error

Decode decodes PostRequest from json.

func (*PostRequest) Encode

func (s *PostRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PostRequest) GetPlatforms

func (s *PostRequest) GetPlatforms() []Platform

GetPlatforms returns the value of Platforms.

func (*PostRequest) MarshalJSON

func (s *PostRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostRequest) SetPlatforms

func (s *PostRequest) SetPlatforms(val []Platform)

SetPlatforms sets the value of Platforms.

func (*PostRequest) UnmarshalJSON

func (s *PostRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PostRequest) Validate

func (s *PostRequest) Validate() error

type PostSocialBadRequest

type PostSocialBadRequest Error

func (*PostSocialBadRequest) Decode

func (s *PostSocialBadRequest) Decode(d *jx.Decoder) error

Decode decodes PostSocialBadRequest from json.

func (*PostSocialBadRequest) Encode

func (s *PostSocialBadRequest) Encode(e *jx.Encoder)

Encode encodes PostSocialBadRequest as json.

func (*PostSocialBadRequest) MarshalJSON

func (s *PostSocialBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostSocialBadRequest) UnmarshalJSON

func (s *PostSocialBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostSocialConflict

type PostSocialConflict Error

func (*PostSocialConflict) Decode

func (s *PostSocialConflict) Decode(d *jx.Decoder) error

Decode decodes PostSocialConflict from json.

func (*PostSocialConflict) Encode

func (s *PostSocialConflict) Encode(e *jx.Encoder)

Encode encodes PostSocialConflict as json.

func (*PostSocialConflict) MarshalJSON

func (s *PostSocialConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostSocialConflict) UnmarshalJSON

func (s *PostSocialConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostSocialNotFound

type PostSocialNotFound Error

func (*PostSocialNotFound) Decode

func (s *PostSocialNotFound) Decode(d *jx.Decoder) error

Decode decodes PostSocialNotFound from json.

func (*PostSocialNotFound) Encode

func (s *PostSocialNotFound) Encode(e *jx.Encoder)

Encode encodes PostSocialNotFound as json.

func (*PostSocialNotFound) MarshalJSON

func (s *PostSocialNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostSocialNotFound) UnmarshalJSON

func (s *PostSocialNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostSocialParams

type PostSocialParams struct {
	// The reel's slug.
	Slug string
}

PostSocialParams is parameters of postSocial operation.

type PostSocialRes

type PostSocialRes interface {
	// contains filtered or unexported methods
}

type PostSocialServiceUnavailable

type PostSocialServiceUnavailable Error

func (*PostSocialServiceUnavailable) Decode

Decode decodes PostSocialServiceUnavailable from json.

func (*PostSocialServiceUnavailable) Encode

func (s *PostSocialServiceUnavailable) Encode(e *jx.Encoder)

Encode encodes PostSocialServiceUnavailable as json.

func (*PostSocialServiceUnavailable) MarshalJSON

func (s *PostSocialServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostSocialServiceUnavailable) UnmarshalJSON

func (s *PostSocialServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PostTaxonomy

type PostTaxonomy map[string][]string

Every frontmatter key the reader did not consume.

func (*PostTaxonomy) Decode

func (s *PostTaxonomy) Decode(d *jx.Decoder) error

Decode decodes PostTaxonomy from json.

func (PostTaxonomy) Encode

func (s PostTaxonomy) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (PostTaxonomy) MarshalJSON

func (s PostTaxonomy) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PostTaxonomy) UnmarshalJSON

func (s *PostTaxonomy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (PostTaxonomy) Validate

func (s PostTaxonomy) Validate() error

type Project

type Project struct {
	Path string `json:"path"`
	// A display name. For a remote it is derived from the repository basename rather than stored.
	Name   string `json:"name"`
	Active bool   `json:"active"`
	// The git remote this project was cloned from, if it was.
	Remote OptString `json:"remote"`
	// How the project is held. `inmemory` means a remote clone that never touched the disk, which is what
	// bounds the cost of opening one.
	Storage OptString `json:"storage"`
}

Ref: #/components/schemas/Project

func (*Project) Decode

func (s *Project) Decode(d *jx.Decoder) error

Decode decodes Project from json.

func (*Project) Encode

func (s *Project) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Project) GetActive

func (s *Project) GetActive() bool

GetActive returns the value of Active.

func (*Project) GetName

func (s *Project) GetName() string

GetName returns the value of Name.

func (*Project) GetPath

func (s *Project) GetPath() string

GetPath returns the value of Path.

func (*Project) GetRemote

func (s *Project) GetRemote() OptString

GetRemote returns the value of Remote.

func (*Project) GetStorage

func (s *Project) GetStorage() OptString

GetStorage returns the value of Storage.

func (*Project) MarshalJSON

func (s *Project) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Project) SetActive

func (s *Project) SetActive(val bool)

SetActive sets the value of Active.

func (*Project) SetName

func (s *Project) SetName(val string)

SetName sets the value of Name.

func (*Project) SetPath

func (s *Project) SetPath(val string)

SetPath sets the value of Path.

func (*Project) SetRemote

func (s *Project) SetRemote(val OptString)

SetRemote sets the value of Remote.

func (*Project) SetStorage

func (s *Project) SetStorage(val OptString)

SetStorage sets the value of Storage.

func (*Project) UnmarshalJSON

func (s *Project) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ProjectPath

type ProjectPath struct {
	Path string `json:"path"`
}

Ref: #/components/schemas/ProjectPath

func (*ProjectPath) Decode

func (s *ProjectPath) Decode(d *jx.Decoder) error

Decode decodes ProjectPath from json.

func (*ProjectPath) Encode

func (s *ProjectPath) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ProjectPath) GetPath

func (s *ProjectPath) GetPath() string

GetPath returns the value of Path.

func (*ProjectPath) MarshalJSON

func (s *ProjectPath) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ProjectPath) SetPath

func (s *ProjectPath) SetPath(val string)

SetPath sets the value of Path.

func (*ProjectPath) UnmarshalJSON

func (s *ProjectPath) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Projects

type Projects struct {
	// The active project's path; empty when none is.
	Active   string    `json:"active"`
	Projects []Project `json:"projects"`
}

Ref: #/components/schemas/Projects

func (*Projects) Decode

func (s *Projects) Decode(d *jx.Decoder) error

Decode decodes Projects from json.

func (*Projects) Encode

func (s *Projects) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Projects) GetActive

func (s *Projects) GetActive() string

GetActive returns the value of Active.

func (*Projects) GetProjects

func (s *Projects) GetProjects() []Project

GetProjects returns the value of Projects.

func (*Projects) MarshalJSON

func (s *Projects) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Projects) SetActive

func (s *Projects) SetActive(val string)

SetActive sets the value of Active.

func (*Projects) SetProjects

func (s *Projects) SetProjects(val []Project)

SetProjects sets the value of Projects.

func (*Projects) UnmarshalJSON

func (s *Projects) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Projects) Validate

func (s *Projects) Validate() error

type PromoteThemeNotFound

type PromoteThemeNotFound Error

func (*PromoteThemeNotFound) Decode

func (s *PromoteThemeNotFound) Decode(d *jx.Decoder) error

Decode decodes PromoteThemeNotFound from json.

func (*PromoteThemeNotFound) Encode

func (s *PromoteThemeNotFound) Encode(e *jx.Encoder)

Encode encodes PromoteThemeNotFound as json.

func (*PromoteThemeNotFound) MarshalJSON

func (s *PromoteThemeNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PromoteThemeNotFound) UnmarshalJSON

func (s *PromoteThemeNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PromoteThemeParams

type PromoteThemeParams struct {
	// The keyword that identifies the theme.
	Keyword string
}

PromoteThemeParams is parameters of promoteTheme operation.

type PromoteThemeRes

type PromoteThemeRes interface {
	// contains filtered or unexported methods
}

type PromoteThemeServiceUnavailable

type PromoteThemeServiceUnavailable Error

func (*PromoteThemeServiceUnavailable) Decode

Decode decodes PromoteThemeServiceUnavailable from json.

func (*PromoteThemeServiceUnavailable) Encode

Encode encodes PromoteThemeServiceUnavailable as json.

func (*PromoteThemeServiceUnavailable) MarshalJSON

func (s *PromoteThemeServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PromoteThemeServiceUnavailable) UnmarshalJSON

func (s *PromoteThemeServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PullMediaBadRequest

type PullMediaBadRequest Error

func (*PullMediaBadRequest) Decode

func (s *PullMediaBadRequest) Decode(d *jx.Decoder) error

Decode decodes PullMediaBadRequest from json.

func (*PullMediaBadRequest) Encode

func (s *PullMediaBadRequest) Encode(e *jx.Encoder)

Encode encodes PullMediaBadRequest as json.

func (*PullMediaBadRequest) MarshalJSON

func (s *PullMediaBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PullMediaBadRequest) UnmarshalJSON

func (s *PullMediaBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PullMediaConflict

type PullMediaConflict Error

func (*PullMediaConflict) Decode

func (s *PullMediaConflict) Decode(d *jx.Decoder) error

Decode decodes PullMediaConflict from json.

func (*PullMediaConflict) Encode

func (s *PullMediaConflict) Encode(e *jx.Encoder)

Encode encodes PullMediaConflict as json.

func (*PullMediaConflict) MarshalJSON

func (s *PullMediaConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PullMediaConflict) UnmarshalJSON

func (s *PullMediaConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PullMediaNotFound

type PullMediaNotFound Error

func (*PullMediaNotFound) Decode

func (s *PullMediaNotFound) Decode(d *jx.Decoder) error

Decode decodes PullMediaNotFound from json.

func (*PullMediaNotFound) Encode

func (s *PullMediaNotFound) Encode(e *jx.Encoder)

Encode encodes PullMediaNotFound as json.

func (*PullMediaNotFound) MarshalJSON

func (s *PullMediaNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PullMediaNotFound) UnmarshalJSON

func (s *PullMediaNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PullMediaParams

type PullMediaParams struct {
	// The reel's slug.
	Slug string
}

PullMediaParams is parameters of pullMedia operation.

type PullMediaRes

type PullMediaRes interface {
	// contains filtered or unexported methods
}

type PushStatus

type PushStatus struct {
	Pushed bool      `json:"pushed"`
	Reason OptString `json:"reason"`
}

Ref: #/components/schemas/PushStatus

func (*PushStatus) Decode

func (s *PushStatus) Decode(d *jx.Decoder) error

Decode decodes PushStatus from json.

func (*PushStatus) Encode

func (s *PushStatus) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*PushStatus) GetPushed

func (s *PushStatus) GetPushed() bool

GetPushed returns the value of Pushed.

func (*PushStatus) GetReason

func (s *PushStatus) GetReason() OptString

GetReason returns the value of Reason.

func (*PushStatus) MarshalJSON

func (s *PushStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PushStatus) SetPushed

func (s *PushStatus) SetPushed(val bool)

SetPushed sets the value of Pushed.

func (*PushStatus) SetReason

func (s *PushStatus) SetReason(val OptString)

SetReason sets the value of Reason.

func (*PushStatus) UnmarshalJSON

func (s *PushStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutChatHistoryBadRequest

type PutChatHistoryBadRequest Error

func (*PutChatHistoryBadRequest) Decode

func (s *PutChatHistoryBadRequest) Decode(d *jx.Decoder) error

Decode decodes PutChatHistoryBadRequest from json.

func (*PutChatHistoryBadRequest) Encode

func (s *PutChatHistoryBadRequest) Encode(e *jx.Encoder)

Encode encodes PutChatHistoryBadRequest as json.

func (*PutChatHistoryBadRequest) MarshalJSON

func (s *PutChatHistoryBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutChatHistoryBadRequest) UnmarshalJSON

func (s *PutChatHistoryBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutChatHistoryConflict

type PutChatHistoryConflict Error

func (*PutChatHistoryConflict) Decode

func (s *PutChatHistoryConflict) Decode(d *jx.Decoder) error

Decode decodes PutChatHistoryConflict from json.

func (*PutChatHistoryConflict) Encode

func (s *PutChatHistoryConflict) Encode(e *jx.Encoder)

Encode encodes PutChatHistoryConflict as json.

func (*PutChatHistoryConflict) MarshalJSON

func (s *PutChatHistoryConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutChatHistoryConflict) UnmarshalJSON

func (s *PutChatHistoryConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutChatHistoryInternalServerError

type PutChatHistoryInternalServerError Error

func (*PutChatHistoryInternalServerError) Decode

Decode decodes PutChatHistoryInternalServerError from json.

func (*PutChatHistoryInternalServerError) Encode

Encode encodes PutChatHistoryInternalServerError as json.

func (*PutChatHistoryInternalServerError) MarshalJSON

func (s *PutChatHistoryInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutChatHistoryInternalServerError) UnmarshalJSON

func (s *PutChatHistoryInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutChatHistoryNotFound

type PutChatHistoryNotFound Error

func (*PutChatHistoryNotFound) Decode

func (s *PutChatHistoryNotFound) Decode(d *jx.Decoder) error

Decode decodes PutChatHistoryNotFound from json.

func (*PutChatHistoryNotFound) Encode

func (s *PutChatHistoryNotFound) Encode(e *jx.Encoder)

Encode encodes PutChatHistoryNotFound as json.

func (*PutChatHistoryNotFound) MarshalJSON

func (s *PutChatHistoryNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutChatHistoryNotFound) UnmarshalJSON

func (s *PutChatHistoryNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutChatHistoryParams

type PutChatHistoryParams struct {
	// The reel's slug.
	Slug string
}

PutChatHistoryParams is parameters of putChatHistory operation.

type PutChatHistoryRes

type PutChatHistoryRes interface {
	// contains filtered or unexported methods
}

type PutConfigBadRequest

type PutConfigBadRequest Error

func (*PutConfigBadRequest) Decode

func (s *PutConfigBadRequest) Decode(d *jx.Decoder) error

Decode decodes PutConfigBadRequest from json.

func (*PutConfigBadRequest) Encode

func (s *PutConfigBadRequest) Encode(e *jx.Encoder)

Encode encodes PutConfigBadRequest as json.

func (*PutConfigBadRequest) MarshalJSON

func (s *PutConfigBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutConfigBadRequest) UnmarshalJSON

func (s *PutConfigBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutConfigRes

type PutConfigRes interface {
	// contains filtered or unexported methods
}

type PutConfigServiceUnavailable

type PutConfigServiceUnavailable Error

func (*PutConfigServiceUnavailable) Decode

Decode decodes PutConfigServiceUnavailable from json.

func (*PutConfigServiceUnavailable) Encode

func (s *PutConfigServiceUnavailable) Encode(e *jx.Encoder)

Encode encodes PutConfigServiceUnavailable as json.

func (*PutConfigServiceUnavailable) MarshalJSON

func (s *PutConfigServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutConfigServiceUnavailable) UnmarshalJSON

func (s *PutConfigServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutConfigUnprocessableEntity

type PutConfigUnprocessableEntity Error

func (*PutConfigUnprocessableEntity) Decode

Decode decodes PutConfigUnprocessableEntity from json.

func (*PutConfigUnprocessableEntity) Encode

func (s *PutConfigUnprocessableEntity) Encode(e *jx.Encoder)

Encode encodes PutConfigUnprocessableEntity as json.

func (*PutConfigUnprocessableEntity) MarshalJSON

func (s *PutConfigUnprocessableEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutConfigUnprocessableEntity) UnmarshalJSON

func (s *PutConfigUnprocessableEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutConfigYAMLBadRequest

type PutConfigYAMLBadRequest Error

func (*PutConfigYAMLBadRequest) Decode

func (s *PutConfigYAMLBadRequest) Decode(d *jx.Decoder) error

Decode decodes PutConfigYAMLBadRequest from json.

func (*PutConfigYAMLBadRequest) Encode

func (s *PutConfigYAMLBadRequest) Encode(e *jx.Encoder)

Encode encodes PutConfigYAMLBadRequest as json.

func (*PutConfigYAMLBadRequest) MarshalJSON

func (s *PutConfigYAMLBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutConfigYAMLBadRequest) UnmarshalJSON

func (s *PutConfigYAMLBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutConfigYAMLInternalServerError

type PutConfigYAMLInternalServerError Error

func (*PutConfigYAMLInternalServerError) Decode

Decode decodes PutConfigYAMLInternalServerError from json.

func (*PutConfigYAMLInternalServerError) Encode

Encode encodes PutConfigYAMLInternalServerError as json.

func (*PutConfigYAMLInternalServerError) MarshalJSON

func (s *PutConfigYAMLInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutConfigYAMLInternalServerError) UnmarshalJSON

func (s *PutConfigYAMLInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutConfigYAMLRes

type PutConfigYAMLRes interface {
	// contains filtered or unexported methods
}

type PutConfigYAMLUnprocessableEntity

type PutConfigYAMLUnprocessableEntity Error

func (*PutConfigYAMLUnprocessableEntity) Decode

Decode decodes PutConfigYAMLUnprocessableEntity from json.

func (*PutConfigYAMLUnprocessableEntity) Encode

Encode encodes PutConfigYAMLUnprocessableEntity as json.

func (*PutConfigYAMLUnprocessableEntity) MarshalJSON

func (s *PutConfigYAMLUnprocessableEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutConfigYAMLUnprocessableEntity) UnmarshalJSON

func (s *PutConfigYAMLUnprocessableEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutDirectionBadRequest

type PutDirectionBadRequest Error

func (*PutDirectionBadRequest) Decode

func (s *PutDirectionBadRequest) Decode(d *jx.Decoder) error

Decode decodes PutDirectionBadRequest from json.

func (*PutDirectionBadRequest) Encode

func (s *PutDirectionBadRequest) Encode(e *jx.Encoder)

Encode encodes PutDirectionBadRequest as json.

func (*PutDirectionBadRequest) MarshalJSON

func (s *PutDirectionBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutDirectionBadRequest) UnmarshalJSON

func (s *PutDirectionBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutDirectionConflict

type PutDirectionConflict Error

func (*PutDirectionConflict) Decode

func (s *PutDirectionConflict) Decode(d *jx.Decoder) error

Decode decodes PutDirectionConflict from json.

func (*PutDirectionConflict) Encode

func (s *PutDirectionConflict) Encode(e *jx.Encoder)

Encode encodes PutDirectionConflict as json.

func (*PutDirectionConflict) MarshalJSON

func (s *PutDirectionConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutDirectionConflict) UnmarshalJSON

func (s *PutDirectionConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutDirectionInternalServerError

type PutDirectionInternalServerError Error

func (*PutDirectionInternalServerError) Decode

Decode decodes PutDirectionInternalServerError from json.

func (*PutDirectionInternalServerError) Encode

Encode encodes PutDirectionInternalServerError as json.

func (*PutDirectionInternalServerError) MarshalJSON

func (s *PutDirectionInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutDirectionInternalServerError) UnmarshalJSON

func (s *PutDirectionInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutDirectionNotFound

type PutDirectionNotFound Error

func (*PutDirectionNotFound) Decode

func (s *PutDirectionNotFound) Decode(d *jx.Decoder) error

Decode decodes PutDirectionNotFound from json.

func (*PutDirectionNotFound) Encode

func (s *PutDirectionNotFound) Encode(e *jx.Encoder)

Encode encodes PutDirectionNotFound as json.

func (*PutDirectionNotFound) MarshalJSON

func (s *PutDirectionNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutDirectionNotFound) UnmarshalJSON

func (s *PutDirectionNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutDirectionParams

type PutDirectionParams struct {
	// The reel's slug.
	Slug string
}

PutDirectionParams is parameters of putDirection operation.

type PutDirectionRes

type PutDirectionRes interface {
	// contains filtered or unexported methods
}

type PutReelAspectBadRequest

type PutReelAspectBadRequest Error

func (*PutReelAspectBadRequest) Decode

func (s *PutReelAspectBadRequest) Decode(d *jx.Decoder) error

Decode decodes PutReelAspectBadRequest from json.

func (*PutReelAspectBadRequest) Encode

func (s *PutReelAspectBadRequest) Encode(e *jx.Encoder)

Encode encodes PutReelAspectBadRequest as json.

func (*PutReelAspectBadRequest) MarshalJSON

func (s *PutReelAspectBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutReelAspectBadRequest) UnmarshalJSON

func (s *PutReelAspectBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutReelAspectConflict

type PutReelAspectConflict Error

func (*PutReelAspectConflict) Decode

func (s *PutReelAspectConflict) Decode(d *jx.Decoder) error

Decode decodes PutReelAspectConflict from json.

func (*PutReelAspectConflict) Encode

func (s *PutReelAspectConflict) Encode(e *jx.Encoder)

Encode encodes PutReelAspectConflict as json.

func (*PutReelAspectConflict) MarshalJSON

func (s *PutReelAspectConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutReelAspectConflict) UnmarshalJSON

func (s *PutReelAspectConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutReelAspectInternalServerError

type PutReelAspectInternalServerError Error

func (*PutReelAspectInternalServerError) Decode

Decode decodes PutReelAspectInternalServerError from json.

func (*PutReelAspectInternalServerError) Encode

Encode encodes PutReelAspectInternalServerError as json.

func (*PutReelAspectInternalServerError) MarshalJSON

func (s *PutReelAspectInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutReelAspectInternalServerError) UnmarshalJSON

func (s *PutReelAspectInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutReelAspectNotFound

type PutReelAspectNotFound Error

func (*PutReelAspectNotFound) Decode

func (s *PutReelAspectNotFound) Decode(d *jx.Decoder) error

Decode decodes PutReelAspectNotFound from json.

func (*PutReelAspectNotFound) Encode

func (s *PutReelAspectNotFound) Encode(e *jx.Encoder)

Encode encodes PutReelAspectNotFound as json.

func (*PutReelAspectNotFound) MarshalJSON

func (s *PutReelAspectNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutReelAspectNotFound) UnmarshalJSON

func (s *PutReelAspectNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutReelAspectParams

type PutReelAspectParams struct {
	// The reel's slug.
	Slug string
}

PutReelAspectParams is parameters of putReelAspect operation.

type PutReelAspectRes

type PutReelAspectRes interface {
	// contains filtered or unexported methods
}

type PutReelAvatarsBadRequest

type PutReelAvatarsBadRequest Error

func (*PutReelAvatarsBadRequest) Decode

func (s *PutReelAvatarsBadRequest) Decode(d *jx.Decoder) error

Decode decodes PutReelAvatarsBadRequest from json.

func (*PutReelAvatarsBadRequest) Encode

func (s *PutReelAvatarsBadRequest) Encode(e *jx.Encoder)

Encode encodes PutReelAvatarsBadRequest as json.

func (*PutReelAvatarsBadRequest) MarshalJSON

func (s *PutReelAvatarsBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutReelAvatarsBadRequest) UnmarshalJSON

func (s *PutReelAvatarsBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutReelAvatarsConflict

type PutReelAvatarsConflict Error

func (*PutReelAvatarsConflict) Decode

func (s *PutReelAvatarsConflict) Decode(d *jx.Decoder) error

Decode decodes PutReelAvatarsConflict from json.

func (*PutReelAvatarsConflict) Encode

func (s *PutReelAvatarsConflict) Encode(e *jx.Encoder)

Encode encodes PutReelAvatarsConflict as json.

func (*PutReelAvatarsConflict) MarshalJSON

func (s *PutReelAvatarsConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutReelAvatarsConflict) UnmarshalJSON

func (s *PutReelAvatarsConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutReelAvatarsInternalServerError

type PutReelAvatarsInternalServerError Error

func (*PutReelAvatarsInternalServerError) Decode

Decode decodes PutReelAvatarsInternalServerError from json.

func (*PutReelAvatarsInternalServerError) Encode

Encode encodes PutReelAvatarsInternalServerError as json.

func (*PutReelAvatarsInternalServerError) MarshalJSON

func (s *PutReelAvatarsInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutReelAvatarsInternalServerError) UnmarshalJSON

func (s *PutReelAvatarsInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutReelAvatarsNotFound

type PutReelAvatarsNotFound Error

func (*PutReelAvatarsNotFound) Decode

func (s *PutReelAvatarsNotFound) Decode(d *jx.Decoder) error

Decode decodes PutReelAvatarsNotFound from json.

func (*PutReelAvatarsNotFound) Encode

func (s *PutReelAvatarsNotFound) Encode(e *jx.Encoder)

Encode encodes PutReelAvatarsNotFound as json.

func (*PutReelAvatarsNotFound) MarshalJSON

func (s *PutReelAvatarsNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutReelAvatarsNotFound) UnmarshalJSON

func (s *PutReelAvatarsNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutReelAvatarsParams

type PutReelAvatarsParams struct {
	// The reel's slug.
	Slug string
}

PutReelAvatarsParams is parameters of putReelAvatars operation.

type PutReelAvatarsRes

type PutReelAvatarsRes interface {
	// contains filtered or unexported methods
}

type PutSocialBadRequest

type PutSocialBadRequest Error

func (*PutSocialBadRequest) Decode

func (s *PutSocialBadRequest) Decode(d *jx.Decoder) error

Decode decodes PutSocialBadRequest from json.

func (*PutSocialBadRequest) Encode

func (s *PutSocialBadRequest) Encode(e *jx.Encoder)

Encode encodes PutSocialBadRequest as json.

func (*PutSocialBadRequest) MarshalJSON

func (s *PutSocialBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutSocialBadRequest) UnmarshalJSON

func (s *PutSocialBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutSocialConflict

type PutSocialConflict Error

func (*PutSocialConflict) Decode

func (s *PutSocialConflict) Decode(d *jx.Decoder) error

Decode decodes PutSocialConflict from json.

func (*PutSocialConflict) Encode

func (s *PutSocialConflict) Encode(e *jx.Encoder)

Encode encodes PutSocialConflict as json.

func (*PutSocialConflict) MarshalJSON

func (s *PutSocialConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutSocialConflict) UnmarshalJSON

func (s *PutSocialConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutSocialInternalServerError

type PutSocialInternalServerError Error

func (*PutSocialInternalServerError) Decode

Decode decodes PutSocialInternalServerError from json.

func (*PutSocialInternalServerError) Encode

func (s *PutSocialInternalServerError) Encode(e *jx.Encoder)

Encode encodes PutSocialInternalServerError as json.

func (*PutSocialInternalServerError) MarshalJSON

func (s *PutSocialInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutSocialInternalServerError) UnmarshalJSON

func (s *PutSocialInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutSocialNotFound

type PutSocialNotFound Error

func (*PutSocialNotFound) Decode

func (s *PutSocialNotFound) Decode(d *jx.Decoder) error

Decode decodes PutSocialNotFound from json.

func (*PutSocialNotFound) Encode

func (s *PutSocialNotFound) Encode(e *jx.Encoder)

Encode encodes PutSocialNotFound as json.

func (*PutSocialNotFound) MarshalJSON

func (s *PutSocialNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutSocialNotFound) UnmarshalJSON

func (s *PutSocialNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutSocialParams

type PutSocialParams struct {
	// The reel's slug.
	Slug     string
	Platform Platform
}

PutSocialParams is parameters of putSocial operation.

type PutSocialRes

type PutSocialRes interface {
	// contains filtered or unexported methods
}

type PutSourceBadRequest

type PutSourceBadRequest Error

func (*PutSourceBadRequest) Decode

func (s *PutSourceBadRequest) Decode(d *jx.Decoder) error

Decode decodes PutSourceBadRequest from json.

func (*PutSourceBadRequest) Encode

func (s *PutSourceBadRequest) Encode(e *jx.Encoder)

Encode encodes PutSourceBadRequest as json.

func (*PutSourceBadRequest) MarshalJSON

func (s *PutSourceBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutSourceBadRequest) UnmarshalJSON

func (s *PutSourceBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutSourceConflict

type PutSourceConflict Error

func (*PutSourceConflict) Decode

func (s *PutSourceConflict) Decode(d *jx.Decoder) error

Decode decodes PutSourceConflict from json.

func (*PutSourceConflict) Encode

func (s *PutSourceConflict) Encode(e *jx.Encoder)

Encode encodes PutSourceConflict as json.

func (*PutSourceConflict) MarshalJSON

func (s *PutSourceConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutSourceConflict) UnmarshalJSON

func (s *PutSourceConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutSourceInternalServerError

type PutSourceInternalServerError Error

func (*PutSourceInternalServerError) Decode

Decode decodes PutSourceInternalServerError from json.

func (*PutSourceInternalServerError) Encode

func (s *PutSourceInternalServerError) Encode(e *jx.Encoder)

Encode encodes PutSourceInternalServerError as json.

func (*PutSourceInternalServerError) MarshalJSON

func (s *PutSourceInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutSourceInternalServerError) UnmarshalJSON

func (s *PutSourceInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutSourceNotFound

type PutSourceNotFound Error

func (*PutSourceNotFound) Decode

func (s *PutSourceNotFound) Decode(d *jx.Decoder) error

Decode decodes PutSourceNotFound from json.

func (*PutSourceNotFound) Encode

func (s *PutSourceNotFound) Encode(e *jx.Encoder)

Encode encodes PutSourceNotFound as json.

func (*PutSourceNotFound) MarshalJSON

func (s *PutSourceNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutSourceNotFound) UnmarshalJSON

func (s *PutSourceNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutSourceParams

type PutSourceParams struct {
	// The reel's slug.
	Slug string
}

PutSourceParams is parameters of putSource operation.

type PutSourceRes

type PutSourceRes interface {
	// contains filtered or unexported methods
}

type PutStoryboardBadRequest

type PutStoryboardBadRequest Error

func (*PutStoryboardBadRequest) Decode

func (s *PutStoryboardBadRequest) Decode(d *jx.Decoder) error

Decode decodes PutStoryboardBadRequest from json.

func (*PutStoryboardBadRequest) Encode

func (s *PutStoryboardBadRequest) Encode(e *jx.Encoder)

Encode encodes PutStoryboardBadRequest as json.

func (*PutStoryboardBadRequest) MarshalJSON

func (s *PutStoryboardBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutStoryboardBadRequest) UnmarshalJSON

func (s *PutStoryboardBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutStoryboardConflict

type PutStoryboardConflict Error

func (*PutStoryboardConflict) Decode

func (s *PutStoryboardConflict) Decode(d *jx.Decoder) error

Decode decodes PutStoryboardConflict from json.

func (*PutStoryboardConflict) Encode

func (s *PutStoryboardConflict) Encode(e *jx.Encoder)

Encode encodes PutStoryboardConflict as json.

func (*PutStoryboardConflict) MarshalJSON

func (s *PutStoryboardConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutStoryboardConflict) UnmarshalJSON

func (s *PutStoryboardConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutStoryboardInternalServerError

type PutStoryboardInternalServerError Error

func (*PutStoryboardInternalServerError) Decode

Decode decodes PutStoryboardInternalServerError from json.

func (*PutStoryboardInternalServerError) Encode

Encode encodes PutStoryboardInternalServerError as json.

func (*PutStoryboardInternalServerError) MarshalJSON

func (s *PutStoryboardInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutStoryboardInternalServerError) UnmarshalJSON

func (s *PutStoryboardInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutStoryboardNotFound

type PutStoryboardNotFound Error

func (*PutStoryboardNotFound) Decode

func (s *PutStoryboardNotFound) Decode(d *jx.Decoder) error

Decode decodes PutStoryboardNotFound from json.

func (*PutStoryboardNotFound) Encode

func (s *PutStoryboardNotFound) Encode(e *jx.Encoder)

Encode encodes PutStoryboardNotFound as json.

func (*PutStoryboardNotFound) MarshalJSON

func (s *PutStoryboardNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutStoryboardNotFound) UnmarshalJSON

func (s *PutStoryboardNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutStoryboardOK

type PutStoryboardOK SaveResult

func (*PutStoryboardOK) Decode

func (s *PutStoryboardOK) Decode(d *jx.Decoder) error

Decode decodes PutStoryboardOK from json.

func (*PutStoryboardOK) Encode

func (s *PutStoryboardOK) Encode(e *jx.Encoder)

Encode encodes PutStoryboardOK as json.

func (*PutStoryboardOK) MarshalJSON

func (s *PutStoryboardOK) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutStoryboardOK) UnmarshalJSON

func (s *PutStoryboardOK) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PutStoryboardOK) Validate

func (s *PutStoryboardOK) Validate() error

type PutStoryboardParams

type PutStoryboardParams struct {
	// The reel's slug.
	Slug string
}

PutStoryboardParams is parameters of putStoryboard operation.

type PutStoryboardRes

type PutStoryboardRes interface {
	// contains filtered or unexported methods
}

type PutStoryboardUnprocessableEntity

type PutStoryboardUnprocessableEntity SaveResult

func (*PutStoryboardUnprocessableEntity) Decode

Decode decodes PutStoryboardUnprocessableEntity from json.

func (*PutStoryboardUnprocessableEntity) Encode

Encode encodes PutStoryboardUnprocessableEntity as json.

func (*PutStoryboardUnprocessableEntity) MarshalJSON

func (s *PutStoryboardUnprocessableEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutStoryboardUnprocessableEntity) UnmarshalJSON

func (s *PutStoryboardUnprocessableEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*PutStoryboardUnprocessableEntity) Validate

type PutThemeBadRequest

type PutThemeBadRequest Error

func (*PutThemeBadRequest) Decode

func (s *PutThemeBadRequest) Decode(d *jx.Decoder) error

Decode decodes PutThemeBadRequest from json.

func (*PutThemeBadRequest) Encode

func (s *PutThemeBadRequest) Encode(e *jx.Encoder)

Encode encodes PutThemeBadRequest as json.

func (*PutThemeBadRequest) MarshalJSON

func (s *PutThemeBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutThemeBadRequest) UnmarshalJSON

func (s *PutThemeBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutThemeConflict

type PutThemeConflict Error

func (*PutThemeConflict) Decode

func (s *PutThemeConflict) Decode(d *jx.Decoder) error

Decode decodes PutThemeConflict from json.

func (*PutThemeConflict) Encode

func (s *PutThemeConflict) Encode(e *jx.Encoder)

Encode encodes PutThemeConflict as json.

func (*PutThemeConflict) MarshalJSON

func (s *PutThemeConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutThemeConflict) UnmarshalJSON

func (s *PutThemeConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutThemeInternalServerError

type PutThemeInternalServerError Error

func (*PutThemeInternalServerError) Decode

Decode decodes PutThemeInternalServerError from json.

func (*PutThemeInternalServerError) Encode

func (s *PutThemeInternalServerError) Encode(e *jx.Encoder)

Encode encodes PutThemeInternalServerError as json.

func (*PutThemeInternalServerError) MarshalJSON

func (s *PutThemeInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutThemeInternalServerError) UnmarshalJSON

func (s *PutThemeInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutThemeNotFound

type PutThemeNotFound Error

func (*PutThemeNotFound) Decode

func (s *PutThemeNotFound) Decode(d *jx.Decoder) error

Decode decodes PutThemeNotFound from json.

func (*PutThemeNotFound) Encode

func (s *PutThemeNotFound) Encode(e *jx.Encoder)

Encode encodes PutThemeNotFound as json.

func (*PutThemeNotFound) MarshalJSON

func (s *PutThemeNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*PutThemeNotFound) UnmarshalJSON

func (s *PutThemeNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type PutThemeParams

type PutThemeParams struct {
	// The reel's slug.
	Slug string
}

PutThemeParams is parameters of putTheme operation.

type PutThemeRes

type PutThemeRes interface {
	// contains filtered or unexported methods
}

type Quota

type Quota struct {
	Used      int       `json:"used"`
	Limit     int       `json:"limit"`
	Remaining int       `json:"remaining"`
	ResetAt   time.Time `json:"reset_at"`
}

Ref: #/components/schemas/Quota

func (*Quota) Decode

func (s *Quota) Decode(d *jx.Decoder) error

Decode decodes Quota from json.

func (*Quota) Encode

func (s *Quota) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Quota) GetLimit

func (s *Quota) GetLimit() int

GetLimit returns the value of Limit.

func (*Quota) GetRemaining

func (s *Quota) GetRemaining() int

GetRemaining returns the value of Remaining.

func (*Quota) GetResetAt

func (s *Quota) GetResetAt() time.Time

GetResetAt returns the value of ResetAt.

func (*Quota) GetUsed

func (s *Quota) GetUsed() int

GetUsed returns the value of Used.

func (*Quota) MarshalJSON

func (s *Quota) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Quota) SetLimit

func (s *Quota) SetLimit(val int)

SetLimit sets the value of Limit.

func (*Quota) SetRemaining

func (s *Quota) SetRemaining(val int)

SetRemaining sets the value of Remaining.

func (*Quota) SetResetAt

func (s *Quota) SetResetAt(val time.Time)

SetResetAt sets the value of ResetAt.

func (*Quota) SetUsed

func (s *Quota) SetUsed(val int)

SetUsed sets the value of Used.

func (*Quota) UnmarshalJSON

func (s *Quota) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Reel

type Reel struct {
	// The directory name, and the reel's identity.
	Slug string `json:"slug"`
	// The human name, which a rename does not touch.
	Label OptString `json:"label"`
	Theme OptString `json:"theme"`
	// The article this reel is linked to, if any.
	Bundle OptString `json:"bundle"`
	// How far the workspace has got, computed from what is on disk.
	Status string `json:"status"`
	// Changes git has not seen. Covers MEDIA as well as the board: media is git-ignored, so a git-clean
	// workspace can still have unpushed blobs.
	Uncommitted OptBool `json:"uncommitted"`
}

Ref: #/components/schemas/Reel

func (*Reel) Decode

func (s *Reel) Decode(d *jx.Decoder) error

Decode decodes Reel from json.

func (*Reel) Encode

func (s *Reel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Reel) GetBundle

func (s *Reel) GetBundle() OptString

GetBundle returns the value of Bundle.

func (*Reel) GetLabel

func (s *Reel) GetLabel() OptString

GetLabel returns the value of Label.

func (*Reel) GetSlug

func (s *Reel) GetSlug() string

GetSlug returns the value of Slug.

func (*Reel) GetStatus

func (s *Reel) GetStatus() string

GetStatus returns the value of Status.

func (*Reel) GetTheme

func (s *Reel) GetTheme() OptString

GetTheme returns the value of Theme.

func (*Reel) GetUncommitted

func (s *Reel) GetUncommitted() OptBool

GetUncommitted returns the value of Uncommitted.

func (*Reel) MarshalJSON

func (s *Reel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Reel) SetBundle

func (s *Reel) SetBundle(val OptString)

SetBundle sets the value of Bundle.

func (*Reel) SetLabel

func (s *Reel) SetLabel(val OptString)

SetLabel sets the value of Label.

func (*Reel) SetSlug

func (s *Reel) SetSlug(val string)

SetSlug sets the value of Slug.

func (*Reel) SetStatus

func (s *Reel) SetStatus(val string)

SetStatus sets the value of Status.

func (*Reel) SetTheme

func (s *Reel) SetTheme(val OptString)

SetTheme sets the value of Theme.

func (*Reel) SetUncommitted

func (s *Reel) SetUncommitted(val OptBool)

SetUncommitted sets the value of Uncommitted.

func (*Reel) UnmarshalJSON

func (s *Reel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveAvatarBadRequest

type RemoveAvatarBadRequest Error

func (*RemoveAvatarBadRequest) Decode

func (s *RemoveAvatarBadRequest) Decode(d *jx.Decoder) error

Decode decodes RemoveAvatarBadRequest from json.

func (*RemoveAvatarBadRequest) Encode

func (s *RemoveAvatarBadRequest) Encode(e *jx.Encoder)

Encode encodes RemoveAvatarBadRequest as json.

func (*RemoveAvatarBadRequest) MarshalJSON

func (s *RemoveAvatarBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveAvatarBadRequest) UnmarshalJSON

func (s *RemoveAvatarBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveAvatarInternalServerError

type RemoveAvatarInternalServerError Error

func (*RemoveAvatarInternalServerError) Decode

Decode decodes RemoveAvatarInternalServerError from json.

func (*RemoveAvatarInternalServerError) Encode

Encode encodes RemoveAvatarInternalServerError as json.

func (*RemoveAvatarInternalServerError) MarshalJSON

func (s *RemoveAvatarInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveAvatarInternalServerError) UnmarshalJSON

func (s *RemoveAvatarInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveAvatarNoContent

type RemoveAvatarNoContent struct{}

RemoveAvatarNoContent is response for RemoveAvatar operation.

type RemoveAvatarNotFound

type RemoveAvatarNotFound Error

func (*RemoveAvatarNotFound) Decode

func (s *RemoveAvatarNotFound) Decode(d *jx.Decoder) error

Decode decodes RemoveAvatarNotFound from json.

func (*RemoveAvatarNotFound) Encode

func (s *RemoveAvatarNotFound) Encode(e *jx.Encoder)

Encode encodes RemoveAvatarNotFound as json.

func (*RemoveAvatarNotFound) MarshalJSON

func (s *RemoveAvatarNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveAvatarNotFound) UnmarshalJSON

func (s *RemoveAvatarNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveAvatarParams

type RemoveAvatarParams struct {
	// The avatar's name, which is its identity in the project registry.
	Name string
}

RemoveAvatarParams is parameters of removeAvatar operation.

type RemoveAvatarRes

type RemoveAvatarRes interface {
	// contains filtered or unexported methods
}

type RemoveReelBadRequest

type RemoveReelBadRequest Error

func (*RemoveReelBadRequest) Decode

func (s *RemoveReelBadRequest) Decode(d *jx.Decoder) error

Decode decodes RemoveReelBadRequest from json.

func (*RemoveReelBadRequest) Encode

func (s *RemoveReelBadRequest) Encode(e *jx.Encoder)

Encode encodes RemoveReelBadRequest as json.

func (*RemoveReelBadRequest) MarshalJSON

func (s *RemoveReelBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveReelBadRequest) UnmarshalJSON

func (s *RemoveReelBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveReelInternalServerError

type RemoveReelInternalServerError Error

func (*RemoveReelInternalServerError) Decode

Decode decodes RemoveReelInternalServerError from json.

func (*RemoveReelInternalServerError) Encode

Encode encodes RemoveReelInternalServerError as json.

func (*RemoveReelInternalServerError) MarshalJSON

func (s *RemoveReelInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveReelInternalServerError) UnmarshalJSON

func (s *RemoveReelInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveReelNoContent

type RemoveReelNoContent struct{}

RemoveReelNoContent is response for RemoveReel operation.

type RemoveReelNotFound

type RemoveReelNotFound Error

func (*RemoveReelNotFound) Decode

func (s *RemoveReelNotFound) Decode(d *jx.Decoder) error

Decode decodes RemoveReelNotFound from json.

func (*RemoveReelNotFound) Encode

func (s *RemoveReelNotFound) Encode(e *jx.Encoder)

Encode encodes RemoveReelNotFound as json.

func (*RemoveReelNotFound) MarshalJSON

func (s *RemoveReelNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveReelNotFound) UnmarshalJSON

func (s *RemoveReelNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveReelParams

type RemoveReelParams struct {
	// The reel's slug.
	Slug string
}

RemoveReelParams is parameters of removeReel operation.

type RemoveReelRes

type RemoveReelRes interface {
	// contains filtered or unexported methods
}

type RemoveThemeNoContent

type RemoveThemeNoContent struct{}

RemoveThemeNoContent is response for RemoveTheme operation.

type RemoveThemeNotFound

type RemoveThemeNotFound Error

func (*RemoveThemeNotFound) Decode

func (s *RemoveThemeNotFound) Decode(d *jx.Decoder) error

Decode decodes RemoveThemeNotFound from json.

func (*RemoveThemeNotFound) Encode

func (s *RemoveThemeNotFound) Encode(e *jx.Encoder)

Encode encodes RemoveThemeNotFound as json.

func (*RemoveThemeNotFound) MarshalJSON

func (s *RemoveThemeNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveThemeNotFound) UnmarshalJSON

func (s *RemoveThemeNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RemoveThemeParams

type RemoveThemeParams struct {
	// The keyword that identifies the theme.
	Keyword string
}

RemoveThemeParams is parameters of removeTheme operation.

type RemoveThemeRes

type RemoveThemeRes interface {
	// contains filtered or unexported methods
}

type RemoveThemeServiceUnavailable

type RemoveThemeServiceUnavailable Error

func (*RemoveThemeServiceUnavailable) Decode

Decode decodes RemoveThemeServiceUnavailable from json.

func (*RemoveThemeServiceUnavailable) Encode

Encode encodes RemoveThemeServiceUnavailable as json.

func (*RemoveThemeServiceUnavailable) MarshalJSON

func (s *RemoveThemeServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RemoveThemeServiceUnavailable) UnmarshalJSON

func (s *RemoveThemeServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RenameReelBadRequest

type RenameReelBadRequest Error

func (*RenameReelBadRequest) Decode

func (s *RenameReelBadRequest) Decode(d *jx.Decoder) error

Decode decodes RenameReelBadRequest from json.

func (*RenameReelBadRequest) Encode

func (s *RenameReelBadRequest) Encode(e *jx.Encoder)

Encode encodes RenameReelBadRequest as json.

func (*RenameReelBadRequest) MarshalJSON

func (s *RenameReelBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RenameReelBadRequest) UnmarshalJSON

func (s *RenameReelBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RenameReelConflict

type RenameReelConflict Error

func (*RenameReelConflict) Decode

func (s *RenameReelConflict) Decode(d *jx.Decoder) error

Decode decodes RenameReelConflict from json.

func (*RenameReelConflict) Encode

func (s *RenameReelConflict) Encode(e *jx.Encoder)

Encode encodes RenameReelConflict as json.

func (*RenameReelConflict) MarshalJSON

func (s *RenameReelConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RenameReelConflict) UnmarshalJSON

func (s *RenameReelConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RenameReelInternalServerError

type RenameReelInternalServerError Error

func (*RenameReelInternalServerError) Decode

Decode decodes RenameReelInternalServerError from json.

func (*RenameReelInternalServerError) Encode

Encode encodes RenameReelInternalServerError as json.

func (*RenameReelInternalServerError) MarshalJSON

func (s *RenameReelInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RenameReelInternalServerError) UnmarshalJSON

func (s *RenameReelInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RenameReelNotFound

type RenameReelNotFound Error

func (*RenameReelNotFound) Decode

func (s *RenameReelNotFound) Decode(d *jx.Decoder) error

Decode decodes RenameReelNotFound from json.

func (*RenameReelNotFound) Encode

func (s *RenameReelNotFound) Encode(e *jx.Encoder)

Encode encodes RenameReelNotFound as json.

func (*RenameReelNotFound) MarshalJSON

func (s *RenameReelNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RenameReelNotFound) UnmarshalJSON

func (s *RenameReelNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type RenameReelParams

type RenameReelParams struct {
	// The reel's slug.
	Slug string
}

RenameReelParams is parameters of renameReel operation.

type RenameReelRes

type RenameReelRes interface {
	// contains filtered or unexported methods
}

type RenderRequest

type RenderRequest struct {
	// Render without audio. A draft: it proves the cards and their timing without paying for a voice,
	// which is the cheap half of the loop.
	Silent OptBool   `json:"silent"`
	Theme  OptString `json:"theme"`
}

Ref: #/components/schemas/RenderRequest

func (*RenderRequest) Decode

func (s *RenderRequest) Decode(d *jx.Decoder) error

Decode decodes RenderRequest from json.

func (*RenderRequest) Encode

func (s *RenderRequest) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*RenderRequest) GetSilent

func (s *RenderRequest) GetSilent() OptBool

GetSilent returns the value of Silent.

func (*RenderRequest) GetTheme

func (s *RenderRequest) GetTheme() OptString

GetTheme returns the value of Theme.

func (*RenderRequest) MarshalJSON

func (s *RenderRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*RenderRequest) SetSilent

func (s *RenderRequest) SetSilent(val OptBool)

SetSilent sets the value of Silent.

func (*RenderRequest) SetTheme

func (s *RenderRequest) SetTheme(val OptString)

SetTheme sets the value of Theme.

func (*RenderRequest) UnmarshalJSON

func (s *RenderRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Route

type Route struct {
	// contains filtered or unexported fields
}

Route is route object.

func (Route) Args

func (r Route) Args() []string

Args returns parsed arguments.

func (Route) Name

func (r Route) Name() string

Name returns ogen operation name.

It is guaranteed to be unique and not empty.

func (Route) OperationGroup

func (r Route) OperationGroup() string

OperationGroup returns the x-ogen-operation-group value.

func (Route) OperationID

func (r Route) OperationID() string

OperationID returns OpenAPI operationId.

func (Route) PathPattern

func (r Route) PathPattern() string

PathPattern returns OpenAPI path.

func (Route) Summary

func (r Route) Summary() string

Summary returns OpenAPI summary.

type SaveAvatarBadRequest

type SaveAvatarBadRequest Error

func (*SaveAvatarBadRequest) Decode

func (s *SaveAvatarBadRequest) Decode(d *jx.Decoder) error

Decode decodes SaveAvatarBadRequest from json.

func (*SaveAvatarBadRequest) Encode

func (s *SaveAvatarBadRequest) Encode(e *jx.Encoder)

Encode encodes SaveAvatarBadRequest as json.

func (*SaveAvatarBadRequest) MarshalJSON

func (s *SaveAvatarBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SaveAvatarBadRequest) UnmarshalJSON

func (s *SaveAvatarBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SaveAvatarInternalServerError

type SaveAvatarInternalServerError Error

func (*SaveAvatarInternalServerError) Decode

Decode decodes SaveAvatarInternalServerError from json.

func (*SaveAvatarInternalServerError) Encode

Encode encodes SaveAvatarInternalServerError as json.

func (*SaveAvatarInternalServerError) MarshalJSON

func (s *SaveAvatarInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SaveAvatarInternalServerError) UnmarshalJSON

func (s *SaveAvatarInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SaveAvatarNotFound

type SaveAvatarNotFound Error

func (*SaveAvatarNotFound) Decode

func (s *SaveAvatarNotFound) Decode(d *jx.Decoder) error

Decode decodes SaveAvatarNotFound from json.

func (*SaveAvatarNotFound) Encode

func (s *SaveAvatarNotFound) Encode(e *jx.Encoder)

Encode encodes SaveAvatarNotFound as json.

func (*SaveAvatarNotFound) MarshalJSON

func (s *SaveAvatarNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SaveAvatarNotFound) UnmarshalJSON

func (s *SaveAvatarNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SaveAvatarParams

type SaveAvatarParams struct {
	// The avatar's name, which is its identity in the project registry.
	Name string
}

SaveAvatarParams is parameters of saveAvatar operation.

type SaveAvatarRes

type SaveAvatarRes interface {
	// contains filtered or unexported methods
}

type SaveResult

type SaveResult struct {
	Validation Validation      `json:"validation"`
	Commit     OptCommitStatus `json:"commit"`
	Push       OptPushStatus   `json:"push"`
}

What a board save produced. `commit` and `push` are absent unless the save was one of the explicit actions that reaches git — routine saves do not commit (0029 note 49). Ref: #/components/schemas/SaveResult

func (*SaveResult) Decode

func (s *SaveResult) Decode(d *jx.Decoder) error

Decode decodes SaveResult from json.

func (*SaveResult) Encode

func (s *SaveResult) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SaveResult) GetCommit

func (s *SaveResult) GetCommit() OptCommitStatus

GetCommit returns the value of Commit.

func (*SaveResult) GetPush

func (s *SaveResult) GetPush() OptPushStatus

GetPush returns the value of Push.

func (*SaveResult) GetValidation

func (s *SaveResult) GetValidation() Validation

GetValidation returns the value of Validation.

func (*SaveResult) MarshalJSON

func (s *SaveResult) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SaveResult) SetCommit

func (s *SaveResult) SetCommit(val OptCommitStatus)

SetCommit sets the value of Commit.

func (*SaveResult) SetPush

func (s *SaveResult) SetPush(val OptPushStatus)

SetPush sets the value of Push.

func (*SaveResult) SetValidation

func (s *SaveResult) SetValidation(val Validation)

SetValidation sets the value of Validation.

func (*SaveResult) UnmarshalJSON

func (s *SaveResult) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SaveResult) Validate

func (s *SaveResult) Validate() error

type SaveThemeBadRequest

type SaveThemeBadRequest Error

func (*SaveThemeBadRequest) Decode

func (s *SaveThemeBadRequest) Decode(d *jx.Decoder) error

Decode decodes SaveThemeBadRequest from json.

func (*SaveThemeBadRequest) Encode

func (s *SaveThemeBadRequest) Encode(e *jx.Encoder)

Encode encodes SaveThemeBadRequest as json.

func (*SaveThemeBadRequest) MarshalJSON

func (s *SaveThemeBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SaveThemeBadRequest) UnmarshalJSON

func (s *SaveThemeBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SaveThemeParams

type SaveThemeParams struct {
	// The keyword that identifies the theme.
	Keyword string
}

SaveThemeParams is parameters of saveTheme operation.

type SaveThemeRes

type SaveThemeRes interface {
	// contains filtered or unexported methods
}

type SaveThemeServiceUnavailable

type SaveThemeServiceUnavailable Error

func (*SaveThemeServiceUnavailable) Decode

Decode decodes SaveThemeServiceUnavailable from json.

func (*SaveThemeServiceUnavailable) Encode

func (s *SaveThemeServiceUnavailable) Encode(e *jx.Encoder)

Encode encodes SaveThemeServiceUnavailable as json.

func (*SaveThemeServiceUnavailable) MarshalJSON

func (s *SaveThemeServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SaveThemeServiceUnavailable) UnmarshalJSON

func (s *SaveThemeServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ScreenCardsBadRequest

type ScreenCardsBadRequest Error

func (*ScreenCardsBadRequest) Decode

func (s *ScreenCardsBadRequest) Decode(d *jx.Decoder) error

Decode decodes ScreenCardsBadRequest from json.

func (*ScreenCardsBadRequest) Encode

func (s *ScreenCardsBadRequest) Encode(e *jx.Encoder)

Encode encodes ScreenCardsBadRequest as json.

func (*ScreenCardsBadRequest) MarshalJSON

func (s *ScreenCardsBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ScreenCardsBadRequest) UnmarshalJSON

func (s *ScreenCardsBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ScreenCardsConflict

type ScreenCardsConflict Error

func (*ScreenCardsConflict) Decode

func (s *ScreenCardsConflict) Decode(d *jx.Decoder) error

Decode decodes ScreenCardsConflict from json.

func (*ScreenCardsConflict) Encode

func (s *ScreenCardsConflict) Encode(e *jx.Encoder)

Encode encodes ScreenCardsConflict as json.

func (*ScreenCardsConflict) MarshalJSON

func (s *ScreenCardsConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ScreenCardsConflict) UnmarshalJSON

func (s *ScreenCardsConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ScreenCardsInternalServerError

type ScreenCardsInternalServerError Error

func (*ScreenCardsInternalServerError) Decode

Decode decodes ScreenCardsInternalServerError from json.

func (*ScreenCardsInternalServerError) Encode

Encode encodes ScreenCardsInternalServerError as json.

func (*ScreenCardsInternalServerError) MarshalJSON

func (s *ScreenCardsInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ScreenCardsInternalServerError) UnmarshalJSON

func (s *ScreenCardsInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ScreenCardsNotFound

type ScreenCardsNotFound Error

func (*ScreenCardsNotFound) Decode

func (s *ScreenCardsNotFound) Decode(d *jx.Decoder) error

Decode decodes ScreenCardsNotFound from json.

func (*ScreenCardsNotFound) Encode

func (s *ScreenCardsNotFound) Encode(e *jx.Encoder)

Encode encodes ScreenCardsNotFound as json.

func (*ScreenCardsNotFound) MarshalJSON

func (s *ScreenCardsNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ScreenCardsNotFound) UnmarshalJSON

func (s *ScreenCardsNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ScreenCardsOKApplicationJSON

type ScreenCardsOKApplicationJSON []CardScreen

func (*ScreenCardsOKApplicationJSON) Decode

Decode decodes ScreenCardsOKApplicationJSON from json.

func (ScreenCardsOKApplicationJSON) Encode

Encode encodes ScreenCardsOKApplicationJSON as json.

func (ScreenCardsOKApplicationJSON) MarshalJSON

func (s ScreenCardsOKApplicationJSON) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ScreenCardsOKApplicationJSON) UnmarshalJSON

func (s *ScreenCardsOKApplicationJSON) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ScreenCardsOKApplicationJSON) Validate

func (s ScreenCardsOKApplicationJSON) Validate() error

type ScreenCardsParams

type ScreenCardsParams struct {
	// The reel's slug.
	Slug string
}

ScreenCardsParams is parameters of screenCards operation.

type ScreenCardsRes

type ScreenCardsRes interface {
	// contains filtered or unexported methods
}

type ScreenCardsServiceUnavailable

type ScreenCardsServiceUnavailable Error

func (*ScreenCardsServiceUnavailable) Decode

Decode decodes ScreenCardsServiceUnavailable from json.

func (*ScreenCardsServiceUnavailable) Encode

Encode encodes ScreenCardsServiceUnavailable as json.

func (*ScreenCardsServiceUnavailable) MarshalJSON

func (s *ScreenCardsServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ScreenCardsServiceUnavailable) UnmarshalJSON

func (s *ScreenCardsServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ScreenCardsUnprocessableEntity

type ScreenCardsUnprocessableEntity Error

func (*ScreenCardsUnprocessableEntity) Decode

Decode decodes ScreenCardsUnprocessableEntity from json.

func (*ScreenCardsUnprocessableEntity) Encode

Encode encodes ScreenCardsUnprocessableEntity as json.

func (*ScreenCardsUnprocessableEntity) MarshalJSON

func (s *ScreenCardsUnprocessableEntity) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ScreenCardsUnprocessableEntity) UnmarshalJSON

func (s *ScreenCardsUnprocessableEntity) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Scrim

type Scrim struct {
	// Where the gradient starts, fully transparent, as a fraction of card height from the top. It ramps to
	// full opacity at the edge `direction` points to.
	From float64 `json:"from"`
	// The palette role the scrim fades to.
	Color string `json:"color"`
	// Maximum alpha; zero means the default.
	Opacity   OptFloat64        `json:"opacity"`
	Direction OptScrimDirection `json:"direction"`
}

The gradient drawn over an overlay illustration so text stays legible (spec 0050 D6). Legibility is the only thing a scrim is for, which is why the preview draws it from these values rather than approximating. Ref: #/components/schemas/Scrim

func (*Scrim) Decode

func (s *Scrim) Decode(d *jx.Decoder) error

Decode decodes Scrim from json.

func (*Scrim) Encode

func (s *Scrim) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Scrim) GetColor

func (s *Scrim) GetColor() string

GetColor returns the value of Color.

func (*Scrim) GetDirection

func (s *Scrim) GetDirection() OptScrimDirection

GetDirection returns the value of Direction.

func (*Scrim) GetFrom

func (s *Scrim) GetFrom() float64

GetFrom returns the value of From.

func (*Scrim) GetOpacity

func (s *Scrim) GetOpacity() OptFloat64

GetOpacity returns the value of Opacity.

func (*Scrim) MarshalJSON

func (s *Scrim) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Scrim) SetColor

func (s *Scrim) SetColor(val string)

SetColor sets the value of Color.

func (*Scrim) SetDirection

func (s *Scrim) SetDirection(val OptScrimDirection)

SetDirection sets the value of Direction.

func (*Scrim) SetFrom

func (s *Scrim) SetFrom(val float64)

SetFrom sets the value of From.

func (*Scrim) SetOpacity

func (s *Scrim) SetOpacity(val OptFloat64)

SetOpacity sets the value of Opacity.

func (*Scrim) UnmarshalJSON

func (s *Scrim) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Scrim) Validate

func (s *Scrim) Validate() error

type ScrimDirection

type ScrimDirection string
const (
	ScrimDirectionUp   ScrimDirection = "up"
	ScrimDirectionDown ScrimDirection = "down"
)

func (ScrimDirection) AllValues

func (ScrimDirection) AllValues() []ScrimDirection

AllValues returns all ScrimDirection values.

func (*ScrimDirection) Decode

func (s *ScrimDirection) Decode(d *jx.Decoder) error

Decode decodes ScrimDirection from json.

func (ScrimDirection) Encode

func (s ScrimDirection) Encode(e *jx.Encoder)

Encode encodes ScrimDirection as json.

func (ScrimDirection) MarshalJSON

func (s ScrimDirection) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ScrimDirection) MarshalText

func (s ScrimDirection) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ScrimDirection) UnmarshalJSON

func (s *ScrimDirection) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ScrimDirection) UnmarshalText

func (s *ScrimDirection) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ScrimDirection) Validate

func (s ScrimDirection) Validate() error

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.

func NewServer

func NewServer(h Handler, opts ...ServerOption) (*Server, error)

NewServer creates new Server.

func (*Server) FindPath

func (s *Server) FindPath(method string, u *url.URL) (r Route, _ bool)

FindPath finds Route for given method and URL.

func (*Server) FindRoute

func (s *Server) FindRoute(method, path string) (Route, bool)

FindRoute finds Route for given method and path.

Note: this method does not unescape path or handle reserved characters in path properly. Use FindPath instead.

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

ServeHTTP serves http request as defined by OpenAPI v3 specification, calling handler that matches the path or returning not found error.

type ServerOption

type ServerOption interface {
	// contains filtered or unexported methods
}

ServerOption is server config option.

func WithErrorHandler

func WithErrorHandler(h ErrorHandler) ServerOption

WithErrorHandler specifies error handler to use.

func WithMaxMultipartMemory

func WithMaxMultipartMemory(max int64) ServerOption

WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.

func WithMethodNotAllowed

func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption

WithMethodNotAllowed specifies Method Not Allowed handler to use.

func WithMiddleware

func WithMiddleware(m ...Middleware) ServerOption

WithMiddleware specifies middlewares to use.

func WithNotFound

func WithNotFound(notFound http.HandlerFunc) ServerOption

WithNotFound specifies Not Found handler to use.

func WithPathPrefix

func WithPathPrefix(prefix string) ServerOption

WithPathPrefix specifies server path prefix.

type SetBundleBadRequest

type SetBundleBadRequest Error

func (*SetBundleBadRequest) Decode

func (s *SetBundleBadRequest) Decode(d *jx.Decoder) error

Decode decodes SetBundleBadRequest from json.

func (*SetBundleBadRequest) Encode

func (s *SetBundleBadRequest) Encode(e *jx.Encoder)

Encode encodes SetBundleBadRequest as json.

func (*SetBundleBadRequest) MarshalJSON

func (s *SetBundleBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SetBundleBadRequest) UnmarshalJSON

func (s *SetBundleBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SetBundleConflict

type SetBundleConflict Error

func (*SetBundleConflict) Decode

func (s *SetBundleConflict) Decode(d *jx.Decoder) error

Decode decodes SetBundleConflict from json.

func (*SetBundleConflict) Encode

func (s *SetBundleConflict) Encode(e *jx.Encoder)

Encode encodes SetBundleConflict as json.

func (*SetBundleConflict) MarshalJSON

func (s *SetBundleConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SetBundleConflict) UnmarshalJSON

func (s *SetBundleConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SetBundleInternalServerError

type SetBundleInternalServerError Error

func (*SetBundleInternalServerError) Decode

Decode decodes SetBundleInternalServerError from json.

func (*SetBundleInternalServerError) Encode

func (s *SetBundleInternalServerError) Encode(e *jx.Encoder)

Encode encodes SetBundleInternalServerError as json.

func (*SetBundleInternalServerError) MarshalJSON

func (s *SetBundleInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SetBundleInternalServerError) UnmarshalJSON

func (s *SetBundleInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SetBundleNotFound

type SetBundleNotFound Error

func (*SetBundleNotFound) Decode

func (s *SetBundleNotFound) Decode(d *jx.Decoder) error

Decode decodes SetBundleNotFound from json.

func (*SetBundleNotFound) Encode

func (s *SetBundleNotFound) Encode(e *jx.Encoder)

Encode encodes SetBundleNotFound as json.

func (*SetBundleNotFound) MarshalJSON

func (s *SetBundleNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SetBundleNotFound) UnmarshalJSON

func (s *SetBundleNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SetBundleParams

type SetBundleParams struct {
	// The reel's slug.
	Slug string
}

SetBundleParams is parameters of setBundle operation.

type SetBundleRes

type SetBundleRes interface {
	// contains filtered or unexported methods
}

type SetLabelBadRequest

type SetLabelBadRequest Error

func (*SetLabelBadRequest) Decode

func (s *SetLabelBadRequest) Decode(d *jx.Decoder) error

Decode decodes SetLabelBadRequest from json.

func (*SetLabelBadRequest) Encode

func (s *SetLabelBadRequest) Encode(e *jx.Encoder)

Encode encodes SetLabelBadRequest as json.

func (*SetLabelBadRequest) MarshalJSON

func (s *SetLabelBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SetLabelBadRequest) UnmarshalJSON

func (s *SetLabelBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SetLabelConflict

type SetLabelConflict Error

func (*SetLabelConflict) Decode

func (s *SetLabelConflict) Decode(d *jx.Decoder) error

Decode decodes SetLabelConflict from json.

func (*SetLabelConflict) Encode

func (s *SetLabelConflict) Encode(e *jx.Encoder)

Encode encodes SetLabelConflict as json.

func (*SetLabelConflict) MarshalJSON

func (s *SetLabelConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SetLabelConflict) UnmarshalJSON

func (s *SetLabelConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SetLabelInternalServerError

type SetLabelInternalServerError Error

func (*SetLabelInternalServerError) Decode

Decode decodes SetLabelInternalServerError from json.

func (*SetLabelInternalServerError) Encode

func (s *SetLabelInternalServerError) Encode(e *jx.Encoder)

Encode encodes SetLabelInternalServerError as json.

func (*SetLabelInternalServerError) MarshalJSON

func (s *SetLabelInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SetLabelInternalServerError) UnmarshalJSON

func (s *SetLabelInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SetLabelNotFound

type SetLabelNotFound Error

func (*SetLabelNotFound) Decode

func (s *SetLabelNotFound) Decode(d *jx.Decoder) error

Decode decodes SetLabelNotFound from json.

func (*SetLabelNotFound) Encode

func (s *SetLabelNotFound) Encode(e *jx.Encoder)

Encode encodes SetLabelNotFound as json.

func (*SetLabelNotFound) MarshalJSON

func (s *SetLabelNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SetLabelNotFound) UnmarshalJSON

func (s *SetLabelNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SetLabelParams

type SetLabelParams struct {
	// The reel's slug.
	Slug string
}

SetLabelParams is parameters of setLabel operation.

type SetLabelRes

type SetLabelRes interface {
	// contains filtered or unexported methods
}

type Settings

type Settings map[string]jx.Raw

Allowlisted settings by dotted key (`providers.image.model`, `git.auto_push`). Values are strings, booleans or numbers depending on the key; the allowlist and each key's type live in code, not here. Ref: #/components/schemas/Settings

func (*Settings) Decode

func (s *Settings) Decode(d *jx.Decoder) error

Decode decodes Settings from json.

func (Settings) Encode

func (s Settings) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (Settings) MarshalJSON

func (s Settings) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Settings) UnmarshalJSON

func (s *Settings) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SlotSaved

type SlotSaved struct {
	// The slot file the take was promoted into. Picking does NOT commit — git is an explicit action in
	// this studio, never a side effect of choosing something.
	Saved string `json:"saved"`
}

Ref: #/components/schemas/SlotSaved

func (*SlotSaved) Decode

func (s *SlotSaved) Decode(d *jx.Decoder) error

Decode decodes SlotSaved from json.

func (*SlotSaved) Encode

func (s *SlotSaved) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SlotSaved) GetSaved

func (s *SlotSaved) GetSaved() string

GetSaved returns the value of Saved.

func (*SlotSaved) MarshalJSON

func (s *SlotSaved) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SlotSaved) SetSaved

func (s *SlotSaved) SetSaved(val string)

SetSaved sets the value of Saved.

func (*SlotSaved) UnmarshalJSON

func (s *SlotSaved) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SlugBundle

type SlugBundle struct {
	Slug   string `json:"slug"`
	Bundle string `json:"bundle"`
}

Ref: #/components/schemas/SlugBundle

func (*SlugBundle) Decode

func (s *SlugBundle) Decode(d *jx.Decoder) error

Decode decodes SlugBundle from json.

func (*SlugBundle) Encode

func (s *SlugBundle) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SlugBundle) GetBundle

func (s *SlugBundle) GetBundle() string

GetBundle returns the value of Bundle.

func (*SlugBundle) GetSlug

func (s *SlugBundle) GetSlug() string

GetSlug returns the value of Slug.

func (*SlugBundle) MarshalJSON

func (s *SlugBundle) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SlugBundle) SetBundle

func (s *SlugBundle) SetBundle(val string)

SetBundle sets the value of Bundle.

func (*SlugBundle) SetSlug

func (s *SlugBundle) SetSlug(val string)

SetSlug sets the value of Slug.

func (*SlugBundle) UnmarshalJSON

func (s *SlugBundle) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SlugLabel

type SlugLabel struct {
	Slug  string `json:"slug"`
	Label string `json:"label"`
}

Ref: #/components/schemas/SlugLabel

func (*SlugLabel) Decode

func (s *SlugLabel) Decode(d *jx.Decoder) error

Decode decodes SlugLabel from json.

func (*SlugLabel) Encode

func (s *SlugLabel) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SlugLabel) GetLabel

func (s *SlugLabel) GetLabel() string

GetLabel returns the value of Label.

func (*SlugLabel) GetSlug

func (s *SlugLabel) GetSlug() string

GetSlug returns the value of Slug.

func (*SlugLabel) MarshalJSON

func (s *SlugLabel) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SlugLabel) SetLabel

func (s *SlugLabel) SetLabel(val string)

SetLabel sets the value of Label.

func (*SlugLabel) SetSlug

func (s *SlugLabel) SetSlug(val string)

SetSlug sets the value of Slug.

func (*SlugLabel) UnmarshalJSON

func (s *SlugLabel) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SlugMove

type SlugMove struct {
	From string `json:"from"`
	To   string `json:"to"`
}

Ref: #/components/schemas/SlugMove

func (*SlugMove) Decode

func (s *SlugMove) Decode(d *jx.Decoder) error

Decode decodes SlugMove from json.

func (*SlugMove) Encode

func (s *SlugMove) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SlugMove) GetFrom

func (s *SlugMove) GetFrom() string

GetFrom returns the value of From.

func (*SlugMove) GetTo

func (s *SlugMove) GetTo() string

GetTo returns the value of To.

func (*SlugMove) MarshalJSON

func (s *SlugMove) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SlugMove) SetFrom

func (s *SlugMove) SetFrom(val string)

SetFrom sets the value of From.

func (*SlugMove) SetTo

func (s *SlugMove) SetTo(val string)

SetTo sets the value of To.

func (*SlugMove) UnmarshalJSON

func (s *SlugMove) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SlugTarget

type SlugTarget struct {
	// The new slug.
	To string `json:"to"`
}

Ref: #/components/schemas/SlugTarget

func (*SlugTarget) Decode

func (s *SlugTarget) Decode(d *jx.Decoder) error

Decode decodes SlugTarget from json.

func (*SlugTarget) Encode

func (s *SlugTarget) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SlugTarget) GetTo

func (s *SlugTarget) GetTo() string

GetTo returns the value of To.

func (*SlugTarget) MarshalJSON

func (s *SlugTarget) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SlugTarget) SetTo

func (s *SlugTarget) SetTo(val string)

SetTo sets the value of To.

func (*SlugTarget) UnmarshalJSON

func (s *SlugTarget) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Social

type Social struct {
	// A revision token for the whole record. Send it on a write and the write is refused if the record
	// changed since it was read.
	Rev string `json:"rev"`
	// Every supported platform, including ones with nothing written.
	Platforms SocialPlatforms `json:"platforms"`
}

Ref: #/components/schemas/Social

func (*Social) Decode

func (s *Social) Decode(d *jx.Decoder) error

Decode decodes Social from json.

func (*Social) Encode

func (s *Social) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Social) GetPlatforms

func (s *Social) GetPlatforms() SocialPlatforms

GetPlatforms returns the value of Platforms.

func (*Social) GetRev

func (s *Social) GetRev() string

GetRev returns the value of Rev.

func (*Social) MarshalJSON

func (s *Social) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Social) SetPlatforms

func (s *Social) SetPlatforms(val SocialPlatforms)

SetPlatforms sets the value of Platforms.

func (*Social) SetRev

func (s *Social) SetRev(val string)

SetRev sets the value of Rev.

func (*Social) UnmarshalJSON

func (s *Social) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Social) Validate

func (s *Social) Validate() error

type SocialApproval

type SocialApproval struct {
	Rev         OptString `json:"rev"`
	ScheduledAt OptString `json:"scheduled_at"`
}

Ref: #/components/schemas/SocialApproval

func (*SocialApproval) Decode

func (s *SocialApproval) Decode(d *jx.Decoder) error

Decode decodes SocialApproval from json.

func (*SocialApproval) Encode

func (s *SocialApproval) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SocialApproval) GetRev

func (s *SocialApproval) GetRev() OptString

GetRev returns the value of Rev.

func (*SocialApproval) GetScheduledAt

func (s *SocialApproval) GetScheduledAt() OptString

GetScheduledAt returns the value of ScheduledAt.

func (*SocialApproval) MarshalJSON

func (s *SocialApproval) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SocialApproval) SetRev

func (s *SocialApproval) SetRev(val OptString)

SetRev sets the value of Rev.

func (*SocialApproval) SetScheduledAt

func (s *SocialApproval) SetScheduledAt(val OptString)

SetScheduledAt sets the value of ScheduledAt.

func (*SocialApproval) UnmarshalJSON

func (s *SocialApproval) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SocialEdit

type SocialEdit struct {
	// The revision this edit was composed against.
	Rev         OptString `json:"rev"`
	Text        OptString `json:"text"`
	Title       OptString `json:"title"`
	Link        OptString `json:"link"`
	Hashtags    []string  `json:"hashtags"`
	ScheduledAt OptString `json:"scheduled_at"`
}

Ref: #/components/schemas/SocialEdit

func (*SocialEdit) Decode

func (s *SocialEdit) Decode(d *jx.Decoder) error

Decode decodes SocialEdit from json.

func (*SocialEdit) Encode

func (s *SocialEdit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SocialEdit) GetHashtags

func (s *SocialEdit) GetHashtags() []string

GetHashtags returns the value of Hashtags.

func (s *SocialEdit) GetLink() OptString

GetLink returns the value of Link.

func (*SocialEdit) GetRev

func (s *SocialEdit) GetRev() OptString

GetRev returns the value of Rev.

func (*SocialEdit) GetScheduledAt

func (s *SocialEdit) GetScheduledAt() OptString

GetScheduledAt returns the value of ScheduledAt.

func (*SocialEdit) GetText

func (s *SocialEdit) GetText() OptString

GetText returns the value of Text.

func (*SocialEdit) GetTitle

func (s *SocialEdit) GetTitle() OptString

GetTitle returns the value of Title.

func (*SocialEdit) MarshalJSON

func (s *SocialEdit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SocialEdit) SetHashtags

func (s *SocialEdit) SetHashtags(val []string)

SetHashtags sets the value of Hashtags.

func (s *SocialEdit) SetLink(val OptString)

SetLink sets the value of Link.

func (*SocialEdit) SetRev

func (s *SocialEdit) SetRev(val OptString)

SetRev sets the value of Rev.

func (*SocialEdit) SetScheduledAt

func (s *SocialEdit) SetScheduledAt(val OptString)

SetScheduledAt sets the value of ScheduledAt.

func (*SocialEdit) SetText

func (s *SocialEdit) SetText(val OptString)

SetText sets the value of Text.

func (*SocialEdit) SetTitle

func (s *SocialEdit) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*SocialEdit) UnmarshalJSON

func (s *SocialEdit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SocialEntry

type SocialEntry struct {
	Text     string            `json:"text"`
	Hashtags []string          `json:"hashtags"`
	Link     OptString         `json:"link"`
	Title    OptString         `json:"title"`
	Status   SocialEntryStatus `json:"status"`
	// RFC3339; what the scheduler consumes.
	ScheduledAt OptString `json:"scheduled_at"`
	// Set on success, and the idempotency record with post_url.
	PostedAt OptString `json:"posted_at"`
	PostURL  OptString `json:"post_url"`
	// Soft advice, resolved against configuration.
	Warnings []string `json:"warnings"`
	// Hard constraints. Non-empty means approval will be refused, which is why they are reported before
	// anyone tries.
	Violations []string `json:"violations"`
}

Ref: #/components/schemas/SocialEntry

func (*SocialEntry) Decode

func (s *SocialEntry) Decode(d *jx.Decoder) error

Decode decodes SocialEntry from json.

func (*SocialEntry) Encode

func (s *SocialEntry) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SocialEntry) GetHashtags

func (s *SocialEntry) GetHashtags() []string

GetHashtags returns the value of Hashtags.

func (s *SocialEntry) GetLink() OptString

GetLink returns the value of Link.

func (*SocialEntry) GetPostURL

func (s *SocialEntry) GetPostURL() OptString

GetPostURL returns the value of PostURL.

func (*SocialEntry) GetPostedAt

func (s *SocialEntry) GetPostedAt() OptString

GetPostedAt returns the value of PostedAt.

func (*SocialEntry) GetScheduledAt

func (s *SocialEntry) GetScheduledAt() OptString

GetScheduledAt returns the value of ScheduledAt.

func (*SocialEntry) GetStatus

func (s *SocialEntry) GetStatus() SocialEntryStatus

GetStatus returns the value of Status.

func (*SocialEntry) GetText

func (s *SocialEntry) GetText() string

GetText returns the value of Text.

func (*SocialEntry) GetTitle

func (s *SocialEntry) GetTitle() OptString

GetTitle returns the value of Title.

func (*SocialEntry) GetViolations

func (s *SocialEntry) GetViolations() []string

GetViolations returns the value of Violations.

func (*SocialEntry) GetWarnings

func (s *SocialEntry) GetWarnings() []string

GetWarnings returns the value of Warnings.

func (*SocialEntry) MarshalJSON

func (s *SocialEntry) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SocialEntry) SetHashtags

func (s *SocialEntry) SetHashtags(val []string)

SetHashtags sets the value of Hashtags.

func (s *SocialEntry) SetLink(val OptString)

SetLink sets the value of Link.

func (*SocialEntry) SetPostURL

func (s *SocialEntry) SetPostURL(val OptString)

SetPostURL sets the value of PostURL.

func (*SocialEntry) SetPostedAt

func (s *SocialEntry) SetPostedAt(val OptString)

SetPostedAt sets the value of PostedAt.

func (*SocialEntry) SetScheduledAt

func (s *SocialEntry) SetScheduledAt(val OptString)

SetScheduledAt sets the value of ScheduledAt.

func (*SocialEntry) SetStatus

func (s *SocialEntry) SetStatus(val SocialEntryStatus)

SetStatus sets the value of Status.

func (*SocialEntry) SetText

func (s *SocialEntry) SetText(val string)

SetText sets the value of Text.

func (*SocialEntry) SetTitle

func (s *SocialEntry) SetTitle(val OptString)

SetTitle sets the value of Title.

func (*SocialEntry) SetViolations

func (s *SocialEntry) SetViolations(val []string)

SetViolations sets the value of Violations.

func (*SocialEntry) SetWarnings

func (s *SocialEntry) SetWarnings(val []string)

SetWarnings sets the value of Warnings.

func (*SocialEntry) UnmarshalJSON

func (s *SocialEntry) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SocialEntry) Validate

func (s *SocialEntry) Validate() error

type SocialEntryStatus

type SocialEntryStatus string
const (
	SocialEntryStatusDraft    SocialEntryStatus = "draft"
	SocialEntryStatusApproved SocialEntryStatus = "approved"
	SocialEntryStatusPosted   SocialEntryStatus = "posted"
)

func (SocialEntryStatus) AllValues

func (SocialEntryStatus) AllValues() []SocialEntryStatus

AllValues returns all SocialEntryStatus values.

func (*SocialEntryStatus) Decode

func (s *SocialEntryStatus) Decode(d *jx.Decoder) error

Decode decodes SocialEntryStatus from json.

func (SocialEntryStatus) Encode

func (s SocialEntryStatus) Encode(e *jx.Encoder)

Encode encodes SocialEntryStatus as json.

func (SocialEntryStatus) MarshalJSON

func (s SocialEntryStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SocialEntryStatus) MarshalText

func (s SocialEntryStatus) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SocialEntryStatus) UnmarshalJSON

func (s *SocialEntryStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SocialEntryStatus) UnmarshalText

func (s *SocialEntryStatus) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SocialEntryStatus) Validate

func (s SocialEntryStatus) Validate() error

type SocialPlatforms

type SocialPlatforms map[string]SocialEntry

Every supported platform, including ones with nothing written.

func (*SocialPlatforms) Decode

func (s *SocialPlatforms) Decode(d *jx.Decoder) error

Decode decodes SocialPlatforms from json.

func (SocialPlatforms) Encode

func (s SocialPlatforms) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (SocialPlatforms) MarshalJSON

func (s SocialPlatforms) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SocialPlatforms) UnmarshalJSON

func (s *SocialPlatforms) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (SocialPlatforms) Validate

func (s SocialPlatforms) Validate() error

type SocialSet

type SocialSet struct {
	Social Social `json:"social"`
}

Ref: #/components/schemas/SocialSet

func (*SocialSet) Decode

func (s *SocialSet) Decode(d *jx.Decoder) error

Decode decodes SocialSet from json.

func (*SocialSet) Encode

func (s *SocialSet) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SocialSet) GetSocial

func (s *SocialSet) GetSocial() Social

GetSocial returns the value of Social.

func (*SocialSet) MarshalJSON

func (s *SocialSet) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SocialSet) SetSocial

func (s *SocialSet) SetSocial(val Social)

SetSocial sets the value of Social.

func (*SocialSet) UnmarshalJSON

func (s *SocialSet) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SocialSet) Validate

func (s *SocialSet) Validate() error

type SourceEdit

type SourceEdit struct {
	Source string `json:"source"`
}

Ref: #/components/schemas/SourceEdit

func (*SourceEdit) Decode

func (s *SourceEdit) Decode(d *jx.Decoder) error

Decode decodes SourceEdit from json.

func (*SourceEdit) Encode

func (s *SourceEdit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SourceEdit) GetSource

func (s *SourceEdit) GetSource() string

GetSource returns the value of Source.

func (*SourceEdit) MarshalJSON

func (s *SourceEdit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SourceEdit) SetSource

func (s *SourceEdit) SetSource(val string)

SetSource sets the value of Source.

func (*SourceEdit) UnmarshalJSON

func (s *SourceEdit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SpendConfirm

type SpendConfirm string
const (
	SpendConfirmTrue SpendConfirm = "true"
)

func (SpendConfirm) AllValues

func (SpendConfirm) AllValues() []SpendConfirm

AllValues returns all SpendConfirm values.

func (SpendConfirm) MarshalText

func (s SpendConfirm) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpendConfirm) UnmarshalText

func (s *SpendConfirm) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpendConfirm) Validate

func (s SpendConfirm) Validate() error

type SpendGate

type SpendGate struct {
	// Which cap was exceeded.
	Axis     SpendGateAxis `json:"axis"`
	Estimate Cost          `json:"estimate"`
	Message  string        `json:"message"`
}

The 412 body. Not a refusal — a pause. It carries what tripped and what was estimated so the client can show the cost before the caller confirms. Ref: #/components/schemas/SpendGate

func (*SpendGate) Decode

func (s *SpendGate) Decode(d *jx.Decoder) error

Decode decodes SpendGate from json.

func (*SpendGate) Encode

func (s *SpendGate) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpendGate) GetAxis

func (s *SpendGate) GetAxis() SpendGateAxis

GetAxis returns the value of Axis.

func (*SpendGate) GetEstimate

func (s *SpendGate) GetEstimate() Cost

GetEstimate returns the value of Estimate.

func (*SpendGate) GetMessage

func (s *SpendGate) GetMessage() string

GetMessage returns the value of Message.

func (*SpendGate) MarshalJSON

func (s *SpendGate) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpendGate) SetAxis

func (s *SpendGate) SetAxis(val SpendGateAxis)

SetAxis sets the value of Axis.

func (*SpendGate) SetEstimate

func (s *SpendGate) SetEstimate(val Cost)

SetEstimate sets the value of Estimate.

func (*SpendGate) SetMessage

func (s *SpendGate) SetMessage(val string)

SetMessage sets the value of Message.

func (*SpendGate) UnmarshalJSON

func (s *SpendGate) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpendGate) Validate

func (s *SpendGate) Validate() error

type SpendGateAxis

type SpendGateAxis string

Which cap was exceeded.

const (
	SpendGateAxisAmount     SpendGateAxis = "amount"
	SpendGateAxisCharacters SpendGateAxis = "characters"
)

func (SpendGateAxis) AllValues

func (SpendGateAxis) AllValues() []SpendGateAxis

AllValues returns all SpendGateAxis values.

func (*SpendGateAxis) Decode

func (s *SpendGateAxis) Decode(d *jx.Decoder) error

Decode decodes SpendGateAxis from json.

func (SpendGateAxis) Encode

func (s SpendGateAxis) Encode(e *jx.Encoder)

Encode encodes SpendGateAxis as json.

func (SpendGateAxis) MarshalJSON

func (s SpendGateAxis) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (SpendGateAxis) MarshalText

func (s SpendGateAxis) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*SpendGateAxis) UnmarshalJSON

func (s *SpendGateAxis) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpendGateAxis) UnmarshalText

func (s *SpendGateAxis) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (SpendGateAxis) Validate

func (s SpendGateAxis) Validate() error

type SpendSummary

type SpendSummary struct {
	Currency string      `json:"currency"`
	Total    float64     `json:"total"`
	ByUnit   []SpendUnit `json:"by_unit"`
	// How many charged operations are behind the total.
	Events int `json:"events"`
}

What this reel has actually cost, settled rather than estimated. It is the ledger's total, so it answers "what have I spent" rather than "what might this cost". Ref: #/components/schemas/SpendSummary

func (*SpendSummary) Decode

func (s *SpendSummary) Decode(d *jx.Decoder) error

Decode decodes SpendSummary from json.

func (*SpendSummary) Encode

func (s *SpendSummary) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpendSummary) GetByUnit

func (s *SpendSummary) GetByUnit() []SpendUnit

GetByUnit returns the value of ByUnit.

func (*SpendSummary) GetCurrency

func (s *SpendSummary) GetCurrency() string

GetCurrency returns the value of Currency.

func (*SpendSummary) GetEvents

func (s *SpendSummary) GetEvents() int

GetEvents returns the value of Events.

func (*SpendSummary) GetTotal

func (s *SpendSummary) GetTotal() float64

GetTotal returns the value of Total.

func (*SpendSummary) MarshalJSON

func (s *SpendSummary) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpendSummary) SetByUnit

func (s *SpendSummary) SetByUnit(val []SpendUnit)

SetByUnit sets the value of ByUnit.

func (*SpendSummary) SetCurrency

func (s *SpendSummary) SetCurrency(val string)

SetCurrency sets the value of Currency.

func (*SpendSummary) SetEvents

func (s *SpendSummary) SetEvents(val int)

SetEvents sets the value of Events.

func (*SpendSummary) SetTotal

func (s *SpendSummary) SetTotal(val float64)

SetTotal sets the value of Total.

func (*SpendSummary) UnmarshalJSON

func (s *SpendSummary) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpendSummary) Validate

func (s *SpendSummary) Validate() error

type SpendUnit

type SpendUnit struct {
	Unit   string  `json:"unit"`
	Amount float64 `json:"amount"`
	Count  int     `json:"count"`
}

Ref: #/components/schemas/SpendUnit

func (*SpendUnit) Decode

func (s *SpendUnit) Decode(d *jx.Decoder) error

Decode decodes SpendUnit from json.

func (*SpendUnit) Encode

func (s *SpendUnit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SpendUnit) GetAmount

func (s *SpendUnit) GetAmount() float64

GetAmount returns the value of Amount.

func (*SpendUnit) GetCount

func (s *SpendUnit) GetCount() int

GetCount returns the value of Count.

func (*SpendUnit) GetUnit

func (s *SpendUnit) GetUnit() string

GetUnit returns the value of Unit.

func (*SpendUnit) MarshalJSON

func (s *SpendUnit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SpendUnit) SetAmount

func (s *SpendUnit) SetAmount(val float64)

SetAmount sets the value of Amount.

func (*SpendUnit) SetCount

func (s *SpendUnit) SetCount(val int)

SetCount sets the value of Count.

func (*SpendUnit) SetUnit

func (s *SpendUnit) SetUnit(val string)

SetUnit sets the value of Unit.

func (*SpendUnit) UnmarshalJSON

func (s *SpendUnit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*SpendUnit) Validate

func (s *SpendUnit) Validate() error

type StartRenderBadRequest

type StartRenderBadRequest Error

func (*StartRenderBadRequest) Decode

func (s *StartRenderBadRequest) Decode(d *jx.Decoder) error

Decode decodes StartRenderBadRequest from json.

func (*StartRenderBadRequest) Encode

func (s *StartRenderBadRequest) Encode(e *jx.Encoder)

Encode encodes StartRenderBadRequest as json.

func (*StartRenderBadRequest) MarshalJSON

func (s *StartRenderBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartRenderBadRequest) UnmarshalJSON

func (s *StartRenderBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StartRenderConflict

type StartRenderConflict Error

func (*StartRenderConflict) Decode

func (s *StartRenderConflict) Decode(d *jx.Decoder) error

Decode decodes StartRenderConflict from json.

func (*StartRenderConflict) Encode

func (s *StartRenderConflict) Encode(e *jx.Encoder)

Encode encodes StartRenderConflict as json.

func (*StartRenderConflict) MarshalJSON

func (s *StartRenderConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartRenderConflict) UnmarshalJSON

func (s *StartRenderConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StartRenderInternalServerError

type StartRenderInternalServerError Error

func (*StartRenderInternalServerError) Decode

Decode decodes StartRenderInternalServerError from json.

func (*StartRenderInternalServerError) Encode

Encode encodes StartRenderInternalServerError as json.

func (*StartRenderInternalServerError) MarshalJSON

func (s *StartRenderInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartRenderInternalServerError) UnmarshalJSON

func (s *StartRenderInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StartRenderNotFound

type StartRenderNotFound Error

func (*StartRenderNotFound) Decode

func (s *StartRenderNotFound) Decode(d *jx.Decoder) error

Decode decodes StartRenderNotFound from json.

func (*StartRenderNotFound) Encode

func (s *StartRenderNotFound) Encode(e *jx.Encoder)

Encode encodes StartRenderNotFound as json.

func (*StartRenderNotFound) MarshalJSON

func (s *StartRenderNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartRenderNotFound) UnmarshalJSON

func (s *StartRenderNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StartRenderParams

type StartRenderParams struct {
	// The reel's slug.
	Slug string
}

StartRenderParams is parameters of startRender operation.

type StartRenderRes

type StartRenderRes interface {
	// contains filtered or unexported methods
}

type StartRenderServiceUnavailable

type StartRenderServiceUnavailable Error

func (*StartRenderServiceUnavailable) Decode

Decode decodes StartRenderServiceUnavailable from json.

func (*StartRenderServiceUnavailable) Encode

Encode encodes StartRenderServiceUnavailable as json.

func (*StartRenderServiceUnavailable) MarshalJSON

func (s *StartRenderServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StartRenderServiceUnavailable) UnmarshalJSON

func (s *StartRenderServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StopRenderNoContent

type StopRenderNoContent struct{}

StopRenderNoContent is response for StopRender operation.

type StopRenderParams

type StopRenderParams struct {
	// The reel's slug.
	Slug string
}

StopRenderParams is parameters of stopRender operation.

type StopRenderRes

type StopRenderRes interface {
	// contains filtered or unexported methods
}

type StorageCheck

type StorageCheck struct {
	Ok bool `json:"ok"`
	// Why, in both directions — this is populated on success too.
	Reason OptString `json:"reason"`
}

Ref: #/components/schemas/StorageCheck

func (*StorageCheck) Decode

func (s *StorageCheck) Decode(d *jx.Decoder) error

Decode decodes StorageCheck from json.

func (*StorageCheck) Encode

func (s *StorageCheck) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StorageCheck) GetOk

func (s *StorageCheck) GetOk() bool

GetOk returns the value of Ok.

func (*StorageCheck) GetReason

func (s *StorageCheck) GetReason() OptString

GetReason returns the value of Reason.

func (*StorageCheck) MarshalJSON

func (s *StorageCheck) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StorageCheck) SetOk

func (s *StorageCheck) SetOk(val bool)

SetOk sets the value of Ok.

func (*StorageCheck) SetReason

func (s *StorageCheck) SetReason(val OptString)

SetReason sets the value of Reason.

func (*StorageCheck) UnmarshalJSON

func (s *StorageCheck) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type StorageReclaim

type StorageReclaim struct {
	Ok bool `json:"ok"`
	// Why the store could not be read; absent when it could.
	Reason OptString   `json:"reason"`
	Report OptGCReport `json:"report"`
}

Ref: #/components/schemas/StorageReclaim

func (*StorageReclaim) Decode

func (s *StorageReclaim) Decode(d *jx.Decoder) error

Decode decodes StorageReclaim from json.

func (*StorageReclaim) Encode

func (s *StorageReclaim) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*StorageReclaim) GetOk

func (s *StorageReclaim) GetOk() bool

GetOk returns the value of Ok.

func (*StorageReclaim) GetReason

func (s *StorageReclaim) GetReason() OptString

GetReason returns the value of Reason.

func (*StorageReclaim) GetReport

func (s *StorageReclaim) GetReport() OptGCReport

GetReport returns the value of Report.

func (*StorageReclaim) MarshalJSON

func (s *StorageReclaim) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*StorageReclaim) SetOk

func (s *StorageReclaim) SetOk(val bool)

SetOk sets the value of Ok.

func (*StorageReclaim) SetReason

func (s *StorageReclaim) SetReason(val OptString)

SetReason sets the value of Reason.

func (*StorageReclaim) SetReport

func (s *StorageReclaim) SetReport(val OptGCReport)

SetReport sets the value of Report.

func (*StorageReclaim) UnmarshalJSON

func (s *StorageReclaim) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Storyboard

type Storyboard []Card

func (*Storyboard) Decode

func (s *Storyboard) Decode(d *jx.Decoder) error

Decode decodes Storyboard from json.

func (Storyboard) Encode

func (s Storyboard) Encode(e *jx.Encoder)

Encode encodes Storyboard as json.

func (Storyboard) MarshalJSON

func (s Storyboard) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Storyboard) UnmarshalJSON

func (s *Storyboard) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (Storyboard) Validate

func (s Storyboard) Validate() error

type SummariseSourceBadGateway

type SummariseSourceBadGateway Error

func (*SummariseSourceBadGateway) Decode

func (s *SummariseSourceBadGateway) Decode(d *jx.Decoder) error

Decode decodes SummariseSourceBadGateway from json.

func (*SummariseSourceBadGateway) Encode

func (s *SummariseSourceBadGateway) Encode(e *jx.Encoder)

Encode encodes SummariseSourceBadGateway as json.

func (*SummariseSourceBadGateway) MarshalJSON

func (s *SummariseSourceBadGateway) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SummariseSourceBadGateway) UnmarshalJSON

func (s *SummariseSourceBadGateway) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SummariseSourceBadRequest

type SummariseSourceBadRequest Error

func (*SummariseSourceBadRequest) Decode

func (s *SummariseSourceBadRequest) Decode(d *jx.Decoder) error

Decode decodes SummariseSourceBadRequest from json.

func (*SummariseSourceBadRequest) Encode

func (s *SummariseSourceBadRequest) Encode(e *jx.Encoder)

Encode encodes SummariseSourceBadRequest as json.

func (*SummariseSourceBadRequest) MarshalJSON

func (s *SummariseSourceBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SummariseSourceBadRequest) UnmarshalJSON

func (s *SummariseSourceBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SummariseSourceConflict

type SummariseSourceConflict Error

func (*SummariseSourceConflict) Decode

func (s *SummariseSourceConflict) Decode(d *jx.Decoder) error

Decode decodes SummariseSourceConflict from json.

func (*SummariseSourceConflict) Encode

func (s *SummariseSourceConflict) Encode(e *jx.Encoder)

Encode encodes SummariseSourceConflict as json.

func (*SummariseSourceConflict) MarshalJSON

func (s *SummariseSourceConflict) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SummariseSourceConflict) UnmarshalJSON

func (s *SummariseSourceConflict) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SummariseSourceInternalServerError

type SummariseSourceInternalServerError Error

func (*SummariseSourceInternalServerError) Decode

Decode decodes SummariseSourceInternalServerError from json.

func (*SummariseSourceInternalServerError) Encode

Encode encodes SummariseSourceInternalServerError as json.

func (*SummariseSourceInternalServerError) MarshalJSON

func (s *SummariseSourceInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SummariseSourceInternalServerError) UnmarshalJSON

func (s *SummariseSourceInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SummariseSourceNotFound

type SummariseSourceNotFound Error

func (*SummariseSourceNotFound) Decode

func (s *SummariseSourceNotFound) Decode(d *jx.Decoder) error

Decode decodes SummariseSourceNotFound from json.

func (*SummariseSourceNotFound) Encode

func (s *SummariseSourceNotFound) Encode(e *jx.Encoder)

Encode encodes SummariseSourceNotFound as json.

func (*SummariseSourceNotFound) MarshalJSON

func (s *SummariseSourceNotFound) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SummariseSourceNotFound) UnmarshalJSON

func (s *SummariseSourceNotFound) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SummariseSourceParams

type SummariseSourceParams struct {
	// The reel's slug.
	Slug string
}

SummariseSourceParams is parameters of summariseSource operation.

type SummariseSourceRes

type SummariseSourceRes interface {
	// contains filtered or unexported methods
}

type SummariseSourceServiceUnavailable

type SummariseSourceServiceUnavailable Error

func (*SummariseSourceServiceUnavailable) Decode

Decode decodes SummariseSourceServiceUnavailable from json.

func (*SummariseSourceServiceUnavailable) Encode

Encode encodes SummariseSourceServiceUnavailable as json.

func (*SummariseSourceServiceUnavailable) MarshalJSON

func (s *SummariseSourceServiceUnavailable) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SummariseSourceServiceUnavailable) UnmarshalJSON

func (s *SummariseSourceServiceUnavailable) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SummaryText

type SummaryText struct {
	Text string `json:"text"`
}

Ref: #/components/schemas/SummaryText

func (*SummaryText) Decode

func (s *SummaryText) Decode(d *jx.Decoder) error

Decode decodes SummaryText from json.

func (*SummaryText) Encode

func (s *SummaryText) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*SummaryText) GetText

func (s *SummaryText) GetText() string

GetText returns the value of Text.

func (*SummaryText) MarshalJSON

func (s *SummaryText) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SummaryText) SetText

func (s *SummaryText) SetText(val string)

SetText sets the value of Text.

func (*SummaryText) UnmarshalJSON

func (s *SummaryText) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SwitchProjectBadRequest

type SwitchProjectBadRequest Error

func (*SwitchProjectBadRequest) Decode

func (s *SwitchProjectBadRequest) Decode(d *jx.Decoder) error

Decode decodes SwitchProjectBadRequest from json.

func (*SwitchProjectBadRequest) Encode

func (s *SwitchProjectBadRequest) Encode(e *jx.Encoder)

Encode encodes SwitchProjectBadRequest as json.

func (*SwitchProjectBadRequest) MarshalJSON

func (s *SwitchProjectBadRequest) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SwitchProjectBadRequest) UnmarshalJSON

func (s *SwitchProjectBadRequest) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SwitchProjectInternalServerError

type SwitchProjectInternalServerError Error

func (*SwitchProjectInternalServerError) Decode

Decode decodes SwitchProjectInternalServerError from json.

func (*SwitchProjectInternalServerError) Encode

Encode encodes SwitchProjectInternalServerError as json.

func (*SwitchProjectInternalServerError) MarshalJSON

func (s *SwitchProjectInternalServerError) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*SwitchProjectInternalServerError) UnmarshalJSON

func (s *SwitchProjectInternalServerError) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type SwitchProjectRes

type SwitchProjectRes interface {
	// contains filtered or unexported methods
}

type Takes

type Takes struct {
	Takes []string `json:"takes"`
	// The subset of `takes` a person read rather than the voice provider synthesised (0030 R-GEN-52). VO
	// galleries only; absent elsewhere and absent when every take was generated. A human read is not
	// screened for stilt and is usually the canonical one, so a gallery that does not say which is which
	// is a gallery you have to audition to navigate.
	Recorded []string `json:"recorded"`
	// The take promoted into the slot, matched by CONTENT rather than by name. Absent when nothing is
	// promoted, or when the slot was filled outside the takes flow and so matches no candidate.
	Current OptString `json:"current"`
}

A pick gallery's contents. Filenames rather than URLs: the editor fetches each through the workspace file route, which is hand-written because it serves bytes with ranges and ETags (0053 Q4). Ref: #/components/schemas/Takes

func (*Takes) Decode

func (s *Takes) Decode(d *jx.Decoder) error

Decode decodes Takes from json.

func (*Takes) Encode

func (s *Takes) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Takes) GetCurrent

func (s *Takes) GetCurrent() OptString

GetCurrent returns the value of Current.

func (*Takes) GetRecorded

func (s *Takes) GetRecorded() []string

GetRecorded returns the value of Recorded.

func (*Takes) GetTakes

func (s *Takes) GetTakes() []string

GetTakes returns the value of Takes.

func (*Takes) MarshalJSON

func (s *Takes) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Takes) SetCurrent

func (s *Takes) SetCurrent(val OptString)

SetCurrent sets the value of Current.

func (*Takes) SetRecorded

func (s *Takes) SetRecorded(val []string)

SetRecorded sets the value of Recorded.

func (*Takes) SetTakes

func (s *Takes) SetTakes(val []string)

SetTakes sets the value of Takes.

func (*Takes) UnmarshalJSON

func (s *Takes) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Takes) Validate

func (s *Takes) Validate() error

type TextBlock

type TextBlock struct {
	Text  string            `json:"text"`
	Pos   OptAnchor         `json:"pos"`
	Align OptTextBlockAlign `json:"align"`
	Size  OptFloat64        `json:"size"`
	// Fraction of frame width the block may occupy.
	Width  OptFloat64 `json:"width"`
	Accent OptString  `json:"accent"`
	// The palette role this block draws in.
	Role OptString `json:"role"`
}

One positioned run of text on a card (spec 0038). Ref: #/components/schemas/TextBlock

func (*TextBlock) Decode

func (s *TextBlock) Decode(d *jx.Decoder) error

Decode decodes TextBlock from json.

func (*TextBlock) Encode

func (s *TextBlock) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TextBlock) GetAccent

func (s *TextBlock) GetAccent() OptString

GetAccent returns the value of Accent.

func (*TextBlock) GetAlign

func (s *TextBlock) GetAlign() OptTextBlockAlign

GetAlign returns the value of Align.

func (*TextBlock) GetPos

func (s *TextBlock) GetPos() OptAnchor

GetPos returns the value of Pos.

func (*TextBlock) GetRole

func (s *TextBlock) GetRole() OptString

GetRole returns the value of Role.

func (*TextBlock) GetSize

func (s *TextBlock) GetSize() OptFloat64

GetSize returns the value of Size.

func (*TextBlock) GetText

func (s *TextBlock) GetText() string

GetText returns the value of Text.

func (*TextBlock) GetWidth

func (s *TextBlock) GetWidth() OptFloat64

GetWidth returns the value of Width.

func (*TextBlock) MarshalJSON

func (s *TextBlock) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TextBlock) SetAccent

func (s *TextBlock) SetAccent(val OptString)

SetAccent sets the value of Accent.

func (*TextBlock) SetAlign

func (s *TextBlock) SetAlign(val OptTextBlockAlign)

SetAlign sets the value of Align.

func (*TextBlock) SetPos

func (s *TextBlock) SetPos(val OptAnchor)

SetPos sets the value of Pos.

func (*TextBlock) SetRole

func (s *TextBlock) SetRole(val OptString)

SetRole sets the value of Role.

func (*TextBlock) SetSize

func (s *TextBlock) SetSize(val OptFloat64)

SetSize sets the value of Size.

func (*TextBlock) SetText

func (s *TextBlock) SetText(val string)

SetText sets the value of Text.

func (*TextBlock) SetWidth

func (s *TextBlock) SetWidth(val OptFloat64)

SetWidth sets the value of Width.

func (*TextBlock) UnmarshalJSON

func (s *TextBlock) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TextBlock) Validate

func (s *TextBlock) Validate() error

type TextBlockAlign

type TextBlockAlign string
const (
	TextBlockAlignLeft   TextBlockAlign = "left"
	TextBlockAlignCentre TextBlockAlign = "centre"
	TextBlockAlignRight  TextBlockAlign = "right"
)

func (TextBlockAlign) AllValues

func (TextBlockAlign) AllValues() []TextBlockAlign

AllValues returns all TextBlockAlign values.

func (*TextBlockAlign) Decode

func (s *TextBlockAlign) Decode(d *jx.Decoder) error

Decode decodes TextBlockAlign from json.

func (TextBlockAlign) Encode

func (s TextBlockAlign) Encode(e *jx.Encoder)

Encode encodes TextBlockAlign as json.

func (TextBlockAlign) MarshalJSON

func (s TextBlockAlign) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (TextBlockAlign) MarshalText

func (s TextBlockAlign) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*TextBlockAlign) UnmarshalJSON

func (s *TextBlockAlign) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TextBlockAlign) UnmarshalText

func (s *TextBlockAlign) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (TextBlockAlign) Validate

func (s TextBlockAlign) Validate() error

type Theme

type Theme struct {
	Keyword OptString  `json:"keyword"`
	Palette OptPalette `json:"palette"`
	// The aesthetic itself — medium, treatment, mood. Not framing or aspect.
	Style OptString `json:"style"`
	// Per-target composition overrides, keyed by target.
	Formats OptThemeFormats `json:"formats"`
	// The pre-0047 name for `style`, still read because flattening the catalog's shape did not rewrite the
	// prose inside it. Falls back into style.
	Prompt OptString `json:"prompt"`
	// Pre-0047. Folded into formats.cover at load, so a non-default frame is honoured rather than silently
	// lost.
	Aspect OptString     `json:"aspect"`
	Card   OptThemeCard  `json:"card"`
	Music  OptThemeMusic `json:"music"`
	Voice  OptThemeVoice `json:"voice"`
}

An aesthetic, identified by a keyword. It has NO type (spec 0047): a style filed for an article works perfectly well on a card, and format comes from what is being generated rather than from the theme. Ref: #/components/schemas/Theme

func (*Theme) Decode

func (s *Theme) Decode(d *jx.Decoder) error

Decode decodes Theme from json.

func (*Theme) Encode

func (s *Theme) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Theme) GetAspect

func (s *Theme) GetAspect() OptString

GetAspect returns the value of Aspect.

func (*Theme) GetCard

func (s *Theme) GetCard() OptThemeCard

GetCard returns the value of Card.

func (*Theme) GetFormats

func (s *Theme) GetFormats() OptThemeFormats

GetFormats returns the value of Formats.

func (*Theme) GetKeyword

func (s *Theme) GetKeyword() OptString

GetKeyword returns the value of Keyword.

func (*Theme) GetMusic

func (s *Theme) GetMusic() OptThemeMusic

GetMusic returns the value of Music.

func (*Theme) GetPalette

func (s *Theme) GetPalette() OptPalette

GetPalette returns the value of Palette.

func (*Theme) GetPrompt

func (s *Theme) GetPrompt() OptString

GetPrompt returns the value of Prompt.

func (*Theme) GetStyle

func (s *Theme) GetStyle() OptString

GetStyle returns the value of Style.

func (*Theme) GetVoice

func (s *Theme) GetVoice() OptThemeVoice

GetVoice returns the value of Voice.

func (*Theme) MarshalJSON

func (s *Theme) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Theme) SetAspect

func (s *Theme) SetAspect(val OptString)

SetAspect sets the value of Aspect.

func (*Theme) SetCard

func (s *Theme) SetCard(val OptThemeCard)

SetCard sets the value of Card.

func (*Theme) SetFormats

func (s *Theme) SetFormats(val OptThemeFormats)

SetFormats sets the value of Formats.

func (*Theme) SetKeyword

func (s *Theme) SetKeyword(val OptString)

SetKeyword sets the value of Keyword.

func (*Theme) SetMusic

func (s *Theme) SetMusic(val OptThemeMusic)

SetMusic sets the value of Music.

func (*Theme) SetPalette

func (s *Theme) SetPalette(val OptPalette)

SetPalette sets the value of Palette.

func (*Theme) SetPrompt

func (s *Theme) SetPrompt(val OptString)

SetPrompt sets the value of Prompt.

func (*Theme) SetStyle

func (s *Theme) SetStyle(val OptString)

SetStyle sets the value of Style.

func (*Theme) SetVoice

func (s *Theme) SetVoice(val OptThemeVoice)

SetVoice sets the value of Voice.

func (*Theme) UnmarshalJSON

func (s *Theme) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Theme) Validate

func (s *Theme) Validate() error

type ThemeCard

type ThemeCard struct {
	// Full-bleed illustration with a scrim, or a line over solid colour.
	Mode     OptThemeCardMode `json:"mode"`
	Scrim    OptScrim         `json:"scrim"`
	Lead     OptFloat64       `json:"lead"`
	Tail     OptFloat64       `json:"tail"`
	FontBold OptString        `json:"font_bold"`
	FontMono OptString        `json:"font_mono"`
	Style    OptString        `json:"style"`
	Sequence OptBool          `json:"sequence"`
}

What a reel's cards inherit. Absent is valid — a theme without it is still usable for a reel (0047 D4), and reading it unguarded is what crashed the renderer before v0.16.0. Ref: #/components/schemas/ThemeCard

func (*ThemeCard) Decode

func (s *ThemeCard) Decode(d *jx.Decoder) error

Decode decodes ThemeCard from json.

func (*ThemeCard) Encode

func (s *ThemeCard) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ThemeCard) GetFontBold

func (s *ThemeCard) GetFontBold() OptString

GetFontBold returns the value of FontBold.

func (*ThemeCard) GetFontMono

func (s *ThemeCard) GetFontMono() OptString

GetFontMono returns the value of FontMono.

func (*ThemeCard) GetLead

func (s *ThemeCard) GetLead() OptFloat64

GetLead returns the value of Lead.

func (*ThemeCard) GetMode

func (s *ThemeCard) GetMode() OptThemeCardMode

GetMode returns the value of Mode.

func (*ThemeCard) GetScrim

func (s *ThemeCard) GetScrim() OptScrim

GetScrim returns the value of Scrim.

func (*ThemeCard) GetSequence

func (s *ThemeCard) GetSequence() OptBool

GetSequence returns the value of Sequence.

func (*ThemeCard) GetStyle

func (s *ThemeCard) GetStyle() OptString

GetStyle returns the value of Style.

func (*ThemeCard) GetTail

func (s *ThemeCard) GetTail() OptFloat64

GetTail returns the value of Tail.

func (*ThemeCard) MarshalJSON

func (s *ThemeCard) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemeCard) SetFontBold

func (s *ThemeCard) SetFontBold(val OptString)

SetFontBold sets the value of FontBold.

func (*ThemeCard) SetFontMono

func (s *ThemeCard) SetFontMono(val OptString)

SetFontMono sets the value of FontMono.

func (*ThemeCard) SetLead

func (s *ThemeCard) SetLead(val OptFloat64)

SetLead sets the value of Lead.

func (*ThemeCard) SetMode

func (s *ThemeCard) SetMode(val OptThemeCardMode)

SetMode sets the value of Mode.

func (*ThemeCard) SetScrim

func (s *ThemeCard) SetScrim(val OptScrim)

SetScrim sets the value of Scrim.

func (*ThemeCard) SetSequence

func (s *ThemeCard) SetSequence(val OptBool)

SetSequence sets the value of Sequence.

func (*ThemeCard) SetStyle

func (s *ThemeCard) SetStyle(val OptString)

SetStyle sets the value of Style.

func (*ThemeCard) SetTail

func (s *ThemeCard) SetTail(val OptFloat64)

SetTail sets the value of Tail.

func (*ThemeCard) UnmarshalJSON

func (s *ThemeCard) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ThemeCard) Validate

func (s *ThemeCard) Validate() error

type ThemeCardMode

type ThemeCardMode string

Full-bleed illustration with a scrim, or a line over solid colour.

const (
	ThemeCardModeOverlay ThemeCardMode = "overlay"
	ThemeCardModeBlock   ThemeCardMode = "block"
)

func (ThemeCardMode) AllValues

func (ThemeCardMode) AllValues() []ThemeCardMode

AllValues returns all ThemeCardMode values.

func (*ThemeCardMode) Decode

func (s *ThemeCardMode) Decode(d *jx.Decoder) error

Decode decodes ThemeCardMode from json.

func (ThemeCardMode) Encode

func (s ThemeCardMode) Encode(e *jx.Encoder)

Encode encodes ThemeCardMode as json.

func (ThemeCardMode) MarshalJSON

func (s ThemeCardMode) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ThemeCardMode) MarshalText

func (s ThemeCardMode) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ThemeCardMode) UnmarshalJSON

func (s *ThemeCardMode) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ThemeCardMode) UnmarshalText

func (s *ThemeCardMode) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ThemeCardMode) Validate

func (s ThemeCardMode) Validate() error

type ThemeCatalog

type ThemeCatalog struct {
	Themes  []Theme `json:"themes"`
	Default string  `json:"default"`
	// Keyword to the scope it resolves in.
	Scopes ThemeCatalogScopes `json:"scopes"`
}

Ref: #/components/schemas/ThemeCatalog

func (*ThemeCatalog) Decode

func (s *ThemeCatalog) Decode(d *jx.Decoder) error

Decode decodes ThemeCatalog from json.

func (*ThemeCatalog) Encode

func (s *ThemeCatalog) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ThemeCatalog) GetDefault

func (s *ThemeCatalog) GetDefault() string

GetDefault returns the value of Default.

func (*ThemeCatalog) GetScopes

func (s *ThemeCatalog) GetScopes() ThemeCatalogScopes

GetScopes returns the value of Scopes.

func (*ThemeCatalog) GetThemes

func (s *ThemeCatalog) GetThemes() []Theme

GetThemes returns the value of Themes.

func (*ThemeCatalog) MarshalJSON

func (s *ThemeCatalog) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemeCatalog) SetDefault

func (s *ThemeCatalog) SetDefault(val string)

SetDefault sets the value of Default.

func (*ThemeCatalog) SetScopes

func (s *ThemeCatalog) SetScopes(val ThemeCatalogScopes)

SetScopes sets the value of Scopes.

func (*ThemeCatalog) SetThemes

func (s *ThemeCatalog) SetThemes(val []Theme)

SetThemes sets the value of Themes.

func (*ThemeCatalog) UnmarshalJSON

func (s *ThemeCatalog) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ThemeCatalog) Validate

func (s *ThemeCatalog) Validate() error

type ThemeCatalogScopes

type ThemeCatalogScopes map[string]ThemeCatalogScopesItem

Keyword to the scope it resolves in.

func (*ThemeCatalogScopes) Decode

func (s *ThemeCatalogScopes) Decode(d *jx.Decoder) error

Decode decodes ThemeCatalogScopes from json.

func (ThemeCatalogScopes) Encode

func (s ThemeCatalogScopes) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ThemeCatalogScopes) MarshalJSON

func (s ThemeCatalogScopes) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemeCatalogScopes) UnmarshalJSON

func (s *ThemeCatalogScopes) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (ThemeCatalogScopes) Validate

func (s ThemeCatalogScopes) Validate() error

type ThemeCatalogScopesItem

type ThemeCatalogScopesItem string
const (
	ThemeCatalogScopesItemProject ThemeCatalogScopesItem = "project"
	ThemeCatalogScopesItemUser    ThemeCatalogScopesItem = "user"
)

func (ThemeCatalogScopesItem) AllValues

AllValues returns all ThemeCatalogScopesItem values.

func (*ThemeCatalogScopesItem) Decode

func (s *ThemeCatalogScopesItem) Decode(d *jx.Decoder) error

Decode decodes ThemeCatalogScopesItem from json.

func (ThemeCatalogScopesItem) Encode

func (s ThemeCatalogScopesItem) Encode(e *jx.Encoder)

Encode encodes ThemeCatalogScopesItem as json.

func (ThemeCatalogScopesItem) MarshalJSON

func (s ThemeCatalogScopesItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ThemeCatalogScopesItem) MarshalText

func (s ThemeCatalogScopesItem) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ThemeCatalogScopesItem) UnmarshalJSON

func (s *ThemeCatalogScopesItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ThemeCatalogScopesItem) UnmarshalText

func (s *ThemeCatalogScopesItem) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ThemeCatalogScopesItem) Validate

func (s ThemeCatalogScopesItem) Validate() error

type ThemeEdit

type ThemeEdit struct {
	Theme string `json:"theme"`
}

Ref: #/components/schemas/ThemeEdit

func (*ThemeEdit) Decode

func (s *ThemeEdit) Decode(d *jx.Decoder) error

Decode decodes ThemeEdit from json.

func (*ThemeEdit) Encode

func (s *ThemeEdit) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ThemeEdit) GetTheme

func (s *ThemeEdit) GetTheme() string

GetTheme returns the value of Theme.

func (*ThemeEdit) MarshalJSON

func (s *ThemeEdit) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemeEdit) SetTheme

func (s *ThemeEdit) SetTheme(val string)

SetTheme sets the value of Theme.

func (*ThemeEdit) UnmarshalJSON

func (s *ThemeEdit) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ThemeFormats

type ThemeFormats map[string]ThemeFormatsItem

Per-target composition overrides, keyed by target.

func (*ThemeFormats) Decode

func (s *ThemeFormats) Decode(d *jx.Decoder) error

Decode decodes ThemeFormats from json.

func (ThemeFormats) Encode

func (s ThemeFormats) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ThemeFormats) MarshalJSON

func (s ThemeFormats) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemeFormats) UnmarshalJSON

func (s *ThemeFormats) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ThemeFormatsItem

type ThemeFormatsItem map[string]jx.Raw

func (*ThemeFormatsItem) Decode

func (s *ThemeFormatsItem) Decode(d *jx.Decoder) error

Decode decodes ThemeFormatsItem from json.

func (ThemeFormatsItem) Encode

func (s ThemeFormatsItem) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ThemeFormatsItem) MarshalJSON

func (s ThemeFormatsItem) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemeFormatsItem) UnmarshalJSON

func (s *ThemeFormatsItem) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ThemeMusic

type ThemeMusic map[string]jx.Raw

func (*ThemeMusic) Decode

func (s *ThemeMusic) Decode(d *jx.Decoder) error

Decode decodes ThemeMusic from json.

func (ThemeMusic) Encode

func (s ThemeMusic) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ThemeMusic) MarshalJSON

func (s ThemeMusic) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemeMusic) UnmarshalJSON

func (s *ThemeMusic) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type ThemePicker

type ThemePicker struct {
	Themes []ThemeView `json:"themes"`
	// The keyword used when a reel names no theme.
	Default string `json:"default"`
}

Ref: #/components/schemas/ThemePicker

func (*ThemePicker) Decode

func (s *ThemePicker) Decode(d *jx.Decoder) error

Decode decodes ThemePicker from json.

func (*ThemePicker) Encode

func (s *ThemePicker) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ThemePicker) GetDefault

func (s *ThemePicker) GetDefault() string

GetDefault returns the value of Default.

func (*ThemePicker) GetThemes

func (s *ThemePicker) GetThemes() []ThemeView

GetThemes returns the value of Themes.

func (*ThemePicker) MarshalJSON

func (s *ThemePicker) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemePicker) SetDefault

func (s *ThemePicker) SetDefault(val string)

SetDefault sets the value of Default.

func (*ThemePicker) SetThemes

func (s *ThemePicker) SetThemes(val []ThemeView)

SetThemes sets the value of Themes.

func (*ThemePicker) UnmarshalJSON

func (s *ThemePicker) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ThemePicker) Validate

func (s *ThemePicker) Validate() error

type ThemePromotion

type ThemePromotion struct {
	Keyword string `json:"keyword"`
	// Where the theme now lives; promotion only ever moves one way.
	Scope ThemePromotionScope `json:"scope"`
}

Ref: #/components/schemas/ThemePromotion

func (*ThemePromotion) Decode

func (s *ThemePromotion) Decode(d *jx.Decoder) error

Decode decodes ThemePromotion from json.

func (*ThemePromotion) Encode

func (s *ThemePromotion) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ThemePromotion) GetKeyword

func (s *ThemePromotion) GetKeyword() string

GetKeyword returns the value of Keyword.

func (*ThemePromotion) GetScope

func (s *ThemePromotion) GetScope() ThemePromotionScope

GetScope returns the value of Scope.

func (*ThemePromotion) MarshalJSON

func (s *ThemePromotion) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemePromotion) SetKeyword

func (s *ThemePromotion) SetKeyword(val string)

SetKeyword sets the value of Keyword.

func (*ThemePromotion) SetScope

func (s *ThemePromotion) SetScope(val ThemePromotionScope)

SetScope sets the value of Scope.

func (*ThemePromotion) UnmarshalJSON

func (s *ThemePromotion) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ThemePromotion) Validate

func (s *ThemePromotion) Validate() error

type ThemePromotionScope

type ThemePromotionScope string

Where the theme now lives; promotion only ever moves one way.

const (
	ThemePromotionScopeUser ThemePromotionScope = "user"
)

func (ThemePromotionScope) AllValues

AllValues returns all ThemePromotionScope values.

func (*ThemePromotionScope) Decode

func (s *ThemePromotionScope) Decode(d *jx.Decoder) error

Decode decodes ThemePromotionScope from json.

func (ThemePromotionScope) Encode

func (s ThemePromotionScope) Encode(e *jx.Encoder)

Encode encodes ThemePromotionScope as json.

func (ThemePromotionScope) MarshalJSON

func (s ThemePromotionScope) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (ThemePromotionScope) MarshalText

func (s ThemePromotionScope) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*ThemePromotionScope) UnmarshalJSON

func (s *ThemePromotionScope) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ThemePromotionScope) UnmarshalText

func (s *ThemePromotionScope) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (ThemePromotionScope) Validate

func (s ThemePromotionScope) Validate() error

type ThemeView

type ThemeView struct {
	Keyword  string     `json:"keyword"`
	Palette  OptPalette `json:"palette"`
	FontBold OptString  `json:"font_bold"`
	FontMono OptString  `json:"font_mono"`
	Scrim    OptScrim   `json:"scrim"`
	// Seconds of silence before the narration.
	Lead OptFloat64 `json:"lead"`
	// Seconds of silence after it.
	Tail OptFloat64 `json:"tail"`
}

The picker's reduced view of a theme. It carries what the PREVIEW needs to draw text where the render will — the same fonts, palette and scrim — because a preview that measures a different typeface can fit a block that the card then overflows (spec 0038 D10). Ref: #/components/schemas/ThemeView

func (*ThemeView) Decode

func (s *ThemeView) Decode(d *jx.Decoder) error

Decode decodes ThemeView from json.

func (*ThemeView) Encode

func (s *ThemeView) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*ThemeView) GetFontBold

func (s *ThemeView) GetFontBold() OptString

GetFontBold returns the value of FontBold.

func (*ThemeView) GetFontMono

func (s *ThemeView) GetFontMono() OptString

GetFontMono returns the value of FontMono.

func (*ThemeView) GetKeyword

func (s *ThemeView) GetKeyword() string

GetKeyword returns the value of Keyword.

func (*ThemeView) GetLead

func (s *ThemeView) GetLead() OptFloat64

GetLead returns the value of Lead.

func (*ThemeView) GetPalette

func (s *ThemeView) GetPalette() OptPalette

GetPalette returns the value of Palette.

func (*ThemeView) GetScrim

func (s *ThemeView) GetScrim() OptScrim

GetScrim returns the value of Scrim.

func (*ThemeView) GetTail

func (s *ThemeView) GetTail() OptFloat64

GetTail returns the value of Tail.

func (*ThemeView) MarshalJSON

func (s *ThemeView) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemeView) SetFontBold

func (s *ThemeView) SetFontBold(val OptString)

SetFontBold sets the value of FontBold.

func (*ThemeView) SetFontMono

func (s *ThemeView) SetFontMono(val OptString)

SetFontMono sets the value of FontMono.

func (*ThemeView) SetKeyword

func (s *ThemeView) SetKeyword(val string)

SetKeyword sets the value of Keyword.

func (*ThemeView) SetLead

func (s *ThemeView) SetLead(val OptFloat64)

SetLead sets the value of Lead.

func (*ThemeView) SetPalette

func (s *ThemeView) SetPalette(val OptPalette)

SetPalette sets the value of Palette.

func (*ThemeView) SetScrim

func (s *ThemeView) SetScrim(val OptScrim)

SetScrim sets the value of Scrim.

func (*ThemeView) SetTail

func (s *ThemeView) SetTail(val OptFloat64)

SetTail sets the value of Tail.

func (*ThemeView) UnmarshalJSON

func (s *ThemeView) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*ThemeView) Validate

func (s *ThemeView) Validate() error

type ThemeVoice

type ThemeVoice map[string]jx.Raw

func (*ThemeVoice) Decode

func (s *ThemeVoice) Decode(d *jx.Decoder) error

Decode decodes ThemeVoice from json.

func (ThemeVoice) Encode

func (s ThemeVoice) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (ThemeVoice) MarshalJSON

func (s ThemeVoice) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*ThemeVoice) UnmarshalJSON

func (s *ThemeVoice) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

type Timeline

type Timeline struct {
	VoDriven bool `json:"vo_driven"`
	// Seconds.
	Total float64        `json:"total"`
	Cards []TimelineCard `json:"cards"`
}

What the reel will look like in TIME, computed before any render. Card durations come from their narration when there is any, which is what `vo_driven` reports — a board whose timing is driven by reads behaves very differently from one falling back to `dur`. Ref: #/components/schemas/Timeline

func (*Timeline) Decode

func (s *Timeline) Decode(d *jx.Decoder) error

Decode decodes Timeline from json.

func (*Timeline) Encode

func (s *Timeline) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Timeline) GetCards

func (s *Timeline) GetCards() []TimelineCard

GetCards returns the value of Cards.

func (*Timeline) GetTotal

func (s *Timeline) GetTotal() float64

GetTotal returns the value of Total.

func (*Timeline) GetVoDriven

func (s *Timeline) GetVoDriven() bool

GetVoDriven returns the value of VoDriven.

func (*Timeline) MarshalJSON

func (s *Timeline) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Timeline) SetCards

func (s *Timeline) SetCards(val []TimelineCard)

SetCards sets the value of Cards.

func (*Timeline) SetTotal

func (s *Timeline) SetTotal(val float64)

SetTotal sets the value of Total.

func (*Timeline) SetVoDriven

func (s *Timeline) SetVoDriven(val bool)

SetVoDriven sets the value of VoDriven.

func (*Timeline) UnmarshalJSON

func (s *Timeline) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Timeline) Validate

func (s *Timeline) Validate() error

type TimelineCard

type TimelineCard struct {
	Index int     `json:"index"`
	Dur   float64 `json:"dur"`
	Start float64 `json:"start"`
	// What sized this card — its narration, or the storyboard's dur.
	Source string `json:"source"`
}

Ref: #/components/schemas/TimelineCard

func (*TimelineCard) Decode

func (s *TimelineCard) Decode(d *jx.Decoder) error

Decode decodes TimelineCard from json.

func (*TimelineCard) Encode

func (s *TimelineCard) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*TimelineCard) GetDur

func (s *TimelineCard) GetDur() float64

GetDur returns the value of Dur.

func (*TimelineCard) GetIndex

func (s *TimelineCard) GetIndex() int

GetIndex returns the value of Index.

func (*TimelineCard) GetSource

func (s *TimelineCard) GetSource() string

GetSource returns the value of Source.

func (*TimelineCard) GetStart

func (s *TimelineCard) GetStart() float64

GetStart returns the value of Start.

func (*TimelineCard) MarshalJSON

func (s *TimelineCard) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*TimelineCard) SetDur

func (s *TimelineCard) SetDur(val float64)

SetDur sets the value of Dur.

func (*TimelineCard) SetIndex

func (s *TimelineCard) SetIndex(val int)

SetIndex sets the value of Index.

func (*TimelineCard) SetSource

func (s *TimelineCard) SetSource(val string)

SetSource sets the value of Source.

func (*TimelineCard) SetStart

func (s *TimelineCard) SetStart(val float64)

SetStart sets the value of Start.

func (*TimelineCard) UnmarshalJSON

func (s *TimelineCard) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*TimelineCard) Validate

func (s *TimelineCard) Validate() error

type UnimplementedHandler

type UnimplementedHandler struct{}

UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.

func (UnimplementedHandler) AddProject

func (UnimplementedHandler) AddProject(ctx context.Context, req *AddProject) (r AddProjectRes, _ error)

AddProject implements addProject operation.

Either `path` (a directory that already exists) or `remote` (cloned into the studio's cache). A remote project can be held in memory rather than on disk, which bounds what a clone costs.

POST /projects

func (UnimplementedHandler) ApproveSocial

ApproveSocial implements approveSocial operation.

Refused while the copy breaks a hard platform constraint. Approval is the human gate in front of publishing, so it will not pass something the platform would reject.

POST /workspace/{slug}/social/{platform}/approve

func (UnimplementedHandler) CheckConnections

func (UnimplementedHandler) CheckConnections(ctx context.Context) (r CheckConnectionsRes, _ error)

CheckConnections implements checkConnections operation.

A dry-run refresh against every enabled platform that has a refresher. Some platforms rotate a refresh token on every use, so this is a probe rather than something to call idly. A platform alerting does not fail the request: its verdict is in its own entry, and the whole list is returned.

POST /connections/check

func (UnimplementedHandler) CommitReel

CommitReel implements commitReel operation.

The explicit git action. Routine saves do not commit, so this is the only place the studio writes history on purpose. Media syncs first, and a media failure never blocks the commit — it is reported on the response.

POST /workspace/{slug}/commit

func (UnimplementedHandler) CreateAvatar

func (UnimplementedHandler) CreateAvatar(ctx context.Context, req *Avatar) (r CreateAvatarRes, _ error)

CreateAvatar implements createAvatar operation.

Add an avatar to the project.

POST /avatars

func (UnimplementedHandler) CreateReel

func (UnimplementedHandler) CreateReel(ctx context.Context, req *NewReel) (r CreateReelRes, _ error)

CreateReel implements createReel operation.

Create a reel.

POST /reels

func (UnimplementedHandler) CreateTheme

func (UnimplementedHandler) CreateTheme(ctx context.Context, req *Theme) (r CreateThemeRes, _ error)

CreateTheme implements createTheme operation.

The body carries the keyword. PUT /themes/{keyword} is the same operation with the path carrying it instead.

POST /themes

func (UnimplementedHandler) DuplicateReel

DuplicateReel implements duplicateReel operation.

A whole-workspace copy, which is how a reel becomes the starting point for the next one rather than a template nobody maintains.

POST /reels/{slug}/duplicate

func (UnimplementedHandler) ForgetProject

func (UnimplementedHandler) ForgetProject(ctx context.Context, req *ProjectPath) (r ForgetProjectRes, _ error)

ForgetProject implements forgetProject operation.

Forgetting is a registry operation and nothing else — the project's own files are untouched, because keryx does not own them.

POST /projects/forget

func (UnimplementedHandler) GenSocial

func (UnimplementedHandler) GenSocial(ctx context.Context, params GenSocialParams) (r GenSocialRes, _ error)

GenSocial implements genSocial operation.

Asynchronous and PAID. It returns a job immediately and the work outlives the request, because a browser navigating away must not abandon generation that is already being charged for.

POST /workspace/{slug}/social/{platform}/gen

func (UnimplementedHandler) GenerateCard

GenerateCard implements generateCard operation.

Needs a scene on the card to generate from. Nothing is promoted: the takes appear in the card's gallery and a human picks one.

POST /workspace/{slug}/cards/{n}/generate

func (UnimplementedHandler) GenerateCardVO

GenerateCardVO implements generateCardVO operation.

Needs narration on the card. A generated read lands beside any browser recording for the same card and is auditioned the same way.

POST /workspace/{slug}/cards/{n}/vo/generate

func (UnimplementedHandler) GenerateCover

GenerateCover implements generateCover operation.

The scene is recorded on the workspace as it is used, so re-rolling the cover does not need it typed again.

POST /workspace/{slug}/cover/generate

func (UnimplementedHandler) GenerateMusic

GenerateMusic implements generateMusic operation.

Generate music-bed candidates.

POST /workspace/{slug}/music/generate

func (UnimplementedHandler) GeneratePortrait

GeneratePortrait implements generatePortrait operation.

Needs at least one reference image; there is nothing to work from otherwise.

POST /workspace/{slug}/portrait/generate

func (UnimplementedHandler) GetArticle

GetArticle implements getArticle operation.

One article, with its body rendered for preview.

GET /content/article

func (UnimplementedHandler) GetChatHistory

GetChatHistory implements getChatHistory operation.

The conversation so far.

GET /workspace/{slug}/chat/history

func (UnimplementedHandler) GetConfig

func (UnimplementedHandler) GetConfig(ctx context.Context) (r GetConfigRes, _ error)

GetConfig implements getConfig operation.

Only keys the studio may show are returned, and only those actually set. The ALLOWLIST ITSELF IS NOT IN THIS DOCUMENT, deliberately. It lives in `configKeys` in pkg/studio/handlers_config.go, which is what filters at runtime; enumerating the forty-odd keys here as well would make the schema and that slice two descriptions of one thing, which is the drift this spec exists to remove (the reasoning 0053 Q3 used to reject `x-keryx-requirements`). What the schema holds is the shape, the method and the status codes.

GET /config

func (UnimplementedHandler) GetConfigYAML

func (UnimplementedHandler) GetConfigYAML(ctx context.Context) (r GetConfigYAMLRes, _ error)

GetConfigYAML implements getConfigYAML operation.

Comments and all, with secrets masked. For reading and editing structure, never for recovering a value someone stored.

GET /config/file

func (UnimplementedHandler) GetConnections

func (UnimplementedHandler) GetConnections(ctx context.Context) (r *Connections, _ error)

GetConnections implements getConnections operation.

Read-only and offline: it reports what the non-secret configuration says about each platform, including when a token expires. It does not contact anyone — /connections/check is the operation that does.

GET /connections

func (UnimplementedHandler) GetJob

func (UnimplementedHandler) GetJob(ctx context.Context, params GetJobParams) (r GetJobRes, _ error)

GetJob implements getJob operation.

Poll an asynchronous job.

GET /workspace/{slug}/jobs/{id}

func (UnimplementedHandler) GetOutcome

GetOutcome implements getOutcome operation.

Remembered so a commit or push that failed is still visible after the response that reported it has gone.

GET /workspace/{slug}/outcome

func (UnimplementedHandler) GetQuota

func (UnimplementedHandler) GetQuota(ctx context.Context) (r GetQuotaRes, _ error)

GetQuota implements getQuota operation.

Spend context for the composer. Absent rather than zero when the configured provider does not track a quota.

GET /quota

func (UnimplementedHandler) GetSocial

func (UnimplementedHandler) GetSocial(ctx context.Context, params GetSocialParams) (r GetSocialRes, _ error)

GetSocial implements getSocial operation.

All supported platforms are present, including ones with nothing written yet — an empty entry is an empty composer, not a missing one. The `rev` is a revision token: send it back on a write and the write is refused if the record moved underneath you.

GET /workspace/{slug}/social

func (UnimplementedHandler) GetSpend

func (UnimplementedHandler) GetSpend(ctx context.Context, params GetSpendParams) (r GetSpendRes, _ error)

GetSpend implements getSpend operation.

Settled rather than estimated: this is the ledger's total, so it answers what has been spent rather than what something might cost.

GET /workspace/{slug}/spend

func (UnimplementedHandler) GetThemeCatalog

func (UnimplementedHandler) GetThemeCatalog(ctx context.Context) (r *ThemeCatalog, _ error)

GetThemeCatalog implements getThemeCatalog operation.

The Settings manager's payload: whole themes rather than the picker's reduced view, plus the scope each keyword resolves in, so the manager can offer promotion only where it applies. Scopes may be empty if they cannot be resolved — the manager still lists and edits, it just cannot promote.

GET /themes/catalog

func (UnimplementedHandler) GetTimeline

GetTimeline implements getTimeline operation.

Computed before any render. Card durations come from their narration when there is any, which is what vo_driven reports - a board timed by reads behaves very differently from one falling back to dur.

GET /workspace/{slug}/timeline

func (UnimplementedHandler) GetVCStatus

func (UnimplementedHandler) GetVCStatus(ctx context.Context) (r *VCStatus, _ error)

GetVCStatus implements getVCStatus operation.

Reports whether the active project is a git repository, its first remote, and a heuristic for whether a push would authenticate. Always 200: "this is not a repository" is an answer, not an error, because the studio runs perfectly well against a project that is not under version control.

GET /vc/status

func (UnimplementedHandler) GetWorkspace

GetWorkspace implements getWorkspace operation.

The board, what is wrong with it, and the filesystem truths the board cannot express - which cards have artefacts on disk, whether a cover exists and at what size.

GET /workspace/{slug}

func (UnimplementedHandler) ListAvatars

func (UnimplementedHandler) ListAvatars(ctx context.Context) (r ListAvatarsRes, _ error)

ListAvatars implements listAvatars operation.

The project's cast.

GET /avatars

func (UnimplementedHandler) ListCardScreens

ListCardScreens implements listCardScreens operation.

Which cards' illustrations have been checked for leaked text.

GET /workspace/{slug}/cards/screens

func (UnimplementedHandler) ListCardTakes

ListCardTakes implements listCardTakes operation.

Images generated for this card. `current` names the one promoted into the card's slot, and is absent when nothing is promoted or the slot was filled outside the takes flow.

GET /workspace/{slug}/cards/{n}/takes

func (UnimplementedHandler) ListCardVOTakes

ListCardVOTakes implements listCardVOTakes operation.

Every recorded or generated read for this card's narration. A browser recording (spec 0030) lands here beside a generated one and is auditioned the same way.

GET /workspace/{slug}/cards/{n}/vo/takes

func (UnimplementedHandler) ListCoverTakes

ListCoverTakes implements listCoverTakes operation.

The reel's cover-art candidates.

GET /workspace/{slug}/cover/takes

func (UnimplementedHandler) ListFonts

func (UnimplementedHandler) ListFonts(ctx context.Context) (r ListFontsRes, _ error)

ListFonts implements listFonts operation.

Includes the embedded floor, which is why keryx can draw text on a host with no system fonts at all (spec 0057).

GET /fonts

func (UnimplementedHandler) ListMusicTakes

ListMusicTakes implements listMusicTakes operation.

The reel's music-bed candidates.

GET /workspace/{slug}/music/takes

func (UnimplementedHandler) ListPortraitRefs

ListPortraitRefs implements listPortraitRefs operation.

Uploaded references rather than generated takes, so nothing here is ever `current` — there is no slot for a reference to be promoted into.

GET /workspace/{slug}/portrait/refs

func (UnimplementedHandler) ListPortraitTakes

ListPortraitTakes implements listPortraitTakes operation.

The portrait candidates.

GET /workspace/{slug}/portrait/takes

func (UnimplementedHandler) ListPosts

func (UnimplementedHandler) ListPosts(ctx context.Context) (r ListPostsRes, _ error)

ListPosts implements listPosts operation.

A reel links to one of these by its bundle directory.

GET /content/posts

func (UnimplementedHandler) ListProjects

func (UnimplementedHandler) ListProjects(ctx context.Context) (r ListProjectsRes, _ error)

ListProjects implements listProjects operation.

Every known project, and which is active.

GET /projects

func (UnimplementedHandler) ListReels

func (UnimplementedHandler) ListReels(ctx context.Context) (r ListReelsRes, _ error)

ListReels implements listReels operation.

Each row carries the workspace's status on disk and whether it has changes git has not seen. `uncommitted` covers media as well as the board: media is git-ignored, so git-clean does not mean pushed.

GET /reels

func (UnimplementedHandler) ListThemes

func (UnimplementedHandler) ListThemes(ctx context.Context) (r *ThemePicker, _ error)

ListThemes implements listThemes operation.

A reduced view for the picker: the fields the preview needs to draw text where the render will (fonts, palette, scrim) plus the pacing a card inherits. The Settings manager wants /themes/catalog instead, which carries whole themes.

GET /themes

func (UnimplementedHandler) PickCardTake

func (UnimplementedHandler) PickCardTake(ctx context.Context, req *PickTake, params PickCardTakeParams) (r PickCardTakeRes, _ error)

PickCardTake implements pickCardTake operation.

Unlike the other picks, this one changes the BOARD — the card records the media it uses and the theme it was generated under — so it answers with the save result rather than the slot.

POST /workspace/{slug}/cards/{n}/pick

func (UnimplementedHandler) PickCardVO

func (UnimplementedHandler) PickCardVO(ctx context.Context, req *PickVOTake, params PickCardVOParams) (r PickCardVORes, _ error)

PickCardVO implements pickCardVO operation.

The take must belong to THIS card: voiceover take filenames carry the line they were read for, and picking another card's read would silently retime the reel. `lock` approves the line in the same call (0030 R-GEN-52).

POST /workspace/{slug}/cards/{n}/vo/pick

func (UnimplementedHandler) PickCover

func (UnimplementedHandler) PickCover(ctx context.Context, req *PickTake, params PickCoverParams) (r PickCoverRes, _ error)

PickCover implements pickCover operation.

The cover is a single slot, so picking replaces whatever was there. Nothing is deleted: the previous take stays a candidate.

POST /workspace/{slug}/cover/pick

func (UnimplementedHandler) PickMusic

func (UnimplementedHandler) PickMusic(ctx context.Context, req *PickTake, params PickMusicParams) (r PickMusicRes, _ error)

PickMusic implements pickMusic operation.

Promote a music-bed candidate.

POST /workspace/{slug}/music/pick

func (UnimplementedHandler) PickPortrait

func (UnimplementedHandler) PickPortrait(ctx context.Context, req *PickTake, params PickPortraitParams) (r PickPortraitRes, _ error)

PickPortrait implements pickPortrait operation.

Promote a portrait candidate.

POST /workspace/{slug}/portrait/pick

func (UnimplementedHandler) PostSocial

PostSocial implements postSocial operation.

The ONLY operation on this surface that reaches the outside world, and the reason `post` is kept off the MCP tool surface entirely (R-MCP-2). Asynchronous: the job carries a result line per platform.

POST /workspace/{slug}/social/post

func (UnimplementedHandler) PromoteTheme

PromoteTheme implements promoteTheme operation.

Promotion is a move, not a copy: the theme leaves the project's .keryx.yaml and lands in the user library, where every project sees it.

POST /themes/{keyword}/promote

func (UnimplementedHandler) PullMedia

func (UnimplementedHandler) PullMedia(ctx context.Context, params PullMediaParams) (r PullMediaRes, _ error)

PullMedia implements pullMedia operation.

Media is git-ignored, so a fresh clone has the board and none of the artefacts. This is what makes a reel workable on another machine. Local files that differ are LEFT ALONE — pulling never overwrites local work.

POST /workspace/{slug}/media/pull

func (UnimplementedHandler) PutChatHistory

PutChatHistory implements putChatHistory operation.

Whole-transcript replacement, which is what lets a turn be edited or dropped before it grounds the next answer.

PUT /workspace/{slug}/chat/history

func (UnimplementedHandler) PutConfig

func (UnimplementedHandler) PutConfig(ctx context.Context, req Settings) (r PutConfigRes, _ error)

PutConfig implements putConfig operation.

Only the SUBMITTED keys are written, so the project's .keryx.yaml stays a minimal set of overrides rather than a copy of the merged container (R-CFG-2). A key outside the allowlist is refused. The file is created if absent, and an existing file that will not parse is a 422 — the write never clobbers something it could not read.

PUT /config

func (UnimplementedHandler) PutConfigYAML

func (UnimplementedHandler) PutConfigYAML(ctx context.Context, req *ConfigYAMLEdit) (r PutConfigYAMLRes, _ error)

PutConfigYAML implements putConfigYAML operation.

Replace the project's settings file.

PUT /config/file

func (UnimplementedHandler) PutDirection

PutDirection implements putDirection operation.

Intent and emotion rather than content - what the reel should feel like, used as grounding without being quoted.

PUT /workspace/{slug}/direction

func (UnimplementedHandler) PutReelAspect

PutReelAspect implements putReelAspect operation.

Overrides the configured default for this reel only. Changing it after a render makes that render stale, which the returned workspace reports rather than hiding.

PUT /workspace/{slug}/aspect

func (UnimplementedHandler) PutReelAvatars

PutReelAvatars implements putReelAvatars operation.

Every name must resolve in the project's avatar registry; an unknown one is refused rather than stored and discovered at render. An empty list clears the cast.

PUT /workspace/{slug}/avatars

func (UnimplementedHandler) PutSocial

func (UnimplementedHandler) PutSocial(ctx context.Context, req *SocialEdit, params PutSocialParams) (r PutSocialRes, _ error)

PutSocial implements putSocial operation.

Overwrites the COMPOSED CONTENT only. The status and any posting record survive, so editing copy cannot silently un-post something or lose the URL a post landed at.

PUT /workspace/{slug}/social/{platform}

func (UnimplementedHandler) PutSource

func (UnimplementedHandler) PutSource(ctx context.Context, req *SourceEdit, params PutSourceParams) (r PutSourceRes, _ error)

PutSource implements putSource operation.

For a reel linked to no article; a linked reel reads its subject from the article instead. Echoes what it stored, because nothing else can change as a result.

PUT /workspace/{slug}/source

func (UnimplementedHandler) PutStoryboard

PutStoryboard implements putStoryboard operation.

Validated SEMANTICALLY before it is accepted: a body can be perfectly valid JSON and still be refused. That check is R-WS-9..R-WS-13 and lives in spec 0054 — OpenAPI has no vocabulary for it, which is exactly why 0053 does not try.

PUT /workspace/{slug}/storyboard

func (UnimplementedHandler) PutTheme

func (UnimplementedHandler) PutTheme(ctx context.Context, req *ThemeEdit, params PutThemeParams) (r PutThemeRes, _ error)

PutTheme implements putTheme operation.

Returns the whole workspace re-read, because a theme change can alter what validates: a card relying on a palette role the new theme does not define becomes an error.

PUT /workspace/{slug}/theme

func (UnimplementedHandler) ReclaimStorage

func (UnimplementedHandler) ReclaimStorage(ctx context.Context) (r *StorageReclaim, _ error)

ReclaimStorage implements reclaimStorage operation.

A dry run: it reports what is orphaned without deleting anything. Pruning is a CLI operation, deliberately — the studio shows the number and the CLI is where an irreversible delete is asked for. Always 200, for the same reason verify is.

POST /storage/reclaim

func (UnimplementedHandler) RemoveAvatar

RemoveAvatar implements removeAvatar operation.

Removes it from the project's registry. Reels that named it keep the name in their cast; the reference simply stops resolving, which is reported at the point of use rather than silently rewriting someone's board.

DELETE /avatars/{name}

func (UnimplementedHandler) RemoveReel

RemoveReel implements removeReel operation.

Removes the workspace directory. What has already been pushed to the object store is not touched here — `media gc` is where blobs are reclaimed, and deliberately so, because a blob may still be referenced by another reel.

DELETE /reels/{slug}

func (UnimplementedHandler) RemoveTheme

RemoveTheme implements removeTheme operation.

Project scope only. A theme in the user library is a 404 here and can only be removed from the CLI, so a project can never delete something every other project shares.

DELETE /themes/{keyword}

func (UnimplementedHandler) RenameReel

func (UnimplementedHandler) RenameReel(ctx context.Context, req *SlugTarget, params RenameReelParams) (r RenameReelRes, _ error)

RenameReel implements renameReel operation.

The slug IS the directory name, so a rename moves the workspace. The label is the human name and is changed through the workspace instead.

POST /reels/{slug}/rename

func (UnimplementedHandler) SaveAvatar

func (UnimplementedHandler) SaveAvatar(ctx context.Context, req *Avatar, params SaveAvatarParams) (r SaveAvatarRes, _ error)

SaveAvatar implements saveAvatar operation.

Create or update the avatar this name identifies.

PUT /avatars/{name}

func (UnimplementedHandler) SaveTheme

func (UnimplementedHandler) SaveTheme(ctx context.Context, req *Theme, params SaveThemeParams) (r SaveThemeRes, _ error)

SaveTheme implements saveTheme operation.

Upsert. The path identifies the theme and wins over any keyword in the body. There is no {type} segment: a keyword identifies exactly one theme (spec 0047 D4).

PUT /themes/{keyword}

func (UnimplementedHandler) ScreenCards

ScreenCards implements screenCards operation.

Image models write words into pictures. A card whose illustration contains text fights the card's own words, so this reads the images back and says which ones did.

POST /workspace/{slug}/cards/screen

func (UnimplementedHandler) SetBundle

func (UnimplementedHandler) SetBundle(ctx context.Context, req *BundleEdit, params SetBundleParams) (r SetBundleRes, _ error)

SetBundle implements setBundle operation.

Link the reel to an article.

PUT /workspace/{slug}/bundle

func (UnimplementedHandler) SetLabel

func (UnimplementedHandler) SetLabel(ctx context.Context, req *LabelEdit, params SetLabelParams) (r SetLabelRes, _ error)

SetLabel implements setLabel operation.

The label is the human name and the slug is the directory. Changing one never changes the other, so a reel can be renamed without moving any files.

PUT /workspace/{slug}/label

func (UnimplementedHandler) StartRender

StartRender implements startRender operation.

Asynchronous, and ONE AT A TIME per reel: a second render while one is in flight is a conflict rather than a queue, because two renders writing the same output is not something to resolve politely.

POST /workspace/{slug}/render

func (UnimplementedHandler) StopRender

StopRender implements stopRender operation.

Cancel the render in flight.

POST /workspace/{slug}/render/cancel

func (UnimplementedHandler) SummariseSource

SummariseSource implements summariseSource operation.

Needs a linked article; there is nothing to summarise otherwise, which is a 400 rather than an empty result.

POST /workspace/{slug}/source/summarise

func (UnimplementedHandler) SwitchProject

func (UnimplementedHandler) SwitchProject(ctx context.Context, req *ProjectPath) (r SwitchProjectRes, _ error)

SwitchProject implements switchProject operation.

Make a known project the active one.

POST /projects/switch

func (UnimplementedHandler) VerifyStorage

func (UnimplementedHandler) VerifyStorage(ctx context.Context) (r *StorageCheck, _ error)

VerifyStorage implements verifyStorage operation.

Always 200. "There is no object store configured" and "the bucket is unreachable" are both ANSWERS — the panel asking this wants to render them, not handle them — so the outcome is in the body and never in the status.

POST /storage/verify

type VCStatus

type VCStatus struct {
	// The project directory is a git repository.
	Repo bool `json:"repo"`
	// The first remote's URL; absent when there is none.
	Remote OptString `json:"remote"`
	// How a push would authenticate. `unknown` is not a failure — it is what an in-memory or non-git
	// project honestly reports.
	Auth VCStatusAuth `json:"auth"`
	// Human guidance, shown in the studio's version-control panel.
	Detail OptString `json:"detail"`
}

Ref: #/components/schemas/VCStatus

func (*VCStatus) Decode

func (s *VCStatus) Decode(d *jx.Decoder) error

Decode decodes VCStatus from json.

func (*VCStatus) Encode

func (s *VCStatus) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VCStatus) GetAuth

func (s *VCStatus) GetAuth() VCStatusAuth

GetAuth returns the value of Auth.

func (*VCStatus) GetDetail

func (s *VCStatus) GetDetail() OptString

GetDetail returns the value of Detail.

func (*VCStatus) GetRemote

func (s *VCStatus) GetRemote() OptString

GetRemote returns the value of Remote.

func (*VCStatus) GetRepo

func (s *VCStatus) GetRepo() bool

GetRepo returns the value of Repo.

func (*VCStatus) MarshalJSON

func (s *VCStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VCStatus) SetAuth

func (s *VCStatus) SetAuth(val VCStatusAuth)

SetAuth sets the value of Auth.

func (*VCStatus) SetDetail

func (s *VCStatus) SetDetail(val OptString)

SetDetail sets the value of Detail.

func (*VCStatus) SetRemote

func (s *VCStatus) SetRemote(val OptString)

SetRemote sets the value of Remote.

func (*VCStatus) SetRepo

func (s *VCStatus) SetRepo(val bool)

SetRepo sets the value of Repo.

func (*VCStatus) UnmarshalJSON

func (s *VCStatus) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VCStatus) Validate

func (s *VCStatus) Validate() error

type VCStatusAuth

type VCStatusAuth string

How a push would authenticate. `unknown` is not a failure — it is what an in-memory or non-git project honestly reports.

const (
	VCStatusAuthSSHAgent VCStatusAuth = "ssh-agent"
	VCStatusAuthSSHKey   VCStatusAuth = "ssh-key"
	VCStatusAuthHTTPS    VCStatusAuth = "https"
	VCStatusAuthNone     VCStatusAuth = "none"
	VCStatusAuthUnknown  VCStatusAuth = "unknown"
)

func (VCStatusAuth) AllValues

func (VCStatusAuth) AllValues() []VCStatusAuth

AllValues returns all VCStatusAuth values.

func (*VCStatusAuth) Decode

func (s *VCStatusAuth) Decode(d *jx.Decoder) error

Decode decodes VCStatusAuth from json.

func (VCStatusAuth) Encode

func (s VCStatusAuth) Encode(e *jx.Encoder)

Encode encodes VCStatusAuth as json.

func (VCStatusAuth) MarshalJSON

func (s VCStatusAuth) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (VCStatusAuth) MarshalText

func (s VCStatusAuth) MarshalText() ([]byte, error)

MarshalText implements encoding.TextMarshaler.

func (*VCStatusAuth) UnmarshalJSON

func (s *VCStatusAuth) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VCStatusAuth) UnmarshalText

func (s *VCStatusAuth) UnmarshalText(data []byte) error

UnmarshalText implements encoding.TextUnmarshaler.

func (VCStatusAuth) Validate

func (s VCStatusAuth) Validate() error

type Validation

type Validation struct {
	Ok       bool    `json:"ok"`
	Errors   []Issue `json:"errors"`
	Warnings []Issue `json:"warnings"`
}

What is wrong with the board. Errors block a render; warnings do not. A card of -1 means the finding is about the board as a whole. Ref: #/components/schemas/Validation

func (*Validation) Decode

func (s *Validation) Decode(d *jx.Decoder) error

Decode decodes Validation from json.

func (*Validation) Encode

func (s *Validation) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Validation) GetErrors

func (s *Validation) GetErrors() []Issue

GetErrors returns the value of Errors.

func (*Validation) GetOk

func (s *Validation) GetOk() bool

GetOk returns the value of Ok.

func (*Validation) GetWarnings

func (s *Validation) GetWarnings() []Issue

GetWarnings returns the value of Warnings.

func (*Validation) MarshalJSON

func (s *Validation) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Validation) SetErrors

func (s *Validation) SetErrors(val []Issue)

SetErrors sets the value of Errors.

func (*Validation) SetOk

func (s *Validation) SetOk(val bool)

SetOk sets the value of Ok.

func (*Validation) SetWarnings

func (s *Validation) SetWarnings(val []Issue)

SetWarnings sets the value of Warnings.

func (*Validation) UnmarshalJSON

func (s *Validation) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Validation) Validate

func (s *Validation) Validate() error

type VoiceOverride

type VoiceOverride struct {
	Speaker    OptString  `json:"speaker"`
	Stability  OptFloat64 `json:"stability"`
	Similarity OptFloat64 `json:"similarity"`
	Style      OptFloat64 `json:"style"`
	Speed      OptFloat64 `json:"speed"`
	Model      OptString  `json:"model"`
	// A spelling that makes the provider say it correctly.
	Pronounce OptString `json:"pronounce"`
	Ipa       OptString `json:"ipa"`
}

Per-card voice settings, overriding the theme's. Ref: #/components/schemas/VoiceOverride

func (*VoiceOverride) Decode

func (s *VoiceOverride) Decode(d *jx.Decoder) error

Decode decodes VoiceOverride from json.

func (*VoiceOverride) Encode

func (s *VoiceOverride) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*VoiceOverride) GetIpa

func (s *VoiceOverride) GetIpa() OptString

GetIpa returns the value of Ipa.

func (*VoiceOverride) GetModel

func (s *VoiceOverride) GetModel() OptString

GetModel returns the value of Model.

func (*VoiceOverride) GetPronounce

func (s *VoiceOverride) GetPronounce() OptString

GetPronounce returns the value of Pronounce.

func (*VoiceOverride) GetSimilarity

func (s *VoiceOverride) GetSimilarity() OptFloat64

GetSimilarity returns the value of Similarity.

func (*VoiceOverride) GetSpeaker

func (s *VoiceOverride) GetSpeaker() OptString

GetSpeaker returns the value of Speaker.

func (*VoiceOverride) GetSpeed

func (s *VoiceOverride) GetSpeed() OptFloat64

GetSpeed returns the value of Speed.

func (*VoiceOverride) GetStability

func (s *VoiceOverride) GetStability() OptFloat64

GetStability returns the value of Stability.

func (*VoiceOverride) GetStyle

func (s *VoiceOverride) GetStyle() OptFloat64

GetStyle returns the value of Style.

func (*VoiceOverride) MarshalJSON

func (s *VoiceOverride) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*VoiceOverride) SetIpa

func (s *VoiceOverride) SetIpa(val OptString)

SetIpa sets the value of Ipa.

func (*VoiceOverride) SetModel

func (s *VoiceOverride) SetModel(val OptString)

SetModel sets the value of Model.

func (*VoiceOverride) SetPronounce

func (s *VoiceOverride) SetPronounce(val OptString)

SetPronounce sets the value of Pronounce.

func (*VoiceOverride) SetSimilarity

func (s *VoiceOverride) SetSimilarity(val OptFloat64)

SetSimilarity sets the value of Similarity.

func (*VoiceOverride) SetSpeaker

func (s *VoiceOverride) SetSpeaker(val OptString)

SetSpeaker sets the value of Speaker.

func (*VoiceOverride) SetSpeed

func (s *VoiceOverride) SetSpeed(val OptFloat64)

SetSpeed sets the value of Speed.

func (*VoiceOverride) SetStability

func (s *VoiceOverride) SetStability(val OptFloat64)

SetStability sets the value of Stability.

func (*VoiceOverride) SetStyle

func (s *VoiceOverride) SetStyle(val OptFloat64)

SetStyle sets the value of Style.

func (*VoiceOverride) UnmarshalJSON

func (s *VoiceOverride) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*VoiceOverride) Validate

func (s *VoiceOverride) Validate() error

type Workspace

type Workspace struct {
	Slug  string    `json:"slug"`
	Theme OptString `json:"theme"`
	// The article this reel is linked to.
	Bundle     OptString  `json:"bundle"`
	Status     string     `json:"status"`
	Storyboard Storyboard `json:"storyboard"`
	Validation Validation `json:"validation"`
	// Pasted subject content, for a reel linked to no article.
	Source string `json:"source"`
	// Creative direction — intent and emotion, not content.
	Direction string `json:"direction"`
	HasCover  bool   `json:"has_cover"`
	// The prompt that generated the cover. Empty when the cover was uploaded, because then nothing here
	// produced it.
	CoverScene OptString `json:"cover_scene"`
	// Per-card artefact presence, parallel to the storyboard. This is the FILESYSTEM's answer, not the
	// board's: it includes voiceover, which the storyboard cannot express at all.
	CardAssets []CardAssets `json:"card_assets"`
	// The reel's cast.
	Avatars []string `json:"avatars"`
	// This reel's frame override; absent means the default.
	Aspect OptString `json:"aspect"`
	// What an absent aspect resolves to.
	AspectDefault string `json:"aspect_default"`
	// The cover's pixel size, so the studio can warn when it was made under a different aspect. Zero means
	// absent or undecodable.
	CoverW OptInt `json:"cover_w"`
	CoverH OptInt `json:"cover_h"`
	// A rendered mp4 exists.
	HasReel bool `json:"has_reel"`
	// The frame shape recorded at RENDER time, which flags a stale render against the reel's current
	// aspect. Zero means a render from before this was recorded.
	RenderW OptInt `json:"render_w"`
	RenderH OptInt `json:"render_h"`
}

Everything the editor needs to open a reel: the board itself, what is wrong with it, and the filesystem truths the board cannot express — which cards actually have artefacts on disk, whether a cover exists and at what size. Ref: #/components/schemas/Workspace

func (*Workspace) Decode

func (s *Workspace) Decode(d *jx.Decoder) error

Decode decodes Workspace from json.

func (*Workspace) Encode

func (s *Workspace) Encode(e *jx.Encoder)

Encode implements json.Marshaler.

func (*Workspace) GetAspect

func (s *Workspace) GetAspect() OptString

GetAspect returns the value of Aspect.

func (*Workspace) GetAspectDefault

func (s *Workspace) GetAspectDefault() string

GetAspectDefault returns the value of AspectDefault.

func (*Workspace) GetAvatars

func (s *Workspace) GetAvatars() []string

GetAvatars returns the value of Avatars.

func (*Workspace) GetBundle

func (s *Workspace) GetBundle() OptString

GetBundle returns the value of Bundle.

func (*Workspace) GetCardAssets

func (s *Workspace) GetCardAssets() []CardAssets

GetCardAssets returns the value of CardAssets.

func (*Workspace) GetCoverH

func (s *Workspace) GetCoverH() OptInt

GetCoverH returns the value of CoverH.

func (*Workspace) GetCoverScene

func (s *Workspace) GetCoverScene() OptString

GetCoverScene returns the value of CoverScene.

func (*Workspace) GetCoverW

func (s *Workspace) GetCoverW() OptInt

GetCoverW returns the value of CoverW.

func (*Workspace) GetDirection

func (s *Workspace) GetDirection() string

GetDirection returns the value of Direction.

func (*Workspace) GetHasCover

func (s *Workspace) GetHasCover() bool

GetHasCover returns the value of HasCover.

func (*Workspace) GetHasReel

func (s *Workspace) GetHasReel() bool

GetHasReel returns the value of HasReel.

func (*Workspace) GetRenderH

func (s *Workspace) GetRenderH() OptInt

GetRenderH returns the value of RenderH.

func (*Workspace) GetRenderW

func (s *Workspace) GetRenderW() OptInt

GetRenderW returns the value of RenderW.

func (*Workspace) GetSlug

func (s *Workspace) GetSlug() string

GetSlug returns the value of Slug.

func (*Workspace) GetSource

func (s *Workspace) GetSource() string

GetSource returns the value of Source.

func (*Workspace) GetStatus

func (s *Workspace) GetStatus() string

GetStatus returns the value of Status.

func (*Workspace) GetStoryboard

func (s *Workspace) GetStoryboard() Storyboard

GetStoryboard returns the value of Storyboard.

func (*Workspace) GetTheme

func (s *Workspace) GetTheme() OptString

GetTheme returns the value of Theme.

func (*Workspace) GetValidation

func (s *Workspace) GetValidation() Validation

GetValidation returns the value of Validation.

func (*Workspace) MarshalJSON

func (s *Workspace) MarshalJSON() ([]byte, error)

MarshalJSON implements stdjson.Marshaler.

func (*Workspace) SetAspect

func (s *Workspace) SetAspect(val OptString)

SetAspect sets the value of Aspect.

func (*Workspace) SetAspectDefault

func (s *Workspace) SetAspectDefault(val string)

SetAspectDefault sets the value of AspectDefault.

func (*Workspace) SetAvatars

func (s *Workspace) SetAvatars(val []string)

SetAvatars sets the value of Avatars.

func (*Workspace) SetBundle

func (s *Workspace) SetBundle(val OptString)

SetBundle sets the value of Bundle.

func (*Workspace) SetCardAssets

func (s *Workspace) SetCardAssets(val []CardAssets)

SetCardAssets sets the value of CardAssets.

func (*Workspace) SetCoverH

func (s *Workspace) SetCoverH(val OptInt)

SetCoverH sets the value of CoverH.

func (*Workspace) SetCoverScene

func (s *Workspace) SetCoverScene(val OptString)

SetCoverScene sets the value of CoverScene.

func (*Workspace) SetCoverW

func (s *Workspace) SetCoverW(val OptInt)

SetCoverW sets the value of CoverW.

func (*Workspace) SetDirection

func (s *Workspace) SetDirection(val string)

SetDirection sets the value of Direction.

func (*Workspace) SetHasCover

func (s *Workspace) SetHasCover(val bool)

SetHasCover sets the value of HasCover.

func (*Workspace) SetHasReel

func (s *Workspace) SetHasReel(val bool)

SetHasReel sets the value of HasReel.

func (*Workspace) SetRenderH

func (s *Workspace) SetRenderH(val OptInt)

SetRenderH sets the value of RenderH.

func (*Workspace) SetRenderW

func (s *Workspace) SetRenderW(val OptInt)

SetRenderW sets the value of RenderW.

func (*Workspace) SetSlug

func (s *Workspace) SetSlug(val string)

SetSlug sets the value of Slug.

func (*Workspace) SetSource

func (s *Workspace) SetSource(val string)

SetSource sets the value of Source.

func (*Workspace) SetStatus

func (s *Workspace) SetStatus(val string)

SetStatus sets the value of Status.

func (*Workspace) SetStoryboard

func (s *Workspace) SetStoryboard(val Storyboard)

SetStoryboard sets the value of Storyboard.

func (*Workspace) SetTheme

func (s *Workspace) SetTheme(val OptString)

SetTheme sets the value of Theme.

func (*Workspace) SetValidation

func (s *Workspace) SetValidation(val Validation)

SetValidation sets the value of Validation.

func (*Workspace) UnmarshalJSON

func (s *Workspace) UnmarshalJSON(data []byte) error

UnmarshalJSON implements stdjson.Unmarshaler.

func (*Workspace) Validate

func (s *Workspace) Validate() error

Jump to

Keyboard shortcuts

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