inventory_models

package
v0.0.0-...-277eb20 Latest Latest
Warning

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

Go to latest
Published: May 28, 2024 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// BuildFlagConditionComparatorEq captures enum value "eq"
	BuildFlagConditionComparatorEq string = "eq"

	// BuildFlagConditionComparatorNe captures enum value "ne"
	BuildFlagConditionComparatorNe string = "ne"
)
View Source
const (

	// BuildScriptCoreLanguageBash captures enum value "bash"
	BuildScriptCoreLanguageBash string = "bash"

	// BuildScriptCoreLanguagePerl captures enum value "perl"
	BuildScriptCoreLanguagePerl string = "perl"

	// BuildScriptCoreLanguagePython captures enum value "python"
	BuildScriptCoreLanguagePython string = "python"
)
View Source
const (

	// CPUArchitectureCoreAllOf0BitWidthNr32 captures enum value "32"
	CPUArchitectureCoreAllOf0BitWidthNr32 string = "32"

	// CPUArchitectureCoreAllOf0BitWidthNr64 captures enum value "64"
	CPUArchitectureCoreAllOf0BitWidthNr64 string = "64"
)
View Source
const (

	// ImageCoreAllOf0TypeDocker captures enum value "Docker"
	ImageCoreAllOf0TypeDocker string = "Docker"

	// ImageCoreAllOf0TypeMac captures enum value "Mac"
	ImageCoreAllOf0TypeMac string = "Mac"

	// ImageCoreAllOf0TypeMacSandbox captures enum value "MacSandbox"
	ImageCoreAllOf0TypeMacSandbox string = "MacSandbox"

	// ImageCoreAllOf0TypeWindowsDocker captures enum value "WindowsDocker"
	ImageCoreAllOf0TypeWindowsDocker string = "WindowsDocker"

	// ImageCoreAllOf0TypeWindowsInstance captures enum value "WindowsInstance"
	ImageCoreAllOf0TypeWindowsInstance string = "WindowsInstance"
)
View Source
const (

	// ImageRevisionCoreAllOf2StatusDeleted captures enum value "deleted"
	ImageRevisionCoreAllOf2StatusDeleted string = "deleted"

	// ImageRevisionCoreAllOf2StatusDeprecated captures enum value "deprecated"
	ImageRevisionCoreAllOf2StatusDeprecated string = "deprecated"

	// ImageRevisionCoreAllOf2StatusStable captures enum value "stable"
	ImageRevisionCoreAllOf2StatusStable string = "stable"

	// ImageRevisionCoreAllOf2StatusUnstable captures enum value "unstable"
	ImageRevisionCoreAllOf2StatusUnstable string = "unstable"
)
View Source
const (

	// IngredientOptionSetWithUsageTypeAllOf0UsageTypeDefault captures enum value "default"
	IngredientOptionSetWithUsageTypeAllOf0UsageTypeDefault string = "default"

	// IngredientOptionSetWithUsageTypeAllOf0UsageTypeOverride captures enum value "override"
	IngredientOptionSetWithUsageTypeAllOf0UsageTypeOverride string = "override"
)
View Source
const (

	// IngredientVersionAndUsageTypeAllOf1UsageTypeDefault captures enum value "default"
	IngredientVersionAndUsageTypeAllOf1UsageTypeDefault string = "default"

	// IngredientVersionAndUsageTypeAllOf1UsageTypeOverride captures enum value "override"
	IngredientVersionAndUsageTypeAllOf1UsageTypeOverride string = "override"
)
View Source
const (

	// IngredientVersionRevisionCoreReasonImport captures enum value "import"
	IngredientVersionRevisionCoreReasonImport string = "import"

	// IngredientVersionRevisionCoreReasonManualChange captures enum value "manual_change"
	IngredientVersionRevisionCoreReasonManualChange string = "manual_change"

	// IngredientVersionRevisionCoreReasonSmartImport captures enum value "smart_import"
	IngredientVersionRevisionCoreReasonSmartImport string = "smart_import"
)
View Source
const (

	// IngredientVersionRevisionCoreStatusDeleted captures enum value "deleted"
	IngredientVersionRevisionCoreStatusDeleted string = "deleted"

	// IngredientVersionRevisionCoreStatusDeprecated captures enum value "deprecated"
	IngredientVersionRevisionCoreStatusDeprecated string = "deprecated"

	// IngredientVersionRevisionCoreStatusStable captures enum value "stable"
	IngredientVersionRevisionCoreStatusStable string = "stable"

	// IngredientVersionRevisionCoreStatusUnstable captures enum value "unstable"
	IngredientVersionRevisionCoreStatusUnstable string = "unstable"
)
View Source
const (

	// NamespaceCoreNameNormalizationAlgorithmNone captures enum value "none"
	NamespaceCoreNameNormalizationAlgorithmNone string = "none"

	// NamespaceCoreNameNormalizationAlgorithmPython captures enum value "python"
	NamespaceCoreNameNormalizationAlgorithmPython string = "python"
)
View Source
const (

	// NamespaceCoreTypeBundle captures enum value "bundle"
	NamespaceCoreTypeBundle string = "bundle"

	// NamespaceCoreTypeCompiler captures enum value "compiler"
	NamespaceCoreTypeCompiler string = "compiler"

	// NamespaceCoreTypeInternal captures enum value "internal"
	NamespaceCoreTypeInternal string = "internal"

	// NamespaceCoreTypeLanguageDashCore captures enum value "language-core"
	NamespaceCoreTypeLanguageDashCore string = "language-core"

	// NamespaceCoreTypeLanguageDashIngredient captures enum value "language-ingredient"
	NamespaceCoreTypeLanguageDashIngredient string = "language-ingredient"

	// NamespaceCoreTypePlatformDashComponent captures enum value "platform-component"
	NamespaceCoreTypePlatformDashComponent string = "platform-component"

	// NamespaceCoreTypeSharedDashIngredient captures enum value "shared-ingredient"
	NamespaceCoreTypeSharedDashIngredient string = "shared-ingredient"
)
View Source
const (

	// NamespaceCoreVersionParsingAlgorithmFeature captures enum value "feature"
	NamespaceCoreVersionParsingAlgorithmFeature string = "feature"

	// NamespaceCoreVersionParsingAlgorithmGeneric captures enum value "generic"
	NamespaceCoreVersionParsingAlgorithmGeneric string = "generic"

	// NamespaceCoreVersionParsingAlgorithmPerl captures enum value "perl"
	NamespaceCoreVersionParsingAlgorithmPerl string = "perl"

	// NamespaceCoreVersionParsingAlgorithmPhp captures enum value "php"
	NamespaceCoreVersionParsingAlgorithmPhp string = "php"

	// NamespaceCoreVersionParsingAlgorithmPython captures enum value "python"
	NamespaceCoreVersionParsingAlgorithmPython string = "python"

	// NamespaceCoreVersionParsingAlgorithmRuby captures enum value "ruby"
	NamespaceCoreVersionParsingAlgorithmRuby string = "ruby"

	// NamespaceCoreVersionParsingAlgorithmSemver captures enum value "semver"
	NamespaceCoreVersionParsingAlgorithmSemver string = "semver"
)
View Source
const (

	// RequirementComparatorEq captures enum value "eq"
	RequirementComparatorEq string = "eq"

	// RequirementComparatorGt captures enum value "gt"
	RequirementComparatorGt string = "gt"

	// RequirementComparatorGte captures enum value "gte"
	RequirementComparatorGte string = "gte"

	// RequirementComparatorLt captures enum value "lt"
	RequirementComparatorLt string = "lt"

	// RequirementComparatorLte captures enum value "lte"
	RequirementComparatorLte string = "lte"

	// RequirementComparatorNe captures enum value "ne"
	RequirementComparatorNe string = "ne"
)
View Source
const (

	// SolverIncompatibilityTypeDependency captures enum value "dependency"
	SolverIncompatibilityTypeDependency string = "dependency"

	// SolverIncompatibilityTypePlatform captures enum value "platform"
	SolverIncompatibilityTypePlatform string = "platform"

	// SolverIncompatibilityTypeRequirement captures enum value "requirement"
	SolverIncompatibilityTypeRequirement string = "requirement"
)
View Source
const (

	// SolverRemediableErrorErrorTypeREQUIREMENTCONFLICTSWITHPLATFORM captures enum value "REQUIREMENT_CONFLICTS_WITH_PLATFORM"
	SolverRemediableErrorErrorTypeREQUIREMENTCONFLICTSWITHPLATFORM string = "REQUIREMENT_CONFLICTS_WITH_PLATFORM"

	// SolverRemediableErrorErrorTypeREQUIREMENTUNAVAILABLE captures enum value "REQUIREMENT_UNAVAILABLE"
	SolverRemediableErrorErrorTypeREQUIREMENTUNAVAILABLE string = "REQUIREMENT_UNAVAILABLE"

	// SolverRemediableErrorErrorTypeREQUIREMENTUNAVAILABLEATTIMESTAMP captures enum value "REQUIREMENT_UNAVAILABLE_AT_TIMESTAMP"
	SolverRemediableErrorErrorTypeREQUIREMENTUNAVAILABLEATTIMESTAMP string = "REQUIREMENT_UNAVAILABLE_AT_TIMESTAMP"

	// SolverRemediableErrorErrorTypeTRANSITIVEDEPENDENCYUNAVAILABLE captures enum value "TRANSITIVE_DEPENDENCY_UNAVAILABLE"
	SolverRemediableErrorErrorTypeTRANSITIVEDEPENDENCYUNAVAILABLE string = "TRANSITIVE_DEPENDENCY_UNAVAILABLE"

	// SolverRemediableErrorErrorTypeTRANSITIVEDEPENDENCYUNAVAILABLEATTIMESTAMP captures enum value "TRANSITIVE_DEPENDENCY_UNAVAILABLE_AT_TIMESTAMP"
	SolverRemediableErrorErrorTypeTRANSITIVEDEPENDENCYUNAVAILABLEATTIMESTAMP string = "TRANSITIVE_DEPENDENCY_UNAVAILABLE_AT_TIMESTAMP"
)
View Source
const (

	// SolverRemediationRemediationTypeADVANCETIMESTAMP captures enum value "ADVANCE_TIMESTAMP"
	SolverRemediationRemediationTypeADVANCETIMESTAMP string = "ADVANCE_TIMESTAMP"

	// SolverRemediationRemediationTypeCHANGEREQUIREMENTNAME captures enum value "CHANGE_REQUIREMENT_NAME"
	SolverRemediationRemediationTypeCHANGEREQUIREMENTNAME string = "CHANGE_REQUIREMENT_NAME"

	// SolverRemediationRemediationTypeCHANGEREQUIREMENTVERSION captures enum value "CHANGE_REQUIREMENT_VERSION"
	SolverRemediationRemediationTypeCHANGEREQUIREMENTVERSION string = "CHANGE_REQUIREMENT_VERSION"

	// SolverRemediationRemediationTypeREMOVEPLATFORM captures enum value "REMOVE_PLATFORM"
	SolverRemediationRemediationTypeREMOVEPLATFORM string = "REMOVE_PLATFORM"

	// SolverRemediationRemediationTypeREMOVEREQUIREMENT captures enum value "REMOVE_REQUIREMENT"
	SolverRemediationRemediationTypeREMOVEREQUIREMENT string = "REMOVE_REQUIREMENT"

	// SolverRemediationRemediationTypeREQUESTPACKAGEIMPORT captures enum value "REQUEST_PACKAGE_IMPORT"
	SolverRemediationRemediationTypeREQUESTPACKAGEIMPORT string = "REQUEST_PACKAGE_IMPORT"
)
View Source
const (

	// VersionRequirementComparatorEq captures enum value "eq"
	VersionRequirementComparatorEq string = "eq"

	// VersionRequirementComparatorGt captures enum value "gt"
	VersionRequirementComparatorGt string = "gt"

	// VersionRequirementComparatorGte captures enum value "gte"
	VersionRequirementComparatorGte string = "gte"

	// VersionRequirementComparatorLt captures enum value "lt"
	VersionRequirementComparatorLt string = "lt"

	// VersionRequirementComparatorLte captures enum value "lte"
	VersionRequirementComparatorLte string = "lte"

	// VersionRequirementComparatorNe captures enum value "ne"
	VersionRequirementComparatorNe string = "ne"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCPUArchitectureCPUExtensionParamsBody

type AddCPUArchitectureCPUExtensionParamsBody struct {

	// The ID of the CPU extension that can be used with this architecture
	// Required: true
	// Format: uuid
	CPUExtensionID *strfmt.UUID `json:"cpu_extension_id"`
}

AddCPUArchitectureCPUExtensionParamsBody add Cpu architecture Cpu extension params body

swagger:model addCpuArchitectureCpuExtensionParamsBody

func (*AddCPUArchitectureCPUExtensionParamsBody) ContextValidate

ContextValidate validates this add Cpu architecture Cpu extension params body based on context it is used

func (*AddCPUArchitectureCPUExtensionParamsBody) MarshalBinary

func (m *AddCPUArchitectureCPUExtensionParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddCPUArchitectureCPUExtensionParamsBody) UnmarshalBinary

func (m *AddCPUArchitectureCPUExtensionParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddCPUArchitectureCPUExtensionParamsBody) Validate

Validate validates this add Cpu architecture Cpu extension params body

type AddIngredientVersionAuthorParamsBody

type AddIngredientVersionAuthorParamsBody struct {

	// The ID of the author of this ingredient version
	// Required: true
	// Format: uuid
	AuthorID *strfmt.UUID `json:"author_id"`
}

AddIngredientVersionAuthorParamsBody add ingredient version author params body

swagger:model addIngredientVersionAuthorParamsBody

func (*AddIngredientVersionAuthorParamsBody) ContextValidate

func (m *AddIngredientVersionAuthorParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add ingredient version author params body based on context it is used

func (*AddIngredientVersionAuthorParamsBody) MarshalBinary

func (m *AddIngredientVersionAuthorParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddIngredientVersionAuthorParamsBody) UnmarshalBinary

func (m *AddIngredientVersionAuthorParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddIngredientVersionAuthorParamsBody) Validate

Validate validates this add ingredient version author params body

type AddKernelCPUArchitectureParamsBody

type AddKernelCPUArchitectureParamsBody struct {

	// The ID of the CPU architecture that can be used with this kernel
	// Required: true
	// Format: uuid
	CPUArchitectureID *strfmt.UUID `json:"cpu_architecture_id"`
}

AddKernelCPUArchitectureParamsBody add kernel Cpu architecture params body

swagger:model addKernelCpuArchitectureParamsBody

func (*AddKernelCPUArchitectureParamsBody) ContextValidate

func (m *AddKernelCPUArchitectureParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add kernel Cpu architecture params body based on context it is used

func (*AddKernelCPUArchitectureParamsBody) MarshalBinary

func (m *AddKernelCPUArchitectureParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddKernelCPUArchitectureParamsBody) UnmarshalBinary

func (m *AddKernelCPUArchitectureParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddKernelCPUArchitectureParamsBody) Validate

Validate validates this add kernel Cpu architecture params body

type AddKernelGPUArchitectureParamsBody

type AddKernelGPUArchitectureParamsBody struct {

	// The ID of the GPU architecture that can be used with this kernel
	// Required: true
	// Format: uuid
	GpuArchitectureID *strfmt.UUID `json:"gpu_architecture_id"`
}

AddKernelGPUArchitectureParamsBody add kernel g p u architecture params body

swagger:model addKernelGPUArchitectureParamsBody

func (*AddKernelGPUArchitectureParamsBody) ContextValidate

func (m *AddKernelGPUArchitectureParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add kernel g p u architecture params body based on context it is used

func (*AddKernelGPUArchitectureParamsBody) MarshalBinary

func (m *AddKernelGPUArchitectureParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddKernelGPUArchitectureParamsBody) UnmarshalBinary

func (m *AddKernelGPUArchitectureParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddKernelGPUArchitectureParamsBody) Validate

Validate validates this add kernel g p u architecture params body

type AddOperatingSystemKernelParamsBody

type AddOperatingSystemKernelParamsBody struct {

	// The ID of the kernel that can be used with this operating system
	// Required: true
	// Format: uuid
	KernelID *strfmt.UUID `json:"kernel_id"`
}

AddOperatingSystemKernelParamsBody add operating system kernel params body

swagger:model addOperatingSystemKernelParamsBody

func (*AddOperatingSystemKernelParamsBody) ContextValidate

func (m *AddOperatingSystemKernelParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add operating system kernel params body based on context it is used

func (*AddOperatingSystemKernelParamsBody) MarshalBinary

func (m *AddOperatingSystemKernelParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddOperatingSystemKernelParamsBody) UnmarshalBinary

func (m *AddOperatingSystemKernelParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddOperatingSystemKernelParamsBody) Validate

Validate validates this add operating system kernel params body

type AddOperatingSystemLibcParamsBody

type AddOperatingSystemLibcParamsBody struct {

	// The ID of the libc that can be used with this operating system
	// Required: true
	// Format: uuid
	LibcID *strfmt.UUID `json:"libc_id"`
}

AddOperatingSystemLibcParamsBody add operating system libc params body

swagger:model addOperatingSystemLibcParamsBody

func (*AddOperatingSystemLibcParamsBody) ContextValidate

func (m *AddOperatingSystemLibcParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this add operating system libc params body based on context it is used

func (*AddOperatingSystemLibcParamsBody) MarshalBinary

func (m *AddOperatingSystemLibcParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AddOperatingSystemLibcParamsBody) UnmarshalBinary

func (m *AddOperatingSystemLibcParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AddOperatingSystemLibcParamsBody) Validate

Validate validates this add operating system libc params body

type Author

type Author struct {
	AuthorAllOf0

	AuthorCore
}

Author Author

An author

swagger:model author

func (*Author) ContextValidate

func (m *Author) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this author based on the context it is used

func (*Author) MarshalBinary

func (m *Author) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Author) MarshalJSON

func (m Author) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Author) UnmarshalBinary

func (m *Author) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Author) UnmarshalJSON

func (m *Author) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Author) Validate

func (m *Author) Validate(formats strfmt.Registry) error

Validate validates this author

type AuthorAllOf0

type AuthorAllOf0 struct {

	// The UUID for this author
	// Required: true
	// Format: uuid
	AuthorID *strfmt.UUID `json:"author_id"`

	// The timestamp of this author's creation
	// Required: true
	// Format: date-time
	CreationTimestamp *strfmt.DateTime `json:"creation_timestamp"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

AuthorAllOf0 author all of0

swagger:model authorAllOf0

func (*AuthorAllOf0) ContextValidate

func (m *AuthorAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this author all of0 based on the context it is used

func (*AuthorAllOf0) MarshalBinary

func (m *AuthorAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthorAllOf0) UnmarshalBinary

func (m *AuthorAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthorAllOf0) Validate

func (m *AuthorAllOf0) Validate(formats strfmt.Registry) error

Validate validates this author all of0

type AuthorCore

type AuthorCore struct {

	// The author's email address
	// Required: true
	// Format: email
	Email *strfmt.Email `json:"email"`

	// The author's name
	// Required: true
	Name *string `json:"name"`

	// The author's websites
	// Required: true
	// Unique: true
	Websites []strfmt.URI `json:"websites"`
}

AuthorCore Author Core

The core fields of a author

swagger:model authorCore

func (*AuthorCore) ContextValidate

func (m *AuthorCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this author core based on context it is used

func (*AuthorCore) MarshalBinary

func (m *AuthorCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthorCore) UnmarshalBinary

func (m *AuthorCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthorCore) Validate

func (m *AuthorCore) Validate(formats strfmt.Registry) error

Validate validates this author core

type AuthorPagedList

type AuthorPagedList struct {

	// The authors
	// Required: true
	Authors []*Author `json:"authors"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

AuthorPagedList Author Paged List

A page of authors from a paged author list

swagger:model authorPagedList

func (*AuthorPagedList) ContextValidate

func (m *AuthorPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this author paged list based on the context it is used

func (*AuthorPagedList) MarshalBinary

func (m *AuthorPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AuthorPagedList) UnmarshalBinary

func (m *AuthorPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AuthorPagedList) Validate

func (m *AuthorPagedList) Validate(formats strfmt.Registry) error

Validate validates this author paged list

type BuildFlag

BuildFlag Build Flag

The full build flag data model

swagger:model buildFlag

func (*BuildFlag) ContextValidate

func (m *BuildFlag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build flag based on the context it is used

func (*BuildFlag) MarshalBinary

func (m *BuildFlag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (BuildFlag) MarshalJSON

func (m BuildFlag) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*BuildFlag) UnmarshalBinary

func (m *BuildFlag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildFlag) UnmarshalJSON

func (m *BuildFlag) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*BuildFlag) Validate

func (m *BuildFlag) Validate(formats strfmt.Registry) error

Validate validates this build flag

type BuildFlagAllOf0

type BuildFlagAllOf0 struct {

	// build flag id
	// Required: true
	// Format: uuid
	BuildFlagID *strfmt.UUID `json:"build_flag_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

BuildFlagAllOf0 build flag all of0

swagger:model buildFlagAllOf0

func (*BuildFlagAllOf0) ContextValidate

func (m *BuildFlagAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build flag all of0 based on the context it is used

func (*BuildFlagAllOf0) MarshalBinary

func (m *BuildFlagAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildFlagAllOf0) UnmarshalBinary

func (m *BuildFlagAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildFlagAllOf0) Validate

func (m *BuildFlagAllOf0) Validate(formats strfmt.Registry) error

Validate validates this build flag all of0

type BuildFlagCondition

type BuildFlagCondition struct {

	// Whether the build flag value must match this condition's value (eq) in order to satisfy the condition or must not match (ne)
	// Required: true
	// Enum: [eq ne]
	Comparator *string `json:"comparator"`

	// The name of the build flag conditioned upon
	// Required: true
	Name *string `json:"name"`

	// The value of the build flag conditioned upon
	// Required: true
	Value *string `json:"value"`
}

BuildFlagCondition Build Flag Condition

A build flag name and value that must be included in a recipe for the containing entity to apply. If nothing in the recipe matches this condition, the containing entity is disable/cannot be used.

swagger:model buildFlagCondition

func (*BuildFlagCondition) ContextValidate

func (m *BuildFlagCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this build flag condition based on context it is used

func (*BuildFlagCondition) MarshalBinary

func (m *BuildFlagCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildFlagCondition) UnmarshalBinary

func (m *BuildFlagCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildFlagCondition) Validate

func (m *BuildFlagCondition) Validate(formats strfmt.Registry) error

Validate validates this build flag condition

type BuildFlagCore

type BuildFlagCore struct {
	BuildFlagCoreAllOf0

	BuildFlagRevisionCore
}

BuildFlagCore Build Flag Core

The properties of a build flag needed to create a new one

swagger:model buildFlagCore

func (*BuildFlagCore) ContextValidate

func (m *BuildFlagCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build flag core based on the context it is used

func (*BuildFlagCore) MarshalBinary

func (m *BuildFlagCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (BuildFlagCore) MarshalJSON

func (m BuildFlagCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*BuildFlagCore) UnmarshalBinary

func (m *BuildFlagCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildFlagCore) UnmarshalJSON

func (m *BuildFlagCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*BuildFlagCore) Validate

func (m *BuildFlagCore) Validate(formats strfmt.Registry) error

Validate validates this build flag core

type BuildFlagCoreAllOf0

type BuildFlagCoreAllOf0 struct {

	// The name of the build flag.
	// Required: true
	Name *string `json:"name"`
}

BuildFlagCoreAllOf0 build flag core all of0

swagger:model buildFlagCoreAllOf0

func (*BuildFlagCoreAllOf0) ContextValidate

func (m *BuildFlagCoreAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this build flag core all of0 based on context it is used

func (*BuildFlagCoreAllOf0) MarshalBinary

func (m *BuildFlagCoreAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildFlagCoreAllOf0) UnmarshalBinary

func (m *BuildFlagCoreAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildFlagCoreAllOf0) Validate

func (m *BuildFlagCoreAllOf0) Validate(formats strfmt.Registry) error

Validate validates this build flag core all of0

type BuildFlagDefault

type BuildFlagDefault struct {

	// At least one condition set from this list must be satisfied for this build flag default to be selected for a recipe (i.e condition sets are ORed together)
	ConditionSets []*ConditionSet `json:"condition_sets"`

	// The value for this build flag default
	// Required: true
	Value *string `json:"value"`
}

BuildFlagDefault Build Flag Default

swagger:model buildFlagDefault

func (*BuildFlagDefault) ContextValidate

func (m *BuildFlagDefault) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build flag default based on the context it is used

func (*BuildFlagDefault) MarshalBinary

func (m *BuildFlagDefault) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildFlagDefault) UnmarshalBinary

func (m *BuildFlagDefault) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildFlagDefault) Validate

func (m *BuildFlagDefault) Validate(formats strfmt.Registry) error

Validate validates this build flag default

type BuildFlagPagedList

type BuildFlagPagedList struct {

	// A page of build flags
	// Required: true
	BuildFlags []*BuildFlag `json:"build_flags"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

BuildFlagPagedList Build Flag Paged List

A paginated list of build flag

swagger:model buildFlagPagedList

func (*BuildFlagPagedList) ContextValidate

func (m *BuildFlagPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build flag paged list based on the context it is used

func (*BuildFlagPagedList) MarshalBinary

func (m *BuildFlagPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildFlagPagedList) UnmarshalBinary

func (m *BuildFlagPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildFlagPagedList) Validate

func (m *BuildFlagPagedList) Validate(formats strfmt.Registry) error

Validate validates this build flag paged list

type BuildFlagRevisionCore

type BuildFlagRevisionCore struct {
	BuildFlagRevisionCoreAllOf0

	RevisionBase
}

BuildFlagRevisionCore Build Flag Revision Core

The properties of an build flag revision needed to create a new one

swagger:model buildFlagRevisionCore

func (*BuildFlagRevisionCore) ContextValidate

func (m *BuildFlagRevisionCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build flag revision core based on the context it is used

func (*BuildFlagRevisionCore) MarshalBinary

func (m *BuildFlagRevisionCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (BuildFlagRevisionCore) MarshalJSON

func (m BuildFlagRevisionCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*BuildFlagRevisionCore) UnmarshalBinary

func (m *BuildFlagRevisionCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildFlagRevisionCore) UnmarshalJSON

func (m *BuildFlagRevisionCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*BuildFlagRevisionCore) Validate

func (m *BuildFlagRevisionCore) Validate(formats strfmt.Registry) error

Validate validates this build flag revision core

type BuildFlagRevisionCoreAllOf0

type BuildFlagRevisionCoreAllOf0 struct {

	// The build flag defaults
	// Required: true
	// Min Items: 1
	Defaults []*BuildFlagDefault `json:"defaults"`

	// The build flag values
	// Required: true
	// Min Items: 1
	Values []*BuildFlagValue `json:"values"`
}

BuildFlagRevisionCoreAllOf0 build flag revision core all of0

swagger:model buildFlagRevisionCoreAllOf0

func (*BuildFlagRevisionCoreAllOf0) ContextValidate

func (m *BuildFlagRevisionCoreAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build flag revision core all of0 based on the context it is used

func (*BuildFlagRevisionCoreAllOf0) MarshalBinary

func (m *BuildFlagRevisionCoreAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildFlagRevisionCoreAllOf0) UnmarshalBinary

func (m *BuildFlagRevisionCoreAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildFlagRevisionCoreAllOf0) Validate

func (m *BuildFlagRevisionCoreAllOf0) Validate(formats strfmt.Registry) error

Validate validates this build flag revision core all of0

type BuildFlagValue

type BuildFlagValue struct {

	// At least one condition set from this list must be satisfied for this build flag value to be applied in a recipe (i.e condition sets are ORed together)
	ConditionSets []*ConditionSet `json:"condition_sets"`

	// The name for this build flag value
	// Required: true
	Name *string `json:"name"`
}

BuildFlagValue Build Flag Value

swagger:model buildFlagValue

func (*BuildFlagValue) ContextValidate

func (m *BuildFlagValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build flag value based on the context it is used

func (*BuildFlagValue) MarshalBinary

func (m *BuildFlagValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildFlagValue) UnmarshalBinary

func (m *BuildFlagValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildFlagValue) Validate

func (m *BuildFlagValue) Validate(formats strfmt.Registry) error

Validate validates this build flag value

type BuildScript

type BuildScript struct {
	BuildScriptAllOf0

	BuildScriptCore
}

BuildScript Build Script

A short piece of scripting code that can be used to build an ingredient. This model contains all build script properties and is returned from read requests

swagger:model buildScript

func (*BuildScript) ContextValidate

func (m *BuildScript) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build script based on the context it is used

func (*BuildScript) MarshalBinary

func (m *BuildScript) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (BuildScript) MarshalJSON

func (m BuildScript) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*BuildScript) UnmarshalBinary

func (m *BuildScript) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildScript) UnmarshalJSON

func (m *BuildScript) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*BuildScript) Validate

func (m *BuildScript) Validate(formats strfmt.Registry) error

Validate validates this build script

type BuildScriptAllOf0

type BuildScriptAllOf0 struct {

	// build script id
	// Required: true
	// Format: uuid
	BuildScriptID *strfmt.UUID `json:"build_script_id"`

	// creation timestamp
	// Required: true
	// Format: date-time
	CreationTimestamp *strfmt.DateTime `json:"creation_timestamp"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

BuildScriptAllOf0 build script all of0

swagger:model buildScriptAllOf0

func (*BuildScriptAllOf0) ContextValidate

func (m *BuildScriptAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build script all of0 based on the context it is used

func (*BuildScriptAllOf0) MarshalBinary

func (m *BuildScriptAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildScriptAllOf0) UnmarshalBinary

func (m *BuildScriptAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildScriptAllOf0) Validate

func (m *BuildScriptAllOf0) Validate(formats strfmt.Registry) error

Validate validates this build script all of0

type BuildScriptCore

type BuildScriptCore struct {

	// The features that must already be present in the recipe for this build script to be used. For example, can be used to create build scripts that only work on specific operating systems.
	Conditions []*Condition `json:"conditions"`

	// The scripting language that the build script is written in
	// Required: true
	// Enum: [bash perl python]
	Language *string `json:"language"`

	// The build script itself
	// Required: true
	Script *string `json:"script"`
}

BuildScriptCore Build Script Core

A short piece of scripting code that can be used to build an ingredient. This model only contains mutable fields of a build script.

swagger:model buildScriptCore

func (*BuildScriptCore) ContextValidate

func (m *BuildScriptCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build script core based on the context it is used

func (*BuildScriptCore) MarshalBinary

func (m *BuildScriptCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildScriptCore) UnmarshalBinary

func (m *BuildScriptCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildScriptCore) Validate

func (m *BuildScriptCore) Validate(formats strfmt.Registry) error

Validate validates this build script core

type BuildScriptPagedList

type BuildScriptPagedList struct {

	// A page of build scripts
	// Required: true
	BuildScripts []*BuildScript `json:"build_scripts"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

BuildScriptPagedList Build Script Paged List

A paginated list of build scripts

swagger:model buildScriptPagedList

func (*BuildScriptPagedList) ContextValidate

func (m *BuildScriptPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this build script paged list based on the context it is used

func (*BuildScriptPagedList) MarshalBinary

func (m *BuildScriptPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BuildScriptPagedList) UnmarshalBinary

func (m *BuildScriptPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BuildScriptPagedList) Validate

func (m *BuildScriptPagedList) Validate(formats strfmt.Registry) error

Validate validates this build script paged list

type CPUArchitecture

CPUArchitecture CPU Architecture

The full CPU architecture data model

swagger:model cpuArchitecture

func (*CPUArchitecture) ContextValidate

func (m *CPUArchitecture) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cpu architecture based on the context it is used

func (*CPUArchitecture) MarshalBinary

func (m *CPUArchitecture) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (CPUArchitecture) MarshalJSON

func (m CPUArchitecture) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*CPUArchitecture) UnmarshalBinary

func (m *CPUArchitecture) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUArchitecture) UnmarshalJSON

func (m *CPUArchitecture) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*CPUArchitecture) Validate

func (m *CPUArchitecture) Validate(formats strfmt.Registry) error

Validate validates this cpu architecture

type CPUArchitectureAllOf0

type CPUArchitectureAllOf0 struct {

	// cpu architecture id
	// Required: true
	// Format: uuid
	CPUArchitectureID *strfmt.UUID `json:"cpu_architecture_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

CPUArchitectureAllOf0 cpu architecture all of0

swagger:model cpuArchitectureAllOf0

func (*CPUArchitectureAllOf0) ContextValidate

func (m *CPUArchitectureAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cpu architecture all of0 based on the context it is used

func (*CPUArchitectureAllOf0) MarshalBinary

func (m *CPUArchitectureAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUArchitectureAllOf0) UnmarshalBinary

func (m *CPUArchitectureAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUArchitectureAllOf0) Validate

func (m *CPUArchitectureAllOf0) Validate(formats strfmt.Registry) error

Validate validates this cpu architecture all of0

type CPUArchitectureCore

type CPUArchitectureCore struct {
	CPUArchitectureCoreAllOf0

	RevisionedFeatureProvider
}

CPUArchitectureCore CPU Architecture Core

The properties of a CPU architecture needed to create a new one

swagger:model cpuArchitectureCore

func (*CPUArchitectureCore) ContextValidate

func (m *CPUArchitectureCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cpu architecture core based on the context it is used

func (*CPUArchitectureCore) MarshalBinary

func (m *CPUArchitectureCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (CPUArchitectureCore) MarshalJSON

func (m CPUArchitectureCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*CPUArchitectureCore) UnmarshalBinary

func (m *CPUArchitectureCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUArchitectureCore) UnmarshalJSON

func (m *CPUArchitectureCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*CPUArchitectureCore) Validate

func (m *CPUArchitectureCore) Validate(formats strfmt.Registry) error

Validate validates this cpu architecture core

type CPUArchitectureCoreAllOf0

type CPUArchitectureCoreAllOf0 struct {

	// bit width
	// Required: true
	// Enum: [32 64]
	BitWidth *string `json:"bit_width"`

	// The name of the CPU architecture
	// Required: true
	Name *string `json:"name"`
}

CPUArchitectureCoreAllOf0 cpu architecture core all of0

swagger:model cpuArchitectureCoreAllOf0

func (*CPUArchitectureCoreAllOf0) ContextValidate

func (m *CPUArchitectureCoreAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cpu architecture core all of0 based on context it is used

func (*CPUArchitectureCoreAllOf0) MarshalBinary

func (m *CPUArchitectureCoreAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUArchitectureCoreAllOf0) UnmarshalBinary

func (m *CPUArchitectureCoreAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUArchitectureCoreAllOf0) Validate

func (m *CPUArchitectureCoreAllOf0) Validate(formats strfmt.Registry) error

Validate validates this cpu architecture core all of0

type CPUArchitecturePagedList

type CPUArchitecturePagedList struct {

	// A page of CPU architectures
	// Required: true
	CPUArchitectures []*CPUArchitecture `json:"cpu_architectures"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

CPUArchitecturePagedList CPU Architecture Paged List

A paginated list of CPU architectures

swagger:model cpuArchitecturePagedList

func (*CPUArchitecturePagedList) ContextValidate

func (m *CPUArchitecturePagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cpu architecture paged list based on the context it is used

func (*CPUArchitecturePagedList) MarshalBinary

func (m *CPUArchitecturePagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUArchitecturePagedList) UnmarshalBinary

func (m *CPUArchitecturePagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUArchitecturePagedList) Validate

func (m *CPUArchitecturePagedList) Validate(formats strfmt.Registry) error

Validate validates this cpu architecture paged list

type CPUExtension

CPUExtension CPU Extension

The full CPU extension data model

swagger:model cpuExtension

func (*CPUExtension) ContextValidate

func (m *CPUExtension) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cpu extension based on the context it is used

func (*CPUExtension) MarshalBinary

func (m *CPUExtension) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (CPUExtension) MarshalJSON

func (m CPUExtension) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*CPUExtension) UnmarshalBinary

func (m *CPUExtension) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUExtension) UnmarshalJSON

func (m *CPUExtension) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*CPUExtension) Validate

func (m *CPUExtension) Validate(formats strfmt.Registry) error

Validate validates this cpu extension

type CPUExtensionAllOf0

type CPUExtensionAllOf0 struct {

	// cpu extension id
	// Required: true
	// Format: uuid
	CPUExtensionID *strfmt.UUID `json:"cpu_extension_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

CPUExtensionAllOf0 cpu extension all of0

swagger:model cpuExtensionAllOf0

func (*CPUExtensionAllOf0) ContextValidate

func (m *CPUExtensionAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cpu extension all of0 based on the context it is used

func (*CPUExtensionAllOf0) MarshalBinary

func (m *CPUExtensionAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUExtensionAllOf0) UnmarshalBinary

func (m *CPUExtensionAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUExtensionAllOf0) Validate

func (m *CPUExtensionAllOf0) Validate(formats strfmt.Registry) error

Validate validates this cpu extension all of0

type CPUExtensionCore

type CPUExtensionCore struct {
	CPUExtensionCoreAllOf0

	RevisionedFeatureProvider
}

CPUExtensionCore CPU Extension Core

The properties of a CPU extension needed to create a new one

swagger:model cpuExtensionCore

func (*CPUExtensionCore) ContextValidate

func (m *CPUExtensionCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cpu extension core based on the context it is used

func (*CPUExtensionCore) MarshalBinary

func (m *CPUExtensionCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (CPUExtensionCore) MarshalJSON

func (m CPUExtensionCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*CPUExtensionCore) UnmarshalBinary

func (m *CPUExtensionCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUExtensionCore) UnmarshalJSON

func (m *CPUExtensionCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*CPUExtensionCore) Validate

func (m *CPUExtensionCore) Validate(formats strfmt.Registry) error

Validate validates this cpu extension core

type CPUExtensionCoreAllOf0

type CPUExtensionCoreAllOf0 struct {

	// The name of the CPU extension
	// Required: true
	Name *string `json:"name"`
}

CPUExtensionCoreAllOf0 cpu extension core all of0

swagger:model cpuExtensionCoreAllOf0

func (*CPUExtensionCoreAllOf0) ContextValidate

func (m *CPUExtensionCoreAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cpu extension core all of0 based on context it is used

func (*CPUExtensionCoreAllOf0) MarshalBinary

func (m *CPUExtensionCoreAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUExtensionCoreAllOf0) UnmarshalBinary

func (m *CPUExtensionCoreAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUExtensionCoreAllOf0) Validate

func (m *CPUExtensionCoreAllOf0) Validate(formats strfmt.Registry) error

Validate validates this cpu extension core all of0

type CPUExtensionPagedList

type CPUExtensionPagedList struct {

	// A page of CPU extensions
	// Required: true
	CPUExtensions []*CPUExtension `json:"cpu_extensions"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

CPUExtensionPagedList CPU Extension Paged List

A paginated list of CPU extensions

swagger:model cpuExtensionPagedList

func (*CPUExtensionPagedList) ContextValidate

func (m *CPUExtensionPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this cpu extension paged list based on the context it is used

func (*CPUExtensionPagedList) MarshalBinary

func (m *CPUExtensionPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CPUExtensionPagedList) UnmarshalBinary

func (m *CPUExtensionPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CPUExtensionPagedList) Validate

func (m *CPUExtensionPagedList) Validate(formats strfmt.Registry) error

Validate validates this cpu extension paged list

type Condition

type Condition struct {

	// What feature must be present for the containing entity to apply
	// Required: true
	Feature *string `json:"feature"`

	// The namespace the conditional feature is contained in
	// Required: true
	Namespace *string `json:"namespace"`

	// requirements
	// Required: true
	Requirements Requirements `json:"requirements"`
}

Condition Condition

A feature that must be present in a recipe for the containing entity to apply. If nothing in the recipe matches this condition, the containing entity is disable/cannot be used.

swagger:model condition

func (*Condition) ContextValidate

func (m *Condition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this condition based on the context it is used

func (*Condition) MarshalBinary

func (m *Condition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Condition) UnmarshalBinary

func (m *Condition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Condition) Validate

func (m *Condition) Validate(formats strfmt.Registry) error

Validate validates this condition

type ConditionSet

type ConditionSet struct {

	// The list of conditions that must all be satisfied for this condition set to be satisfied. These conditions may only condition on platform features, not ingredient features.
	// Required: true
	// Min Items: 1
	Conditions []*Condition `json:"conditions"`
}

ConditionSet Condition Set

All of the conditions in a condition set must be satisfied in order for the condition set to be considered satisfied (i.e. conditions in a condition set are ANDed together)

swagger:model conditionSet

func (*ConditionSet) ContextValidate

func (m *ConditionSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this condition set based on the context it is used

func (*ConditionSet) MarshalBinary

func (m *ConditionSet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConditionSet) UnmarshalBinary

func (m *ConditionSet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConditionSet) Validate

func (m *ConditionSet) Validate(formats strfmt.Registry) error

Validate validates this condition set

type CurrentUser

type CurrentUser struct {

	// email
	Email string `json:"email,omitempty"`

	// is activator
	IsActivator bool `json:"is_activator,omitempty"`

	// is anonymous
	IsAnonymous bool `json:"is_anonymous,omitempty"`

	// is superuser
	IsSuperuser bool `json:"is_superuser,omitempty"`

	// is superuser readonly
	IsSuperuserReadonly bool `json:"is_superuser_readonly,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// organizations
	Organizations []*Organization `json:"organizations"`

	// user id
	UserID string `json:"user_id,omitempty"`
}

CurrentUser current user

swagger:model current_user

func (*CurrentUser) ContextValidate

func (m *CurrentUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this current user based on the context it is used

func (*CurrentUser) MarshalBinary

func (m *CurrentUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CurrentUser) UnmarshalBinary

func (m *CurrentUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CurrentUser) Validate

func (m *CurrentUser) Validate(formats strfmt.Registry) error

Validate validates this current user

type Dependency

type Dependency struct {

	// The features that must already be present in the recipe for this requirement to apply. For example, can be used to create requirements that only apply on specific operating systems.
	Conditions []*DependencyCondition `json:"conditions"`

	// A description of this dependency
	Description string `json:"description,omitempty"`

	// The name of the feature this ingredient version is dependent on
	// Required: true
	Feature *string `json:"feature"`

	// The namespace the feature depended on is contained in
	// Required: true
	Namespace *string `json:"namespace"`

	// Whatever text or data structure we parsed to generate this dependency
	OriginalRequirement string `json:"original_requirement,omitempty"`

	// requirements
	// Required: true
	Requirements Requirements `json:"requirements"`

	// type
	// Required: true
	Type DependencyType `json:"type"`
}

Dependency Dependency

A single dependency for an ingredient version revision

swagger:model dependency

func (*Dependency) ContextValidate

func (m *Dependency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dependency based on the context it is used

func (*Dependency) MarshalBinary

func (m *Dependency) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Dependency) UnmarshalBinary

func (m *Dependency) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Dependency) Validate

func (m *Dependency) Validate(formats strfmt.Registry) error

Validate validates this dependency

type DependencyCondition

type DependencyCondition struct {
	Condition

	DependencyConditionAllOf1
}

DependencyCondition Dependency Condition

swagger:model dependencyCondition

func (*DependencyCondition) ContextValidate

func (m *DependencyCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dependency condition based on the context it is used

func (*DependencyCondition) MarshalBinary

func (m *DependencyCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (DependencyCondition) MarshalJSON

func (m DependencyCondition) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*DependencyCondition) UnmarshalBinary

func (m *DependencyCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DependencyCondition) UnmarshalJSON

func (m *DependencyCondition) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*DependencyCondition) Validate

func (m *DependencyCondition) Validate(formats strfmt.Registry) error

Validate validates this dependency condition

type DependencyConditionAllOf1

type DependencyConditionAllOf1 struct {

	// Whatever text or data structure we parsed to generate this condition
	OriginalCondition string `json:"original_condition,omitempty"`
}

DependencyConditionAllOf1 dependency condition all of1

swagger:model dependencyConditionAllOf1

func (*DependencyConditionAllOf1) ContextValidate

func (m *DependencyConditionAllOf1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dependency condition all of1 based on context it is used

func (*DependencyConditionAllOf1) MarshalBinary

func (m *DependencyConditionAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DependencyConditionAllOf1) UnmarshalBinary

func (m *DependencyConditionAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DependencyConditionAllOf1) Validate

func (m *DependencyConditionAllOf1) Validate(formats strfmt.Registry) error

Validate validates this dependency condition all of1

type DependencyType

type DependencyType string

DependencyType Dependency type

The different types of dependencies supported by the platform.

swagger:model dependencyType

const (

	// DependencyTypeBuild captures enum value "build"
	DependencyTypeBuild DependencyType = "build"

	// DependencyTypeRuntime captures enum value "runtime"
	DependencyTypeRuntime DependencyType = "runtime"

	// DependencyTypeTest captures enum value "test"
	DependencyTypeTest DependencyType = "test"
)

func NewDependencyType

func NewDependencyType(value DependencyType) *DependencyType

func (DependencyType) ContextValidate

func (m DependencyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dependency type based on context it is used

func (DependencyType) Validate

func (m DependencyType) Validate(formats strfmt.Registry) error

Validate validates this dependency type

type FullIngredientVersion

FullIngredientVersion Ingredient Version

An ingredient version at a single revision with all revision sub-objects.

swagger:model fullIngredientVersion

func (*FullIngredientVersion) ContextValidate

func (m *FullIngredientVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this full ingredient version based on the context it is used

func (*FullIngredientVersion) MarshalBinary

func (m *FullIngredientVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (FullIngredientVersion) MarshalJSON

func (m FullIngredientVersion) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*FullIngredientVersion) UnmarshalBinary

func (m *FullIngredientVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FullIngredientVersion) UnmarshalJSON

func (m *FullIngredientVersion) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*FullIngredientVersion) Validate

func (m *FullIngredientVersion) Validate(formats strfmt.Registry) error

Validate validates this full ingredient version

type FullIngredientVersionAllOf0

type FullIngredientVersionAllOf0 struct {

	// The build scripts that are used for this revision
	BuildScripts []*BuildScript `json:"build_scripts"`

	// creation timestamp
	// Required: true
	// Format: date-time
	CreationTimestamp *strfmt.DateTime `json:"creation_timestamp"`

	// ingredient id
	// Required: true
	// Format: uuid
	IngredientID *strfmt.UUID `json:"ingredient_id"`

	// The ingredient options sets associated with this revision of the ingredient version
	IngredientOptionSets []*IngredientOptionSetIDRevision `json:"ingredient_option_sets"`

	// ingredient version id
	// Required: true
	// Format: uuid
	IngredientVersionID *strfmt.UUID `json:"ingredient_version_id"`

	// links
	// Required: true
	Links *FullIngredientVersionAllOf0Links `json:"links"`

	// The patches that apply to this revision
	Patches []*IngredientVersionRevisionPatch `json:"patches"`
}

FullIngredientVersionAllOf0 full ingredient version all of0

swagger:model fullIngredientVersionAllOf0

func (*FullIngredientVersionAllOf0) ContextValidate

func (m *FullIngredientVersionAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this full ingredient version all of0 based on the context it is used

func (*FullIngredientVersionAllOf0) MarshalBinary

func (m *FullIngredientVersionAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FullIngredientVersionAllOf0) UnmarshalBinary

func (m *FullIngredientVersionAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FullIngredientVersionAllOf0) Validate

func (m *FullIngredientVersionAllOf0) Validate(formats strfmt.Registry) error

Validate validates this full ingredient version all of0

type FullIngredientVersionAllOf0Links struct {
	SelfLink

	FullIngredientVersionAllOf0LinksAllOf1
}

FullIngredientVersionAllOf0Links full ingredient version all of0 links

swagger:model fullIngredientVersionAllOf0Links

func (*FullIngredientVersionAllOf0Links) ContextValidate

func (m *FullIngredientVersionAllOf0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this full ingredient version all of0 links based on the context it is used

func (*FullIngredientVersionAllOf0Links) MarshalBinary

func (m *FullIngredientVersionAllOf0Links) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (FullIngredientVersionAllOf0Links) MarshalJSON

func (m FullIngredientVersionAllOf0Links) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*FullIngredientVersionAllOf0Links) UnmarshalBinary

func (m *FullIngredientVersionAllOf0Links) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FullIngredientVersionAllOf0Links) UnmarshalJSON

func (m *FullIngredientVersionAllOf0Links) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*FullIngredientVersionAllOf0Links) Validate

Validate validates this full ingredient version all of0 links

type FullIngredientVersionAllOf0LinksAllOf1

type FullIngredientVersionAllOf0LinksAllOf1 struct {

	// The URI of the ingredient this is a version of
	// Required: true
	// Format: uri
	Ingredient *strfmt.URI `json:"ingredient"`
}

FullIngredientVersionAllOf0LinksAllOf1 full ingredient version all of0 links all of1

swagger:model fullIngredientVersionAllOf0LinksAllOf1

func (*FullIngredientVersionAllOf0LinksAllOf1) ContextValidate

ContextValidate validates this full ingredient version all of0 links all of1 based on context it is used

func (*FullIngredientVersionAllOf0LinksAllOf1) MarshalBinary

func (m *FullIngredientVersionAllOf0LinksAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FullIngredientVersionAllOf0LinksAllOf1) UnmarshalBinary

func (m *FullIngredientVersionAllOf0LinksAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FullIngredientVersionAllOf0LinksAllOf1) Validate

Validate validates this full ingredient version all of0 links all of1

type GpuArchitecture

GpuArchitecture GPU Architecture

The full GPU architecture data model

swagger:model gpuArchitecture

func (*GpuArchitecture) ContextValidate

func (m *GpuArchitecture) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gpu architecture based on the context it is used

func (*GpuArchitecture) MarshalBinary

func (m *GpuArchitecture) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GpuArchitecture) MarshalJSON

func (m GpuArchitecture) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GpuArchitecture) UnmarshalBinary

func (m *GpuArchitecture) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GpuArchitecture) UnmarshalJSON

func (m *GpuArchitecture) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GpuArchitecture) Validate

func (m *GpuArchitecture) Validate(formats strfmt.Registry) error

Validate validates this gpu architecture

type GpuArchitectureAllOf0

type GpuArchitectureAllOf0 struct {

	// gpu architecture id
	// Required: true
	// Format: uuid
	GpuArchitectureID *strfmt.UUID `json:"gpu_architecture_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

GpuArchitectureAllOf0 gpu architecture all of0

swagger:model gpuArchitectureAllOf0

func (*GpuArchitectureAllOf0) ContextValidate

func (m *GpuArchitectureAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gpu architecture all of0 based on the context it is used

func (*GpuArchitectureAllOf0) MarshalBinary

func (m *GpuArchitectureAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GpuArchitectureAllOf0) UnmarshalBinary

func (m *GpuArchitectureAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GpuArchitectureAllOf0) Validate

func (m *GpuArchitectureAllOf0) Validate(formats strfmt.Registry) error

Validate validates this gpu architecture all of0

type GpuArchitectureCore

type GpuArchitectureCore struct {
	GpuArchitectureCoreAllOf0

	RevisionedFeatureProvider
}

GpuArchitectureCore GPU Architecture Core

The properties of a GPU architecture needed to create a new one

swagger:model gpuArchitectureCore

func (*GpuArchitectureCore) ContextValidate

func (m *GpuArchitectureCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gpu architecture core based on the context it is used

func (*GpuArchitectureCore) MarshalBinary

func (m *GpuArchitectureCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (GpuArchitectureCore) MarshalJSON

func (m GpuArchitectureCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*GpuArchitectureCore) UnmarshalBinary

func (m *GpuArchitectureCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GpuArchitectureCore) UnmarshalJSON

func (m *GpuArchitectureCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*GpuArchitectureCore) Validate

func (m *GpuArchitectureCore) Validate(formats strfmt.Registry) error

Validate validates this gpu architecture core

type GpuArchitectureCoreAllOf0

type GpuArchitectureCoreAllOf0 struct {

	// The name of the GPU architecture
	// Required: true
	Name *string `json:"name"`
}

GpuArchitectureCoreAllOf0 gpu architecture core all of0

swagger:model gpuArchitectureCoreAllOf0

func (*GpuArchitectureCoreAllOf0) ContextValidate

func (m *GpuArchitectureCoreAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this gpu architecture core all of0 based on context it is used

func (*GpuArchitectureCoreAllOf0) MarshalBinary

func (m *GpuArchitectureCoreAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GpuArchitectureCoreAllOf0) UnmarshalBinary

func (m *GpuArchitectureCoreAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GpuArchitectureCoreAllOf0) Validate

func (m *GpuArchitectureCoreAllOf0) Validate(formats strfmt.Registry) error

Validate validates this gpu architecture core all of0

type GpuArchitecturePagedList

type GpuArchitecturePagedList struct {

	// A page of GPU architectures
	// Required: true
	GpuArchitectures []*GpuArchitecture `json:"gpu_architectures"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

GpuArchitecturePagedList GPU Architecture Paged List

A paginated list of GPU architectures

swagger:model gpuArchitecturePagedList

func (*GpuArchitecturePagedList) ContextValidate

func (m *GpuArchitecturePagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this gpu architecture paged list based on the context it is used

func (*GpuArchitecturePagedList) MarshalBinary

func (m *GpuArchitecturePagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GpuArchitecturePagedList) UnmarshalBinary

func (m *GpuArchitecturePagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GpuArchitecturePagedList) Validate

func (m *GpuArchitecturePagedList) Validate(formats strfmt.Registry) error

Validate validates this gpu architecture paged list

type Image

type Image struct {
	ImageAllOf0

	ImageCore

	RevisionedResource
}

Image Image

The full image data model

swagger:model image

func (*Image) ContextValidate

func (m *Image) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image based on the context it is used

func (*Image) MarshalBinary

func (m *Image) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Image) MarshalJSON

func (m Image) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Image) UnmarshalBinary

func (m *Image) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Image) UnmarshalJSON

func (m *Image) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Image) Validate

func (m *Image) Validate(formats strfmt.Registry) error

Validate validates this image

type ImageAllOf0

type ImageAllOf0 struct {

	// image id
	// Required: true
	// Format: uuid
	ImageID *strfmt.UUID `json:"image_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

ImageAllOf0 image all of0

swagger:model imageAllOf0

func (*ImageAllOf0) ContextValidate

func (m *ImageAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image all of0 based on the context it is used

func (*ImageAllOf0) MarshalBinary

func (m *ImageAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageAllOf0) UnmarshalBinary

func (m *ImageAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageAllOf0) Validate

func (m *ImageAllOf0) Validate(formats strfmt.Registry) error

Validate validates this image all of0

type ImageCore

type ImageCore struct {
	ImageCoreAllOf0

	ImageRevisionCore
}

ImageCore Image Core

The properties of an image needed to create a new one

swagger:model imageCore

func (*ImageCore) ContextValidate

func (m *ImageCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image core based on the context it is used

func (*ImageCore) MarshalBinary

func (m *ImageCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ImageCore) MarshalJSON

func (m ImageCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ImageCore) UnmarshalBinary

func (m *ImageCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageCore) UnmarshalJSON

func (m *ImageCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ImageCore) Validate

func (m *ImageCore) Validate(formats strfmt.Registry) error

Validate validates this image core

type ImageCoreAllOf0

type ImageCoreAllOf0 struct {

	// The name of the image (excluding any version information). This will be something like "activestate/centos-6.9-build" (for a Docker image) or "ami-foo-12345" (WindowsInstance).
	// Required: true
	Name *string `json:"name"`

	// The platform to which this image belongs.
	// Required: true
	// Format: uuid
	PlatformID *strfmt.UUID `json:"platform_id"`

	// The type of the image.
	// Required: true
	// Enum: [Docker Mac MacSandbox WindowsDocker WindowsInstance]
	Type *string `json:"type"`
}

ImageCoreAllOf0 image core all of0

swagger:model imageCoreAllOf0

func (*ImageCoreAllOf0) ContextValidate

func (m *ImageCoreAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image core all of0 based on context it is used

func (*ImageCoreAllOf0) MarshalBinary

func (m *ImageCoreAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageCoreAllOf0) UnmarshalBinary

func (m *ImageCoreAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageCoreAllOf0) Validate

func (m *ImageCoreAllOf0) Validate(formats strfmt.Registry) error

Validate validates this image core all of0

type ImagePagedList

type ImagePagedList struct {

	// A page of images
	// Required: true
	Images []*Image `json:"images"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

ImagePagedList Image Paged List

A paginated list of images

swagger:model imagePagedList

func (*ImagePagedList) ContextValidate

func (m *ImagePagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image paged list based on the context it is used

func (*ImagePagedList) MarshalBinary

func (m *ImagePagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImagePagedList) UnmarshalBinary

func (m *ImagePagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImagePagedList) Validate

func (m *ImagePagedList) Validate(formats strfmt.Registry) error

Validate validates this image paged list

type ImageRevisionCore

ImageRevisionCore Image Revision Core

The properties of an image revision needed to create a new one

swagger:model imageRevisionCore

func (*ImageRevisionCore) ContextValidate

func (m *ImageRevisionCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image revision core based on the context it is used

func (*ImageRevisionCore) MarshalBinary

func (m *ImageRevisionCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ImageRevisionCore) MarshalJSON

func (m ImageRevisionCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ImageRevisionCore) UnmarshalBinary

func (m *ImageRevisionCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageRevisionCore) UnmarshalJSON

func (m *ImageRevisionCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ImageRevisionCore) Validate

func (m *ImageRevisionCore) Validate(formats strfmt.Registry) error

Validate validates this image revision core

type ImageRevisionCoreAllOf2

type ImageRevisionCoreAllOf2 struct {

	// conditions
	Conditions []*Condition `json:"conditions"`

	// The status of the revision. This can be one of stable, unstable, deleted, or deprecated.
	// Enum: [deleted deprecated stable unstable]
	Status string `json:"status,omitempty"`
}

ImageRevisionCoreAllOf2 image revision core all of2

swagger:model imageRevisionCoreAllOf2

func (*ImageRevisionCoreAllOf2) ContextValidate

func (m *ImageRevisionCoreAllOf2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image revision core all of2 based on the context it is used

func (*ImageRevisionCoreAllOf2) MarshalBinary

func (m *ImageRevisionCoreAllOf2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageRevisionCoreAllOf2) UnmarshalBinary

func (m *ImageRevisionCoreAllOf2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageRevisionCoreAllOf2) Validate

func (m *ImageRevisionCoreAllOf2) Validate(formats strfmt.Registry) error

Validate validates this image revision core all of2

type Ingredient

type Ingredient struct {
	IngredientAllOf0

	IngredientCore
}

Ingredient Ingredient

A unique ingredient that can be used in a recipe. This model contains all ingredient properties and is returned from read requests.

swagger:model ingredient

func (*Ingredient) ContextValidate

func (m *Ingredient) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient based on the context it is used

func (*Ingredient) MarshalBinary

func (m *Ingredient) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Ingredient) MarshalJSON

func (m Ingredient) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Ingredient) UnmarshalBinary

func (m *Ingredient) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Ingredient) UnmarshalJSON

func (m *Ingredient) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Ingredient) Validate

func (m *Ingredient) Validate(formats strfmt.Registry) error

Validate validates this ingredient

type IngredientAllInOneCreate

type IngredientAllInOneCreate struct {

	// Authors to associate with each version. They will be created if they don't already exist. If an ingredient version already exist its authors will not be updated.
	Authors []*AuthorCore `json:"authors"`

	// Build scripts to associate with each version. They will be created if they don't already exist.
	BuildScripts []*BuildScriptCore `json:"build_scripts"`

	// ingredient
	// Required: true
	Ingredient *IngredientCore `json:"ingredient"`

	// Patches to associate with each version. They will be created if they don't already exist.
	Patches []*PatchCore `json:"patches"`

	// versions
	// Required: true
	// Min Items: 1
	Versions []*IngredientVersionAllInOneCreate `json:"versions"`
}

IngredientAllInOneCreate Ingredient All-in-One Create

Everything needed to create an ingredient and/or versions and/or revisions in a single request.

swagger:model ingredientAllInOneCreate

func (*IngredientAllInOneCreate) ContextValidate

func (m *IngredientAllInOneCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient all in one create based on the context it is used

func (*IngredientAllInOneCreate) MarshalBinary

func (m *IngredientAllInOneCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientAllInOneCreate) UnmarshalBinary

func (m *IngredientAllInOneCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientAllInOneCreate) Validate

func (m *IngredientAllInOneCreate) Validate(formats strfmt.Registry) error

Validate validates this ingredient all in one create

type IngredientAllInOneResponse

type IngredientAllInOneResponse struct {

	// ingredient
	// Required: true
	Ingredient *Ingredient `json:"ingredient"`

	// versions
	// Required: true
	// Min Items: 1
	Versions []*IngredientVersion `json:"versions"`
}

IngredientAllInOneResponse Ingredient All-in-One Response

The response for an All-in-One create request.

swagger:model ingredientAllInOneResponse

func (*IngredientAllInOneResponse) ContextValidate

func (m *IngredientAllInOneResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient all in one response based on the context it is used

func (*IngredientAllInOneResponse) MarshalBinary

func (m *IngredientAllInOneResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientAllInOneResponse) UnmarshalBinary

func (m *IngredientAllInOneResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientAllInOneResponse) Validate

func (m *IngredientAllInOneResponse) Validate(formats strfmt.Registry) error

Validate validates this ingredient all in one response

type IngredientAllOf0

type IngredientAllOf0 struct {

	// creation timestamp
	// Required: true
	// Format: date-time
	CreationTimestamp *strfmt.DateTime `json:"creation_timestamp"`

	// ingredient id
	// Required: true
	// Format: uuid
	IngredientID *strfmt.UUID `json:"ingredient_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

IngredientAllOf0 ingredient all of0

swagger:model ingredientAllOf0

func (*IngredientAllOf0) ContextValidate

func (m *IngredientAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient all of0 based on the context it is used

func (*IngredientAllOf0) MarshalBinary

func (m *IngredientAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientAllOf0) UnmarshalBinary

func (m *IngredientAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientAllOf0) Validate

func (m *IngredientAllOf0) Validate(formats strfmt.Registry) error

Validate validates this ingredient all of0

type IngredientAndVersion

type IngredientAndVersion struct {

	// ingredient
	// Required: true
	Ingredient *Ingredient `json:"ingredient"`

	// version
	// Required: true
	Version *IngredientVersion `json:"version"`
}

IngredientAndVersion Ingredient And Version

An ingredient paired with one of its versions

swagger:model ingredientAndVersion

func (*IngredientAndVersion) ContextValidate

func (m *IngredientAndVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient and version based on the context it is used

func (*IngredientAndVersion) MarshalBinary

func (m *IngredientAndVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientAndVersion) UnmarshalBinary

func (m *IngredientAndVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientAndVersion) Validate

func (m *IngredientAndVersion) Validate(formats strfmt.Registry) error

Validate validates this ingredient and version

type IngredientAndVersionPagedList

type IngredientAndVersionPagedList struct {

	// A page of ingredients and versions
	// Required: true
	IngredientsAndVersions []*IngredientAndVersion `json:"ingredients_and_versions"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

IngredientAndVersionPagedList Ingredient And Version Paged List

A paginated list of ingredients and versions

swagger:model ingredientAndVersionPagedList

func (*IngredientAndVersionPagedList) ContextValidate

func (m *IngredientAndVersionPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient and version paged list based on the context it is used

func (*IngredientAndVersionPagedList) MarshalBinary

func (m *IngredientAndVersionPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientAndVersionPagedList) UnmarshalBinary

func (m *IngredientAndVersionPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientAndVersionPagedList) Validate

func (m *IngredientAndVersionPagedList) Validate(formats strfmt.Registry) error

Validate validates this ingredient and version paged list

type IngredientCore

type IngredientCore struct {
	IngredientCoreAllOf0

	IngredientUpdate
}

IngredientCore Ingredient Core

A unique ingredient that can be used in a recipe. These properties are shared by all ingredient models.

swagger:model ingredientCore

func (*IngredientCore) ContextValidate

func (m *IngredientCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient core based on the context it is used

func (*IngredientCore) MarshalBinary

func (m *IngredientCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientCore) MarshalJSON

func (m IngredientCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientCore) UnmarshalBinary

func (m *IngredientCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientCore) UnmarshalJSON

func (m *IngredientCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientCore) Validate

func (m *IngredientCore) Validate(formats strfmt.Registry) error

Validate validates this ingredient core

type IngredientCoreAllOf0

type IngredientCoreAllOf0 struct {

	// The name of the ingredient (excluding any version information)
	// Required: true
	Name *string `json:"name"`

	// The normalized name of the ingredient. This will be ignored when creating new ingredients, as the service calculates this internally.
	NormalizedName string `json:"normalized_name,omitempty"`

	// The primary namespace to which this ingredient belongs
	// Required: true
	PrimaryNamespace *string `json:"primary_namespace"`
}

IngredientCoreAllOf0 ingredient core all of0

swagger:model ingredientCoreAllOf0

func (*IngredientCoreAllOf0) ContextValidate

func (m *IngredientCoreAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient core all of0 based on context it is used

func (*IngredientCoreAllOf0) MarshalBinary

func (m *IngredientCoreAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientCoreAllOf0) UnmarshalBinary

func (m *IngredientCoreAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientCoreAllOf0) Validate

func (m *IngredientCoreAllOf0) Validate(formats strfmt.Registry) error

Validate validates this ingredient core all of0

type IngredientCreate

type IngredientCreate struct {
	IngredientCreateAllOf0

	IngredientCore
}

IngredientCreate Ingredient Create

A unique ingredient that can be used in a recipe. This ingredient model is only used during creation to allow creating ingredient versions along with the ingredient.

swagger:model ingredientCreate

func (*IngredientCreate) ContextValidate

func (m *IngredientCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient create based on the context it is used

func (*IngredientCreate) MarshalBinary

func (m *IngredientCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientCreate) MarshalJSON

func (m IngredientCreate) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientCreate) UnmarshalBinary

func (m *IngredientCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientCreate) UnmarshalJSON

func (m *IngredientCreate) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientCreate) Validate

func (m *IngredientCreate) Validate(formats strfmt.Registry) error

Validate validates this ingredient create

type IngredientCreateAllOf0

type IngredientCreateAllOf0 struct {

	// The available versions of this ingredient
	// Required: true
	// Min Items: 1
	Versions []*IngredientVersionCreate `json:"versions"`
}

IngredientCreateAllOf0 ingredient create all of0

swagger:model ingredientCreateAllOf0

func (*IngredientCreateAllOf0) ContextValidate

func (m *IngredientCreateAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient create all of0 based on the context it is used

func (*IngredientCreateAllOf0) MarshalBinary

func (m *IngredientCreateAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientCreateAllOf0) UnmarshalBinary

func (m *IngredientCreateAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientCreateAllOf0) Validate

func (m *IngredientCreateAllOf0) Validate(formats strfmt.Registry) error

Validate validates this ingredient create all of0

type IngredientOption

type IngredientOption struct {

	// Command-line arguments to append to the builder invocation
	// Min Items: 1
	CommandLineArgs []string `json:"command_line_args"`

	// At least one condition set from this list must be satisfied for this ingredient option to be applied in a recipe (i.e condition sets are ORed together)
	ConditionSets []*IngredientOptionConditionSet `json:"condition_sets"`

	// resources
	Resources *IngredientOptionResources `json:"resources,omitempty"`
}

IngredientOption Ingredient Option

Parameters to the build of this ingredient that should be applied if the conditions are met. Must specify either command line args, resource requirements, or both.

swagger:model ingredientOption

func (*IngredientOption) ContextValidate

func (m *IngredientOption) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient option based on the context it is used

func (*IngredientOption) MarshalBinary

func (m *IngredientOption) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientOption) UnmarshalBinary

func (m *IngredientOption) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOption) Validate

func (m *IngredientOption) Validate(formats strfmt.Registry) error

Validate validates this ingredient option

type IngredientOptionConditionSet

type IngredientOptionConditionSet struct {

	// This set's conditions upon build flags
	BuildFlagConditions []*BuildFlagCondition `json:"build_flag_conditions"`

	// This set's conditions upon features
	Conditions []*Condition `json:"conditions"`
}

IngredientOptionConditionSet Ingredient Option Condition Set

All conditions and build flag conditions in a condition set must be satisfied in order for the condition set to be considered satisfied (i.e. the union of both condition lists are ANDed together). Must contain at least one condition or build flag condition.

swagger:model ingredientOptionConditionSet

func (*IngredientOptionConditionSet) ContextValidate

func (m *IngredientOptionConditionSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient option condition set based on the context it is used

func (*IngredientOptionConditionSet) MarshalBinary

func (m *IngredientOptionConditionSet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientOptionConditionSet) UnmarshalBinary

func (m *IngredientOptionConditionSet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionConditionSet) Validate

func (m *IngredientOptionConditionSet) Validate(formats strfmt.Registry) error

Validate validates this ingredient option condition set

type IngredientOptionResources

type IngredientOptionResources struct {

	// The minimum number of CPU cores to dedicate to the execution of the build. Can be a non-integer number to allow sharing of a core with other builds, but values are rounded to the nearest 0.1 CPU.
	// Maximum: 16
	// Minimum: 0.1
	Cpus float64 `json:"cpus,omitempty"`

	// Additional host feature requirements. Values are single values. Ranges (e.g. [1-5]) are not currently supported.
	HostAttributes map[string]string `json:"host_attributes,omitempty"`

	// The minimum amount of memory in megabytes to make available to the build.
	// Maximum: 131072
	// Minimum: 1
	MemoryMb int64 `json:"memory_mb,omitempty"`
}

IngredientOptionResources The minimum resource requirements with which to run the build. Must specify one or both of the fields in this object.

swagger:model ingredientOptionResources

func (*IngredientOptionResources) ContextValidate

func (m *IngredientOptionResources) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient option resources based on context it is used

func (*IngredientOptionResources) MarshalBinary

func (m *IngredientOptionResources) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientOptionResources) UnmarshalBinary

func (m *IngredientOptionResources) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionResources) Validate

func (m *IngredientOptionResources) Validate(formats strfmt.Registry) error

Validate validates this ingredient option resources

type IngredientOptionSet

IngredientOptionSet Ingredient Option Set

A set of ingredient options that can applied to the build of an ingredient.

swagger:model ingredientOptionSet

func (*IngredientOptionSet) ContextValidate

func (m *IngredientOptionSet) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient option set based on the context it is used

func (*IngredientOptionSet) MarshalBinary

func (m *IngredientOptionSet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientOptionSet) MarshalJSON

func (m IngredientOptionSet) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientOptionSet) UnmarshalBinary

func (m *IngredientOptionSet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSet) UnmarshalJSON

func (m *IngredientOptionSet) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientOptionSet) Validate

func (m *IngredientOptionSet) Validate(formats strfmt.Registry) error

Validate validates this ingredient option set

type IngredientOptionSetAllOf0

type IngredientOptionSetAllOf0 struct {

	// ingredient option set id
	// Required: true
	// Format: uuid
	IngredientOptionSetID *strfmt.UUID `json:"ingredient_option_set_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

IngredientOptionSetAllOf0 ingredient option set all of0

swagger:model ingredientOptionSetAllOf0

func (*IngredientOptionSetAllOf0) ContextValidate

func (m *IngredientOptionSetAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient option set all of0 based on the context it is used

func (*IngredientOptionSetAllOf0) MarshalBinary

func (m *IngredientOptionSetAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientOptionSetAllOf0) UnmarshalBinary

func (m *IngredientOptionSetAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSetAllOf0) Validate

func (m *IngredientOptionSetAllOf0) Validate(formats strfmt.Registry) error

Validate validates this ingredient option set all of0

type IngredientOptionSetCore

type IngredientOptionSetCore struct {
	IngredientOptionSetCoreAllOf0

	IngredientOptionSetRevisionCore
}

IngredientOptionSetCore Ingredient Option Set Core

The properties of an ingredient option set needed to create a new one

swagger:model ingredientOptionSetCore

func (*IngredientOptionSetCore) ContextValidate

func (m *IngredientOptionSetCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient option set core based on the context it is used

func (*IngredientOptionSetCore) MarshalBinary

func (m *IngredientOptionSetCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientOptionSetCore) MarshalJSON

func (m IngredientOptionSetCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientOptionSetCore) UnmarshalBinary

func (m *IngredientOptionSetCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSetCore) UnmarshalJSON

func (m *IngredientOptionSetCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientOptionSetCore) Validate

func (m *IngredientOptionSetCore) Validate(formats strfmt.Registry) error

Validate validates this ingredient option set core

type IngredientOptionSetCoreAllOf0

type IngredientOptionSetCoreAllOf0 struct {

	// Which group this ingredient option sets belongs to. Ingredient option sets in same group are alternatives to each other and only one set in a group can be applied to a given build.
	// Required: true
	Group *string `json:"group"`
}

IngredientOptionSetCoreAllOf0 ingredient option set core all of0

swagger:model ingredientOptionSetCoreAllOf0

func (*IngredientOptionSetCoreAllOf0) ContextValidate

func (m *IngredientOptionSetCoreAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient option set core all of0 based on context it is used

func (*IngredientOptionSetCoreAllOf0) MarshalBinary

func (m *IngredientOptionSetCoreAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientOptionSetCoreAllOf0) UnmarshalBinary

func (m *IngredientOptionSetCoreAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSetCoreAllOf0) Validate

func (m *IngredientOptionSetCoreAllOf0) Validate(formats strfmt.Registry) error

Validate validates this ingredient option set core all of0

type IngredientOptionSetIDRevision

type IngredientOptionSetIDRevision struct {

	// ingredient option set id
	// Required: true
	// Format: uuid
	IngredientOptionSetID *strfmt.UUID `json:"ingredient_option_set_id"`

	// revision
	// Required: true
	Revision *int64 `json:"revision"`
}

IngredientOptionSetIDRevision Ingredient Option Set ID Revision

Identifies the ingredient option set associated with an ingredient version

swagger:model ingredientOptionSetIdRevision

func (*IngredientOptionSetIDRevision) ContextValidate

func (m *IngredientOptionSetIDRevision) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient option set Id revision based on context it is used

func (*IngredientOptionSetIDRevision) MarshalBinary

func (m *IngredientOptionSetIDRevision) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientOptionSetIDRevision) UnmarshalBinary

func (m *IngredientOptionSetIDRevision) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSetIDRevision) Validate

func (m *IngredientOptionSetIDRevision) Validate(formats strfmt.Registry) error

Validate validates this ingredient option set Id revision

type IngredientOptionSetPagedList

type IngredientOptionSetPagedList struct {

	// A page of ingredient option sets
	// Required: true
	IngredientOptionSets []*IngredientOptionSet `json:"ingredient_option_sets"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

IngredientOptionSetPagedList Ingredient Option Set Paged List

A paginated list of ingredient option sets

swagger:model ingredientOptionSetPagedList

func (*IngredientOptionSetPagedList) ContextValidate

func (m *IngredientOptionSetPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient option set paged list based on the context it is used

func (*IngredientOptionSetPagedList) MarshalBinary

func (m *IngredientOptionSetPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientOptionSetPagedList) UnmarshalBinary

func (m *IngredientOptionSetPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSetPagedList) Validate

func (m *IngredientOptionSetPagedList) Validate(formats strfmt.Registry) error

Validate validates this ingredient option set paged list

type IngredientOptionSetRevisionCore

type IngredientOptionSetRevisionCore struct {
	IngredientOptionSetRevisionCoreAllOf0

	RevisionBase
}

IngredientOptionSetRevisionCore Ingredient Option Set Revision Core

The properties of an ingredient option set revision needed to create a new one

swagger:model ingredientOptionSetRevisionCore

func (*IngredientOptionSetRevisionCore) ContextValidate

func (m *IngredientOptionSetRevisionCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient option set revision core based on the context it is used

func (*IngredientOptionSetRevisionCore) MarshalBinary

func (m *IngredientOptionSetRevisionCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientOptionSetRevisionCore) MarshalJSON

func (m IngredientOptionSetRevisionCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientOptionSetRevisionCore) UnmarshalBinary

func (m *IngredientOptionSetRevisionCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSetRevisionCore) UnmarshalJSON

func (m *IngredientOptionSetRevisionCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientOptionSetRevisionCore) Validate

Validate validates this ingredient option set revision core

type IngredientOptionSetRevisionCoreAllOf0

type IngredientOptionSetRevisionCoreAllOf0 struct {

	// The ingredient options. May be an empty list if this set is intended to override and disable another set in the same group.
	// Required: true
	IngredientOptions []*IngredientOption `json:"ingredient_options"`
}

IngredientOptionSetRevisionCoreAllOf0 ingredient option set revision core all of0

swagger:model ingredientOptionSetRevisionCoreAllOf0

func (*IngredientOptionSetRevisionCoreAllOf0) ContextValidate

func (m *IngredientOptionSetRevisionCoreAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient option set revision core all of0 based on the context it is used

func (*IngredientOptionSetRevisionCoreAllOf0) MarshalBinary

func (m *IngredientOptionSetRevisionCoreAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientOptionSetRevisionCoreAllOf0) UnmarshalBinary

func (m *IngredientOptionSetRevisionCoreAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSetRevisionCoreAllOf0) Validate

Validate validates this ingredient option set revision core all of0

type IngredientOptionSetWithUsageType

type IngredientOptionSetWithUsageType struct {
	IngredientOptionSetWithUsageTypeAllOf0

	IngredientOptionSet
}

IngredientOptionSetWithUsageType Ingredient Option Set with Usage Type

An ingredient option set paired with how it is used by the ingredient version

swagger:model ingredientOptionSetWithUsageType

func (*IngredientOptionSetWithUsageType) ContextValidate

func (m *IngredientOptionSetWithUsageType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient option set with usage type based on the context it is used

func (*IngredientOptionSetWithUsageType) MarshalBinary

func (m *IngredientOptionSetWithUsageType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientOptionSetWithUsageType) MarshalJSON

func (m IngredientOptionSetWithUsageType) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientOptionSetWithUsageType) UnmarshalBinary

func (m *IngredientOptionSetWithUsageType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSetWithUsageType) UnmarshalJSON

func (m *IngredientOptionSetWithUsageType) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientOptionSetWithUsageType) Validate

Validate validates this ingredient option set with usage type

type IngredientOptionSetWithUsageTypeAllOf0

type IngredientOptionSetWithUsageTypeAllOf0 struct {

	// usage type
	// Required: true
	// Enum: [default override]
	UsageType *string `json:"usage_type"`
}

IngredientOptionSetWithUsageTypeAllOf0 ingredient option set with usage type all of0

swagger:model ingredientOptionSetWithUsageTypeAllOf0

func (*IngredientOptionSetWithUsageTypeAllOf0) ContextValidate

ContextValidate validates this ingredient option set with usage type all of0 based on context it is used

func (*IngredientOptionSetWithUsageTypeAllOf0) MarshalBinary

func (m *IngredientOptionSetWithUsageTypeAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientOptionSetWithUsageTypeAllOf0) UnmarshalBinary

func (m *IngredientOptionSetWithUsageTypeAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSetWithUsageTypeAllOf0) Validate

Validate validates this ingredient option set with usage type all of0

type IngredientOptionSetWithUsageTypePagedList

type IngredientOptionSetWithUsageTypePagedList struct {

	// A page of ingredient option sets with their usage types
	IngredientOptionSetsWithUsageType []*IngredientOptionSetWithUsageType `json:"ingredient_option_sets_with_usage_type"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

IngredientOptionSetWithUsageTypePagedList Ingredient Option Set With Usage Type Paged List

A paginated list of ingredient option sets paired with how they are used by the ingredient version

swagger:model ingredientOptionSetWithUsageTypePagedList

func (*IngredientOptionSetWithUsageTypePagedList) ContextValidate

ContextValidate validate this ingredient option set with usage type paged list based on the context it is used

func (*IngredientOptionSetWithUsageTypePagedList) MarshalBinary

func (m *IngredientOptionSetWithUsageTypePagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientOptionSetWithUsageTypePagedList) UnmarshalBinary

func (m *IngredientOptionSetWithUsageTypePagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientOptionSetWithUsageTypePagedList) Validate

Validate validates this ingredient option set with usage type paged list

type IngredientPagedList

type IngredientPagedList struct {

	// A page of ingredients
	// Required: true
	Ingredients []*Ingredient `json:"ingredients"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

IngredientPagedList Ingredient Paged List

A paginated list of ingredients

swagger:model ingredientPagedList

func (*IngredientPagedList) ContextValidate

func (m *IngredientPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient paged list based on the context it is used

func (*IngredientPagedList) MarshalBinary

func (m *IngredientPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientPagedList) UnmarshalBinary

func (m *IngredientPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientPagedList) Validate

func (m *IngredientPagedList) Validate(formats strfmt.Registry) error

Validate validates this ingredient paged list

type IngredientUpdate

type IngredientUpdate struct {

	// A concise summary of what this ingredient can be used for
	// Required: true
	Description *string `json:"description"`

	// URL of the website about this ingredient (if any)
	// Format: uri
	Website strfmt.URI `json:"website,omitempty"`
}

IngredientUpdate Ingredient Update

The fields of an ingredient that can be updated

swagger:model ingredientUpdate

func (*IngredientUpdate) ContextValidate

func (m *IngredientUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient update based on context it is used

func (*IngredientUpdate) MarshalBinary

func (m *IngredientUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientUpdate) UnmarshalBinary

func (m *IngredientUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientUpdate) Validate

func (m *IngredientUpdate) Validate(formats strfmt.Registry) error

Validate validates this ingredient update

type IngredientVersion

IngredientVersion Ingredient Version

The full ingredient version data model. Returned from all read requests.

swagger:model ingredientVersion

func (*IngredientVersion) ContextValidate

func (m *IngredientVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version based on the context it is used

func (*IngredientVersion) MarshalBinary

func (m *IngredientVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientVersion) MarshalJSON

func (m IngredientVersion) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientVersion) UnmarshalBinary

func (m *IngredientVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersion) UnmarshalJSON

func (m *IngredientVersion) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientVersion) Validate

func (m *IngredientVersion) Validate(formats strfmt.Registry) error

Validate validates this ingredient version

type IngredientVersionAllInOneCreate

IngredientVersionAllInOneCreate Ingredient Version All-in-One Create

Everything needed to create an ingredient version as part of an all-in-one request.

swagger:model ingredientVersionAllInOneCreate

func (*IngredientVersionAllInOneCreate) ContextValidate

func (m *IngredientVersionAllInOneCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version all in one create based on the context it is used

func (*IngredientVersionAllInOneCreate) MarshalBinary

func (m *IngredientVersionAllInOneCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientVersionAllInOneCreate) MarshalJSON

func (m IngredientVersionAllInOneCreate) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientVersionAllInOneCreate) UnmarshalBinary

func (m *IngredientVersionAllInOneCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionAllInOneCreate) UnmarshalJSON

func (m *IngredientVersionAllInOneCreate) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientVersionAllInOneCreate) Validate

Validate validates this ingredient version all in one create

type IngredientVersionAllInOneCreateAllOf0

type IngredientVersionAllInOneCreateAllOf0 struct {

	// authors
	Authors []strfmt.UUID `json:"authors"`
}

IngredientVersionAllInOneCreateAllOf0 ingredient version all in one create all of0

swagger:model ingredientVersionAllInOneCreateAllOf0

func (*IngredientVersionAllInOneCreateAllOf0) ContextValidate

func (m *IngredientVersionAllInOneCreateAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient version all in one create all of0 based on context it is used

func (*IngredientVersionAllInOneCreateAllOf0) MarshalBinary

func (m *IngredientVersionAllInOneCreateAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionAllInOneCreateAllOf0) UnmarshalBinary

func (m *IngredientVersionAllInOneCreateAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionAllInOneCreateAllOf0) Validate

Validate validates this ingredient version all in one create all of0

type IngredientVersionAllOf0

type IngredientVersionAllOf0 struct {

	// creation timestamp
	// Required: true
	// Format: date-time
	CreationTimestamp *strfmt.DateTime `json:"creation_timestamp"`

	// ingredient id
	// Required: true
	// Format: uuid
	IngredientID *strfmt.UUID `json:"ingredient_id"`

	// ingredient version id
	// Required: true
	// Format: uuid
	IngredientVersionID *strfmt.UUID `json:"ingredient_version_id"`

	// links
	// Required: true
	Links *IngredientVersionAllOf0Links `json:"links"`
}

IngredientVersionAllOf0 ingredient version all of0

swagger:model ingredientVersionAllOf0

func (*IngredientVersionAllOf0) ContextValidate

func (m *IngredientVersionAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version all of0 based on the context it is used

func (*IngredientVersionAllOf0) MarshalBinary

func (m *IngredientVersionAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionAllOf0) UnmarshalBinary

func (m *IngredientVersionAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionAllOf0) Validate

func (m *IngredientVersionAllOf0) Validate(formats strfmt.Registry) error

Validate validates this ingredient version all of0

type IngredientVersionAllOf0Links struct {
	SelfLink

	IngredientVersionAllOf0LinksAllOf1
}

IngredientVersionAllOf0Links ingredient version all of0 links

swagger:model ingredientVersionAllOf0Links

func (*IngredientVersionAllOf0Links) ContextValidate

func (m *IngredientVersionAllOf0Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version all of0 links based on the context it is used

func (*IngredientVersionAllOf0Links) MarshalBinary

func (m *IngredientVersionAllOf0Links) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientVersionAllOf0Links) MarshalJSON

func (m IngredientVersionAllOf0Links) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientVersionAllOf0Links) UnmarshalBinary

func (m *IngredientVersionAllOf0Links) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionAllOf0Links) UnmarshalJSON

func (m *IngredientVersionAllOf0Links) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientVersionAllOf0Links) Validate

func (m *IngredientVersionAllOf0Links) Validate(formats strfmt.Registry) error

Validate validates this ingredient version all of0 links

type IngredientVersionAllOf0LinksAllOf1

type IngredientVersionAllOf0LinksAllOf1 struct {

	// The URI of the ingredient this is a version of
	// Required: true
	// Format: uri
	Ingredient *strfmt.URI `json:"ingredient"`
}

IngredientVersionAllOf0LinksAllOf1 ingredient version all of0 links all of1

swagger:model ingredientVersionAllOf0LinksAllOf1

func (*IngredientVersionAllOf0LinksAllOf1) ContextValidate

func (m *IngredientVersionAllOf0LinksAllOf1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient version all of0 links all of1 based on context it is used

func (*IngredientVersionAllOf0LinksAllOf1) MarshalBinary

func (m *IngredientVersionAllOf0LinksAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionAllOf0LinksAllOf1) UnmarshalBinary

func (m *IngredientVersionAllOf0LinksAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionAllOf0LinksAllOf1) Validate

Validate validates this ingredient version all of0 links all of1

type IngredientVersionAndUsageType

type IngredientVersionAndUsageType struct {
	IngredientAndVersion

	IngredientVersionAndUsageTypeAllOf1
}

IngredientVersionAndUsageType Ingredient, Version, and Usage Type

An ingredient, its version, and the way the version uses a particular ingredient option set

swagger:model ingredientVersionAndUsageType

func (*IngredientVersionAndUsageType) ContextValidate

func (m *IngredientVersionAndUsageType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version and usage type based on the context it is used

func (*IngredientVersionAndUsageType) MarshalBinary

func (m *IngredientVersionAndUsageType) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientVersionAndUsageType) MarshalJSON

func (m IngredientVersionAndUsageType) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientVersionAndUsageType) UnmarshalBinary

func (m *IngredientVersionAndUsageType) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionAndUsageType) UnmarshalJSON

func (m *IngredientVersionAndUsageType) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientVersionAndUsageType) Validate

func (m *IngredientVersionAndUsageType) Validate(formats strfmt.Registry) error

Validate validates this ingredient version and usage type

type IngredientVersionAndUsageTypeAllOf1

type IngredientVersionAndUsageTypeAllOf1 struct {

	// usage type
	// Required: true
	// Enum: [default override]
	UsageType *string `json:"usage_type"`
}

IngredientVersionAndUsageTypeAllOf1 ingredient version and usage type all of1

swagger:model ingredientVersionAndUsageTypeAllOf1

func (*IngredientVersionAndUsageTypeAllOf1) ContextValidate

func (m *IngredientVersionAndUsageTypeAllOf1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient version and usage type all of1 based on context it is used

func (*IngredientVersionAndUsageTypeAllOf1) MarshalBinary

func (m *IngredientVersionAndUsageTypeAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionAndUsageTypeAllOf1) UnmarshalBinary

func (m *IngredientVersionAndUsageTypeAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionAndUsageTypeAllOf1) Validate

Validate validates this ingredient version and usage type all of1

type IngredientVersionAndUsageTypePagedList

type IngredientVersionAndUsageTypePagedList struct {

	// A page of ingredients, versions, and usage types
	// Required: true
	IngredientsVersionsAndUsageTypes []*IngredientVersionAndUsageType `json:"ingredients_versions_and_usage_types"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

IngredientVersionAndUsageTypePagedList Ingredient, Version, and Usage Type Paged List

A paginated list of ingredients, their versions, and the way that version uses a particular ingredient option set

swagger:model ingredientVersionAndUsageTypePagedList

func (*IngredientVersionAndUsageTypePagedList) ContextValidate

ContextValidate validate this ingredient version and usage type paged list based on the context it is used

func (*IngredientVersionAndUsageTypePagedList) MarshalBinary

func (m *IngredientVersionAndUsageTypePagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionAndUsageTypePagedList) UnmarshalBinary

func (m *IngredientVersionAndUsageTypePagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionAndUsageTypePagedList) Validate

Validate validates this ingredient version and usage type paged list

type IngredientVersionCore

type IngredientVersionCore struct {
	IngredientVersionUpdate

	VersionInfo
}

IngredientVersionCore Ingredient Version Core

The fields of an ingredient version that can be set when an ingredient version is created

swagger:model ingredientVersionCore

func (*IngredientVersionCore) ContextValidate

func (m *IngredientVersionCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version core based on the context it is used

func (*IngredientVersionCore) MarshalBinary

func (m *IngredientVersionCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientVersionCore) MarshalJSON

func (m IngredientVersionCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientVersionCore) UnmarshalBinary

func (m *IngredientVersionCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionCore) UnmarshalJSON

func (m *IngredientVersionCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientVersionCore) Validate

func (m *IngredientVersionCore) Validate(formats strfmt.Registry) error

Validate validates this ingredient version core

type IngredientVersionCreate

IngredientVersionCreate Ingredient Version Create

All specifiable fields of an ingredient version plus resources that can be linked to the ingredient version when it is created, but that are not part of the ingredient version model itself.

swagger:model ingredientVersionCreate

func (*IngredientVersionCreate) ContextValidate

func (m *IngredientVersionCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version create based on the context it is used

func (*IngredientVersionCreate) MarshalBinary

func (m *IngredientVersionCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientVersionCreate) MarshalJSON

func (m IngredientVersionCreate) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientVersionCreate) UnmarshalBinary

func (m *IngredientVersionCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionCreate) UnmarshalJSON

func (m *IngredientVersionCreate) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientVersionCreate) Validate

func (m *IngredientVersionCreate) Validate(formats strfmt.Registry) error

Validate validates this ingredient version create

type IngredientVersionCreateAllOf0

type IngredientVersionCreateAllOf0 struct {

	// The author(s) of this ingredient version, referenced by their author ID.
	// Required: true
	// Min Items: 1
	Authors []strfmt.UUID `json:"authors"`
}

IngredientVersionCreateAllOf0 ingredient version create all of0

swagger:model ingredientVersionCreateAllOf0

func (*IngredientVersionCreateAllOf0) ContextValidate

func (m *IngredientVersionCreateAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient version create all of0 based on context it is used

func (*IngredientVersionCreateAllOf0) MarshalBinary

func (m *IngredientVersionCreateAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionCreateAllOf0) UnmarshalBinary

func (m *IngredientVersionCreateAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionCreateAllOf0) Validate

func (m *IngredientVersionCreateAllOf0) Validate(formats strfmt.Registry) error

Validate validates this ingredient version create all of0

type IngredientVersionPagedList

type IngredientVersionPagedList struct {

	// A page of ingredient versions
	// Required: true
	IngredientVersions []*IngredientVersion `json:"ingredient_versions"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

IngredientVersionPagedList Ingredient Version Paged List

A paginated list of ingredient versions

swagger:model ingredientVersionPagedList

func (*IngredientVersionPagedList) ContextValidate

func (m *IngredientVersionPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version paged list based on the context it is used

func (*IngredientVersionPagedList) MarshalBinary

func (m *IngredientVersionPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionPagedList) UnmarshalBinary

func (m *IngredientVersionPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionPagedList) Validate

func (m *IngredientVersionPagedList) Validate(formats strfmt.Registry) error

Validate validates this ingredient version paged list

type IngredientVersionPatchPagedList

type IngredientVersionPatchPagedList struct {

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`

	// A page of patches as they apply to a single ingredient version
	// Required: true
	Patches []*IngredientVersionRevisionPatch `json:"patches"`
}

IngredientVersionPatchPagedList Ingredient Version Patch Paged List

A paginated list of patches for an ingredient version

swagger:model ingredientVersionPatchPagedList

func (*IngredientVersionPatchPagedList) ContextValidate

func (m *IngredientVersionPatchPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version patch paged list based on the context it is used

func (*IngredientVersionPatchPagedList) MarshalBinary

func (m *IngredientVersionPatchPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionPatchPagedList) UnmarshalBinary

func (m *IngredientVersionPatchPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionPatchPagedList) Validate

Validate validates this ingredient version patch paged list

type IngredientVersionRevision

IngredientVersionRevision Ingredient Version Revision

All the fields of an ingredient version revision.

swagger:model ingredientVersionRevision

func (*IngredientVersionRevision) ContextValidate

func (m *IngredientVersionRevision) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version revision based on the context it is used

func (*IngredientVersionRevision) MarshalBinary

func (m *IngredientVersionRevision) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientVersionRevision) MarshalJSON

func (m IngredientVersionRevision) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientVersionRevision) UnmarshalBinary

func (m *IngredientVersionRevision) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevision) UnmarshalJSON

func (m *IngredientVersionRevision) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientVersionRevision) Validate

func (m *IngredientVersionRevision) Validate(formats strfmt.Registry) error

Validate validates this ingredient version revision

type IngredientVersionRevisionAllOf2

type IngredientVersionRevisionAllOf2 struct {

	// The build scripts that are used for this revision
	BuildScripts []*BuildScript `json:"build_scripts"`

	// ingredient version id
	// Required: true
	// Format: uuid
	IngredientVersionID *strfmt.UUID `json:"ingredient_version_id"`

	// ingredient version revision id
	// Required: true
	// Format: uuid
	IngredientVersionRevisionID *strfmt.UUID `json:"ingredient_version_revision_id"`

	// links
	// Required: true
	Links *IngredientVersionRevisionAllOf2Links `json:"links"`

	// The patches that apply to this revision
	Patches []*IngredientVersionRevisionPatch `json:"patches"`
}

IngredientVersionRevisionAllOf2 ingredient version revision all of2

swagger:model ingredientVersionRevisionAllOf2

func (*IngredientVersionRevisionAllOf2) ContextValidate

func (m *IngredientVersionRevisionAllOf2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version revision all of2 based on the context it is used

func (*IngredientVersionRevisionAllOf2) MarshalBinary

func (m *IngredientVersionRevisionAllOf2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionRevisionAllOf2) UnmarshalBinary

func (m *IngredientVersionRevisionAllOf2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevisionAllOf2) Validate

Validate validates this ingredient version revision all of2

type IngredientVersionRevisionAllOf2Links struct {
	SelfLink

	IngredientVersionRevisionAllOf2LinksAllOf1
}

IngredientVersionRevisionAllOf2Links ingredient version revision all of2 links

swagger:model ingredientVersionRevisionAllOf2Links

func (*IngredientVersionRevisionAllOf2Links) ContextValidate

func (m *IngredientVersionRevisionAllOf2Links) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version revision all of2 links based on the context it is used

func (*IngredientVersionRevisionAllOf2Links) MarshalBinary

func (m *IngredientVersionRevisionAllOf2Links) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientVersionRevisionAllOf2Links) MarshalJSON

func (m IngredientVersionRevisionAllOf2Links) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientVersionRevisionAllOf2Links) UnmarshalBinary

func (m *IngredientVersionRevisionAllOf2Links) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevisionAllOf2Links) UnmarshalJSON

func (m *IngredientVersionRevisionAllOf2Links) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientVersionRevisionAllOf2Links) Validate

Validate validates this ingredient version revision all of2 links

type IngredientVersionRevisionAllOf2LinksAllOf1

type IngredientVersionRevisionAllOf2LinksAllOf1 struct {

	// The URI of the ingredient version this is a revision of
	// Required: true
	// Format: uri
	IngredientVersion *strfmt.URI `json:"ingredient_version"`
}

IngredientVersionRevisionAllOf2LinksAllOf1 ingredient version revision all of2 links all of1

swagger:model ingredientVersionRevisionAllOf2LinksAllOf1

func (*IngredientVersionRevisionAllOf2LinksAllOf1) ContextValidate

ContextValidate validates this ingredient version revision all of2 links all of1 based on context it is used

func (*IngredientVersionRevisionAllOf2LinksAllOf1) MarshalBinary

func (m *IngredientVersionRevisionAllOf2LinksAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionRevisionAllOf2LinksAllOf1) UnmarshalBinary

func (m *IngredientVersionRevisionAllOf2LinksAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevisionAllOf2LinksAllOf1) Validate

Validate validates this ingredient version revision all of2 links all of1

type IngredientVersionRevisionCore

type IngredientVersionRevisionCore struct {

	// The SPDX license expression based on ActiveState's analysis of the package's licensing
	ActivestateLicenseExpression string `json:"activestate_license_expression,omitempty"`

	// The platform user_id for the author of the revision. This will be automatically populated for writes based on the credentials you provide to the API.
	// Format: uuid
	AuthorPlatformUserID strfmt.UUID `json:"author_platform_user_id,omitempty"`

	// Camel-specific metadata needed to build this ingredient version revision in camel, if there is any.
	CamelExtras interface{} `json:"camel_extras,omitempty"`

	// A comment describing the revision.
	// Required: true
	Comment *string `json:"comment"`

	// dependencies
	Dependencies []Dependency `json:"dependencies"`

	// Whether or not this revision is indemnified for customers paying for indemnification. If set to null, then this will use the is_indemnified value of the previous revision or false if this is the first revision.
	IsIndemnified *bool `json:"is_indemnified,omitempty"`

	// Whether or not this is a stable release of the package
	IsStableRelease *bool `json:"is_stable_release,omitempty"`

	// Whether this revision should be considered 'stable'. When a new stable revision is created, it supercedes any existing stable revision and becomes the default revision of the revisioned resource going forward.
	IsStableRevision *bool `json:"is_stable_revision,omitempty"`

	// An S3 URI to a JSON manifest mapping files in the package to licenses for that file
	// Format: uri
	LicenseManifestURI *strfmt.URI `json:"license_manifest_uri,omitempty"`

	// S3 URL where the source distribution is stored for our platform
	// Format: uri
	PlatformSourceURI *strfmt.URI `json:"platform_source_uri,omitempty"`

	// provided features
	// Required: true
	ProvidedFeatures []*ProvidedFeature `json:"provided_features"`

	// The reason this revision exists.
	// Required: true
	// Enum: [import manual_change smart_import]
	Reason *string `json:"reason"`

	// The SPDX license expression based on running an automated scanner to determine the package's licensing
	ScannerLicenseExpression string `json:"scanner_license_expression,omitempty"`

	// A checksum of the source distribution. The actual type of the checksum (MD5, S3 Etag, etc.) is not specified. It's assumed that the system that populates and uses this data will know how to work with these checksums.
	SourceChecksum *string `json:"source_checksum,omitempty"`

	// The status of the revision. This can be one of stable, unstable, deleted, or deprecated. This field is required on writes and replaces the is_stable_revision_field
	// Enum: [deleted deprecated stable unstable]
	Status string `json:"status,omitempty"`
}

IngredientVersionRevisionCore Ingredient Version Revision Core

The fields of an ingredient version that can be updated by creating a new revision

swagger:model ingredientVersionRevisionCore

func (*IngredientVersionRevisionCore) ContextValidate

func (m *IngredientVersionRevisionCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version revision core based on the context it is used

func (*IngredientVersionRevisionCore) MarshalBinary

func (m *IngredientVersionRevisionCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionRevisionCore) UnmarshalBinary

func (m *IngredientVersionRevisionCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevisionCore) Validate

func (m *IngredientVersionRevisionCore) Validate(formats strfmt.Registry) error

Validate validates this ingredient version revision core

type IngredientVersionRevisionCreate

type IngredientVersionRevisionCreate struct {
	IngredientVersionRevisionCreateAllOf0

	IngredientVersionRevisionCore
}

IngredientVersionRevisionCreate Ingredient Version Revision Create

All updatable fields of an ingredient version revision plus resources that can be linked to the revision when it is created, but that are not part of the ingredient version revision model itself.

swagger:model ingredientVersionRevisionCreate

func (*IngredientVersionRevisionCreate) ContextValidate

func (m *IngredientVersionRevisionCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version revision create based on the context it is used

func (*IngredientVersionRevisionCreate) MarshalBinary

func (m *IngredientVersionRevisionCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientVersionRevisionCreate) MarshalJSON

func (m IngredientVersionRevisionCreate) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientVersionRevisionCreate) UnmarshalBinary

func (m *IngredientVersionRevisionCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevisionCreate) UnmarshalJSON

func (m *IngredientVersionRevisionCreate) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientVersionRevisionCreate) Validate

Validate validates this ingredient version revision create

type IngredientVersionRevisionCreateAllOf0

type IngredientVersionRevisionCreateAllOf0 struct {

	// The build script(s) used to build this ingredient version, referenced by their build script ID.
	BuildScripts []strfmt.UUID `json:"build_scripts"`

	// The ingredient option sets that are used by default with this builder. This array may only be non-empty for ingredients in the builder namespace. Each ingredient option set listed must have a unique group. Ingredient options sets are applied to the builder in the order listed here. Defaults listed here may be overridden on a per-ingredient basis by specifying ingredient option set overrides on an ingredient using this builder.
	DefaultIngredientOptionSets []strfmt.UUID `json:"default_ingredient_option_sets"`

	// The ingredient option sets that are used to build this ingredient. This array may only be non-empty for ingredients not in the builder namespace. Each ingredient option set listed must have a unique group. Ingredient options sets are applied to the builder in the order listed here. If any set listed here has the same group as a default set on this ingredient's builder, the set listed here will override/replace the set with the same group on the builder.
	IngredientOptionSetOverrides []strfmt.UUID `json:"ingredient_option_set_overrides"`

	// The patch(es) applied to this ingredient version's source code, referenced by their patch ID.
	Patches []*IngredientVersionRevisionCreatePatch `json:"patches"`
}

IngredientVersionRevisionCreateAllOf0 ingredient version revision create all of0

swagger:model ingredientVersionRevisionCreateAllOf0

func (*IngredientVersionRevisionCreateAllOf0) ContextValidate

func (m *IngredientVersionRevisionCreateAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version revision create all of0 based on the context it is used

func (*IngredientVersionRevisionCreateAllOf0) MarshalBinary

func (m *IngredientVersionRevisionCreateAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionRevisionCreateAllOf0) UnmarshalBinary

func (m *IngredientVersionRevisionCreateAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevisionCreateAllOf0) Validate

Validate validates this ingredient version revision create all of0

type IngredientVersionRevisionCreatePatch

type IngredientVersionRevisionCreatePatch struct {

	// patch id
	// Required: true
	// Format: uuid
	PatchID *strfmt.UUID `json:"patch_id"`

	// sequence number
	// Required: true
	// Minimum: 1
	SequenceNumber *int64 `json:"sequence_number"`
}

IngredientVersionRevisionCreatePatch Ingredient Version Revision Create Patch

swagger:model ingredientVersionRevisionCreatePatch

func (*IngredientVersionRevisionCreatePatch) ContextValidate

func (m *IngredientVersionRevisionCreatePatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient version revision create patch based on context it is used

func (*IngredientVersionRevisionCreatePatch) MarshalBinary

func (m *IngredientVersionRevisionCreatePatch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionRevisionCreatePatch) UnmarshalBinary

func (m *IngredientVersionRevisionCreatePatch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevisionCreatePatch) Validate

Validate validates this ingredient version revision create patch

type IngredientVersionRevisionPagedList

type IngredientVersionRevisionPagedList struct {

	// A page of ingredient version revisions
	// Required: true
	IngredientVersionRevisions []*FullIngredientVersion `json:"ingredient_version_revisions"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

IngredientVersionRevisionPagedList Ingredient Version Revision Paged List

A paginated list of ingredient version revisions

swagger:model ingredientVersionRevisionPagedList

func (*IngredientVersionRevisionPagedList) ContextValidate

func (m *IngredientVersionRevisionPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version revision paged list based on the context it is used

func (*IngredientVersionRevisionPagedList) MarshalBinary

func (m *IngredientVersionRevisionPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionRevisionPagedList) UnmarshalBinary

func (m *IngredientVersionRevisionPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevisionPagedList) Validate

Validate validates this ingredient version revision paged list

type IngredientVersionRevisionPatch

type IngredientVersionRevisionPatch struct {
	Patch

	IngredientVersionRevisionPatchAllOf1
}

IngredientVersionRevisionPatch Ingredient Version Revision Patch

A single patch along with its sequence number for a particular ingredient version revision

swagger:model ingredientVersionRevisionPatch

func (*IngredientVersionRevisionPatch) ContextValidate

func (m *IngredientVersionRevisionPatch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this ingredient version revision patch based on the context it is used

func (*IngredientVersionRevisionPatch) MarshalBinary

func (m *IngredientVersionRevisionPatch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (IngredientVersionRevisionPatch) MarshalJSON

func (m IngredientVersionRevisionPatch) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*IngredientVersionRevisionPatch) UnmarshalBinary

func (m *IngredientVersionRevisionPatch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevisionPatch) UnmarshalJSON

func (m *IngredientVersionRevisionPatch) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*IngredientVersionRevisionPatch) Validate

func (m *IngredientVersionRevisionPatch) Validate(formats strfmt.Registry) error

Validate validates this ingredient version revision patch

type IngredientVersionRevisionPatchAllOf1

type IngredientVersionRevisionPatchAllOf1 struct {

	// sequence number
	// Required: true
	// Minimum: 1
	SequenceNumber *int64 `json:"sequence_number"`
}

IngredientVersionRevisionPatchAllOf1 ingredient version revision patch all of1

swagger:model ingredientVersionRevisionPatchAllOf1

func (*IngredientVersionRevisionPatchAllOf1) ContextValidate

func (m *IngredientVersionRevisionPatchAllOf1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient version revision patch all of1 based on context it is used

func (*IngredientVersionRevisionPatchAllOf1) MarshalBinary

func (m *IngredientVersionRevisionPatchAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionRevisionPatchAllOf1) UnmarshalBinary

func (m *IngredientVersionRevisionPatchAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionRevisionPatchAllOf1) Validate

Validate validates this ingredient version revision patch all of1

type IngredientVersionUpdate

type IngredientVersionUpdate struct {

	// The text from the license or elsewhere that declares the copyright holder(s) and year(s)
	// Required: true
	CopyrightText *string `json:"copyright_text"`

	// The URL of a webpage where the documentation for this ingredient version is hosted, if available
	// Format: uri
	DocumentationURI strfmt.URI `json:"documentation_uri,omitempty"`

	// Tells if this ingredient version consists of only a binary without any source.
	IsBinaryOnly *bool `json:"is_binary_only,omitempty"`

	// An SPDX 2.1 license expression describing the exact licensing for this ingredient version
	// Required: true
	LicenseExpression *string `json:"license_expression"`

	// The date and time this ingredient version was first released
	// Required: true
	// Format: date-time
	ReleaseTimestamp *strfmt.DateTime `json:"release_timestamp"`

	// The URL from which we initially retrieved the source for this ingredient version.
	// Format: uri
	SourceURI *strfmt.URI `json:"source_uri,omitempty"`
}

IngredientVersionUpdate Ingredient Version Core

The fields of an ingredient version that can be updated

swagger:model ingredientVersionUpdate

func (*IngredientVersionUpdate) ContextValidate

func (m *IngredientVersionUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ingredient version update based on context it is used

func (*IngredientVersionUpdate) MarshalBinary

func (m *IngredientVersionUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IngredientVersionUpdate) UnmarshalBinary

func (m *IngredientVersionUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IngredientVersionUpdate) Validate

func (m *IngredientVersionUpdate) Validate(formats strfmt.Registry) error

Validate validates this ingredient version update

type InventoryResponse

type InventoryResponse struct {

	// message
	// Required: true
	Message *string `json:"message"`
}

InventoryResponse Inventory Response

A generic response to an inventory api request

swagger:model inventoryResponse

func (*InventoryResponse) ContextValidate

func (m *InventoryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this inventory response based on context it is used

func (*InventoryResponse) MarshalBinary

func (m *InventoryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InventoryResponse) UnmarshalBinary

func (m *InventoryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InventoryResponse) Validate

func (m *InventoryResponse) Validate(formats strfmt.Registry) error

Validate validates this inventory response

type Kernel

type Kernel struct {
	KernelAllOf0

	KernelCore
}

Kernel Kernel

The full kernel data model

swagger:model kernel

func (*Kernel) ContextValidate

func (m *Kernel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kernel based on the context it is used

func (*Kernel) MarshalBinary

func (m *Kernel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Kernel) MarshalJSON

func (m Kernel) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Kernel) UnmarshalBinary

func (m *Kernel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Kernel) UnmarshalJSON

func (m *Kernel) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Kernel) Validate

func (m *Kernel) Validate(formats strfmt.Registry) error

Validate validates this kernel

type KernelAllOf0

type KernelAllOf0 struct {

	// kernel id
	// Required: true
	// Format: uuid
	KernelID *strfmt.UUID `json:"kernel_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

KernelAllOf0 kernel all of0

swagger:model kernelAllOf0

func (*KernelAllOf0) ContextValidate

func (m *KernelAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kernel all of0 based on the context it is used

func (*KernelAllOf0) MarshalBinary

func (m *KernelAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KernelAllOf0) UnmarshalBinary

func (m *KernelAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KernelAllOf0) Validate

func (m *KernelAllOf0) Validate(formats strfmt.Registry) error

Validate validates this kernel all of0

type KernelCore

type KernelCore struct {

	// The name of the kernel (excluding any version information)
	// Required: true
	Name *string `json:"name"`
}

KernelCore Kernel Core

The properties of a kernel needed to create a new one

swagger:model kernelCore

func (*KernelCore) ContextValidate

func (m *KernelCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this kernel core based on context it is used

func (*KernelCore) MarshalBinary

func (m *KernelCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KernelCore) UnmarshalBinary

func (m *KernelCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KernelCore) Validate

func (m *KernelCore) Validate(formats strfmt.Registry) error

Validate validates this kernel core

type KernelPagedList

type KernelPagedList struct {

	// A page of kernels
	// Required: true
	Kernels []*Kernel `json:"kernels"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

KernelPagedList Kernel Paged List

A paginated list of kernels

swagger:model kernelPagedList

func (*KernelPagedList) ContextValidate

func (m *KernelPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kernel paged list based on the context it is used

func (*KernelPagedList) MarshalBinary

func (m *KernelPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KernelPagedList) UnmarshalBinary

func (m *KernelPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KernelPagedList) Validate

func (m *KernelPagedList) Validate(formats strfmt.Registry) error

Validate validates this kernel paged list

type KernelVersion

KernelVersion Kernel Version

The full kernel version data model

swagger:model kernelVersion

func (*KernelVersion) ContextValidate

func (m *KernelVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kernel version based on the context it is used

func (*KernelVersion) MarshalBinary

func (m *KernelVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (KernelVersion) MarshalJSON

func (m KernelVersion) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*KernelVersion) UnmarshalBinary

func (m *KernelVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KernelVersion) UnmarshalJSON

func (m *KernelVersion) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*KernelVersion) Validate

func (m *KernelVersion) Validate(formats strfmt.Registry) error

Validate validates this kernel version

type KernelVersionAllOf0

type KernelVersionAllOf0 struct {

	// kernel version id
	// Required: true
	// Format: uuid
	KernelVersionID *strfmt.UUID `json:"kernel_version_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

KernelVersionAllOf0 kernel version all of0

swagger:model kernelVersionAllOf0

func (*KernelVersionAllOf0) ContextValidate

func (m *KernelVersionAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kernel version all of0 based on the context it is used

func (*KernelVersionAllOf0) MarshalBinary

func (m *KernelVersionAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KernelVersionAllOf0) UnmarshalBinary

func (m *KernelVersionAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KernelVersionAllOf0) Validate

func (m *KernelVersionAllOf0) Validate(formats strfmt.Registry) error

Validate validates this kernel version all of0

type KernelVersionCore

type KernelVersionCore struct {
	VersionInfo

	RevisionedFeatureProvider
}

KernelVersionCore Kernel Version Core

The properties of a kernel version needed to create a new one

swagger:model kernelVersionCore

func (*KernelVersionCore) ContextValidate

func (m *KernelVersionCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kernel version core based on the context it is used

func (*KernelVersionCore) MarshalBinary

func (m *KernelVersionCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (KernelVersionCore) MarshalJSON

func (m KernelVersionCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*KernelVersionCore) UnmarshalBinary

func (m *KernelVersionCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KernelVersionCore) UnmarshalJSON

func (m *KernelVersionCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*KernelVersionCore) Validate

func (m *KernelVersionCore) Validate(formats strfmt.Registry) error

Validate validates this kernel version core

type KernelVersionPagedList

type KernelVersionPagedList struct {

	// A page of kernel versions
	// Required: true
	KernelVersions []*KernelVersion `json:"kernel_versions"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

KernelVersionPagedList Kernel Version Paged List

A paginated list of kernel versions

swagger:model kernelVersionPagedList

func (*KernelVersionPagedList) ContextValidate

func (m *KernelVersionPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this kernel version paged list based on the context it is used

func (*KernelVersionPagedList) MarshalBinary

func (m *KernelVersionPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KernelVersionPagedList) UnmarshalBinary

func (m *KernelVersionPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KernelVersionPagedList) Validate

func (m *KernelVersionPagedList) Validate(formats strfmt.Registry) error

Validate validates this kernel version paged list

type LatestTimestamp

type LatestTimestamp struct {

	// links
	// Required: true
	Links *SelfLink `json:"links"`

	// timestamp
	// Required: true
	// Format: date-time
	Timestamp *strfmt.DateTime `json:"timestamp"`
}

LatestTimestamp LatestTimestamp

The latest timestamp that should be used with other inventory service requests, such as solve requests

swagger:model latestTimestamp

func (*LatestTimestamp) ContextValidate

func (m *LatestTimestamp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this latest timestamp based on the context it is used

func (*LatestTimestamp) MarshalBinary

func (m *LatestTimestamp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LatestTimestamp) UnmarshalBinary

func (m *LatestTimestamp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LatestTimestamp) Validate

func (m *LatestTimestamp) Validate(formats strfmt.Registry) error

Validate validates this latest timestamp

type Libc

type Libc struct {
	LibcAllOf0

	LibcCore
}

Libc Libc

The full libc data model

swagger:model libc

func (*Libc) ContextValidate

func (m *Libc) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this libc based on the context it is used

func (*Libc) MarshalBinary

func (m *Libc) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Libc) MarshalJSON

func (m Libc) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Libc) UnmarshalBinary

func (m *Libc) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Libc) UnmarshalJSON

func (m *Libc) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Libc) Validate

func (m *Libc) Validate(formats strfmt.Registry) error

Validate validates this libc

type LibcAllOf0

type LibcAllOf0 struct {

	// libc id
	// Required: true
	// Format: uuid
	LibcID *strfmt.UUID `json:"libc_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

LibcAllOf0 libc all of0

swagger:model libcAllOf0

func (*LibcAllOf0) ContextValidate

func (m *LibcAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this libc all of0 based on the context it is used

func (*LibcAllOf0) MarshalBinary

func (m *LibcAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LibcAllOf0) UnmarshalBinary

func (m *LibcAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LibcAllOf0) Validate

func (m *LibcAllOf0) Validate(formats strfmt.Registry) error

Validate validates this libc all of0

type LibcCore

type LibcCore struct {

	// The name of the libc (excluding any version information)
	// Required: true
	Name *string `json:"name"`
}

LibcCore Libc Core

The properties of a libc needed to create a new one

swagger:model libcCore

func (*LibcCore) ContextValidate

func (m *LibcCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this libc core based on context it is used

func (*LibcCore) MarshalBinary

func (m *LibcCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LibcCore) UnmarshalBinary

func (m *LibcCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LibcCore) Validate

func (m *LibcCore) Validate(formats strfmt.Registry) error

Validate validates this libc core

type LibcPagedList

type LibcPagedList struct {

	// A page of libcs
	// Required: true
	Libcs []*Libc `json:"libcs"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

LibcPagedList Libc Paged List

A paginated list of libcs

swagger:model libcPagedList

func (*LibcPagedList) ContextValidate

func (m *LibcPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this libc paged list based on the context it is used

func (*LibcPagedList) MarshalBinary

func (m *LibcPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LibcPagedList) UnmarshalBinary

func (m *LibcPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LibcPagedList) Validate

func (m *LibcPagedList) Validate(formats strfmt.Registry) error

Validate validates this libc paged list

type LibcVersion

LibcVersion Libc Version

The full libc version data model

swagger:model libcVersion

func (*LibcVersion) ContextValidate

func (m *LibcVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this libc version based on the context it is used

func (*LibcVersion) MarshalBinary

func (m *LibcVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (LibcVersion) MarshalJSON

func (m LibcVersion) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*LibcVersion) UnmarshalBinary

func (m *LibcVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LibcVersion) UnmarshalJSON

func (m *LibcVersion) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*LibcVersion) Validate

func (m *LibcVersion) Validate(formats strfmt.Registry) error

Validate validates this libc version

type LibcVersionAllOf0

type LibcVersionAllOf0 struct {

	// libc version id
	// Required: true
	// Format: uuid
	LibcVersionID *strfmt.UUID `json:"libc_version_id"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`
}

LibcVersionAllOf0 libc version all of0

swagger:model libcVersionAllOf0

func (*LibcVersionAllOf0) ContextValidate

func (m *LibcVersionAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this libc version all of0 based on the context it is used

func (*LibcVersionAllOf0) MarshalBinary

func (m *LibcVersionAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LibcVersionAllOf0) UnmarshalBinary

func (m *LibcVersionAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LibcVersionAllOf0) Validate

func (m *LibcVersionAllOf0) Validate(formats strfmt.Registry) error

Validate validates this libc version all of0

type LibcVersionCore

type LibcVersionCore struct {
	VersionInfo

	RevisionedFeatureProvider
}

LibcVersionCore Libc Version Core

The properties of a libc version needed to create a new one

swagger:model libcVersionCore

func (*LibcVersionCore) ContextValidate

func (m *LibcVersionCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this libc version core based on the context it is used

func (*LibcVersionCore) MarshalBinary

func (m *LibcVersionCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (LibcVersionCore) MarshalJSON

func (m LibcVersionCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*LibcVersionCore) UnmarshalBinary

func (m *LibcVersionCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LibcVersionCore) UnmarshalJSON

func (m *LibcVersionCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*LibcVersionCore) Validate

func (m *LibcVersionCore) Validate(formats strfmt.Registry) error

Validate validates this libc version core

type LibcVersionPagedList

type LibcVersionPagedList struct {

	// A page of libc versions
	// Required: true
	LibcVersions []*LibcVersion `json:"libc_versions"`

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

LibcVersionPagedList Libc Version Paged List

A paginated list of libc versions

swagger:model libcVersionPagedList

func (*LibcVersionPagedList) ContextValidate

func (m *LibcVersionPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this libc version paged list based on the context it is used

func (*LibcVersionPagedList) MarshalBinary

func (m *LibcVersionPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LibcVersionPagedList) UnmarshalBinary

func (m *LibcVersionPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LibcVersionPagedList) Validate

func (m *LibcVersionPagedList) Validate(formats strfmt.Registry) error

Validate validates this libc version paged list

type Namespace

type Namespace struct {
	NamespaceAllOf0

	NamespaceCore
}

Namespace namespace

The full namespace data model

swagger:model namespace

func (*Namespace) ContextValidate

func (m *Namespace) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this namespace based on the context it is used

func (*Namespace) MarshalBinary

func (m *Namespace) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Namespace) MarshalJSON

func (m Namespace) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Namespace) UnmarshalBinary

func (m *Namespace) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Namespace) UnmarshalJSON

func (m *Namespace) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Namespace) Validate

func (m *Namespace) Validate(formats strfmt.Registry) error

Validate validates this namespace

type NamespaceAllOf0

type NamespaceAllOf0 struct {

	// links
	// Required: true
	Links *SelfLink `json:"links"`

	// namespace id
	// Required: true
	// Format: uuid
	NamespaceID *strfmt.UUID `json:"namespace_id"`

	// Describes the meaning of the type field
	// Required: true
	// Read Only: true
	TypeDescription string `json:"type_description"`
}

NamespaceAllOf0 namespace all of0

swagger:model namespaceAllOf0

func (*NamespaceAllOf0) ContextValidate

func (m *NamespaceAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this namespace all of0 based on the context it is used

func (*NamespaceAllOf0) MarshalBinary

func (m *NamespaceAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NamespaceAllOf0) UnmarshalBinary

func (m *NamespaceAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NamespaceAllOf0) Validate

func (m *NamespaceAllOf0) Validate(formats strfmt.Registry) error

Validate validates this namespace all of0

type NamespaceCore

type NamespaceCore struct {

	// The name of the language the ingredients in this namespace are for. Will be set based on namespace type.
	ForLanguage string `json:"for_language,omitempty"`

	// is public
	// Required: true
	IsPublic *bool `json:"is_public"`

	// The algorithm to use for name normalization in this namespace
	// Required: true
	// Enum: [none python]
	NameNormalizationAlgorithm *string `json:"name_normalization_algorithm"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// owner platform organization id
	// Required: true
	// Format: uuid
	OwnerPlatformOrganizationID *strfmt.UUID `json:"owner_platform_organization_id"`

	// The type of the namespace. A namespace type tells what the namespace contains.
	// Required: true
	// Enum: [bundle compiler internal language-core language-ingredient platform-component shared-ingredient]
	Type *string `json:"type"`

	// The algorithm to use for version parsing in this namespace
	// Required: true
	// Enum: [feature generic perl php python ruby semver]
	VersionParsingAlgorithm *string `json:"version_parsing_algorithm"`
}

NamespaceCore Namespace Core

The properties of a namespace needed to create a new one

swagger:model namespaceCore

func (*NamespaceCore) ContextValidate

func (m *NamespaceCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this namespace core based on context it is used

func (*NamespaceCore) MarshalBinary

func (m *NamespaceCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NamespaceCore) UnmarshalBinary

func (m *NamespaceCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NamespaceCore) Validate

func (m *NamespaceCore) Validate(formats strfmt.Registry) error

Validate validates this namespace core

type NamespacePagedList

type NamespacePagedList struct {

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// A page of namespaces
	// Required: true
	Namespaces []*Namespace `json:"namespaces"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

NamespacePagedList Namespace Paged List

A paginated list of namespaces

swagger:model namespacePagedList

func (*NamespacePagedList) ContextValidate

func (m *NamespacePagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this namespace paged list based on the context it is used

func (*NamespacePagedList) MarshalBinary

func (m *NamespacePagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NamespacePagedList) UnmarshalBinary

func (m *NamespacePagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NamespacePagedList) Validate

func (m *NamespacePagedList) Validate(formats strfmt.Registry) error

Validate validates this namespace paged list

type NormalizedName

type NormalizedName struct {

	// The normalized version of 'requested_as'.
	// Required: true
	Normalized *string `json:"normalized"`

	// The original, unnormalized name.
	// Required: true
	RequestedAs *string `json:"requested_as"`
}

NormalizedName A single mapping from an unnormalized name to its normalized form.

swagger:model normalizedName

func (*NormalizedName) ContextValidate

func (m *NormalizedName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this normalized name based on context it is used

func (*NormalizedName) MarshalBinary

func (m *NormalizedName) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NormalizedName) UnmarshalBinary

func (m *NormalizedName) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NormalizedName) Validate

func (m *NormalizedName) Validate(formats strfmt.Registry) error

Validate validates this normalized name

type NormalizedNames

type NormalizedNames struct {

	// The normalized name mappings
	// Required: true
	NormalizedNames []*NormalizedName `json:"normalized_names"`
}

NormalizedNames Unnormalized Names

A list of mappings from unnormalized to normalized names.

swagger:model normalizedNames

func (*NormalizedNames) ContextValidate

func (m *NormalizedNames) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this normalized names based on the context it is used

func (*NormalizedNames) MarshalBinary

func (m *NormalizedNames) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NormalizedNames) UnmarshalBinary

func (m *NormalizedNames) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NormalizedNames) Validate

func (m *NormalizedNames) Validate(formats strfmt.Registry) error

Validate validates this normalized names

type OperatingSystem

type OperatingSystem struct {
	OperatingSystemAllOf0

	OperatingSystemCore
}

OperatingSystem Operating System

The full operating system data model

swagger:model operatingSystem

func (*OperatingSystem) ContextValidate

func (m *OperatingSystem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this operating system based on the context it is used

func (*OperatingSystem) MarshalBinary

func (m *OperatingSystem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (OperatingSystem) MarshalJSON

func (m OperatingSystem) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*OperatingSystem) UnmarshalBinary

func (m *OperatingSystem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperatingSystem) UnmarshalJSON

func (m *OperatingSystem) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*OperatingSystem) Validate

func (m *OperatingSystem) Validate(formats strfmt.Registry) error

Validate validates this operating system

type OperatingSystemAllOf0

type OperatingSystemAllOf0 struct {

	// links
	// Required: true
	Links *SelfLink `json:"links"`

	// operating system id
	// Required: true
	// Format: uuid
	OperatingSystemID *strfmt.UUID `json:"operating_system_id"`
}

OperatingSystemAllOf0 operating system all of0

swagger:model operatingSystemAllOf0

func (*OperatingSystemAllOf0) ContextValidate

func (m *OperatingSystemAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this operating system all of0 based on the context it is used

func (*OperatingSystemAllOf0) MarshalBinary

func (m *OperatingSystemAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OperatingSystemAllOf0) UnmarshalBinary

func (m *OperatingSystemAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperatingSystemAllOf0) Validate

func (m *OperatingSystemAllOf0) Validate(formats strfmt.Registry) error

Validate validates this operating system all of0

type OperatingSystemCore

type OperatingSystemCore struct {

	// Whether an implementation of libc is considered a core feature of the OS. This is generally true for *nix OSes and false for others.
	// Required: true
	HasLibc *bool `json:"has_libc"`

	// The name of the operating system (excluding any version information). This should be more specific than just an OS class (e.g. 'Red Star OS' rather than just 'Linux')
	// Required: true
	Name *string `json:"name"`
}

OperatingSystemCore Operating System Core

The properties of an operating system needed to create a new one

swagger:model operatingSystemCore

func (*OperatingSystemCore) ContextValidate

func (m *OperatingSystemCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this operating system core based on context it is used

func (*OperatingSystemCore) MarshalBinary

func (m *OperatingSystemCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OperatingSystemCore) UnmarshalBinary

func (m *OperatingSystemCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperatingSystemCore) Validate

func (m *OperatingSystemCore) Validate(formats strfmt.Registry) error

Validate validates this operating system core

type OperatingSystemPagedList

type OperatingSystemPagedList struct {

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// A page of operating systems
	// Required: true
	OperatingSystems []*OperatingSystem `json:"operating_systems"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

OperatingSystemPagedList Operating System Paged List

A paginated list of operating systems

swagger:model operatingSystemPagedList

func (*OperatingSystemPagedList) ContextValidate

func (m *OperatingSystemPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this operating system paged list based on the context it is used

func (*OperatingSystemPagedList) MarshalBinary

func (m *OperatingSystemPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OperatingSystemPagedList) UnmarshalBinary

func (m *OperatingSystemPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperatingSystemPagedList) Validate

func (m *OperatingSystemPagedList) Validate(formats strfmt.Registry) error

Validate validates this operating system paged list

type OperatingSystemVersion

OperatingSystemVersion Operating System Version

The full operating system version data model

swagger:model operatingSystemVersion

func (*OperatingSystemVersion) ContextValidate

func (m *OperatingSystemVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this operating system version based on the context it is used

func (*OperatingSystemVersion) MarshalBinary

func (m *OperatingSystemVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (OperatingSystemVersion) MarshalJSON

func (m OperatingSystemVersion) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*OperatingSystemVersion) UnmarshalBinary

func (m *OperatingSystemVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperatingSystemVersion) UnmarshalJSON

func (m *OperatingSystemVersion) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*OperatingSystemVersion) Validate

func (m *OperatingSystemVersion) Validate(formats strfmt.Registry) error

Validate validates this operating system version

type OperatingSystemVersionAllOf0

type OperatingSystemVersionAllOf0 struct {

	// links
	// Required: true
	Links *SelfLink `json:"links"`

	// operating system version id
	// Required: true
	// Format: uuid
	OperatingSystemVersionID *strfmt.UUID `json:"operating_system_version_id"`
}

OperatingSystemVersionAllOf0 operating system version all of0

swagger:model operatingSystemVersionAllOf0

func (*OperatingSystemVersionAllOf0) ContextValidate

func (m *OperatingSystemVersionAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this operating system version all of0 based on the context it is used

func (*OperatingSystemVersionAllOf0) MarshalBinary

func (m *OperatingSystemVersionAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OperatingSystemVersionAllOf0) UnmarshalBinary

func (m *OperatingSystemVersionAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperatingSystemVersionAllOf0) Validate

func (m *OperatingSystemVersionAllOf0) Validate(formats strfmt.Registry) error

Validate validates this operating system version all of0

type OperatingSystemVersionCore

type OperatingSystemVersionCore struct {
	VersionInfo

	RevisionedFeatureProvider
}

OperatingSystemVersionCore Operating System Version Core

The properties of an operating system version needed to create a new one

swagger:model operatingSystemVersionCore

func (*OperatingSystemVersionCore) ContextValidate

func (m *OperatingSystemVersionCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this operating system version core based on the context it is used

func (*OperatingSystemVersionCore) MarshalBinary

func (m *OperatingSystemVersionCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (OperatingSystemVersionCore) MarshalJSON

func (m OperatingSystemVersionCore) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*OperatingSystemVersionCore) UnmarshalBinary

func (m *OperatingSystemVersionCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperatingSystemVersionCore) UnmarshalJSON

func (m *OperatingSystemVersionCore) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*OperatingSystemVersionCore) Validate

func (m *OperatingSystemVersionCore) Validate(formats strfmt.Registry) error

Validate validates this operating system version core

type OperatingSystemVersionPagedList

type OperatingSystemVersionPagedList struct {

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// A page of operating system versions
	// Required: true
	OperatingSystemVersions []*OperatingSystemVersion `json:"operating_system_versions"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`
}

OperatingSystemVersionPagedList Operating System Version Paged List

A paginated list of operating system versions

swagger:model operatingSystemVersionPagedList

func (*OperatingSystemVersionPagedList) ContextValidate

func (m *OperatingSystemVersionPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this operating system version paged list based on the context it is used

func (*OperatingSystemVersionPagedList) MarshalBinary

func (m *OperatingSystemVersionPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OperatingSystemVersionPagedList) UnmarshalBinary

func (m *OperatingSystemVersionPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OperatingSystemVersionPagedList) Validate

Validate validates this operating system version paged list

type Order

type Order struct {

	// Additional information about the request that may be logged for debugging
	Annotations interface{} `json:"annotations,omitempty"`

	// The builds flags to include in this order and their values.
	BuildFlags []*OrderBuildFlag `json:"build_flags"`

	// Camel-specific flags for controlling the build.
	CamelFlags []string `json:"camel_flags"`

	// Order UUID, supplied by client to be copied to all resulting recipes
	// Required: true
	// Format: uuid
	OrderID *strfmt.UUID `json:"order_id"`

	// List of platform IDs for the order
	// Required: true
	// Unique: true
	Platforms []strfmt.UUID `json:"platforms"`

	// The list of required features needed to satisfy this order
	// Required: true
	// Min Items: 1
	Requirements []*OrderRequirement `json:"requirements"`

	// The version of the solver to use to solve this order. If not specified, the solver version will be selected automatically.
	// Maximum: 2
	// Minimum: 0
	SolverVersion *int64 `json:"solver_version,omitempty"`

	// The date and time that the order was originally submitted
	// Required: true
	// Format: date-time
	Timestamp *strfmt.DateTime `json:"timestamp"`
}

Order Order

An order to create recipes for a set of requirements, for one or more platforms.

swagger:model order

func (*Order) ContextValidate

func (m *Order) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this order based on the context it is used

func (*Order) MarshalBinary

func (m *Order) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Order) UnmarshalBinary

func (m *Order) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Order) Validate

func (m *Order) Validate(formats strfmt.Registry) error

Validate validates this order

type OrderBuildFlag

type OrderBuildFlag struct {

	// The name of the build flag being passed. Must match the name of an existing build flag.
	// Required: true
	Name *string `json:"name"`

	// The value to pass for the build flag. If omitted, the first of the build flag's default values whose conditions are met is used.
	Value string `json:"value,omitempty"`
}

OrderBuildFlag Order Build Flag

swagger:model orderBuildFlag

func (*OrderBuildFlag) ContextValidate

func (m *OrderBuildFlag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this order build flag based on context it is used

func (*OrderBuildFlag) MarshalBinary

func (m *OrderBuildFlag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrderBuildFlag) UnmarshalBinary

func (m *OrderBuildFlag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrderBuildFlag) Validate

func (m *OrderBuildFlag) Validate(formats strfmt.Registry) error

Validate validates this order build flag

type OrderRequirement

type OrderRequirement struct {

	// The name of the required feature, If no ingredient ID is specified, the default provider of this feature will be chosen.
	// Required: true
	Feature *string `json:"feature"`

	// The ID of the ingredient version that should be used to fulfill this requirement. Can be used to override the default choice of provider for the specified feature. Must be an ingredient version that actually provides the specified feature.
	// Format: uuid
	IngredientVersionID strfmt.UUID `json:"ingredient_version_id,omitempty"`

	// The namespace for the required feature.
	// Required: true
	Namespace *string `json:"namespace"`

	// The revision number of the ingredient version that should be used to fulfill this requirement.
	// Minimum: 1
	Revision int64 `json:"revision,omitempty"`

	// The requirements for the acceptable versions of this feature. This can be omitted, in which case any version is acceptable.
	// Min Items: 1
	VersionRequirements []*VersionRequirement `json:"version_requirements"`
}

OrderRequirement Requirement

An order requirement is a single package name and version specifier requested in an order.

swagger:model orderRequirement

func (*OrderRequirement) ContextValidate

func (m *OrderRequirement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this order requirement based on the context it is used

func (*OrderRequirement) MarshalBinary

func (m *OrderRequirement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrderRequirement) UnmarshalBinary

func (m *OrderRequirement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrderRequirement) Validate

func (m *OrderRequirement) Validate(formats strfmt.Registry) error

Validate validates this order requirement

type Organization

type Organization struct {

	// organization id
	OrganizationID string `json:"organization_id,omitempty"`

	// url name
	URLName string `json:"url_name,omitempty"`
}

Organization organization

swagger:model organization

func (*Organization) ContextValidate

func (m *Organization) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this organization based on context it is used

func (*Organization) MarshalBinary

func (m *Organization) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Organization) UnmarshalBinary

func (m *Organization) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Organization) Validate

func (m *Organization) Validate(formats strfmt.Registry) error

Validate validates this organization

type Paging

type Paging struct {

	// The total number of items available
	// Required: true
	// Minimum: 0
	AvailableCount *int64 `json:"available_count"`

	// The number of items on this page
	// Required: true
	// Minimum: 0
	ItemCount *int64 `json:"item_count"`

	// The maximum number of items that could be returned
	// Required: true
	// Minimum: 1
	Limit *int64 `json:"limit"`

	// The page number of this result set
	// Required: true
	// Minimum: 1
	Page *int64 `json:"page"`

	// The total number of pages
	// Required: true
	// Minimum: 1
	PageCount *int64 `json:"page_count"`
}

Paging Paging

Paging data

swagger:model paging

func (*Paging) ContextValidate

func (m *Paging) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this paging based on context it is used

func (*Paging) MarshalBinary

func (m *Paging) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Paging) UnmarshalBinary

func (m *Paging) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Paging) Validate

func (m *Paging) Validate(formats strfmt.Registry) error

Validate validates this paging

type PagingLinks struct {

	// The URI of the first page
	// Required: true
	// Format: uri
	First *strfmt.URI `json:"first"`

	// The URI of last page
	// Required: true
	// Format: uri
	Last *strfmt.URI `json:"last"`

	// The URI of the next page
	// Format: uri
	Next strfmt.URI `json:"next,omitempty"`

	// The URI of the previous page
	// Format: uri
	Previous strfmt.URI `json:"previous,omitempty"`

	// The URI of this page
	// Required: true
	// Format: uri
	Self *strfmt.URI `json:"self"`
}

PagingLinks Paging Links

swagger:model pagingLinks

func (*PagingLinks) ContextValidate

func (m *PagingLinks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this paging links based on context it is used

func (*PagingLinks) MarshalBinary

func (m *PagingLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PagingLinks) UnmarshalBinary

func (m *PagingLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PagingLinks) Validate

func (m *PagingLinks) Validate(formats strfmt.Registry) error

Validate validates this paging links

type Patch

type Patch struct {
	PatchAllOf0

	PatchCore
}

Patch Patch

A diff of changes that can be applied to an ingredient's source code. This model contains all patch properties and is returned from read requests

swagger:model patch

func (*Patch) ContextValidate

func (m *Patch) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this patch based on the context it is used

func (*Patch) MarshalBinary

func (m *Patch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (Patch) MarshalJSON

func (m Patch) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*Patch) UnmarshalBinary

func (m *Patch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Patch) UnmarshalJSON

func (m *Patch) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*Patch) Validate

func (m *Patch) Validate(formats strfmt.Registry) error

Validate validates this patch

type PatchAllOf0

type PatchAllOf0 struct {

	// creation timestamp
	// Required: true
	// Format: date-time
	CreationTimestamp *strfmt.DateTime `json:"creation_timestamp"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`

	// patch id
	// Required: true
	// Format: uuid
	PatchID *strfmt.UUID `json:"patch_id"`
}

PatchAllOf0 patch all of0

swagger:model patchAllOf0

func (*PatchAllOf0) ContextValidate

func (m *PatchAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this patch all of0 based on the context it is used

func (*PatchAllOf0) MarshalBinary

func (m *PatchAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchAllOf0) UnmarshalBinary

func (m *PatchAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchAllOf0) Validate

func (m *PatchAllOf0) Validate(formats strfmt.Registry) error

Validate validates this patch all of0

type PatchCore

type PatchCore struct {

	// The features that must already be present in the recipe for this patch to be used. For example, can be used to create patches that only work on specific operating systems.
	Conditions []*Condition `json:"conditions"`

	// The patch itself
	// Required: true
	Content *string `json:"content"`

	// A concise summary of what this patch can be used for
	// Required: true
	Description *string `json:"description"`
}

PatchCore Patch Core

A diff of changes that can be applied to an ingredient's source code. This model only contains mutable fields of a patch.

swagger:model patchCore

func (*PatchCore) ContextValidate

func (m *PatchCore) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this patch core based on the context it is used

func (*PatchCore) MarshalBinary

func (m *PatchCore) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchCore) UnmarshalBinary

func (m *PatchCore) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchCore) Validate

func (m *PatchCore) Validate(formats strfmt.Registry) error

Validate validates this patch core

type PatchPagedList

type PatchPagedList struct {

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`

	// A page of patches
	// Required: true
	Patches []*Patch `json:"patches"`
}

PatchPagedList Patch Paged List

A paginated list of patches

swagger:model patchPagedList

func (*PatchPagedList) ContextValidate

func (m *PatchPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this patch paged list based on the context it is used

func (*PatchPagedList) MarshalBinary

func (m *PatchPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PatchPagedList) UnmarshalBinary

func (m *PatchPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PatchPagedList) Validate

func (m *PatchPagedList) Validate(formats strfmt.Registry) error

Validate validates this patch paged list

type Platform

type Platform struct {

	// cpu architecture
	// Required: true
	CPUArchitecture *CPUArchitecture `json:"cpu_architecture"`

	// cpu extensions
	CPUExtensions []*CPUExtension `json:"cpu_extensions"`

	// The date and time this platform was created.
	// Required: true
	// Format: date-time
	CreationTimestamp *strfmt.DateTime `json:"creation_timestamp"`

	// display name
	// Required: true
	DisplayName *string `json:"display_name"`

	// The last day on which this platform will be supported. Can be omitted if no last day has yet been determined.
	// Format: date
	EndOfSupportDate *strfmt.Date `json:"end_of_support_date,omitempty"`

	// gpu architecture
	GpuArchitecture *GpuArchitecture `json:"gpu_architecture,omitempty"`

	// images
	// Required: true
	Images []*Image `json:"images"`

	// If true, the platform should be shown to the user as a selectable platform for an order. If false, the platform should be hidden from the user.
	IsUserVisible *bool `json:"is_user_visible,omitempty"`

	// kernel
	// Required: true
	Kernel *Kernel `json:"kernel"`

	// kernel version
	// Required: true
	KernelVersion *KernelVersion `json:"kernel_version"`

	// libc
	Libc *Libc `json:"libc,omitempty"`

	// libc version
	LibcVersion *LibcVersion `json:"libc_version,omitempty"`

	// links
	// Required: true
	Links *SelfLink `json:"links"`

	// operating system
	// Required: true
	OperatingSystem *OperatingSystem `json:"operating_system"`

	// operating system version
	// Required: true
	OperatingSystemVersion *OperatingSystemVersion `json:"operating_system_version"`

	// platform id
	// Required: true
	// Format: uuid
	PlatformID *strfmt.UUID `json:"platform_id"`
}

Platform Platform

A platform upon which a build can be built.

swagger:model platform

func (*Platform) ContextValidate

func (m *Platform) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this platform based on the context it is used

func (*Platform) MarshalBinary

func (m *Platform) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Platform) UnmarshalBinary

func (m *Platform) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Platform) Validate

func (m *Platform) Validate(formats strfmt.Registry) error

Validate validates this platform

type PlatformCreate

type PlatformCreate struct {

	// The ID of the CPU architecture used by this platform.
	// Required: true
	// Format: uuid
	CPUArchitectureID *strfmt.UUID `json:"cpu_architecture_id"`

	// The IDs of the CPU extensions guaranteed to be present on this platform (if any).
	// Required: true
	CPUExtensions []strfmt.UUID `json:"cpu_extensions"`

	// The last day on which this platform will be supported. Can be omitted if no last day has yet been determined.
	// Format: date
	EndOfSupportDate strfmt.Date `json:"end_of_support_date,omitempty"`

	// The ID of the GPU architecture installed on this platform. Can be omitted if the platform doesn't have a GPU.
	// Format: uuid
	GpuArchitectureID strfmt.UUID `json:"gpu_architecture_id,omitempty"`

	// If true, the platform should be shown to the user as a selectable platform for an order. If false, the platform should be hidden from the user.
	IsUserVisible *bool `json:"is_user_visible,omitempty"`

	// The ID of the kernel version running on this platform's operating system.
	// Required: true
	// Format: uuid
	KernelVersionID *strfmt.UUID `json:"kernel_version_id"`

	// The ID of the libc version installed on this platform. Can be omitted if the platform's operating system does not have a libc.
	// Format: uuid
	LibcVersionID strfmt.UUID `json:"libc_version_id,omitempty"`

	// The ID of the operation system version running on this platform.
	// Required: true
	// Format: uuid
	OperatingSystemVersionID *strfmt.UUID `json:"operating_system_version_id"`
}

PlatformCreate Platform (create)

A platform upon which a build can be built. This model is only used when a platform is created to allow for both referencing existing platform components or defining new ones.

swagger:model platformCreate

func (*PlatformCreate) ContextValidate

func (m *PlatformCreate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this platform create based on context it is used

func (*PlatformCreate) MarshalBinary

func (m *PlatformCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformCreate) UnmarshalBinary

func (m *PlatformCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformCreate) Validate

func (m *PlatformCreate) Validate(formats strfmt.Registry) error

Validate validates this platform create

type PlatformPagedList

type PlatformPagedList struct {

	// links
	// Required: true
	Links *PagingLinks `json:"links"`

	// paging
	// Required: true
	Paging *Paging `json:"paging"`

	// A page of platforms
	// Required: true
	Platforms []*Platform `json:"platforms"`
}

PlatformPagedList Platform Paged List

A paginated list of platforms

swagger:model platformPagedList

func (*PlatformPagedList) ContextValidate

func (m *PlatformPagedList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this platform paged list based on the context it is used

func (*PlatformPagedList) MarshalBinary

func (m *PlatformPagedList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformPagedList) UnmarshalBinary

func (m *PlatformPagedList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformPagedList) Validate

func (m *PlatformPagedList) Validate(formats strfmt.Registry) error

Validate validates this platform paged list

type ProvidedFeature

type ProvidedFeature struct {
	ProvidedFeatureAllOf0

	VersionInfo
}

ProvidedFeature Provided Feature

A feature that is provided by a revisioned resource

swagger:model providedFeature

func (*ProvidedFeature) ContextValidate

func (m *ProvidedFeature) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this provided feature based on the context it is used

func (*ProvidedFeature) MarshalBinary

func (m *ProvidedFeature) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (ProvidedFeature) MarshalJSON

func (m ProvidedFeature) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*ProvidedFeature) UnmarshalBinary

func (m *ProvidedFeature) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProvidedFeature) UnmarshalJSON

func (m *ProvidedFeature) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*ProvidedFeature) Validate

func (m *ProvidedFeature) Validate(formats strfmt.Registry) error

Validate validates this provided feature

type ProvidedFeatureAllOf0

type ProvidedFeatureAllOf0 struct {

	// feature
	// Required: true
	Feature *string `json:"feature"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`
}

ProvidedFeatureAllOf0 provided feature all of0

swagger:model providedFeatureAllOf0

func (*ProvidedFeatureAllOf0) ContextValidate

func (m *ProvidedFeatureAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this provided feature all of0 based on context it is used

func (*ProvidedFeatureAllOf0) MarshalBinary

func (m *ProvidedFeatureAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProvidedFeatureAllOf0) UnmarshalBinary

func (m *ProvidedFeatureAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProvidedFeatureAllOf0) Validate

func (m *ProvidedFeatureAllOf0) Validate(formats strfmt.Registry) error

Validate validates this provided feature all of0

type Recipe

type Recipe struct {

	// Camel-specific flags for controlling the build.
	CamelFlags []string `json:"camel_flags"`

	// Indicates whether this recipe came from the recipe store or not
	// Required: true
	FromRecipeStore *bool `json:"from_recipe_store"`

	// image
	// Required: true
	Image *Image `json:"image"`

	// If all of the resolved ingredients resolved to indemnified versions, then this will be true.
	IsIndemnified *bool `json:"is_indemnified,omitempty"`

	// platform
	// Required: true
	Platform *Platform `json:"platform"`

	// This recipe's ID. Identical recipes will have the same ID.
	// Required: true
	// Format: uuid
	RecipeID *strfmt.UUID `json:"recipe_id"`

	// If the recipe came from the recipe store, this will contain the recipe's timestamp. Otherwise this field will be omitted
	// Format: date-time
	RecipeStoreTimestamp *strfmt.DateTime `json:"recipe_store_timestamp,omitempty"`

	// The resolved ingredients that comprise this recipe.
	// Required: true
	// Min Items: 1
	// Unique: true
	ResolvedIngredients []*ResolvedIngredient `json:"resolved_ingredients"`

	// The version of the solver that was used to create this recipe
	// Required: true
	SolverVersion *int64 `json:"solver_version"`
}

Recipe Recipe

A recipe contains all required information (ingredient versions, platform, build options, etc.) to build a project for a single platform.

swagger:model recipe

func (*Recipe) ContextValidate

func (m *Recipe) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recipe based on the context it is used

func (*Recipe) MarshalBinary

func (m *Recipe) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Recipe) UnmarshalBinary

func (m *Recipe) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Recipe) Validate

func (m *Recipe) Validate(formats strfmt.Registry) error

Validate validates this recipe

type RecipeResponse

type RecipeResponse struct {

	// UUID of the order for which this is a response.
	// Required: true
	// Format: uuid
	OrderID *strfmt.UUID `json:"order_id"`

	// List of resolved recipes by platform for a given order
	// Required: true
	// Min Items: 1
	Recipes []*Recipe `json:"recipes"`
}

RecipeResponse Recipe Response

The response to an order. It is a list of recipes satisfying the order.

swagger:model recipeResponse

func (*RecipeResponse) ContextValidate

func (m *RecipeResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recipe response based on the context it is used

func (*RecipeResponse) MarshalBinary

func (m *RecipeResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecipeResponse) UnmarshalBinary

func (m *RecipeResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecipeResponse) Validate

func (m *RecipeResponse) Validate(formats strfmt.Registry) error

Validate validates this recipe response

type RecipeValidationError

type RecipeValidationError struct {

	// The list of validations errors found in the recipe.
	// Required: true
	ValidationErrors []*RecipeValidationErrorItem `json:"validation_errors"`
}

RecipeValidationError Recipe Validation Error

An error for when an invalid recipe is supplied to the validation endpoint.

swagger:model recipeValidationError

func (*RecipeValidationError) ContextValidate

func (m *RecipeValidationError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this recipe validation error based on the context it is used

func (*RecipeValidationError) MarshalBinary

func (m *RecipeValidationError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecipeValidationError) UnmarshalBinary

func (m *RecipeValidationError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecipeValidationError) Validate

func (m *RecipeValidationError) Validate(formats strfmt.Registry) error

Validate validates this recipe validation error

type RecipeValidationErrorItem

type RecipeValidationErrorItem struct {

	// Human-readable message describing the error
	// Required: true
	Error *string `json:"error"`
}

RecipeValidationErrorItem Recipe Validation Error Item

A single validation error

swagger:model recipeValidationErrorItem

func (*RecipeValidationErrorItem) ContextValidate

func (m *RecipeValidationErrorItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this recipe validation error item based on context it is used

func (*RecipeValidationErrorItem) MarshalBinary

func (m *RecipeValidationErrorItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecipeValidationErrorItem) UnmarshalBinary

func (m *RecipeValidationErrorItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecipeValidationErrorItem) Validate

func (m *RecipeValidationErrorItem) Validate(formats strfmt.Registry) error

Validate validates this recipe validation error item

type Requirement

type Requirement struct {

	// The operator used to compare the sortable_version against a given provided feature to determine if it meets the requirement
	// Required: true
	// Enum: [eq gt gte lt lte ne]
	Comparator *string `json:"comparator"`

	// An array of decimal values representing all segments of a version, ordered from most to least significant. How a version string is rendered into a list of decimals will vary depending on the format of the source string and is therefore left up to the caller, but it must be done consistently across all versions of the same resource for sorting to work properly. This is represented as a string to avoid losing precision when converting to a floating point number.
	SortableVersion []string `json:"sortable_version"`

	// The required version in its original form.
	// Min Length: 1
	Version *string `json:"version,omitempty"`
}

Requirement Requirement

swagger:model requirement

func (*Requirement) ContextValidate

func (m *Requirement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this requirement based on context it is used

func (*Requirement) MarshalBinary

func (m *Requirement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Requirement) UnmarshalBinary

func (m *Requirement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Requirement) Validate

func (m *Requirement) Validate(formats strfmt.Registry) error

Validate validates this requirement

type Requirements

type Requirements []*Requirement

Requirements Requirements

The version constraints that an ingredient version's requirement or condition puts on a feature

swagger:model requirements

func (Requirements) ContextValidate

func (m Requirements) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this requirements based on the context it is used

func (Requirements) Validate

func (m Requirements) Validate(formats strfmt.Registry) error

Validate validates this requirements

type ResolvedIngredient

type ResolvedIngredient struct {

	// Alternative ingredient versions which can also satisfy the order's requirement. Each entry in the array is the ID of an ingredient version which could satisfy these requirements.
	Alternatives []strfmt.UUID `json:"alternatives"`

	// An ID to uniquely represent the artifact built from resolved ingredient. The same ingredient version will have different artifact IDs on different platforms, different images, or with different resolved dependencies.
	// Format: uuid
	ArtifactID strfmt.UUID `json:"artifact_id,omitempty"`

	// The custom build scripts for building this ingredient, if any
	BuildScripts []*BuildScript `json:"build_scripts"`

	// The dependencies in the recipe for this ingredient version. Each item contains an ingredient version UUID which maps to an ingredient version in this recipe.
	Dependencies []*ResolvedIngredientDependency `json:"dependencies"`

	// ingredient
	// Required: true
	Ingredient *Ingredient `json:"ingredient"`

	// The ingredient options of the resolved ingredient which had their conditions met by the recipe
	IngredientOptions []*IngredientOption `json:"ingredient_options"`

	// ingredient version
	// Required: true
	IngredientVersion *IngredientVersion `json:"ingredient_version"`

	// The patches to apply to this ingredient's source before building, if any
	Patches []*IngredientVersionRevisionPatch `json:"patches"`

	// The original requirement(s) in the order that were resolved to this ingredient version. This list will be empty if an ingredient was added to the recipe to fulfill a dependency of something else in the order.
	ResolvedRequirements []*OrderRequirement `json:"resolved_requirements"`
}

ResolvedIngredient Resolved Ingredient

An ingredient that is part of a recipe's resolved requirements

swagger:model resolvedIngredient

func (*ResolvedIngredient) ContextValidate

func (m *ResolvedIngredient) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resolved ingredient based on the context it is used

func (*ResolvedIngredient) MarshalBinary

func (m *ResolvedIngredient) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResolvedIngredient) UnmarshalBinary

func (m *ResolvedIngredient) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResolvedIngredient) Validate

func (m *ResolvedIngredient) Validate(formats strfmt.Registry) error

Validate validates this resolved ingredient

type ResolvedIngredientDependency

type ResolvedIngredientDependency struct {

	// The type or types of dependencies on this ingredient version.
	// Required: true
	// Min Items: 1
	// Unique: true
	DependencyTypes []DependencyType `json:"dependency_types"`

	// ingredient version id
	// Required: true
	// Format: uuid
	IngredientVersionID *strfmt.UUID `json:"ingredient_version_id"`
}

ResolvedIngredientDependency Resolved Ingredient Dependency

One dependency for a resolved ingredient in a recipe.

swagger:model resolvedIngredientDependency

func (*ResolvedIngredientDependency) ContextValidate

func (m *ResolvedIngredientDependency) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this resolved ingredient dependency based on the context it is used

func (*ResolvedIngredientDependency) MarshalBinary

func (m *ResolvedIngredientDependency) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResolvedIngredientDependency) UnmarshalBinary

func (m *ResolvedIngredientDependency) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResolvedIngredientDependency) Validate

func (m *ResolvedIngredientDependency) Validate(formats strfmt.Registry) error

Validate validates this resolved ingredient dependency

type RestAPIError

type RestAPIError struct {

	// Link to an existing conflicting resource
	// Format: uri
	Existing strfmt.URI `json:"existing,omitempty"`

	// message
	// Required: true
	Message *string `json:"message"`
}

RestAPIError REST API error body

A shared generic error response body for REST APIs.

swagger:model restApiError

func (*RestAPIError) ContextValidate

func (m *RestAPIError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rest Api error based on context it is used

func (*RestAPIError) MarshalBinary

func (m *RestAPIError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestAPIError) UnmarshalBinary

func (m *RestAPIError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestAPIError) Validate

func (m *RestAPIError) Validate(formats strfmt.Registry) error

Validate validates this rest Api error

type RestAPIValidationError

type RestAPIValidationError struct {
	RestAPIError

	RestAPIValidationErrorAllOf1
}

RestAPIValidationError REST API validation error body

A error for when invalid input is supplied to an endpoint.

swagger:model restApiValidationError

func (*RestAPIValidationError) ContextValidate

func (m *RestAPIValidationError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rest Api validation error based on the context it is used

func (*RestAPIValidationError) MarshalBinary

func (m *RestAPIValidationError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (RestAPIValidationError) MarshalJSON

func (m RestAPIValidationError) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*RestAPIValidationError) UnmarshalBinary

func (m *RestAPIValidationError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestAPIValidationError) UnmarshalJSON

func (m *RestAPIValidationError) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*RestAPIValidationError) Validate

func (m *RestAPIValidationError) Validate(formats strfmt.Registry) error

Validate validates this rest Api validation error

type RestAPIValidationErrorAllOf1

type RestAPIValidationErrorAllOf1 struct {

	// The list of validations errors found in the request
	// Required: true
	ValidationErrors []*RestAPIValidationErrorItem `json:"validation_errors"`
}

RestAPIValidationErrorAllOf1 rest Api validation error all of1

swagger:model restApiValidationErrorAllOf1

func (*RestAPIValidationErrorAllOf1) ContextValidate

func (m *RestAPIValidationErrorAllOf1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rest Api validation error all of1 based on the context it is used

func (*RestAPIValidationErrorAllOf1) MarshalBinary

func (m *RestAPIValidationErrorAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestAPIValidationErrorAllOf1) UnmarshalBinary

func (m *RestAPIValidationErrorAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestAPIValidationErrorAllOf1) Validate

func (m *RestAPIValidationErrorAllOf1) Validate(formats strfmt.Registry) error

Validate validates this rest Api validation error all of1

type RestAPIValidationErrorItem

type RestAPIValidationErrorItem struct {

	// Human-readable message about this specific validation error
	// Required: true
	Error *string `json:"error"`

	// A JSON path to the specific field that was invalid, if applicable
	JSONPath string `json:"jsonPath,omitempty"`
}

RestAPIValidationErrorItem REST API validation error body item

swagger:model restApiValidationErrorItem

func (*RestAPIValidationErrorItem) ContextValidate

func (m *RestAPIValidationErrorItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rest Api validation error item based on context it is used

func (*RestAPIValidationErrorItem) MarshalBinary

func (m *RestAPIValidationErrorItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RestAPIValidationErrorItem) UnmarshalBinary

func (m *RestAPIValidationErrorItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RestAPIValidationErrorItem) Validate

func (m *RestAPIValidationErrorItem) Validate(formats strfmt.Registry) error

Validate validates this rest Api validation error item

type RevisionBase

type RevisionBase struct {

	// The platform user_id for the author of the revision. This will be automatically populated for writes based on the credentials you provide to the API.
	// Format: uuid
	AuthorPlatformUserID strfmt.UUID `json:"author_platform_user_id,omitempty"`

	// A comment describing the revision.
	// Required: true
	Comment *string `json:"comment"`

	// Whether this revision should be considered 'stable'. When a new stable revision is created, it supercedes any existing stable revision and becomes the default revision of the revisioned resource going forward.
	IsStableRevision *bool `json:"is_stable_revision,omitempty"`
}

RevisionBase Revision Base

Base properties of a revisioned resource which can be modified by a new revision. Does not include provided features, so for most usage revision is actually the appropriate schema.

swagger:model revisionBase

func (*RevisionBase) ContextValidate

func (m *RevisionBase) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this revision base based on context it is used

func (*RevisionBase) MarshalBinary

func (m *RevisionBase) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevisionBase) UnmarshalBinary

func (m *RevisionBase) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevisionBase) Validate

func (m *RevisionBase) Validate(formats strfmt.Registry) error

Validate validates this revision base

type RevisionedFeatureProvider

type RevisionedFeatureProvider struct {
	RevisionedFeatureProviderAllOf0

	RevisionBase
}

RevisionedFeatureProvider Revision

The properties of any revisioned resource which can be modified by a new revision. Includes provided features used by most revisioned resources.

swagger:model revisionedFeatureProvider

func (*RevisionedFeatureProvider) ContextValidate

func (m *RevisionedFeatureProvider) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this revisioned feature provider based on the context it is used

func (*RevisionedFeatureProvider) MarshalBinary

func (m *RevisionedFeatureProvider) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (RevisionedFeatureProvider) MarshalJSON

func (m RevisionedFeatureProvider) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*RevisionedFeatureProvider) UnmarshalBinary

func (m *RevisionedFeatureProvider) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevisionedFeatureProvider) UnmarshalJSON

func (m *RevisionedFeatureProvider) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*RevisionedFeatureProvider) Validate

func (m *RevisionedFeatureProvider) Validate(formats strfmt.Registry) error

Validate validates this revisioned feature provider

type RevisionedFeatureProviderAllOf0

type RevisionedFeatureProviderAllOf0 struct {

	// provided features
	// Required: true
	ProvidedFeatures []*ProvidedFeature `json:"provided_features"`
}

RevisionedFeatureProviderAllOf0 revisioned feature provider all of0

swagger:model revisionedFeatureProviderAllOf0

func (*RevisionedFeatureProviderAllOf0) ContextValidate

func (m *RevisionedFeatureProviderAllOf0) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this revisioned feature provider all of0 based on the context it is used

func (*RevisionedFeatureProviderAllOf0) MarshalBinary

func (m *RevisionedFeatureProviderAllOf0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevisionedFeatureProviderAllOf0) UnmarshalBinary

func (m *RevisionedFeatureProviderAllOf0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevisionedFeatureProviderAllOf0) Validate

Validate validates this revisioned feature provider all of0

type RevisionedResource

type RevisionedResource struct {

	// The revision number of this revision of the resource. This number increases monotonically with each new revision.
	// Required: true
	// Minimum: 1
	Revision *int64 `json:"revision"`

	// The date and time at which this revision of the resource was created
	// Required: true
	// Format: date-time
	RevisionTimestamp *strfmt.DateTime `json:"revision_timestamp"`
}

RevisionedResource Revisioned Resource

Properties shared by all revisioned resources

swagger:model revisionedResource

func (*RevisionedResource) ContextValidate

func (m *RevisionedResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this revisioned resource based on context it is used

func (*RevisionedResource) MarshalBinary

func (m *RevisionedResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevisionedResource) UnmarshalBinary

func (m *RevisionedResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevisionedResource) Validate

func (m *RevisionedResource) Validate(formats strfmt.Registry) error

Validate validates this revisioned resource

type SearchIngredientsResponse

type SearchIngredientsResponse struct {

	// A page of ingredients and version information
	Ingredients []*SearchIngredientsResponseItem `json:"ingredients"`

	// links
	Links *SearchIngredientsResponseLinks `json:"links,omitempty"`

	// paging
	Paging *SearchIngredientsResponsePaging `json:"paging,omitempty"`
}

SearchIngredientsResponse Search ingredients response

swagger:model searchIngredientsResponse

func (*SearchIngredientsResponse) ContextValidate

func (m *SearchIngredientsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this search ingredients response based on the context it is used

func (*SearchIngredientsResponse) MarshalBinary

func (m *SearchIngredientsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchIngredientsResponse) UnmarshalBinary

func (m *SearchIngredientsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchIngredientsResponse) Validate

func (m *SearchIngredientsResponse) Validate(formats strfmt.Registry) error

Validate validates this search ingredients response

type SearchIngredientsResponseItem

type SearchIngredientsResponseItem struct {

	// ingredient
	Ingredient *Ingredient `json:"ingredient,omitempty"`

	// latest version
	LatestVersion *IngredientVersion `json:"latest_version,omitempty"`

	// versions
	Versions []*SearchIngredientsResponseVersion `json:"versions"`
}

SearchIngredientsResponseItem Search ingredients response item

swagger:model searchIngredientsResponseItem

func (*SearchIngredientsResponseItem) ContextValidate

func (m *SearchIngredientsResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this search ingredients response item based on the context it is used

func (*SearchIngredientsResponseItem) MarshalBinary

func (m *SearchIngredientsResponseItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchIngredientsResponseItem) UnmarshalBinary

func (m *SearchIngredientsResponseItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchIngredientsResponseItem) Validate

func (m *SearchIngredientsResponseItem) Validate(formats strfmt.Registry) error

Validate validates this search ingredients response item

type SearchIngredientsResponseLinks struct {

	// The URI of the first page
	// Format: uri
	First strfmt.URI `json:"first,omitempty"`

	// The URI of the next page
	// Format: uri
	Next strfmt.URI `json:"next,omitempty"`

	// The URI of this page
	// Format: uri
	Self strfmt.URI `json:"self,omitempty"`
}

SearchIngredientsResponseLinks search ingredients response links

swagger:model searchIngredientsResponseLinks

func (*SearchIngredientsResponseLinks) ContextValidate

func (m *SearchIngredientsResponseLinks) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this search ingredients response links based on context it is used

func (*SearchIngredientsResponseLinks) MarshalBinary

func (m *SearchIngredientsResponseLinks) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchIngredientsResponseLinks) UnmarshalBinary

func (m *SearchIngredientsResponseLinks) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchIngredientsResponseLinks) Validate

func (m *SearchIngredientsResponseLinks) Validate(formats strfmt.Registry) error

Validate validates this search ingredients response links

type SearchIngredientsResponsePaging

type SearchIngredientsResponsePaging struct {

	// The number of ingredients on this page
	// Minimum: 0
	ItemCount *int64 `json:"item_count,omitempty"`

	// The maximum number of ingredients that could be returned
	// Minimum: 1
	Limit int64 `json:"limit,omitempty"`

	// The number of ingredients skipped
	// Minimum: 0
	Offset *int64 `json:"offset,omitempty"`
}

SearchIngredientsResponsePaging search ingredients response paging

swagger:model searchIngredientsResponsePaging

func (*SearchIngredientsResponsePaging) ContextValidate

func (m *SearchIngredientsResponsePaging) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this search ingredients response paging based on context it is used

func (*SearchIngredientsResponsePaging) MarshalBinary

func (m *SearchIngredientsResponsePaging) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchIngredientsResponsePaging) UnmarshalBinary

func (m *SearchIngredientsResponsePaging) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchIngredientsResponsePaging) Validate

Validate validates this search ingredients response paging

type SearchIngredientsResponseVersion

type SearchIngredientsResponseVersion struct {

	// is indemnified
	// Required: true
	IsIndemnified *bool `json:"is_indemnified"`

	// link
	// Format: uri
	Link strfmt.URI `json:"link,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

SearchIngredientsResponseVersion Search ingredients response version

swagger:model searchIngredientsResponseVersion

func (*SearchIngredientsResponseVersion) ContextValidate

func (m *SearchIngredientsResponseVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this search ingredients response version based on context it is used

func (*SearchIngredientsResponseVersion) MarshalBinary

func (m *SearchIngredientsResponseVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SearchIngredientsResponseVersion) UnmarshalBinary

func (m *SearchIngredientsResponseVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SearchIngredientsResponseVersion) Validate

Validate validates this search ingredients response version

type SelfLink struct {

	// The URI of this resource
	// Required: true
	// Format: uri
	Self *strfmt.URI `json:"self"`
}

SelfLink Self Link

swagger:model selfLink

func (*SelfLink) ContextValidate

func (m *SelfLink) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this self link based on context it is used

func (*SelfLink) MarshalBinary

func (m *SelfLink) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SelfLink) UnmarshalBinary

func (m *SelfLink) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SelfLink) Validate

func (m *SelfLink) Validate(formats strfmt.Registry) error

Validate validates this self link

type SolutionRecipe

type SolutionRecipe struct {

	// links
	// Required: true
	Links *SelfLink `json:"links"`

	// recipe
	// Required: true
	Recipe *Recipe `json:"recipe"`
}

SolutionRecipe SolverRecipe

A recipe with a URL, created by a solver, containing all required information to build for a single platform

swagger:model solutionRecipe

func (*SolutionRecipe) ContextValidate

func (m *SolutionRecipe) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this solution recipe based on the context it is used

func (*SolutionRecipe) MarshalBinary

func (m *SolutionRecipe) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolutionRecipe) UnmarshalBinary

func (m *SolutionRecipe) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolutionRecipe) Validate

func (m *SolutionRecipe) Validate(formats strfmt.Registry) error

Validate validates this solution recipe

type SolutionResponse

type SolutionResponse map[string]SolutionResponseAdditionalProperties

SolutionResponse Solver Response

The response to an order. It is a mapping of platform id to recipe id and location.

swagger:model solutionResponse

func (SolutionResponse) ContextValidate

func (m SolutionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this solution response based on the context it is used

func (SolutionResponse) Validate

func (m SolutionResponse) Validate(formats strfmt.Registry) error

Validate validates this solution response

type SolutionResponseAdditionalProperties

type SolutionResponseAdditionalProperties struct {

	// The location of the recipe
	// Required: true
	// Format: uri
	Link *strfmt.URI `json:"link"`

	// recipe id
	// Required: true
	// Format: uuid
	RecipeID *strfmt.UUID `json:"recipe_id"`
}

SolutionResponseAdditionalProperties solution response additional properties

swagger:model solutionResponseAdditionalProperties

func (*SolutionResponseAdditionalProperties) ContextValidate

func (m *SolutionResponseAdditionalProperties) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this solution response additional properties based on context it is used

func (*SolutionResponseAdditionalProperties) MarshalBinary

func (m *SolutionResponseAdditionalProperties) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolutionResponseAdditionalProperties) UnmarshalBinary

func (m *SolutionResponseAdditionalProperties) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolutionResponseAdditionalProperties) Validate

Validate validates this solution response additional properties

type SolverError

type SolverError struct {

	// When true sending the same request again may result in a different response, when false this error will always be returned for the same request
	IsTransient *bool `json:"is_transient,omitempty"`

	// message
	// Required: true
	Message *string `json:"message"`
}

SolverError Solver Error

An error response, for when resolving a recipe fails. The error may be permanent.

swagger:model solverError

func (*SolverError) ContextValidate

func (m *SolverError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this solver error based on context it is used

func (*SolverError) MarshalBinary

func (m *SolverError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolverError) UnmarshalBinary

func (m *SolverError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolverError) Validate

func (m *SolverError) Validate(formats strfmt.Registry) error

Validate validates this solver error

type SolverIncompatibility

type SolverIncompatibility struct {

	// The name of the dependency or requirement feature
	Feature string `json:"feature,omitempty"`

	// The name of the dependency or requirement namespace
	Namespace string `json:"namespace,omitempty"`

	// The id of the platform
	// Format: uuid
	PlatformID strfmt.UUID `json:"platform_id,omitempty"`

	// The name of the platform's kernel
	PlatformKernel string `json:"platform_kernel,omitempty"`

	// The type of this incompatibility
	// Required: true
	// Enum: [dependency platform requirement]
	Type *string `json:"type"`
}

SolverIncompatibility Solver Incompatibility

A requirement, transitive dependency or platform that is part of a solver error

swagger:model solverIncompatibility

func (*SolverIncompatibility) ContextValidate

func (m *SolverIncompatibility) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this solver incompatibility based on context it is used

func (*SolverIncompatibility) MarshalBinary

func (m *SolverIncompatibility) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolverIncompatibility) UnmarshalBinary

func (m *SolverIncompatibility) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolverIncompatibility) Validate

func (m *SolverIncompatibility) Validate(formats strfmt.Registry) error

Validate validates this solver incompatibility

type SolverRemediableError

type SolverRemediableError struct {

	// The type of solver error that occurred
	// Enum: [REQUIREMENT_CONFLICTS_WITH_PLATFORM REQUIREMENT_UNAVAILABLE REQUIREMENT_UNAVAILABLE_AT_TIMESTAMP TRANSITIVE_DEPENDENCY_UNAVAILABLE TRANSITIVE_DEPENDENCY_UNAVAILABLE_AT_TIMESTAMP]
	ErrorType string `json:"error_type,omitempty"`

	// A list of requirements, transitive dependencies, or platforms that caused this error
	Incompatibilities []*SolverIncompatibility `json:"incompatibilities"`

	// The requirements that caused the error
	Requirements []*OrderRequirement `json:"requirements"`

	// A list of remediations a user can take to resolve this error
	SuggestedRemediations []*SolverRemediation `json:"suggested_remediations"`
}

SolverRemediableError Solver Remediable Error

A solver error with suggested remediation steps

swagger:model solverRemediableError

func (*SolverRemediableError) ContextValidate

func (m *SolverRemediableError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this solver remediable error based on the context it is used

func (*SolverRemediableError) MarshalBinary

func (m *SolverRemediableError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolverRemediableError) UnmarshalBinary

func (m *SolverRemediableError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolverRemediableError) Validate

func (m *SolverRemediableError) Validate(formats strfmt.Registry) error

Validate validates this solver remediable error

type SolverRemediation

type SolverRemediation struct {

	// An explanation of this remediation
	// Required: true
	Command *string `json:"command"`

	// parameters
	Parameters *SolverRemediationParameters `json:"parameters,omitempty"`

	// The remediation type. Different types of remediations have different fields.
	// Required: true
	// Enum: [ADVANCE_TIMESTAMP CHANGE_REQUIREMENT_NAME CHANGE_REQUIREMENT_VERSION REMOVE_PLATFORM REMOVE_REQUIREMENT REQUEST_PACKAGE_IMPORT]
	RemediationType *string `json:"remediation_type"`
}

SolverRemediation Solver Remediation

An action that a user can take to attempt to resolve a solver error

swagger:model solverRemediation

func (*SolverRemediation) ContextValidate

func (m *SolverRemediation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this solver remediation based on the context it is used

func (*SolverRemediation) MarshalBinary

func (m *SolverRemediation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolverRemediation) UnmarshalBinary

func (m *SolverRemediation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolverRemediation) Validate

func (m *SolverRemediation) Validate(formats strfmt.Registry) error

Validate validates this solver remediation

type SolverRemediationParameters

type SolverRemediationParameters struct {

	// The name of the feature. Used by remediation types: CHANGE_REQUIREMENT_NAME, CHANGE_REQUIREMENT_VERSION, REMOVE_REQUIREMENT, and REQUEST_PACKAGE_IMPORT.
	Feature string `json:"feature,omitempty"`

	// The namespace the feature belongs to. Used by remediation types: CHANGE_REQUIREMENT_NAME, CHANGE_REQUIREMENT_VERSION, REMOVE_REQUIREMENT, and REQUEST_PACKAGE_IMPORT.
	Namespace string `json:"namespace,omitempty"`

	// The platform id. Used by remediation type: REMOVE_PLATFORM.
	// Format: uuid
	PlatformID strfmt.UUID `json:"platform_id,omitempty"`
}

SolverRemediationParameters Solver Remediation Parameters

The data associated with the remediation. The fields used differ by remediation type. The ADVANCE_TIMESTAMP remediation type uses no parameters.

swagger:model solverRemediationParameters

func (*SolverRemediationParameters) ContextValidate

func (m *SolverRemediationParameters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this solver remediation parameters based on context it is used

func (*SolverRemediationParameters) MarshalBinary

func (m *SolverRemediationParameters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolverRemediationParameters) UnmarshalBinary

func (m *SolverRemediationParameters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolverRemediationParameters) Validate

func (m *SolverRemediationParameters) Validate(formats strfmt.Registry) error

Validate validates this solver remediation parameters

type SolverValidationError

type SolverValidationError struct {
	SolverError

	SolverRemediableError

	SolverValidationErrorAllOf2
}

SolverValidationError Solver Validation Error

An error for when invalid input is supplied to a solver endpoint.

swagger:model solverValidationError

func (*SolverValidationError) ContextValidate

func (m *SolverValidationError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this solver validation error based on the context it is used

func (*SolverValidationError) MarshalBinary

func (m *SolverValidationError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (SolverValidationError) MarshalJSON

func (m SolverValidationError) MarshalJSON() ([]byte, error)

MarshalJSON marshals this object to a JSON structure

func (*SolverValidationError) UnmarshalBinary

func (m *SolverValidationError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolverValidationError) UnmarshalJSON

func (m *SolverValidationError) UnmarshalJSON(raw []byte) error

UnmarshalJSON unmarshals this object from a JSON structure

func (*SolverValidationError) Validate

func (m *SolverValidationError) Validate(formats strfmt.Registry) error

Validate validates this solver validation error

type SolverValidationErrorAllOf1

type SolverValidationErrorAllOf1 struct {

	// The list of validations errors found in the request
	// Required: true
	ValidationErrors []*SolverValidationErrorItem `json:"validation_errors"`
}

SolverValidationErrorAllOf1 solver validation error all of1

swagger:model solverValidationErrorAllOf1

func (*SolverValidationErrorAllOf1) ContextValidate

func (m *SolverValidationErrorAllOf1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this solver validation error all of1 based on the context it is used

func (*SolverValidationErrorAllOf1) MarshalBinary

func (m *SolverValidationErrorAllOf1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolverValidationErrorAllOf1) UnmarshalBinary

func (m *SolverValidationErrorAllOf1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolverValidationErrorAllOf1) Validate

func (m *SolverValidationErrorAllOf1) Validate(formats strfmt.Registry) error

Validate validates this solver validation error all of1

type SolverValidationErrorAllOf2

type SolverValidationErrorAllOf2 struct {

	// The list of validations errors found in the request
	// Required: true
	ValidationErrors []*SolverValidationErrorItem `json:"validation_errors"`
}

SolverValidationErrorAllOf2 solver validation error all of2

swagger:model solverValidationErrorAllOf2

func (*SolverValidationErrorAllOf2) ContextValidate

func (m *SolverValidationErrorAllOf2) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this solver validation error all of2 based on the context it is used

func (*SolverValidationErrorAllOf2) MarshalBinary

func (m *SolverValidationErrorAllOf2) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolverValidationErrorAllOf2) UnmarshalBinary

func (m *SolverValidationErrorAllOf2) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolverValidationErrorAllOf2) Validate

func (m *SolverValidationErrorAllOf2) Validate(formats strfmt.Registry) error

Validate validates this solver validation error all of2

type SolverValidationErrorItem

type SolverValidationErrorItem struct {

	// Human-readable message about this specific validation error
	// Required: true
	Error *string `json:"error"`

	// A JSON path to the specific field that was invalid, if applicable
	JSONPath string `json:"jsonPath,omitempty"`
}

SolverValidationErrorItem Solver Validation Error Item

A single validation error.

swagger:model solverValidationErrorItem

func (*SolverValidationErrorItem) ContextValidate

func (m *SolverValidationErrorItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this solver validation error item based on context it is used

func (*SolverValidationErrorItem) MarshalBinary

func (m *SolverValidationErrorItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SolverValidationErrorItem) UnmarshalBinary

func (m *SolverValidationErrorItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SolverValidationErrorItem) Validate

func (m *SolverValidationErrorItem) Validate(formats strfmt.Registry) error

Validate validates this solver validation error item

type UnnormalizedNames

type UnnormalizedNames struct {

	// The unnormalized names
	// Required: true
	Names []string `json:"names"`
}

UnnormalizedNames Unnormalized Names

A list of unnormalized names.

swagger:model unnormalizedNames

func (*UnnormalizedNames) ContextValidate

func (m *UnnormalizedNames) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this unnormalized names based on context it is used

func (*UnnormalizedNames) MarshalBinary

func (m *UnnormalizedNames) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UnnormalizedNames) UnmarshalBinary

func (m *UnnormalizedNames) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UnnormalizedNames) Validate

func (m *UnnormalizedNames) Validate(formats strfmt.Registry) error

Validate validates this unnormalized names

type UpdatePlatformParamsBody

type UpdatePlatformParamsBody struct {

	// The last day on which this platform will be supported. Can be omitted to clear an existing date.
	// Format: date
	EndOfSupportDate strfmt.Date `json:"end_of_support_date,omitempty"`
}

UpdatePlatformParamsBody update platform params body

swagger:model updatePlatformParamsBody

func (*UpdatePlatformParamsBody) ContextValidate

func (m *UpdatePlatformParamsBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this update platform params body based on context it is used

func (*UpdatePlatformParamsBody) MarshalBinary

func (m *UpdatePlatformParamsBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UpdatePlatformParamsBody) UnmarshalBinary

func (m *UpdatePlatformParamsBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UpdatePlatformParamsBody) Validate

func (m *UpdatePlatformParamsBody) Validate(formats strfmt.Registry) error

Validate validates this update platform params body

type VersionInfo

type VersionInfo struct {

	// An array of decimal values representing all segments of a version, ordered from most to least significant. How a version string is rendered into a list of decimals will vary depending on the format of the source string and is therefore left up to the caller, but it must be done consistently across all versions of the same resource for sorting to work properly. This is represented as a string to avoid losing precision when converting to a floating point number.
	SortableVersion []string `json:"sortable_version"`

	// The canonical version string for the resource. Should be as specific as possible (e.g. '10.9.6' of macOS instead of just '10.9'). May contain non-numeric version segments and other formatting characters if necessary.
	// Required: true
	Version *string `json:"version"`
}

VersionInfo Version Info

Properties shared by all versioned resources

swagger:model versionInfo

func (*VersionInfo) ContextValidate

func (m *VersionInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this version info based on context it is used

func (*VersionInfo) MarshalBinary

func (m *VersionInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VersionInfo) UnmarshalBinary

func (m *VersionInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VersionInfo) Validate

func (m *VersionInfo) Validate(formats strfmt.Registry) error

Validate validates this version info

type VersionRequirement

type VersionRequirement struct {

	// The operator used to compare the version against a given provided feature to determine if it meets this requirement
	// Required: true
	// Enum: [eq gt gte lt lte ne]
	Comparator *string `json:"comparator"`

	// The required version in its original form
	// Required: true
	// Min Length: 1
	Version *string `json:"version"`
}

VersionRequirement Version Requirement

The version constraint for a feature

swagger:model versionRequirement

func (*VersionRequirement) ContextValidate

func (m *VersionRequirement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this version requirement based on context it is used

func (*VersionRequirement) MarshalBinary

func (m *VersionRequirement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VersionRequirement) UnmarshalBinary

func (m *VersionRequirement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VersionRequirement) Validate

func (m *VersionRequirement) Validate(formats strfmt.Registry) error

Validate validates this version requirement

Source Files

Jump to

Keyboard shortcuts

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