Documentation
¶
Overview ¶
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Code generated by go generate; DO NOT EDIT. This file was generated by scripts/models/gen_nullable_types.go
Index ¶
- type Bool
- type BoolSlice
- type Byte
- type ByteSlice
- type Float32
- type Float32Slice
- type Float64
- type Float64Slice
- type Int
- type Int8
- type Int8Slice
- type Int16
- type Int16Slice
- type Int32
- type Int32Slice
- type Int64
- type Int64Slice
- type IntSlice
- type String
- type StringSlice
- type Time
- type TimeSlice
- type Uint
- type Uint8
- type Uint8Slice
- type Uint16
- type Uint16Slice
- type Uint32
- type Uint32Slice
- type Uint64
- type Uint64Slice
- type UintSlice
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
Bool represents a bool that may be null
func (*Bool) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Bool) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Bool) UnmarshalJSON ¶
type BoolSlice ¶
BoolSlice represents a []bool that may be null
func NewBoolSlice ¶
NewBoolSlice creates a new BoolSlice object
func (*BoolSlice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*BoolSlice) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*BoolSlice) UnmarshalJSON ¶
UnmarshalJSON implements json.Marshaler interface.
type Byte ¶
Byte represents a byte that may be null
func (*Byte) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Byte) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Byte) UnmarshalJSON ¶
type ByteSlice ¶
ByteSlice represents a []byte that may be null
func NewByteSlice ¶
NewByteSlice creates a new ByteSlice object
func (*ByteSlice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*ByteSlice) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*ByteSlice) UnmarshalJSON ¶
UnmarshalJSON implements json.Marshaler interface.
type Float32 ¶
type Float32 struct {
Valid bool // Valid is true if value is not null and valid float32
Value float32
}
Float32 represents a float32 that may be null
func (*Float32) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Float32) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Float32) UnmarshalJSON ¶
type Float32Slice ¶
Float32Slice represents a []float32 that may be null
func NewFloat32Slice ¶
func NewFloat32Slice(val []float32) Float32Slice
NewFloat32Slice creates a new Float32Slice object
func (*Float32Slice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Float32Slice) Get ¶
func (f *Float32Slice) Get() *[]float32
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Float32Slice) UnmarshalJSON ¶
func (f *Float32Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Marshaler interface.
type Float64 ¶
type Float64 struct {
Valid bool // Valid is true if value is not null and valid float64
Value float64
}
Float64 represents a float64 that may be null
func (*Float64) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Float64) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Float64) UnmarshalJSON ¶
type Float64Slice ¶
Float64Slice represents a []float64 that may be null
func NewFloat64Slice ¶
func NewFloat64Slice(val []float64) Float64Slice
NewFloat64Slice creates a new Float64Slice object
func (*Float64Slice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Float64Slice) Get ¶
func (f *Float64Slice) Get() *[]float64
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Float64Slice) UnmarshalJSON ¶
func (f *Float64Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Marshaler interface.
type Int ¶
Int represents a int that may be null
func (*Int) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Int) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Int) UnmarshalJSON ¶
type Int8 ¶
Int8 represents a int8 that may be null
func (*Int8) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Int8) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Int8) UnmarshalJSON ¶
type Int8Slice ¶
Int8Slice represents a []int8 that may be null
func NewInt8Slice ¶
NewInt8Slice creates a new Int8Slice object
func (*Int8Slice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Int8Slice) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Int8Slice) UnmarshalJSON ¶
UnmarshalJSON implements json.Marshaler interface.
type Int16 ¶
Int16 represents a int16 that may be null
func (*Int16) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Int16) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Int16) UnmarshalJSON ¶
type Int16Slice ¶
Int16Slice represents a []int16 that may be null
func NewInt16Slice ¶
func NewInt16Slice(val []int16) Int16Slice
NewInt16Slice creates a new Int16Slice object
func (*Int16Slice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Int16Slice) Get ¶
func (i *Int16Slice) Get() *[]int16
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Int16Slice) UnmarshalJSON ¶
func (i *Int16Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Marshaler interface.
type Int32 ¶
Int32 represents a int32 that may be null
func (*Int32) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Int32) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Int32) UnmarshalJSON ¶
type Int32Slice ¶
Int32Slice represents a []int32 that may be null
func NewInt32Slice ¶
func NewInt32Slice(val []int32) Int32Slice
NewInt32Slice creates a new Int32Slice object
func (*Int32Slice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Int32Slice) Get ¶
func (i *Int32Slice) Get() *[]int32
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Int32Slice) UnmarshalJSON ¶
func (i *Int32Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Marshaler interface.
type Int64 ¶
Int64 represents a int64 that may be null
func (*Int64) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Int64) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Int64) UnmarshalJSON ¶
type Int64Slice ¶
Int64Slice represents a []int64 that may be null
func NewInt64Slice ¶
func NewInt64Slice(val []int64) Int64Slice
NewInt64Slice creates a new Int64Slice object
func (*Int64Slice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Int64Slice) Get ¶
func (i *Int64Slice) Get() *[]int64
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Int64Slice) UnmarshalJSON ¶
func (i *Int64Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Marshaler interface.
type IntSlice ¶
IntSlice represents a []int that may be null
func (*IntSlice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*IntSlice) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*IntSlice) UnmarshalJSON ¶
UnmarshalJSON implements json.Marshaler interface.
type String ¶
type String struct {
Valid bool // Valid is true if value is not null and valid string
Value string
}
String represents a string that may be null
func (*String) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*String) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*String) UnmarshalJSON ¶
type StringSlice ¶
StringSlice represents a []string that may be null
func NewStringSlice ¶
func NewStringSlice(val []string) StringSlice
NewStringSlice creates a new StringSlice object
func (*StringSlice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*StringSlice) Get ¶
func (s *StringSlice) Get() *[]string
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*StringSlice) UnmarshalJSON ¶
func (s *StringSlice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Marshaler interface.
type Time ¶
type Time struct {
Valid bool // Valid is true if value is not null and valid time
Value time
}
Time represents a time that may be null
func (*Time) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Time) Get ¶
func (t *Time) Get() *time
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Time) UnmarshalJSON ¶
type TimeSlice ¶
type TimeSlice struct {
Valid bool // Valid is true if value is not null
Value []time
}
TimeSlice represents a []time that may be null
func NewTimeSlice ¶
func NewTimeSlice(val []time) TimeSlice
NewTimeSlice creates a new TimeSlice object
func (*TimeSlice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*TimeSlice) Get ¶
func (t *TimeSlice) Get() *[]time
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*TimeSlice) UnmarshalJSON ¶
UnmarshalJSON implements json.Marshaler interface.
type Uint ¶
Uint represents a uint that may be null
func (*Uint) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Uint) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Uint) UnmarshalJSON ¶
type Uint8 ¶
Uint8 represents a uint8 that may be null
func (*Uint8) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Uint8) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Uint8) UnmarshalJSON ¶
type Uint8Slice ¶
Uint8Slice represents a []uint8 that may be null
func NewUint8Slice ¶
func NewUint8Slice(val []uint8) Uint8Slice
NewUint8Slice creates a new Uint8Slice object
func (*Uint8Slice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Uint8Slice) Get ¶
func (u *Uint8Slice) Get() *[]uint8
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Uint8Slice) UnmarshalJSON ¶
func (u *Uint8Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Marshaler interface.
type Uint16 ¶
type Uint16 struct {
Valid bool // Valid is true if value is not null and valid uint16
Value uint16
}
Uint16 represents a uint16 that may be null
func (*Uint16) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Uint16) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Uint16) UnmarshalJSON ¶
type Uint16Slice ¶
Uint16Slice represents a []uint16 that may be null
func NewUint16Slice ¶
func NewUint16Slice(val []uint16) Uint16Slice
NewUint16Slice creates a new Uint16Slice object
func (*Uint16Slice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Uint16Slice) Get ¶
func (u *Uint16Slice) Get() *[]uint16
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Uint16Slice) UnmarshalJSON ¶
func (u *Uint16Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Marshaler interface.
type Uint32 ¶
type Uint32 struct {
Valid bool // Valid is true if value is not null and valid uint32
Value uint32
}
Uint32 represents a uint32 that may be null
func (*Uint32) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Uint32) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Uint32) UnmarshalJSON ¶
type Uint32Slice ¶
Uint32Slice represents a []uint32 that may be null
func NewUint32Slice ¶
func NewUint32Slice(val []uint32) Uint32Slice
NewUint32Slice creates a new Uint32Slice object
func (*Uint32Slice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Uint32Slice) Get ¶
func (u *Uint32Slice) Get() *[]uint32
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Uint32Slice) UnmarshalJSON ¶
func (u *Uint32Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Marshaler interface.
type Uint64 ¶
type Uint64 struct {
Valid bool // Valid is true if value is not null and valid uint64
Value uint64
}
Uint64 represents a uint64 that may be null
func (*Uint64) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Uint64) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Uint64) UnmarshalJSON ¶
type Uint64Slice ¶
Uint64Slice represents a []uint64 that may be null
func NewUint64Slice ¶
func NewUint64Slice(val []uint64) Uint64Slice
NewUint64Slice creates a new Uint64Slice object
func (*Uint64Slice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*Uint64Slice) Get ¶
func (u *Uint64Slice) Get() *[]uint64
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*Uint64Slice) UnmarshalJSON ¶
func (u *Uint64Slice) UnmarshalJSON(data []byte) error
UnmarshalJSON implements json.Marshaler interface.
type UintSlice ¶
UintSlice represents a []uint that may be null
func NewUintSlice ¶
NewUintSlice creates a new UintSlice object
func (*UintSlice) ContextValidate ¶
ContextValidate implements runtime.ContextValidatable from github.com/go-openapi/runtime
func (*UintSlice) Get ¶
Returns nil if not present or valid. Otherwise it will return a pointer to the value.
func (*UintSlice) UnmarshalJSON ¶
UnmarshalJSON implements json.Marshaler interface.