models

package
v0.0.0-...-dcf5433 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Constraint

type Constraint struct {

	// dimension
	Dimension int64 `json:"dimension,omitempty"`

	// rhs
	RHS float64 `json:"rhs,omitempty"`

	// vector
	Vector []Value `json:"vector"`
}

Constraint constraint swagger:model constraint

func (*Constraint) Validate

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

Validate validates this constraint

type ConstraintSet

type ConstraintSet struct {

	// constraints
	Constraints []*Constraint `json:"constraints"`
}

ConstraintSet constraint set swagger:model constraintSet

func (*ConstraintSet) Validate

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

Validate validates this constraint set

type Convexhull

type Convexhull struct {

	// vertices
	Vertices []Value `json:"vertices"`
}

Convexhull convexhull swagger:model convexhull

func (*Convexhull) Validate

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

Validate validates this convexhull

type Error

type Error struct {

	// code
	Code int64 `json:"code,omitempty"`

	// fields
	Fields string `json:"fields,omitempty"`

	// message
	// Required: true
	Message *string `json:"message"`
}

Error error swagger:model error

func (*Error) Validate

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

Validate validates this error

type Principal

type Principal string

Principal principal swagger:model principal

func (Principal) Validate

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

Validate validates this principal

type Value

type Value float64

Value value swagger:model value

func (Value) Validate

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

Validate validates this value

type Version

type Version string

Version version swagger:model version

func (Version) Validate

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

Validate validates this version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL