models

package
v0.0.0-...-0997622 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2017 License: Apache-2.0 Imports: 4 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressConfig

type AddressConfig struct {

	// flavor
	Flavor string `json:"flavor,omitempty"`

	// multicast
	// Required: true
	Multicast *bool `json:"multicast"`

	// store and forward
	// Required: true
	StoreAndForward *bool `json:"store_and_forward"`
}

AddressConfig address config swagger:model AddressConfig

func (*AddressConfig) Validate

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

Validate validates this address config

type AddressConfigMap

type AddressConfigMap map[string]AddressConfig

AddressConfigMap address config map swagger:model AddressConfigMap

func (AddressConfigMap) Validate

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

Validate validates this address config map

type AddressList

type AddressList []string

AddressList address list swagger:model AddressList

func (AddressList) Validate

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

Validate validates this address list

type ErrorModel

type ErrorModel struct {

	// An explanation of the specific error that has occurred
	// Required: true
	Details *string `json:"details"`

	// HTTP status code
	// Required: true
	Status *int32 `json:"status"`

	// A brief summary of the error, this should remain consistent
	// between errors of the same class
	// Required: true
	Title *string `json:"title"`
}

ErrorModel error model swagger:model ErrorModel

func (*ErrorModel) Validate

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

Validate validates this error model

type ErrorResponse

type ErrorResponse struct {

	// List of errors returned
	// Required: true
	// Min Items: 1
	Errors []*ErrorModel `json:"errors"`
}

ErrorResponse error response swagger:model ErrorResponse

func (*ErrorResponse) Validate

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

Validate validates this error response

Jump to

Keyboard shortcuts

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