models

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 5 Imported by: 2 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvalidParam

type InvalidParam struct {

	// param
	// Required: true
	Param *string `json:"param"`

	// reason
	Reason string `json:"reason,omitempty"`
}

InvalidParam InvalidParam

swagger:model invalidParam

func (*InvalidParam) MarshalBinary

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

MarshalBinary interface implementation

func (*InvalidParam) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InvalidParam) Validate

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

Validate validates this invalid param

type ProblemDetails

type ProblemDetails struct {

	// Human readable HTTP code explanation
	Code string `json:"code,omitempty"`

	// Human readable description/detail of error
	Detail string `json:"detail,omitempty"`

	// Instance where error occured
	Instance string `json:"instance,omitempty"`

	// invalid params
	// Min Items: 1
	InvalidParams []*InvalidParam `json:"invalidParams,omitempty"`

	// HTTP status code
	Status int32 `json:"status,omitempty"`

	// Human readable title of error
	Title string `json:"title,omitempty"`

	// URI of the resource
	Type string `json:"type,omitempty"`
}

ProblemDetails ProblemDetails

swagger:model problemDetails

func (*ProblemDetails) MarshalBinary

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

MarshalBinary interface implementation

func (*ProblemDetails) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ProblemDetails) Validate

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

Validate validates this problem details

Jump to

Keyboard shortcuts

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