models

package
v0.5.29 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BadRequest

type BadRequest struct {

	// Bad request message
	// Required: true
	Error *string `json:"error"`
}

BadRequest Bad request

Bad request model

swagger:model bad_request

func (*BadRequest) ContextValidate

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

ContextValidate validates this bad request based on context it is used

func (*BadRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*BadRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*BadRequest) Validate

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

Validate validates this bad request

type ErrorLimited

type ErrorLimited struct {

	// Error limited message
	// Required: true
	Error *string `json:"error"`
}

ErrorLimited Error limited

Error limited model

swagger:model error_limited

func (*ErrorLimited) ContextValidate

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

ContextValidate validates this error limited based on context it is used

func (*ErrorLimited) MarshalBinary

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

MarshalBinary interface implementation

func (*ErrorLimited) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ErrorLimited) Validate

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

Validate validates this error limited

type Forbidden

type Forbidden struct {

	// Forbidden message
	// Required: true
	Error *string `json:"error"`

	// status code received from SSO
	SsoStatus int64 `json:"sso_status,omitempty"`
}

Forbidden Forbidden

Forbidden model

swagger:model forbidden

func (*Forbidden) ContextValidate

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

ContextValidate validates this forbidden based on context it is used

func (*Forbidden) MarshalBinary

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

MarshalBinary interface implementation

func (*Forbidden) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Forbidden) Validate

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

Validate validates this forbidden

type GatewayTimeout

type GatewayTimeout struct {

	// Gateway timeout message
	// Required: true
	Error *string `json:"error"`

	// number of seconds the request was given
	Timeout int64 `json:"timeout,omitempty"`
}

GatewayTimeout Gateway timeout

Gateway timeout model

swagger:model gateway_timeout

func (*GatewayTimeout) ContextValidate

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

ContextValidate validates this gateway timeout based on context it is used

func (*GatewayTimeout) MarshalBinary

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

MarshalBinary interface implementation

func (*GatewayTimeout) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*GatewayTimeout) Validate

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

Validate validates this gateway timeout

type InternalServerError

type InternalServerError struct {

	// Internal server error message
	// Required: true
	Error *string `json:"error"`
}

InternalServerError Internal server error

Internal server error model

swagger:model internal_server_error

func (*InternalServerError) ContextValidate

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

ContextValidate validates this internal server error based on context it is used

func (*InternalServerError) MarshalBinary

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

MarshalBinary interface implementation

func (*InternalServerError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*InternalServerError) Validate

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

Validate validates this internal server error

type ServiceUnavailable

type ServiceUnavailable struct {

	// Service unavailable message
	// Required: true
	Error *string `json:"error"`
}

ServiceUnavailable Service unavailable

Service unavailable model

swagger:model service_unavailable

func (*ServiceUnavailable) ContextValidate

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

ContextValidate validates this service unavailable based on context it is used

func (*ServiceUnavailable) MarshalBinary

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

MarshalBinary interface implementation

func (*ServiceUnavailable) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*ServiceUnavailable) Validate

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

Validate validates this service unavailable

type Unauthorized

type Unauthorized struct {

	// Unauthorized message
	// Required: true
	Error *string `json:"error"`
}

Unauthorized Unauthorized

Unauthorized model

swagger:model unauthorized

func (*Unauthorized) ContextValidate

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

ContextValidate validates this unauthorized based on context it is used

func (*Unauthorized) MarshalBinary

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

MarshalBinary interface implementation

func (*Unauthorized) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Unauthorized) Validate

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

Validate validates this unauthorized

Jump to

Keyboard shortcuts

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