Documentation ¶
Index ¶
- type AliasString
- type AnyExample
- type BearerTokenAliasExample
- type BearerTokenExample
- type BinaryAliasExample
- type BinaryExample
- type BooleanAliasExample
- type BooleanExample
- type DateTimeAliasExample
- type DateTimeExample
- type DoubleAliasExample
- type DoubleExample
- type EmptyObjectExample
- type Enum
- type EnumExample
- type EnumFieldExample
- type IntegerAliasExample
- type IntegerExample
- type KebabCaseObjectExample
- type ListAnyAliasExample
- type ListBearerTokenAliasExample
- func (a ListBearerTokenAliasExample) MarshalJSON() ([]byte, error)
- func (a ListBearerTokenAliasExample) MarshalYAML() (interface{}, error)
- func (a *ListBearerTokenAliasExample) UnmarshalJSON(data []byte) error
- func (a *ListBearerTokenAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
- type ListBinaryAliasExample
- type ListBooleanAliasExample
- type ListDateTimeAliasExample
- type ListDoubleAliasExample
- type ListExample
- type ListIntegerAliasExample
- type ListRidAliasExample
- type ListSafeLongAliasExample
- type ListStringAliasExample
- type ListUuidAliasExample
- type LongFieldNameOptionalExample
- type MapBearerTokenAliasExample
- type MapBinaryAliasExample
- type MapBooleanAliasExample
- type MapDateTimeAliasExample
- type MapDoubleAliasExample
- type MapEnumExampleAlias
- type MapExample
- type MapIntegerAliasExample
- type MapRidAliasExample
- type MapSafeLongAliasExample
- type MapStringAliasExample
- type MapUuidAliasExample
- type ObjectExample
- type OptionalAnyAliasExample
- type OptionalBearerTokenAliasExample
- func (a OptionalBearerTokenAliasExample) MarshalText() ([]byte, error)
- func (a OptionalBearerTokenAliasExample) MarshalYAML() (interface{}, error)
- func (a *OptionalBearerTokenAliasExample) UnmarshalText(data []byte) error
- func (a *OptionalBearerTokenAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
- type OptionalBinaryAliasExample
- type OptionalBooleanAliasExample
- func (a OptionalBooleanAliasExample) MarshalJSON() ([]byte, error)
- func (a OptionalBooleanAliasExample) MarshalYAML() (interface{}, error)
- func (a *OptionalBooleanAliasExample) UnmarshalJSON(data []byte) error
- func (a *OptionalBooleanAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
- type OptionalBooleanExample
- type OptionalDateTimeAliasExample
- func (a OptionalDateTimeAliasExample) MarshalText() ([]byte, error)
- func (a OptionalDateTimeAliasExample) MarshalYAML() (interface{}, error)
- func (a *OptionalDateTimeAliasExample) UnmarshalText(data []byte) error
- func (a *OptionalDateTimeAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
- type OptionalDoubleAliasExample
- type OptionalExample
- type OptionalIntegerAliasExample
- func (a OptionalIntegerAliasExample) MarshalJSON() ([]byte, error)
- func (a OptionalIntegerAliasExample) MarshalYAML() (interface{}, error)
- func (a *OptionalIntegerAliasExample) UnmarshalJSON(data []byte) error
- func (a *OptionalIntegerAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
- type OptionalIntegerExample
- type OptionalRidAliasExample
- type OptionalSafeLongAliasExample
- func (a OptionalSafeLongAliasExample) MarshalJSON() ([]byte, error)
- func (a OptionalSafeLongAliasExample) MarshalYAML() (interface{}, error)
- func (a *OptionalSafeLongAliasExample) UnmarshalJSON(data []byte) error
- func (a *OptionalSafeLongAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
- type OptionalStringAliasExample
- type OptionalUuidAliasExample
- type RawOptionalExample
- type ReferenceAliasExample
- type RidAliasExample
- type RidExample
- type SafeLongAliasExample
- type SafeLongExample
- type SetAnyAliasExample
- type SetBearerTokenAliasExample
- type SetBinaryAliasExample
- type SetBooleanAliasExample
- type SetDateTimeAliasExample
- type SetDoubleAliasExample
- type SetDoubleExample
- type SetIntegerAliasExample
- type SetRidAliasExample
- type SetSafeLongAliasExample
- type SetStringAliasExample
- type SetStringExample
- type SetUuidAliasExample
- type SnakeCaseObjectExample
- type StringAliasExample
- type StringExample
- type Union
- type UnionVisitor
- type UuidAliasExample
- type UuidExample
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasString ¶
type AliasString string
type AnyExample ¶
type AnyExample struct {
Value interface{} `json:"value"`
}
func (AnyExample) MarshalYAML ¶
func (o AnyExample) MarshalYAML() (interface{}, error)
func (*AnyExample) UnmarshalYAML ¶
func (o *AnyExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type BearerTokenAliasExample ¶
type BearerTokenAliasExample bearertoken.Token
func (BearerTokenAliasExample) MarshalText ¶
func (a BearerTokenAliasExample) MarshalText() ([]byte, error)
func (BearerTokenAliasExample) MarshalYAML ¶
func (a BearerTokenAliasExample) MarshalYAML() (interface{}, error)
func (*BearerTokenAliasExample) UnmarshalText ¶
func (a *BearerTokenAliasExample) UnmarshalText(data []byte) error
func (*BearerTokenAliasExample) UnmarshalYAML ¶
func (a *BearerTokenAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type BearerTokenExample ¶
type BearerTokenExample struct {
Value bearertoken.Token `json:"value"`
}
func (BearerTokenExample) MarshalYAML ¶
func (o BearerTokenExample) MarshalYAML() (interface{}, error)
func (*BearerTokenExample) UnmarshalYAML ¶
func (o *BearerTokenExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type BinaryAliasExample ¶
type BinaryAliasExample []byte
type BinaryExample ¶
type BinaryExample struct {
Value []byte `json:"value"`
}
func (BinaryExample) MarshalJSON ¶
func (o BinaryExample) MarshalJSON() ([]byte, error)
func (BinaryExample) MarshalYAML ¶
func (o BinaryExample) MarshalYAML() (interface{}, error)
func (*BinaryExample) UnmarshalJSON ¶
func (o *BinaryExample) UnmarshalJSON(data []byte) error
func (*BinaryExample) UnmarshalYAML ¶
func (o *BinaryExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type BooleanAliasExample ¶
type BooleanAliasExample bool
type BooleanExample ¶
type BooleanExample struct {
Value bool `json:"value"`
}
func (BooleanExample) MarshalYAML ¶
func (o BooleanExample) MarshalYAML() (interface{}, error)
func (*BooleanExample) UnmarshalYAML ¶
func (o *BooleanExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type DateTimeAliasExample ¶
func (DateTimeAliasExample) MarshalText ¶
func (a DateTimeAliasExample) MarshalText() ([]byte, error)
func (DateTimeAliasExample) MarshalYAML ¶
func (a DateTimeAliasExample) MarshalYAML() (interface{}, error)
func (*DateTimeAliasExample) UnmarshalText ¶
func (a *DateTimeAliasExample) UnmarshalText(data []byte) error
func (*DateTimeAliasExample) UnmarshalYAML ¶
func (a *DateTimeAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type DateTimeExample ¶
func (DateTimeExample) MarshalYAML ¶
func (o DateTimeExample) MarshalYAML() (interface{}, error)
func (*DateTimeExample) UnmarshalYAML ¶
func (o *DateTimeExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type DoubleAliasExample ¶
type DoubleAliasExample float64
type DoubleExample ¶
type DoubleExample struct {
Value float64 `json:"value"`
}
func (DoubleExample) MarshalYAML ¶
func (o DoubleExample) MarshalYAML() (interface{}, error)
func (*DoubleExample) UnmarshalYAML ¶
func (o *DoubleExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type EmptyObjectExample ¶
type EmptyObjectExample struct { }
func (EmptyObjectExample) MarshalYAML ¶
func (o EmptyObjectExample) MarshalYAML() (interface{}, error)
func (*EmptyObjectExample) UnmarshalYAML ¶
func (o *EmptyObjectExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type EnumExample ¶
type EnumExample string
const ( EnumExampleOne EnumExample = "ONE" EnumExampleTwo EnumExample = "TWO" EnumExampleUnknown EnumExample = "UNKNOWN" )
func (*EnumExample) UnmarshalText ¶
func (e *EnumExample) UnmarshalText(data []byte) error
type EnumFieldExample ¶
type EnumFieldExample struct {
Enum EnumExample `json:"enum"`
}
func (EnumFieldExample) MarshalYAML ¶
func (o EnumFieldExample) MarshalYAML() (interface{}, error)
func (*EnumFieldExample) UnmarshalYAML ¶
func (o *EnumFieldExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type IntegerAliasExample ¶
type IntegerAliasExample int
type IntegerExample ¶
type IntegerExample struct {
Value int `json:"value"`
}
func (IntegerExample) MarshalYAML ¶
func (o IntegerExample) MarshalYAML() (interface{}, error)
func (*IntegerExample) UnmarshalYAML ¶
func (o *IntegerExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type KebabCaseObjectExample ¶
type KebabCaseObjectExample struct {
KebabCasedField int `json:"kebab-cased-field"`
}
func (KebabCaseObjectExample) MarshalYAML ¶
func (o KebabCaseObjectExample) MarshalYAML() (interface{}, error)
func (*KebabCaseObjectExample) UnmarshalYAML ¶
func (o *KebabCaseObjectExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type ListAnyAliasExample ¶
type ListAnyAliasExample []interface{}
type ListBearerTokenAliasExample ¶
type ListBearerTokenAliasExample []bearertoken.Token
func (ListBearerTokenAliasExample) MarshalJSON ¶
func (a ListBearerTokenAliasExample) MarshalJSON() ([]byte, error)
func (ListBearerTokenAliasExample) MarshalYAML ¶
func (a ListBearerTokenAliasExample) MarshalYAML() (interface{}, error)
func (*ListBearerTokenAliasExample) UnmarshalJSON ¶
func (a *ListBearerTokenAliasExample) UnmarshalJSON(data []byte) error
func (*ListBearerTokenAliasExample) UnmarshalYAML ¶
func (a *ListBearerTokenAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type ListBinaryAliasExample ¶
type ListBinaryAliasExample [][]byte
type ListBooleanAliasExample ¶
type ListBooleanAliasExample []bool
type ListDateTimeAliasExample ¶
func (ListDateTimeAliasExample) MarshalJSON ¶
func (a ListDateTimeAliasExample) MarshalJSON() ([]byte, error)
func (ListDateTimeAliasExample) MarshalYAML ¶
func (a ListDateTimeAliasExample) MarshalYAML() (interface{}, error)
func (*ListDateTimeAliasExample) UnmarshalJSON ¶
func (a *ListDateTimeAliasExample) UnmarshalJSON(data []byte) error
func (*ListDateTimeAliasExample) UnmarshalYAML ¶
func (a *ListDateTimeAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type ListDoubleAliasExample ¶
type ListDoubleAliasExample []float64
type ListExample ¶
type ListExample struct {
Value []string `json:"value"`
}
func (ListExample) MarshalJSON ¶
func (o ListExample) MarshalJSON() ([]byte, error)
func (ListExample) MarshalYAML ¶
func (o ListExample) MarshalYAML() (interface{}, error)
func (*ListExample) UnmarshalJSON ¶
func (o *ListExample) UnmarshalJSON(data []byte) error
func (*ListExample) UnmarshalYAML ¶
func (o *ListExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type ListIntegerAliasExample ¶
type ListIntegerAliasExample []int
type ListRidAliasExample ¶
type ListRidAliasExample []rid.ResourceIdentifier
func (ListRidAliasExample) MarshalJSON ¶
func (a ListRidAliasExample) MarshalJSON() ([]byte, error)
func (ListRidAliasExample) MarshalYAML ¶
func (a ListRidAliasExample) MarshalYAML() (interface{}, error)
func (*ListRidAliasExample) UnmarshalJSON ¶
func (a *ListRidAliasExample) UnmarshalJSON(data []byte) error
func (*ListRidAliasExample) UnmarshalYAML ¶
func (a *ListRidAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type ListSafeLongAliasExample ¶
func (ListSafeLongAliasExample) MarshalJSON ¶
func (a ListSafeLongAliasExample) MarshalJSON() ([]byte, error)
func (ListSafeLongAliasExample) MarshalYAML ¶
func (a ListSafeLongAliasExample) MarshalYAML() (interface{}, error)
func (*ListSafeLongAliasExample) UnmarshalJSON ¶
func (a *ListSafeLongAliasExample) UnmarshalJSON(data []byte) error
func (*ListSafeLongAliasExample) UnmarshalYAML ¶
func (a *ListSafeLongAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type ListStringAliasExample ¶
type ListStringAliasExample []string
type ListUuidAliasExample ¶
func (ListUuidAliasExample) MarshalJSON ¶
func (a ListUuidAliasExample) MarshalJSON() ([]byte, error)
func (ListUuidAliasExample) MarshalYAML ¶
func (a ListUuidAliasExample) MarshalYAML() (interface{}, error)
func (*ListUuidAliasExample) UnmarshalJSON ¶
func (a *ListUuidAliasExample) UnmarshalJSON(data []byte) error
func (*ListUuidAliasExample) UnmarshalYAML ¶
func (a *ListUuidAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type LongFieldNameOptionalExample ¶
type LongFieldNameOptionalExample struct {
SomeLongName *string `json:"someLongName"`
}
func (LongFieldNameOptionalExample) MarshalYAML ¶
func (o LongFieldNameOptionalExample) MarshalYAML() (interface{}, error)
func (*LongFieldNameOptionalExample) UnmarshalYAML ¶
func (o *LongFieldNameOptionalExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type MapBearerTokenAliasExample ¶
type MapBearerTokenAliasExample map[bearertoken.Token]bool
func (MapBearerTokenAliasExample) MarshalJSON ¶
func (a MapBearerTokenAliasExample) MarshalJSON() ([]byte, error)
func (MapBearerTokenAliasExample) MarshalYAML ¶
func (a MapBearerTokenAliasExample) MarshalYAML() (interface{}, error)
func (*MapBearerTokenAliasExample) UnmarshalJSON ¶
func (a *MapBearerTokenAliasExample) UnmarshalJSON(data []byte) error
func (*MapBearerTokenAliasExample) UnmarshalYAML ¶
func (a *MapBearerTokenAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type MapBinaryAliasExample ¶
func (MapBinaryAliasExample) MarshalJSON ¶
func (a MapBinaryAliasExample) MarshalJSON() ([]byte, error)
func (MapBinaryAliasExample) MarshalYAML ¶
func (a MapBinaryAliasExample) MarshalYAML() (interface{}, error)
func (*MapBinaryAliasExample) UnmarshalJSON ¶
func (a *MapBinaryAliasExample) UnmarshalJSON(data []byte) error
func (*MapBinaryAliasExample) UnmarshalYAML ¶
func (a *MapBinaryAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type MapBooleanAliasExample ¶
type MapDateTimeAliasExample ¶
func (MapDateTimeAliasExample) MarshalJSON ¶
func (a MapDateTimeAliasExample) MarshalJSON() ([]byte, error)
func (MapDateTimeAliasExample) MarshalYAML ¶
func (a MapDateTimeAliasExample) MarshalYAML() (interface{}, error)
func (*MapDateTimeAliasExample) UnmarshalJSON ¶
func (a *MapDateTimeAliasExample) UnmarshalJSON(data []byte) error
func (*MapDateTimeAliasExample) UnmarshalYAML ¶
func (a *MapDateTimeAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type MapDoubleAliasExample ¶
type MapEnumExampleAlias ¶
type MapEnumExampleAlias map[EnumExample]string
func (MapEnumExampleAlias) MarshalJSON ¶
func (a MapEnumExampleAlias) MarshalJSON() ([]byte, error)
func (MapEnumExampleAlias) MarshalYAML ¶
func (a MapEnumExampleAlias) MarshalYAML() (interface{}, error)
func (*MapEnumExampleAlias) UnmarshalJSON ¶
func (a *MapEnumExampleAlias) UnmarshalJSON(data []byte) error
func (*MapEnumExampleAlias) UnmarshalYAML ¶
func (a *MapEnumExampleAlias) UnmarshalYAML(unmarshal func(interface{}) error) error
type MapExample ¶
func (MapExample) MarshalJSON ¶
func (o MapExample) MarshalJSON() ([]byte, error)
func (MapExample) MarshalYAML ¶
func (o MapExample) MarshalYAML() (interface{}, error)
func (*MapExample) UnmarshalJSON ¶
func (o *MapExample) UnmarshalJSON(data []byte) error
func (*MapExample) UnmarshalYAML ¶
func (o *MapExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type MapIntegerAliasExample ¶
type MapRidAliasExample ¶
type MapRidAliasExample map[rid.ResourceIdentifier]bool
func (MapRidAliasExample) MarshalJSON ¶
func (a MapRidAliasExample) MarshalJSON() ([]byte, error)
func (MapRidAliasExample) MarshalYAML ¶
func (a MapRidAliasExample) MarshalYAML() (interface{}, error)
func (*MapRidAliasExample) UnmarshalJSON ¶
func (a *MapRidAliasExample) UnmarshalJSON(data []byte) error
func (*MapRidAliasExample) UnmarshalYAML ¶
func (a *MapRidAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type MapSafeLongAliasExample ¶
func (MapSafeLongAliasExample) MarshalJSON ¶
func (a MapSafeLongAliasExample) MarshalJSON() ([]byte, error)
func (MapSafeLongAliasExample) MarshalYAML ¶
func (a MapSafeLongAliasExample) MarshalYAML() (interface{}, error)
func (*MapSafeLongAliasExample) UnmarshalJSON ¶
func (a *MapSafeLongAliasExample) UnmarshalJSON(data []byte) error
func (*MapSafeLongAliasExample) UnmarshalYAML ¶
func (a *MapSafeLongAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type MapStringAliasExample ¶
type MapUuidAliasExample ¶
func (MapUuidAliasExample) MarshalJSON ¶
func (a MapUuidAliasExample) MarshalJSON() ([]byte, error)
func (MapUuidAliasExample) MarshalYAML ¶
func (a MapUuidAliasExample) MarshalYAML() (interface{}, error)
func (*MapUuidAliasExample) UnmarshalJSON ¶
func (a *MapUuidAliasExample) UnmarshalJSON(data []byte) error
func (*MapUuidAliasExample) UnmarshalYAML ¶
func (a *MapUuidAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type ObjectExample ¶
type ObjectExample struct { String string `json:"string"` Integer int `json:"integer"` DoubleValue float64 `json:"doubleValue"` OptionalItem *string `json:"optionalItem"` Items []string `json:"items"` Set []string `json:"set"` Map map[string]string `json:"map"` Alias StringAliasExample `json:"alias"` }
func (ObjectExample) MarshalJSON ¶
func (o ObjectExample) MarshalJSON() ([]byte, error)
func (ObjectExample) MarshalYAML ¶
func (o ObjectExample) MarshalYAML() (interface{}, error)
func (*ObjectExample) UnmarshalJSON ¶
func (o *ObjectExample) UnmarshalJSON(data []byte) error
func (*ObjectExample) UnmarshalYAML ¶
func (o *ObjectExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalAnyAliasExample ¶
type OptionalAnyAliasExample struct {
Value *interface{}
}
func (OptionalAnyAliasExample) MarshalJSON ¶
func (a OptionalAnyAliasExample) MarshalJSON() ([]byte, error)
func (OptionalAnyAliasExample) MarshalYAML ¶
func (a OptionalAnyAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalAnyAliasExample) UnmarshalJSON ¶
func (a *OptionalAnyAliasExample) UnmarshalJSON(data []byte) error
func (*OptionalAnyAliasExample) UnmarshalYAML ¶
func (a *OptionalAnyAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalBearerTokenAliasExample ¶
type OptionalBearerTokenAliasExample struct {
Value *bearertoken.Token
}
func (OptionalBearerTokenAliasExample) MarshalText ¶
func (a OptionalBearerTokenAliasExample) MarshalText() ([]byte, error)
func (OptionalBearerTokenAliasExample) MarshalYAML ¶
func (a OptionalBearerTokenAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalBearerTokenAliasExample) UnmarshalText ¶
func (a *OptionalBearerTokenAliasExample) UnmarshalText(data []byte) error
func (*OptionalBearerTokenAliasExample) UnmarshalYAML ¶
func (a *OptionalBearerTokenAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalBinaryAliasExample ¶
type OptionalBinaryAliasExample struct {
Value *[]byte
}
func (OptionalBinaryAliasExample) MarshalJSON ¶
func (a OptionalBinaryAliasExample) MarshalJSON() ([]byte, error)
func (OptionalBinaryAliasExample) MarshalYAML ¶
func (a OptionalBinaryAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalBinaryAliasExample) UnmarshalJSON ¶
func (a *OptionalBinaryAliasExample) UnmarshalJSON(data []byte) error
func (*OptionalBinaryAliasExample) UnmarshalYAML ¶
func (a *OptionalBinaryAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalBooleanAliasExample ¶
type OptionalBooleanAliasExample struct {
Value *bool
}
func (OptionalBooleanAliasExample) MarshalJSON ¶
func (a OptionalBooleanAliasExample) MarshalJSON() ([]byte, error)
func (OptionalBooleanAliasExample) MarshalYAML ¶
func (a OptionalBooleanAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalBooleanAliasExample) UnmarshalJSON ¶
func (a *OptionalBooleanAliasExample) UnmarshalJSON(data []byte) error
func (*OptionalBooleanAliasExample) UnmarshalYAML ¶
func (a *OptionalBooleanAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalBooleanExample ¶
type OptionalBooleanExample struct {
Value *bool `json:"value"`
}
func (OptionalBooleanExample) MarshalYAML ¶
func (o OptionalBooleanExample) MarshalYAML() (interface{}, error)
func (*OptionalBooleanExample) UnmarshalYAML ¶
func (o *OptionalBooleanExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalDateTimeAliasExample ¶
func (OptionalDateTimeAliasExample) MarshalText ¶
func (a OptionalDateTimeAliasExample) MarshalText() ([]byte, error)
func (OptionalDateTimeAliasExample) MarshalYAML ¶
func (a OptionalDateTimeAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalDateTimeAliasExample) UnmarshalText ¶
func (a *OptionalDateTimeAliasExample) UnmarshalText(data []byte) error
func (*OptionalDateTimeAliasExample) UnmarshalYAML ¶
func (a *OptionalDateTimeAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalDoubleAliasExample ¶
type OptionalDoubleAliasExample struct {
Value *float64
}
func (OptionalDoubleAliasExample) MarshalJSON ¶
func (a OptionalDoubleAliasExample) MarshalJSON() ([]byte, error)
func (OptionalDoubleAliasExample) MarshalYAML ¶
func (a OptionalDoubleAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalDoubleAliasExample) UnmarshalJSON ¶
func (a *OptionalDoubleAliasExample) UnmarshalJSON(data []byte) error
func (*OptionalDoubleAliasExample) UnmarshalYAML ¶
func (a *OptionalDoubleAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalExample ¶
type OptionalExample struct {
Value *string `json:"value"`
}
func (OptionalExample) MarshalYAML ¶
func (o OptionalExample) MarshalYAML() (interface{}, error)
func (*OptionalExample) UnmarshalYAML ¶
func (o *OptionalExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalIntegerAliasExample ¶
type OptionalIntegerAliasExample struct {
Value *int
}
func (OptionalIntegerAliasExample) MarshalJSON ¶
func (a OptionalIntegerAliasExample) MarshalJSON() ([]byte, error)
func (OptionalIntegerAliasExample) MarshalYAML ¶
func (a OptionalIntegerAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalIntegerAliasExample) UnmarshalJSON ¶
func (a *OptionalIntegerAliasExample) UnmarshalJSON(data []byte) error
func (*OptionalIntegerAliasExample) UnmarshalYAML ¶
func (a *OptionalIntegerAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalIntegerExample ¶
type OptionalIntegerExample struct {
Value *int `json:"value"`
}
func (OptionalIntegerExample) MarshalYAML ¶
func (o OptionalIntegerExample) MarshalYAML() (interface{}, error)
func (*OptionalIntegerExample) UnmarshalYAML ¶
func (o *OptionalIntegerExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalRidAliasExample ¶
type OptionalRidAliasExample struct {
Value *rid.ResourceIdentifier
}
func (OptionalRidAliasExample) MarshalText ¶
func (a OptionalRidAliasExample) MarshalText() ([]byte, error)
func (OptionalRidAliasExample) MarshalYAML ¶
func (a OptionalRidAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalRidAliasExample) UnmarshalText ¶
func (a *OptionalRidAliasExample) UnmarshalText(data []byte) error
func (*OptionalRidAliasExample) UnmarshalYAML ¶
func (a *OptionalRidAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalSafeLongAliasExample ¶
func (OptionalSafeLongAliasExample) MarshalJSON ¶
func (a OptionalSafeLongAliasExample) MarshalJSON() ([]byte, error)
func (OptionalSafeLongAliasExample) MarshalYAML ¶
func (a OptionalSafeLongAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalSafeLongAliasExample) UnmarshalJSON ¶
func (a *OptionalSafeLongAliasExample) UnmarshalJSON(data []byte) error
func (*OptionalSafeLongAliasExample) UnmarshalYAML ¶
func (a *OptionalSafeLongAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalStringAliasExample ¶
type OptionalStringAliasExample struct {
Value *string
}
func (OptionalStringAliasExample) MarshalText ¶
func (a OptionalStringAliasExample) MarshalText() ([]byte, error)
func (OptionalStringAliasExample) MarshalYAML ¶
func (a OptionalStringAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalStringAliasExample) UnmarshalText ¶
func (a *OptionalStringAliasExample) UnmarshalText(data []byte) error
func (*OptionalStringAliasExample) UnmarshalYAML ¶
func (a *OptionalStringAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type OptionalUuidAliasExample ¶
func (OptionalUuidAliasExample) MarshalText ¶
func (a OptionalUuidAliasExample) MarshalText() ([]byte, error)
func (OptionalUuidAliasExample) MarshalYAML ¶
func (a OptionalUuidAliasExample) MarshalYAML() (interface{}, error)
func (*OptionalUuidAliasExample) UnmarshalText ¶
func (a *OptionalUuidAliasExample) UnmarshalText(data []byte) error
func (*OptionalUuidAliasExample) UnmarshalYAML ¶
func (a *OptionalUuidAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type RawOptionalExample ¶
type RawOptionalExample struct {
Value *int
}
func (RawOptionalExample) MarshalJSON ¶
func (a RawOptionalExample) MarshalJSON() ([]byte, error)
func (RawOptionalExample) MarshalYAML ¶
func (a RawOptionalExample) MarshalYAML() (interface{}, error)
func (*RawOptionalExample) UnmarshalJSON ¶
func (a *RawOptionalExample) UnmarshalJSON(data []byte) error
func (*RawOptionalExample) UnmarshalYAML ¶
func (a *RawOptionalExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type ReferenceAliasExample ¶
type ReferenceAliasExample AnyExample
func (ReferenceAliasExample) MarshalJSON ¶
func (a ReferenceAliasExample) MarshalJSON() ([]byte, error)
func (ReferenceAliasExample) MarshalYAML ¶
func (a ReferenceAliasExample) MarshalYAML() (interface{}, error)
func (*ReferenceAliasExample) UnmarshalJSON ¶
func (a *ReferenceAliasExample) UnmarshalJSON(data []byte) error
func (*ReferenceAliasExample) UnmarshalYAML ¶
func (a *ReferenceAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type RidAliasExample ¶
type RidAliasExample rid.ResourceIdentifier
func (RidAliasExample) MarshalText ¶
func (a RidAliasExample) MarshalText() ([]byte, error)
func (RidAliasExample) MarshalYAML ¶
func (a RidAliasExample) MarshalYAML() (interface{}, error)
func (*RidAliasExample) UnmarshalText ¶
func (a *RidAliasExample) UnmarshalText(data []byte) error
func (*RidAliasExample) UnmarshalYAML ¶
func (a *RidAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type RidExample ¶
type RidExample struct {
Value rid.ResourceIdentifier `json:"value"`
}
func (RidExample) MarshalYAML ¶
func (o RidExample) MarshalYAML() (interface{}, error)
func (*RidExample) UnmarshalYAML ¶
func (o *RidExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type SafeLongAliasExample ¶
func (SafeLongAliasExample) MarshalJSON ¶
func (a SafeLongAliasExample) MarshalJSON() ([]byte, error)
func (SafeLongAliasExample) MarshalYAML ¶
func (a SafeLongAliasExample) MarshalYAML() (interface{}, error)
func (*SafeLongAliasExample) UnmarshalJSON ¶
func (a *SafeLongAliasExample) UnmarshalJSON(data []byte) error
func (*SafeLongAliasExample) UnmarshalYAML ¶
func (a *SafeLongAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type SafeLongExample ¶
func (SafeLongExample) MarshalYAML ¶
func (o SafeLongExample) MarshalYAML() (interface{}, error)
func (*SafeLongExample) UnmarshalYAML ¶
func (o *SafeLongExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type SetAnyAliasExample ¶
type SetAnyAliasExample []interface{}
type SetBearerTokenAliasExample ¶
type SetBearerTokenAliasExample []bearertoken.Token
func (SetBearerTokenAliasExample) MarshalJSON ¶
func (a SetBearerTokenAliasExample) MarshalJSON() ([]byte, error)
func (SetBearerTokenAliasExample) MarshalYAML ¶
func (a SetBearerTokenAliasExample) MarshalYAML() (interface{}, error)
func (*SetBearerTokenAliasExample) UnmarshalJSON ¶
func (a *SetBearerTokenAliasExample) UnmarshalJSON(data []byte) error
func (*SetBearerTokenAliasExample) UnmarshalYAML ¶
func (a *SetBearerTokenAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type SetBinaryAliasExample ¶
type SetBinaryAliasExample [][]byte
type SetBooleanAliasExample ¶
type SetBooleanAliasExample []bool
type SetDateTimeAliasExample ¶
func (SetDateTimeAliasExample) MarshalJSON ¶
func (a SetDateTimeAliasExample) MarshalJSON() ([]byte, error)
func (SetDateTimeAliasExample) MarshalYAML ¶
func (a SetDateTimeAliasExample) MarshalYAML() (interface{}, error)
func (*SetDateTimeAliasExample) UnmarshalJSON ¶
func (a *SetDateTimeAliasExample) UnmarshalJSON(data []byte) error
func (*SetDateTimeAliasExample) UnmarshalYAML ¶
func (a *SetDateTimeAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type SetDoubleAliasExample ¶
type SetDoubleAliasExample []float64
type SetDoubleExample ¶
type SetDoubleExample struct {
Value []float64 `json:"value"`
}
func (SetDoubleExample) MarshalJSON ¶
func (o SetDoubleExample) MarshalJSON() ([]byte, error)
func (SetDoubleExample) MarshalYAML ¶
func (o SetDoubleExample) MarshalYAML() (interface{}, error)
func (*SetDoubleExample) UnmarshalJSON ¶
func (o *SetDoubleExample) UnmarshalJSON(data []byte) error
func (*SetDoubleExample) UnmarshalYAML ¶
func (o *SetDoubleExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type SetIntegerAliasExample ¶
type SetIntegerAliasExample []int
type SetRidAliasExample ¶
type SetRidAliasExample []rid.ResourceIdentifier
func (SetRidAliasExample) MarshalJSON ¶
func (a SetRidAliasExample) MarshalJSON() ([]byte, error)
func (SetRidAliasExample) MarshalYAML ¶
func (a SetRidAliasExample) MarshalYAML() (interface{}, error)
func (*SetRidAliasExample) UnmarshalJSON ¶
func (a *SetRidAliasExample) UnmarshalJSON(data []byte) error
func (*SetRidAliasExample) UnmarshalYAML ¶
func (a *SetRidAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type SetSafeLongAliasExample ¶
func (SetSafeLongAliasExample) MarshalJSON ¶
func (a SetSafeLongAliasExample) MarshalJSON() ([]byte, error)
func (SetSafeLongAliasExample) MarshalYAML ¶
func (a SetSafeLongAliasExample) MarshalYAML() (interface{}, error)
func (*SetSafeLongAliasExample) UnmarshalJSON ¶
func (a *SetSafeLongAliasExample) UnmarshalJSON(data []byte) error
func (*SetSafeLongAliasExample) UnmarshalYAML ¶
func (a *SetSafeLongAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type SetStringAliasExample ¶
type SetStringAliasExample []string
type SetStringExample ¶
type SetStringExample struct {
Value []string `json:"value"`
}
func (SetStringExample) MarshalJSON ¶
func (o SetStringExample) MarshalJSON() ([]byte, error)
func (SetStringExample) MarshalYAML ¶
func (o SetStringExample) MarshalYAML() (interface{}, error)
func (*SetStringExample) UnmarshalJSON ¶
func (o *SetStringExample) UnmarshalJSON(data []byte) error
func (*SetStringExample) UnmarshalYAML ¶
func (o *SetStringExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type SetUuidAliasExample ¶
func (SetUuidAliasExample) MarshalJSON ¶
func (a SetUuidAliasExample) MarshalJSON() ([]byte, error)
func (SetUuidAliasExample) MarshalYAML ¶
func (a SetUuidAliasExample) MarshalYAML() (interface{}, error)
func (*SetUuidAliasExample) UnmarshalJSON ¶
func (a *SetUuidAliasExample) UnmarshalJSON(data []byte) error
func (*SetUuidAliasExample) UnmarshalYAML ¶
func (a *SetUuidAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type SnakeCaseObjectExample ¶
type SnakeCaseObjectExample struct {
SnakeCasedField int `json:"snake_cased_field"`
}
func (SnakeCaseObjectExample) MarshalYAML ¶
func (o SnakeCaseObjectExample) MarshalYAML() (interface{}, error)
func (*SnakeCaseObjectExample) UnmarshalYAML ¶
func (o *SnakeCaseObjectExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type StringAliasExample ¶
type StringAliasExample string
type StringExample ¶
type StringExample struct {
Value string `json:"value"`
}
func (StringExample) MarshalYAML ¶
func (o StringExample) MarshalYAML() (interface{}, error)
func (*StringExample) UnmarshalYAML ¶
func (o *StringExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type Union ¶
type Union struct {
// contains filtered or unexported fields
}
A type which can either be a StringExample, a set of strings, or an integer.
func NewUnionFromIf ¶
func NewUnionFromInterface ¶
func NewUnionFromNew ¶
func NewUnionFromSet ¶
func NewUnionFromStringExample ¶
func NewUnionFromStringExample(v StringExample) Union
func (*Union) Accept ¶
func (u *Union) Accept(v UnionVisitor) error
func (Union) MarshalJSON ¶
func (Union) MarshalYAML ¶
func (*Union) UnmarshalJSON ¶
func (*Union) UnmarshalYAML ¶
type UnionVisitor ¶
type UuidAliasExample ¶
func (UuidAliasExample) MarshalText ¶
func (a UuidAliasExample) MarshalText() ([]byte, error)
func (UuidAliasExample) MarshalYAML ¶
func (a UuidAliasExample) MarshalYAML() (interface{}, error)
func (*UuidAliasExample) UnmarshalText ¶
func (a *UuidAliasExample) UnmarshalText(data []byte) error
func (*UuidAliasExample) UnmarshalYAML ¶
func (a *UuidAliasExample) UnmarshalYAML(unmarshal func(interface{}) error) error
type UuidExample ¶
func (UuidExample) MarshalYAML ¶
func (o UuidExample) MarshalYAML() (interface{}, error)
func (*UuidExample) UnmarshalYAML ¶
func (o *UuidExample) UnmarshalYAML(unmarshal func(interface{}) error) error
Click to show internal directories.
Click to hide internal directories.