model

package
v0.0.0-...-9d4efbb Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Movie

type Movie struct {

	// id
	// Required: true
	ID *int `json:"id"`
	// name
	// Required: true
	Name *string `json:"name"`

	// description
	// Required: true
	Description *string `json:"description"`

	// type
	// Required: true
	Type *string `json:"type"`
}

func (*Movie) ContextValidate

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

ContextValidate validates this product based on context it is used

func (*Movie) MarshalBinary

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

MarshalBinary interface implementation

func (*Movie) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Movie) Validate

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

Validate validates this product

Jump to

Keyboard shortcuts

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