Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type AddProject
- func (s *AddProject) Decode(d *jx.Decoder) error
- func (s *AddProject) Encode(e *jx.Encoder)
- func (s *AddProject) GetBranch() OptString
- func (s *AddProject) GetPath() OptString
- func (s *AddProject) GetRemote() OptString
- func (s *AddProject) GetStorage() OptString
- func (s *AddProject) MarshalJSON() ([]byte, error)
- func (s *AddProject) SetBranch(val OptString)
- func (s *AddProject) SetPath(val OptString)
- func (s *AddProject) SetRemote(val OptString)
- func (s *AddProject) SetStorage(val OptString)
- func (s *AddProject) UnmarshalJSON(data []byte) error
- type AddProjectBadGateway
- type AddProjectBadRequest
- type AddProjectInternalServerError
- type AddProjectRes
- type AddProjectServiceUnavailable
- type Anchor
- func (s *Anchor) Decode(d *jx.Decoder) error
- func (s *Anchor) Encode(e *jx.Encoder)
- func (s *Anchor) GetX() float64
- func (s *Anchor) GetY() float64
- func (s *Anchor) MarshalJSON() ([]byte, error)
- func (s *Anchor) SetX(val float64)
- func (s *Anchor) SetY(val float64)
- func (s *Anchor) UnmarshalJSON(data []byte) error
- func (s *Anchor) Validate() error
- type ApproveSocialBadRequest
- type ApproveSocialConflict
- type ApproveSocialInternalServerError
- type ApproveSocialNotFound
- type ApproveSocialParams
- type ApproveSocialRes
- type ApproveSocialUnprocessableEntity
- type Article
- func (s *Article) Decode(d *jx.Decoder) error
- func (s *Article) Encode(e *jx.Encoder)
- func (s *Article) GetBundle() string
- func (s *Article) GetDate() OptString
- func (s *Article) GetDraft() OptBool
- func (s *Article) GetHTML() string
- func (s *Article) GetImage() OptString
- func (s *Article) GetSection() OptString
- func (s *Article) GetSlug() string
- func (s *Article) GetSummary() OptString
- func (s *Article) GetTitle() string
- func (s *Article) MarshalJSON() ([]byte, error)
- func (s *Article) SetBundle(val string)
- func (s *Article) SetDate(val OptString)
- func (s *Article) SetDraft(val OptBool)
- func (s *Article) SetHTML(val string)
- func (s *Article) SetImage(val OptString)
- func (s *Article) SetSection(val OptString)
- func (s *Article) SetSlug(val string)
- func (s *Article) SetSummary(val OptString)
- func (s *Article) SetTitle(val string)
- func (s *Article) UnmarshalJSON(data []byte) error
- type AspectEdit
- type Avatar
- func (s *Avatar) Decode(d *jx.Decoder) error
- func (s *Avatar) Encode(e *jx.Encoder)
- func (s *Avatar) GetLikeness() OptString
- func (s *Avatar) GetName() string
- func (s *Avatar) GetPalette() OptString
- func (s *Avatar) GetPostamble() OptString
- func (s *Avatar) GetRef() OptString
- func (s *Avatar) GetStyle() OptString
- func (s *Avatar) MarshalJSON() ([]byte, error)
- func (s *Avatar) SetLikeness(val OptString)
- func (s *Avatar) SetName(val string)
- func (s *Avatar) SetPalette(val OptString)
- func (s *Avatar) SetPostamble(val OptString)
- func (s *Avatar) SetRef(val OptString)
- func (s *Avatar) SetStyle(val OptString)
- func (s *Avatar) UnmarshalJSON(data []byte) error
- type AvatarsEdit
- func (s *AvatarsEdit) Decode(d *jx.Decoder) error
- func (s *AvatarsEdit) Encode(e *jx.Encoder)
- func (s *AvatarsEdit) GetAvatars() []string
- func (s *AvatarsEdit) MarshalJSON() ([]byte, error)
- func (s *AvatarsEdit) SetAvatars(val []string)
- func (s *AvatarsEdit) UnmarshalJSON(data []byte) error
- func (s *AvatarsEdit) Validate() error
- type BundleEdit
- type Card
- func (s *Card) Decode(d *jx.Decoder) error
- func (s *Card) Encode(e *jx.Encoder)
- func (s *Card) GetAccent() OptString
- func (s *Card) GetAvatars() []string
- func (s *Card) GetBg() OptString
- func (s *Card) GetCover() OptBool
- func (s *Card) GetDur() OptFloat64
- func (s *Card) GetFg() OptString
- func (s *Card) GetLead() OptFloat64
- func (s *Card) GetMedia() OptCardMedia
- func (s *Card) GetMode() OptCardMode
- func (s *Card) GetMono() OptBool
- func (s *Card) GetScene() OptString
- func (s *Card) GetScrim() OptCardScrim
- func (s *Card) GetTail() OptFloat64
- func (s *Card) GetText() OptString
- func (s *Card) GetTexts() []TextBlock
- func (s *Card) GetVo() OptString
- func (s *Card) GetVoice() OptVoiceOverride
- func (s *Card) MarshalJSON() ([]byte, error)
- func (s *Card) SetAccent(val OptString)
- func (s *Card) SetAvatars(val []string)
- func (s *Card) SetBg(val OptString)
- func (s *Card) SetCover(val OptBool)
- func (s *Card) SetDur(val OptFloat64)
- func (s *Card) SetFg(val OptString)
- func (s *Card) SetLead(val OptFloat64)
- func (s *Card) SetMedia(val OptCardMedia)
- func (s *Card) SetMode(val OptCardMode)
- func (s *Card) SetMono(val OptBool)
- func (s *Card) SetScene(val OptString)
- func (s *Card) SetScrim(val OptCardScrim)
- func (s *Card) SetTail(val OptFloat64)
- func (s *Card) SetText(val OptString)
- func (s *Card) SetTexts(val []TextBlock)
- func (s *Card) SetVo(val OptString)
- func (s *Card) SetVoice(val OptVoiceOverride)
- func (s *Card) UnmarshalJSON(data []byte) error
- func (s *Card) Validate() error
- type CardAssets
- func (s *CardAssets) Decode(d *jx.Decoder) error
- func (s *CardAssets) Encode(e *jx.Encoder)
- func (s *CardAssets) GetMedia() bool
- func (s *CardAssets) GetVo() bool
- func (s *CardAssets) MarshalJSON() ([]byte, error)
- func (s *CardAssets) SetMedia(val bool)
- func (s *CardAssets) SetVo(val bool)
- func (s *CardAssets) UnmarshalJSON(data []byte) error
- type CardMedia
- func (s *CardMedia) Decode(d *jx.Decoder) error
- func (s *CardMedia) Encode(e *jx.Encoder)
- func (s *CardMedia) GetKind() CardMediaKind
- func (s *CardMedia) GetPath() string
- func (s *CardMedia) GetSource() CardMediaSource
- func (s *CardMedia) GetTheme() OptString
- func (s *CardMedia) MarshalJSON() ([]byte, error)
- func (s *CardMedia) SetKind(val CardMediaKind)
- func (s *CardMedia) SetPath(val string)
- func (s *CardMedia) SetSource(val CardMediaSource)
- func (s *CardMedia) SetTheme(val OptString)
- func (s *CardMedia) UnmarshalJSON(data []byte) error
- func (s *CardMedia) Validate() error
- type CardMediaKind
- func (CardMediaKind) AllValues() []CardMediaKind
- func (s *CardMediaKind) Decode(d *jx.Decoder) error
- func (s CardMediaKind) Encode(e *jx.Encoder)
- func (s CardMediaKind) MarshalJSON() ([]byte, error)
- func (s CardMediaKind) MarshalText() ([]byte, error)
- func (s *CardMediaKind) UnmarshalJSON(data []byte) error
- func (s *CardMediaKind) UnmarshalText(data []byte) error
- func (s CardMediaKind) Validate() error
- type CardMediaSource
- func (CardMediaSource) AllValues() []CardMediaSource
- func (s *CardMediaSource) Decode(d *jx.Decoder) error
- func (s CardMediaSource) Encode(e *jx.Encoder)
- func (s CardMediaSource) MarshalJSON() ([]byte, error)
- func (s CardMediaSource) MarshalText() ([]byte, error)
- func (s *CardMediaSource) UnmarshalJSON(data []byte) error
- func (s *CardMediaSource) UnmarshalText(data []byte) error
- func (s CardMediaSource) Validate() error
- type CardMode
- func (CardMode) AllValues() []CardMode
- func (s *CardMode) Decode(d *jx.Decoder) error
- func (s CardMode) Encode(e *jx.Encoder)
- func (s CardMode) MarshalJSON() ([]byte, error)
- func (s CardMode) MarshalText() ([]byte, error)
- func (s *CardMode) UnmarshalJSON(data []byte) error
- func (s *CardMode) UnmarshalText(data []byte) error
- func (s CardMode) Validate() error
- type CardScreen
- func (s *CardScreen) Decode(d *jx.Decoder) error
- func (s *CardScreen) Encode(e *jx.Encoder)
- func (s *CardScreen) GetCard() int
- func (s *CardScreen) GetFlagged() bool
- func (s *CardScreen) GetGlyphs() []string
- func (s *CardScreen) GetScreened() bool
- func (s *CardScreen) MarshalJSON() ([]byte, error)
- func (s *CardScreen) SetCard(val int)
- func (s *CardScreen) SetFlagged(val bool)
- func (s *CardScreen) SetGlyphs(val []string)
- func (s *CardScreen) SetScreened(val bool)
- func (s *CardScreen) UnmarshalJSON(data []byte) error
- type CardScrim
- func (s *CardScrim) Decode(d *jx.Decoder) error
- func (s *CardScrim) Encode(e *jx.Encoder)
- func (s *CardScrim) GetColor() OptString
- func (s *CardScrim) GetDirection() OptCardScrimDirection
- func (s *CardScrim) GetFrom() OptFloat64
- func (s *CardScrim) GetOpacity() OptFloat64
- func (s *CardScrim) MarshalJSON() ([]byte, error)
- func (s *CardScrim) SetColor(val OptString)
- func (s *CardScrim) SetDirection(val OptCardScrimDirection)
- func (s *CardScrim) SetFrom(val OptFloat64)
- func (s *CardScrim) SetOpacity(val OptFloat64)
- func (s *CardScrim) UnmarshalJSON(data []byte) error
- func (s *CardScrim) Validate() error
- type CardScrimDirection
- func (CardScrimDirection) AllValues() []CardScrimDirection
- func (s *CardScrimDirection) Decode(d *jx.Decoder) error
- func (s CardScrimDirection) Encode(e *jx.Encoder)
- func (s CardScrimDirection) MarshalJSON() ([]byte, error)
- func (s CardScrimDirection) MarshalText() ([]byte, error)
- func (s *CardScrimDirection) UnmarshalJSON(data []byte) error
- func (s *CardScrimDirection) UnmarshalText(data []byte) error
- func (s CardScrimDirection) Validate() error
- type ChatHistory
- func (s *ChatHistory) Decode(d *jx.Decoder) error
- func (s *ChatHistory) Encode(e *jx.Encoder)
- func (s *ChatHistory) GetHistory() []ChatTurn
- func (s *ChatHistory) MarshalJSON() ([]byte, error)
- func (s *ChatHistory) SetHistory(val []ChatTurn)
- func (s *ChatHistory) UnmarshalJSON(data []byte) error
- func (s *ChatHistory) Validate() error
- type ChatTurn
- func (s *ChatTurn) Decode(d *jx.Decoder) error
- func (s *ChatTurn) Encode(e *jx.Encoder)
- func (s *ChatTurn) GetRole() string
- func (s *ChatTurn) GetText() string
- func (s *ChatTurn) MarshalJSON() ([]byte, error)
- func (s *ChatTurn) SetRole(val string)
- func (s *ChatTurn) SetText(val string)
- func (s *ChatTurn) UnmarshalJSON(data []byte) error
- type CheckConnectionsBadGateway
- type CheckConnectionsRes
- type CheckConnectionsServiceUnavailable
- type Client
- func (c *Client) AddProject(ctx context.Context, request *AddProject) (AddProjectRes, error)
- func (c *Client) ApproveSocial(ctx context.Context, request OptSocialApproval, params ApproveSocialParams) (ApproveSocialRes, error)
- func (c *Client) CheckConnections(ctx context.Context) (CheckConnectionsRes, error)
- func (c *Client) CommitReel(ctx context.Context, params CommitReelParams) (CommitReelRes, error)
- func (c *Client) CreateAvatar(ctx context.Context, request *Avatar) (CreateAvatarRes, error)
- func (c *Client) CreateReel(ctx context.Context, request *NewReel) (CreateReelRes, error)
- func (c *Client) CreateTheme(ctx context.Context, request *Theme) (CreateThemeRes, error)
- func (c *Client) DuplicateReel(ctx context.Context, request *SlugTarget, params DuplicateReelParams) (DuplicateReelRes, error)
- func (c *Client) ForgetProject(ctx context.Context, request *ProjectPath) (ForgetProjectRes, error)
- func (c *Client) GenSocial(ctx context.Context, params GenSocialParams) (GenSocialRes, error)
- func (c *Client) GenerateCard(ctx context.Context, request OptGenerateRequest, params GenerateCardParams) (GenerateCardRes, error)
- func (c *Client) GenerateCardVO(ctx context.Context, request OptGenerateRequest, params GenerateCardVOParams) (GenerateCardVORes, error)
- func (c *Client) GenerateCover(ctx context.Context, request OptGenerateRequest, params GenerateCoverParams) (GenerateCoverRes, error)
- func (c *Client) GenerateMusic(ctx context.Context, request OptGenerateRequest, params GenerateMusicParams) (GenerateMusicRes, error)
- func (c *Client) GeneratePortrait(ctx context.Context, request OptGenerateRequest, params GeneratePortraitParams) (GeneratePortraitRes, error)
- func (c *Client) GetArticle(ctx context.Context, params GetArticleParams) (GetArticleRes, error)
- func (c *Client) GetChatHistory(ctx context.Context, params GetChatHistoryParams) (GetChatHistoryRes, error)
- func (c *Client) GetConfig(ctx context.Context) (GetConfigRes, error)
- func (c *Client) GetConfigYAML(ctx context.Context) (GetConfigYAMLRes, error)
- func (c *Client) GetConnections(ctx context.Context) (*Connections, error)
- func (c *Client) GetJob(ctx context.Context, params GetJobParams) (GetJobRes, error)
- func (c *Client) GetOutcome(ctx context.Context, params GetOutcomeParams) (GetOutcomeRes, error)
- func (c *Client) GetQuota(ctx context.Context) (GetQuotaRes, error)
- func (c *Client) GetSocial(ctx context.Context, params GetSocialParams) (GetSocialRes, error)
- func (c *Client) GetSpend(ctx context.Context, params GetSpendParams) (GetSpendRes, error)
- func (c *Client) GetThemeCatalog(ctx context.Context) (*ThemeCatalog, error)
- func (c *Client) GetTimeline(ctx context.Context, params GetTimelineParams) (GetTimelineRes, error)
- func (c *Client) GetVCStatus(ctx context.Context) (*VCStatus, error)
- func (c *Client) GetWorkspace(ctx context.Context, params GetWorkspaceParams) (GetWorkspaceRes, error)
- func (c *Client) ListAvatars(ctx context.Context) (ListAvatarsRes, error)
- func (c *Client) ListCardScreens(ctx context.Context, params ListCardScreensParams) (ListCardScreensRes, error)
- func (c *Client) ListCardTakes(ctx context.Context, params ListCardTakesParams) (ListCardTakesRes, error)
- func (c *Client) ListCardVOTakes(ctx context.Context, params ListCardVOTakesParams) (ListCardVOTakesRes, error)
- func (c *Client) ListCoverTakes(ctx context.Context, params ListCoverTakesParams) (ListCoverTakesRes, error)
- func (c *Client) ListFonts(ctx context.Context) (ListFontsRes, error)
- func (c *Client) ListMusicTakes(ctx context.Context, params ListMusicTakesParams) (ListMusicTakesRes, error)
- func (c *Client) ListPortraitRefs(ctx context.Context, params ListPortraitRefsParams) (ListPortraitRefsRes, error)
- func (c *Client) ListPortraitTakes(ctx context.Context, params ListPortraitTakesParams) (ListPortraitTakesRes, error)
- func (c *Client) ListPosts(ctx context.Context) (ListPostsRes, error)
- func (c *Client) ListProjects(ctx context.Context) (ListProjectsRes, error)
- func (c *Client) ListReels(ctx context.Context) (ListReelsRes, error)
- func (c *Client) ListThemes(ctx context.Context) (*ThemePicker, error)
- func (c *Client) PickCardTake(ctx context.Context, request *PickTake, params PickCardTakeParams) (PickCardTakeRes, error)
- func (c *Client) PickCardVO(ctx context.Context, request *PickVOTake, params PickCardVOParams) (PickCardVORes, error)
- func (c *Client) PickCover(ctx context.Context, request *PickTake, params PickCoverParams) (PickCoverRes, error)
- func (c *Client) PickMusic(ctx context.Context, request *PickTake, params PickMusicParams) (PickMusicRes, error)
- func (c *Client) PickPortrait(ctx context.Context, request *PickTake, params PickPortraitParams) (PickPortraitRes, error)
- func (c *Client) PostSocial(ctx context.Context, request OptPostRequest, params PostSocialParams) (PostSocialRes, error)
- func (c *Client) PromoteTheme(ctx context.Context, params PromoteThemeParams) (PromoteThemeRes, error)
- func (c *Client) PullMedia(ctx context.Context, params PullMediaParams) (PullMediaRes, error)
- func (c *Client) PutChatHistory(ctx context.Context, request *ChatHistory, params PutChatHistoryParams) (PutChatHistoryRes, error)
- func (c *Client) PutConfig(ctx context.Context, request Settings) (PutConfigRes, error)
- func (c *Client) PutConfigYAML(ctx context.Context, request *ConfigYAMLEdit) (PutConfigYAMLRes, error)
- func (c *Client) PutDirection(ctx context.Context, request *DirectionEdit, params PutDirectionParams) (PutDirectionRes, error)
- func (c *Client) PutReelAspect(ctx context.Context, request *AspectEdit, params PutReelAspectParams) (PutReelAspectRes, error)
- func (c *Client) PutReelAvatars(ctx context.Context, request *AvatarsEdit, params PutReelAvatarsParams) (PutReelAvatarsRes, error)
- func (c *Client) PutSocial(ctx context.Context, request *SocialEdit, params PutSocialParams) (PutSocialRes, error)
- func (c *Client) PutSource(ctx context.Context, request *SourceEdit, params PutSourceParams) (PutSourceRes, error)
- func (c *Client) PutStoryboard(ctx context.Context, request Storyboard, params PutStoryboardParams) (PutStoryboardRes, error)
- func (c *Client) PutTheme(ctx context.Context, request *ThemeEdit, params PutThemeParams) (PutThemeRes, error)
- func (c *Client) ReclaimStorage(ctx context.Context) (*StorageReclaim, error)
- func (c *Client) RemoveAvatar(ctx context.Context, params RemoveAvatarParams) (RemoveAvatarRes, error)
- func (c *Client) RemoveReel(ctx context.Context, params RemoveReelParams) (RemoveReelRes, error)
- func (c *Client) RemoveTheme(ctx context.Context, params RemoveThemeParams) (RemoveThemeRes, error)
- func (c *Client) RenameReel(ctx context.Context, request *SlugTarget, params RenameReelParams) (RenameReelRes, error)
- func (c *Client) SaveAvatar(ctx context.Context, request *Avatar, params SaveAvatarParams) (SaveAvatarRes, error)
- func (c *Client) SaveTheme(ctx context.Context, request *Theme, params SaveThemeParams) (SaveThemeRes, error)
- func (c *Client) ScreenCards(ctx context.Context, params ScreenCardsParams) (ScreenCardsRes, error)
- func (c *Client) SetBundle(ctx context.Context, request *BundleEdit, params SetBundleParams) (SetBundleRes, error)
- func (c *Client) SetLabel(ctx context.Context, request *LabelEdit, params SetLabelParams) (SetLabelRes, error)
- func (c *Client) StartRender(ctx context.Context, request OptRenderRequest, params StartRenderParams) (StartRenderRes, error)
- func (c *Client) StopRender(ctx context.Context, params StopRenderParams) (StopRenderRes, error)
- func (c *Client) SummariseSource(ctx context.Context, params SummariseSourceParams) (SummariseSourceRes, error)
- func (c *Client) SwitchProject(ctx context.Context, request *ProjectPath) (SwitchProjectRes, error)
- func (c *Client) VerifyStorage(ctx context.Context) (*StorageCheck, error)
- type ClientOption
- type CommitReelBadRequest
- type CommitReelConflict
- type CommitReelInternalServerError
- type CommitReelNotFound
- type CommitReelParams
- type CommitReelRes
- type CommitResult
- func (s *CommitResult) Decode(d *jx.Decoder) error
- func (s *CommitResult) Encode(e *jx.Encoder)
- func (s *CommitResult) GetCommit() OptCommitStatus
- func (s *CommitResult) GetMedia() OptMediaPushStatus
- func (s *CommitResult) GetPush() OptPushStatus
- func (s *CommitResult) MarshalJSON() ([]byte, error)
- func (s *CommitResult) SetCommit(val OptCommitStatus)
- func (s *CommitResult) SetMedia(val OptMediaPushStatus)
- func (s *CommitResult) SetPush(val OptPushStatus)
- func (s *CommitResult) UnmarshalJSON(data []byte) error
- type CommitStatus
- func (s *CommitStatus) Decode(d *jx.Decoder) error
- func (s *CommitStatus) Encode(e *jx.Encoder)
- func (s *CommitStatus) GetCommitted() bool
- func (s *CommitStatus) GetHash() OptString
- func (s *CommitStatus) GetReason() OptString
- func (s *CommitStatus) MarshalJSON() ([]byte, error)
- func (s *CommitStatus) SetCommitted(val bool)
- func (s *CommitStatus) SetHash(val OptString)
- func (s *CommitStatus) SetReason(val OptString)
- func (s *CommitStatus) UnmarshalJSON(data []byte) error
- type ConfigYAML
- func (s *ConfigYAML) Decode(d *jx.Decoder) error
- func (s *ConfigYAML) Encode(e *jx.Encoder)
- func (s *ConfigYAML) GetExists() bool
- func (s *ConfigYAML) GetYaml() string
- func (s *ConfigYAML) MarshalJSON() ([]byte, error)
- func (s *ConfigYAML) SetExists(val bool)
- func (s *ConfigYAML) SetYaml(val string)
- func (s *ConfigYAML) UnmarshalJSON(data []byte) error
- type ConfigYAMLEdit
- type Connection
- func (s *Connection) Decode(d *jx.Decoder) error
- func (s *Connection) Encode(e *jx.Encoder)
- func (s *Connection) GetChecked() OptBool
- func (s *Connection) GetDetail() OptString
- func (s *Connection) GetEnabled() bool
- func (s *Connection) GetExpiresAt() OptString
- func (s *Connection) GetHealth() string
- func (s *Connection) GetPlatform() Platform
- func (s *Connection) MarshalJSON() ([]byte, error)
- func (s *Connection) SetChecked(val OptBool)
- func (s *Connection) SetDetail(val OptString)
- func (s *Connection) SetEnabled(val bool)
- func (s *Connection) SetExpiresAt(val OptString)
- func (s *Connection) SetHealth(val string)
- func (s *Connection) SetPlatform(val Platform)
- func (s *Connection) UnmarshalJSON(data []byte) error
- func (s *Connection) Validate() error
- type Connections
- func (s *Connections) Decode(d *jx.Decoder) error
- func (s *Connections) Encode(e *jx.Encoder)
- func (s *Connections) GetPlatforms() []Connection
- func (s *Connections) MarshalJSON() ([]byte, error)
- func (s *Connections) SetPlatforms(val []Connection)
- func (s *Connections) UnmarshalJSON(data []byte) error
- func (s *Connections) Validate() error
- type Cost
- func (s *Cost) Decode(d *jx.Decoder) error
- func (s *Cost) Encode(e *jx.Encoder)
- func (s *Cost) GetAmount() float64
- func (s *Cost) GetCount() int
- func (s *Cost) GetCurrency() string
- func (s *Cost) GetEstimated() bool
- func (s *Cost) GetMagnitude() OptFloat64
- func (s *Cost) GetPerUnit() float64
- func (s *Cost) GetUnit() CostUnit
- func (s *Cost) MarshalJSON() ([]byte, error)
- func (s *Cost) SetAmount(val float64)
- func (s *Cost) SetCount(val int)
- func (s *Cost) SetCurrency(val string)
- func (s *Cost) SetEstimated(val bool)
- func (s *Cost) SetMagnitude(val OptFloat64)
- func (s *Cost) SetPerUnit(val float64)
- func (s *Cost) SetUnit(val CostUnit)
- func (s *Cost) UnmarshalJSON(data []byte) error
- func (s *Cost) Validate() error
- type CostUnit
- func (CostUnit) AllValues() []CostUnit
- func (s *CostUnit) Decode(d *jx.Decoder) error
- func (s CostUnit) Encode(e *jx.Encoder)
- func (s CostUnit) MarshalJSON() ([]byte, error)
- func (s CostUnit) MarshalText() ([]byte, error)
- func (s *CostUnit) UnmarshalJSON(data []byte) error
- func (s *CostUnit) UnmarshalText(data []byte) error
- func (s CostUnit) Validate() error
- type CreateAvatarBadRequest
- type CreateAvatarInternalServerError
- type CreateAvatarRes
- type CreateReelBadRequest
- type CreateReelConflict
- type CreateReelInternalServerError
- type CreateReelRes
- type CreateThemeBadRequest
- type CreateThemeRes
- type CreateThemeServiceUnavailable
- type DirectionEdit
- func (s *DirectionEdit) Decode(d *jx.Decoder) error
- func (s *DirectionEdit) Encode(e *jx.Encoder)
- func (s *DirectionEdit) GetDirection() string
- func (s *DirectionEdit) MarshalJSON() ([]byte, error)
- func (s *DirectionEdit) SetDirection(val string)
- func (s *DirectionEdit) UnmarshalJSON(data []byte) error
- type DuplicateReelBadRequest
- type DuplicateReelConflict
- type DuplicateReelInternalServerError
- type DuplicateReelNotFound
- type DuplicateReelParams
- type DuplicateReelRes
- type Error
- type ErrorHandler
- type Font
- func (s *Font) Decode(d *jx.Decoder) error
- func (s *Font) Encode(e *jx.Encoder)
- func (s *Font) GetName() string
- func (s *Font) GetSource() string
- func (s *Font) MarshalJSON() ([]byte, error)
- func (s *Font) SetName(val string)
- func (s *Font) SetSource(val string)
- func (s *Font) UnmarshalJSON(data []byte) error
- type Fonts
- type ForgetProjectBadRequest
- type ForgetProjectInternalServerError
- type ForgetProjectRes
- type GCReport
- func (s *GCReport) Decode(d *jx.Decoder) error
- func (s *GCReport) Encode(e *jx.Encoder)
- func (s *GCReport) GetDeleted() int
- func (s *GCReport) GetOrphanBytes() int64
- func (s *GCReport) GetOrphans() int
- func (s *GCReport) GetPruned() bool
- func (s *GCReport) GetReferenced() int
- func (s *GCReport) GetSampleOrphan() []string
- func (s *GCReport) GetUnclaimed() []string
- func (s *GCReport) MarshalJSON() ([]byte, error)
- func (s *GCReport) SetDeleted(val int)
- func (s *GCReport) SetOrphanBytes(val int64)
- func (s *GCReport) SetOrphans(val int)
- func (s *GCReport) SetPruned(val bool)
- func (s *GCReport) SetReferenced(val int)
- func (s *GCReport) SetSampleOrphan(val []string)
- func (s *GCReport) SetUnclaimed(val []string)
- func (s *GCReport) UnmarshalJSON(data []byte) error
- type GenSocialBadRequest
- type GenSocialConflict
- type GenSocialNotFound
- type GenSocialParams
- type GenSocialRes
- type GenSocialServiceUnavailable
- type GenerateCardBadRequest
- type GenerateCardConflict
- type GenerateCardInternalServerError
- type GenerateCardNotFound
- type GenerateCardParams
- type GenerateCardRes
- type GenerateCardServiceUnavailable
- type GenerateCardVOBadRequest
- type GenerateCardVOConflict
- type GenerateCardVOInternalServerError
- type GenerateCardVONotFound
- type GenerateCardVOParams
- type GenerateCardVORes
- type GenerateCardVOServiceUnavailable
- type GenerateCoverBadRequest
- type GenerateCoverConflict
- type GenerateCoverInternalServerError
- type GenerateCoverNotFound
- type GenerateCoverParams
- type GenerateCoverRes
- type GenerateCoverServiceUnavailable
- type GenerateMusicBadRequest
- type GenerateMusicConflict
- type GenerateMusicInternalServerError
- type GenerateMusicNotFound
- type GenerateMusicParams
- type GenerateMusicRes
- type GenerateMusicServiceUnavailable
- type GeneratePortraitBadRequest
- type GeneratePortraitConflict
- type GeneratePortraitInternalServerError
- type GeneratePortraitNotFound
- type GeneratePortraitParams
- type GeneratePortraitRes
- type GeneratePortraitServiceUnavailable
- type GenerateRequest
- func (s *GenerateRequest) Decode(d *jx.Decoder) error
- func (s *GenerateRequest) Encode(e *jx.Encoder)
- func (s *GenerateRequest) GetScene() OptString
- func (s *GenerateRequest) GetTakes() OptInt
- func (s *GenerateRequest) GetTheme() OptString
- func (s *GenerateRequest) MarshalJSON() ([]byte, error)
- func (s *GenerateRequest) SetScene(val OptString)
- func (s *GenerateRequest) SetTakes(val OptInt)
- func (s *GenerateRequest) SetTheme(val OptString)
- func (s *GenerateRequest) UnmarshalJSON(data []byte) error
- func (s *GenerateRequest) Validate() error
- type GetArticleBadRequest
- type GetArticleInternalServerError
- type GetArticleParams
- type GetArticleRes
- type GetChatHistoryBadRequest
- type GetChatHistoryConflict
- type GetChatHistoryInternalServerError
- type GetChatHistoryNotFound
- type GetChatHistoryParams
- type GetChatHistoryRes
- type GetConfigRes
- type GetConfigYAMLInternalServerError
- type GetConfigYAMLRes
- type GetConfigYAMLUnprocessableEntity
- type GetJobParams
- type GetJobRes
- type GetOutcomeBadRequest
- type GetOutcomeConflict
- type GetOutcomeInternalServerError
- type GetOutcomeNotFound
- type GetOutcomeParams
- type GetOutcomeRes
- type GetQuotaBadGateway
- type GetQuotaRes
- type GetQuotaServiceUnavailable
- type GetQuotaUnprocessableEntity
- type GetSocialBadRequest
- type GetSocialConflict
- type GetSocialInternalServerError
- type GetSocialNotFound
- type GetSocialParams
- type GetSocialRes
- type GetSpendBadRequest
- type GetSpendConflict
- type GetSpendInternalServerError
- type GetSpendNotFound
- type GetSpendParams
- type GetSpendRes
- type GetTimelineBadRequest
- type GetTimelineConflict
- type GetTimelineInternalServerError
- type GetTimelineNotFound
- type GetTimelineParams
- type GetTimelineRes
- type GetWorkspaceBadRequest
- type GetWorkspaceConflict
- type GetWorkspaceInternalServerError
- type GetWorkspaceNotFound
- type GetWorkspaceParams
- type GetWorkspaceRes
- type GitOutcome
- func (s *GitOutcome) Decode(d *jx.Decoder) error
- func (s *GitOutcome) Encode(e *jx.Encoder)
- func (s *GitOutcome) GetAt() time.Time
- func (s *GitOutcome) GetCommit() OptCommitStatus
- func (s *GitOutcome) GetPush() OptPushStatus
- func (s *GitOutcome) MarshalJSON() ([]byte, error)
- func (s *GitOutcome) SetAt(val time.Time)
- func (s *GitOutcome) SetCommit(val OptCommitStatus)
- func (s *GitOutcome) SetPush(val OptPushStatus)
- func (s *GitOutcome) UnmarshalJSON(data []byte) error
- type Handler
- type Invoker
- type Issue
- func (s *Issue) Decode(d *jx.Decoder) error
- func (s *Issue) Encode(e *jx.Encoder)
- func (s *Issue) GetCard() int
- func (s *Issue) GetMsg() string
- func (s *Issue) MarshalJSON() ([]byte, error)
- func (s *Issue) SetCard(val int)
- func (s *Issue) SetMsg(val string)
- func (s *Issue) UnmarshalJSON(data []byte) error
- type Job
- func (s *Job) Decode(d *jx.Decoder) error
- func (s *Job) Encode(e *jx.Encoder)
- func (s *Job) GetBackend() OptString
- func (s *Job) GetBackendNote() OptString
- func (s *Job) GetCard() OptInt
- func (s *Job) GetCost() Cost
- func (s *Job) GetElapsedMs() int64
- func (s *Job) GetError() OptString
- func (s *Job) GetEtaMs() int64
- func (s *Job) GetID() string
- func (s *Job) GetKind() string
- func (s *Job) GetOutput() OptString
- func (s *Job) GetPercent() OptFloat64
- func (s *Job) GetResults() []string
- func (s *Job) GetState() JobState
- func (s *Job) GetTakes() []string
- func (s *Job) MarshalJSON() ([]byte, error)
- func (s *Job) SetBackend(val OptString)
- func (s *Job) SetBackendNote(val OptString)
- func (s *Job) SetCard(val OptInt)
- func (s *Job) SetCost(val Cost)
- func (s *Job) SetElapsedMs(val int64)
- func (s *Job) SetError(val OptString)
- func (s *Job) SetEtaMs(val int64)
- func (s *Job) SetID(val string)
- func (s *Job) SetKind(val string)
- func (s *Job) SetOutput(val OptString)
- func (s *Job) SetPercent(val OptFloat64)
- func (s *Job) SetResults(val []string)
- func (s *Job) SetState(val JobState)
- func (s *Job) SetTakes(val []string)
- func (s *Job) UnmarshalJSON(data []byte) error
- func (s *Job) Validate() error
- type JobState
- func (JobState) AllValues() []JobState
- func (s *JobState) Decode(d *jx.Decoder) error
- func (s JobState) Encode(e *jx.Encoder)
- func (s JobState) MarshalJSON() ([]byte, error)
- func (s JobState) MarshalText() ([]byte, error)
- func (s *JobState) UnmarshalJSON(data []byte) error
- func (s *JobState) UnmarshalText(data []byte) error
- func (s JobState) Validate() error
- type LabelEdit
- type Labeler
- type ListAvatarsOKApplicationJSON
- func (s *ListAvatarsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListAvatarsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListAvatarsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListAvatarsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListAvatarsOKApplicationJSON) Validate() error
- type ListAvatarsRes
- type ListCardScreensBadRequest
- type ListCardScreensConflict
- type ListCardScreensInternalServerError
- type ListCardScreensNotFound
- type ListCardScreensOKApplicationJSON
- func (s *ListCardScreensOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListCardScreensOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListCardScreensOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListCardScreensOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListCardScreensOKApplicationJSON) Validate() error
- type ListCardScreensParams
- type ListCardScreensRes
- type ListCardTakesBadRequest
- type ListCardTakesConflict
- type ListCardTakesInternalServerError
- type ListCardTakesNotFound
- type ListCardTakesParams
- type ListCardTakesRes
- type ListCardVOTakesBadRequest
- type ListCardVOTakesConflict
- type ListCardVOTakesInternalServerError
- type ListCardVOTakesNotFound
- type ListCardVOTakesParams
- type ListCardVOTakesRes
- type ListCoverTakesBadRequest
- type ListCoverTakesConflict
- type ListCoverTakesInternalServerError
- type ListCoverTakesNotFound
- type ListCoverTakesParams
- type ListCoverTakesRes
- type ListFontsRes
- type ListMusicTakesBadRequest
- type ListMusicTakesConflict
- type ListMusicTakesInternalServerError
- type ListMusicTakesNotFound
- type ListMusicTakesParams
- type ListMusicTakesRes
- type ListPortraitRefsBadRequest
- type ListPortraitRefsConflict
- type ListPortraitRefsInternalServerError
- type ListPortraitRefsNotFound
- type ListPortraitRefsParams
- type ListPortraitRefsRes
- type ListPortraitTakesBadRequest
- type ListPortraitTakesConflict
- type ListPortraitTakesInternalServerError
- func (s *ListPortraitTakesInternalServerError) Decode(d *jx.Decoder) error
- func (s *ListPortraitTakesInternalServerError) Encode(e *jx.Encoder)
- func (s *ListPortraitTakesInternalServerError) MarshalJSON() ([]byte, error)
- func (s *ListPortraitTakesInternalServerError) UnmarshalJSON(data []byte) error
- type ListPortraitTakesNotFound
- type ListPortraitTakesParams
- type ListPortraitTakesRes
- type ListPostsOKApplicationJSON
- func (s *ListPostsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListPostsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListPostsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListPostsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListPostsOKApplicationJSON) Validate() error
- type ListPostsRes
- type ListProjectsRes
- type ListReelsOKApplicationJSON
- func (s *ListReelsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ListReelsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ListReelsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ListReelsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ListReelsOKApplicationJSON) Validate() error
- type ListReelsRes
- type MediaPullStatus
- func (s *MediaPullStatus) Decode(d *jx.Decoder) error
- func (s *MediaPullStatus) Encode(e *jx.Encoder)
- func (s *MediaPullStatus) GetError() OptString
- func (s *MediaPullStatus) GetFetched() OptInt
- func (s *MediaPullStatus) GetFetchedBytes() OptInt64
- func (s *MediaPullStatus) GetSkipped() OptString
- func (s *MediaPullStatus) GetSkippedModified() OptInt
- func (s *MediaPullStatus) GetUpToDate() OptInt
- func (s *MediaPullStatus) MarshalJSON() ([]byte, error)
- func (s *MediaPullStatus) SetError(val OptString)
- func (s *MediaPullStatus) SetFetched(val OptInt)
- func (s *MediaPullStatus) SetFetchedBytes(val OptInt64)
- func (s *MediaPullStatus) SetSkipped(val OptString)
- func (s *MediaPullStatus) SetSkippedModified(val OptInt)
- func (s *MediaPullStatus) SetUpToDate(val OptInt)
- func (s *MediaPullStatus) UnmarshalJSON(data []byte) error
- type MediaPushStatus
- func (s *MediaPushStatus) Decode(d *jx.Decoder) error
- func (s *MediaPushStatus) Encode(e *jx.Encoder)
- func (s *MediaPushStatus) GetError() OptString
- func (s *MediaPushStatus) GetPushed() OptInt
- func (s *MediaPushStatus) GetPushedBytes() OptInt64
- func (s *MediaPushStatus) GetRemoved() OptInt
- func (s *MediaPushStatus) GetSkipped() OptString
- func (s *MediaPushStatus) GetUnchanged() OptInt
- func (s *MediaPushStatus) MarshalJSON() ([]byte, error)
- func (s *MediaPushStatus) SetError(val OptString)
- func (s *MediaPushStatus) SetPushed(val OptInt)
- func (s *MediaPushStatus) SetPushedBytes(val OptInt64)
- func (s *MediaPushStatus) SetRemoved(val OptInt)
- func (s *MediaPushStatus) SetSkipped(val OptString)
- func (s *MediaPushStatus) SetUnchanged(val OptInt)
- func (s *MediaPushStatus) UnmarshalJSON(data []byte) error
- type Middleware
- type NewReel
- func (s *NewReel) Decode(d *jx.Decoder) error
- func (s *NewReel) Encode(e *jx.Encoder)
- func (s *NewReel) GetBundle() OptString
- func (s *NewReel) GetLabel() OptString
- func (s *NewReel) GetSlug() string
- func (s *NewReel) GetTheme() OptString
- func (s *NewReel) MarshalJSON() ([]byte, error)
- func (s *NewReel) SetBundle(val OptString)
- func (s *NewReel) SetLabel(val OptString)
- func (s *NewReel) SetSlug(val string)
- func (s *NewReel) SetTheme(val OptString)
- func (s *NewReel) UnmarshalJSON(data []byte) error
- type OperationName
- type OptAnchor
- func (o *OptAnchor) Decode(d *jx.Decoder) error
- func (o OptAnchor) Encode(e *jx.Encoder)
- func (o OptAnchor) Get() (v Anchor, ok bool)
- func (o OptAnchor) IsSet() bool
- func (s OptAnchor) MarshalJSON() ([]byte, error)
- func (o OptAnchor) Or(d Anchor) Anchor
- func (o *OptAnchor) Reset()
- func (o *OptAnchor) SetTo(v Anchor)
- func (s *OptAnchor) UnmarshalJSON(data []byte) error
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptCardMedia
- func (o *OptCardMedia) Decode(d *jx.Decoder) error
- func (o OptCardMedia) Encode(e *jx.Encoder)
- func (o OptCardMedia) Get() (v CardMedia, ok bool)
- func (o OptCardMedia) IsSet() bool
- func (s OptCardMedia) MarshalJSON() ([]byte, error)
- func (o OptCardMedia) Or(d CardMedia) CardMedia
- func (o *OptCardMedia) Reset()
- func (o *OptCardMedia) SetTo(v CardMedia)
- func (s *OptCardMedia) UnmarshalJSON(data []byte) error
- type OptCardMode
- func (o *OptCardMode) Decode(d *jx.Decoder) error
- func (o OptCardMode) Encode(e *jx.Encoder)
- func (o OptCardMode) Get() (v CardMode, ok bool)
- func (o OptCardMode) IsSet() bool
- func (s OptCardMode) MarshalJSON() ([]byte, error)
- func (o OptCardMode) Or(d CardMode) CardMode
- func (o *OptCardMode) Reset()
- func (o *OptCardMode) SetTo(v CardMode)
- func (s *OptCardMode) UnmarshalJSON(data []byte) error
- type OptCardScrim
- func (o *OptCardScrim) Decode(d *jx.Decoder) error
- func (o OptCardScrim) Encode(e *jx.Encoder)
- func (o OptCardScrim) Get() (v CardScrim, ok bool)
- func (o OptCardScrim) IsSet() bool
- func (s OptCardScrim) MarshalJSON() ([]byte, error)
- func (o OptCardScrim) Or(d CardScrim) CardScrim
- func (o *OptCardScrim) Reset()
- func (o *OptCardScrim) SetTo(v CardScrim)
- func (s *OptCardScrim) UnmarshalJSON(data []byte) error
- type OptCardScrimDirection
- func (o *OptCardScrimDirection) Decode(d *jx.Decoder) error
- func (o OptCardScrimDirection) Encode(e *jx.Encoder)
- func (o OptCardScrimDirection) Get() (v CardScrimDirection, ok bool)
- func (o OptCardScrimDirection) IsSet() bool
- func (s OptCardScrimDirection) MarshalJSON() ([]byte, error)
- func (o OptCardScrimDirection) Or(d CardScrimDirection) CardScrimDirection
- func (o *OptCardScrimDirection) Reset()
- func (o *OptCardScrimDirection) SetTo(v CardScrimDirection)
- func (s *OptCardScrimDirection) UnmarshalJSON(data []byte) error
- type OptCommitStatus
- func (o *OptCommitStatus) Decode(d *jx.Decoder) error
- func (o OptCommitStatus) Encode(e *jx.Encoder)
- func (o OptCommitStatus) Get() (v CommitStatus, ok bool)
- func (o OptCommitStatus) IsSet() bool
- func (s OptCommitStatus) MarshalJSON() ([]byte, error)
- func (o OptCommitStatus) Or(d CommitStatus) CommitStatus
- func (o *OptCommitStatus) Reset()
- func (o *OptCommitStatus) SetTo(v CommitStatus)
- func (s *OptCommitStatus) UnmarshalJSON(data []byte) error
- type OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptGCReport
- func (o *OptGCReport) Decode(d *jx.Decoder) error
- func (o OptGCReport) Encode(e *jx.Encoder)
- func (o OptGCReport) Get() (v GCReport, ok bool)
- func (o OptGCReport) IsSet() bool
- func (s OptGCReport) MarshalJSON() ([]byte, error)
- func (o OptGCReport) Or(d GCReport) GCReport
- func (o *OptGCReport) Reset()
- func (o *OptGCReport) SetTo(v GCReport)
- func (s *OptGCReport) UnmarshalJSON(data []byte) error
- type OptGenerateRequest
- func (o *OptGenerateRequest) Decode(d *jx.Decoder) error
- func (o OptGenerateRequest) Encode(e *jx.Encoder)
- func (o OptGenerateRequest) Get() (v GenerateRequest, ok bool)
- func (o OptGenerateRequest) IsSet() bool
- func (s OptGenerateRequest) MarshalJSON() ([]byte, error)
- func (o OptGenerateRequest) Or(d GenerateRequest) GenerateRequest
- func (o *OptGenerateRequest) Reset()
- func (o *OptGenerateRequest) SetTo(v GenerateRequest)
- func (s *OptGenerateRequest) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptInt64
- func (o *OptInt64) Decode(d *jx.Decoder) error
- func (o OptInt64) Encode(e *jx.Encoder)
- func (o OptInt64) Get() (v int64, ok bool)
- func (o OptInt64) IsSet() bool
- func (s OptInt64) MarshalJSON() ([]byte, error)
- func (o OptInt64) Or(d int64) int64
- func (o *OptInt64) Reset()
- func (o *OptInt64) SetTo(v int64)
- func (s *OptInt64) UnmarshalJSON(data []byte) error
- type OptMediaPushStatus
- func (o *OptMediaPushStatus) Decode(d *jx.Decoder) error
- func (o OptMediaPushStatus) Encode(e *jx.Encoder)
- func (o OptMediaPushStatus) Get() (v MediaPushStatus, ok bool)
- func (o OptMediaPushStatus) IsSet() bool
- func (s OptMediaPushStatus) MarshalJSON() ([]byte, error)
- func (o OptMediaPushStatus) Or(d MediaPushStatus) MediaPushStatus
- func (o *OptMediaPushStatus) Reset()
- func (o *OptMediaPushStatus) SetTo(v MediaPushStatus)
- func (s *OptMediaPushStatus) UnmarshalJSON(data []byte) error
- type OptPalette
- func (o *OptPalette) Decode(d *jx.Decoder) error
- func (o OptPalette) Encode(e *jx.Encoder)
- func (o OptPalette) Get() (v Palette, ok bool)
- func (o OptPalette) IsSet() bool
- func (s OptPalette) MarshalJSON() ([]byte, error)
- func (o OptPalette) Or(d Palette) Palette
- func (o *OptPalette) Reset()
- func (o *OptPalette) SetTo(v Palette)
- func (s *OptPalette) UnmarshalJSON(data []byte) error
- type OptPostRequest
- func (o *OptPostRequest) Decode(d *jx.Decoder) error
- func (o OptPostRequest) Encode(e *jx.Encoder)
- func (o OptPostRequest) Get() (v PostRequest, ok bool)
- func (o OptPostRequest) IsSet() bool
- func (s OptPostRequest) MarshalJSON() ([]byte, error)
- func (o OptPostRequest) Or(d PostRequest) PostRequest
- func (o *OptPostRequest) Reset()
- func (o *OptPostRequest) SetTo(v PostRequest)
- func (s *OptPostRequest) UnmarshalJSON(data []byte) error
- type OptPostTaxonomy
- func (o *OptPostTaxonomy) Decode(d *jx.Decoder) error
- func (o OptPostTaxonomy) Encode(e *jx.Encoder)
- func (o OptPostTaxonomy) Get() (v PostTaxonomy, ok bool)
- func (o OptPostTaxonomy) IsSet() bool
- func (s OptPostTaxonomy) MarshalJSON() ([]byte, error)
- func (o OptPostTaxonomy) Or(d PostTaxonomy) PostTaxonomy
- func (o *OptPostTaxonomy) Reset()
- func (o *OptPostTaxonomy) SetTo(v PostTaxonomy)
- func (s *OptPostTaxonomy) UnmarshalJSON(data []byte) error
- type OptPushStatus
- func (o *OptPushStatus) Decode(d *jx.Decoder) error
- func (o OptPushStatus) Encode(e *jx.Encoder)
- func (o OptPushStatus) Get() (v PushStatus, ok bool)
- func (o OptPushStatus) IsSet() bool
- func (s OptPushStatus) MarshalJSON() ([]byte, error)
- func (o OptPushStatus) Or(d PushStatus) PushStatus
- func (o *OptPushStatus) Reset()
- func (o *OptPushStatus) SetTo(v PushStatus)
- func (s *OptPushStatus) UnmarshalJSON(data []byte) error
- type OptRenderRequest
- func (o *OptRenderRequest) Decode(d *jx.Decoder) error
- func (o OptRenderRequest) Encode(e *jx.Encoder)
- func (o OptRenderRequest) Get() (v RenderRequest, ok bool)
- func (o OptRenderRequest) IsSet() bool
- func (s OptRenderRequest) MarshalJSON() ([]byte, error)
- func (o OptRenderRequest) Or(d RenderRequest) RenderRequest
- func (o *OptRenderRequest) Reset()
- func (o *OptRenderRequest) SetTo(v RenderRequest)
- func (s *OptRenderRequest) UnmarshalJSON(data []byte) error
- type OptScrim
- func (o *OptScrim) Decode(d *jx.Decoder) error
- func (o OptScrim) Encode(e *jx.Encoder)
- func (o OptScrim) Get() (v Scrim, ok bool)
- func (o OptScrim) IsSet() bool
- func (s OptScrim) MarshalJSON() ([]byte, error)
- func (o OptScrim) Or(d Scrim) Scrim
- func (o *OptScrim) Reset()
- func (o *OptScrim) SetTo(v Scrim)
- func (s *OptScrim) UnmarshalJSON(data []byte) error
- type OptScrimDirection
- func (o *OptScrimDirection) Decode(d *jx.Decoder) error
- func (o OptScrimDirection) Encode(e *jx.Encoder)
- func (o OptScrimDirection) Get() (v ScrimDirection, ok bool)
- func (o OptScrimDirection) IsSet() bool
- func (s OptScrimDirection) MarshalJSON() ([]byte, error)
- func (o OptScrimDirection) Or(d ScrimDirection) ScrimDirection
- func (o *OptScrimDirection) Reset()
- func (o *OptScrimDirection) SetTo(v ScrimDirection)
- func (s *OptScrimDirection) UnmarshalJSON(data []byte) error
- type OptSocialApproval
- func (o *OptSocialApproval) Decode(d *jx.Decoder) error
- func (o OptSocialApproval) Encode(e *jx.Encoder)
- func (o OptSocialApproval) Get() (v SocialApproval, ok bool)
- func (o OptSocialApproval) IsSet() bool
- func (s OptSocialApproval) MarshalJSON() ([]byte, error)
- func (o OptSocialApproval) Or(d SocialApproval) SocialApproval
- func (o *OptSocialApproval) Reset()
- func (o *OptSocialApproval) SetTo(v SocialApproval)
- func (s *OptSocialApproval) UnmarshalJSON(data []byte) error
- type OptSpendConfirm
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptTextBlockAlign
- func (o *OptTextBlockAlign) Decode(d *jx.Decoder) error
- func (o OptTextBlockAlign) Encode(e *jx.Encoder)
- func (o OptTextBlockAlign) Get() (v TextBlockAlign, ok bool)
- func (o OptTextBlockAlign) IsSet() bool
- func (s OptTextBlockAlign) MarshalJSON() ([]byte, error)
- func (o OptTextBlockAlign) Or(d TextBlockAlign) TextBlockAlign
- func (o *OptTextBlockAlign) Reset()
- func (o *OptTextBlockAlign) SetTo(v TextBlockAlign)
- func (s *OptTextBlockAlign) UnmarshalJSON(data []byte) error
- type OptThemeCard
- func (o *OptThemeCard) Decode(d *jx.Decoder) error
- func (o OptThemeCard) Encode(e *jx.Encoder)
- func (o OptThemeCard) Get() (v ThemeCard, ok bool)
- func (o OptThemeCard) IsSet() bool
- func (s OptThemeCard) MarshalJSON() ([]byte, error)
- func (o OptThemeCard) Or(d ThemeCard) ThemeCard
- func (o *OptThemeCard) Reset()
- func (o *OptThemeCard) SetTo(v ThemeCard)
- func (s *OptThemeCard) UnmarshalJSON(data []byte) error
- type OptThemeCardMode
- func (o *OptThemeCardMode) Decode(d *jx.Decoder) error
- func (o OptThemeCardMode) Encode(e *jx.Encoder)
- func (o OptThemeCardMode) Get() (v ThemeCardMode, ok bool)
- func (o OptThemeCardMode) IsSet() bool
- func (s OptThemeCardMode) MarshalJSON() ([]byte, error)
- func (o OptThemeCardMode) Or(d ThemeCardMode) ThemeCardMode
- func (o *OptThemeCardMode) Reset()
- func (o *OptThemeCardMode) SetTo(v ThemeCardMode)
- func (s *OptThemeCardMode) UnmarshalJSON(data []byte) error
- type OptThemeFormats
- func (o *OptThemeFormats) Decode(d *jx.Decoder) error
- func (o OptThemeFormats) Encode(e *jx.Encoder)
- func (o OptThemeFormats) Get() (v ThemeFormats, ok bool)
- func (o OptThemeFormats) IsSet() bool
- func (s OptThemeFormats) MarshalJSON() ([]byte, error)
- func (o OptThemeFormats) Or(d ThemeFormats) ThemeFormats
- func (o *OptThemeFormats) Reset()
- func (o *OptThemeFormats) SetTo(v ThemeFormats)
- func (s *OptThemeFormats) UnmarshalJSON(data []byte) error
- type OptThemeMusic
- func (o *OptThemeMusic) Decode(d *jx.Decoder) error
- func (o OptThemeMusic) Encode(e *jx.Encoder)
- func (o OptThemeMusic) Get() (v ThemeMusic, ok bool)
- func (o OptThemeMusic) IsSet() bool
- func (s OptThemeMusic) MarshalJSON() ([]byte, error)
- func (o OptThemeMusic) Or(d ThemeMusic) ThemeMusic
- func (o *OptThemeMusic) Reset()
- func (o *OptThemeMusic) SetTo(v ThemeMusic)
- func (s *OptThemeMusic) UnmarshalJSON(data []byte) error
- type OptThemeVoice
- func (o *OptThemeVoice) Decode(d *jx.Decoder) error
- func (o OptThemeVoice) Encode(e *jx.Encoder)
- func (o OptThemeVoice) Get() (v ThemeVoice, ok bool)
- func (o OptThemeVoice) IsSet() bool
- func (s OptThemeVoice) MarshalJSON() ([]byte, error)
- func (o OptThemeVoice) Or(d ThemeVoice) ThemeVoice
- func (o *OptThemeVoice) Reset()
- func (o *OptThemeVoice) SetTo(v ThemeVoice)
- func (s *OptThemeVoice) UnmarshalJSON(data []byte) error
- type OptVoiceOverride
- func (o *OptVoiceOverride) Decode(d *jx.Decoder) error
- func (o OptVoiceOverride) Encode(e *jx.Encoder)
- func (o OptVoiceOverride) Get() (v VoiceOverride, ok bool)
- func (o OptVoiceOverride) IsSet() bool
- func (s OptVoiceOverride) MarshalJSON() ([]byte, error)
- func (o OptVoiceOverride) Or(d VoiceOverride) VoiceOverride
- func (o *OptVoiceOverride) Reset()
- func (o *OptVoiceOverride) SetTo(v VoiceOverride)
- func (s *OptVoiceOverride) UnmarshalJSON(data []byte) error
- type Option
- type Palette
- type PickCardTakeBadRequest
- type PickCardTakeConflict
- type PickCardTakeInternalServerError
- type PickCardTakeNotFound
- type PickCardTakeOK
- type PickCardTakeParams
- type PickCardTakeRes
- type PickCardTakeUnprocessableEntity
- func (s *PickCardTakeUnprocessableEntity) Decode(d *jx.Decoder) error
- func (s *PickCardTakeUnprocessableEntity) Encode(e *jx.Encoder)
- func (s *PickCardTakeUnprocessableEntity) MarshalJSON() ([]byte, error)
- func (s *PickCardTakeUnprocessableEntity) UnmarshalJSON(data []byte) error
- func (s *PickCardTakeUnprocessableEntity) Validate() error
- type PickCardVOBadRequest
- type PickCardVOConflict
- type PickCardVOInternalServerError
- type PickCardVONotFound
- type PickCardVOParams
- type PickCardVORes
- type PickCoverBadRequest
- type PickCoverConflict
- type PickCoverInternalServerError
- type PickCoverNotFound
- type PickCoverParams
- type PickCoverRes
- type PickMusicBadRequest
- type PickMusicConflict
- type PickMusicInternalServerError
- type PickMusicNotFound
- type PickMusicParams
- type PickMusicRes
- type PickPortraitBadRequest
- type PickPortraitConflict
- type PickPortraitInternalServerError
- type PickPortraitNotFound
- type PickPortraitParams
- type PickPortraitRes
- type PickTake
- type PickVOTake
- func (s *PickVOTake) Decode(d *jx.Decoder) error
- func (s *PickVOTake) Encode(e *jx.Encoder)
- func (s *PickVOTake) GetLock() OptBool
- func (s *PickVOTake) GetTake() string
- func (s *PickVOTake) MarshalJSON() ([]byte, error)
- func (s *PickVOTake) SetLock(val OptBool)
- func (s *PickVOTake) SetTake(val string)
- func (s *PickVOTake) UnmarshalJSON(data []byte) error
- type Platform
- func (Platform) AllValues() []Platform
- func (s *Platform) Decode(d *jx.Decoder) error
- func (s Platform) Encode(e *jx.Encoder)
- func (s Platform) MarshalJSON() ([]byte, error)
- func (s Platform) MarshalText() ([]byte, error)
- func (s *Platform) UnmarshalJSON(data []byte) error
- func (s *Platform) UnmarshalText(data []byte) error
- func (s Platform) Validate() error
- type Post
- func (s *Post) Decode(d *jx.Decoder) error
- func (s *Post) Encode(e *jx.Encoder)
- func (s *Post) GetBundle() string
- func (s *Post) GetDate() OptString
- func (s *Post) GetDraft() OptBool
- func (s *Post) GetImage() OptString
- func (s *Post) GetSection() OptString
- func (s *Post) GetSlug() string
- func (s *Post) GetSummary() OptString
- func (s *Post) GetTaxonomy() OptPostTaxonomy
- func (s *Post) GetTitle() string
- func (s *Post) MarshalJSON() ([]byte, error)
- func (s *Post) SetBundle(val string)
- func (s *Post) SetDate(val OptString)
- func (s *Post) SetDraft(val OptBool)
- func (s *Post) SetImage(val OptString)
- func (s *Post) SetSection(val OptString)
- func (s *Post) SetSlug(val string)
- func (s *Post) SetSummary(val OptString)
- func (s *Post) SetTaxonomy(val OptPostTaxonomy)
- func (s *Post) SetTitle(val string)
- func (s *Post) UnmarshalJSON(data []byte) error
- func (s *Post) Validate() error
- type PostRequest
- func (s *PostRequest) Decode(d *jx.Decoder) error
- func (s *PostRequest) Encode(e *jx.Encoder)
- func (s *PostRequest) GetPlatforms() []Platform
- func (s *PostRequest) MarshalJSON() ([]byte, error)
- func (s *PostRequest) SetPlatforms(val []Platform)
- func (s *PostRequest) UnmarshalJSON(data []byte) error
- func (s *PostRequest) Validate() error
- type PostSocialBadRequest
- type PostSocialConflict
- type PostSocialNotFound
- type PostSocialParams
- type PostSocialRes
- type PostSocialServiceUnavailable
- type PostTaxonomy
- type Project
- func (s *Project) Decode(d *jx.Decoder) error
- func (s *Project) Encode(e *jx.Encoder)
- func (s *Project) GetActive() bool
- func (s *Project) GetName() string
- func (s *Project) GetPath() string
- func (s *Project) GetRemote() OptString
- func (s *Project) GetStorage() OptString
- func (s *Project) MarshalJSON() ([]byte, error)
- func (s *Project) SetActive(val bool)
- func (s *Project) SetName(val string)
- func (s *Project) SetPath(val string)
- func (s *Project) SetRemote(val OptString)
- func (s *Project) SetStorage(val OptString)
- func (s *Project) UnmarshalJSON(data []byte) error
- type ProjectPath
- type Projects
- func (s *Projects) Decode(d *jx.Decoder) error
- func (s *Projects) Encode(e *jx.Encoder)
- func (s *Projects) GetActive() string
- func (s *Projects) GetProjects() []Project
- func (s *Projects) MarshalJSON() ([]byte, error)
- func (s *Projects) SetActive(val string)
- func (s *Projects) SetProjects(val []Project)
- func (s *Projects) UnmarshalJSON(data []byte) error
- func (s *Projects) Validate() error
- type PromoteThemeNotFound
- type PromoteThemeParams
- type PromoteThemeRes
- type PromoteThemeServiceUnavailable
- type PullMediaBadRequest
- type PullMediaConflict
- type PullMediaNotFound
- type PullMediaParams
- type PullMediaRes
- type PushStatus
- func (s *PushStatus) Decode(d *jx.Decoder) error
- func (s *PushStatus) Encode(e *jx.Encoder)
- func (s *PushStatus) GetPushed() bool
- func (s *PushStatus) GetReason() OptString
- func (s *PushStatus) MarshalJSON() ([]byte, error)
- func (s *PushStatus) SetPushed(val bool)
- func (s *PushStatus) SetReason(val OptString)
- func (s *PushStatus) UnmarshalJSON(data []byte) error
- type PutChatHistoryBadRequest
- type PutChatHistoryConflict
- type PutChatHistoryInternalServerError
- type PutChatHistoryNotFound
- type PutChatHistoryParams
- type PutChatHistoryRes
- type PutConfigBadRequest
- type PutConfigRes
- type PutConfigServiceUnavailable
- type PutConfigUnprocessableEntity
- type PutConfigYAMLBadRequest
- type PutConfigYAMLInternalServerError
- type PutConfigYAMLRes
- type PutConfigYAMLUnprocessableEntity
- type PutDirectionBadRequest
- type PutDirectionConflict
- type PutDirectionInternalServerError
- type PutDirectionNotFound
- type PutDirectionParams
- type PutDirectionRes
- type PutReelAspectBadRequest
- type PutReelAspectConflict
- type PutReelAspectInternalServerError
- type PutReelAspectNotFound
- type PutReelAspectParams
- type PutReelAspectRes
- type PutReelAvatarsBadRequest
- type PutReelAvatarsConflict
- type PutReelAvatarsInternalServerError
- type PutReelAvatarsNotFound
- type PutReelAvatarsParams
- type PutReelAvatarsRes
- type PutSocialBadRequest
- type PutSocialConflict
- type PutSocialInternalServerError
- type PutSocialNotFound
- type PutSocialParams
- type PutSocialRes
- type PutSourceBadRequest
- type PutSourceConflict
- type PutSourceInternalServerError
- type PutSourceNotFound
- type PutSourceParams
- type PutSourceRes
- type PutStoryboardBadRequest
- type PutStoryboardConflict
- type PutStoryboardInternalServerError
- type PutStoryboardNotFound
- type PutStoryboardOK
- type PutStoryboardParams
- type PutStoryboardRes
- type PutStoryboardUnprocessableEntity
- func (s *PutStoryboardUnprocessableEntity) Decode(d *jx.Decoder) error
- func (s *PutStoryboardUnprocessableEntity) Encode(e *jx.Encoder)
- func (s *PutStoryboardUnprocessableEntity) MarshalJSON() ([]byte, error)
- func (s *PutStoryboardUnprocessableEntity) UnmarshalJSON(data []byte) error
- func (s *PutStoryboardUnprocessableEntity) Validate() error
- type PutThemeBadRequest
- type PutThemeConflict
- type PutThemeInternalServerError
- type PutThemeNotFound
- type PutThemeParams
- type PutThemeRes
- type Quota
- func (s *Quota) Decode(d *jx.Decoder) error
- func (s *Quota) Encode(e *jx.Encoder)
- func (s *Quota) GetLimit() int
- func (s *Quota) GetRemaining() int
- func (s *Quota) GetResetAt() time.Time
- func (s *Quota) GetUsed() int
- func (s *Quota) MarshalJSON() ([]byte, error)
- func (s *Quota) SetLimit(val int)
- func (s *Quota) SetRemaining(val int)
- func (s *Quota) SetResetAt(val time.Time)
- func (s *Quota) SetUsed(val int)
- func (s *Quota) UnmarshalJSON(data []byte) error
- type Reel
- func (s *Reel) Decode(d *jx.Decoder) error
- func (s *Reel) Encode(e *jx.Encoder)
- func (s *Reel) GetBundle() OptString
- func (s *Reel) GetLabel() OptString
- func (s *Reel) GetSlug() string
- func (s *Reel) GetStatus() string
- func (s *Reel) GetTheme() OptString
- func (s *Reel) GetUncommitted() OptBool
- func (s *Reel) MarshalJSON() ([]byte, error)
- func (s *Reel) SetBundle(val OptString)
- func (s *Reel) SetLabel(val OptString)
- func (s *Reel) SetSlug(val string)
- func (s *Reel) SetStatus(val string)
- func (s *Reel) SetTheme(val OptString)
- func (s *Reel) SetUncommitted(val OptBool)
- func (s *Reel) UnmarshalJSON(data []byte) error
- type RemoveAvatarBadRequest
- type RemoveAvatarInternalServerError
- type RemoveAvatarNoContent
- type RemoveAvatarNotFound
- type RemoveAvatarParams
- type RemoveAvatarRes
- type RemoveReelBadRequest
- type RemoveReelInternalServerError
- type RemoveReelNoContent
- type RemoveReelNotFound
- type RemoveReelParams
- type RemoveReelRes
- type RemoveThemeNoContent
- type RemoveThemeNotFound
- type RemoveThemeParams
- type RemoveThemeRes
- type RemoveThemeServiceUnavailable
- type RenameReelBadRequest
- type RenameReelConflict
- type RenameReelInternalServerError
- type RenameReelNotFound
- type RenameReelParams
- type RenameReelRes
- type RenderRequest
- func (s *RenderRequest) Decode(d *jx.Decoder) error
- func (s *RenderRequest) Encode(e *jx.Encoder)
- func (s *RenderRequest) GetSilent() OptBool
- func (s *RenderRequest) GetTheme() OptString
- func (s *RenderRequest) MarshalJSON() ([]byte, error)
- func (s *RenderRequest) SetSilent(val OptBool)
- func (s *RenderRequest) SetTheme(val OptString)
- func (s *RenderRequest) UnmarshalJSON(data []byte) error
- type Route
- type SaveAvatarBadRequest
- type SaveAvatarInternalServerError
- type SaveAvatarNotFound
- type SaveAvatarParams
- type SaveAvatarRes
- type SaveResult
- func (s *SaveResult) Decode(d *jx.Decoder) error
- func (s *SaveResult) Encode(e *jx.Encoder)
- func (s *SaveResult) GetCommit() OptCommitStatus
- func (s *SaveResult) GetPush() OptPushStatus
- func (s *SaveResult) GetValidation() Validation
- func (s *SaveResult) MarshalJSON() ([]byte, error)
- func (s *SaveResult) SetCommit(val OptCommitStatus)
- func (s *SaveResult) SetPush(val OptPushStatus)
- func (s *SaveResult) SetValidation(val Validation)
- func (s *SaveResult) UnmarshalJSON(data []byte) error
- func (s *SaveResult) Validate() error
- type SaveThemeBadRequest
- type SaveThemeParams
- type SaveThemeRes
- type SaveThemeServiceUnavailable
- type ScreenCardsBadRequest
- type ScreenCardsConflict
- type ScreenCardsInternalServerError
- type ScreenCardsNotFound
- type ScreenCardsOKApplicationJSON
- func (s *ScreenCardsOKApplicationJSON) Decode(d *jx.Decoder) error
- func (s ScreenCardsOKApplicationJSON) Encode(e *jx.Encoder)
- func (s ScreenCardsOKApplicationJSON) MarshalJSON() ([]byte, error)
- func (s *ScreenCardsOKApplicationJSON) UnmarshalJSON(data []byte) error
- func (s ScreenCardsOKApplicationJSON) Validate() error
- type ScreenCardsParams
- type ScreenCardsRes
- type ScreenCardsServiceUnavailable
- type ScreenCardsUnprocessableEntity
- type Scrim
- func (s *Scrim) Decode(d *jx.Decoder) error
- func (s *Scrim) Encode(e *jx.Encoder)
- func (s *Scrim) GetColor() string
- func (s *Scrim) GetDirection() OptScrimDirection
- func (s *Scrim) GetFrom() float64
- func (s *Scrim) GetOpacity() OptFloat64
- func (s *Scrim) MarshalJSON() ([]byte, error)
- func (s *Scrim) SetColor(val string)
- func (s *Scrim) SetDirection(val OptScrimDirection)
- func (s *Scrim) SetFrom(val float64)
- func (s *Scrim) SetOpacity(val OptFloat64)
- func (s *Scrim) UnmarshalJSON(data []byte) error
- func (s *Scrim) Validate() error
- type ScrimDirection
- func (ScrimDirection) AllValues() []ScrimDirection
- func (s *ScrimDirection) Decode(d *jx.Decoder) error
- func (s ScrimDirection) Encode(e *jx.Encoder)
- func (s ScrimDirection) MarshalJSON() ([]byte, error)
- func (s ScrimDirection) MarshalText() ([]byte, error)
- func (s *ScrimDirection) UnmarshalJSON(data []byte) error
- func (s *ScrimDirection) UnmarshalText(data []byte) error
- func (s ScrimDirection) Validate() error
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type SetBundleBadRequest
- type SetBundleConflict
- type SetBundleInternalServerError
- type SetBundleNotFound
- type SetBundleParams
- type SetBundleRes
- type SetLabelBadRequest
- type SetLabelConflict
- type SetLabelInternalServerError
- type SetLabelNotFound
- type SetLabelParams
- type SetLabelRes
- type Settings
- type SlotSaved
- type SlugBundle
- func (s *SlugBundle) Decode(d *jx.Decoder) error
- func (s *SlugBundle) Encode(e *jx.Encoder)
- func (s *SlugBundle) GetBundle() string
- func (s *SlugBundle) GetSlug() string
- func (s *SlugBundle) MarshalJSON() ([]byte, error)
- func (s *SlugBundle) SetBundle(val string)
- func (s *SlugBundle) SetSlug(val string)
- func (s *SlugBundle) UnmarshalJSON(data []byte) error
- type SlugLabel
- func (s *SlugLabel) Decode(d *jx.Decoder) error
- func (s *SlugLabel) Encode(e *jx.Encoder)
- func (s *SlugLabel) GetLabel() string
- func (s *SlugLabel) GetSlug() string
- func (s *SlugLabel) MarshalJSON() ([]byte, error)
- func (s *SlugLabel) SetLabel(val string)
- func (s *SlugLabel) SetSlug(val string)
- func (s *SlugLabel) UnmarshalJSON(data []byte) error
- type SlugMove
- func (s *SlugMove) Decode(d *jx.Decoder) error
- func (s *SlugMove) Encode(e *jx.Encoder)
- func (s *SlugMove) GetFrom() string
- func (s *SlugMove) GetTo() string
- func (s *SlugMove) MarshalJSON() ([]byte, error)
- func (s *SlugMove) SetFrom(val string)
- func (s *SlugMove) SetTo(val string)
- func (s *SlugMove) UnmarshalJSON(data []byte) error
- type SlugTarget
- type Social
- func (s *Social) Decode(d *jx.Decoder) error
- func (s *Social) Encode(e *jx.Encoder)
- func (s *Social) GetPlatforms() SocialPlatforms
- func (s *Social) GetRev() string
- func (s *Social) MarshalJSON() ([]byte, error)
- func (s *Social) SetPlatforms(val SocialPlatforms)
- func (s *Social) SetRev(val string)
- func (s *Social) UnmarshalJSON(data []byte) error
- func (s *Social) Validate() error
- type SocialApproval
- func (s *SocialApproval) Decode(d *jx.Decoder) error
- func (s *SocialApproval) Encode(e *jx.Encoder)
- func (s *SocialApproval) GetRev() OptString
- func (s *SocialApproval) GetScheduledAt() OptString
- func (s *SocialApproval) MarshalJSON() ([]byte, error)
- func (s *SocialApproval) SetRev(val OptString)
- func (s *SocialApproval) SetScheduledAt(val OptString)
- func (s *SocialApproval) UnmarshalJSON(data []byte) error
- type SocialEdit
- func (s *SocialEdit) Decode(d *jx.Decoder) error
- func (s *SocialEdit) Encode(e *jx.Encoder)
- func (s *SocialEdit) GetHashtags() []string
- func (s *SocialEdit) GetLink() OptString
- func (s *SocialEdit) GetRev() OptString
- func (s *SocialEdit) GetScheduledAt() OptString
- func (s *SocialEdit) GetText() OptString
- func (s *SocialEdit) GetTitle() OptString
- func (s *SocialEdit) MarshalJSON() ([]byte, error)
- func (s *SocialEdit) SetHashtags(val []string)
- func (s *SocialEdit) SetLink(val OptString)
- func (s *SocialEdit) SetRev(val OptString)
- func (s *SocialEdit) SetScheduledAt(val OptString)
- func (s *SocialEdit) SetText(val OptString)
- func (s *SocialEdit) SetTitle(val OptString)
- func (s *SocialEdit) UnmarshalJSON(data []byte) error
- type SocialEntry
- func (s *SocialEntry) Decode(d *jx.Decoder) error
- func (s *SocialEntry) Encode(e *jx.Encoder)
- func (s *SocialEntry) GetHashtags() []string
- func (s *SocialEntry) GetLink() OptString
- func (s *SocialEntry) GetPostURL() OptString
- func (s *SocialEntry) GetPostedAt() OptString
- func (s *SocialEntry) GetScheduledAt() OptString
- func (s *SocialEntry) GetStatus() SocialEntryStatus
- func (s *SocialEntry) GetText() string
- func (s *SocialEntry) GetTitle() OptString
- func (s *SocialEntry) GetViolations() []string
- func (s *SocialEntry) GetWarnings() []string
- func (s *SocialEntry) MarshalJSON() ([]byte, error)
- func (s *SocialEntry) SetHashtags(val []string)
- func (s *SocialEntry) SetLink(val OptString)
- func (s *SocialEntry) SetPostURL(val OptString)
- func (s *SocialEntry) SetPostedAt(val OptString)
- func (s *SocialEntry) SetScheduledAt(val OptString)
- func (s *SocialEntry) SetStatus(val SocialEntryStatus)
- func (s *SocialEntry) SetText(val string)
- func (s *SocialEntry) SetTitle(val OptString)
- func (s *SocialEntry) SetViolations(val []string)
- func (s *SocialEntry) SetWarnings(val []string)
- func (s *SocialEntry) UnmarshalJSON(data []byte) error
- func (s *SocialEntry) Validate() error
- type SocialEntryStatus
- func (SocialEntryStatus) AllValues() []SocialEntryStatus
- func (s *SocialEntryStatus) Decode(d *jx.Decoder) error
- func (s SocialEntryStatus) Encode(e *jx.Encoder)
- func (s SocialEntryStatus) MarshalJSON() ([]byte, error)
- func (s SocialEntryStatus) MarshalText() ([]byte, error)
- func (s *SocialEntryStatus) UnmarshalJSON(data []byte) error
- func (s *SocialEntryStatus) UnmarshalText(data []byte) error
- func (s SocialEntryStatus) Validate() error
- type SocialPlatforms
- type SocialSet
- func (s *SocialSet) Decode(d *jx.Decoder) error
- func (s *SocialSet) Encode(e *jx.Encoder)
- func (s *SocialSet) GetSocial() Social
- func (s *SocialSet) MarshalJSON() ([]byte, error)
- func (s *SocialSet) SetSocial(val Social)
- func (s *SocialSet) UnmarshalJSON(data []byte) error
- func (s *SocialSet) Validate() error
- type SourceEdit
- type SpendConfirm
- type SpendGate
- func (s *SpendGate) Decode(d *jx.Decoder) error
- func (s *SpendGate) Encode(e *jx.Encoder)
- func (s *SpendGate) GetAxis() SpendGateAxis
- func (s *SpendGate) GetEstimate() Cost
- func (s *SpendGate) GetMessage() string
- func (s *SpendGate) MarshalJSON() ([]byte, error)
- func (s *SpendGate) SetAxis(val SpendGateAxis)
- func (s *SpendGate) SetEstimate(val Cost)
- func (s *SpendGate) SetMessage(val string)
- func (s *SpendGate) UnmarshalJSON(data []byte) error
- func (s *SpendGate) Validate() error
- type SpendGateAxis
- func (SpendGateAxis) AllValues() []SpendGateAxis
- func (s *SpendGateAxis) Decode(d *jx.Decoder) error
- func (s SpendGateAxis) Encode(e *jx.Encoder)
- func (s SpendGateAxis) MarshalJSON() ([]byte, error)
- func (s SpendGateAxis) MarshalText() ([]byte, error)
- func (s *SpendGateAxis) UnmarshalJSON(data []byte) error
- func (s *SpendGateAxis) UnmarshalText(data []byte) error
- func (s SpendGateAxis) Validate() error
- type SpendSummary
- func (s *SpendSummary) Decode(d *jx.Decoder) error
- func (s *SpendSummary) Encode(e *jx.Encoder)
- func (s *SpendSummary) GetByUnit() []SpendUnit
- func (s *SpendSummary) GetCurrency() string
- func (s *SpendSummary) GetEvents() int
- func (s *SpendSummary) GetTotal() float64
- func (s *SpendSummary) MarshalJSON() ([]byte, error)
- func (s *SpendSummary) SetByUnit(val []SpendUnit)
- func (s *SpendSummary) SetCurrency(val string)
- func (s *SpendSummary) SetEvents(val int)
- func (s *SpendSummary) SetTotal(val float64)
- func (s *SpendSummary) UnmarshalJSON(data []byte) error
- func (s *SpendSummary) Validate() error
- type SpendUnit
- func (s *SpendUnit) Decode(d *jx.Decoder) error
- func (s *SpendUnit) Encode(e *jx.Encoder)
- func (s *SpendUnit) GetAmount() float64
- func (s *SpendUnit) GetCount() int
- func (s *SpendUnit) GetUnit() string
- func (s *SpendUnit) MarshalJSON() ([]byte, error)
- func (s *SpendUnit) SetAmount(val float64)
- func (s *SpendUnit) SetCount(val int)
- func (s *SpendUnit) SetUnit(val string)
- func (s *SpendUnit) UnmarshalJSON(data []byte) error
- func (s *SpendUnit) Validate() error
- type StartRenderBadRequest
- type StartRenderConflict
- type StartRenderInternalServerError
- type StartRenderNotFound
- type StartRenderParams
- type StartRenderRes
- type StartRenderServiceUnavailable
- type StopRenderNoContent
- type StopRenderParams
- type StopRenderRes
- type StorageCheck
- func (s *StorageCheck) Decode(d *jx.Decoder) error
- func (s *StorageCheck) Encode(e *jx.Encoder)
- func (s *StorageCheck) GetOk() bool
- func (s *StorageCheck) GetReason() OptString
- func (s *StorageCheck) MarshalJSON() ([]byte, error)
- func (s *StorageCheck) SetOk(val bool)
- func (s *StorageCheck) SetReason(val OptString)
- func (s *StorageCheck) UnmarshalJSON(data []byte) error
- type StorageReclaim
- func (s *StorageReclaim) Decode(d *jx.Decoder) error
- func (s *StorageReclaim) Encode(e *jx.Encoder)
- func (s *StorageReclaim) GetOk() bool
- func (s *StorageReclaim) GetReason() OptString
- func (s *StorageReclaim) GetReport() OptGCReport
- func (s *StorageReclaim) MarshalJSON() ([]byte, error)
- func (s *StorageReclaim) SetOk(val bool)
- func (s *StorageReclaim) SetReason(val OptString)
- func (s *StorageReclaim) SetReport(val OptGCReport)
- func (s *StorageReclaim) UnmarshalJSON(data []byte) error
- type Storyboard
- type SummariseSourceBadGateway
- type SummariseSourceBadRequest
- type SummariseSourceConflict
- type SummariseSourceInternalServerError
- type SummariseSourceNotFound
- type SummariseSourceParams
- type SummariseSourceRes
- type SummariseSourceServiceUnavailable
- type SummaryText
- type SwitchProjectBadRequest
- type SwitchProjectInternalServerError
- type SwitchProjectRes
- type Takes
- func (s *Takes) Decode(d *jx.Decoder) error
- func (s *Takes) Encode(e *jx.Encoder)
- func (s *Takes) GetCurrent() OptString
- func (s *Takes) GetRecorded() []string
- func (s *Takes) GetTakes() []string
- func (s *Takes) MarshalJSON() ([]byte, error)
- func (s *Takes) SetCurrent(val OptString)
- func (s *Takes) SetRecorded(val []string)
- func (s *Takes) SetTakes(val []string)
- func (s *Takes) UnmarshalJSON(data []byte) error
- func (s *Takes) Validate() error
- type TextBlock
- func (s *TextBlock) Decode(d *jx.Decoder) error
- func (s *TextBlock) Encode(e *jx.Encoder)
- func (s *TextBlock) GetAccent() OptString
- func (s *TextBlock) GetAlign() OptTextBlockAlign
- func (s *TextBlock) GetPos() OptAnchor
- func (s *TextBlock) GetRole() OptString
- func (s *TextBlock) GetSize() OptFloat64
- func (s *TextBlock) GetText() string
- func (s *TextBlock) GetWidth() OptFloat64
- func (s *TextBlock) MarshalJSON() ([]byte, error)
- func (s *TextBlock) SetAccent(val OptString)
- func (s *TextBlock) SetAlign(val OptTextBlockAlign)
- func (s *TextBlock) SetPos(val OptAnchor)
- func (s *TextBlock) SetRole(val OptString)
- func (s *TextBlock) SetSize(val OptFloat64)
- func (s *TextBlock) SetText(val string)
- func (s *TextBlock) SetWidth(val OptFloat64)
- func (s *TextBlock) UnmarshalJSON(data []byte) error
- func (s *TextBlock) Validate() error
- type TextBlockAlign
- func (TextBlockAlign) AllValues() []TextBlockAlign
- func (s *TextBlockAlign) Decode(d *jx.Decoder) error
- func (s TextBlockAlign) Encode(e *jx.Encoder)
- func (s TextBlockAlign) MarshalJSON() ([]byte, error)
- func (s TextBlockAlign) MarshalText() ([]byte, error)
- func (s *TextBlockAlign) UnmarshalJSON(data []byte) error
- func (s *TextBlockAlign) UnmarshalText(data []byte) error
- func (s TextBlockAlign) Validate() error
- type Theme
- func (s *Theme) Decode(d *jx.Decoder) error
- func (s *Theme) Encode(e *jx.Encoder)
- func (s *Theme) GetAspect() OptString
- func (s *Theme) GetCard() OptThemeCard
- func (s *Theme) GetFormats() OptThemeFormats
- func (s *Theme) GetKeyword() OptString
- func (s *Theme) GetMusic() OptThemeMusic
- func (s *Theme) GetPalette() OptPalette
- func (s *Theme) GetPrompt() OptString
- func (s *Theme) GetStyle() OptString
- func (s *Theme) GetVoice() OptThemeVoice
- func (s *Theme) MarshalJSON() ([]byte, error)
- func (s *Theme) SetAspect(val OptString)
- func (s *Theme) SetCard(val OptThemeCard)
- func (s *Theme) SetFormats(val OptThemeFormats)
- func (s *Theme) SetKeyword(val OptString)
- func (s *Theme) SetMusic(val OptThemeMusic)
- func (s *Theme) SetPalette(val OptPalette)
- func (s *Theme) SetPrompt(val OptString)
- func (s *Theme) SetStyle(val OptString)
- func (s *Theme) SetVoice(val OptThemeVoice)
- func (s *Theme) UnmarshalJSON(data []byte) error
- func (s *Theme) Validate() error
- type ThemeCard
- func (s *ThemeCard) Decode(d *jx.Decoder) error
- func (s *ThemeCard) Encode(e *jx.Encoder)
- func (s *ThemeCard) GetFontBold() OptString
- func (s *ThemeCard) GetFontMono() OptString
- func (s *ThemeCard) GetLead() OptFloat64
- func (s *ThemeCard) GetMode() OptThemeCardMode
- func (s *ThemeCard) GetScrim() OptScrim
- func (s *ThemeCard) GetSequence() OptBool
- func (s *ThemeCard) GetStyle() OptString
- func (s *ThemeCard) GetTail() OptFloat64
- func (s *ThemeCard) MarshalJSON() ([]byte, error)
- func (s *ThemeCard) SetFontBold(val OptString)
- func (s *ThemeCard) SetFontMono(val OptString)
- func (s *ThemeCard) SetLead(val OptFloat64)
- func (s *ThemeCard) SetMode(val OptThemeCardMode)
- func (s *ThemeCard) SetScrim(val OptScrim)
- func (s *ThemeCard) SetSequence(val OptBool)
- func (s *ThemeCard) SetStyle(val OptString)
- func (s *ThemeCard) SetTail(val OptFloat64)
- func (s *ThemeCard) UnmarshalJSON(data []byte) error
- func (s *ThemeCard) Validate() error
- type ThemeCardMode
- func (ThemeCardMode) AllValues() []ThemeCardMode
- func (s *ThemeCardMode) Decode(d *jx.Decoder) error
- func (s ThemeCardMode) Encode(e *jx.Encoder)
- func (s ThemeCardMode) MarshalJSON() ([]byte, error)
- func (s ThemeCardMode) MarshalText() ([]byte, error)
- func (s *ThemeCardMode) UnmarshalJSON(data []byte) error
- func (s *ThemeCardMode) UnmarshalText(data []byte) error
- func (s ThemeCardMode) Validate() error
- type ThemeCatalog
- func (s *ThemeCatalog) Decode(d *jx.Decoder) error
- func (s *ThemeCatalog) Encode(e *jx.Encoder)
- func (s *ThemeCatalog) GetDefault() string
- func (s *ThemeCatalog) GetScopes() ThemeCatalogScopes
- func (s *ThemeCatalog) GetThemes() []Theme
- func (s *ThemeCatalog) MarshalJSON() ([]byte, error)
- func (s *ThemeCatalog) SetDefault(val string)
- func (s *ThemeCatalog) SetScopes(val ThemeCatalogScopes)
- func (s *ThemeCatalog) SetThemes(val []Theme)
- func (s *ThemeCatalog) UnmarshalJSON(data []byte) error
- func (s *ThemeCatalog) Validate() error
- type ThemeCatalogScopes
- type ThemeCatalogScopesItem
- func (ThemeCatalogScopesItem) AllValues() []ThemeCatalogScopesItem
- func (s *ThemeCatalogScopesItem) Decode(d *jx.Decoder) error
- func (s ThemeCatalogScopesItem) Encode(e *jx.Encoder)
- func (s ThemeCatalogScopesItem) MarshalJSON() ([]byte, error)
- func (s ThemeCatalogScopesItem) MarshalText() ([]byte, error)
- func (s *ThemeCatalogScopesItem) UnmarshalJSON(data []byte) error
- func (s *ThemeCatalogScopesItem) UnmarshalText(data []byte) error
- func (s ThemeCatalogScopesItem) Validate() error
- type ThemeEdit
- type ThemeFormats
- type ThemeFormatsItem
- type ThemeMusic
- type ThemePicker
- func (s *ThemePicker) Decode(d *jx.Decoder) error
- func (s *ThemePicker) Encode(e *jx.Encoder)
- func (s *ThemePicker) GetDefault() string
- func (s *ThemePicker) GetThemes() []ThemeView
- func (s *ThemePicker) MarshalJSON() ([]byte, error)
- func (s *ThemePicker) SetDefault(val string)
- func (s *ThemePicker) SetThemes(val []ThemeView)
- func (s *ThemePicker) UnmarshalJSON(data []byte) error
- func (s *ThemePicker) Validate() error
- type ThemePromotion
- func (s *ThemePromotion) Decode(d *jx.Decoder) error
- func (s *ThemePromotion) Encode(e *jx.Encoder)
- func (s *ThemePromotion) GetKeyword() string
- func (s *ThemePromotion) GetScope() ThemePromotionScope
- func (s *ThemePromotion) MarshalJSON() ([]byte, error)
- func (s *ThemePromotion) SetKeyword(val string)
- func (s *ThemePromotion) SetScope(val ThemePromotionScope)
- func (s *ThemePromotion) UnmarshalJSON(data []byte) error
- func (s *ThemePromotion) Validate() error
- type ThemePromotionScope
- func (ThemePromotionScope) AllValues() []ThemePromotionScope
- func (s *ThemePromotionScope) Decode(d *jx.Decoder) error
- func (s ThemePromotionScope) Encode(e *jx.Encoder)
- func (s ThemePromotionScope) MarshalJSON() ([]byte, error)
- func (s ThemePromotionScope) MarshalText() ([]byte, error)
- func (s *ThemePromotionScope) UnmarshalJSON(data []byte) error
- func (s *ThemePromotionScope) UnmarshalText(data []byte) error
- func (s ThemePromotionScope) Validate() error
- type ThemeView
- func (s *ThemeView) Decode(d *jx.Decoder) error
- func (s *ThemeView) Encode(e *jx.Encoder)
- func (s *ThemeView) GetFontBold() OptString
- func (s *ThemeView) GetFontMono() OptString
- func (s *ThemeView) GetKeyword() string
- func (s *ThemeView) GetLead() OptFloat64
- func (s *ThemeView) GetPalette() OptPalette
- func (s *ThemeView) GetScrim() OptScrim
- func (s *ThemeView) GetTail() OptFloat64
- func (s *ThemeView) MarshalJSON() ([]byte, error)
- func (s *ThemeView) SetFontBold(val OptString)
- func (s *ThemeView) SetFontMono(val OptString)
- func (s *ThemeView) SetKeyword(val string)
- func (s *ThemeView) SetLead(val OptFloat64)
- func (s *ThemeView) SetPalette(val OptPalette)
- func (s *ThemeView) SetScrim(val OptScrim)
- func (s *ThemeView) SetTail(val OptFloat64)
- func (s *ThemeView) UnmarshalJSON(data []byte) error
- func (s *ThemeView) Validate() error
- type ThemeVoice
- type Timeline
- func (s *Timeline) Decode(d *jx.Decoder) error
- func (s *Timeline) Encode(e *jx.Encoder)
- func (s *Timeline) GetCards() []TimelineCard
- func (s *Timeline) GetTotal() float64
- func (s *Timeline) GetVoDriven() bool
- func (s *Timeline) MarshalJSON() ([]byte, error)
- func (s *Timeline) SetCards(val []TimelineCard)
- func (s *Timeline) SetTotal(val float64)
- func (s *Timeline) SetVoDriven(val bool)
- func (s *Timeline) UnmarshalJSON(data []byte) error
- func (s *Timeline) Validate() error
- type TimelineCard
- func (s *TimelineCard) Decode(d *jx.Decoder) error
- func (s *TimelineCard) Encode(e *jx.Encoder)
- func (s *TimelineCard) GetDur() float64
- func (s *TimelineCard) GetIndex() int
- func (s *TimelineCard) GetSource() string
- func (s *TimelineCard) GetStart() float64
- func (s *TimelineCard) MarshalJSON() ([]byte, error)
- func (s *TimelineCard) SetDur(val float64)
- func (s *TimelineCard) SetIndex(val int)
- func (s *TimelineCard) SetSource(val string)
- func (s *TimelineCard) SetStart(val float64)
- func (s *TimelineCard) UnmarshalJSON(data []byte) error
- func (s *TimelineCard) Validate() error
- type UnimplementedHandler
- func (UnimplementedHandler) AddProject(ctx context.Context, req *AddProject) (r AddProjectRes, _ error)
- func (UnimplementedHandler) ApproveSocial(ctx context.Context, req OptSocialApproval, params ApproveSocialParams) (r ApproveSocialRes, _ error)
- func (UnimplementedHandler) CheckConnections(ctx context.Context) (r CheckConnectionsRes, _ error)
- func (UnimplementedHandler) CommitReel(ctx context.Context, params CommitReelParams) (r CommitReelRes, _ error)
- func (UnimplementedHandler) CreateAvatar(ctx context.Context, req *Avatar) (r CreateAvatarRes, _ error)
- func (UnimplementedHandler) CreateReel(ctx context.Context, req *NewReel) (r CreateReelRes, _ error)
- func (UnimplementedHandler) CreateTheme(ctx context.Context, req *Theme) (r CreateThemeRes, _ error)
- func (UnimplementedHandler) DuplicateReel(ctx context.Context, req *SlugTarget, params DuplicateReelParams) (r DuplicateReelRes, _ error)
- func (UnimplementedHandler) ForgetProject(ctx context.Context, req *ProjectPath) (r ForgetProjectRes, _ error)
- func (UnimplementedHandler) GenSocial(ctx context.Context, params GenSocialParams) (r GenSocialRes, _ error)
- func (UnimplementedHandler) GenerateCard(ctx context.Context, req OptGenerateRequest, params GenerateCardParams) (r GenerateCardRes, _ error)
- func (UnimplementedHandler) GenerateCardVO(ctx context.Context, req OptGenerateRequest, params GenerateCardVOParams) (r GenerateCardVORes, _ error)
- func (UnimplementedHandler) GenerateCover(ctx context.Context, req OptGenerateRequest, params GenerateCoverParams) (r GenerateCoverRes, _ error)
- func (UnimplementedHandler) GenerateMusic(ctx context.Context, req OptGenerateRequest, params GenerateMusicParams) (r GenerateMusicRes, _ error)
- func (UnimplementedHandler) GeneratePortrait(ctx context.Context, req OptGenerateRequest, params GeneratePortraitParams) (r GeneratePortraitRes, _ error)
- func (UnimplementedHandler) GetArticle(ctx context.Context, params GetArticleParams) (r GetArticleRes, _ error)
- func (UnimplementedHandler) GetChatHistory(ctx context.Context, params GetChatHistoryParams) (r GetChatHistoryRes, _ error)
- func (UnimplementedHandler) GetConfig(ctx context.Context) (r GetConfigRes, _ error)
- func (UnimplementedHandler) GetConfigYAML(ctx context.Context) (r GetConfigYAMLRes, _ error)
- func (UnimplementedHandler) GetConnections(ctx context.Context) (r *Connections, _ error)
- func (UnimplementedHandler) GetJob(ctx context.Context, params GetJobParams) (r GetJobRes, _ error)
- func (UnimplementedHandler) GetOutcome(ctx context.Context, params GetOutcomeParams) (r GetOutcomeRes, _ error)
- func (UnimplementedHandler) GetQuota(ctx context.Context) (r GetQuotaRes, _ error)
- func (UnimplementedHandler) GetSocial(ctx context.Context, params GetSocialParams) (r GetSocialRes, _ error)
- func (UnimplementedHandler) GetSpend(ctx context.Context, params GetSpendParams) (r GetSpendRes, _ error)
- func (UnimplementedHandler) GetThemeCatalog(ctx context.Context) (r *ThemeCatalog, _ error)
- func (UnimplementedHandler) GetTimeline(ctx context.Context, params GetTimelineParams) (r GetTimelineRes, _ error)
- func (UnimplementedHandler) GetVCStatus(ctx context.Context) (r *VCStatus, _ error)
- func (UnimplementedHandler) GetWorkspace(ctx context.Context, params GetWorkspaceParams) (r GetWorkspaceRes, _ error)
- func (UnimplementedHandler) ListAvatars(ctx context.Context) (r ListAvatarsRes, _ error)
- func (UnimplementedHandler) ListCardScreens(ctx context.Context, params ListCardScreensParams) (r ListCardScreensRes, _ error)
- func (UnimplementedHandler) ListCardTakes(ctx context.Context, params ListCardTakesParams) (r ListCardTakesRes, _ error)
- func (UnimplementedHandler) ListCardVOTakes(ctx context.Context, params ListCardVOTakesParams) (r ListCardVOTakesRes, _ error)
- func (UnimplementedHandler) ListCoverTakes(ctx context.Context, params ListCoverTakesParams) (r ListCoverTakesRes, _ error)
- func (UnimplementedHandler) ListFonts(ctx context.Context) (r ListFontsRes, _ error)
- func (UnimplementedHandler) ListMusicTakes(ctx context.Context, params ListMusicTakesParams) (r ListMusicTakesRes, _ error)
- func (UnimplementedHandler) ListPortraitRefs(ctx context.Context, params ListPortraitRefsParams) (r ListPortraitRefsRes, _ error)
- func (UnimplementedHandler) ListPortraitTakes(ctx context.Context, params ListPortraitTakesParams) (r ListPortraitTakesRes, _ error)
- func (UnimplementedHandler) ListPosts(ctx context.Context) (r ListPostsRes, _ error)
- func (UnimplementedHandler) ListProjects(ctx context.Context) (r ListProjectsRes, _ error)
- func (UnimplementedHandler) ListReels(ctx context.Context) (r ListReelsRes, _ error)
- func (UnimplementedHandler) ListThemes(ctx context.Context) (r *ThemePicker, _ error)
- func (UnimplementedHandler) PickCardTake(ctx context.Context, req *PickTake, params PickCardTakeParams) (r PickCardTakeRes, _ error)
- func (UnimplementedHandler) PickCardVO(ctx context.Context, req *PickVOTake, params PickCardVOParams) (r PickCardVORes, _ error)
- func (UnimplementedHandler) PickCover(ctx context.Context, req *PickTake, params PickCoverParams) (r PickCoverRes, _ error)
- func (UnimplementedHandler) PickMusic(ctx context.Context, req *PickTake, params PickMusicParams) (r PickMusicRes, _ error)
- func (UnimplementedHandler) PickPortrait(ctx context.Context, req *PickTake, params PickPortraitParams) (r PickPortraitRes, _ error)
- func (UnimplementedHandler) PostSocial(ctx context.Context, req OptPostRequest, params PostSocialParams) (r PostSocialRes, _ error)
- func (UnimplementedHandler) PromoteTheme(ctx context.Context, params PromoteThemeParams) (r PromoteThemeRes, _ error)
- func (UnimplementedHandler) PullMedia(ctx context.Context, params PullMediaParams) (r PullMediaRes, _ error)
- func (UnimplementedHandler) PutChatHistory(ctx context.Context, req *ChatHistory, params PutChatHistoryParams) (r PutChatHistoryRes, _ error)
- func (UnimplementedHandler) PutConfig(ctx context.Context, req Settings) (r PutConfigRes, _ error)
- func (UnimplementedHandler) PutConfigYAML(ctx context.Context, req *ConfigYAMLEdit) (r PutConfigYAMLRes, _ error)
- func (UnimplementedHandler) PutDirection(ctx context.Context, req *DirectionEdit, params PutDirectionParams) (r PutDirectionRes, _ error)
- func (UnimplementedHandler) PutReelAspect(ctx context.Context, req *AspectEdit, params PutReelAspectParams) (r PutReelAspectRes, _ error)
- func (UnimplementedHandler) PutReelAvatars(ctx context.Context, req *AvatarsEdit, params PutReelAvatarsParams) (r PutReelAvatarsRes, _ error)
- func (UnimplementedHandler) PutSocial(ctx context.Context, req *SocialEdit, params PutSocialParams) (r PutSocialRes, _ error)
- func (UnimplementedHandler) PutSource(ctx context.Context, req *SourceEdit, params PutSourceParams) (r PutSourceRes, _ error)
- func (UnimplementedHandler) PutStoryboard(ctx context.Context, req Storyboard, params PutStoryboardParams) (r PutStoryboardRes, _ error)
- func (UnimplementedHandler) PutTheme(ctx context.Context, req *ThemeEdit, params PutThemeParams) (r PutThemeRes, _ error)
- func (UnimplementedHandler) ReclaimStorage(ctx context.Context) (r *StorageReclaim, _ error)
- func (UnimplementedHandler) RemoveAvatar(ctx context.Context, params RemoveAvatarParams) (r RemoveAvatarRes, _ error)
- func (UnimplementedHandler) RemoveReel(ctx context.Context, params RemoveReelParams) (r RemoveReelRes, _ error)
- func (UnimplementedHandler) RemoveTheme(ctx context.Context, params RemoveThemeParams) (r RemoveThemeRes, _ error)
- func (UnimplementedHandler) RenameReel(ctx context.Context, req *SlugTarget, params RenameReelParams) (r RenameReelRes, _ error)
- func (UnimplementedHandler) SaveAvatar(ctx context.Context, req *Avatar, params SaveAvatarParams) (r SaveAvatarRes, _ error)
- func (UnimplementedHandler) SaveTheme(ctx context.Context, req *Theme, params SaveThemeParams) (r SaveThemeRes, _ error)
- func (UnimplementedHandler) ScreenCards(ctx context.Context, params ScreenCardsParams) (r ScreenCardsRes, _ error)
- func (UnimplementedHandler) SetBundle(ctx context.Context, req *BundleEdit, params SetBundleParams) (r SetBundleRes, _ error)
- func (UnimplementedHandler) SetLabel(ctx context.Context, req *LabelEdit, params SetLabelParams) (r SetLabelRes, _ error)
- func (UnimplementedHandler) StartRender(ctx context.Context, req OptRenderRequest, params StartRenderParams) (r StartRenderRes, _ error)
- func (UnimplementedHandler) StopRender(ctx context.Context, params StopRenderParams) (r StopRenderRes, _ error)
- func (UnimplementedHandler) SummariseSource(ctx context.Context, params SummariseSourceParams) (r SummariseSourceRes, _ error)
- func (UnimplementedHandler) SwitchProject(ctx context.Context, req *ProjectPath) (r SwitchProjectRes, _ error)
- func (UnimplementedHandler) VerifyStorage(ctx context.Context) (r *StorageCheck, _ error)
- type VCStatus
- func (s *VCStatus) Decode(d *jx.Decoder) error
- func (s *VCStatus) Encode(e *jx.Encoder)
- func (s *VCStatus) GetAuth() VCStatusAuth
- func (s *VCStatus) GetDetail() OptString
- func (s *VCStatus) GetRemote() OptString
- func (s *VCStatus) GetRepo() bool
- func (s *VCStatus) MarshalJSON() ([]byte, error)
- func (s *VCStatus) SetAuth(val VCStatusAuth)
- func (s *VCStatus) SetDetail(val OptString)
- func (s *VCStatus) SetRemote(val OptString)
- func (s *VCStatus) SetRepo(val bool)
- func (s *VCStatus) UnmarshalJSON(data []byte) error
- func (s *VCStatus) Validate() error
- type VCStatusAuth
- func (VCStatusAuth) AllValues() []VCStatusAuth
- func (s *VCStatusAuth) Decode(d *jx.Decoder) error
- func (s VCStatusAuth) Encode(e *jx.Encoder)
- func (s VCStatusAuth) MarshalJSON() ([]byte, error)
- func (s VCStatusAuth) MarshalText() ([]byte, error)
- func (s *VCStatusAuth) UnmarshalJSON(data []byte) error
- func (s *VCStatusAuth) UnmarshalText(data []byte) error
- func (s VCStatusAuth) Validate() error
- type Validation
- func (s *Validation) Decode(d *jx.Decoder) error
- func (s *Validation) Encode(e *jx.Encoder)
- func (s *Validation) GetErrors() []Issue
- func (s *Validation) GetOk() bool
- func (s *Validation) GetWarnings() []Issue
- func (s *Validation) MarshalJSON() ([]byte, error)
- func (s *Validation) SetErrors(val []Issue)
- func (s *Validation) SetOk(val bool)
- func (s *Validation) SetWarnings(val []Issue)
- func (s *Validation) UnmarshalJSON(data []byte) error
- func (s *Validation) Validate() error
- type VoiceOverride
- func (s *VoiceOverride) Decode(d *jx.Decoder) error
- func (s *VoiceOverride) Encode(e *jx.Encoder)
- func (s *VoiceOverride) GetIpa() OptString
- func (s *VoiceOverride) GetModel() OptString
- func (s *VoiceOverride) GetPronounce() OptString
- func (s *VoiceOverride) GetSimilarity() OptFloat64
- func (s *VoiceOverride) GetSpeaker() OptString
- func (s *VoiceOverride) GetSpeed() OptFloat64
- func (s *VoiceOverride) GetStability() OptFloat64
- func (s *VoiceOverride) GetStyle() OptFloat64
- func (s *VoiceOverride) MarshalJSON() ([]byte, error)
- func (s *VoiceOverride) SetIpa(val OptString)
- func (s *VoiceOverride) SetModel(val OptString)
- func (s *VoiceOverride) SetPronounce(val OptString)
- func (s *VoiceOverride) SetSimilarity(val OptFloat64)
- func (s *VoiceOverride) SetSpeaker(val OptString)
- func (s *VoiceOverride) SetSpeed(val OptFloat64)
- func (s *VoiceOverride) SetStability(val OptFloat64)
- func (s *VoiceOverride) SetStyle(val OptFloat64)
- func (s *VoiceOverride) UnmarshalJSON(data []byte) error
- func (s *VoiceOverride) Validate() error
- type Workspace
- func (s *Workspace) Decode(d *jx.Decoder) error
- func (s *Workspace) Encode(e *jx.Encoder)
- func (s *Workspace) GetAspect() OptString
- func (s *Workspace) GetAspectDefault() string
- func (s *Workspace) GetAvatars() []string
- func (s *Workspace) GetBundle() OptString
- func (s *Workspace) GetCardAssets() []CardAssets
- func (s *Workspace) GetCoverH() OptInt
- func (s *Workspace) GetCoverScene() OptString
- func (s *Workspace) GetCoverW() OptInt
- func (s *Workspace) GetDirection() string
- func (s *Workspace) GetHasCover() bool
- func (s *Workspace) GetHasReel() bool
- func (s *Workspace) GetRenderH() OptInt
- func (s *Workspace) GetRenderW() OptInt
- func (s *Workspace) GetSlug() string
- func (s *Workspace) GetSource() string
- func (s *Workspace) GetStatus() string
- func (s *Workspace) GetStoryboard() Storyboard
- func (s *Workspace) GetTheme() OptString
- func (s *Workspace) GetValidation() Validation
- func (s *Workspace) MarshalJSON() ([]byte, error)
- func (s *Workspace) SetAspect(val OptString)
- func (s *Workspace) SetAspectDefault(val string)
- func (s *Workspace) SetAvatars(val []string)
- func (s *Workspace) SetBundle(val OptString)
- func (s *Workspace) SetCardAssets(val []CardAssets)
- func (s *Workspace) SetCoverH(val OptInt)
- func (s *Workspace) SetCoverScene(val OptString)
- func (s *Workspace) SetCoverW(val OptInt)
- func (s *Workspace) SetDirection(val string)
- func (s *Workspace) SetHasCover(val bool)
- func (s *Workspace) SetHasReel(val bool)
- func (s *Workspace) SetRenderH(val OptInt)
- func (s *Workspace) SetRenderW(val OptInt)
- func (s *Workspace) SetSlug(val string)
- func (s *Workspace) SetSource(val string)
- func (s *Workspace) SetStatus(val string)
- func (s *Workspace) SetStoryboard(val Storyboard)
- func (s *Workspace) SetTheme(val OptString)
- func (s *Workspace) SetValidation(val Validation)
- func (s *Workspace) UnmarshalJSON(data []byte) error
- func (s *Workspace) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 ¶
func (s *AddProjectInternalServerError) Decode(d *jx.Decoder) error
Decode decodes AddProjectInternalServerError from json.
func (*AddProjectInternalServerError) Encode ¶
func (s *AddProjectInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *AddProjectServiceUnavailable) Decode(d *jx.Decoder) error
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 ¶
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Anchor) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *ApproveSocialInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ApproveSocialInternalServerError from json.
func (*ApproveSocialInternalServerError) Encode ¶
func (s *ApproveSocialInternalServerError) Encode(e *jx.Encoder)
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 ¶
ApproveSocialParams is parameters of approveSocial operation.
type ApproveSocialRes ¶
type ApproveSocialRes interface {
// contains filtered or unexported methods
}
type ApproveSocialUnprocessableEntity ¶
type ApproveSocialUnprocessableEntity Error
func (*ApproveSocialUnprocessableEntity) Decode ¶
func (s *ApproveSocialUnprocessableEntity) Decode(d *jx.Decoder) error
Decode decodes ApproveSocialUnprocessableEntity from json.
func (*ApproveSocialUnprocessableEntity) Encode ¶
func (s *ApproveSocialUnprocessableEntity) Encode(e *jx.Encoder)
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) GetSection ¶
GetSection returns the value of Section.
func (*Article) GetSummary ¶
GetSummary returns the value of Summary.
func (*Article) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Article) SetSection ¶
SetSection sets the value of Section.
func (*Article) SetSummary ¶
SetSummary sets the value of Summary.
func (*Article) UnmarshalJSON ¶
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) GetLikeness ¶
GetLikeness returns the value of Likeness.
func (*Avatar) GetPalette ¶
GetPalette returns the value of Palette.
func (*Avatar) GetPostamble ¶
GetPostamble returns the value of Postamble.
func (*Avatar) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Avatar) SetLikeness ¶
SetLikeness sets the value of Likeness.
func (*Avatar) SetPalette ¶
SetPalette sets the value of Palette.
func (*Avatar) SetPostamble ¶
SetPostamble sets the value of Postamble.
func (*Avatar) UnmarshalJSON ¶
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) MarshalJSON ¶
func (s *BundleEdit) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
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) GetAvatars ¶
GetAvatars returns the value of Avatars.
func (*Card) GetVoice ¶
func (s *Card) GetVoice() OptVoiceOverride
GetVoice returns the value of Voice.
func (*Card) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Card) SetAvatars ¶
SetAvatars sets the value of Avatars.
func (*Card) SetVoice ¶
func (s *Card) SetVoice(val OptVoiceOverride)
SetVoice sets the value of Voice.
func (*Card) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type CardAssets ¶
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) 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) 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) GetKind ¶
func (s *CardMedia) GetKind() CardMediaKind
GetKind returns the value of Kind.
func (*CardMedia) GetSource ¶
func (s *CardMedia) GetSource() CardMediaSource
GetSource returns the value of Source.
func (*CardMedia) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*CardMedia) SetKind ¶
func (s *CardMedia) SetKind(val CardMediaKind)
SetKind sets the value of Kind.
func (*CardMedia) SetSource ¶
func (s *CardMedia) SetSource(val CardMediaSource)
SetSource sets the value of Source.
func (*CardMedia) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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
func (CardMode) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (CardMode) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*CardMode) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CardMode) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
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) 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) 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) 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 ¶
MarshalJSON implements stdjson.Marshaler.
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 ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
Ref: #/components/schemas/ChatTurn
func (*ChatTurn) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ChatTurn) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type CheckConnectionsBadGateway ¶
type CheckConnectionsBadGateway Error
func (*CheckConnectionsBadGateway) Decode ¶
func (s *CheckConnectionsBadGateway) Decode(d *jx.Decoder) error
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 ¶
func (s *CheckConnectionsServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes CheckConnectionsServiceUnavailable from json.
func (*CheckConnectionsServiceUnavailable) Encode ¶
func (s *CheckConnectionsServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
CreateAvatar invokes createAvatar operation.
Add an avatar to the project.
POST /avatars
func (*Client) CreateTheme ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (s *CommitReelInternalServerError) Decode(d *jx.Decoder) error
Decode decodes CommitReelInternalServerError from json.
func (*CommitReelInternalServerError) Encode ¶
func (s *CommitReelInternalServerError) Encode(e *jx.Encoder)
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 ¶
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) GetCurrency ¶
GetCurrency returns the value of Currency.
func (*Cost) GetEstimated ¶
GetEstimated returns the value of Estimated.
func (*Cost) GetMagnitude ¶
func (s *Cost) GetMagnitude() OptFloat64
GetMagnitude returns the value of Magnitude.
func (*Cost) GetPerUnit ¶
GetPerUnit returns the value of PerUnit.
func (*Cost) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Cost) SetCurrency ¶
SetCurrency sets the value of Currency.
func (*Cost) SetEstimated ¶
SetEstimated sets the value of Estimated.
func (*Cost) SetMagnitude ¶
func (s *Cost) SetMagnitude(val OptFloat64)
SetMagnitude sets the value of Magnitude.
func (*Cost) SetPerUnit ¶
SetPerUnit sets the value of PerUnit.
func (*Cost) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type CostUnit ¶
type CostUnit string
What is priced.
func (CostUnit) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (CostUnit) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*CostUnit) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*CostUnit) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
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 ¶
func (s *CreateAvatarInternalServerError) Decode(d *jx.Decoder) error
Decode decodes CreateAvatarInternalServerError from json.
func (*CreateAvatarInternalServerError) Encode ¶
func (s *CreateAvatarInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *CreateReelInternalServerError) Decode(d *jx.Decoder) error
Decode decodes CreateReelInternalServerError from json.
func (*CreateReelInternalServerError) Encode ¶
func (s *CreateReelInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *CreateThemeServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes CreateThemeServiceUnavailable from json.
func (*CreateThemeServiceUnavailable) Encode ¶
func (s *CreateThemeServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
func (s *DuplicateReelInternalServerError) Decode(d *jx.Decoder) error
Decode decodes DuplicateReelInternalServerError from json.
func (*DuplicateReelInternalServerError) Encode ¶
func (s *DuplicateReelInternalServerError) Encode(e *jx.Encoder)
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Error) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Font) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Fonts ¶
type Fonts struct {
Fonts []Font `json:"fonts"`
}
Ref: #/components/schemas/Fonts
func (*Fonts) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Fonts) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *ForgetProjectInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ForgetProjectInternalServerError from json.
func (*ForgetProjectInternalServerError) Encode ¶
func (s *ForgetProjectInternalServerError) Encode(e *jx.Encoder)
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) GetDeleted ¶
GetDeleted returns the value of Deleted.
func (*GCReport) GetOrphanBytes ¶
GetOrphanBytes returns the value of OrphanBytes.
func (*GCReport) GetOrphans ¶
GetOrphans returns the value of Orphans.
func (*GCReport) GetReferenced ¶
GetReferenced returns the value of Referenced.
func (*GCReport) GetSampleOrphan ¶
GetSampleOrphan returns the value of SampleOrphan.
func (*GCReport) GetUnclaimed ¶
GetUnclaimed returns the value of Unclaimed.
func (*GCReport) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*GCReport) SetDeleted ¶
SetDeleted sets the value of Deleted.
func (*GCReport) SetOrphanBytes ¶
SetOrphanBytes sets the value of OrphanBytes.
func (*GCReport) SetOrphans ¶
SetOrphans sets the value of Orphans.
func (*GCReport) SetReferenced ¶
SetReferenced sets the value of Referenced.
func (*GCReport) SetSampleOrphan ¶
SetSampleOrphan sets the value of SampleOrphan.
func (*GCReport) SetUnclaimed ¶
SetUnclaimed sets the value of Unclaimed.
func (*GCReport) UnmarshalJSON ¶
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 ¶
GenSocialParams is parameters of genSocial operation.
type GenSocialRes ¶
type GenSocialRes interface {
// contains filtered or unexported methods
}
type GenSocialServiceUnavailable ¶
type GenSocialServiceUnavailable Error
func (*GenSocialServiceUnavailable) Decode ¶
func (s *GenSocialServiceUnavailable) Decode(d *jx.Decoder) error
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 ¶
func (s *GenerateCardInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GenerateCardInternalServerError from json.
func (*GenerateCardInternalServerError) Encode ¶
func (s *GenerateCardInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *GenerateCardServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes GenerateCardServiceUnavailable from json.
func (*GenerateCardServiceUnavailable) Encode ¶
func (s *GenerateCardServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
func (s *GenerateCardVOInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GenerateCardVOInternalServerError from json.
func (*GenerateCardVOInternalServerError) Encode ¶
func (s *GenerateCardVOInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *GenerateCardVOServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes GenerateCardVOServiceUnavailable from json.
func (*GenerateCardVOServiceUnavailable) Encode ¶
func (s *GenerateCardVOServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
func (s *GenerateCoverInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GenerateCoverInternalServerError from json.
func (*GenerateCoverInternalServerError) Encode ¶
func (s *GenerateCoverInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *GenerateCoverServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes GenerateCoverServiceUnavailable from json.
func (*GenerateCoverServiceUnavailable) Encode ¶
func (s *GenerateCoverServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
func (s *GenerateMusicInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GenerateMusicInternalServerError from json.
func (*GenerateMusicInternalServerError) Encode ¶
func (s *GenerateMusicInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *GenerateMusicServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes GenerateMusicServiceUnavailable from json.
func (*GenerateMusicServiceUnavailable) Encode ¶
func (s *GenerateMusicServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
func (s *GeneratePortraitBadRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *GeneratePortraitInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GeneratePortraitInternalServerError from json.
func (*GeneratePortraitInternalServerError) Encode ¶
func (s *GeneratePortraitInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *GeneratePortraitServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes GeneratePortraitServiceUnavailable from json.
func (*GeneratePortraitServiceUnavailable) Encode ¶
func (s *GeneratePortraitServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
func (s *GetArticleInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetArticleInternalServerError from json.
func (*GetArticleInternalServerError) Encode ¶
func (s *GetArticleInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *GetChatHistoryInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetChatHistoryInternalServerError from json.
func (*GetChatHistoryInternalServerError) Encode ¶
func (s *GetChatHistoryInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *GetConfigYAMLInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetConfigYAMLInternalServerError from json.
func (*GetConfigYAMLInternalServerError) Encode ¶
func (s *GetConfigYAMLInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *GetConfigYAMLUnprocessableEntity) Decode(d *jx.Decoder) error
Decode decodes GetConfigYAMLUnprocessableEntity from json.
func (*GetConfigYAMLUnprocessableEntity) Encode ¶
func (s *GetConfigYAMLUnprocessableEntity) Encode(e *jx.Encoder)
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 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 ¶
func (s *GetOutcomeInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetOutcomeInternalServerError from json.
func (*GetOutcomeInternalServerError) Encode ¶
func (s *GetOutcomeInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *GetQuotaServiceUnavailable) Decode(d *jx.Decoder) error
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 ¶
func (s *GetQuotaUnprocessableEntity) Decode(d *jx.Decoder) error
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 ¶
func (s *GetSocialInternalServerError) Decode(d *jx.Decoder) error
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 ¶
func (s *GetSpendInternalServerError) Decode(d *jx.Decoder) error
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 ¶
func (s *GetTimelineInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetTimelineInternalServerError from json.
func (*GetTimelineInternalServerError) Encode ¶
func (s *GetTimelineInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *GetWorkspaceInternalServerError) Decode(d *jx.Decoder) error
Decode decodes GetWorkspaceInternalServerError from json.
func (*GetWorkspaceInternalServerError) Encode ¶
func (s *GetWorkspaceInternalServerError) Encode(e *jx.Encoder)
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) 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) 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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Issue) UnmarshalJSON ¶
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) GetBackend ¶
GetBackend returns the value of Backend.
func (*Job) GetBackendNote ¶
GetBackendNote returns the value of BackendNote.
func (*Job) GetElapsedMs ¶
GetElapsedMs returns the value of ElapsedMs.
func (*Job) GetPercent ¶
func (s *Job) GetPercent() OptFloat64
GetPercent returns the value of Percent.
func (*Job) GetResults ¶
GetResults returns the value of Results.
func (*Job) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Job) SetBackend ¶
SetBackend sets the value of Backend.
func (*Job) SetBackendNote ¶
SetBackendNote sets the value of BackendNote.
func (*Job) SetElapsedMs ¶
SetElapsedMs sets the value of ElapsedMs.
func (*Job) SetPercent ¶
func (s *Job) SetPercent(val OptFloat64)
SetPercent sets the value of Percent.
func (*Job) SetResults ¶
SetResults sets the value of Results.
func (*Job) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type JobState ¶
type JobState string
func (JobState) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (JobState) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*JobState) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*JobState) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
type LabelEdit ¶
type LabelEdit struct {
Label string `json:"label"`
}
Ref: #/components/schemas/LabelEdit
func (*LabelEdit) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*LabelEdit) UnmarshalJSON ¶
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 ¶
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) AttributeSet ¶
AttributeSet returns the attributes added to the Labeler as an attribute.Set.
type ListAvatarsOKApplicationJSON ¶
type ListAvatarsOKApplicationJSON []Avatar
func (*ListAvatarsOKApplicationJSON) Decode ¶
func (s *ListAvatarsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListAvatarsOKApplicationJSON from json.
func (ListAvatarsOKApplicationJSON) Encode ¶
func (s ListAvatarsOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *ListCardScreensInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ListCardScreensInternalServerError from json.
func (*ListCardScreensInternalServerError) Encode ¶
func (s *ListCardScreensInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *ListCardScreensOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ListCardScreensOKApplicationJSON from json.
func (ListCardScreensOKApplicationJSON) Encode ¶
func (s ListCardScreensOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s ListCardScreensOKApplicationJSON) Validate() error
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 ¶
func (s *ListCardTakesInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ListCardTakesInternalServerError from json.
func (*ListCardTakesInternalServerError) Encode ¶
func (s *ListCardTakesInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *ListCardVOTakesInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ListCardVOTakesInternalServerError from json.
func (*ListCardVOTakesInternalServerError) Encode ¶
func (s *ListCardVOTakesInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *ListCoverTakesInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ListCoverTakesInternalServerError from json.
func (*ListCoverTakesInternalServerError) Encode ¶
func (s *ListCoverTakesInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *ListMusicTakesInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ListMusicTakesInternalServerError from json.
func (*ListMusicTakesInternalServerError) Encode ¶
func (s *ListMusicTakesInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *ListPortraitRefsBadRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *ListPortraitRefsInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ListPortraitRefsInternalServerError from json.
func (*ListPortraitRefsInternalServerError) Encode ¶
func (s *ListPortraitRefsInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *ListPortraitTakesBadRequest) Decode(d *jx.Decoder) error
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 ¶
func (s *ListPortraitTakesInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ListPortraitTakesInternalServerError from json.
func (*ListPortraitTakesInternalServerError) Encode ¶
func (s *ListPortraitTakesInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *ListPostsOKApplicationJSON) Decode(d *jx.Decoder) error
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 ¶
func (s *ListReelsOKApplicationJSON) Decode(d *jx.Decoder) error
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 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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NewReel) UnmarshalJSON ¶
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 ¶
OptAnchor is optional Anchor.
func NewOptAnchor ¶
NewOptAnchor returns new OptAnchor with value set to v.
func (OptAnchor) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptAnchor) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCardMedia ¶
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 ¶
func (o OptCardMedia) Or(d CardMedia) CardMedia
Or returns value if set, or given parameter if does not.
func (*OptCardMedia) UnmarshalJSON ¶
func (s *OptCardMedia) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCardMode ¶
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) UnmarshalJSON ¶
func (s *OptCardMode) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCardScrim ¶
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 ¶
func (o OptCardScrim) Or(d CardScrim) CardScrim
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptCardScrimDirection) Get() (v CardScrimDirection, ok bool)
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 ¶
func (o OptCardScrimDirection) Or(d CardScrimDirection) CardScrimDirection
Or returns value if set, or given parameter if does not.
func (*OptCardScrimDirection) SetTo ¶
func (o *OptCardScrimDirection) SetTo(v CardScrimDirection)
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 ¶
func (o OptCommitStatus) Or(d CommitStatus) CommitStatus
Or returns value if set, or given parameter if does not.
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 ¶
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) UnmarshalJSON ¶
func (s *OptFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGCReport ¶
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) 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 ¶
func (o OptGenerateRequest) Or(d GenerateRequest) GenerateRequest
Or returns value if set, or given parameter if does not.
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 ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt64 ¶
OptInt64 is optional int64.
func NewOptInt64 ¶
NewOptInt64 returns new OptInt64 with value set to v.
func (OptInt64) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt64) UnmarshalJSON ¶
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 ¶
func (o OptMediaPushStatus) Or(d MediaPushStatus) MediaPushStatus
Or returns value if set, or given parameter if does not.
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 ¶
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) 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 ¶
func (o OptPostRequest) Or(d PostRequest) PostRequest
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptPostTaxonomy) Or(d PostTaxonomy) PostTaxonomy
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptPushStatus) Or(d PushStatus) PushStatus
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptRenderRequest) Or(d RenderRequest) RenderRequest
Or returns value if set, or given parameter if does not.
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 ¶
OptScrim is optional Scrim.
func NewOptScrim ¶
NewOptScrim returns new OptScrim with value set to v.
func (OptScrim) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptScrim) UnmarshalJSON ¶
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 ¶
func (o OptScrimDirection) Or(d ScrimDirection) ScrimDirection
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptSocialApproval) Or(d SocialApproval) SocialApproval
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptSpendConfirm) Or(d SpendConfirm) SpendConfirm
Or returns value if set, or given parameter if does not.
func (*OptSpendConfirm) SetTo ¶
func (o *OptSpendConfirm) SetTo(v SpendConfirm)
SetTo sets value to v.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
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 ¶
func (o OptTextBlockAlign) Or(d TextBlockAlign) TextBlockAlign
Or returns value if set, or given parameter if does not.
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 ¶
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 ¶
func (o OptThemeCard) Or(d ThemeCard) ThemeCard
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptThemeCardMode) Or(d ThemeCardMode) ThemeCardMode
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptThemeFormats) Or(d ThemeFormats) ThemeFormats
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptThemeMusic) Or(d ThemeMusic) ThemeMusic
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptThemeVoice) Or(d ThemeVoice) ThemeVoice
Or returns value if set, or given parameter if does not.
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 ¶
func (o OptVoiceOverride) Or(d VoiceOverride) VoiceOverride
Or returns value if set, or given parameter if does not.
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 ¶
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 ¶
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Palette) UnmarshalJSON ¶
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 ¶
func (s *PickCardTakeInternalServerError) Decode(d *jx.Decoder) error
Decode decodes PickCardTakeInternalServerError from json.
func (*PickCardTakeInternalServerError) Encode ¶
func (s *PickCardTakeInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *PickCardTakeUnprocessableEntity) Decode(d *jx.Decoder) error
Decode decodes PickCardTakeUnprocessableEntity from json.
func (*PickCardTakeUnprocessableEntity) Encode ¶
func (s *PickCardTakeUnprocessableEntity) Encode(e *jx.Encoder)
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 ¶
func (s *PickCardVOInternalServerError) Decode(d *jx.Decoder) error
Decode decodes PickCardVOInternalServerError from json.
func (*PickCardVOInternalServerError) Encode ¶
func (s *PickCardVOInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *PickCoverInternalServerError) Decode(d *jx.Decoder) error
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 ¶
func (s *PickMusicInternalServerError) Decode(d *jx.Decoder) error
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 ¶
func (s *PickPortraitInternalServerError) Decode(d *jx.Decoder) error
Decode decodes PickPortraitInternalServerError from json.
func (*PickPortraitInternalServerError) Encode ¶
func (s *PickPortraitInternalServerError) Encode(e *jx.Encoder)
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*PickTake) UnmarshalJSON ¶
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
func (Platform) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (Platform) MarshalText ¶
MarshalText implements encoding.TextMarshaler.
func (*Platform) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*Platform) UnmarshalText ¶
UnmarshalText implements encoding.TextUnmarshaler.
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) GetSection ¶
GetSection returns the value of Section.
func (*Post) GetSummary ¶
GetSummary returns the value of Summary.
func (*Post) GetTaxonomy ¶
func (s *Post) GetTaxonomy() OptPostTaxonomy
GetTaxonomy returns the value of Taxonomy.
func (*Post) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Post) SetSection ¶
SetSection sets the value of Section.
func (*Post) SetSummary ¶
SetSummary sets the value of Summary.
func (*Post) SetTaxonomy ¶
func (s *Post) SetTaxonomy(val OptPostTaxonomy)
SetTaxonomy sets the value of Taxonomy.
func (*Post) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *PostSocialServiceUnavailable) Decode(d *jx.Decoder) error
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 ¶
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) GetStorage ¶
GetStorage returns the value of Storage.
func (*Project) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Project) SetStorage ¶
SetStorage sets the value of Storage.
func (*Project) UnmarshalJSON ¶
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) GetProjects ¶
GetProjects returns the value of Projects.
func (*Projects) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Projects) SetProjects ¶
SetProjects sets the value of Projects.
func (*Projects) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *PromoteThemeServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes PromoteThemeServiceUnavailable from json.
func (*PromoteThemeServiceUnavailable) Encode ¶
func (s *PromoteThemeServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
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 ¶
func (s *PutChatHistoryInternalServerError) Decode(d *jx.Decoder) error
Decode decodes PutChatHistoryInternalServerError from json.
func (*PutChatHistoryInternalServerError) Encode ¶
func (s *PutChatHistoryInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *PutConfigServiceUnavailable) Decode(d *jx.Decoder) error
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 ¶
func (s *PutConfigUnprocessableEntity) Decode(d *jx.Decoder) error
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 ¶
func (s *PutConfigYAMLInternalServerError) Decode(d *jx.Decoder) error
Decode decodes PutConfigYAMLInternalServerError from json.
func (*PutConfigYAMLInternalServerError) Encode ¶
func (s *PutConfigYAMLInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *PutConfigYAMLUnprocessableEntity) Decode(d *jx.Decoder) error
Decode decodes PutConfigYAMLUnprocessableEntity from json.
func (*PutConfigYAMLUnprocessableEntity) Encode ¶
func (s *PutConfigYAMLUnprocessableEntity) Encode(e *jx.Encoder)
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 ¶
func (s *PutDirectionInternalServerError) Decode(d *jx.Decoder) error
Decode decodes PutDirectionInternalServerError from json.
func (*PutDirectionInternalServerError) Encode ¶
func (s *PutDirectionInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *PutReelAspectInternalServerError) Decode(d *jx.Decoder) error
Decode decodes PutReelAspectInternalServerError from json.
func (*PutReelAspectInternalServerError) Encode ¶
func (s *PutReelAspectInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *PutReelAvatarsInternalServerError) Decode(d *jx.Decoder) error
Decode decodes PutReelAvatarsInternalServerError from json.
func (*PutReelAvatarsInternalServerError) Encode ¶
func (s *PutReelAvatarsInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *PutSocialInternalServerError) Decode(d *jx.Decoder) error
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 ¶
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 ¶
func (s *PutSourceInternalServerError) Decode(d *jx.Decoder) error
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 ¶
func (s *PutStoryboardInternalServerError) Decode(d *jx.Decoder) error
Decode decodes PutStoryboardInternalServerError from json.
func (*PutStoryboardInternalServerError) Encode ¶
func (s *PutStoryboardInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *PutStoryboardUnprocessableEntity) Decode(d *jx.Decoder) error
Decode decodes PutStoryboardUnprocessableEntity from json.
func (*PutStoryboardUnprocessableEntity) Encode ¶
func (s *PutStoryboardUnprocessableEntity) Encode(e *jx.Encoder)
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 ¶
func (s *PutStoryboardUnprocessableEntity) Validate() error
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 ¶
func (s *PutThemeInternalServerError) Decode(d *jx.Decoder) error
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) GetRemaining ¶
GetRemaining returns the value of Remaining.
func (*Quota) GetResetAt ¶
GetResetAt returns the value of ResetAt.
func (*Quota) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Quota) SetRemaining ¶
SetRemaining sets the value of Remaining.
func (*Quota) SetResetAt ¶
SetResetAt sets the value of ResetAt.
func (*Quota) UnmarshalJSON ¶
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) GetUncommitted ¶
GetUncommitted returns the value of Uncommitted.
func (*Reel) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Reel) SetUncommitted ¶
SetUncommitted sets the value of Uncommitted.
func (*Reel) UnmarshalJSON ¶
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 ¶
func (s *RemoveAvatarInternalServerError) Decode(d *jx.Decoder) error
Decode decodes RemoveAvatarInternalServerError from json.
func (*RemoveAvatarInternalServerError) Encode ¶
func (s *RemoveAvatarInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *RemoveReelInternalServerError) Decode(d *jx.Decoder) error
Decode decodes RemoveReelInternalServerError from json.
func (*RemoveReelInternalServerError) Encode ¶
func (s *RemoveReelInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *RemoveThemeServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes RemoveThemeServiceUnavailable from json.
func (*RemoveThemeServiceUnavailable) Encode ¶
func (s *RemoveThemeServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
func (s *RenameReelInternalServerError) Decode(d *jx.Decoder) error
Decode decodes RenameReelInternalServerError from json.
func (*RenameReelInternalServerError) Encode ¶
func (s *RenameReelInternalServerError) Encode(e *jx.Encoder)
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) OperationGroup ¶
OperationGroup returns the x-ogen-operation-group value.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
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 ¶
func (s *SaveAvatarInternalServerError) Decode(d *jx.Decoder) error
Decode decodes SaveAvatarInternalServerError from json.
func (*SaveAvatarInternalServerError) Encode ¶
func (s *SaveAvatarInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *SaveThemeServiceUnavailable) Decode(d *jx.Decoder) error
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 ¶
func (s *ScreenCardsInternalServerError) Decode(d *jx.Decoder) error
Decode decodes ScreenCardsInternalServerError from json.
func (*ScreenCardsInternalServerError) Encode ¶
func (s *ScreenCardsInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *ScreenCardsOKApplicationJSON) Decode(d *jx.Decoder) error
Decode decodes ScreenCardsOKApplicationJSON from json.
func (ScreenCardsOKApplicationJSON) Encode ¶
func (s ScreenCardsOKApplicationJSON) Encode(e *jx.Encoder)
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 ¶
func (s *ScreenCardsServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes ScreenCardsServiceUnavailable from json.
func (*ScreenCardsServiceUnavailable) Encode ¶
func (s *ScreenCardsServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
func (s *ScreenCardsUnprocessableEntity) Decode(d *jx.Decoder) error
Decode decodes ScreenCardsUnprocessableEntity from json.
func (*ScreenCardsUnprocessableEntity) Encode ¶
func (s *ScreenCardsUnprocessableEntity) Encode(e *jx.Encoder)
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) GetDirection ¶
func (s *Scrim) GetDirection() OptScrimDirection
GetDirection returns the value of Direction.
func (*Scrim) GetOpacity ¶
func (s *Scrim) GetOpacity() OptFloat64
GetOpacity returns the value of Opacity.
func (*Scrim) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Scrim) SetDirection ¶
func (s *Scrim) SetDirection(val OptScrimDirection)
SetDirection sets the value of Direction.
func (*Scrim) SetOpacity ¶
func (s *Scrim) SetOpacity(val OptFloat64)
SetOpacity sets the value of Opacity.
func (*Scrim) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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.
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 ¶
func (s *SetBundleInternalServerError) Decode(d *jx.Decoder) error
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 ¶
func (s *SetLabelInternalServerError) Decode(d *jx.Decoder) error
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 ¶
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Settings) UnmarshalJSON ¶
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SlotSaved) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SlugBundle ¶
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 ¶
Ref: #/components/schemas/SlugLabel
func (*SlugLabel) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SlugLabel) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SlugMove ¶
Ref: #/components/schemas/SlugMove
func (*SlugMove) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SlugMove) UnmarshalJSON ¶
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) MarshalJSON ¶
func (s *SlugTarget) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
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) GetPlatforms ¶
func (s *Social) GetPlatforms() SocialPlatforms
GetPlatforms returns the value of Platforms.
func (*Social) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Social) SetPlatforms ¶
func (s *Social) SetPlatforms(val SocialPlatforms)
SetPlatforms sets the value of Platforms.
func (*Social) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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"`
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 (*SocialEdit) GetLink ¶
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 (*SocialEdit) SetLink ¶
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"`
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 (*SocialEntry) GetLink ¶
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 (*SocialEntry) SetLink ¶
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SocialSet) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetAxis ¶
func (s *SpendGate) GetAxis() SpendGateAxis
GetAxis returns the value of Axis.
func (*SpendGate) GetEstimate ¶
GetEstimate returns the value of Estimate.
func (*SpendGate) GetMessage ¶
GetMessage returns the value of Message.
func (*SpendGate) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SpendGate) SetAxis ¶
func (s *SpendGate) SetAxis(val SpendGateAxis)
SetAxis sets the value of Axis.
func (*SpendGate) SetEstimate ¶
SetEstimate sets the value of Estimate.
func (*SpendGate) SetMessage ¶
SetMessage sets the value of Message.
func (*SpendGate) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*SpendUnit) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (s *StartRenderInternalServerError) Decode(d *jx.Decoder) error
Decode decodes StartRenderInternalServerError from json.
func (*StartRenderInternalServerError) Encode ¶
func (s *StartRenderInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *StartRenderServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes StartRenderServiceUnavailable from json.
func (*StartRenderServiceUnavailable) Encode ¶
func (s *StartRenderServiceUnavailable) Encode(e *jx.Encoder)
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) 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) 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) 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) 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 ¶
func (s *SummariseSourceInternalServerError) Decode(d *jx.Decoder) error
Decode decodes SummariseSourceInternalServerError from json.
func (*SummariseSourceInternalServerError) Encode ¶
func (s *SummariseSourceInternalServerError) Encode(e *jx.Encoder)
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 ¶
func (s *SummariseSourceServiceUnavailable) Decode(d *jx.Decoder) error
Decode decodes SummariseSourceServiceUnavailable from json.
func (*SummariseSourceServiceUnavailable) Encode ¶
func (s *SummariseSourceServiceUnavailable) Encode(e *jx.Encoder)
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 ¶
func (s *SwitchProjectInternalServerError) Decode(d *jx.Decoder) error
Decode decodes SwitchProjectInternalServerError from json.
func (*SwitchProjectInternalServerError) Encode ¶
func (s *SwitchProjectInternalServerError) Encode(e *jx.Encoder)
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) GetCurrent ¶
GetCurrent returns the value of Current.
func (*Takes) GetRecorded ¶
GetRecorded returns the value of Recorded.
func (*Takes) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Takes) SetCurrent ¶
SetCurrent sets the value of Current.
func (*Takes) SetRecorded ¶
SetRecorded sets the value of Recorded.
func (*Takes) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetAlign ¶
func (s *TextBlock) GetAlign() OptTextBlockAlign
GetAlign returns the value of Align.
func (*TextBlock) GetSize ¶
func (s *TextBlock) GetSize() OptFloat64
GetSize returns the value of Size.
func (*TextBlock) GetWidth ¶
func (s *TextBlock) GetWidth() OptFloat64
GetWidth returns the value of Width.
func (*TextBlock) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*TextBlock) SetAlign ¶
func (s *TextBlock) SetAlign(val OptTextBlockAlign)
SetAlign sets the value of Align.
func (*TextBlock) SetSize ¶
func (s *TextBlock) SetSize(val OptFloat64)
SetSize sets the value of Size.
func (*TextBlock) SetWidth ¶
func (s *TextBlock) SetWidth(val OptFloat64)
SetWidth sets the value of Width.
func (*TextBlock) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetFormats ¶
func (s *Theme) GetFormats() OptThemeFormats
GetFormats returns the value of Formats.
func (*Theme) GetKeyword ¶
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) GetVoice ¶
func (s *Theme) GetVoice() OptThemeVoice
GetVoice returns the value of Voice.
func (*Theme) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Theme) SetFormats ¶
func (s *Theme) SetFormats(val OptThemeFormats)
SetFormats sets the value of Formats.
func (*Theme) SetKeyword ¶
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) SetVoice ¶
func (s *Theme) SetVoice(val OptThemeVoice)
SetVoice sets the value of Voice.
func (*Theme) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) GetFontBold ¶
GetFontBold returns the value of FontBold.
func (*ThemeCard) GetFontMono ¶
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) GetSequence ¶
GetSequence returns the value of Sequence.
func (*ThemeCard) GetTail ¶
func (s *ThemeCard) GetTail() OptFloat64
GetTail returns the value of Tail.
func (*ThemeCard) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ThemeCard) SetFontBold ¶
SetFontBold sets the value of FontBold.
func (*ThemeCard) SetFontMono ¶
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) SetSequence ¶
SetSequence sets the value of Sequence.
func (*ThemeCard) SetTail ¶
func (s *ThemeCard) SetTail(val OptFloat64)
SetTail sets the value of Tail.
func (*ThemeCard) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (ThemeCatalogScopesItem) AllValues() []ThemeCatalogScopesItem
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) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ThemeEdit) UnmarshalJSON ¶
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 ¶
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 ¶
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 ¶
func (ThemePromotionScope) AllValues() []ThemePromotionScope
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) GetFontBold ¶
GetFontBold returns the value of FontBold.
func (*ThemeView) GetFontMono ¶
GetFontMono returns the value of FontMono.
func (*ThemeView) GetKeyword ¶
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) GetTail ¶
func (s *ThemeView) GetTail() OptFloat64
GetTail returns the value of Tail.
func (*ThemeView) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ThemeView) SetFontBold ¶
SetFontBold sets the value of FontBold.
func (*ThemeView) SetFontMono ¶
SetFontMono sets the value of FontMono.
func (*ThemeView) SetKeyword ¶
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) SetTail ¶
func (s *ThemeView) SetTail(val OptFloat64)
SetTail sets the value of Tail.
func (*ThemeView) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ThemeVoice ¶
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) GetCards ¶
func (s *Timeline) GetCards() []TimelineCard
GetCards returns the value of Cards.
func (*Timeline) GetVoDriven ¶
GetVoDriven returns the value of VoDriven.
func (*Timeline) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Timeline) SetCards ¶
func (s *Timeline) SetCards(val []TimelineCard)
SetCards sets the value of Cards.
func (*Timeline) SetVoDriven ¶
SetVoDriven sets the value of VoDriven.
func (*Timeline) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 ¶
func (UnimplementedHandler) ApproveSocial(ctx context.Context, req OptSocialApproval, params ApproveSocialParams) (r ApproveSocialRes, _ 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
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 ¶
func (UnimplementedHandler) CommitReel(ctx context.Context, params CommitReelParams) (r CommitReelRes, _ 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
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 ¶
func (UnimplementedHandler) DuplicateReel(ctx context.Context, req *SlugTarget, params DuplicateReelParams) (r DuplicateReelRes, _ 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
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 ¶
func (UnimplementedHandler) GenerateCard(ctx context.Context, req OptGenerateRequest, params GenerateCardParams) (r GenerateCardRes, _ 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
func (UnimplementedHandler) GenerateCardVO ¶
func (UnimplementedHandler) GenerateCardVO(ctx context.Context, req OptGenerateRequest, params GenerateCardVOParams) (r GenerateCardVORes, _ 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
func (UnimplementedHandler) GenerateCover ¶
func (UnimplementedHandler) GenerateCover(ctx context.Context, req OptGenerateRequest, params GenerateCoverParams) (r GenerateCoverRes, _ 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
func (UnimplementedHandler) GenerateMusic ¶
func (UnimplementedHandler) GenerateMusic(ctx context.Context, req OptGenerateRequest, params GenerateMusicParams) (r GenerateMusicRes, _ error)
GenerateMusic implements generateMusic operation.
Generate music-bed candidates.
POST /workspace/{slug}/music/generate
func (UnimplementedHandler) GeneratePortrait ¶
func (UnimplementedHandler) GeneratePortrait(ctx context.Context, req OptGenerateRequest, params GeneratePortraitParams) (r GeneratePortraitRes, _ error)
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 ¶
func (UnimplementedHandler) GetArticle(ctx context.Context, params GetArticleParams) (r GetArticleRes, _ error)
GetArticle implements getArticle operation.
One article, with its body rendered for preview.
GET /content/article
func (UnimplementedHandler) GetChatHistory ¶
func (UnimplementedHandler) GetChatHistory(ctx context.Context, params GetChatHistoryParams) (r GetChatHistoryRes, _ error)
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 ¶
func (UnimplementedHandler) GetOutcome(ctx context.Context, params GetOutcomeParams) (r GetOutcomeRes, _ 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
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 ¶
func (UnimplementedHandler) GetTimeline(ctx context.Context, params GetTimelineParams) (r GetTimelineRes, _ 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
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 ¶
func (UnimplementedHandler) GetWorkspace(ctx context.Context, params GetWorkspaceParams) (r GetWorkspaceRes, _ 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}
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 ¶
func (UnimplementedHandler) ListCardScreens(ctx context.Context, params ListCardScreensParams) (r ListCardScreensRes, _ error)
ListCardScreens implements listCardScreens operation.
Which cards' illustrations have been checked for leaked text.
GET /workspace/{slug}/cards/screens
func (UnimplementedHandler) ListCardTakes ¶
func (UnimplementedHandler) ListCardTakes(ctx context.Context, params ListCardTakesParams) (r ListCardTakesRes, _ 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
func (UnimplementedHandler) ListCardVOTakes ¶
func (UnimplementedHandler) ListCardVOTakes(ctx context.Context, params ListCardVOTakesParams) (r ListCardVOTakesRes, _ 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
func (UnimplementedHandler) ListCoverTakes ¶
func (UnimplementedHandler) ListCoverTakes(ctx context.Context, params ListCoverTakesParams) (r ListCoverTakesRes, _ error)
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 ¶
func (UnimplementedHandler) ListMusicTakes(ctx context.Context, params ListMusicTakesParams) (r ListMusicTakesRes, _ error)
ListMusicTakes implements listMusicTakes operation.
The reel's music-bed candidates.
GET /workspace/{slug}/music/takes
func (UnimplementedHandler) ListPortraitRefs ¶
func (UnimplementedHandler) ListPortraitRefs(ctx context.Context, params ListPortraitRefsParams) (r ListPortraitRefsRes, _ 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
func (UnimplementedHandler) ListPortraitTakes ¶
func (UnimplementedHandler) ListPortraitTakes(ctx context.Context, params ListPortraitTakesParams) (r ListPortraitTakesRes, _ error)
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 ¶
func (UnimplementedHandler) PostSocial(ctx context.Context, req OptPostRequest, params PostSocialParams) (r PostSocialRes, _ 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
func (UnimplementedHandler) PromoteTheme ¶
func (UnimplementedHandler) PromoteTheme(ctx context.Context, params PromoteThemeParams) (r PromoteThemeRes, _ 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
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 ¶
func (UnimplementedHandler) PutChatHistory(ctx context.Context, req *ChatHistory, params PutChatHistoryParams) (r PutChatHistoryRes, _ 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
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 ¶
func (UnimplementedHandler) PutDirection(ctx context.Context, req *DirectionEdit, params PutDirectionParams) (r PutDirectionRes, _ 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
func (UnimplementedHandler) PutReelAspect ¶
func (UnimplementedHandler) PutReelAspect(ctx context.Context, req *AspectEdit, params PutReelAspectParams) (r PutReelAspectRes, _ 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
func (UnimplementedHandler) PutReelAvatars ¶
func (UnimplementedHandler) PutReelAvatars(ctx context.Context, req *AvatarsEdit, params PutReelAvatarsParams) (r PutReelAvatarsRes, _ 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
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 ¶
func (UnimplementedHandler) PutStoryboard(ctx context.Context, req Storyboard, params PutStoryboardParams) (r PutStoryboardRes, _ 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
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 ¶
func (UnimplementedHandler) RemoveAvatar(ctx context.Context, params RemoveAvatarParams) (r RemoveAvatarRes, _ 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}
func (UnimplementedHandler) RemoveReel ¶
func (UnimplementedHandler) RemoveReel(ctx context.Context, params RemoveReelParams) (r RemoveReelRes, _ 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}
func (UnimplementedHandler) RemoveTheme ¶
func (UnimplementedHandler) RemoveTheme(ctx context.Context, params RemoveThemeParams) (r RemoveThemeRes, _ 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}
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 ¶
func (UnimplementedHandler) ScreenCards(ctx context.Context, params ScreenCardsParams) (r ScreenCardsRes, _ 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
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 ¶
func (UnimplementedHandler) StartRender(ctx context.Context, req OptRenderRequest, params StartRenderParams) (r StartRenderRes, _ 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
func (UnimplementedHandler) StopRender ¶
func (UnimplementedHandler) StopRender(ctx context.Context, params StopRenderParams) (r StopRenderRes, _ error)
StopRender implements stopRender operation.
Cancel the render in flight.
POST /workspace/{slug}/render/cancel
func (UnimplementedHandler) SummariseSource ¶
func (UnimplementedHandler) SummariseSource(ctx context.Context, params SummariseSourceParams) (r SummariseSourceRes, _ 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
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) GetAuth ¶
func (s *VCStatus) GetAuth() VCStatusAuth
GetAuth returns the value of Auth.
func (*VCStatus) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*VCStatus) SetAuth ¶
func (s *VCStatus) SetAuth(val VCStatusAuth)
SetAuth sets the value of Auth.
func (*VCStatus) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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) 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) 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) GetAspectDefault ¶
GetAspectDefault returns the value of AspectDefault.
func (*Workspace) GetAvatars ¶
GetAvatars returns the value of Avatars.
func (*Workspace) GetCardAssets ¶
func (s *Workspace) GetCardAssets() []CardAssets
GetCardAssets returns the value of CardAssets.
func (*Workspace) GetCoverScene ¶
GetCoverScene returns the value of CoverScene.
func (*Workspace) GetDirection ¶
GetDirection returns the value of Direction.
func (*Workspace) GetHasCover ¶
GetHasCover returns the value of HasCover.
func (*Workspace) GetHasReel ¶
GetHasReel returns the value of HasReel.
func (*Workspace) GetRenderH ¶
GetRenderH returns the value of RenderH.
func (*Workspace) GetRenderW ¶
GetRenderW returns the value of RenderW.
func (*Workspace) GetStoryboard ¶
func (s *Workspace) GetStoryboard() Storyboard
GetStoryboard returns the value of Storyboard.
func (*Workspace) GetValidation ¶
func (s *Workspace) GetValidation() Validation
GetValidation returns the value of Validation.
func (*Workspace) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Workspace) SetAspectDefault ¶
SetAspectDefault sets the value of AspectDefault.
func (*Workspace) SetAvatars ¶
SetAvatars sets the value of Avatars.
func (*Workspace) SetCardAssets ¶
func (s *Workspace) SetCardAssets(val []CardAssets)
SetCardAssets sets the value of CardAssets.
func (*Workspace) SetCoverScene ¶
SetCoverScene sets the value of CoverScene.
func (*Workspace) SetDirection ¶
SetDirection sets the value of Direction.
func (*Workspace) SetHasCover ¶
SetHasCover sets the value of HasCover.
func (*Workspace) SetHasReel ¶
SetHasReel sets the value of HasReel.
func (*Workspace) SetRenderH ¶
SetRenderH sets the value of RenderH.
func (*Workspace) SetRenderW ¶
SetRenderW sets the value of RenderW.
func (*Workspace) SetStoryboard ¶
func (s *Workspace) SetStoryboard(val Storyboard)
SetStoryboard sets the value of Storyboard.
func (*Workspace) SetValidation ¶
func (s *Workspace) SetValidation(val Validation)
SetValidation sets the value of Validation.
func (*Workspace) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
Source Files
¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_labeler_gen.go
- oas_middleware_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go