models

package
v0.0.0-...-edab1ae Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 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 Error

type Error struct {

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

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

Error error

swagger:model error

func (*Error) ContextValidate

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

ContextValidate validates this error based on context it is used

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 File

type File struct {

	// count
	Count int64 `json:"count,omitempty"`

	// ext
	Ext string `json:"ext,omitempty"`

	// id
	ID int64 `json:"id,omitempty"`

	// loc
	Loc string `json:"loc,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// size
	Size int64 `json:"size,omitempty"`
}

File file

swagger:model file

func (*File) ContextValidate

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

ContextValidate validates this file based on context it is used

func (*File) MarshalBinary

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

MarshalBinary interface implementation

func (*File) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*File) Validate

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

Validate validates this file

type Files

type Files []*File

Files files

swagger:model files

func (Files) ContextValidate

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

ContextValidate validate this files based on the context it is used

func (Files) Validate

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

Validate validates this files

Jump to

Keyboard shortcuts

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