output

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOpenAPISpecJSON

func GetOpenAPISpecJSON() ([]byte, error)

GetOpenAPISpecJSON returns the raw OpenAPI spec as JSON bytes.

Types

type FilterColumnIncludes

type FilterColumnIncludes struct {
	DollarSignIncludes   *FilterPredicate `form:"$includes,omitempty" json:"$includes,omitempty"`
	AdditionalProperties map[string]any   `json:"-"`
}

#/components/schemas/FilterColumnIncludes

func (*FilterColumnIncludes) ApplyDefaults

func (s *FilterColumnIncludes) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (FilterColumnIncludes) Get

func (a FilterColumnIncludes) Get(fieldName string) (value any, found bool)

Get returns the specified additional property value and whether it was found.

func (FilterColumnIncludes) MarshalJSON

func (a FilterColumnIncludes) MarshalJSON() ([]byte, error)

func (*FilterColumnIncludes) Set

func (a *FilterColumnIncludes) Set(fieldName string, value any)

Set sets an additional property value.

func (*FilterColumnIncludes) UnmarshalJSON

func (a *FilterColumnIncludes) UnmarshalJSON(b []byte) error

type FilterPredicate

type FilterPredicate struct {
	// contains filtered or unexported fields
}

func (*FilterPredicate) ApplyDefaults

func (t *FilterPredicate) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (FilterPredicate) AsFilterPredicateOneOf1

func (t FilterPredicate) AsFilterPredicateOneOf1() (FilterPredicateOneOf1, error)

AsFilterPredicateOneOf1 returns the union data inside the FilterPredicate as a FilterPredicateOneOf1.

func (FilterPredicate) AsFilterPredicateOp

func (t FilterPredicate) AsFilterPredicateOp() (FilterPredicateOp, error)

AsFilterPredicateOp returns the union data inside the FilterPredicate as a FilterPredicateOp.

func (FilterPredicate) AsFilterPredicateRangeOp

func (t FilterPredicate) AsFilterPredicateRangeOp() (FilterPredicateRangeOp, error)

AsFilterPredicateRangeOp returns the union data inside the FilterPredicate as a FilterPredicateRangeOp.

func (FilterPredicate) AsFilterValue

func (t FilterPredicate) AsFilterValue() (FilterValue, error)

AsFilterValue returns the union data inside the FilterPredicate as a FilterValue.

func (*FilterPredicate) FromFilterPredicateOneOf1

func (t *FilterPredicate) FromFilterPredicateOneOf1(v FilterPredicateOneOf1) error

FromFilterPredicateOneOf1 overwrites any union data inside the FilterPredicate as the provided FilterPredicateOneOf1.

func (*FilterPredicate) FromFilterPredicateOp

func (t *FilterPredicate) FromFilterPredicateOp(v FilterPredicateOp) error

FromFilterPredicateOp overwrites any union data inside the FilterPredicate as the provided FilterPredicateOp.

func (*FilterPredicate) FromFilterPredicateRangeOp

func (t *FilterPredicate) FromFilterPredicateRangeOp(v FilterPredicateRangeOp) error

FromFilterPredicateRangeOp overwrites any union data inside the FilterPredicate as the provided FilterPredicateRangeOp.

func (*FilterPredicate) FromFilterValue

func (t *FilterPredicate) FromFilterValue(v FilterValue) error

FromFilterValue overwrites any union data inside the FilterPredicate as the provided FilterValue.

func (FilterPredicate) MarshalJSON

func (t FilterPredicate) MarshalJSON() ([]byte, error)

func (*FilterPredicate) MergeFilterPredicateOneOf1

func (t *FilterPredicate) MergeFilterPredicateOneOf1(v FilterPredicateOneOf1) error

MergeFilterPredicateOneOf1 performs a merge with any union data inside the FilterPredicate, using the provided FilterPredicateOneOf1.

func (*FilterPredicate) MergeFilterPredicateOp

func (t *FilterPredicate) MergeFilterPredicateOp(v FilterPredicateOp) error

MergeFilterPredicateOp performs a merge with any union data inside the FilterPredicate, using the provided FilterPredicateOp.

func (*FilterPredicate) MergeFilterPredicateRangeOp

func (t *FilterPredicate) MergeFilterPredicateRangeOp(v FilterPredicateRangeOp) error

MergeFilterPredicateRangeOp performs a merge with any union data inside the FilterPredicate, using the provided FilterPredicateRangeOp.

func (*FilterPredicate) MergeFilterValue

func (t *FilterPredicate) MergeFilterValue(v FilterValue) error

MergeFilterValue performs a merge with any union data inside the FilterPredicate, using the provided FilterValue.

func (*FilterPredicate) UnmarshalJSON

func (t *FilterPredicate) UnmarshalJSON(b []byte) error

type FilterPredicateOneOf1

type FilterPredicateOneOf1 = []FilterPredicate

#/components/schemas/FilterPredicate/oneOf/1

type FilterPredicateOp

type FilterPredicateOp struct {
	DollarSignAny        *FilterPredicateOpAny  `form:"$any,omitempty" json:"$any,omitempty"`
	DollarSignNone       *FilterPredicateOpNone `form:"$none,omitempty" json:"$none,omitempty"`
	AdditionalProperties map[string]any         `json:"-"`
}

#/components/schemas/FilterPredicateOp

func (*FilterPredicateOp) ApplyDefaults

func (s *FilterPredicateOp) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (FilterPredicateOp) Get

func (a FilterPredicateOp) Get(fieldName string) (value any, found bool)

Get returns the specified additional property value and whether it was found.

func (FilterPredicateOp) MarshalJSON

func (a FilterPredicateOp) MarshalJSON() ([]byte, error)

func (*FilterPredicateOp) Set

func (a *FilterPredicateOp) Set(fieldName string, value any)

Set sets an additional property value.

func (*FilterPredicateOp) UnmarshalJSON

func (a *FilterPredicateOp) UnmarshalJSON(b []byte) error

type FilterPredicateOpAny

type FilterPredicateOpAny struct {
	// contains filtered or unexported fields
}

func (*FilterPredicateOpAny) ApplyDefaults

func (t *FilterPredicateOpAny) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (FilterPredicateOpAny) AsFilterPredicateOpAnyOneOf0

func (t FilterPredicateOpAny) AsFilterPredicateOpAnyOneOf0() (FilterPredicateOpAnyOneOf0, error)

AsFilterPredicateOpAnyOneOf0 returns the union data inside the FilterPredicateOpAny as a FilterPredicateOpAnyOneOf0.

func (*FilterPredicateOpAny) FromFilterPredicateOpAnyOneOf0

func (t *FilterPredicateOpAny) FromFilterPredicateOpAnyOneOf0(v FilterPredicateOpAnyOneOf0) error

FromFilterPredicateOpAnyOneOf0 overwrites any union data inside the FilterPredicateOpAny as the provided FilterPredicateOpAnyOneOf0.

func (FilterPredicateOpAny) MarshalJSON

func (t FilterPredicateOpAny) MarshalJSON() ([]byte, error)

func (*FilterPredicateOpAny) MergeFilterPredicateOpAnyOneOf0

func (t *FilterPredicateOpAny) MergeFilterPredicateOpAnyOneOf0(v FilterPredicateOpAnyOneOf0) error

MergeFilterPredicateOpAnyOneOf0 performs a merge with any union data inside the FilterPredicateOpAny, using the provided FilterPredicateOpAnyOneOf0.

func (*FilterPredicateOpAny) UnmarshalJSON

func (t *FilterPredicateOpAny) UnmarshalJSON(b []byte) error

type FilterPredicateOpAnyOneOf0

type FilterPredicateOpAnyOneOf0 = []FilterPredicate

#/components/schemas/FilterPredicateOp/properties/$any/oneOf/0

type FilterPredicateOpNone

type FilterPredicateOpNone struct {
	// contains filtered or unexported fields
}

func (*FilterPredicateOpNone) ApplyDefaults

func (t *FilterPredicateOpNone) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (FilterPredicateOpNone) AsFilterPredicate

func (t FilterPredicateOpNone) AsFilterPredicate() (FilterPredicate, error)

AsFilterPredicate returns the union data inside the FilterPredicateOpNone as a FilterPredicate.

func (FilterPredicateOpNone) AsFilterPredicateOpNoneOneOf1

func (t FilterPredicateOpNone) AsFilterPredicateOpNoneOneOf1() (FilterPredicateOpNoneOneOf1, error)

AsFilterPredicateOpNoneOneOf1 returns the union data inside the FilterPredicateOpNone as a FilterPredicateOpNoneOneOf1.

func (*FilterPredicateOpNone) FromFilterPredicate

func (t *FilterPredicateOpNone) FromFilterPredicate(v FilterPredicate) error

FromFilterPredicate overwrites any union data inside the FilterPredicateOpNone as the provided FilterPredicate.

func (*FilterPredicateOpNone) FromFilterPredicateOpNoneOneOf1

func (t *FilterPredicateOpNone) FromFilterPredicateOpNoneOneOf1(v FilterPredicateOpNoneOneOf1) error

FromFilterPredicateOpNoneOneOf1 overwrites any union data inside the FilterPredicateOpNone as the provided FilterPredicateOpNoneOneOf1.

func (FilterPredicateOpNone) MarshalJSON

func (t FilterPredicateOpNone) MarshalJSON() ([]byte, error)

func (*FilterPredicateOpNone) MergeFilterPredicate

func (t *FilterPredicateOpNone) MergeFilterPredicate(v FilterPredicate) error

MergeFilterPredicate performs a merge with any union data inside the FilterPredicateOpNone, using the provided FilterPredicate.

func (*FilterPredicateOpNone) MergeFilterPredicateOpNoneOneOf1

func (t *FilterPredicateOpNone) MergeFilterPredicateOpNoneOneOf1(v FilterPredicateOpNoneOneOf1) error

MergeFilterPredicateOpNoneOneOf1 performs a merge with any union data inside the FilterPredicateOpNone, using the provided FilterPredicateOpNoneOneOf1.

func (*FilterPredicateOpNone) UnmarshalJSON

func (t *FilterPredicateOpNone) UnmarshalJSON(b []byte) error

type FilterPredicateOpNoneOneOf1

type FilterPredicateOpNoneOneOf1 = []FilterPredicate

#/components/schemas/FilterPredicateOp/properties/$none/oneOf/1

type FilterPredicateRangeOp

type FilterPredicateRangeOp struct {
	DollarSignLt         *FilterRangeValue `form:"$lt,omitempty" json:"$lt,omitempty"`
	AdditionalProperties map[string]any    `json:"-"`
}

#/components/schemas/FilterPredicateRangeOp

func (*FilterPredicateRangeOp) ApplyDefaults

func (s *FilterPredicateRangeOp) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (FilterPredicateRangeOp) Get

func (a FilterPredicateRangeOp) Get(fieldName string) (value any, found bool)

Get returns the specified additional property value and whether it was found.

func (FilterPredicateRangeOp) MarshalJSON

func (a FilterPredicateRangeOp) MarshalJSON() ([]byte, error)

func (*FilterPredicateRangeOp) Set

func (a *FilterPredicateRangeOp) Set(fieldName string, value any)

Set sets an additional property value.

func (*FilterPredicateRangeOp) UnmarshalJSON

func (a *FilterPredicateRangeOp) UnmarshalJSON(b []byte) error

type FilterRangeValue

type FilterRangeValue struct {
	// contains filtered or unexported fields
}

func (*FilterRangeValue) ApplyDefaults

func (t *FilterRangeValue) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (FilterRangeValue) AsFloat320

func (t FilterRangeValue) AsFloat320() (float32, error)

AsFloat320 returns the union data inside the FilterRangeValue as a float32.

func (FilterRangeValue) AsString1

func (t FilterRangeValue) AsString1() (string, error)

AsString1 returns the union data inside the FilterRangeValue as a string.

func (*FilterRangeValue) FromFloat320

func (t *FilterRangeValue) FromFloat320(v float32) error

FromFloat320 overwrites any union data inside the FilterRangeValue as the provided float32.

func (*FilterRangeValue) FromString1

func (t *FilterRangeValue) FromString1(v string) error

FromString1 overwrites any union data inside the FilterRangeValue as the provided string.

func (FilterRangeValue) MarshalJSON

func (t FilterRangeValue) MarshalJSON() ([]byte, error)

func (*FilterRangeValue) MergeFloat320

func (t *FilterRangeValue) MergeFloat320(v float32) error

MergeFloat320 performs a merge with any union data inside the FilterRangeValue, using the provided float32.

func (*FilterRangeValue) MergeString1

func (t *FilterRangeValue) MergeString1(v string) error

MergeString1 performs a merge with any union data inside the FilterRangeValue, using the provided string.

func (*FilterRangeValue) UnmarshalJSON

func (t *FilterRangeValue) UnmarshalJSON(b []byte) error

type FilterValue

type FilterValue struct {
	// contains filtered or unexported fields
}

func (*FilterValue) ApplyDefaults

func (t *FilterValue) ApplyDefaults()

ApplyDefaults sets default values for fields that are nil.

func (FilterValue) AsBool2

func (t FilterValue) AsBool2() (bool, error)

AsBool2 returns the union data inside the FilterValue as a bool.

func (FilterValue) AsFloat320

func (t FilterValue) AsFloat320() (float32, error)

AsFloat320 returns the union data inside the FilterValue as a float32.

func (FilterValue) AsString1

func (t FilterValue) AsString1() (string, error)

AsString1 returns the union data inside the FilterValue as a string.

func (*FilterValue) FromBool2

func (t *FilterValue) FromBool2(v bool) error

FromBool2 overwrites any union data inside the FilterValue as the provided bool.

func (*FilterValue) FromFloat320

func (t *FilterValue) FromFloat320(v float32) error

FromFloat320 overwrites any union data inside the FilterValue as the provided float32.

func (*FilterValue) FromString1

func (t *FilterValue) FromString1(v string) error

FromString1 overwrites any union data inside the FilterValue as the provided string.

func (FilterValue) MarshalJSON

func (t FilterValue) MarshalJSON() ([]byte, error)

func (*FilterValue) MergeBool2

func (t *FilterValue) MergeBool2(v bool) error

MergeBool2 performs a merge with any union data inside the FilterValue, using the provided bool.

func (*FilterValue) MergeFloat320

func (t *FilterValue) MergeFloat320(v float32) error

MergeFloat320 performs a merge with any union data inside the FilterValue, using the provided float32.

func (*FilterValue) MergeString1

func (t *FilterValue) MergeString1(v string) error

MergeString1 performs a merge with any union data inside the FilterValue, using the provided string.

func (*FilterValue) UnmarshalJSON

func (t *FilterValue) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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