models

package
v0.0.0-demo Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2018 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

	// a human-readable explanation specific to this occurrence of the problem.
	Detail string `json:"detail,omitempty"`

	// source
	Source *ErrorSource `json:"source,omitempty"`

	// a short, human-readable summary of the problem that SHOULD NOT change from occurrence to occurrence of the problem.
	Title string `json:"title,omitempty"`
}

Error error swagger:model Error

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type ErrorResponse

type ErrorResponse struct {

	// errors
	Errors ErrorResponseErrors `json:"errors"`
}

ErrorResponse error response swagger:model ErrorResponse

func (*ErrorResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorResponse) Validate

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

Validate validates this error response

type ErrorResponseErrors

type ErrorResponseErrors []*Error

ErrorResponseErrors error response errors swagger:model errorResponseErrors

func (ErrorResponseErrors) Validate

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

Validate validates this error response errors

type ErrorSource

type ErrorSource struct {

	// pointer
	Pointer string `json:"pointer,omitempty"`
}

ErrorSource error source swagger:model errorSource

func (*ErrorSource) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorSource) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorSource) Validate

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

Validate validates this error source

type HealthCheckResponse

type HealthCheckResponse struct {

	// The status of the service
	Status string `json:"status,omitempty"`
}

HealthCheckResponse health check response swagger:model HealthCheckResponse

func (*HealthCheckResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*HealthCheckResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*HealthCheckResponse) Validate

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

Validate validates this health check response

type ProcessResponse

type ProcessResponse struct {

	// id
	ID string `json:"id,omitempty"`
}

ProcessResponse process response swagger:model ProcessResponse

func (*ProcessResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*ProcessResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProcessResponse) Validate

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

Validate validates this process response

type Resource

type Resource interface{}

Resource resource swagger:model Resource

type ResourceResponse

type ResourceResponse interface{}

ResourceResponse resource response swagger:model ResourceResponse

Jump to

Keyboard shortcuts

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