Documentation ¶
Index ¶
- Constants
- type AuthLogin
- type AuthToken
- type AuthVerify
- type Build
- type BuildVersion
- type BuildVersionParams
- type BuildVersions
- type Builds
- type Fabric
- type FabricBuildParams
- type FabricBuilds
- type Fabrics
- type Forge
- type ForgeBuildParams
- type ForgeBuilds
- type Forges
- type GeneralError
- type Member
- type Minecraft
- type MinecraftBuildParams
- type MinecraftBuilds
- type Minecrafts
- type Mod
- type ModTeamParams
- type ModTeams
- type ModUserParams
- type ModUsers
- type Mods
- type Neoforge
- type NeoforgeBuildParams
- type NeoforgeBuilds
- type Neoforges
- type Pack
- type PackBack
- type PackIcon
- type PackLogo
- type PackTeamParams
- type PackTeams
- type PackUserParams
- type PackUsers
- type Packs
- type Profile
- type Quilt
- type QuiltBuildParams
- type QuiltBuilds
- type Quilts
- type Team
- type TeamMod
- type TeamModParams
- type TeamMods
- type TeamPack
- type TeamPackParams
- type TeamPacks
- type TeamUserParams
- type TeamUsers
- type Teams
- type User
- type UserMod
- type UserModParams
- type UserMods
- type UserPack
- type UserPackParams
- type UserPacks
- type UserTeamParams
- type UserTeams
- type Users
- type ValidationError
- type ValidationErrorErrorsItems0
- func (m *ValidationErrorErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ValidationErrorErrorsItems0) MarshalBinary() ([]byte, error)
- func (m *ValidationErrorErrorsItems0) UnmarshalBinary(b []byte) error
- func (m *ValidationErrorErrorsItems0) Validate(formats strfmt.Registry) error
- type Version
- type VersionBuildParams
- type VersionBuilds
- type VersionFile
- type Versions
Constants ¶
const ( // MemberPermUser captures enum value "user" MemberPermUser string = "user" // MemberPermAdmin captures enum value "admin" MemberPermAdmin string = "admin" // MemberPermOwner captures enum value "owner" MemberPermOwner string = "owner" )
const ( // ModSideBoth captures enum value "both" ModSideBoth string = "both" // ModSideServer captures enum value "server" ModSideServer string = "server" // ModSideClient captures enum value "client" ModSideClient string = "client" )
const ( // ModTeamParamsPermUser captures enum value "user" ModTeamParamsPermUser string = "user" // ModTeamParamsPermAdmin captures enum value "admin" ModTeamParamsPermAdmin string = "admin" // ModTeamParamsPermOwner captures enum value "owner" ModTeamParamsPermOwner string = "owner" )
const ( // ModUserParamsPermUser captures enum value "user" ModUserParamsPermUser string = "user" // ModUserParamsPermAdmin captures enum value "admin" ModUserParamsPermAdmin string = "admin" // ModUserParamsPermOwner captures enum value "owner" ModUserParamsPermOwner string = "owner" )
const ( // PackTeamParamsPermUser captures enum value "user" PackTeamParamsPermUser string = "user" // PackTeamParamsPermAdmin captures enum value "admin" PackTeamParamsPermAdmin string = "admin" // PackTeamParamsPermOwner captures enum value "owner" PackTeamParamsPermOwner string = "owner" )
const ( // PackUserParamsPermUser captures enum value "user" PackUserParamsPermUser string = "user" // PackUserParamsPermAdmin captures enum value "admin" PackUserParamsPermAdmin string = "admin" // PackUserParamsPermOwner captures enum value "owner" PackUserParamsPermOwner string = "owner" )
const ( // TeamModPermUser captures enum value "user" TeamModPermUser string = "user" // TeamModPermAdmin captures enum value "admin" TeamModPermAdmin string = "admin" // TeamModPermOwner captures enum value "owner" TeamModPermOwner string = "owner" )
const ( // TeamModParamsPermUser captures enum value "user" TeamModParamsPermUser string = "user" // TeamModParamsPermAdmin captures enum value "admin" TeamModParamsPermAdmin string = "admin" // TeamModParamsPermOwner captures enum value "owner" TeamModParamsPermOwner string = "owner" )
const ( // TeamPackPermUser captures enum value "user" TeamPackPermUser string = "user" // TeamPackPermAdmin captures enum value "admin" TeamPackPermAdmin string = "admin" // TeamPackPermOwner captures enum value "owner" TeamPackPermOwner string = "owner" )
const ( // TeamPackParamsPermUser captures enum value "user" TeamPackParamsPermUser string = "user" // TeamPackParamsPermAdmin captures enum value "admin" TeamPackParamsPermAdmin string = "admin" // TeamPackParamsPermOwner captures enum value "owner" TeamPackParamsPermOwner string = "owner" )
const ( // TeamUserParamsPermUser captures enum value "user" TeamUserParamsPermUser string = "user" // TeamUserParamsPermAdmin captures enum value "admin" TeamUserParamsPermAdmin string = "admin" // TeamUserParamsPermOwner captures enum value "owner" TeamUserParamsPermOwner string = "owner" )
const ( // UserModPermUser captures enum value "user" UserModPermUser string = "user" // UserModPermAdmin captures enum value "admin" UserModPermAdmin string = "admin" // UserModPermOwner captures enum value "owner" UserModPermOwner string = "owner" )
const ( // UserModParamsPermUser captures enum value "user" UserModParamsPermUser string = "user" // UserModParamsPermAdmin captures enum value "admin" UserModParamsPermAdmin string = "admin" // UserModParamsPermOwner captures enum value "owner" UserModParamsPermOwner string = "owner" )
const ( // UserPackPermUser captures enum value "user" UserPackPermUser string = "user" // UserPackPermAdmin captures enum value "admin" UserPackPermAdmin string = "admin" // UserPackPermOwner captures enum value "owner" UserPackPermOwner string = "owner" )
const ( // UserPackParamsPermUser captures enum value "user" UserPackParamsPermUser string = "user" // UserPackParamsPermAdmin captures enum value "admin" UserPackParamsPermAdmin string = "admin" // UserPackParamsPermOwner captures enum value "owner" UserPackParamsPermOwner string = "owner" )
const ( // UserTeamParamsPermUser captures enum value "user" UserTeamParamsPermUser string = "user" // UserTeamParamsPermAdmin captures enum value "admin" UserTeamParamsPermAdmin string = "admin" // UserTeamParamsPermOwner captures enum value "owner" UserTeamParamsPermOwner string = "owner" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthLogin ¶
type AuthLogin struct { // password // Required: true // Format: password Password *strfmt.Password `json:"password"` // username // Required: true Username *string `json:"username"` }
AuthLogin auth login
swagger:model auth_login
func (*AuthLogin) ContextValidate ¶
ContextValidate validates this auth login based on context it is used
func (*AuthLogin) MarshalBinary ¶
MarshalBinary interface implementation
func (*AuthLogin) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AuthToken ¶
type AuthToken struct { // expires at // Read Only: true // Format: date-time ExpiresAt *strfmt.DateTime `json:"expires_at,omitempty"` // token // Required: true // Read Only: true Token string `json:"token"` }
AuthToken auth token
swagger:model auth_token
func (*AuthToken) ContextValidate ¶
ContextValidate validate this auth token based on the context it is used
func (*AuthToken) MarshalBinary ¶
MarshalBinary interface implementation
func (*AuthToken) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AuthVerify ¶
type AuthVerify struct { // created at // Read Only: true // Format: date-time CreatedAt *strfmt.DateTime `json:"created_at,omitempty"` // username // Required: true // Read Only: true Username string `json:"username"` }
AuthVerify auth verify
swagger:model auth_verify
func (*AuthVerify) ContextValidate ¶
ContextValidate validate this auth verify based on the context it is used
func (*AuthVerify) MarshalBinary ¶
func (m *AuthVerify) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthVerify) UnmarshalBinary ¶
func (m *AuthVerify) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Build ¶
type Build struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // fabric // Read Only: true Fabric *Fabric `json:"fabric,omitempty"` // fabric id // Format: uuid FabricID *strfmt.UUID `json:"fabric_id,omitempty"` // forge // Read Only: true Forge *Forge `json:"forge,omitempty"` // forge id // Format: uuid ForgeID *strfmt.UUID `json:"forge_id,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // java Java *string `json:"java,omitempty"` // memory Memory *string `json:"memory,omitempty"` // minecraft // Read Only: true Minecraft *Minecraft `json:"minecraft,omitempty"` // minecraft id // Format: uuid MinecraftID *strfmt.UUID `json:"minecraft_id,omitempty"` // name // Required: true Name *string `json:"name"` // neoforge // Read Only: true Neoforge *Neoforge `json:"neoforge,omitempty"` // neoforge id // Format: uuid NeoforgeID *strfmt.UUID `json:"neoforge_id,omitempty"` // pack // Read Only: true Pack *Pack `json:"pack,omitempty"` // pack id // Format: uuid PackID strfmt.UUID `json:"pack_id,omitempty"` // public Public *bool `json:"public,omitempty"` // quilt // Read Only: true Quilt *Quilt `json:"quilt,omitempty"` // quilt id // Format: uuid QuiltID *strfmt.UUID `json:"quilt_id,omitempty"` // slug Slug *string `json:"slug,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // versions // Read Only: true Versions []*BuildVersion `json:"versions,omitempty"` }
Build build
swagger:model build
func (*Build) ContextValidate ¶
ContextValidate validate this build based on the context it is used
func (*Build) MarshalBinary ¶
MarshalBinary interface implementation
func (*Build) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BuildVersion ¶
type BuildVersion struct { // build // Read Only: true Build *Build `json:"build,omitempty"` // build id // Required: true // Format: uuid BuildID *strfmt.UUID `json:"build_id"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // version // Read Only: true Version *Version `json:"version,omitempty"` // version id // Required: true // Format: uuid VersionID *strfmt.UUID `json:"version_id"` }
BuildVersion build version
swagger:model build_version
func (*BuildVersion) ContextValidate ¶
ContextValidate validate this build version based on the context it is used
func (*BuildVersion) MarshalBinary ¶
func (m *BuildVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildVersion) UnmarshalBinary ¶
func (m *BuildVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BuildVersionParams ¶
type BuildVersionParams struct { // mod // Required: true Mod *string `json:"mod"` // version // Required: true Version *string `json:"version"` }
BuildVersionParams build version params
swagger:model build_version_params
func (*BuildVersionParams) ContextValidate ¶
ContextValidate validates this build version params based on context it is used
func (*BuildVersionParams) MarshalBinary ¶
func (m *BuildVersionParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildVersionParams) UnmarshalBinary ¶
func (m *BuildVersionParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BuildVersions ¶
type BuildVersions struct { // build // Read Only: true Build *Build `json:"build,omitempty"` // pack // Read Only: true Pack *Pack `json:"pack,omitempty"` // versions Versions []*BuildVersion `json:"versions"` }
BuildVersions build versions
swagger:model build_versions
func (*BuildVersions) ContextValidate ¶
ContextValidate validate this build versions based on the context it is used
func (*BuildVersions) MarshalBinary ¶
func (m *BuildVersions) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BuildVersions) UnmarshalBinary ¶
func (m *BuildVersions) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Builds ¶
type Builds struct { // builds Builds []*Build `json:"builds"` // pack Pack *Pack `json:"pack,omitempty"` }
Builds builds
swagger:model builds
func (*Builds) ContextValidate ¶
ContextValidate validate this builds based on the context it is used
func (*Builds) MarshalBinary ¶
MarshalBinary interface implementation
func (*Builds) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Fabric ¶
type Fabric struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // name // Required: true Name *string `json:"name"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
Fabric fabric
swagger:model fabric
func (*Fabric) ContextValidate ¶
ContextValidate validate this fabric based on the context it is used
func (*Fabric) MarshalBinary ¶
MarshalBinary interface implementation
func (*Fabric) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type FabricBuildParams ¶
type FabricBuildParams struct { // build // Required: true Build *string `json:"build"` // pack // Required: true Pack *string `json:"pack"` }
FabricBuildParams fabric build params
swagger:model fabric_build_params
func (*FabricBuildParams) ContextValidate ¶
ContextValidate validates this fabric build params based on context it is used
func (*FabricBuildParams) MarshalBinary ¶
func (m *FabricBuildParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FabricBuildParams) UnmarshalBinary ¶
func (m *FabricBuildParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FabricBuilds ¶
type FabricBuilds struct { // builds Builds []*Build `json:"builds"` // fabric Fabric *Fabric `json:"fabric,omitempty"` }
FabricBuilds fabric builds
swagger:model fabric_builds
func (*FabricBuilds) ContextValidate ¶
ContextValidate validate this fabric builds based on the context it is used
func (*FabricBuilds) MarshalBinary ¶
func (m *FabricBuilds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FabricBuilds) UnmarshalBinary ¶
func (m *FabricBuilds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Fabrics ¶
type Fabrics struct { // versions Versions []*Fabric `json:"versions"` }
Fabrics fabrics
swagger:model fabrics
func (*Fabrics) ContextValidate ¶
ContextValidate validate this fabrics based on the context it is used
func (*Fabrics) MarshalBinary ¶
MarshalBinary interface implementation
func (*Fabrics) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Forge ¶
type Forge struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // minecraft Minecraft *string `json:"minecraft,omitempty"` // name // Required: true Name *string `json:"name"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
Forge forge
swagger:model forge
func (*Forge) ContextValidate ¶
ContextValidate validate this forge based on the context it is used
func (*Forge) MarshalBinary ¶
MarshalBinary interface implementation
func (*Forge) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ForgeBuildParams ¶
type ForgeBuildParams struct { // build // Required: true Build *string `json:"build"` // pack // Required: true Pack *string `json:"pack"` }
ForgeBuildParams forge build params
swagger:model forge_build_params
func (*ForgeBuildParams) ContextValidate ¶
ContextValidate validates this forge build params based on context it is used
func (*ForgeBuildParams) MarshalBinary ¶
func (m *ForgeBuildParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ForgeBuildParams) UnmarshalBinary ¶
func (m *ForgeBuildParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ForgeBuilds ¶
type ForgeBuilds struct { // builds Builds []*Build `json:"builds"` // forge Forge *Forge `json:"forge,omitempty"` }
ForgeBuilds forge builds
swagger:model forge_builds
func (*ForgeBuilds) ContextValidate ¶
ContextValidate validate this forge builds based on the context it is used
func (*ForgeBuilds) MarshalBinary ¶
func (m *ForgeBuilds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ForgeBuilds) UnmarshalBinary ¶
func (m *ForgeBuilds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Forges ¶
type Forges struct { // versions Versions []*Forge `json:"versions"` }
Forges forges
swagger:model forges
func (*Forges) ContextValidate ¶
ContextValidate validate this forges based on the context it is used
func (*Forges) MarshalBinary ¶
MarshalBinary interface implementation
func (*Forges) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GeneralError ¶
type GeneralError struct { // message // Required: true Message *string `json:"message"` // status // Required: true Status *int64 `json:"status"` }
GeneralError General error for regular HTTP status codes
swagger:model general_error
func (*GeneralError) ContextValidate ¶
ContextValidate validates this general error based on context it is used
func (*GeneralError) MarshalBinary ¶
func (m *GeneralError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GeneralError) UnmarshalBinary ¶
func (m *GeneralError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Member ¶
type Member struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // team // Read Only: true Team *Team `json:"team,omitempty"` // team id // Required: true // Format: uuid TeamID *strfmt.UUID `json:"team_id"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // user // Read Only: true User *User `json:"user,omitempty"` // user id // Required: true // Format: uuid UserID *strfmt.UUID `json:"user_id"` }
Member member
swagger:model member
func (*Member) ContextValidate ¶
ContextValidate validate this member based on the context it is used
func (*Member) MarshalBinary ¶
MarshalBinary interface implementation
func (*Member) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Minecraft ¶
type Minecraft struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // name // Required: true Name *string `json:"name"` // type Type *string `json:"type,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
Minecraft minecraft
swagger:model minecraft
func (*Minecraft) ContextValidate ¶
ContextValidate validate this minecraft based on the context it is used
func (*Minecraft) MarshalBinary ¶
MarshalBinary interface implementation
func (*Minecraft) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type MinecraftBuildParams ¶
type MinecraftBuildParams struct { // build // Required: true Build *string `json:"build"` // pack // Required: true Pack *string `json:"pack"` }
MinecraftBuildParams minecraft build params
swagger:model minecraft_build_params
func (*MinecraftBuildParams) ContextValidate ¶
ContextValidate validates this minecraft build params based on context it is used
func (*MinecraftBuildParams) MarshalBinary ¶
func (m *MinecraftBuildParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MinecraftBuildParams) UnmarshalBinary ¶
func (m *MinecraftBuildParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MinecraftBuilds ¶
type MinecraftBuilds struct { // builds Builds []*Build `json:"builds"` // minecraft Minecraft *Minecraft `json:"minecraft,omitempty"` }
MinecraftBuilds minecraft builds
swagger:model minecraft_builds
func (*MinecraftBuilds) ContextValidate ¶
ContextValidate validate this minecraft builds based on the context it is used
func (*MinecraftBuilds) MarshalBinary ¶
func (m *MinecraftBuilds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MinecraftBuilds) UnmarshalBinary ¶
func (m *MinecraftBuilds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Minecrafts ¶
type Minecrafts struct { // versions Versions []*Minecraft `json:"versions"` }
Minecrafts minecrafts
swagger:model minecrafts
func (*Minecrafts) ContextValidate ¶
ContextValidate validate this minecrafts based on the context it is used
func (*Minecrafts) MarshalBinary ¶
func (m *Minecrafts) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Minecrafts) UnmarshalBinary ¶
func (m *Minecrafts) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Mod ¶
type Mod struct { // author Author *string `json:"author,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // description Description *string `json:"description,omitempty"` // donate Donate *string `json:"donate,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // name // Required: true Name *string `json:"name"` // public Public *bool `json:"public,omitempty"` // side // Enum: [both server client] Side *string `json:"side,omitempty"` // slug Slug *string `json:"slug,omitempty"` // teams // Read Only: true Teams []*TeamMod `json:"teams,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // users // Read Only: true Users []*UserMod `json:"users,omitempty"` // versions // Read Only: true Versions []*Version `json:"versions,omitempty"` // website Website *string `json:"website,omitempty"` }
Mod mod
swagger:model mod
func (*Mod) ContextValidate ¶
ContextValidate validate this mod based on the context it is used
func (*Mod) MarshalBinary ¶
MarshalBinary interface implementation
func (*Mod) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ModTeamParams ¶
type ModTeamParams struct { // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // team // Required: true Team *string `json:"team"` }
ModTeamParams mod team params
swagger:model mod_team_params
func (*ModTeamParams) ContextValidate ¶
ContextValidate validates this mod team params based on context it is used
func (*ModTeamParams) MarshalBinary ¶
func (m *ModTeamParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModTeamParams) UnmarshalBinary ¶
func (m *ModTeamParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModTeams ¶
type ModTeams struct { // mod // Read Only: true Mod *Mod `json:"mod,omitempty"` // teams Teams []*TeamMod `json:"teams"` }
ModTeams mod teams
swagger:model mod_teams
func (*ModTeams) ContextValidate ¶
ContextValidate validate this mod teams based on the context it is used
func (*ModTeams) MarshalBinary ¶
MarshalBinary interface implementation
func (*ModTeams) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ModUserParams ¶
type ModUserParams struct { // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // user // Required: true User *string `json:"user"` }
ModUserParams mod user params
swagger:model mod_user_params
func (*ModUserParams) ContextValidate ¶
ContextValidate validates this mod user params based on context it is used
func (*ModUserParams) MarshalBinary ¶
func (m *ModUserParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ModUserParams) UnmarshalBinary ¶
func (m *ModUserParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ModUsers ¶
type ModUsers struct { // mod // Read Only: true Mod *Mod `json:"mod,omitempty"` // users Users []*UserMod `json:"users"` }
ModUsers mod users
swagger:model mod_users
func (*ModUsers) ContextValidate ¶
ContextValidate validate this mod users based on the context it is used
func (*ModUsers) MarshalBinary ¶
MarshalBinary interface implementation
func (*ModUsers) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Mods ¶
type Mods struct { // mods Mods []*Mod `json:"mods"` }
Mods mods
swagger:model mods
func (*Mods) ContextValidate ¶
ContextValidate validate this mods based on the context it is used
func (*Mods) MarshalBinary ¶
MarshalBinary interface implementation
func (*Mods) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Neoforge ¶
type Neoforge struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // minecraft Minecraft *string `json:"minecraft,omitempty"` // name // Required: true Name *string `json:"name"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
Neoforge neoforge
swagger:model neoforge
func (*Neoforge) ContextValidate ¶
ContextValidate validate this neoforge based on the context it is used
func (*Neoforge) MarshalBinary ¶
MarshalBinary interface implementation
func (*Neoforge) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type NeoforgeBuildParams ¶
type NeoforgeBuildParams struct { // build // Required: true Build *string `json:"build"` // pack // Required: true Pack *string `json:"pack"` }
NeoforgeBuildParams neoforge build params
swagger:model neoforge_build_params
func (*NeoforgeBuildParams) ContextValidate ¶
ContextValidate validates this neoforge build params based on context it is used
func (*NeoforgeBuildParams) MarshalBinary ¶
func (m *NeoforgeBuildParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeoforgeBuildParams) UnmarshalBinary ¶
func (m *NeoforgeBuildParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NeoforgeBuilds ¶
type NeoforgeBuilds struct { // builds Builds []*Build `json:"builds"` // neoforge Neoforge *Neoforge `json:"neoforge,omitempty"` }
NeoforgeBuilds neoforge builds
swagger:model neoforge_builds
func (*NeoforgeBuilds) ContextValidate ¶
ContextValidate validate this neoforge builds based on the context it is used
func (*NeoforgeBuilds) MarshalBinary ¶
func (m *NeoforgeBuilds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NeoforgeBuilds) UnmarshalBinary ¶
func (m *NeoforgeBuilds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Neoforges ¶
type Neoforges struct { // versions Versions []*Neoforge `json:"versions"` }
Neoforges neoforges
swagger:model neoforges
func (*Neoforges) ContextValidate ¶
ContextValidate validate this neoforges based on the context it is used
func (*Neoforges) MarshalBinary ¶
MarshalBinary interface implementation
func (*Neoforges) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Pack ¶
type Pack struct { // back // Read Only: true Back *PackBack `json:"back,omitempty"` // builds // Read Only: true Builds []*Build `json:"builds,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // icon // Read Only: true Icon *PackIcon `json:"icon,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // latest // Read Only: true Latest *Build `json:"latest,omitempty"` // latest id // Format: uuid LatestID *strfmt.UUID `json:"latest_id,omitempty"` // logo // Read Only: true Logo *PackLogo `json:"logo,omitempty"` // name // Required: true Name *string `json:"name"` // public Public *bool `json:"public,omitempty"` // recommended // Read Only: true Recommended *Build `json:"recommended,omitempty"` // recommended id // Format: uuid RecommendedID *strfmt.UUID `json:"recommended_id,omitempty"` // slug Slug *string `json:"slug,omitempty"` // teams // Read Only: true Teams []*TeamPack `json:"teams,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // users // Read Only: true Users []*UserPack `json:"users,omitempty"` // website Website *string `json:"website,omitempty"` }
Pack pack
swagger:model pack
func (*Pack) ContextValidate ¶
ContextValidate validate this pack based on the context it is used
func (*Pack) MarshalBinary ¶
MarshalBinary interface implementation
func (*Pack) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PackBack ¶
type PackBack struct { // content type ContentType *string `json:"content_type,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // md5 Md5 *string `json:"md5,omitempty"` // pack // Read Only: true Pack *Pack `json:"pack,omitempty"` // pack id // Format: uuid PackID *strfmt.UUID `json:"pack_id,omitempty"` // path Path *string `json:"path,omitempty"` // slug Slug *string `json:"slug,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // upload Upload *string `json:"upload,omitempty"` // url URL *string `json:"url,omitempty"` }
PackBack pack back
swagger:model pack_back
func (*PackBack) ContextValidate ¶
ContextValidate validate this pack back based on the context it is used
func (*PackBack) MarshalBinary ¶
MarshalBinary interface implementation
func (*PackBack) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PackIcon ¶
type PackIcon struct { // content type ContentType *string `json:"content_type,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // md5 Md5 *string `json:"md5,omitempty"` // pack // Read Only: true Pack *Pack `json:"pack,omitempty"` // pack id // Format: uuid PackID *strfmt.UUID `json:"pack_id,omitempty"` // path Path *string `json:"path,omitempty"` // slug Slug *string `json:"slug,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // upload Upload *string `json:"upload,omitempty"` // url URL *string `json:"url,omitempty"` }
PackIcon pack icon
swagger:model pack_icon
func (*PackIcon) ContextValidate ¶
ContextValidate validate this pack icon based on the context it is used
func (*PackIcon) MarshalBinary ¶
MarshalBinary interface implementation
func (*PackIcon) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PackLogo ¶
type PackLogo struct { // content type ContentType *string `json:"content_type,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // md5 Md5 *string `json:"md5,omitempty"` // pack // Read Only: true Pack *Pack `json:"pack,omitempty"` // pack id // Format: uuid PackID *strfmt.UUID `json:"pack_id,omitempty"` // path Path *string `json:"path,omitempty"` // slug Slug *string `json:"slug,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // upload Upload *string `json:"upload,omitempty"` // url URL *string `json:"url,omitempty"` }
PackLogo pack logo
swagger:model pack_logo
func (*PackLogo) ContextValidate ¶
ContextValidate validate this pack logo based on the context it is used
func (*PackLogo) MarshalBinary ¶
MarshalBinary interface implementation
func (*PackLogo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PackTeamParams ¶
type PackTeamParams struct { // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // team // Required: true Team *string `json:"team"` }
PackTeamParams pack team params
swagger:model pack_team_params
func (*PackTeamParams) ContextValidate ¶
ContextValidate validates this pack team params based on context it is used
func (*PackTeamParams) MarshalBinary ¶
func (m *PackTeamParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackTeamParams) UnmarshalBinary ¶
func (m *PackTeamParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PackTeams ¶
type PackTeams struct { // pack // Read Only: true Pack *Pack `json:"pack,omitempty"` // teams Teams []*TeamPack `json:"teams"` }
PackTeams pack teams
swagger:model pack_teams
func (*PackTeams) ContextValidate ¶
ContextValidate validate this pack teams based on the context it is used
func (*PackTeams) MarshalBinary ¶
MarshalBinary interface implementation
func (*PackTeams) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PackUserParams ¶
type PackUserParams struct { // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // user // Required: true User *string `json:"user"` }
PackUserParams pack user params
swagger:model pack_user_params
func (*PackUserParams) ContextValidate ¶
ContextValidate validates this pack user params based on context it is used
func (*PackUserParams) MarshalBinary ¶
func (m *PackUserParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PackUserParams) UnmarshalBinary ¶
func (m *PackUserParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PackUsers ¶
type PackUsers struct { // pack // Read Only: true Pack *Pack `json:"pack,omitempty"` // users Users []*UserPack `json:"users"` }
PackUsers pack users
swagger:model pack_users
func (*PackUsers) ContextValidate ¶
ContextValidate validate this pack users based on the context it is used
func (*PackUsers) MarshalBinary ¶
MarshalBinary interface implementation
func (*PackUsers) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Packs ¶
type Packs struct { // packs Packs []*Pack `json:"packs"` }
Packs packs
swagger:model packs
func (*Packs) ContextValidate ¶
ContextValidate validate this packs based on the context it is used
func (*Packs) MarshalBinary ¶
MarshalBinary interface implementation
func (*Packs) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Profile ¶
type Profile struct { // active // Read Only: true Active *bool `json:"active,omitempty"` // admin // Read Only: true Admin *bool `json:"admin,omitempty"` // avatar Avatar *string `json:"avatar,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // email Email *string `json:"email,omitempty"` // fullname Fullname *string `json:"fullname,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // mods // Read Only: true Mods []*UserMod `json:"mods,omitempty"` // packs // Read Only: true Packs []*UserPack `json:"packs,omitempty"` // password // Format: password Password *strfmt.Password `json:"password,omitempty"` // slug Slug *string `json:"slug,omitempty"` // teams // Read Only: true Teams []*Member `json:"teams,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // username Username *string `json:"username,omitempty"` }
Profile profile
swagger:model profile
func (*Profile) ContextValidate ¶
ContextValidate validate this profile based on the context it is used
func (*Profile) MarshalBinary ¶
MarshalBinary interface implementation
func (*Profile) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Quilt ¶
type Quilt struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // name // Required: true Name *string `json:"name"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
Quilt quilt
swagger:model quilt
func (*Quilt) ContextValidate ¶
ContextValidate validate this quilt based on the context it is used
func (*Quilt) MarshalBinary ¶
MarshalBinary interface implementation
func (*Quilt) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type QuiltBuildParams ¶
type QuiltBuildParams struct { // build // Required: true Build *string `json:"build"` // pack // Required: true Pack *string `json:"pack"` }
QuiltBuildParams quilt build params
swagger:model quilt_build_params
func (*QuiltBuildParams) ContextValidate ¶
ContextValidate validates this quilt build params based on context it is used
func (*QuiltBuildParams) MarshalBinary ¶
func (m *QuiltBuildParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuiltBuildParams) UnmarshalBinary ¶
func (m *QuiltBuildParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type QuiltBuilds ¶
type QuiltBuilds struct { // builds Builds []*Build `json:"builds"` // quilt Quilt *Quilt `json:"quilt,omitempty"` }
QuiltBuilds quilt builds
swagger:model quilt_builds
func (*QuiltBuilds) ContextValidate ¶
ContextValidate validate this quilt builds based on the context it is used
func (*QuiltBuilds) MarshalBinary ¶
func (m *QuiltBuilds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*QuiltBuilds) UnmarshalBinary ¶
func (m *QuiltBuilds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Quilts ¶
type Quilts struct { // versions Versions []*Quilt `json:"versions"` }
Quilts quilts
swagger:model quilts
func (*Quilts) ContextValidate ¶
ContextValidate validate this quilts based on the context it is used
func (*Quilts) MarshalBinary ¶
MarshalBinary interface implementation
func (*Quilts) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Team ¶
type Team struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // mods // Read Only: true Mods []*TeamMod `json:"mods,omitempty"` // name // Required: true Name *string `json:"name"` // packs // Read Only: true Packs []*TeamPack `json:"packs,omitempty"` // slug Slug *string `json:"slug,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // users // Read Only: true Users []*Member `json:"users,omitempty"` }
Team team
swagger:model team
func (*Team) ContextValidate ¶
ContextValidate validate this team based on the context it is used
func (*Team) MarshalBinary ¶
MarshalBinary interface implementation
func (*Team) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TeamMod ¶
type TeamMod struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // mod // Read Only: true Mod *Mod `json:"mod,omitempty"` // mod id // Required: true // Format: uuid ModID *strfmt.UUID `json:"mod_id"` // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // team // Read Only: true Team *Team `json:"team,omitempty"` // team id // Required: true // Format: uuid TeamID *strfmt.UUID `json:"team_id"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
TeamMod team mod
swagger:model team_mod
func (*TeamMod) ContextValidate ¶
ContextValidate validate this team mod based on the context it is used
func (*TeamMod) MarshalBinary ¶
MarshalBinary interface implementation
func (*TeamMod) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TeamModParams ¶
type TeamModParams struct { // mod // Required: true Mod *string `json:"mod"` // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` }
TeamModParams team mod params
swagger:model team_mod_params
func (*TeamModParams) ContextValidate ¶
ContextValidate validates this team mod params based on context it is used
func (*TeamModParams) MarshalBinary ¶
func (m *TeamModParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamModParams) UnmarshalBinary ¶
func (m *TeamModParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamMods ¶
type TeamMods struct { // mods Mods []*TeamMod `json:"mods"` // team // Read Only: true Team *Team `json:"team,omitempty"` }
TeamMods team mods
swagger:model team_mods
func (*TeamMods) ContextValidate ¶
ContextValidate validate this team mods based on the context it is used
func (*TeamMods) MarshalBinary ¶
MarshalBinary interface implementation
func (*TeamMods) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TeamPack ¶
type TeamPack struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // pack // Read Only: true Pack *Pack `json:"pack,omitempty"` // pack id // Required: true // Format: uuid PackID *strfmt.UUID `json:"pack_id"` // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // team // Read Only: true Team *Team `json:"team,omitempty"` // team id // Required: true // Format: uuid TeamID *strfmt.UUID `json:"team_id"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
TeamPack team pack
swagger:model team_pack
func (*TeamPack) ContextValidate ¶
ContextValidate validate this team pack based on the context it is used
func (*TeamPack) MarshalBinary ¶
MarshalBinary interface implementation
func (*TeamPack) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TeamPackParams ¶
type TeamPackParams struct { // pack // Required: true Pack *string `json:"pack"` // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` }
TeamPackParams team pack params
swagger:model team_pack_params
func (*TeamPackParams) ContextValidate ¶
ContextValidate validates this team pack params based on context it is used
func (*TeamPackParams) MarshalBinary ¶
func (m *TeamPackParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamPackParams) UnmarshalBinary ¶
func (m *TeamPackParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamPacks ¶
type TeamPacks struct { // packs Packs []*TeamPack `json:"packs"` // team // Read Only: true Team *Team `json:"team,omitempty"` }
TeamPacks team packs
swagger:model team_packs
func (*TeamPacks) ContextValidate ¶
ContextValidate validate this team packs based on the context it is used
func (*TeamPacks) MarshalBinary ¶
MarshalBinary interface implementation
func (*TeamPacks) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TeamUserParams ¶
type TeamUserParams struct { // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // user // Required: true User *string `json:"user"` }
TeamUserParams team user params
swagger:model team_user_params
func (*TeamUserParams) ContextValidate ¶
ContextValidate validates this team user params based on context it is used
func (*TeamUserParams) MarshalBinary ¶
func (m *TeamUserParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TeamUserParams) UnmarshalBinary ¶
func (m *TeamUserParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TeamUsers ¶
type TeamUsers struct { // team // Read Only: true Team *Team `json:"team,omitempty"` // users Users []*Member `json:"users"` }
TeamUsers team users
swagger:model team_users
func (*TeamUsers) ContextValidate ¶
ContextValidate validate this team users based on the context it is used
func (*TeamUsers) MarshalBinary ¶
MarshalBinary interface implementation
func (*TeamUsers) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Teams ¶
type Teams struct { // teams Teams []*Team `json:"teams"` }
Teams teams
swagger:model teams
func (*Teams) ContextValidate ¶
ContextValidate validate this teams based on the context it is used
func (*Teams) MarshalBinary ¶
MarshalBinary interface implementation
func (*Teams) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type User ¶
type User struct { // active Active *bool `json:"active,omitempty"` // admin Admin *bool `json:"admin,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // email Email *string `json:"email,omitempty"` // fullname Fullname *string `json:"fullname,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // mods // Read Only: true Mods []*UserMod `json:"mods,omitempty"` // packs // Read Only: true Packs []*UserPack `json:"packs,omitempty"` // password // Format: password Password *strfmt.Password `json:"password,omitempty"` // slug Slug *string `json:"slug,omitempty"` // teams // Read Only: true Teams []*Member `json:"teams,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // username // Required: true Username *string `json:"username"` }
User user
swagger:model user
func (*User) ContextValidate ¶
ContextValidate validate this user based on the context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserMod ¶
type UserMod struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // mod // Read Only: true Mod *Mod `json:"mod,omitempty"` // mod id // Required: true // Format: uuid ModID *strfmt.UUID `json:"mod_id"` // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // user // Read Only: true User *User `json:"user,omitempty"` // user id // Required: true // Format: uuid UserID *strfmt.UUID `json:"user_id"` }
UserMod user mod
swagger:model user_mod
func (*UserMod) ContextValidate ¶
ContextValidate validate this user mod based on the context it is used
func (*UserMod) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserMod) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserModParams ¶
type UserModParams struct { // mod // Required: true Mod *string `json:"mod"` // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` }
UserModParams user mod params
swagger:model user_mod_params
func (*UserModParams) ContextValidate ¶
ContextValidate validates this user mod params based on context it is used
func (*UserModParams) MarshalBinary ¶
func (m *UserModParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserModParams) UnmarshalBinary ¶
func (m *UserModParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserMods ¶
type UserMods struct { // mods Mods []*UserMod `json:"mods"` // user // Read Only: true User *User `json:"user,omitempty"` }
UserMods user mods
swagger:model user_mods
func (*UserMods) ContextValidate ¶
ContextValidate validate this user mods based on the context it is used
func (*UserMods) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserMods) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserPack ¶
type UserPack struct { // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // pack // Read Only: true Pack *Pack `json:"pack,omitempty"` // pack id // Required: true // Format: uuid PackID *strfmt.UUID `json:"pack_id"` // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // user // Read Only: true User *User `json:"user,omitempty"` // user id // Required: true // Format: uuid UserID *strfmt.UUID `json:"user_id"` }
UserPack user pack
swagger:model user_pack
func (*UserPack) ContextValidate ¶
ContextValidate validate this user pack based on the context it is used
func (*UserPack) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserPack) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserPackParams ¶
type UserPackParams struct { // pack // Required: true Pack *string `json:"pack"` // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` }
UserPackParams user pack params
swagger:model user_pack_params
func (*UserPackParams) ContextValidate ¶
ContextValidate validates this user pack params based on context it is used
func (*UserPackParams) MarshalBinary ¶
func (m *UserPackParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserPackParams) UnmarshalBinary ¶
func (m *UserPackParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserPacks ¶
type UserPacks struct { // packs Packs []*UserPack `json:"packs"` // user // Read Only: true User *User `json:"user,omitempty"` }
UserPacks user packs
swagger:model user_packs
func (*UserPacks) ContextValidate ¶
ContextValidate validate this user packs based on the context it is used
func (*UserPacks) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserPacks) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserTeamParams ¶
type UserTeamParams struct { // perm // Required: true // Enum: [user admin owner] Perm *string `json:"perm"` // team // Required: true Team *string `json:"team"` }
UserTeamParams user team params
swagger:model user_team_params
func (*UserTeamParams) ContextValidate ¶
ContextValidate validates this user team params based on context it is used
func (*UserTeamParams) MarshalBinary ¶
func (m *UserTeamParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserTeamParams) UnmarshalBinary ¶
func (m *UserTeamParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserTeams ¶
type UserTeams struct { // teams Teams []*Member `json:"teams"` // user // Read Only: true User *User `json:"user,omitempty"` }
UserTeams user teams
swagger:model user_teams
func (*UserTeams) ContextValidate ¶
ContextValidate validate this user teams based on the context it is used
func (*UserTeams) MarshalBinary ¶
MarshalBinary interface implementation
func (*UserTeams) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Users ¶
type Users struct { // users Users []*User `json:"users"` }
Users users
swagger:model users
func (*Users) ContextValidate ¶
ContextValidate validate this users based on the context it is used
func (*Users) MarshalBinary ¶
MarshalBinary interface implementation
func (*Users) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ValidationError ¶
type ValidationError struct { // errors Errors []*ValidationErrorErrorsItems0 `json:"errors"` // message // Required: true Message *string `json:"message"` // status // Required: true Status *int64 `json:"status"` }
ValidationError Validation error which shows failed fields
swagger:model validation_error
func (*ValidationError) ContextValidate ¶
ContextValidate validate this validation error based on the context it is used
func (*ValidationError) MarshalBinary ¶
func (m *ValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ValidationError) UnmarshalBinary ¶
func (m *ValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ValidationErrorErrorsItems0 ¶
type ValidationErrorErrorsItems0 struct { // field Field string `json:"field,omitempty"` // message Message string `json:"message,omitempty"` }
ValidationErrorErrorsItems0 validation error errors items0
swagger:model ValidationErrorErrorsItems0
func (*ValidationErrorErrorsItems0) ContextValidate ¶
func (m *ValidationErrorErrorsItems0) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this validation error errors items0 based on context it is used
func (*ValidationErrorErrorsItems0) MarshalBinary ¶
func (m *ValidationErrorErrorsItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ValidationErrorErrorsItems0) UnmarshalBinary ¶
func (m *ValidationErrorErrorsItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Version ¶
type Version struct { // builds // Read Only: true Builds []*BuildVersion `json:"builds,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // file // Read Only: true File *VersionFile `json:"file,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // mod // Read Only: true Mod *Mod `json:"mod,omitempty"` // mod id // Format: uuid ModID strfmt.UUID `json:"mod_id,omitempty"` // name // Required: true Name *string `json:"name"` // public Public *bool `json:"public,omitempty"` // slug Slug *string `json:"slug,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` }
Version version
swagger:model version
func (*Version) ContextValidate ¶
ContextValidate validate this version based on the context it is used
func (*Version) MarshalBinary ¶
MarshalBinary interface implementation
func (*Version) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type VersionBuildParams ¶
type VersionBuildParams struct { // build // Required: true Build *string `json:"build"` // pack // Required: true Pack *string `json:"pack"` }
VersionBuildParams version build params
swagger:model version_build_params
func (*VersionBuildParams) ContextValidate ¶
ContextValidate validates this version build params based on context it is used
func (*VersionBuildParams) MarshalBinary ¶
func (m *VersionBuildParams) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersionBuildParams) UnmarshalBinary ¶
func (m *VersionBuildParams) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VersionBuilds ¶
type VersionBuilds struct { // builds Builds []*BuildVersion `json:"builds"` // mod // Read Only: true Mod *Mod `json:"mod,omitempty"` // version // Read Only: true Version *Version `json:"version,omitempty"` }
VersionBuilds version builds
swagger:model version_builds
func (*VersionBuilds) ContextValidate ¶
ContextValidate validate this version builds based on the context it is used
func (*VersionBuilds) MarshalBinary ¶
func (m *VersionBuilds) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersionBuilds) UnmarshalBinary ¶
func (m *VersionBuilds) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type VersionFile ¶
type VersionFile struct { // content type ContentType *string `json:"content_type,omitempty"` // created at // Read Only: true // Format: date-time CreatedAt strfmt.DateTime `json:"created_at,omitempty"` // id // Read Only: true // Format: uuid ID strfmt.UUID `json:"id,omitempty"` // md5 Md5 *string `json:"md5,omitempty"` // path Path *string `json:"path,omitempty"` // slug Slug *string `json:"slug,omitempty"` // updated at // Read Only: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` // upload Upload *string `json:"upload,omitempty"` // url URL *string `json:"url,omitempty"` // version // Read Only: true Version *Version `json:"version,omitempty"` // version id // Format: uuid VersionID *strfmt.UUID `json:"version_id,omitempty"` }
VersionFile version file
swagger:model version_file
func (*VersionFile) ContextValidate ¶
ContextValidate validate this version file based on the context it is used
func (*VersionFile) MarshalBinary ¶
func (m *VersionFile) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*VersionFile) UnmarshalBinary ¶
func (m *VersionFile) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Versions ¶
type Versions struct { // mod Mod *Mod `json:"mod,omitempty"` // versions Versions []*Version `json:"versions"` }
Versions versions
swagger:model versions
func (*Versions) ContextValidate ¶
ContextValidate validate this versions based on the context it is used
func (*Versions) MarshalBinary ¶
MarshalBinary interface implementation
func (*Versions) UnmarshalBinary ¶
UnmarshalBinary interface implementation
Source Files ¶
- auth_login.go
- auth_token.go
- auth_verify.go
- build.go
- build_version.go
- build_version_params.go
- build_versions.go
- builds.go
- fabric.go
- fabric_build_params.go
- fabric_builds.go
- fabrics.go
- forge.go
- forge_build_params.go
- forge_builds.go
- forges.go
- general_error.go
- member.go
- minecraft.go
- minecraft_build_params.go
- minecraft_builds.go
- minecrafts.go
- mod.go
- mod_team_params.go
- mod_teams.go
- mod_user_params.go
- mod_users.go
- mods.go
- neoforge.go
- neoforge_build_params.go
- neoforge_builds.go
- neoforges.go
- pack.go
- pack_back.go
- pack_icon.go
- pack_logo.go
- pack_team_params.go
- pack_teams.go
- pack_user_params.go
- pack_users.go
- packs.go
- profile.go
- quilt.go
- quilt_build_params.go
- quilt_builds.go
- quilts.go
- team.go
- team_mod.go
- team_mod_params.go
- team_mods.go
- team_pack.go
- team_pack_params.go
- team_packs.go
- team_user_params.go
- team_users.go
- teams.go
- user.go
- user_mod.go
- user_mod_params.go
- user_mods.go
- user_pack.go
- user_pack_params.go
- user_packs.go
- user_team_params.go
- user_teams.go
- users.go
- validation_error.go
- version.go
- version_build_params.go
- version_builds.go
- version_file.go
- versions.go