models

package
v0.0.0-...-7b99a6d Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2024 License: Apache-2.0 Imports: 4 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 {

	// details
	Details interface{} `json:"details,omitempty" yaml:"details,omitempty"`

	// error
	Error string `json:"error,omitempty" yaml:"error,omitempty"`

	// status code
	StatusCode int64 `json:"status_code,omitempty" yaml:"status_code,omitempty"`
}

Error HTTP error response

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 Styling

type Styling struct {

	// colors
	Colors StylingColors `json:"colors,omitempty" yaml:"colors,omitempty"`

	// font url
	FontURL string `json:"font_url,omitempty" yaml:"font_url,omitempty"`

	// logo size
	LogoSize string `json:"logo_size,omitempty" yaml:"logo_size,omitempty"`

	// logo url
	LogoURL string `json:"logo_url,omitempty" yaml:"logo_url,omitempty"`
}

Styling styling

swagger:model Styling

func (*Styling) ContextValidate

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

ContextValidate validate this styling based on the context it is used

func (*Styling) MarshalBinary

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

MarshalBinary interface implementation

func (*Styling) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Styling) Validate

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

Validate validates this styling

type StylingColors

type StylingColors struct {

	// background
	Background string `json:"background,omitempty" yaml:"background,omitempty"`

	// header
	Header string `json:"header,omitempty" yaml:"header,omitempty"`

	// primary
	Primary string `json:"primary,omitempty" yaml:"primary,omitempty"`
}

StylingColors styling colors

swagger:model StylingColors

func (*StylingColors) ContextValidate

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

ContextValidate validates this styling colors based on context it is used

func (*StylingColors) MarshalBinary

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

MarshalBinary interface implementation

func (*StylingColors) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*StylingColors) Validate

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

Validate validates this styling colors

Jump to

Keyboard shortcuts

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