models

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApimodelsHTTPError

type ApimodelsHTTPError struct {

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

	// message
	Message string `json:"message,omitempty"`
}

ApimodelsHTTPError apimodels Http error

swagger:model apimodels.HttpError

func (*ApimodelsHTTPError) ContextValidate

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

ContextValidate validates this apimodels Http error based on context it is used

func (*ApimodelsHTTPError) MarshalBinary

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

MarshalBinary interface implementation

func (*ApimodelsHTTPError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ApimodelsHTTPError) Validate

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

Validate validates this apimodels Http error

type V1VersionResponse

type V1VersionResponse struct {

	// build timestamp
	BuildTimestamp string `json:"build_timestamp,omitempty"`

	// commit hash
	CommitHash string `json:"commit_hash,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

V1VersionResponse v1 version response

swagger:model v1.VersionResponse

func (*V1VersionResponse) ContextValidate

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

ContextValidate validates this v1 version response based on context it is used

func (*V1VersionResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1VersionResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1VersionResponse) Validate

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

Validate validates this v1 version response

Jump to

Keyboard shortcuts

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