models

package
v0.0.0-...-6be4e04 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 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 ApplicationVersion

type ApplicationVersion struct {

	// version
	// Required: true
	Version *string `json:"version"`
}

ApplicationVersion application version

swagger:model ApplicationVersion

func (*ApplicationVersion) ContextValidate

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

ContextValidate validates this application version based on context it is used

func (*ApplicationVersion) MarshalBinary

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

MarshalBinary interface implementation

func (*ApplicationVersion) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ApplicationVersion) Validate

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

Validate validates this application version

type ConsumeOptions

type ConsumeOptions struct {

	// major
	// Required: true
	Major *int32 `json:"major"`

	// minor
	// Required: true
	Minor *int32 `json:"minor"`

	// patch
	// Required: true
	Patch *int32 `json:"patch"`

	// postfix
	Postfix string `json:"postfix,omitempty"`
}

ConsumeOptions consume options

swagger:model ConsumeOptions

func (*ConsumeOptions) ContextValidate

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

ContextValidate validates this consume options based on context it is used

func (*ConsumeOptions) MarshalBinary

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

MarshalBinary interface implementation

func (*ConsumeOptions) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ConsumeOptions) Validate

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

Validate validates this consume options

type DefaultError

type DefaultError struct {

	// code
	// Required: true
	Code *int32 `json:"code"`

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

DefaultError default error

swagger:model DefaultError

func (*DefaultError) ContextValidate

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

ContextValidate validates this default error based on context it is used

func (*DefaultError) MarshalBinary

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

MarshalBinary interface implementation

func (*DefaultError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*DefaultError) Validate

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

Validate validates this default error

Jump to

Keyboard shortcuts

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