Documentation ¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- type APIKey
- type AnyTest
- func (s *AnyTest) Decode(d *jx.Decoder) error
- func (s *AnyTest) Encode(e *jx.Encoder)
- func (s *AnyTest) GetAnyArray() []jx.Raw
- func (s *AnyTest) GetAnyMap() OptAnyTestAnyMap
- func (s *AnyTest) GetEmpty() jx.Raw
- func (s *AnyTest) MarshalJSON() ([]byte, error)
- func (s *AnyTest) SetAnyArray(val []jx.Raw)
- func (s *AnyTest) SetAnyMap(val OptAnyTestAnyMap)
- func (s *AnyTest) SetEmpty(val jx.Raw)
- func (s *AnyTest) UnmarshalJSON(data []byte) error
- type AnyTestAnyMap
- type ArrayTest
- func (s *ArrayTest) Decode(d *jx.Decoder) error
- func (s *ArrayTest) Encode(e *jx.Encoder)
- func (s *ArrayTest) GetNullableOptional() OptNilStringArray
- func (s *ArrayTest) GetNullableRequired() []string
- func (s *ArrayTest) GetOptional() []string
- func (s *ArrayTest) GetRequired() []string
- func (s *ArrayTest) MarshalJSON() ([]byte, error)
- func (s *ArrayTest) SetNullableOptional(val OptNilStringArray)
- func (s *ArrayTest) SetNullableRequired(val []string)
- func (s *ArrayTest) SetOptional(val []string)
- func (s *ArrayTest) SetRequired(val []string)
- func (s *ArrayTest) UnmarshalJSON(data []byte) error
- func (s *ArrayTest) Validate() error
- type Data
- func (s *Data) Decode(d *jx.Decoder) error
- func (s *Data) Encode(e *jx.Encoder)
- func (s *Data) GetBase64() []byte
- func (s *Data) GetDescription() DataDescription
- func (s *Data) GetEmail() string
- func (s *Data) GetFormat() string
- func (s *Data) GetHostname() string
- func (s *Data) GetID() ID
- func (s *Data) GetNullableEnum() OptNullableEnums
- func (s *Data) MarshalJSON() ([]byte, error)
- func (s *Data) SetBase64(val []byte)
- func (s *Data) SetDescription(val DataDescription)
- func (s *Data) SetEmail(val string)
- func (s *Data) SetFormat(val string)
- func (s *Data) SetHostname(val string)
- func (s *Data) SetID(val ID)
- func (s *Data) SetNullableEnum(val OptNullableEnums)
- func (s *Data) UnmarshalJSON(data []byte) error
- func (s *Data) Validate() error
- type DataDescription
- func (s *DataDescription) Decode(d *jx.Decoder) error
- func (s DataDescription) Encode(e *jx.Encoder)
- func (s DataDescription) GetDescriptionDetailed() (v DescriptionDetailed, ok bool)
- func (s DataDescription) GetDescriptionSimple() (v DescriptionSimple, ok bool)
- func (s DataDescription) IsDescriptionDetailed() bool
- func (s DataDescription) IsDescriptionSimple() bool
- func (s DataDescription) MarshalJSON() ([]byte, error)
- func (s *DataDescription) SetDescriptionDetailed(v DescriptionDetailed)
- func (s *DataDescription) SetDescriptionSimple(v DescriptionSimple)
- func (s *DataDescription) UnmarshalJSON(data []byte) error
- type DataDescriptionType
- type DataGetFormatParams
- type DefaultTest
- func (s *DefaultTest) Decode(d *jx.Decoder) error
- func (s *DefaultTest) Encode(e *jx.Encoder)
- func (s *DefaultTest) GetBase64() []byte
- func (s *DefaultTest) GetBirthday() OptDate
- func (s *DefaultTest) GetEmail() OptString
- func (s *DefaultTest) GetEnum() OptDefaultTestEnum
- func (s *DefaultTest) GetFormat() OptString
- func (s *DefaultTest) GetHostname() OptString
- func (s *DefaultTest) GetIP() OptIP
- func (s *DefaultTest) GetIPV4() OptIPv4
- func (s *DefaultTest) GetIPV6() OptIPv6
- func (s *DefaultTest) GetNullStr() OptNilString
- func (s *DefaultTest) GetRate() OptDuration
- func (s *DefaultTest) GetRequired() string
- func (s *DefaultTest) GetStr() OptString
- func (s *DefaultTest) GetURI() OptURI
- func (s *DefaultTest) GetUUID() OptUUID
- func (s *DefaultTest) MarshalJSON() ([]byte, error)
- func (s *DefaultTest) SetBase64(val []byte)
- func (s *DefaultTest) SetBirthday(val OptDate)
- func (s *DefaultTest) SetEmail(val OptString)
- func (s *DefaultTest) SetEnum(val OptDefaultTestEnum)
- func (s *DefaultTest) SetFormat(val OptString)
- func (s *DefaultTest) SetHostname(val OptString)
- func (s *DefaultTest) SetIP(val OptIP)
- func (s *DefaultTest) SetIPV4(val OptIPv4)
- func (s *DefaultTest) SetIPV6(val OptIPv6)
- func (s *DefaultTest) SetNullStr(val OptNilString)
- func (s *DefaultTest) SetRate(val OptDuration)
- func (s *DefaultTest) SetRequired(val string)
- func (s *DefaultTest) SetStr(val OptString)
- func (s *DefaultTest) SetURI(val OptURI)
- func (s *DefaultTest) SetUUID(val OptUUID)
- func (s *DefaultTest) UnmarshalJSON(data []byte) error
- func (s *DefaultTest) Validate() error
- type DefaultTestEnum
- func (DefaultTestEnum) AllValues() []DefaultTestEnum
- func (s *DefaultTestEnum) Decode(d *jx.Decoder) error
- func (s DefaultTestEnum) Encode(e *jx.Encoder)
- func (s DefaultTestEnum) MarshalJSON() ([]byte, error)
- func (s DefaultTestEnum) MarshalText() ([]byte, error)
- func (s *DefaultTestEnum) UnmarshalJSON(data []byte) error
- func (s *DefaultTestEnum) UnmarshalText(data []byte) error
- func (s DefaultTestEnum) Validate() error
- type DefaultTestParams
- type DescriptionDetailed
- func (s *DescriptionDetailed) Decode(d *jx.Decoder) error
- func (s *DescriptionDetailed) Encode(e *jx.Encoder)
- func (s *DescriptionDetailed) GetCount() int
- func (s *DescriptionDetailed) GetID() OptID
- func (s *DescriptionDetailed) GetName() string
- func (s *DescriptionDetailed) MarshalJSON() ([]byte, error)
- func (s *DescriptionDetailed) SetCount(val int)
- func (s *DescriptionDetailed) SetID(val OptID)
- func (s *DescriptionDetailed) SetName(val string)
- func (s *DescriptionDetailed) UnmarshalJSON(data []byte) error
- type DescriptionSimple
- func (s *DescriptionSimple) Decode(d *jx.Decoder) error
- func (s *DescriptionSimple) Encode(e *jx.Encoder)
- func (s *DescriptionSimple) GetDescription() string
- func (s *DescriptionSimple) MarshalJSON() ([]byte, error)
- func (s *DescriptionSimple) SetDescription(val string)
- func (s *DescriptionSimple) UnmarshalJSON(data []byte) error
- type Error
- func (s *Error) Decode(d *jx.Decoder) error
- func (s *Error) Encode(e *jx.Encoder)
- func (s *Error) GetCode() int64
- func (s *Error) GetMessage() string
- func (s *Error) MarshalJSON() ([]byte, error)
- func (s *Error) SetCode(val int64)
- func (s *Error) SetMessage(val string)
- func (s *Error) UnmarshalJSON(data []byte) error
- type ErrorHandler
- type ErrorStatusCode
- type FoobarGetParams
- type FoobarGetRes
- type FoobarPostRes
- type FoobarPutDef
- type Handler
- type ID
- func (s *ID) Decode(d *jx.Decoder) error
- func (s ID) Encode(e *jx.Encoder)
- func (s ID) GetInt() (v int, ok bool)
- func (s ID) GetString() (v string, ok bool)
- func (s ID) IsInt() bool
- func (s ID) IsString() bool
- func (s ID) MarshalJSON() ([]byte, error)
- func (s *ID) SetInt(v int)
- func (s *ID) SetString(v string)
- func (s *ID) UnmarshalJSON(data []byte) error
- type IDType
- type InlineDiscriminatorOneOf
- func (s *InlineDiscriminatorOneOf) Decode(d *jx.Decoder) error
- func (s *InlineDiscriminatorOneOf) Encode(e *jx.Encoder)
- func (s *InlineDiscriminatorOneOf) GetCommon() string
- func (s *InlineDiscriminatorOneOf) GetOneOf() InlineDiscriminatorOneOfSum
- func (s *InlineDiscriminatorOneOf) MarshalJSON() ([]byte, error)
- func (s *InlineDiscriminatorOneOf) SetCommon(val string)
- func (s *InlineDiscriminatorOneOf) SetOneOf(val InlineDiscriminatorOneOfSum)
- func (s *InlineDiscriminatorOneOf) UnmarshalJSON(data []byte) error
- type InlineDiscriminatorOneOfSum
- func (s *InlineDiscriminatorOneOfSum) Decode(d *jx.Decoder) error
- func (s InlineDiscriminatorOneOfSum) Encode(e *jx.Encoder)
- func (s InlineDiscriminatorOneOfSum) GetInlineOneOfBar() (v InlineOneOfBar, ok bool)
- func (s InlineDiscriminatorOneOfSum) GetInlineOneOfFoo() (v InlineOneOfFoo, ok bool)
- func (s InlineDiscriminatorOneOfSum) IsInlineOneOfBar() bool
- func (s InlineDiscriminatorOneOfSum) IsInlineOneOfFoo() bool
- func (s InlineDiscriminatorOneOfSum) MarshalJSON() ([]byte, error)
- func (s *InlineDiscriminatorOneOfSum) SetInlineOneOfBar(v InlineOneOfBar)
- func (s *InlineDiscriminatorOneOfSum) SetInlineOneOfFoo(v InlineOneOfFoo)
- func (s *InlineDiscriminatorOneOfSum) UnmarshalJSON(data []byte) error
- type InlineDiscriminatorOneOfSumType
- type InlineOneOfBar
- func (s *InlineOneOfBar) Decode(d *jx.Decoder) error
- func (s *InlineOneOfBar) Encode(e *jx.Encoder)
- func (s *InlineOneOfBar) GetBar() OptString
- func (s *InlineOneOfBar) GetKind() OptString
- func (s *InlineOneOfBar) MarshalJSON() ([]byte, error)
- func (s *InlineOneOfBar) SetBar(val OptString)
- func (s *InlineOneOfBar) SetKind(val OptString)
- func (s *InlineOneOfBar) UnmarshalJSON(data []byte) error
- type InlineOneOfFoo
- func (s *InlineOneOfFoo) Decode(d *jx.Decoder) error
- func (s *InlineOneOfFoo) Encode(e *jx.Encoder)
- func (s *InlineOneOfFoo) GetFoo() OptString
- func (s *InlineOneOfFoo) GetKind() OptString
- func (s *InlineOneOfFoo) MarshalJSON() ([]byte, error)
- func (s *InlineOneOfFoo) SetFoo(val OptString)
- func (s *InlineOneOfFoo) SetKind(val OptString)
- func (s *InlineOneOfFoo) UnmarshalJSON(data []byte) error
- type InlineUniqueFieldsOneOf
- func (s *InlineUniqueFieldsOneOf) Decode(d *jx.Decoder) error
- func (s *InlineUniqueFieldsOneOf) Encode(e *jx.Encoder)
- func (s *InlineUniqueFieldsOneOf) GetCommon() string
- func (s *InlineUniqueFieldsOneOf) GetOneOf() InlineUniqueFieldsOneOfSum
- func (s *InlineUniqueFieldsOneOf) MarshalJSON() ([]byte, error)
- func (s *InlineUniqueFieldsOneOf) SetCommon(val string)
- func (s *InlineUniqueFieldsOneOf) SetOneOf(val InlineUniqueFieldsOneOfSum)
- func (s *InlineUniqueFieldsOneOf) UnmarshalJSON(data []byte) error
- type InlineUniqueFieldsOneOfSum
- func (s *InlineUniqueFieldsOneOfSum) Decode(d *jx.Decoder) error
- func (s InlineUniqueFieldsOneOfSum) Encode(e *jx.Encoder)
- func (s InlineUniqueFieldsOneOfSum) GetInlineOneOfBar() (v InlineOneOfBar, ok bool)
- func (s InlineUniqueFieldsOneOfSum) GetInlineOneOfFoo() (v InlineOneOfFoo, ok bool)
- func (s InlineUniqueFieldsOneOfSum) IsInlineOneOfBar() bool
- func (s InlineUniqueFieldsOneOfSum) IsInlineOneOfFoo() bool
- func (s InlineUniqueFieldsOneOfSum) MarshalJSON() ([]byte, error)
- func (s *InlineUniqueFieldsOneOfSum) SetInlineOneOfBar(v InlineOneOfBar)
- func (s *InlineUniqueFieldsOneOfSum) SetInlineOneOfFoo(v InlineOneOfFoo)
- func (s *InlineUniqueFieldsOneOfSum) UnmarshalJSON(data []byte) error
- type InlineUniqueFieldsOneOfSumType
- type Issue1310
- func (s *Issue1310) Decode(d *jx.Decoder) error
- func (s *Issue1310) Encode(e *jx.Encoder)
- func (s *Issue1310) GetDetails() OptString
- func (s *Issue1310) GetProperties() OptIssue1310Properties
- func (s *Issue1310) GetTitle() OptString
- func (s *Issue1310) MarshalJSON() ([]byte, error)
- func (s *Issue1310) SetDetails(val OptString)
- func (s *Issue1310) SetProperties(val OptIssue1310Properties)
- func (s *Issue1310) SetTitle(val OptString)
- func (s *Issue1310) UnmarshalJSON(data []byte) error
- type Issue1310Properties
- type Issue143
- func (s *Issue143) Decode(d *jx.Decoder) error
- func (s Issue143) Encode(e *jx.Encoder)
- func (s Issue143) GetIssue1430() (v Issue1430, ok bool)
- func (s Issue143) GetIssue1431() (v Issue1431, ok bool)
- func (s Issue143) GetIssue1432() (v Issue1432, ok bool)
- func (s Issue143) GetIssue1433() (v Issue1433, ok bool)
- func (s Issue143) IsIssue1430() bool
- func (s Issue143) IsIssue1431() bool
- func (s Issue143) IsIssue1432() bool
- func (s Issue143) IsIssue1433() bool
- func (s Issue143) MarshalJSON() ([]byte, error)
- func (s *Issue143) SetIssue1430(v Issue1430)
- func (s *Issue143) SetIssue1431(v Issue1431)
- func (s *Issue143) SetIssue1432(v Issue1432)
- func (s *Issue143) SetIssue1433(v Issue1433)
- func (s *Issue143) UnmarshalJSON(data []byte) error
- type Issue1430
- func (s *Issue1430) Decode(d *jx.Decoder) error
- func (s *Issue1430) Encode(e *jx.Encoder)
- func (s *Issue1430) GetCommonMinus1() string
- func (s *Issue1430) GetCommonMinus2() int
- func (s *Issue1430) GetUniqueMinus1() string
- func (s *Issue1430) MarshalJSON() ([]byte, error)
- func (s *Issue1430) SetCommonMinus1(val string)
- func (s *Issue1430) SetCommonMinus2(val int)
- func (s *Issue1430) SetUniqueMinus1(val string)
- func (s *Issue1430) UnmarshalJSON(data []byte) error
- type Issue1431
- func (s *Issue1431) Decode(d *jx.Decoder) error
- func (s *Issue1431) Encode(e *jx.Encoder)
- func (s *Issue1431) GetCommonMinus1() string
- func (s *Issue1431) GetCommonMinus2() int
- func (s *Issue1431) GetUniqueMinus2() string
- func (s *Issue1431) MarshalJSON() ([]byte, error)
- func (s *Issue1431) SetCommonMinus1(val string)
- func (s *Issue1431) SetCommonMinus2(val int)
- func (s *Issue1431) SetUniqueMinus2(val string)
- func (s *Issue1431) UnmarshalJSON(data []byte) error
- type Issue1432
- func (s *Issue1432) Decode(d *jx.Decoder) error
- func (s *Issue1432) Encode(e *jx.Encoder)
- func (s *Issue1432) GetCommonMinus1() string
- func (s *Issue1432) GetCommonMinus2() int
- func (s *Issue1432) GetCommonMinus3() OptInt
- func (s *Issue1432) GetUniqueMinus3() string
- func (s *Issue1432) MarshalJSON() ([]byte, error)
- func (s *Issue1432) SetCommonMinus1(val string)
- func (s *Issue1432) SetCommonMinus2(val int)
- func (s *Issue1432) SetCommonMinus3(val OptInt)
- func (s *Issue1432) SetUniqueMinus3(val string)
- func (s *Issue1432) UnmarshalJSON(data []byte) error
- type Issue1433
- func (s *Issue1433) Decode(d *jx.Decoder) error
- func (s *Issue1433) Encode(e *jx.Encoder)
- func (s *Issue1433) GetCommonMinus3() OptInt
- func (s *Issue1433) GetUniqueMinus4() string
- func (s *Issue1433) MarshalJSON() ([]byte, error)
- func (s *Issue1433) SetCommonMinus3(val OptInt)
- func (s *Issue1433) SetUniqueMinus4(val string)
- func (s *Issue1433) UnmarshalJSON(data []byte) error
- type Issue143Type
- type Issue943
- func (s *Issue943) Decode(d *jx.Decoder) error
- func (s Issue943) Encode(e *jx.Encoder)
- func (s Issue943) GetIssue943Map() (v Issue943Map, ok bool)
- func (s Issue943) GetIssue943Variant1() (v Issue943Variant1, ok bool)
- func (s Issue943) GetIssue943Variant2() (v Issue943Variant2, ok bool)
- func (s Issue943) IsIssue943Map() bool
- func (s Issue943) IsIssue943Variant1() bool
- func (s Issue943) IsIssue943Variant2() bool
- func (s Issue943) MarshalJSON() ([]byte, error)
- func (s *Issue943) SetIssue943Map(v Issue943Map)
- func (s *Issue943) SetIssue943Variant1(v Issue943Variant1)
- func (s *Issue943) SetIssue943Variant2(v Issue943Variant2)
- func (s *Issue943) UnmarshalJSON(data []byte) error
- type Issue943Map
- func (s *Issue943Map) Decode(d *jx.Decoder) error
- func (s *Issue943Map) Encode(e *jx.Encoder)
- func (s *Issue943Map) GetPattern0Props() Issue943MapPattern0
- func (s *Issue943Map) GetSelector() string
- func (s *Issue943Map) MarshalJSON() ([]byte, error)
- func (s *Issue943Map) SetPattern0Props(val Issue943MapPattern0)
- func (s *Issue943Map) SetSelector(val string)
- func (s *Issue943Map) UnmarshalJSON(data []byte) error
- type Issue943MapPattern0
- type Issue943Type
- type Issue943Variant1
- func (s *Issue943Variant1) Decode(d *jx.Decoder) error
- func (s *Issue943Variant1) Encode(e *jx.Encoder)
- func (s *Issue943Variant1) GetSelector() string
- func (s *Issue943Variant1) GetVariant1Field() int
- func (s *Issue943Variant1) MarshalJSON() ([]byte, error)
- func (s *Issue943Variant1) SetSelector(val string)
- func (s *Issue943Variant1) SetVariant1Field(val int)
- func (s *Issue943Variant1) UnmarshalJSON(data []byte) error
- type Issue943Variant2
- func (s *Issue943Variant2) Decode(d *jx.Decoder) error
- func (s *Issue943Variant2) Encode(e *jx.Encoder)
- func (s *Issue943Variant2) GetSelector() string
- func (s *Issue943Variant2) GetVariant2Field() bool
- func (s *Issue943Variant2) MarshalJSON() ([]byte, error)
- func (s *Issue943Variant2) SetSelector(val string)
- func (s *Issue943Variant2) SetVariant2Field(val bool)
- func (s *Issue943Variant2) UnmarshalJSON(data []byte) error
- type Labeler
- type MapWithProperties
- func (s *MapWithProperties) Decode(d *jx.Decoder) error
- func (s *MapWithProperties) Encode(e *jx.Encoder)
- func (s *MapWithProperties) GetAdditionalProps() MapWithPropertiesAdditional
- func (s *MapWithProperties) GetInlinedSubMap() OptMapWithPropertiesInlinedSubMap
- func (s *MapWithProperties) GetMapValidation() OptValidationStringMap
- func (s *MapWithProperties) GetOptional() OptInt
- func (s *MapWithProperties) GetRequired() int
- func (s *MapWithProperties) GetSubMap() OptStringMap
- func (s *MapWithProperties) MarshalJSON() ([]byte, error)
- func (s *MapWithProperties) SetAdditionalProps(val MapWithPropertiesAdditional)
- func (s *MapWithProperties) SetInlinedSubMap(val OptMapWithPropertiesInlinedSubMap)
- func (s *MapWithProperties) SetMapValidation(val OptValidationStringMap)
- func (s *MapWithProperties) SetOptional(val OptInt)
- func (s *MapWithProperties) SetRequired(val int)
- func (s *MapWithProperties) SetSubMap(val OptStringMap)
- func (s *MapWithProperties) UnmarshalJSON(data []byte) error
- func (s *MapWithProperties) Validate() error
- type MapWithPropertiesAdditional
- type MapWithPropertiesInlinedSubMap
- type MaxPropertiesTest
- func (s *MaxPropertiesTest) Decode(d *jx.Decoder) error
- func (s *MaxPropertiesTest) Encode(e *jx.Encoder)
- func (s *MaxPropertiesTest) GetOptionalA() OptInt
- func (s *MaxPropertiesTest) GetOptionalB() OptInt
- func (s *MaxPropertiesTest) GetOptionalC() OptInt
- func (s *MaxPropertiesTest) GetRequired() int
- func (s *MaxPropertiesTest) MarshalJSON() ([]byte, error)
- func (s *MaxPropertiesTest) SetOptionalA(val OptInt)
- func (s *MaxPropertiesTest) SetOptionalB(val OptInt)
- func (s *MaxPropertiesTest) SetOptionalC(val OptInt)
- func (s *MaxPropertiesTest) SetRequired(val int)
- func (s *MaxPropertiesTest) UnmarshalJSON(data []byte) error
- type MergeDiscriminatorOneOf
- func (s *MergeDiscriminatorOneOf) Decode(d *jx.Decoder) error
- func (s *MergeDiscriminatorOneOf) Encode(e *jx.Encoder)
- func (s *MergeDiscriminatorOneOf) GetCommon() string
- func (s *MergeDiscriminatorOneOf) GetOneOf() MergeDiscriminatorOneOfSum
- func (s *MergeDiscriminatorOneOf) MarshalJSON() ([]byte, error)
- func (s *MergeDiscriminatorOneOf) SetCommon(val string)
- func (s *MergeDiscriminatorOneOf) SetOneOf(val MergeDiscriminatorOneOfSum)
- func (s *MergeDiscriminatorOneOf) UnmarshalJSON(data []byte) error
- type MergeDiscriminatorOneOfSum
- func (s *MergeDiscriminatorOneOfSum) Decode(d *jx.Decoder) error
- func (s MergeDiscriminatorOneOfSum) Encode(e *jx.Encoder)
- func (s MergeDiscriminatorOneOfSum) GetInlineOneOfBar() (v InlineOneOfBar, ok bool)
- func (s MergeDiscriminatorOneOfSum) GetInlineOneOfFoo() (v InlineOneOfFoo, ok bool)
- func (s MergeDiscriminatorOneOfSum) IsInlineOneOfBar() bool
- func (s MergeDiscriminatorOneOfSum) IsInlineOneOfFoo() bool
- func (s MergeDiscriminatorOneOfSum) MarshalJSON() ([]byte, error)
- func (s *MergeDiscriminatorOneOfSum) SetInlineOneOfBar(v InlineOneOfBar)
- func (s *MergeDiscriminatorOneOfSum) SetInlineOneOfFoo(v InlineOneOfFoo)
- func (s *MergeDiscriminatorOneOfSum) UnmarshalJSON(data []byte) error
- type MergeDiscriminatorOneOfSumType
- type MergeUniqueFieldsOneOf
- func (s *MergeUniqueFieldsOneOf) Decode(d *jx.Decoder) error
- func (s *MergeUniqueFieldsOneOf) Encode(e *jx.Encoder)
- func (s *MergeUniqueFieldsOneOf) GetCommon() string
- func (s *MergeUniqueFieldsOneOf) GetOneOf() MergeUniqueFieldsOneOfSum
- func (s *MergeUniqueFieldsOneOf) MarshalJSON() ([]byte, error)
- func (s *MergeUniqueFieldsOneOf) SetCommon(val string)
- func (s *MergeUniqueFieldsOneOf) SetOneOf(val MergeUniqueFieldsOneOfSum)
- func (s *MergeUniqueFieldsOneOf) UnmarshalJSON(data []byte) error
- type MergeUniqueFieldsOneOfSum
- func (s *MergeUniqueFieldsOneOfSum) Decode(d *jx.Decoder) error
- func (s MergeUniqueFieldsOneOfSum) Encode(e *jx.Encoder)
- func (s MergeUniqueFieldsOneOfSum) GetInlineOneOfBar() (v InlineOneOfBar, ok bool)
- func (s MergeUniqueFieldsOneOfSum) GetInlineOneOfFoo() (v InlineOneOfFoo, ok bool)
- func (s MergeUniqueFieldsOneOfSum) IsInlineOneOfBar() bool
- func (s MergeUniqueFieldsOneOfSum) IsInlineOneOfFoo() bool
- func (s MergeUniqueFieldsOneOfSum) MarshalJSON() ([]byte, error)
- func (s *MergeUniqueFieldsOneOfSum) SetInlineOneOfBar(v InlineOneOfBar)
- func (s *MergeUniqueFieldsOneOfSum) SetInlineOneOfFoo(v InlineOneOfFoo)
- func (s *MergeUniqueFieldsOneOfSum) UnmarshalJSON(data []byte) error
- type MergeUniqueFieldsOneOfSumType
- type Middleware
- type NilInt
- func (o *NilInt) Decode(d *jx.Decoder) error
- func (o NilInt) Encode(e *jx.Encoder)
- func (o NilInt) Get() (v int, ok bool)
- func (o NilInt) IsNull() bool
- func (s NilInt) MarshalJSON() ([]byte, error)
- func (o NilInt) Or(d int) int
- func (o *NilInt) SetTo(v int)
- func (o *NilInt) SetToNull()
- func (s *NilInt) UnmarshalJSON(data []byte) error
- type NilIntStatusCode
- type NilNullableEnumsBoth
- func (o *NilNullableEnumsBoth) Decode(d *jx.Decoder) error
- func (o NilNullableEnumsBoth) Encode(e *jx.Encoder)
- func (o NilNullableEnumsBoth) Get() (v NullableEnumsBoth, ok bool)
- func (o NilNullableEnumsBoth) IsNull() bool
- func (s NilNullableEnumsBoth) MarshalJSON() ([]byte, error)
- func (o NilNullableEnumsBoth) Or(d NullableEnumsBoth) NullableEnumsBoth
- func (o *NilNullableEnumsBoth) SetTo(v NullableEnumsBoth)
- func (o *NilNullableEnumsBoth) SetToNull()
- func (s *NilNullableEnumsBoth) UnmarshalJSON(data []byte) error
- type NilNullableEnumsOnlyNullValue
- func (o *NilNullableEnumsOnlyNullValue) Decode(d *jx.Decoder) error
- func (o NilNullableEnumsOnlyNullValue) Encode(e *jx.Encoder)
- func (o NilNullableEnumsOnlyNullValue) Get() (v NullableEnumsOnlyNullValue, ok bool)
- func (o NilNullableEnumsOnlyNullValue) IsNull() bool
- func (s NilNullableEnumsOnlyNullValue) MarshalJSON() ([]byte, error)
- func (o NilNullableEnumsOnlyNullValue) Or(d NullableEnumsOnlyNullValue) NullableEnumsOnlyNullValue
- func (o *NilNullableEnumsOnlyNullValue) SetTo(v NullableEnumsOnlyNullValue)
- func (o *NilNullableEnumsOnlyNullValue) SetToNull()
- func (s *NilNullableEnumsOnlyNullValue) UnmarshalJSON(data []byte) error
- type NilNullableEnumsOnlyNullable
- func (o *NilNullableEnumsOnlyNullable) Decode(d *jx.Decoder) error
- func (o NilNullableEnumsOnlyNullable) Encode(e *jx.Encoder)
- func (o NilNullableEnumsOnlyNullable) Get() (v NullableEnumsOnlyNullable, ok bool)
- func (o NilNullableEnumsOnlyNullable) IsNull() bool
- func (s NilNullableEnumsOnlyNullable) MarshalJSON() ([]byte, error)
- func (o NilNullableEnumsOnlyNullable) Or(d NullableEnumsOnlyNullable) NullableEnumsOnlyNullable
- func (o *NilNullableEnumsOnlyNullable) SetTo(v NullableEnumsOnlyNullable)
- func (o *NilNullableEnumsOnlyNullable) SetToNull()
- func (s *NilNullableEnumsOnlyNullable) UnmarshalJSON(data []byte) error
- type NilString
- func (o *NilString) Decode(d *jx.Decoder) error
- func (o NilString) Encode(e *jx.Encoder)
- func (o NilString) Get() (v string, ok bool)
- func (o NilString) IsNull() bool
- func (s NilString) MarshalJSON() ([]byte, error)
- func (o NilString) Or(d string) string
- func (o *NilString) SetTo(v string)
- func (o *NilString) SetToNull()
- func (s *NilString) UnmarshalJSON(data []byte) error
- type NoAdditionalPropertiesTest
- func (s *NoAdditionalPropertiesTest) Decode(d *jx.Decoder) error
- func (s *NoAdditionalPropertiesTest) Encode(e *jx.Encoder)
- func (s *NoAdditionalPropertiesTest) GetEmpty() *OnlyEmptyObject
- func (s *NoAdditionalPropertiesTest) GetOneProperty() OptOnePropertyObject
- func (s *NoAdditionalPropertiesTest) GetOnlyPatterned() OptOnlyPatternedPropsObject
- func (s *NoAdditionalPropertiesTest) MarshalJSON() ([]byte, error)
- func (s *NoAdditionalPropertiesTest) SetEmpty(val *OnlyEmptyObject)
- func (s *NoAdditionalPropertiesTest) SetOneProperty(val OptOnePropertyObject)
- func (s *NoAdditionalPropertiesTest) SetOnlyPatterned(val OptOnlyPatternedPropsObject)
- func (s *NoAdditionalPropertiesTest) UnmarshalJSON(data []byte) error
- type NotFound
- type NullValue
- type NullableEnums
- func (s *NullableEnums) Decode(d *jx.Decoder) error
- func (s *NullableEnums) Encode(e *jx.Encoder)
- func (s *NullableEnums) GetBoth() NilNullableEnumsBoth
- func (s *NullableEnums) GetOnlyNullValue() NilNullableEnumsOnlyNullValue
- func (s *NullableEnums) GetOnlyNullable() NilNullableEnumsOnlyNullable
- func (s *NullableEnums) MarshalJSON() ([]byte, error)
- func (s *NullableEnums) SetBoth(val NilNullableEnumsBoth)
- func (s *NullableEnums) SetOnlyNullValue(val NilNullableEnumsOnlyNullValue)
- func (s *NullableEnums) SetOnlyNullable(val NilNullableEnumsOnlyNullable)
- func (s *NullableEnums) UnmarshalJSON(data []byte) error
- func (s *NullableEnums) Validate() error
- type NullableEnumsBoth
- func (NullableEnumsBoth) AllValues() []NullableEnumsBoth
- func (s *NullableEnumsBoth) Decode(d *jx.Decoder) error
- func (s NullableEnumsBoth) Encode(e *jx.Encoder)
- func (s NullableEnumsBoth) MarshalJSON() ([]byte, error)
- func (s NullableEnumsBoth) MarshalText() ([]byte, error)
- func (s *NullableEnumsBoth) UnmarshalJSON(data []byte) error
- func (s *NullableEnumsBoth) UnmarshalText(data []byte) error
- func (s NullableEnumsBoth) Validate() error
- type NullableEnumsOnlyNullValue
- func (NullableEnumsOnlyNullValue) AllValues() []NullableEnumsOnlyNullValue
- func (s *NullableEnumsOnlyNullValue) Decode(d *jx.Decoder) error
- func (s NullableEnumsOnlyNullValue) Encode(e *jx.Encoder)
- func (s NullableEnumsOnlyNullValue) MarshalJSON() ([]byte, error)
- func (s NullableEnumsOnlyNullValue) MarshalText() ([]byte, error)
- func (s *NullableEnumsOnlyNullValue) UnmarshalJSON(data []byte) error
- func (s *NullableEnumsOnlyNullValue) UnmarshalText(data []byte) error
- func (s NullableEnumsOnlyNullValue) Validate() error
- type NullableEnumsOnlyNullable
- func (NullableEnumsOnlyNullable) AllValues() []NullableEnumsOnlyNullable
- func (s *NullableEnumsOnlyNullable) Decode(d *jx.Decoder) error
- func (s NullableEnumsOnlyNullable) Encode(e *jx.Encoder)
- func (s NullableEnumsOnlyNullable) MarshalJSON() ([]byte, error)
- func (s NullableEnumsOnlyNullable) MarshalText() ([]byte, error)
- func (s *NullableEnumsOnlyNullable) UnmarshalJSON(data []byte) error
- func (s *NullableEnumsOnlyNullable) UnmarshalText(data []byte) error
- func (s NullableEnumsOnlyNullable) Validate() error
- type OneOfBooleanSumNullables
- func (s *OneOfBooleanSumNullables) Decode(d *jx.Decoder) error
- func (s OneOfBooleanSumNullables) Encode(e *jx.Encoder)
- func (s OneOfBooleanSumNullables) GetBool() (v bool, ok bool)
- func (s OneOfBooleanSumNullables) GetOneOfNullables() (v OneOfNullables, ok bool)
- func (s OneOfBooleanSumNullables) IsBool() bool
- func (s OneOfBooleanSumNullables) IsOneOfNullables() bool
- func (s OneOfBooleanSumNullables) MarshalJSON() ([]byte, error)
- func (s *OneOfBooleanSumNullables) SetBool(v bool)
- func (s *OneOfBooleanSumNullables) SetOneOfNullables(v OneOfNullables)
- func (s *OneOfBooleanSumNullables) UnmarshalJSON(data []byte) error
- func (s OneOfBooleanSumNullables) Validate() error
- type OneOfBooleanSumNullablesType
- type OneOfBugs
- func (s *OneOfBugs) Decode(d *jx.Decoder) error
- func (s *OneOfBugs) Encode(e *jx.Encoder)
- func (s *OneOfBugs) GetAdditionalMinusFields() OneVariantHasNoUniqueFields
- func (s *OneOfBugs) GetIssue143() Issue143
- func (s *OneOfBugs) GetIssue943() OptIssue943
- func (s *OneOfBugs) GetOneOfMinusMappingMinusReference() OptOneOfMappingReference
- func (s *OneOfBugs) GetOneOfMinusUUIDMinusIntMinusEnum() OptOneOfUUIDAndIntEnum
- func (s *OneOfBugs) MarshalJSON() ([]byte, error)
- func (s *OneOfBugs) SetAdditionalMinusFields(val OneVariantHasNoUniqueFields)
- func (s *OneOfBugs) SetIssue143(val Issue143)
- func (s *OneOfBugs) SetIssue943(val OptIssue943)
- func (s *OneOfBugs) SetOneOfMinusMappingMinusReference(val OptOneOfMappingReference)
- func (s *OneOfBugs) SetOneOfMinusUUIDMinusIntMinusEnum(val OptOneOfUUIDAndIntEnum)
- func (s *OneOfBugs) UnmarshalJSON(data []byte) error
- func (s *OneOfBugs) Validate() error
- type OneOfMappingReference
- func (s *OneOfMappingReference) Decode(d *jx.Decoder) error
- func (s OneOfMappingReference) Encode(e *jx.Encoder)
- func (s OneOfMappingReference) GetOneOfMappingReferenceA() (v OneOfMappingReferenceA, ok bool)
- func (s OneOfMappingReference) GetOneOfMappingReferenceB() (v OneOfMappingReferenceB, ok bool)
- func (s OneOfMappingReference) IsOneOfMappingReferenceA() bool
- func (s OneOfMappingReference) IsOneOfMappingReferenceB() bool
- func (s OneOfMappingReference) MarshalJSON() ([]byte, error)
- func (s *OneOfMappingReference) SetOneOfMappingReferenceA(v OneOfMappingReferenceA)
- func (s *OneOfMappingReference) SetOneOfMappingReferenceB(v OneOfMappingReferenceB)
- func (s *OneOfMappingReference) UnmarshalJSON(data []byte) error
- type OneOfMappingReferenceA
- func (s *OneOfMappingReferenceA) Decode(d *jx.Decoder) error
- func (s *OneOfMappingReferenceA) Encode(e *jx.Encoder)
- func (s *OneOfMappingReferenceA) GetDescription() OptString
- func (s *OneOfMappingReferenceA) GetInfoType() OptString
- func (s *OneOfMappingReferenceA) MarshalJSON() ([]byte, error)
- func (s *OneOfMappingReferenceA) SetDescription(val OptString)
- func (s *OneOfMappingReferenceA) SetInfoType(val OptString)
- func (s *OneOfMappingReferenceA) UnmarshalJSON(data []byte) error
- type OneOfMappingReferenceB
- func (s *OneOfMappingReferenceB) Decode(d *jx.Decoder) error
- func (s *OneOfMappingReferenceB) Encode(e *jx.Encoder)
- func (s *OneOfMappingReferenceB) GetCode() OptInt32
- func (s *OneOfMappingReferenceB) GetData() *OneOfMappingReferenceBData
- func (s *OneOfMappingReferenceB) GetInfo() OptString
- func (s *OneOfMappingReferenceB) GetInfoType() OptString
- func (s *OneOfMappingReferenceB) MarshalJSON() ([]byte, error)
- func (s *OneOfMappingReferenceB) SetCode(val OptInt32)
- func (s *OneOfMappingReferenceB) SetData(val *OneOfMappingReferenceBData)
- func (s *OneOfMappingReferenceB) SetInfo(val OptString)
- func (s *OneOfMappingReferenceB) SetInfoType(val OptString)
- func (s *OneOfMappingReferenceB) UnmarshalJSON(data []byte) error
- type OneOfMappingReferenceBData
- type OneOfMappingReferenceType
- type OneOfNullables
- func (s *OneOfNullables) Decode(d *jx.Decoder) error
- func (s OneOfNullables) Encode(e *jx.Encoder)
- func (s OneOfNullables) GetInt() (v int, ok bool)
- func (s OneOfNullables) GetNull() (v struct{}, ok bool)
- func (s OneOfNullables) GetString() (v string, ok bool)
- func (s OneOfNullables) GetStringArray() (v []string, ok bool)
- func (s OneOfNullables) IsInt() bool
- func (s OneOfNullables) IsNull() bool
- func (s OneOfNullables) IsString() bool
- func (s OneOfNullables) IsStringArray() bool
- func (s OneOfNullables) MarshalJSON() ([]byte, error)
- func (s *OneOfNullables) SetInt(v int)
- func (s *OneOfNullables) SetNull(v struct{})
- func (s *OneOfNullables) SetString(v string)
- func (s *OneOfNullables) SetStringArray(v []string)
- func (s *OneOfNullables) UnmarshalJSON(data []byte) error
- func (s OneOfNullables) Validate() error
- type OneOfNullablesType
- type OneOfUUIDAndIntEnum
- func (s *OneOfUUIDAndIntEnum) Decode(d *jx.Decoder) error
- func (s OneOfUUIDAndIntEnum) Encode(e *jx.Encoder)
- func (s OneOfUUIDAndIntEnum) GetOneOfUUIDAndIntEnum1() (v OneOfUUIDAndIntEnum1, ok bool)
- func (s OneOfUUIDAndIntEnum) GetUUID() (v uuid.UUID, ok bool)
- func (s OneOfUUIDAndIntEnum) IsOneOfUUIDAndIntEnum1() bool
- func (s OneOfUUIDAndIntEnum) IsUUID() bool
- func (s OneOfUUIDAndIntEnum) MarshalJSON() ([]byte, error)
- func (s *OneOfUUIDAndIntEnum) SetOneOfUUIDAndIntEnum1(v OneOfUUIDAndIntEnum1)
- func (s *OneOfUUIDAndIntEnum) SetUUID(v uuid.UUID)
- func (s *OneOfUUIDAndIntEnum) UnmarshalJSON(data []byte) error
- func (s OneOfUUIDAndIntEnum) Validate() error
- type OneOfUUIDAndIntEnum1
- func (OneOfUUIDAndIntEnum1) AllValues() []OneOfUUIDAndIntEnum1
- func (s *OneOfUUIDAndIntEnum1) Decode(d *jx.Decoder) error
- func (s OneOfUUIDAndIntEnum1) Encode(e *jx.Encoder)
- func (s OneOfUUIDAndIntEnum1) MarshalJSON() ([]byte, error)
- func (s *OneOfUUIDAndIntEnum1) UnmarshalJSON(data []byte) error
- func (s OneOfUUIDAndIntEnum1) Validate() error
- type OneOfUUIDAndIntEnumType
- type OneOfWithNullable
- func (s *OneOfWithNullable) Decode(d *jx.Decoder) error
- func (s OneOfWithNullable) Encode(e *jx.Encoder)
- func (s OneOfWithNullable) GetInt() (v int, ok bool)
- func (s OneOfWithNullable) GetNull() (v struct{}, ok bool)
- func (s OneOfWithNullable) GetString() (v string, ok bool)
- func (s OneOfWithNullable) GetStringArray() (v []string, ok bool)
- func (s OneOfWithNullable) IsInt() bool
- func (s OneOfWithNullable) IsNull() bool
- func (s OneOfWithNullable) IsString() bool
- func (s OneOfWithNullable) IsStringArray() bool
- func (s OneOfWithNullable) MarshalJSON() ([]byte, error)
- func (s *OneOfWithNullable) SetInt(v int)
- func (s *OneOfWithNullable) SetNull(v struct{})
- func (s *OneOfWithNullable) SetString(v string)
- func (s *OneOfWithNullable) SetStringArray(v []string)
- func (s *OneOfWithNullable) UnmarshalJSON(data []byte) error
- func (s OneOfWithNullable) Validate() error
- type OneOfWithNullableType
- type OnePropertyObject
- func (s *OnePropertyObject) Decode(d *jx.Decoder) error
- func (s *OnePropertyObject) Encode(e *jx.Encoder)
- func (s *OnePropertyObject) GetFoo() string
- func (s *OnePropertyObject) MarshalJSON() ([]byte, error)
- func (s *OnePropertyObject) SetFoo(val string)
- func (s *OnePropertyObject) UnmarshalJSON(data []byte) error
- type OneVariantHasNoUniqueFields
- func (s *OneVariantHasNoUniqueFields) Decode(d *jx.Decoder) error
- func (s OneVariantHasNoUniqueFields) Encode(e *jx.Encoder)
- func (s OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields0() (v OneVariantHasNoUniqueFields0, ok bool)
- func (s OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields1() (v OneVariantHasNoUniqueFields1, ok bool)
- func (s OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields0() bool
- func (s OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields1() bool
- func (s OneVariantHasNoUniqueFields) MarshalJSON() ([]byte, error)
- func (s *OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields0(v OneVariantHasNoUniqueFields0)
- func (s *OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields1(v OneVariantHasNoUniqueFields1)
- func (s *OneVariantHasNoUniqueFields) UnmarshalJSON(data []byte) error
- type OneVariantHasNoUniqueFields0
- func (s *OneVariantHasNoUniqueFields0) Decode(d *jx.Decoder) error
- func (s *OneVariantHasNoUniqueFields0) Encode(e *jx.Encoder)
- func (s *OneVariantHasNoUniqueFields0) GetA() string
- func (s *OneVariantHasNoUniqueFields0) GetB() OptInt
- func (s *OneVariantHasNoUniqueFields0) GetC() string
- func (s *OneVariantHasNoUniqueFields0) MarshalJSON() ([]byte, error)
- func (s *OneVariantHasNoUniqueFields0) SetA(val string)
- func (s *OneVariantHasNoUniqueFields0) SetB(val OptInt)
- func (s *OneVariantHasNoUniqueFields0) SetC(val string)
- func (s *OneVariantHasNoUniqueFields0) UnmarshalJSON(data []byte) error
- type OneVariantHasNoUniqueFields1
- func (s *OneVariantHasNoUniqueFields1) Decode(d *jx.Decoder) error
- func (s *OneVariantHasNoUniqueFields1) Encode(e *jx.Encoder)
- func (s *OneVariantHasNoUniqueFields1) GetA() string
- func (s *OneVariantHasNoUniqueFields1) GetB() OptInt
- func (s *OneVariantHasNoUniqueFields1) GetC() string
- func (s *OneVariantHasNoUniqueFields1) GetD() OptInt
- func (s *OneVariantHasNoUniqueFields1) MarshalJSON() ([]byte, error)
- func (s *OneVariantHasNoUniqueFields1) SetA(val string)
- func (s *OneVariantHasNoUniqueFields1) SetB(val OptInt)
- func (s *OneVariantHasNoUniqueFields1) SetC(val string)
- func (s *OneVariantHasNoUniqueFields1) SetD(val OptInt)
- func (s *OneVariantHasNoUniqueFields1) UnmarshalJSON(data []byte) error
- type OneVariantHasNoUniqueFieldsType
- type OneofBugOK
- type OnlyEmptyObject
- type OnlyPatternedPropsObject
- type OperationName
- type OptAnyTest
- func (o *OptAnyTest) Decode(d *jx.Decoder) error
- func (o OptAnyTest) Encode(e *jx.Encoder)
- func (o OptAnyTest) Get() (v AnyTest, ok bool)
- func (o OptAnyTest) IsSet() bool
- func (s OptAnyTest) MarshalJSON() ([]byte, error)
- func (o OptAnyTest) Or(d AnyTest) AnyTest
- func (o *OptAnyTest) Reset()
- func (o *OptAnyTest) SetTo(v AnyTest)
- func (s *OptAnyTest) UnmarshalJSON(data []byte) error
- type OptAnyTestAnyMap
- func (o *OptAnyTestAnyMap) Decode(d *jx.Decoder) error
- func (o OptAnyTestAnyMap) Encode(e *jx.Encoder)
- func (o OptAnyTestAnyMap) Get() (v AnyTestAnyMap, ok bool)
- func (o OptAnyTestAnyMap) IsSet() bool
- func (s OptAnyTestAnyMap) MarshalJSON() ([]byte, error)
- func (o OptAnyTestAnyMap) Or(d AnyTestAnyMap) AnyTestAnyMap
- func (o *OptAnyTestAnyMap) Reset()
- func (o *OptAnyTestAnyMap) SetTo(v AnyTestAnyMap)
- func (s *OptAnyTestAnyMap) UnmarshalJSON(data []byte) error
- type OptArrayTest
- func (o *OptArrayTest) Decode(d *jx.Decoder) error
- func (o OptArrayTest) Encode(e *jx.Encoder)
- func (o OptArrayTest) Get() (v ArrayTest, ok bool)
- func (o OptArrayTest) IsSet() bool
- func (s OptArrayTest) MarshalJSON() ([]byte, error)
- func (o OptArrayTest) Or(d ArrayTest) ArrayTest
- func (o *OptArrayTest) Reset()
- func (o *OptArrayTest) SetTo(v ArrayTest)
- func (s *OptArrayTest) UnmarshalJSON(data []byte) error
- type OptData
- func (o *OptData) Decode(d *jx.Decoder) error
- func (o OptData) Encode(e *jx.Encoder)
- func (o OptData) Get() (v Data, ok bool)
- func (o OptData) IsSet() bool
- func (s OptData) MarshalJSON() ([]byte, error)
- func (o OptData) Or(d Data) Data
- func (o *OptData) Reset()
- func (o *OptData) SetTo(v Data)
- func (s *OptData) UnmarshalJSON(data []byte) error
- type OptDate
- func (o *OptDate) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDate) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDate) Get() (v time.Time, ok bool)
- func (o OptDate) IsSet() bool
- func (s OptDate) MarshalJSON() ([]byte, error)
- func (o OptDate) Or(d time.Time) time.Time
- func (o *OptDate) Reset()
- func (o *OptDate) SetTo(v time.Time)
- func (s *OptDate) UnmarshalJSON(data []byte) error
- type OptDateTime
- func (o *OptDateTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptDateTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptDateTime) Get() (v time.Time, ok bool)
- func (o OptDateTime) IsSet() bool
- func (s OptDateTime) MarshalJSON() ([]byte, error)
- func (o OptDateTime) Or(d time.Time) time.Time
- func (o *OptDateTime) Reset()
- func (o *OptDateTime) SetTo(v time.Time)
- func (s *OptDateTime) UnmarshalJSON(data []byte) error
- type OptDefaultTestEnum
- func (o *OptDefaultTestEnum) Decode(d *jx.Decoder) error
- func (o OptDefaultTestEnum) Encode(e *jx.Encoder)
- func (o OptDefaultTestEnum) Get() (v DefaultTestEnum, ok bool)
- func (o OptDefaultTestEnum) IsSet() bool
- func (s OptDefaultTestEnum) MarshalJSON() ([]byte, error)
- func (o OptDefaultTestEnum) Or(d DefaultTestEnum) DefaultTestEnum
- func (o *OptDefaultTestEnum) Reset()
- func (o *OptDefaultTestEnum) SetTo(v DefaultTestEnum)
- func (s *OptDefaultTestEnum) UnmarshalJSON(data []byte) error
- type OptDuration
- func (o *OptDuration) Decode(d *jx.Decoder) error
- func (o OptDuration) Encode(e *jx.Encoder)
- func (o OptDuration) Get() (v time.Duration, ok bool)
- func (o OptDuration) IsSet() bool
- func (s OptDuration) MarshalJSON() ([]byte, error)
- func (o OptDuration) Or(d time.Duration) time.Duration
- func (o *OptDuration) Reset()
- func (o *OptDuration) SetTo(v time.Duration)
- func (s *OptDuration) UnmarshalJSON(data []byte) error
- type OptFloat64
- func (o *OptFloat64) Decode(d *jx.Decoder) error
- func (o OptFloat64) Encode(e *jx.Encoder)
- func (o OptFloat64) Get() (v float64, ok bool)
- func (o OptFloat64) IsSet() bool
- func (s OptFloat64) MarshalJSON() ([]byte, error)
- func (o OptFloat64) Or(d float64) float64
- func (o *OptFloat64) Reset()
- func (o *OptFloat64) SetTo(v float64)
- func (s *OptFloat64) UnmarshalJSON(data []byte) error
- type OptID
- func (o *OptID) Decode(d *jx.Decoder) error
- func (o OptID) Encode(e *jx.Encoder)
- func (o OptID) Get() (v ID, ok bool)
- func (o OptID) IsSet() bool
- func (s OptID) MarshalJSON() ([]byte, error)
- func (o OptID) Or(d ID) ID
- func (o *OptID) Reset()
- func (o *OptID) SetTo(v ID)
- func (s *OptID) UnmarshalJSON(data []byte) error
- type OptIP
- func (o *OptIP) Decode(d *jx.Decoder) error
- func (o OptIP) Encode(e *jx.Encoder)
- func (o OptIP) Get() (v netip.Addr, ok bool)
- func (o OptIP) IsSet() bool
- func (s OptIP) MarshalJSON() ([]byte, error)
- func (o OptIP) Or(d netip.Addr) netip.Addr
- func (o *OptIP) Reset()
- func (o *OptIP) SetTo(v netip.Addr)
- func (s *OptIP) UnmarshalJSON(data []byte) error
- type OptIPv4
- func (o *OptIPv4) Decode(d *jx.Decoder) error
- func (o OptIPv4) Encode(e *jx.Encoder)
- func (o OptIPv4) Get() (v netip.Addr, ok bool)
- func (o OptIPv4) IsSet() bool
- func (s OptIPv4) MarshalJSON() ([]byte, error)
- func (o OptIPv4) Or(d netip.Addr) netip.Addr
- func (o *OptIPv4) Reset()
- func (o *OptIPv4) SetTo(v netip.Addr)
- func (s *OptIPv4) UnmarshalJSON(data []byte) error
- type OptIPv6
- func (o *OptIPv6) Decode(d *jx.Decoder) error
- func (o OptIPv6) Encode(e *jx.Encoder)
- func (o OptIPv6) Get() (v netip.Addr, ok bool)
- func (o OptIPv6) IsSet() bool
- func (s OptIPv6) MarshalJSON() ([]byte, error)
- func (o OptIPv6) Or(d netip.Addr) netip.Addr
- func (o *OptIPv6) Reset()
- func (o *OptIPv6) SetTo(v netip.Addr)
- func (s *OptIPv6) UnmarshalJSON(data []byte) error
- type OptInlineDiscriminatorOneOf
- func (o *OptInlineDiscriminatorOneOf) Decode(d *jx.Decoder) error
- func (o OptInlineDiscriminatorOneOf) Encode(e *jx.Encoder)
- func (o OptInlineDiscriminatorOneOf) Get() (v InlineDiscriminatorOneOf, ok bool)
- func (o OptInlineDiscriminatorOneOf) IsSet() bool
- func (s OptInlineDiscriminatorOneOf) MarshalJSON() ([]byte, error)
- func (o OptInlineDiscriminatorOneOf) Or(d InlineDiscriminatorOneOf) InlineDiscriminatorOneOf
- func (o *OptInlineDiscriminatorOneOf) Reset()
- func (o *OptInlineDiscriminatorOneOf) SetTo(v InlineDiscriminatorOneOf)
- func (s *OptInlineDiscriminatorOneOf) UnmarshalJSON(data []byte) error
- type OptInlineUniqueFieldsOneOf
- func (o *OptInlineUniqueFieldsOneOf) Decode(d *jx.Decoder) error
- func (o OptInlineUniqueFieldsOneOf) Encode(e *jx.Encoder)
- func (o OptInlineUniqueFieldsOneOf) Get() (v InlineUniqueFieldsOneOf, ok bool)
- func (o OptInlineUniqueFieldsOneOf) IsSet() bool
- func (s OptInlineUniqueFieldsOneOf) MarshalJSON() ([]byte, error)
- func (o OptInlineUniqueFieldsOneOf) Or(d InlineUniqueFieldsOneOf) InlineUniqueFieldsOneOf
- func (o *OptInlineUniqueFieldsOneOf) Reset()
- func (o *OptInlineUniqueFieldsOneOf) SetTo(v InlineUniqueFieldsOneOf)
- func (s *OptInlineUniqueFieldsOneOf) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptInt32
- func (o *OptInt32) Decode(d *jx.Decoder) error
- func (o OptInt32) Encode(e *jx.Encoder)
- func (o OptInt32) Get() (v int32, ok bool)
- func (o OptInt32) IsSet() bool
- func (s OptInt32) MarshalJSON() ([]byte, error)
- func (o OptInt32) Or(d int32) int32
- func (o *OptInt32) Reset()
- func (o *OptInt32) SetTo(v int32)
- func (s *OptInt32) UnmarshalJSON(data []byte) error
- type OptIssue1310Properties
- func (o *OptIssue1310Properties) Decode(d *jx.Decoder) error
- func (o OptIssue1310Properties) Encode(e *jx.Encoder)
- func (o OptIssue1310Properties) Get() (v *Issue1310Properties, ok bool)
- func (o OptIssue1310Properties) IsSet() bool
- func (s OptIssue1310Properties) MarshalJSON() ([]byte, error)
- func (o OptIssue1310Properties) Or(d *Issue1310Properties) *Issue1310Properties
- func (o *OptIssue1310Properties) Reset()
- func (o *OptIssue1310Properties) SetTo(v *Issue1310Properties)
- func (s *OptIssue1310Properties) UnmarshalJSON(data []byte) error
- type OptIssue943
- func (o *OptIssue943) Decode(d *jx.Decoder) error
- func (o OptIssue943) Encode(e *jx.Encoder)
- func (o OptIssue943) Get() (v Issue943, ok bool)
- func (o OptIssue943) IsSet() bool
- func (s OptIssue943) MarshalJSON() ([]byte, error)
- func (o OptIssue943) Or(d Issue943) Issue943
- func (o *OptIssue943) Reset()
- func (o *OptIssue943) SetTo(v Issue943)
- func (s *OptIssue943) UnmarshalJSON(data []byte) error
- type OptMapWithProperties
- func (o *OptMapWithProperties) Decode(d *jx.Decoder) error
- func (o OptMapWithProperties) Encode(e *jx.Encoder)
- func (o OptMapWithProperties) Get() (v MapWithProperties, ok bool)
- func (o OptMapWithProperties) IsSet() bool
- func (s OptMapWithProperties) MarshalJSON() ([]byte, error)
- func (o OptMapWithProperties) Or(d MapWithProperties) MapWithProperties
- func (o *OptMapWithProperties) Reset()
- func (o *OptMapWithProperties) SetTo(v MapWithProperties)
- func (s *OptMapWithProperties) UnmarshalJSON(data []byte) error
- type OptMapWithPropertiesInlinedSubMap
- func (o *OptMapWithPropertiesInlinedSubMap) Decode(d *jx.Decoder) error
- func (o OptMapWithPropertiesInlinedSubMap) Encode(e *jx.Encoder)
- func (o OptMapWithPropertiesInlinedSubMap) Get() (v MapWithPropertiesInlinedSubMap, ok bool)
- func (o OptMapWithPropertiesInlinedSubMap) IsSet() bool
- func (s OptMapWithPropertiesInlinedSubMap) MarshalJSON() ([]byte, error)
- func (o OptMapWithPropertiesInlinedSubMap) Or(d MapWithPropertiesInlinedSubMap) MapWithPropertiesInlinedSubMap
- func (o *OptMapWithPropertiesInlinedSubMap) Reset()
- func (o *OptMapWithPropertiesInlinedSubMap) SetTo(v MapWithPropertiesInlinedSubMap)
- func (s *OptMapWithPropertiesInlinedSubMap) UnmarshalJSON(data []byte) error
- type OptMaxPropertiesTest
- func (o *OptMaxPropertiesTest) Decode(d *jx.Decoder) error
- func (o OptMaxPropertiesTest) Encode(e *jx.Encoder)
- func (o OptMaxPropertiesTest) Get() (v MaxPropertiesTest, ok bool)
- func (o OptMaxPropertiesTest) IsSet() bool
- func (s OptMaxPropertiesTest) MarshalJSON() ([]byte, error)
- func (o OptMaxPropertiesTest) Or(d MaxPropertiesTest) MaxPropertiesTest
- func (o *OptMaxPropertiesTest) Reset()
- func (o *OptMaxPropertiesTest) SetTo(v MaxPropertiesTest)
- func (s *OptMaxPropertiesTest) UnmarshalJSON(data []byte) error
- type OptMergeDiscriminatorOneOf
- func (o *OptMergeDiscriminatorOneOf) Decode(d *jx.Decoder) error
- func (o OptMergeDiscriminatorOneOf) Encode(e *jx.Encoder)
- func (o OptMergeDiscriminatorOneOf) Get() (v MergeDiscriminatorOneOf, ok bool)
- func (o OptMergeDiscriminatorOneOf) IsSet() bool
- func (s OptMergeDiscriminatorOneOf) MarshalJSON() ([]byte, error)
- func (o OptMergeDiscriminatorOneOf) Or(d MergeDiscriminatorOneOf) MergeDiscriminatorOneOf
- func (o *OptMergeDiscriminatorOneOf) Reset()
- func (o *OptMergeDiscriminatorOneOf) SetTo(v MergeDiscriminatorOneOf)
- func (s *OptMergeDiscriminatorOneOf) UnmarshalJSON(data []byte) error
- type OptMergeUniqueFieldsOneOf
- func (o *OptMergeUniqueFieldsOneOf) Decode(d *jx.Decoder) error
- func (o OptMergeUniqueFieldsOneOf) Encode(e *jx.Encoder)
- func (o OptMergeUniqueFieldsOneOf) Get() (v MergeUniqueFieldsOneOf, ok bool)
- func (o OptMergeUniqueFieldsOneOf) IsSet() bool
- func (s OptMergeUniqueFieldsOneOf) MarshalJSON() ([]byte, error)
- func (o OptMergeUniqueFieldsOneOf) Or(d MergeUniqueFieldsOneOf) MergeUniqueFieldsOneOf
- func (o *OptMergeUniqueFieldsOneOf) Reset()
- func (o *OptMergeUniqueFieldsOneOf) SetTo(v MergeUniqueFieldsOneOf)
- func (s *OptMergeUniqueFieldsOneOf) UnmarshalJSON(data []byte) error
- type OptNilString
- func (o *OptNilString) Decode(d *jx.Decoder) error
- func (o OptNilString) Encode(e *jx.Encoder)
- func (o OptNilString) Get() (v string, ok bool)
- func (o OptNilString) IsNull() bool
- func (o OptNilString) IsSet() bool
- func (s OptNilString) MarshalJSON() ([]byte, error)
- func (o OptNilString) Or(d string) string
- func (o *OptNilString) Reset()
- func (o *OptNilString) SetTo(v string)
- func (o *OptNilString) SetToNull()
- func (s *OptNilString) UnmarshalJSON(data []byte) error
- type OptNilStringArray
- func (o *OptNilStringArray) Decode(d *jx.Decoder) error
- func (o OptNilStringArray) Encode(e *jx.Encoder)
- func (o OptNilStringArray) Get() (v []string, ok bool)
- func (o OptNilStringArray) IsNull() bool
- func (o OptNilStringArray) IsSet() bool
- func (s OptNilStringArray) MarshalJSON() ([]byte, error)
- func (o OptNilStringArray) Or(d []string) []string
- func (o *OptNilStringArray) Reset()
- func (o *OptNilStringArray) SetTo(v []string)
- func (o *OptNilStringArray) SetToNull()
- func (s *OptNilStringArray) UnmarshalJSON(data []byte) error
- type OptNullValue
- func (o *OptNullValue) Decode(d *jx.Decoder) error
- func (o OptNullValue) Encode(e *jx.Encoder)
- func (o OptNullValue) Get() (v NullValue, ok bool)
- func (o OptNullValue) IsSet() bool
- func (s OptNullValue) MarshalJSON() ([]byte, error)
- func (o OptNullValue) Or(d NullValue) NullValue
- func (o *OptNullValue) Reset()
- func (o *OptNullValue) SetTo(v NullValue)
- func (s *OptNullValue) UnmarshalJSON(data []byte) error
- type OptNullableEnums
- func (o *OptNullableEnums) Decode(d *jx.Decoder) error
- func (o OptNullableEnums) Encode(e *jx.Encoder)
- func (o OptNullableEnums) Get() (v NullableEnums, ok bool)
- func (o OptNullableEnums) IsSet() bool
- func (s OptNullableEnums) MarshalJSON() ([]byte, error)
- func (o OptNullableEnums) Or(d NullableEnums) NullableEnums
- func (o *OptNullableEnums) Reset()
- func (o *OptNullableEnums) SetTo(v NullableEnums)
- func (s *OptNullableEnums) UnmarshalJSON(data []byte) error
- type OptOneOfMappingReference
- func (o *OptOneOfMappingReference) Decode(d *jx.Decoder) error
- func (o OptOneOfMappingReference) Encode(e *jx.Encoder)
- func (o OptOneOfMappingReference) Get() (v OneOfMappingReference, ok bool)
- func (o OptOneOfMappingReference) IsSet() bool
- func (s OptOneOfMappingReference) MarshalJSON() ([]byte, error)
- func (o OptOneOfMappingReference) Or(d OneOfMappingReference) OneOfMappingReference
- func (o *OptOneOfMappingReference) Reset()
- func (o *OptOneOfMappingReference) SetTo(v OneOfMappingReference)
- func (s *OptOneOfMappingReference) UnmarshalJSON(data []byte) error
- type OptOneOfUUIDAndIntEnum
- func (o *OptOneOfUUIDAndIntEnum) Decode(d *jx.Decoder) error
- func (o OptOneOfUUIDAndIntEnum) Encode(e *jx.Encoder)
- func (o OptOneOfUUIDAndIntEnum) Get() (v OneOfUUIDAndIntEnum, ok bool)
- func (o OptOneOfUUIDAndIntEnum) IsSet() bool
- func (s OptOneOfUUIDAndIntEnum) MarshalJSON() ([]byte, error)
- func (o OptOneOfUUIDAndIntEnum) Or(d OneOfUUIDAndIntEnum) OneOfUUIDAndIntEnum
- func (o *OptOneOfUUIDAndIntEnum) Reset()
- func (o *OptOneOfUUIDAndIntEnum) SetTo(v OneOfUUIDAndIntEnum)
- func (s *OptOneOfUUIDAndIntEnum) UnmarshalJSON(data []byte) error
- type OptOnePropertyObject
- func (o *OptOnePropertyObject) Decode(d *jx.Decoder) error
- func (o OptOnePropertyObject) Encode(e *jx.Encoder)
- func (o OptOnePropertyObject) Get() (v OnePropertyObject, ok bool)
- func (o OptOnePropertyObject) IsSet() bool
- func (s OptOnePropertyObject) MarshalJSON() ([]byte, error)
- func (o OptOnePropertyObject) Or(d OnePropertyObject) OnePropertyObject
- func (o *OptOnePropertyObject) Reset()
- func (o *OptOnePropertyObject) SetTo(v OnePropertyObject)
- func (s *OptOnePropertyObject) UnmarshalJSON(data []byte) error
- type OptOnlyPatternedPropsObject
- func (o *OptOnlyPatternedPropsObject) Decode(d *jx.Decoder) error
- func (o OptOnlyPatternedPropsObject) Encode(e *jx.Encoder)
- func (o OptOnlyPatternedPropsObject) Get() (v OnlyPatternedPropsObject, ok bool)
- func (o OptOnlyPatternedPropsObject) IsSet() bool
- func (s OptOnlyPatternedPropsObject) MarshalJSON() ([]byte, error)
- func (o OptOnlyPatternedPropsObject) Or(d OnlyPatternedPropsObject) OnlyPatternedPropsObject
- func (o *OptOnlyPatternedPropsObject) Reset()
- func (o *OptOnlyPatternedPropsObject) SetTo(v OnlyPatternedPropsObject)
- func (s *OptOnlyPatternedPropsObject) UnmarshalJSON(data []byte) error
- type OptPet
- func (o *OptPet) Decode(d *jx.Decoder) error
- func (o OptPet) Encode(e *jx.Encoder)
- func (o OptPet) Get() (v Pet, ok bool)
- func (o OptPet) IsSet() bool
- func (s OptPet) MarshalJSON() ([]byte, error)
- func (o OptPet) Or(d Pet) Pet
- func (o *OptPet) Reset()
- func (o *OptPet) SetTo(v Pet)
- func (s *OptPet) UnmarshalJSON(data []byte) error
- type OptPetName
- func (o *OptPetName) Decode(d *jx.Decoder) error
- func (o OptPetName) Encode(e *jx.Encoder)
- func (o OptPetName) Get() (v PetName, ok bool)
- func (o OptPetName) IsSet() bool
- func (s OptPetName) MarshalJSON() ([]byte, error)
- func (o OptPetName) Or(d PetName) PetName
- func (o *OptPetName) Reset()
- func (o *OptPetName) SetTo(v PetName)
- func (s *OptPetName) UnmarshalJSON(data []byte) error
- type OptPetType
- func (o *OptPetType) Decode(d *jx.Decoder) error
- func (o OptPetType) Encode(e *jx.Encoder)
- func (o OptPetType) Get() (v PetType, ok bool)
- func (o OptPetType) IsSet() bool
- func (s OptPetType) MarshalJSON() ([]byte, error)
- func (o OptPetType) Or(d PetType) PetType
- func (o *OptPetType) Reset()
- func (o *OptPetType) SetTo(v PetType)
- func (s *OptPetType) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptStringMap
- func (o *OptStringMap) Decode(d *jx.Decoder) error
- func (o OptStringMap) Encode(e *jx.Encoder)
- func (o OptStringMap) Get() (v StringMap, ok bool)
- func (o OptStringMap) IsSet() bool
- func (s OptStringMap) MarshalJSON() ([]byte, error)
- func (o OptStringMap) Or(d StringMap) StringMap
- func (o *OptStringMap) Reset()
- func (o *OptStringMap) SetTo(v StringMap)
- func (s *OptStringMap) UnmarshalJSON(data []byte) error
- type OptStringStringMap
- func (o *OptStringStringMap) Decode(d *jx.Decoder) error
- func (o OptStringStringMap) Encode(e *jx.Encoder)
- func (o OptStringStringMap) Get() (v StringStringMap, ok bool)
- func (o OptStringStringMap) IsSet() bool
- func (s OptStringStringMap) MarshalJSON() ([]byte, error)
- func (o OptStringStringMap) Or(d StringStringMap) StringStringMap
- func (o *OptStringStringMap) Reset()
- func (o *OptStringStringMap) SetTo(v StringStringMap)
- func (s *OptStringStringMap) UnmarshalJSON(data []byte) error
- type OptTime
- func (o *OptTime) Decode(d *jx.Decoder, format func(*jx.Decoder) (time.Time, error)) error
- func (o OptTime) Encode(e *jx.Encoder, format func(*jx.Encoder, time.Time))
- func (o OptTime) Get() (v time.Time, ok bool)
- func (o OptTime) IsSet() bool
- func (s OptTime) MarshalJSON() ([]byte, error)
- func (o OptTime) Or(d time.Time) time.Time
- func (o *OptTime) Reset()
- func (o *OptTime) SetTo(v time.Time)
- func (s *OptTime) UnmarshalJSON(data []byte) error
- type OptURI
- func (o *OptURI) Decode(d *jx.Decoder) error
- func (o OptURI) Encode(e *jx.Encoder)
- func (o OptURI) Get() (v url.URL, ok bool)
- func (o OptURI) IsSet() bool
- func (s OptURI) MarshalJSON() ([]byte, error)
- func (o OptURI) Or(d url.URL) url.URL
- func (o *OptURI) Reset()
- func (o *OptURI) SetTo(v url.URL)
- func (s *OptURI) UnmarshalJSON(data []byte) error
- type OptUUID
- func (o *OptUUID) Decode(d *jx.Decoder) error
- func (o OptUUID) Encode(e *jx.Encoder)
- func (o OptUUID) Get() (v uuid.UUID, ok bool)
- func (o OptUUID) IsSet() bool
- func (s OptUUID) MarshalJSON() ([]byte, error)
- func (o OptUUID) Or(d uuid.UUID) uuid.UUID
- func (o *OptUUID) Reset()
- func (o *OptUUID) SetTo(v uuid.UUID)
- func (s *OptUUID) UnmarshalJSON(data []byte) error
- type OptValidationStringMap
- func (o *OptValidationStringMap) Decode(d *jx.Decoder) error
- func (o OptValidationStringMap) Encode(e *jx.Encoder)
- func (o OptValidationStringMap) Get() (v ValidationStringMap, ok bool)
- func (o OptValidationStringMap) IsSet() bool
- func (s OptValidationStringMap) MarshalJSON() ([]byte, error)
- func (o OptValidationStringMap) Or(d ValidationStringMap) ValidationStringMap
- func (o *OptValidationStringMap) Reset()
- func (o *OptValidationStringMap) SetTo(v ValidationStringMap)
- func (s *OptValidationStringMap) UnmarshalJSON(data []byte) error
- type Option
- type PatternRecursiveMap
- type Pet
- func (s *Pet) Decode(d *jx.Decoder) error
- func (s *Pet) Encode(e *jx.Encoder)
- func (s *Pet) GetBirthday() time.Time
- func (s *Pet) GetExtraTags() OptString
- func (s *Pet) GetFriends() []Pet
- func (s *Pet) GetID() int64
- func (s *Pet) GetIP() netip.Addr
- func (s *Pet) GetIPV4() netip.Addr
- func (s *Pet) GetIPV6() netip.Addr
- func (s *Pet) GetKind() PetKind
- func (s *Pet) GetName() string
- func (s *Pet) GetNext() OptData
- func (s *Pet) GetNickname() NilString
- func (s *Pet) GetNullStr() OptNilString
- func (s *Pet) GetNullValue() OptNullValue
- func (s *Pet) GetPrimary() *Pet
- func (s *Pet) GetRate() time.Duration
- func (s *Pet) GetTag() OptUUID
- func (s *Pet) GetTestAny() OptAnyTest
- func (s *Pet) GetTestArray1() [][]string
- func (s *Pet) GetTestArray2() OptArrayTest
- func (s *Pet) GetTestDate() OptDate
- func (s *Pet) GetTestDateTime() OptDateTime
- func (s *Pet) GetTestDuration() OptDuration
- func (s *Pet) GetTestFloat1() OptFloat64
- func (s *Pet) GetTestInteger1() OptInt
- func (s *Pet) GetTestMap() OptStringStringMap
- func (s *Pet) GetTestMapWithProps() OptMapWithProperties
- func (s *Pet) GetTestMaxProperties() OptMaxPropertiesTest
- func (s *Pet) GetTestTime() OptTime
- func (s *Pet) GetType() OptPetType
- func (s *Pet) GetURI() url.URL
- func (s *Pet) GetUniqueID() uuid.UUID
- func (s *Pet) MarshalJSON() ([]byte, error)
- func (s *Pet) SetBirthday(val time.Time)
- func (s *Pet) SetExtraTags(val OptString)
- func (s *Pet) SetFriends(val []Pet)
- func (s *Pet) SetID(val int64)
- func (s *Pet) SetIP(val netip.Addr)
- func (s *Pet) SetIPV4(val netip.Addr)
- func (s *Pet) SetIPV6(val netip.Addr)
- func (s *Pet) SetKind(val PetKind)
- func (s *Pet) SetName(val string)
- func (s *Pet) SetNext(val OptData)
- func (s *Pet) SetNickname(val NilString)
- func (s *Pet) SetNullStr(val OptNilString)
- func (s *Pet) SetNullValue(val OptNullValue)
- func (s *Pet) SetPrimary(val *Pet)
- func (s *Pet) SetRate(val time.Duration)
- func (s *Pet) SetTag(val OptUUID)
- func (s *Pet) SetTestAny(val OptAnyTest)
- func (s *Pet) SetTestArray1(val [][]string)
- func (s *Pet) SetTestArray2(val OptArrayTest)
- func (s *Pet) SetTestDate(val OptDate)
- func (s *Pet) SetTestDateTime(val OptDateTime)
- func (s *Pet) SetTestDuration(val OptDuration)
- func (s *Pet) SetTestFloat1(val OptFloat64)
- func (s *Pet) SetTestInteger1(val OptInt)
- func (s *Pet) SetTestMap(val OptStringStringMap)
- func (s *Pet) SetTestMapWithProps(val OptMapWithProperties)
- func (s *Pet) SetTestMaxProperties(val OptMaxPropertiesTest)
- func (s *Pet) SetTestTime(val OptTime)
- func (s *Pet) SetType(val OptPetType)
- func (s *Pet) SetURI(val url.URL)
- func (s *Pet) SetUniqueID(val uuid.UUID)
- func (s *Pet) UnmarshalJSON(data []byte) error
- func (s *Pet) Validate() error
- type PetFriendsNamesByIDParams
- type PetGetAvatarByIDOK
- type PetGetAvatarByIDParams
- type PetGetAvatarByIDRes
- type PetGetAvatarByNameOK
- type PetGetAvatarByNameParams
- type PetGetAvatarByNameRes
- type PetGetByNameParams
- type PetGetDef
- type PetGetDefStatusCode
- type PetGetParams
- type PetGetRes
- type PetKind
- func (PetKind) AllValues() []PetKind
- func (s *PetKind) Decode(d *jx.Decoder) error
- func (s PetKind) Encode(e *jx.Encoder)
- func (s PetKind) MarshalJSON() ([]byte, error)
- func (s PetKind) MarshalText() ([]byte, error)
- func (s *PetKind) UnmarshalJSON(data []byte) error
- func (s *PetKind) UnmarshalText(data []byte) error
- func (s PetKind) Validate() error
- type PetName
- type PetNameByIDParams
- type PetType
- func (PetType) AllValues() []PetType
- func (s *PetType) Decode(d *jx.Decoder) error
- func (s PetType) Encode(e *jx.Encoder)
- func (s PetType) MarshalJSON() ([]byte, error)
- func (s PetType) MarshalText() ([]byte, error)
- func (s *PetType) UnmarshalJSON(data []byte) error
- func (s *PetType) UnmarshalText(data []byte) error
- func (s PetType) Validate() error
- type PetUpdateNameAliasPostDef
- type PetUpdateNamePostDef
- type PetUploadAvatarByIDOK
- type PetUploadAvatarByIDParams
- type PetUploadAvatarByIDReq
- type PetUploadAvatarByIDRes
- type RecursiveArray
- type RecursiveMap
- func (s *RecursiveMap) Decode(d *jx.Decoder) error
- func (s *RecursiveMap) Encode(e *jx.Encoder)
- func (s *RecursiveMap) GetAdditionalProps() RecursiveMapAdditional
- func (s *RecursiveMap) GetOptionalRecursiveField() *RecursiveMap
- func (s *RecursiveMap) MarshalJSON() ([]byte, error)
- func (s *RecursiveMap) SetAdditionalProps(val RecursiveMapAdditional)
- func (s *RecursiveMap) SetOptionalRecursiveField(val *RecursiveMap)
- func (s *RecursiveMap) UnmarshalJSON(data []byte) error
- type RecursiveMapAdditional
- type Route
- type SecurityHandler
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type StringIntMap
- func (s *StringIntMap) Decode(d *jx.Decoder) error
- func (s *StringIntMap) Encode(e *jx.Encoder)
- func (s *StringIntMap) GetAdditionalProps() StringIntMapAdditional
- func (s *StringIntMap) GetPattern0Props() StringIntMapPattern0
- func (s *StringIntMap) MarshalJSON() ([]byte, error)
- func (s *StringIntMap) SetAdditionalProps(val StringIntMapAdditional)
- func (s *StringIntMap) SetPattern0Props(val StringIntMapPattern0)
- func (s *StringIntMap) UnmarshalJSON(data []byte) error
- type StringIntMapAdditional
- type StringIntMapPattern0
- type StringMap
- type StringStringMap
- type TestFloatValidation
- func (s *TestFloatValidation) Decode(d *jx.Decoder) error
- func (s *TestFloatValidation) Encode(e *jx.Encoder)
- func (s *TestFloatValidation) GetMinmax() float64
- func (s *TestFloatValidation) GetMultipleOf() float64
- func (s *TestFloatValidation) MarshalJSON() ([]byte, error)
- func (s *TestFloatValidation) SetMinmax(val float64)
- func (s *TestFloatValidation) SetMultipleOf(val float64)
- func (s *TestFloatValidation) UnmarshalJSON(data []byte) error
- func (s *TestFloatValidation) Validate() error
- type TestFloatValidationOK
- type TestInlineOneOf
- func (s *TestInlineOneOf) Decode(d *jx.Decoder) error
- func (s *TestInlineOneOf) Encode(e *jx.Encoder)
- func (s *TestInlineOneOf) GetInlineDiscriminator() OptInlineDiscriminatorOneOf
- func (s *TestInlineOneOf) GetInlineUniqueFields() OptInlineUniqueFieldsOneOf
- func (s *TestInlineOneOf) GetMergeDiscriminator() OptMergeDiscriminatorOneOf
- func (s *TestInlineOneOf) GetMergeUniqueFields() OptMergeUniqueFieldsOneOf
- func (s *TestInlineOneOf) MarshalJSON() ([]byte, error)
- func (s *TestInlineOneOf) SetInlineDiscriminator(val OptInlineDiscriminatorOneOf)
- func (s *TestInlineOneOf) SetInlineUniqueFields(val OptInlineUniqueFieldsOneOf)
- func (s *TestInlineOneOf) SetMergeDiscriminator(val OptMergeDiscriminatorOneOf)
- func (s *TestInlineOneOf) SetMergeUniqueFields(val OptMergeUniqueFieldsOneOf)
- func (s *TestInlineOneOf) UnmarshalJSON(data []byte) error
- type TestNullableOneofsCreated
- func (s *TestNullableOneofsCreated) Decode(d *jx.Decoder) error
- func (s TestNullableOneofsCreated) Encode(e *jx.Encoder)
- func (s TestNullableOneofsCreated) MarshalJSON() ([]byte, error)
- func (s *TestNullableOneofsCreated) UnmarshalJSON(data []byte) error
- func (s TestNullableOneofsCreated) Validate() error
- type TestNullableOneofsOK
- type TestNullableOneofsRes
- type TupleNamedTest
- func (s *TupleNamedTest) Decode(d *jx.Decoder) error
- func (s *TupleNamedTest) Encode(e *jx.Encoder)
- func (s *TupleNamedTest) GetBoolean() bool
- func (s *TupleNamedTest) GetInteger() int
- func (s *TupleNamedTest) GetV2() string
- func (s *TupleNamedTest) GetV3() [][]string
- func (s *TupleNamedTest) GetV4() TupleNamedTestV4
- func (s *TupleNamedTest) MarshalJSON() ([]byte, error)
- func (s *TupleNamedTest) SetBoolean(val bool)
- func (s *TupleNamedTest) SetInteger(val int)
- func (s *TupleNamedTest) SetV2(val string)
- func (s *TupleNamedTest) SetV3(val [][]string)
- func (s *TupleNamedTest) SetV4(val TupleNamedTestV4)
- func (s *TupleNamedTest) UnmarshalJSON(data []byte) error
- func (s *TupleNamedTest) Validate() error
- type TupleNamedTestV4
- func (s *TupleNamedTestV4) Decode(d *jx.Decoder) error
- func (s *TupleNamedTestV4) Encode(e *jx.Encoder)
- func (s *TupleNamedTestV4) GetBar() OptString
- func (s *TupleNamedTestV4) GetFoo() string
- func (s *TupleNamedTestV4) MarshalJSON() ([]byte, error)
- func (s *TupleNamedTestV4) SetBar(val OptString)
- func (s *TupleNamedTestV4) SetFoo(val string)
- func (s *TupleNamedTestV4) UnmarshalJSON(data []byte) error
- type TupleTest
- func (s *TupleTest) Decode(d *jx.Decoder) error
- func (s *TupleTest) Encode(e *jx.Encoder)
- func (s *TupleTest) GetV0() int
- func (s *TupleTest) GetV1() bool
- func (s *TupleTest) GetV2() string
- func (s *TupleTest) GetV3() [][]string
- func (s *TupleTest) GetV4() TupleTestV4
- func (s *TupleTest) MarshalJSON() ([]byte, error)
- func (s *TupleTest) SetV0(val int)
- func (s *TupleTest) SetV1(val bool)
- func (s *TupleTest) SetV2(val string)
- func (s *TupleTest) SetV3(val [][]string)
- func (s *TupleTest) SetV4(val TupleTestV4)
- func (s *TupleTest) UnmarshalJSON(data []byte) error
- func (s *TupleTest) Validate() error
- type TupleTestV4
- func (s *TupleTestV4) Decode(d *jx.Decoder) error
- func (s *TupleTestV4) Encode(e *jx.Encoder)
- func (s *TupleTestV4) GetBar() OptString
- func (s *TupleTestV4) GetFoo() string
- func (s *TupleTestV4) MarshalJSON() ([]byte, error)
- func (s *TupleTestV4) SetBar(val OptString)
- func (s *TupleTestV4) SetFoo(val string)
- func (s *TupleTestV4) UnmarshalJSON(data []byte) error
- type UnimplementedHandler
- func (UnimplementedHandler) DataGetFormat(ctx context.Context, params DataGetFormatParams) (r string, _ error)
- func (UnimplementedHandler) DefaultTest(ctx context.Context, req *DefaultTest, params DefaultTestParams) (r int32, _ error)
- func (UnimplementedHandler) ErrorGet(ctx context.Context) (r *ErrorStatusCode, _ error)
- func (UnimplementedHandler) FoobarGet(ctx context.Context, params FoobarGetParams) (r FoobarGetRes, _ error)
- func (UnimplementedHandler) FoobarPost(ctx context.Context, req OptPet) (r FoobarPostRes, _ error)
- func (UnimplementedHandler) FoobarPut(ctx context.Context) (r *FoobarPutDef, _ error)
- func (UnimplementedHandler) NoAdditionalPropertiesTest(ctx context.Context) (r *NoAdditionalPropertiesTest, _ error)
- func (UnimplementedHandler) NullableDefaultResponse(ctx context.Context) (r *NilIntStatusCode, _ error)
- func (UnimplementedHandler) OneofBug(ctx context.Context, req *OneOfBugs) error
- func (UnimplementedHandler) PatternRecursiveMapGet(ctx context.Context) (r PatternRecursiveMap, _ error)
- func (UnimplementedHandler) PetCreate(ctx context.Context, req OptPet) (r *Pet, _ error)
- func (UnimplementedHandler) PetFriendsNamesByID(ctx context.Context, params PetFriendsNamesByIDParams) (r []string, _ error)
- func (UnimplementedHandler) PetGet(ctx context.Context, params PetGetParams) (r PetGetRes, _ error)
- func (UnimplementedHandler) PetGetAvatarByID(ctx context.Context, params PetGetAvatarByIDParams) (r PetGetAvatarByIDRes, _ error)
- func (UnimplementedHandler) PetGetAvatarByName(ctx context.Context, params PetGetAvatarByNameParams) (r PetGetAvatarByNameRes, _ error)
- func (UnimplementedHandler) PetGetByName(ctx context.Context, params PetGetByNameParams) (r *Pet, _ error)
- func (UnimplementedHandler) PetNameByID(ctx context.Context, params PetNameByIDParams) (r string, _ error)
- func (UnimplementedHandler) PetUpdateNameAliasPost(ctx context.Context, req OptPetName) (r *PetUpdateNameAliasPostDef, _ error)
- func (UnimplementedHandler) PetUpdateNamePost(ctx context.Context, req OptString) (r *PetUpdateNamePostDef, _ error)
- func (UnimplementedHandler) PetUploadAvatarByID(ctx context.Context, req PetUploadAvatarByIDReq, ...) (r PetUploadAvatarByIDRes, _ error)
- func (UnimplementedHandler) RecursiveArrayGet(ctx context.Context) (r RecursiveArray, _ error)
- func (UnimplementedHandler) RecursiveMapGet(ctx context.Context) (r *RecursiveMap, _ error)
- func (UnimplementedHandler) SecurityTest(ctx context.Context) (r string, _ error)
- func (UnimplementedHandler) StringIntMapGet(ctx context.Context) (r *StringIntMap, _ error)
- func (UnimplementedHandler) TestFloatValidation(ctx context.Context, req *TestFloatValidation) error
- func (UnimplementedHandler) TestInlineOneof(ctx context.Context) (r *TestInlineOneOf, _ error)
- func (UnimplementedHandler) TestIssue1310(ctx context.Context) (r *Issue1310, _ error)
- func (UnimplementedHandler) TestNullableOneofs(ctx context.Context) (r TestNullableOneofsRes, _ error)
- func (UnimplementedHandler) TestTuple(ctx context.Context) (r *TupleTest, _ error)
- func (UnimplementedHandler) TestTupleNamed(ctx context.Context) (r *TupleNamedTest, _ error)
- func (UnimplementedHandler) TestUniqueItems(ctx context.Context) (r *UniqueItemsTest, _ error)
- type UniqueItemsTest
- func (s *UniqueItemsTest) Decode(d *jx.Decoder) error
- func (s *UniqueItemsTest) Encode(e *jx.Encoder)
- func (s *UniqueItemsTest) GetNullableOptionalUnique() OptNilStringArray
- func (s *UniqueItemsTest) GetRequiredUnique() []string
- func (s *UniqueItemsTest) MarshalJSON() ([]byte, error)
- func (s *UniqueItemsTest) SetNullableOptionalUnique(val OptNilStringArray)
- func (s *UniqueItemsTest) SetRequiredUnique(val []string)
- func (s *UniqueItemsTest) UnmarshalJSON(data []byte) error
- func (s *UniqueItemsTest) Validate() error
- type ValidationStringMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIKey ¶
type APIKey struct {
APIKey string
}
type AnyTest ¶
type AnyTest struct { Empty jx.Raw `json:"empty"` AnyMap OptAnyTestAnyMap `json:"any_map"` AnyArray []jx.Raw `json:"any_array"` }
Ref: #/components/schemas/AnyTest
func (*AnyTest) GetAnyArray ¶
GetAnyArray returns the value of AnyArray.
func (*AnyTest) GetAnyMap ¶
func (s *AnyTest) GetAnyMap() OptAnyTestAnyMap
GetAnyMap returns the value of AnyMap.
func (*AnyTest) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*AnyTest) SetAnyArray ¶
SetAnyArray sets the value of AnyArray.
func (*AnyTest) SetAnyMap ¶
func (s *AnyTest) SetAnyMap(val OptAnyTestAnyMap)
SetAnyMap sets the value of AnyMap.
func (*AnyTest) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type AnyTestAnyMap ¶
func (*AnyTestAnyMap) Decode ¶
func (s *AnyTestAnyMap) Decode(d *jx.Decoder) error
Decode decodes AnyTestAnyMap from json.
func (AnyTestAnyMap) Encode ¶
func (s AnyTestAnyMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AnyTestAnyMap) MarshalJSON ¶
func (s AnyTestAnyMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AnyTestAnyMap) UnmarshalJSON ¶
func (s *AnyTestAnyMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ArrayTest ¶
type ArrayTest struct { Required []string `json:"required"` Optional []string `json:"optional"` NullableRequired []string `json:"nullable_required"` NullableOptional OptNilStringArray `json:"nullable_optional"` }
Test array encoder/decoder generation. Ref: #/components/schemas/ArrayTest
func (*ArrayTest) GetNullableOptional ¶
func (s *ArrayTest) GetNullableOptional() OptNilStringArray
GetNullableOptional returns the value of NullableOptional.
func (*ArrayTest) GetNullableRequired ¶
GetNullableRequired returns the value of NullableRequired.
func (*ArrayTest) GetOptional ¶
GetOptional returns the value of Optional.
func (*ArrayTest) GetRequired ¶
GetRequired returns the value of Required.
func (*ArrayTest) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ArrayTest) SetNullableOptional ¶
func (s *ArrayTest) SetNullableOptional(val OptNilStringArray)
SetNullableOptional sets the value of NullableOptional.
func (*ArrayTest) SetNullableRequired ¶
SetNullableRequired sets the value of NullableRequired.
func (*ArrayTest) SetOptional ¶
SetOptional sets the value of Optional.
func (*ArrayTest) SetRequired ¶
SetRequired sets the value of Required.
func (*ArrayTest) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Data ¶
type Data struct { ID ID `json:"id"` Description DataDescription `json:"description"` Email string `json:"email"` Hostname string `json:"hostname"` Format string `json:"format"` Base64 []byte `json:"base64"` NullableEnum OptNullableEnums `json:"nullable_enum"` }
Ref: #/components/schemas/Data
func (*Data) GetDescription ¶
func (s *Data) GetDescription() DataDescription
GetDescription returns the value of Description.
func (*Data) GetHostname ¶
GetHostname returns the value of Hostname.
func (*Data) GetNullableEnum ¶
func (s *Data) GetNullableEnum() OptNullableEnums
GetNullableEnum returns the value of NullableEnum.
func (*Data) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Data) SetDescription ¶
func (s *Data) SetDescription(val DataDescription)
SetDescription sets the value of Description.
func (*Data) SetHostname ¶
SetHostname sets the value of Hostname.
func (*Data) SetNullableEnum ¶
func (s *Data) SetNullableEnum(val OptNullableEnums)
SetNullableEnum sets the value of NullableEnum.
func (*Data) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type DataDescription ¶
type DataDescription struct { Type DataDescriptionType // switch on this field DescriptionDetailed DescriptionDetailed DescriptionSimple DescriptionSimple }
DataDescription represents sum type.
func NewDescriptionDetailedDataDescription ¶
func NewDescriptionDetailedDataDescription(v DescriptionDetailed) DataDescription
NewDescriptionDetailedDataDescription returns new DataDescription from DescriptionDetailed.
func NewDescriptionSimpleDataDescription ¶
func NewDescriptionSimpleDataDescription(v DescriptionSimple) DataDescription
NewDescriptionSimpleDataDescription returns new DataDescription from DescriptionSimple.
func (*DataDescription) Decode ¶
func (s *DataDescription) Decode(d *jx.Decoder) error
Decode decodes DataDescription from json.
func (DataDescription) Encode ¶
func (s DataDescription) Encode(e *jx.Encoder)
Encode encodes DataDescription as json.
func (DataDescription) GetDescriptionDetailed ¶
func (s DataDescription) GetDescriptionDetailed() (v DescriptionDetailed, ok bool)
GetDescriptionDetailed returns DescriptionDetailed and true boolean if DataDescription is DescriptionDetailed.
func (DataDescription) GetDescriptionSimple ¶
func (s DataDescription) GetDescriptionSimple() (v DescriptionSimple, ok bool)
GetDescriptionSimple returns DescriptionSimple and true boolean if DataDescription is DescriptionSimple.
func (DataDescription) IsDescriptionDetailed ¶
func (s DataDescription) IsDescriptionDetailed() bool
IsDescriptionDetailed reports whether DataDescription is DescriptionDetailed.
func (DataDescription) IsDescriptionSimple ¶
func (s DataDescription) IsDescriptionSimple() bool
IsDescriptionSimple reports whether DataDescription is DescriptionSimple.
func (DataDescription) MarshalJSON ¶
func (s DataDescription) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DataDescription) SetDescriptionDetailed ¶
func (s *DataDescription) SetDescriptionDetailed(v DescriptionDetailed)
SetDescriptionDetailed sets DataDescription to DescriptionDetailed.
func (*DataDescription) SetDescriptionSimple ¶
func (s *DataDescription) SetDescriptionSimple(v DescriptionSimple)
SetDescriptionSimple sets DataDescription to DescriptionSimple.
func (*DataDescription) UnmarshalJSON ¶
func (s *DataDescription) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DataDescriptionType ¶
type DataDescriptionType string
DataDescriptionType is oneOf type of DataDescription.
const ( DescriptionDetailedDataDescription DataDescriptionType = "DescriptionDetailed" DescriptionSimpleDataDescription DataDescriptionType = "DescriptionSimple" )
Possible values for DataDescriptionType.
type DataGetFormatParams ¶
DataGetFormatParams is parameters of dataGetFormat operation.
type DefaultTest ¶
type DefaultTest struct { Required string `json:"required"` Str OptString `json:"str"` NullStr OptNilString `json:"nullStr"` Enum OptDefaultTestEnum `json:"enum"` UUID OptUUID `json:"uuid"` IP OptIP `json:"ip"` IPV4 OptIPv4 `json:"ip_v4"` IPV6 OptIPv6 `json:"ip_v6"` URI OptURI `json:"uri"` Birthday OptDate `json:"birthday"` Rate OptDuration `json:"rate"` Email OptString `json:"email"` Hostname OptString `json:"hostname"` Format OptString `json:"format"` Base64 []byte `json:"base64"` }
Ref: #/components/schemas/DefaultTest
func (*DefaultTest) Decode ¶
func (s *DefaultTest) Decode(d *jx.Decoder) error
Decode decodes DefaultTest from json.
func (*DefaultTest) Encode ¶
func (s *DefaultTest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DefaultTest) GetBase64 ¶
func (s *DefaultTest) GetBase64() []byte
GetBase64 returns the value of Base64.
func (*DefaultTest) GetBirthday ¶
func (s *DefaultTest) GetBirthday() OptDate
GetBirthday returns the value of Birthday.
func (*DefaultTest) GetEmail ¶
func (s *DefaultTest) GetEmail() OptString
GetEmail returns the value of Email.
func (*DefaultTest) GetEnum ¶
func (s *DefaultTest) GetEnum() OptDefaultTestEnum
GetEnum returns the value of Enum.
func (*DefaultTest) GetFormat ¶
func (s *DefaultTest) GetFormat() OptString
GetFormat returns the value of Format.
func (*DefaultTest) GetHostname ¶
func (s *DefaultTest) GetHostname() OptString
GetHostname returns the value of Hostname.
func (*DefaultTest) GetIPV4 ¶
func (s *DefaultTest) GetIPV4() OptIPv4
GetIPV4 returns the value of IPV4.
func (*DefaultTest) GetIPV6 ¶
func (s *DefaultTest) GetIPV6() OptIPv6
GetIPV6 returns the value of IPV6.
func (*DefaultTest) GetNullStr ¶
func (s *DefaultTest) GetNullStr() OptNilString
GetNullStr returns the value of NullStr.
func (*DefaultTest) GetRate ¶
func (s *DefaultTest) GetRate() OptDuration
GetRate returns the value of Rate.
func (*DefaultTest) GetRequired ¶
func (s *DefaultTest) GetRequired() string
GetRequired returns the value of Required.
func (*DefaultTest) GetStr ¶
func (s *DefaultTest) GetStr() OptString
GetStr returns the value of Str.
func (*DefaultTest) GetUUID ¶
func (s *DefaultTest) GetUUID() OptUUID
GetUUID returns the value of UUID.
func (*DefaultTest) MarshalJSON ¶
func (s *DefaultTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DefaultTest) SetBase64 ¶
func (s *DefaultTest) SetBase64(val []byte)
SetBase64 sets the value of Base64.
func (*DefaultTest) SetBirthday ¶
func (s *DefaultTest) SetBirthday(val OptDate)
SetBirthday sets the value of Birthday.
func (*DefaultTest) SetEmail ¶
func (s *DefaultTest) SetEmail(val OptString)
SetEmail sets the value of Email.
func (*DefaultTest) SetEnum ¶
func (s *DefaultTest) SetEnum(val OptDefaultTestEnum)
SetEnum sets the value of Enum.
func (*DefaultTest) SetFormat ¶
func (s *DefaultTest) SetFormat(val OptString)
SetFormat sets the value of Format.
func (*DefaultTest) SetHostname ¶
func (s *DefaultTest) SetHostname(val OptString)
SetHostname sets the value of Hostname.
func (*DefaultTest) SetIPV4 ¶
func (s *DefaultTest) SetIPV4(val OptIPv4)
SetIPV4 sets the value of IPV4.
func (*DefaultTest) SetIPV6 ¶
func (s *DefaultTest) SetIPV6(val OptIPv6)
SetIPV6 sets the value of IPV6.
func (*DefaultTest) SetNullStr ¶
func (s *DefaultTest) SetNullStr(val OptNilString)
SetNullStr sets the value of NullStr.
func (*DefaultTest) SetRate ¶
func (s *DefaultTest) SetRate(val OptDuration)
SetRate sets the value of Rate.
func (*DefaultTest) SetRequired ¶
func (s *DefaultTest) SetRequired(val string)
SetRequired sets the value of Required.
func (*DefaultTest) SetStr ¶
func (s *DefaultTest) SetStr(val OptString)
SetStr sets the value of Str.
func (*DefaultTest) SetUUID ¶
func (s *DefaultTest) SetUUID(val OptUUID)
SetUUID sets the value of UUID.
func (*DefaultTest) UnmarshalJSON ¶
func (s *DefaultTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DefaultTest) Validate ¶
func (s *DefaultTest) Validate() error
type DefaultTestEnum ¶
type DefaultTestEnum string
const ( DefaultTestEnumBig DefaultTestEnum = "big" DefaultTestEnumSmol DefaultTestEnum = "smol" )
func (DefaultTestEnum) AllValues ¶ added in v0.74.0
func (DefaultTestEnum) AllValues() []DefaultTestEnum
AllValues returns all DefaultTestEnum values.
func (*DefaultTestEnum) Decode ¶
func (s *DefaultTestEnum) Decode(d *jx.Decoder) error
Decode decodes DefaultTestEnum from json.
func (DefaultTestEnum) Encode ¶
func (s DefaultTestEnum) Encode(e *jx.Encoder)
Encode encodes DefaultTestEnum as json.
func (DefaultTestEnum) MarshalJSON ¶
func (s DefaultTestEnum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (DefaultTestEnum) MarshalText ¶ added in v0.56.0
func (s DefaultTestEnum) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*DefaultTestEnum) UnmarshalJSON ¶
func (s *DefaultTestEnum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DefaultTestEnum) UnmarshalText ¶ added in v0.56.0
func (s *DefaultTestEnum) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (DefaultTestEnum) Validate ¶
func (s DefaultTestEnum) Validate() error
type DefaultTestParams ¶
type DefaultTestParams struct {
Default OptInt32
}
DefaultTestParams is parameters of defaultTest operation.
type DescriptionDetailed ¶
type DescriptionDetailed struct { Name string `json:"name"` Count int `json:"count"` ID OptID `json:"id"` }
Ref: #/components/schemas/DescriptionDetailed
func (*DescriptionDetailed) Decode ¶
func (s *DescriptionDetailed) Decode(d *jx.Decoder) error
Decode decodes DescriptionDetailed from json.
func (*DescriptionDetailed) Encode ¶
func (s *DescriptionDetailed) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DescriptionDetailed) GetCount ¶
func (s *DescriptionDetailed) GetCount() int
GetCount returns the value of Count.
func (*DescriptionDetailed) GetID ¶
func (s *DescriptionDetailed) GetID() OptID
GetID returns the value of ID.
func (*DescriptionDetailed) GetName ¶
func (s *DescriptionDetailed) GetName() string
GetName returns the value of Name.
func (*DescriptionDetailed) MarshalJSON ¶
func (s *DescriptionDetailed) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DescriptionDetailed) SetCount ¶
func (s *DescriptionDetailed) SetCount(val int)
SetCount sets the value of Count.
func (*DescriptionDetailed) SetID ¶
func (s *DescriptionDetailed) SetID(val OptID)
SetID sets the value of ID.
func (*DescriptionDetailed) SetName ¶
func (s *DescriptionDetailed) SetName(val string)
SetName sets the value of Name.
func (*DescriptionDetailed) UnmarshalJSON ¶
func (s *DescriptionDetailed) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DescriptionSimple ¶
type DescriptionSimple struct {
Description string `json:"description"`
}
Ref: #/components/schemas/DescriptionSimple
func (*DescriptionSimple) Decode ¶
func (s *DescriptionSimple) Decode(d *jx.Decoder) error
Decode decodes DescriptionSimple from json.
func (*DescriptionSimple) Encode ¶
func (s *DescriptionSimple) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DescriptionSimple) GetDescription ¶
func (s *DescriptionSimple) GetDescription() string
GetDescription returns the value of Description.
func (*DescriptionSimple) MarshalJSON ¶
func (s *DescriptionSimple) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DescriptionSimple) SetDescription ¶
func (s *DescriptionSimple) SetDescription(val string)
SetDescription sets the value of Description.
func (*DescriptionSimple) UnmarshalJSON ¶
func (s *DescriptionSimple) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Error ¶
func (*Error) GetMessage ¶
GetMessage returns the value of Message.
func (*Error) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Error) SetMessage ¶
SetMessage sets the value of Message.
func (*Error) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorStatusCode ¶
ErrorStatusCode wraps Error with StatusCode.
func (*ErrorStatusCode) GetResponse ¶
func (s *ErrorStatusCode) GetResponse() Error
GetResponse returns the value of Response.
func (*ErrorStatusCode) GetStatusCode ¶
func (s *ErrorStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ErrorStatusCode) SetResponse ¶
func (s *ErrorStatusCode) SetResponse(val Error)
SetResponse sets the value of Response.
func (*ErrorStatusCode) SetStatusCode ¶
func (s *ErrorStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type FoobarGetParams ¶
type FoobarGetParams struct { // InlinedParam. InlinedParam int64 // Number of items to skip. Skip int32 }
FoobarGetParams is parameters of foobarGet operation.
type FoobarGetRes ¶
type FoobarGetRes interface {
// contains filtered or unexported methods
}
type FoobarPostRes ¶
type FoobarPostRes interface {
// contains filtered or unexported methods
}
type FoobarPutDef ¶
type FoobarPutDef struct {
StatusCode int
}
FoobarPutDef is default response for FoobarPut operation.
func (*FoobarPutDef) GetStatusCode ¶
func (s *FoobarPutDef) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*FoobarPutDef) SetStatusCode ¶
func (s *FoobarPutDef) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type Handler ¶
type Handler interface { // DataGetFormat implements dataGetFormat operation. // // Retrieve data. // // GET /name/{id}/{foo}1234{bar}-{baz}!{kek} DataGetFormat(ctx context.Context, params DataGetFormatParams) (string, error) // DefaultTest implements defaultTest operation. // // POST /defaultTest DefaultTest(ctx context.Context, req *DefaultTest, params DefaultTestParams) (int32, error) // ErrorGet implements errorGet operation. // // Returns error. // // GET /error ErrorGet(ctx context.Context) (*ErrorStatusCode, error) // FoobarGet implements foobarGet operation. // // Dumb endpoint for testing things. // // GET /foobar FoobarGet(ctx context.Context, params FoobarGetParams) (FoobarGetRes, error) // FoobarPost implements foobarPost operation. // // Dumb endpoint for testing things. // // POST /foobar FoobarPost(ctx context.Context, req OptPet) (FoobarPostRes, error) // FoobarPut implements PUT /foobar operation. // // PUT /foobar FoobarPut(ctx context.Context) (*FoobarPutDef, error) // NoAdditionalPropertiesTest implements noAdditionalPropertiesTest operation. // // GET /noAdditionalPropertiesTest NoAdditionalPropertiesTest(ctx context.Context) (*NoAdditionalPropertiesTest, error) // NullableDefaultResponse implements nullableDefaultResponse operation. // // GET /nullableDefaultResponse NullableDefaultResponse(ctx context.Context) (*NilIntStatusCode, error) // OneofBug implements oneofBug operation. // // POST /oneofBug OneofBug(ctx context.Context, req *OneOfBugs) error // PatternRecursiveMapGet implements GET /patternRecursiveMap operation. // // GET /patternRecursiveMap PatternRecursiveMapGet(ctx context.Context) (PatternRecursiveMap, error) // PetCreate implements petCreate operation. // // Creates pet. // // POST /pet PetCreate(ctx context.Context, req OptPet) (*Pet, error) // PetFriendsNamesByID implements petFriendsNamesByID operation. // // Returns names of all friends of pet. // // GET /pet/friendNames/{id} PetFriendsNamesByID(ctx context.Context, params PetFriendsNamesByIDParams) ([]string, error) // PetGet implements petGet operation. // // Returns pet from the system that the user has access to. // // GET /pet PetGet(ctx context.Context, params PetGetParams) (PetGetRes, error) // PetGetAvatarByID implements petGetAvatarByID operation. // // Returns pet avatar by id. // // GET /pet/avatar PetGetAvatarByID(ctx context.Context, params PetGetAvatarByIDParams) (PetGetAvatarByIDRes, error) // PetGetAvatarByName implements petGetAvatarByName operation. // // Returns pet's avatar by name. // // GET /pet/{name}/avatar PetGetAvatarByName(ctx context.Context, params PetGetAvatarByNameParams) (PetGetAvatarByNameRes, error) // PetGetByName implements petGetByName operation. // // Returns pet by name from the system that the user has access to. // // GET /pet/{name} PetGetByName(ctx context.Context, params PetGetByNameParams) (*Pet, error) // PetNameByID implements petNameByID operation. // // Returns pet name by pet id. // // GET /pet/name/{id} PetNameByID(ctx context.Context, params PetNameByIDParams) (string, error) // PetUpdateNameAliasPost implements POST /pet/updateNameAlias operation. // // POST /pet/updateNameAlias PetUpdateNameAliasPost(ctx context.Context, req OptPetName) (*PetUpdateNameAliasPostDef, error) // PetUpdateNamePost implements POST /pet/updateName operation. // // POST /pet/updateName PetUpdateNamePost(ctx context.Context, req OptString) (*PetUpdateNamePostDef, error) // PetUploadAvatarByID implements petUploadAvatarByID operation. // // Uploads pet avatar by id. // // POST /pet/avatar PetUploadAvatarByID(ctx context.Context, req PetUploadAvatarByIDReq, params PetUploadAvatarByIDParams) (PetUploadAvatarByIDRes, error) // RecursiveArrayGet implements GET /recursiveArray operation. // // GET /recursiveArray RecursiveArrayGet(ctx context.Context) (RecursiveArray, error) // RecursiveMapGet implements GET /recursiveMap operation. // // GET /recursiveMap RecursiveMapGet(ctx context.Context) (*RecursiveMap, error) // SecurityTest implements securityTest operation. // // GET /securityTest SecurityTest(ctx context.Context) (string, error) // StringIntMapGet implements GET /stringIntMap operation. // // GET /stringIntMap StringIntMapGet(ctx context.Context) (*StringIntMap, error) // TestFloatValidation implements testFloatValidation operation. // // POST /testFloatValidation TestFloatValidation(ctx context.Context, req *TestFloatValidation) error // TestInlineOneof implements testInlineOneof operation. // // GET /testInlineOneof TestInlineOneof(ctx context.Context) (*TestInlineOneOf, error) // TestIssue1310 implements testIssue1310 operation. // // GET /testIssue1310 TestIssue1310(ctx context.Context) (*Issue1310, error) // TestNullableOneofs implements testNullableOneofs operation. // // GET /testNullableOneofs TestNullableOneofs(ctx context.Context) (TestNullableOneofsRes, error) // TestTuple implements testTuple operation. // // GET /testTuple TestTuple(ctx context.Context) (*TupleTest, error) // TestTupleNamed implements testTupleNamed operation. // // GET /testTupleNamed TestTupleNamed(ctx context.Context) (*TupleNamedTest, error) // TestUniqueItems implements testUniqueItems operation. // // GET /testUniqueItems TestUniqueItems(ctx context.Context) (*UniqueItemsTest, error) }
Handler handles operations described by OpenAPI v3 specification.
type ID ¶
Ref: #/components/schemas/ID ID represents sum type.
func (ID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ID) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type InlineDiscriminatorOneOf ¶ added in v0.72.0
type InlineDiscriminatorOneOf struct { Common string `json:"common"` OneOf InlineDiscriminatorOneOfSum }
Ref: #/components/schemas/InlineDiscriminatorOneOf
func (*InlineDiscriminatorOneOf) Decode ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOf) Decode(d *jx.Decoder) error
Decode decodes InlineDiscriminatorOneOf from json.
func (*InlineDiscriminatorOneOf) Encode ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOf) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*InlineDiscriminatorOneOf) GetCommon ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOf) GetCommon() string
GetCommon returns the value of Common.
func (*InlineDiscriminatorOneOf) GetOneOf ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOf) GetOneOf() InlineDiscriminatorOneOfSum
GetOneOf returns the value of OneOf.
func (*InlineDiscriminatorOneOf) MarshalJSON ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOf) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InlineDiscriminatorOneOf) SetCommon ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOf) SetCommon(val string)
SetCommon sets the value of Common.
func (*InlineDiscriminatorOneOf) SetOneOf ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOf) SetOneOf(val InlineDiscriminatorOneOfSum)
SetOneOf sets the value of OneOf.
func (*InlineDiscriminatorOneOf) UnmarshalJSON ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOf) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type InlineDiscriminatorOneOfSum ¶ added in v0.72.0
type InlineDiscriminatorOneOfSum struct { Type InlineDiscriminatorOneOfSumType // switch on this field InlineOneOfFoo InlineOneOfFoo InlineOneOfBar InlineOneOfBar }
InlineDiscriminatorOneOfSum represents sum type.
func NewInlineOneOfBarInlineDiscriminatorOneOfSum ¶ added in v0.72.0
func NewInlineOneOfBarInlineDiscriminatorOneOfSum(v InlineOneOfBar) InlineDiscriminatorOneOfSum
NewInlineOneOfBarInlineDiscriminatorOneOfSum returns new InlineDiscriminatorOneOfSum from InlineOneOfBar.
func NewInlineOneOfFooInlineDiscriminatorOneOfSum ¶ added in v0.72.0
func NewInlineOneOfFooInlineDiscriminatorOneOfSum(v InlineOneOfFoo) InlineDiscriminatorOneOfSum
NewInlineOneOfFooInlineDiscriminatorOneOfSum returns new InlineDiscriminatorOneOfSum from InlineOneOfFoo.
func (*InlineDiscriminatorOneOfSum) Decode ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOfSum) Decode(d *jx.Decoder) error
Decode decodes InlineDiscriminatorOneOfSum from json.
func (InlineDiscriminatorOneOfSum) Encode ¶ added in v0.72.0
func (s InlineDiscriminatorOneOfSum) Encode(e *jx.Encoder)
Encode encodes InlineDiscriminatorOneOfSum as json.
func (InlineDiscriminatorOneOfSum) GetInlineOneOfBar ¶ added in v0.72.0
func (s InlineDiscriminatorOneOfSum) GetInlineOneOfBar() (v InlineOneOfBar, ok bool)
GetInlineOneOfBar returns InlineOneOfBar and true boolean if InlineDiscriminatorOneOfSum is InlineOneOfBar.
func (InlineDiscriminatorOneOfSum) GetInlineOneOfFoo ¶ added in v0.72.0
func (s InlineDiscriminatorOneOfSum) GetInlineOneOfFoo() (v InlineOneOfFoo, ok bool)
GetInlineOneOfFoo returns InlineOneOfFoo and true boolean if InlineDiscriminatorOneOfSum is InlineOneOfFoo.
func (InlineDiscriminatorOneOfSum) IsInlineOneOfBar ¶ added in v0.72.0
func (s InlineDiscriminatorOneOfSum) IsInlineOneOfBar() bool
IsInlineOneOfBar reports whether InlineDiscriminatorOneOfSum is InlineOneOfBar.
func (InlineDiscriminatorOneOfSum) IsInlineOneOfFoo ¶ added in v0.72.0
func (s InlineDiscriminatorOneOfSum) IsInlineOneOfFoo() bool
IsInlineOneOfFoo reports whether InlineDiscriminatorOneOfSum is InlineOneOfFoo.
func (InlineDiscriminatorOneOfSum) MarshalJSON ¶ added in v0.72.0
func (s InlineDiscriminatorOneOfSum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InlineDiscriminatorOneOfSum) SetInlineOneOfBar ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOfSum) SetInlineOneOfBar(v InlineOneOfBar)
SetInlineOneOfBar sets InlineDiscriminatorOneOfSum to InlineOneOfBar.
func (*InlineDiscriminatorOneOfSum) SetInlineOneOfFoo ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOfSum) SetInlineOneOfFoo(v InlineOneOfFoo)
SetInlineOneOfFoo sets InlineDiscriminatorOneOfSum to InlineOneOfFoo.
func (*InlineDiscriminatorOneOfSum) UnmarshalJSON ¶ added in v0.72.0
func (s *InlineDiscriminatorOneOfSum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type InlineDiscriminatorOneOfSumType ¶ added in v0.72.0
type InlineDiscriminatorOneOfSumType string
InlineDiscriminatorOneOfSumType is oneOf type of InlineDiscriminatorOneOfSum.
const ( InlineOneOfFooInlineDiscriminatorOneOfSum InlineDiscriminatorOneOfSumType = "foo" InlineOneOfBarInlineDiscriminatorOneOfSum InlineDiscriminatorOneOfSumType = "bar" )
Possible values for InlineDiscriminatorOneOfSumType.
type InlineOneOfBar ¶ added in v0.72.0
Ref: #/components/schemas/InlineOneOfBar
func (*InlineOneOfBar) Decode ¶ added in v0.72.0
func (s *InlineOneOfBar) Decode(d *jx.Decoder) error
Decode decodes InlineOneOfBar from json.
func (*InlineOneOfBar) Encode ¶ added in v0.72.0
func (s *InlineOneOfBar) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*InlineOneOfBar) GetBar ¶ added in v0.72.0
func (s *InlineOneOfBar) GetBar() OptString
GetBar returns the value of Bar.
func (*InlineOneOfBar) GetKind ¶ added in v1.1.0
func (s *InlineOneOfBar) GetKind() OptString
GetKind returns the value of Kind.
func (*InlineOneOfBar) MarshalJSON ¶ added in v0.72.0
func (s *InlineOneOfBar) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InlineOneOfBar) SetBar ¶ added in v0.72.0
func (s *InlineOneOfBar) SetBar(val OptString)
SetBar sets the value of Bar.
func (*InlineOneOfBar) SetKind ¶ added in v1.1.0
func (s *InlineOneOfBar) SetKind(val OptString)
SetKind sets the value of Kind.
func (*InlineOneOfBar) UnmarshalJSON ¶ added in v0.72.0
func (s *InlineOneOfBar) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type InlineOneOfFoo ¶ added in v0.72.0
Ref: #/components/schemas/InlineOneOfFoo
func (*InlineOneOfFoo) Decode ¶ added in v0.72.0
func (s *InlineOneOfFoo) Decode(d *jx.Decoder) error
Decode decodes InlineOneOfFoo from json.
func (*InlineOneOfFoo) Encode ¶ added in v0.72.0
func (s *InlineOneOfFoo) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*InlineOneOfFoo) GetFoo ¶ added in v0.72.0
func (s *InlineOneOfFoo) GetFoo() OptString
GetFoo returns the value of Foo.
func (*InlineOneOfFoo) GetKind ¶ added in v1.1.0
func (s *InlineOneOfFoo) GetKind() OptString
GetKind returns the value of Kind.
func (*InlineOneOfFoo) MarshalJSON ¶ added in v0.72.0
func (s *InlineOneOfFoo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InlineOneOfFoo) SetFoo ¶ added in v0.72.0
func (s *InlineOneOfFoo) SetFoo(val OptString)
SetFoo sets the value of Foo.
func (*InlineOneOfFoo) SetKind ¶ added in v1.1.0
func (s *InlineOneOfFoo) SetKind(val OptString)
SetKind sets the value of Kind.
func (*InlineOneOfFoo) UnmarshalJSON ¶ added in v0.72.0
func (s *InlineOneOfFoo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type InlineUniqueFieldsOneOf ¶ added in v0.72.0
type InlineUniqueFieldsOneOf struct { Common string `json:"common"` OneOf InlineUniqueFieldsOneOfSum }
Ref: #/components/schemas/InlineUniqueFieldsOneOf
func (*InlineUniqueFieldsOneOf) Decode ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOf) Decode(d *jx.Decoder) error
Decode decodes InlineUniqueFieldsOneOf from json.
func (*InlineUniqueFieldsOneOf) Encode ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOf) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*InlineUniqueFieldsOneOf) GetCommon ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOf) GetCommon() string
GetCommon returns the value of Common.
func (*InlineUniqueFieldsOneOf) GetOneOf ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOf) GetOneOf() InlineUniqueFieldsOneOfSum
GetOneOf returns the value of OneOf.
func (*InlineUniqueFieldsOneOf) MarshalJSON ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOf) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InlineUniqueFieldsOneOf) SetCommon ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOf) SetCommon(val string)
SetCommon sets the value of Common.
func (*InlineUniqueFieldsOneOf) SetOneOf ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOf) SetOneOf(val InlineUniqueFieldsOneOfSum)
SetOneOf sets the value of OneOf.
func (*InlineUniqueFieldsOneOf) UnmarshalJSON ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOf) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type InlineUniqueFieldsOneOfSum ¶ added in v0.72.0
type InlineUniqueFieldsOneOfSum struct { Type InlineUniqueFieldsOneOfSumType // switch on this field InlineOneOfFoo InlineOneOfFoo InlineOneOfBar InlineOneOfBar }
InlineUniqueFieldsOneOfSum represents sum type.
func NewInlineOneOfBarInlineUniqueFieldsOneOfSum ¶ added in v0.72.0
func NewInlineOneOfBarInlineUniqueFieldsOneOfSum(v InlineOneOfBar) InlineUniqueFieldsOneOfSum
NewInlineOneOfBarInlineUniqueFieldsOneOfSum returns new InlineUniqueFieldsOneOfSum from InlineOneOfBar.
func NewInlineOneOfFooInlineUniqueFieldsOneOfSum ¶ added in v0.72.0
func NewInlineOneOfFooInlineUniqueFieldsOneOfSum(v InlineOneOfFoo) InlineUniqueFieldsOneOfSum
NewInlineOneOfFooInlineUniqueFieldsOneOfSum returns new InlineUniqueFieldsOneOfSum from InlineOneOfFoo.
func (*InlineUniqueFieldsOneOfSum) Decode ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOfSum) Decode(d *jx.Decoder) error
Decode decodes InlineUniqueFieldsOneOfSum from json.
func (InlineUniqueFieldsOneOfSum) Encode ¶ added in v0.72.0
func (s InlineUniqueFieldsOneOfSum) Encode(e *jx.Encoder)
Encode encodes InlineUniqueFieldsOneOfSum as json.
func (InlineUniqueFieldsOneOfSum) GetInlineOneOfBar ¶ added in v0.72.0
func (s InlineUniqueFieldsOneOfSum) GetInlineOneOfBar() (v InlineOneOfBar, ok bool)
GetInlineOneOfBar returns InlineOneOfBar and true boolean if InlineUniqueFieldsOneOfSum is InlineOneOfBar.
func (InlineUniqueFieldsOneOfSum) GetInlineOneOfFoo ¶ added in v0.72.0
func (s InlineUniqueFieldsOneOfSum) GetInlineOneOfFoo() (v InlineOneOfFoo, ok bool)
GetInlineOneOfFoo returns InlineOneOfFoo and true boolean if InlineUniqueFieldsOneOfSum is InlineOneOfFoo.
func (InlineUniqueFieldsOneOfSum) IsInlineOneOfBar ¶ added in v0.72.0
func (s InlineUniqueFieldsOneOfSum) IsInlineOneOfBar() bool
IsInlineOneOfBar reports whether InlineUniqueFieldsOneOfSum is InlineOneOfBar.
func (InlineUniqueFieldsOneOfSum) IsInlineOneOfFoo ¶ added in v0.72.0
func (s InlineUniqueFieldsOneOfSum) IsInlineOneOfFoo() bool
IsInlineOneOfFoo reports whether InlineUniqueFieldsOneOfSum is InlineOneOfFoo.
func (InlineUniqueFieldsOneOfSum) MarshalJSON ¶ added in v0.72.0
func (s InlineUniqueFieldsOneOfSum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InlineUniqueFieldsOneOfSum) SetInlineOneOfBar ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOfSum) SetInlineOneOfBar(v InlineOneOfBar)
SetInlineOneOfBar sets InlineUniqueFieldsOneOfSum to InlineOneOfBar.
func (*InlineUniqueFieldsOneOfSum) SetInlineOneOfFoo ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOfSum) SetInlineOneOfFoo(v InlineOneOfFoo)
SetInlineOneOfFoo sets InlineUniqueFieldsOneOfSum to InlineOneOfFoo.
func (*InlineUniqueFieldsOneOfSum) UnmarshalJSON ¶ added in v0.72.0
func (s *InlineUniqueFieldsOneOfSum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type InlineUniqueFieldsOneOfSumType ¶ added in v0.72.0
type InlineUniqueFieldsOneOfSumType string
InlineUniqueFieldsOneOfSumType is oneOf type of InlineUniqueFieldsOneOfSum.
const ( InlineOneOfFooInlineUniqueFieldsOneOfSum InlineUniqueFieldsOneOfSumType = "InlineOneOfFoo" InlineOneOfBarInlineUniqueFieldsOneOfSum InlineUniqueFieldsOneOfSumType = "InlineOneOfBar" )
Possible values for InlineUniqueFieldsOneOfSumType.
type Issue1310 ¶ added in v1.4.1
type Issue1310 struct { // A short, human-readable summary of the problem type. This value should not change between // occurrences of the error. Title OptString `json:"title"` // A human-readable explanation specific to this occurrence of the problem. Details OptString `json:"details"` // Optional map of properties. Properties OptIssue1310Properties `json:"properties"` }
An API error. Ref: #/components/schemas/Issue1310
func (*Issue1310) GetDetails ¶ added in v1.4.1
GetDetails returns the value of Details.
func (*Issue1310) GetProperties ¶ added in v1.4.1
func (s *Issue1310) GetProperties() OptIssue1310Properties
GetProperties returns the value of Properties.
func (*Issue1310) MarshalJSON ¶ added in v1.4.1
MarshalJSON implements stdjson.Marshaler.
func (*Issue1310) SetDetails ¶ added in v1.4.1
SetDetails sets the value of Details.
func (*Issue1310) SetProperties ¶ added in v1.4.1
func (s *Issue1310) SetProperties(val OptIssue1310Properties)
SetProperties sets the value of Properties.
func (*Issue1310) UnmarshalJSON ¶ added in v1.4.1
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue1310Properties ¶ added in v1.4.1
type Issue1310Properties struct{}
Optional map of properties.
func (*Issue1310Properties) Decode ¶ added in v1.4.1
func (s *Issue1310Properties) Decode(d *jx.Decoder) error
Decode decodes Issue1310Properties from json.
func (*Issue1310Properties) Encode ¶ added in v1.4.1
func (s *Issue1310Properties) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*Issue1310Properties) MarshalJSON ¶ added in v1.4.1
func (s *Issue1310Properties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Issue1310Properties) UnmarshalJSON ¶ added in v1.4.1
func (s *Issue1310Properties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue143 ¶
type Issue143 struct { Type Issue143Type // switch on this field Issue1430 Issue1430 Issue1431 Issue1431 Issue1432 Issue1432 Issue1433 Issue1433 }
Ref: #/components/schemas/Issue143 Issue143 represents sum type.
func NewIssue1430Issue143 ¶
NewIssue1430Issue143 returns new Issue143 from Issue1430.
func NewIssue1431Issue143 ¶
NewIssue1431Issue143 returns new Issue143 from Issue1431.
func NewIssue1432Issue143 ¶
NewIssue1432Issue143 returns new Issue143 from Issue1432.
func NewIssue1433Issue143 ¶
NewIssue1433Issue143 returns new Issue143 from Issue1433.
func (Issue143) GetIssue1430 ¶
GetIssue1430 returns Issue1430 and true boolean if Issue143 is Issue1430.
func (Issue143) GetIssue1431 ¶
GetIssue1431 returns Issue1431 and true boolean if Issue143 is Issue1431.
func (Issue143) GetIssue1432 ¶
GetIssue1432 returns Issue1432 and true boolean if Issue143 is Issue1432.
func (Issue143) GetIssue1433 ¶
GetIssue1433 returns Issue1433 and true boolean if Issue143 is Issue1433.
func (Issue143) IsIssue1430 ¶
IsIssue1430 reports whether Issue143 is Issue1430.
func (Issue143) IsIssue1431 ¶
IsIssue1431 reports whether Issue143 is Issue1431.
func (Issue143) IsIssue1432 ¶
IsIssue1432 reports whether Issue143 is Issue1432.
func (Issue143) IsIssue1433 ¶
IsIssue1433 reports whether Issue143 is Issue1433.
func (Issue143) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Issue143) SetIssue1430 ¶
SetIssue1430 sets Issue143 to Issue1430.
func (*Issue143) SetIssue1431 ¶
SetIssue1431 sets Issue143 to Issue1431.
func (*Issue143) SetIssue1432 ¶
SetIssue1432 sets Issue143 to Issue1432.
func (*Issue143) SetIssue1433 ¶
SetIssue1433 sets Issue143 to Issue1433.
func (*Issue143) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue1430 ¶
type Issue1430 struct { CommonMinus1 string `json:"common-1"` CommonMinus2 int `json:"common-2"` UniqueMinus1 string `json:"unique-1"` }
func (*Issue1430) GetCommonMinus1 ¶
GetCommonMinus1 returns the value of CommonMinus1.
func (*Issue1430) GetCommonMinus2 ¶
GetCommonMinus2 returns the value of CommonMinus2.
func (*Issue1430) GetUniqueMinus1 ¶
GetUniqueMinus1 returns the value of UniqueMinus1.
func (*Issue1430) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Issue1430) SetCommonMinus1 ¶
SetCommonMinus1 sets the value of CommonMinus1.
func (*Issue1430) SetCommonMinus2 ¶
SetCommonMinus2 sets the value of CommonMinus2.
func (*Issue1430) SetUniqueMinus1 ¶
SetUniqueMinus1 sets the value of UniqueMinus1.
func (*Issue1430) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue1431 ¶
type Issue1431 struct { CommonMinus1 string `json:"common-1"` CommonMinus2 int `json:"common-2"` UniqueMinus2 string `json:"unique-2"` }
func (*Issue1431) GetCommonMinus1 ¶
GetCommonMinus1 returns the value of CommonMinus1.
func (*Issue1431) GetCommonMinus2 ¶
GetCommonMinus2 returns the value of CommonMinus2.
func (*Issue1431) GetUniqueMinus2 ¶
GetUniqueMinus2 returns the value of UniqueMinus2.
func (*Issue1431) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Issue1431) SetCommonMinus1 ¶
SetCommonMinus1 sets the value of CommonMinus1.
func (*Issue1431) SetCommonMinus2 ¶
SetCommonMinus2 sets the value of CommonMinus2.
func (*Issue1431) SetUniqueMinus2 ¶
SetUniqueMinus2 sets the value of UniqueMinus2.
func (*Issue1431) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue1432 ¶
type Issue1432 struct { CommonMinus1 string `json:"common-1"` CommonMinus2 int `json:"common-2"` CommonMinus3 OptInt `json:"common-3"` UniqueMinus3 string `json:"unique-3"` }
func (*Issue1432) GetCommonMinus1 ¶
GetCommonMinus1 returns the value of CommonMinus1.
func (*Issue1432) GetCommonMinus2 ¶
GetCommonMinus2 returns the value of CommonMinus2.
func (*Issue1432) GetCommonMinus3 ¶
GetCommonMinus3 returns the value of CommonMinus3.
func (*Issue1432) GetUniqueMinus3 ¶
GetUniqueMinus3 returns the value of UniqueMinus3.
func (*Issue1432) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Issue1432) SetCommonMinus1 ¶
SetCommonMinus1 sets the value of CommonMinus1.
func (*Issue1432) SetCommonMinus2 ¶
SetCommonMinus2 sets the value of CommonMinus2.
func (*Issue1432) SetCommonMinus3 ¶
SetCommonMinus3 sets the value of CommonMinus3.
func (*Issue1432) SetUniqueMinus3 ¶
SetUniqueMinus3 sets the value of UniqueMinus3.
func (*Issue1432) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue1433 ¶
type Issue1433 struct { CommonMinus3 OptInt `json:"common-3"` UniqueMinus4 string `json:"unique-4"` }
func (*Issue1433) GetCommonMinus3 ¶
GetCommonMinus3 returns the value of CommonMinus3.
func (*Issue1433) GetUniqueMinus4 ¶
GetUniqueMinus4 returns the value of UniqueMinus4.
func (*Issue1433) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Issue1433) SetCommonMinus3 ¶
SetCommonMinus3 sets the value of CommonMinus3.
func (*Issue1433) SetUniqueMinus4 ¶
SetUniqueMinus4 sets the value of UniqueMinus4.
func (*Issue1433) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue143Type ¶
type Issue143Type string
Issue143Type is oneOf type of Issue143.
const ( Issue1430Issue143 Issue143Type = "Issue1430" Issue1431Issue143 Issue143Type = "Issue1431" Issue1432Issue143 Issue143Type = "Issue1432" Issue1433Issue143 Issue143Type = "Issue1433" )
Possible values for Issue143Type.
type Issue943 ¶ added in v0.69.0
type Issue943 struct { Type Issue943Type // switch on this field Issue943Variant1 Issue943Variant1 Issue943Variant2 Issue943Variant2 Issue943Map Issue943Map }
Ref: #/components/schemas/Issue943 Issue943 represents sum type.
func NewIssue943MapIssue943 ¶ added in v0.69.0
func NewIssue943MapIssue943(v Issue943Map) Issue943
NewIssue943MapIssue943 returns new Issue943 from Issue943Map.
func NewIssue943Variant1Issue943 ¶ added in v0.69.0
func NewIssue943Variant1Issue943(v Issue943Variant1) Issue943
NewIssue943Variant1Issue943 returns new Issue943 from Issue943Variant1.
func NewIssue943Variant2Issue943 ¶ added in v0.69.0
func NewIssue943Variant2Issue943(v Issue943Variant2) Issue943
NewIssue943Variant2Issue943 returns new Issue943 from Issue943Variant2.
func (Issue943) GetIssue943Map ¶ added in v0.69.0
func (s Issue943) GetIssue943Map() (v Issue943Map, ok bool)
GetIssue943Map returns Issue943Map and true boolean if Issue943 is Issue943Map.
func (Issue943) GetIssue943Variant1 ¶ added in v0.69.0
func (s Issue943) GetIssue943Variant1() (v Issue943Variant1, ok bool)
GetIssue943Variant1 returns Issue943Variant1 and true boolean if Issue943 is Issue943Variant1.
func (Issue943) GetIssue943Variant2 ¶ added in v0.69.0
func (s Issue943) GetIssue943Variant2() (v Issue943Variant2, ok bool)
GetIssue943Variant2 returns Issue943Variant2 and true boolean if Issue943 is Issue943Variant2.
func (Issue943) IsIssue943Map ¶ added in v0.69.0
IsIssue943Map reports whether Issue943 is Issue943Map.
func (Issue943) IsIssue943Variant1 ¶ added in v0.69.0
IsIssue943Variant1 reports whether Issue943 is Issue943Variant1.
func (Issue943) IsIssue943Variant2 ¶ added in v0.69.0
IsIssue943Variant2 reports whether Issue943 is Issue943Variant2.
func (Issue943) MarshalJSON ¶ added in v0.69.0
MarshalJSON implements stdjson.Marshaler.
func (*Issue943) SetIssue943Map ¶ added in v0.69.0
func (s *Issue943) SetIssue943Map(v Issue943Map)
SetIssue943Map sets Issue943 to Issue943Map.
func (*Issue943) SetIssue943Variant1 ¶ added in v0.69.0
func (s *Issue943) SetIssue943Variant1(v Issue943Variant1)
SetIssue943Variant1 sets Issue943 to Issue943Variant1.
func (*Issue943) SetIssue943Variant2 ¶ added in v0.69.0
func (s *Issue943) SetIssue943Variant2(v Issue943Variant2)
SetIssue943Variant2 sets Issue943 to Issue943Variant2.
func (*Issue943) UnmarshalJSON ¶ added in v0.69.0
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue943Map ¶ added in v0.69.0
type Issue943Map struct { Selector string `json:"selector"` // Pattern: "^variant3_[^\r\n\u2028\u2029]*". Pattern0Props Issue943MapPattern0 }
Ref: #/components/schemas/Issue943Map
func (*Issue943Map) Decode ¶ added in v0.69.0
func (s *Issue943Map) Decode(d *jx.Decoder) error
Decode decodes Issue943Map from json.
func (*Issue943Map) Encode ¶ added in v0.69.0
func (s *Issue943Map) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*Issue943Map) GetPattern0Props ¶ added in v0.69.0
func (s *Issue943Map) GetPattern0Props() Issue943MapPattern0
GetPattern0Props returns the value of Pattern0Props.
func (*Issue943Map) GetSelector ¶ added in v1.1.0
func (s *Issue943Map) GetSelector() string
GetSelector returns the value of Selector.
func (*Issue943Map) MarshalJSON ¶ added in v0.69.0
func (s *Issue943Map) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Issue943Map) SetPattern0Props ¶ added in v0.69.0
func (s *Issue943Map) SetPattern0Props(val Issue943MapPattern0)
SetPattern0Props sets the value of Pattern0Props.
func (*Issue943Map) SetSelector ¶ added in v1.1.0
func (s *Issue943Map) SetSelector(val string)
SetSelector sets the value of Selector.
func (*Issue943Map) UnmarshalJSON ¶ added in v0.69.0
func (s *Issue943Map) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue943MapPattern0 ¶ added in v0.69.0
func (*Issue943MapPattern0) Decode ¶ added in v0.69.0
func (s *Issue943MapPattern0) Decode(d *jx.Decoder) error
Decode decodes Issue943MapPattern0 from json.
func (Issue943MapPattern0) Encode ¶ added in v0.69.0
func (s Issue943MapPattern0) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (Issue943MapPattern0) MarshalJSON ¶ added in v0.69.0
func (s Issue943MapPattern0) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Issue943MapPattern0) UnmarshalJSON ¶ added in v0.69.0
func (s *Issue943MapPattern0) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue943Type ¶ added in v0.69.0
type Issue943Type string
Issue943Type is oneOf type of Issue943.
const ( Issue943Variant1Issue943 Issue943Type = "variant1" Issue943Variant2Issue943 Issue943Type = "variant2" Issue943MapIssue943 Issue943Type = "variant3" )
Possible values for Issue943Type.
type Issue943Variant1 ¶ added in v0.69.0
type Issue943Variant1 struct { Selector string `json:"selector"` Variant1Field int `json:"variant1_field"` }
Ref: #/components/schemas/Issue943Variant1
func (*Issue943Variant1) Decode ¶ added in v0.69.0
func (s *Issue943Variant1) Decode(d *jx.Decoder) error
Decode decodes Issue943Variant1 from json.
func (*Issue943Variant1) Encode ¶ added in v0.69.0
func (s *Issue943Variant1) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*Issue943Variant1) GetSelector ¶ added in v1.1.0
func (s *Issue943Variant1) GetSelector() string
GetSelector returns the value of Selector.
func (*Issue943Variant1) GetVariant1Field ¶ added in v0.69.0
func (s *Issue943Variant1) GetVariant1Field() int
GetVariant1Field returns the value of Variant1Field.
func (*Issue943Variant1) MarshalJSON ¶ added in v0.69.0
func (s *Issue943Variant1) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Issue943Variant1) SetSelector ¶ added in v1.1.0
func (s *Issue943Variant1) SetSelector(val string)
SetSelector sets the value of Selector.
func (*Issue943Variant1) SetVariant1Field ¶ added in v0.69.0
func (s *Issue943Variant1) SetVariant1Field(val int)
SetVariant1Field sets the value of Variant1Field.
func (*Issue943Variant1) UnmarshalJSON ¶ added in v0.69.0
func (s *Issue943Variant1) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Issue943Variant2 ¶ added in v0.69.0
type Issue943Variant2 struct { Selector string `json:"selector"` Variant2Field bool `json:"variant2_field"` }
Ref: #/components/schemas/Issue943Variant2
func (*Issue943Variant2) Decode ¶ added in v0.69.0
func (s *Issue943Variant2) Decode(d *jx.Decoder) error
Decode decodes Issue943Variant2 from json.
func (*Issue943Variant2) Encode ¶ added in v0.69.0
func (s *Issue943Variant2) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*Issue943Variant2) GetSelector ¶ added in v1.1.0
func (s *Issue943Variant2) GetSelector() string
GetSelector returns the value of Selector.
func (*Issue943Variant2) GetVariant2Field ¶ added in v0.69.0
func (s *Issue943Variant2) GetVariant2Field() bool
GetVariant2Field returns the value of Variant2Field.
func (*Issue943Variant2) MarshalJSON ¶ added in v0.69.0
func (s *Issue943Variant2) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Issue943Variant2) SetSelector ¶ added in v1.1.0
func (s *Issue943Variant2) SetSelector(val string)
SetSelector sets the value of Selector.
func (*Issue943Variant2) SetVariant2Field ¶ added in v0.69.0
func (s *Issue943Variant2) SetVariant2Field(val bool)
SetVariant2Field sets the value of Variant2Field.
func (*Issue943Variant2) UnmarshalJSON ¶ added in v0.69.0
func (s *Issue943Variant2) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Labeler ¶ added in v1.1.0
type Labeler struct {
// contains filtered or unexported fields
}
Labeler is used to allow adding custom attributes to the server request metrics.
func LabelerFromContext ¶ added in v1.1.0
LabelerFromContext retrieves the Labeler from the provided context, if present.
If no Labeler was found in the provided context a new, empty Labeler is returned and the second return value is false. In this case it is safe to use the Labeler but any attributes added to it will not be used.
func (*Labeler) AttributeSet ¶ added in v1.1.0
AttributeSet returns the attributes added to the Labeler as an attribute.Set.
type MapWithProperties ¶
type MapWithProperties struct { Required int `json:"required"` Optional OptInt `json:"optional"` SubMap OptStringMap `json:"sub_map"` InlinedSubMap OptMapWithPropertiesInlinedSubMap `json:"inlined_sub_map"` MapValidation OptValidationStringMap `json:"map_validation"` AdditionalProps MapWithPropertiesAdditional }
Ref: #/components/schemas/MapWithProperties
func (*MapWithProperties) Decode ¶
func (s *MapWithProperties) Decode(d *jx.Decoder) error
Decode decodes MapWithProperties from json.
func (*MapWithProperties) Encode ¶
func (s *MapWithProperties) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MapWithProperties) GetAdditionalProps ¶
func (s *MapWithProperties) GetAdditionalProps() MapWithPropertiesAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*MapWithProperties) GetInlinedSubMap ¶
func (s *MapWithProperties) GetInlinedSubMap() OptMapWithPropertiesInlinedSubMap
GetInlinedSubMap returns the value of InlinedSubMap.
func (*MapWithProperties) GetMapValidation ¶
func (s *MapWithProperties) GetMapValidation() OptValidationStringMap
GetMapValidation returns the value of MapValidation.
func (*MapWithProperties) GetOptional ¶
func (s *MapWithProperties) GetOptional() OptInt
GetOptional returns the value of Optional.
func (*MapWithProperties) GetRequired ¶
func (s *MapWithProperties) GetRequired() int
GetRequired returns the value of Required.
func (*MapWithProperties) GetSubMap ¶
func (s *MapWithProperties) GetSubMap() OptStringMap
GetSubMap returns the value of SubMap.
func (*MapWithProperties) MarshalJSON ¶
func (s *MapWithProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MapWithProperties) SetAdditionalProps ¶
func (s *MapWithProperties) SetAdditionalProps(val MapWithPropertiesAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*MapWithProperties) SetInlinedSubMap ¶
func (s *MapWithProperties) SetInlinedSubMap(val OptMapWithPropertiesInlinedSubMap)
SetInlinedSubMap sets the value of InlinedSubMap.
func (*MapWithProperties) SetMapValidation ¶
func (s *MapWithProperties) SetMapValidation(val OptValidationStringMap)
SetMapValidation sets the value of MapValidation.
func (*MapWithProperties) SetOptional ¶
func (s *MapWithProperties) SetOptional(val OptInt)
SetOptional sets the value of Optional.
func (*MapWithProperties) SetRequired ¶
func (s *MapWithProperties) SetRequired(val int)
SetRequired sets the value of Required.
func (*MapWithProperties) SetSubMap ¶
func (s *MapWithProperties) SetSubMap(val OptStringMap)
SetSubMap sets the value of SubMap.
func (*MapWithProperties) UnmarshalJSON ¶
func (s *MapWithProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MapWithProperties) Validate ¶
func (s *MapWithProperties) Validate() error
type MapWithPropertiesAdditional ¶
func (*MapWithPropertiesAdditional) Decode ¶
func (s *MapWithPropertiesAdditional) Decode(d *jx.Decoder) error
Decode decodes MapWithPropertiesAdditional from json.
func (MapWithPropertiesAdditional) Encode ¶
func (s MapWithPropertiesAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MapWithPropertiesAdditional) MarshalJSON ¶
func (s MapWithPropertiesAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MapWithPropertiesAdditional) UnmarshalJSON ¶
func (s *MapWithPropertiesAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MapWithPropertiesInlinedSubMap ¶
func (*MapWithPropertiesInlinedSubMap) Decode ¶
func (s *MapWithPropertiesInlinedSubMap) Decode(d *jx.Decoder) error
Decode decodes MapWithPropertiesInlinedSubMap from json.
func (MapWithPropertiesInlinedSubMap) Encode ¶
func (s MapWithPropertiesInlinedSubMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MapWithPropertiesInlinedSubMap) MarshalJSON ¶
func (s MapWithPropertiesInlinedSubMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MapWithPropertiesInlinedSubMap) UnmarshalJSON ¶
func (s *MapWithPropertiesInlinedSubMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MaxPropertiesTest ¶
type MaxPropertiesTest struct { Required int `json:"required"` OptionalA OptInt `json:"optional_a"` OptionalB OptInt `json:"optional_b"` OptionalC OptInt `json:"optional_c"` }
Ref: #/components/schemas/MaxPropertiesTest
func (*MaxPropertiesTest) Decode ¶
func (s *MaxPropertiesTest) Decode(d *jx.Decoder) error
Decode decodes MaxPropertiesTest from json.
func (*MaxPropertiesTest) Encode ¶
func (s *MaxPropertiesTest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MaxPropertiesTest) GetOptionalA ¶
func (s *MaxPropertiesTest) GetOptionalA() OptInt
GetOptionalA returns the value of OptionalA.
func (*MaxPropertiesTest) GetOptionalB ¶
func (s *MaxPropertiesTest) GetOptionalB() OptInt
GetOptionalB returns the value of OptionalB.
func (*MaxPropertiesTest) GetOptionalC ¶
func (s *MaxPropertiesTest) GetOptionalC() OptInt
GetOptionalC returns the value of OptionalC.
func (*MaxPropertiesTest) GetRequired ¶
func (s *MaxPropertiesTest) GetRequired() int
GetRequired returns the value of Required.
func (*MaxPropertiesTest) MarshalJSON ¶
func (s *MaxPropertiesTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MaxPropertiesTest) SetOptionalA ¶
func (s *MaxPropertiesTest) SetOptionalA(val OptInt)
SetOptionalA sets the value of OptionalA.
func (*MaxPropertiesTest) SetOptionalB ¶
func (s *MaxPropertiesTest) SetOptionalB(val OptInt)
SetOptionalB sets the value of OptionalB.
func (*MaxPropertiesTest) SetOptionalC ¶
func (s *MaxPropertiesTest) SetOptionalC(val OptInt)
SetOptionalC sets the value of OptionalC.
func (*MaxPropertiesTest) SetRequired ¶
func (s *MaxPropertiesTest) SetRequired(val int)
SetRequired sets the value of Required.
func (*MaxPropertiesTest) UnmarshalJSON ¶
func (s *MaxPropertiesTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MergeDiscriminatorOneOf ¶ added in v0.72.0
type MergeDiscriminatorOneOf struct { Common string `json:"common"` OneOf MergeDiscriminatorOneOfSum }
Merged schema. Ref: #/components/schemas/MergeDiscriminatorOneOf
func (*MergeDiscriminatorOneOf) Decode ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOf) Decode(d *jx.Decoder) error
Decode decodes MergeDiscriminatorOneOf from json.
func (*MergeDiscriminatorOneOf) Encode ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOf) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MergeDiscriminatorOneOf) GetCommon ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOf) GetCommon() string
GetCommon returns the value of Common.
func (*MergeDiscriminatorOneOf) GetOneOf ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOf) GetOneOf() MergeDiscriminatorOneOfSum
GetOneOf returns the value of OneOf.
func (*MergeDiscriminatorOneOf) MarshalJSON ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOf) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MergeDiscriminatorOneOf) SetCommon ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOf) SetCommon(val string)
SetCommon sets the value of Common.
func (*MergeDiscriminatorOneOf) SetOneOf ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOf) SetOneOf(val MergeDiscriminatorOneOfSum)
SetOneOf sets the value of OneOf.
func (*MergeDiscriminatorOneOf) UnmarshalJSON ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOf) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MergeDiscriminatorOneOfSum ¶ added in v0.72.0
type MergeDiscriminatorOneOfSum struct { Type MergeDiscriminatorOneOfSumType // switch on this field InlineOneOfFoo InlineOneOfFoo InlineOneOfBar InlineOneOfBar }
MergeDiscriminatorOneOfSum represents sum type.
func NewInlineOneOfBarMergeDiscriminatorOneOfSum ¶ added in v0.72.0
func NewInlineOneOfBarMergeDiscriminatorOneOfSum(v InlineOneOfBar) MergeDiscriminatorOneOfSum
NewInlineOneOfBarMergeDiscriminatorOneOfSum returns new MergeDiscriminatorOneOfSum from InlineOneOfBar.
func NewInlineOneOfFooMergeDiscriminatorOneOfSum ¶ added in v0.72.0
func NewInlineOneOfFooMergeDiscriminatorOneOfSum(v InlineOneOfFoo) MergeDiscriminatorOneOfSum
NewInlineOneOfFooMergeDiscriminatorOneOfSum returns new MergeDiscriminatorOneOfSum from InlineOneOfFoo.
func (*MergeDiscriminatorOneOfSum) Decode ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOfSum) Decode(d *jx.Decoder) error
Decode decodes MergeDiscriminatorOneOfSum from json.
func (MergeDiscriminatorOneOfSum) Encode ¶ added in v0.72.0
func (s MergeDiscriminatorOneOfSum) Encode(e *jx.Encoder)
Encode encodes MergeDiscriminatorOneOfSum as json.
func (MergeDiscriminatorOneOfSum) GetInlineOneOfBar ¶ added in v0.72.0
func (s MergeDiscriminatorOneOfSum) GetInlineOneOfBar() (v InlineOneOfBar, ok bool)
GetInlineOneOfBar returns InlineOneOfBar and true boolean if MergeDiscriminatorOneOfSum is InlineOneOfBar.
func (MergeDiscriminatorOneOfSum) GetInlineOneOfFoo ¶ added in v0.72.0
func (s MergeDiscriminatorOneOfSum) GetInlineOneOfFoo() (v InlineOneOfFoo, ok bool)
GetInlineOneOfFoo returns InlineOneOfFoo and true boolean if MergeDiscriminatorOneOfSum is InlineOneOfFoo.
func (MergeDiscriminatorOneOfSum) IsInlineOneOfBar ¶ added in v0.72.0
func (s MergeDiscriminatorOneOfSum) IsInlineOneOfBar() bool
IsInlineOneOfBar reports whether MergeDiscriminatorOneOfSum is InlineOneOfBar.
func (MergeDiscriminatorOneOfSum) IsInlineOneOfFoo ¶ added in v0.72.0
func (s MergeDiscriminatorOneOfSum) IsInlineOneOfFoo() bool
IsInlineOneOfFoo reports whether MergeDiscriminatorOneOfSum is InlineOneOfFoo.
func (MergeDiscriminatorOneOfSum) MarshalJSON ¶ added in v0.72.0
func (s MergeDiscriminatorOneOfSum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MergeDiscriminatorOneOfSum) SetInlineOneOfBar ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOfSum) SetInlineOneOfBar(v InlineOneOfBar)
SetInlineOneOfBar sets MergeDiscriminatorOneOfSum to InlineOneOfBar.
func (*MergeDiscriminatorOneOfSum) SetInlineOneOfFoo ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOfSum) SetInlineOneOfFoo(v InlineOneOfFoo)
SetInlineOneOfFoo sets MergeDiscriminatorOneOfSum to InlineOneOfFoo.
func (*MergeDiscriminatorOneOfSum) UnmarshalJSON ¶ added in v0.72.0
func (s *MergeDiscriminatorOneOfSum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MergeDiscriminatorOneOfSumType ¶ added in v0.72.0
type MergeDiscriminatorOneOfSumType string
MergeDiscriminatorOneOfSumType is oneOf type of MergeDiscriminatorOneOfSum.
const ( InlineOneOfFooMergeDiscriminatorOneOfSum MergeDiscriminatorOneOfSumType = "foo" InlineOneOfBarMergeDiscriminatorOneOfSum MergeDiscriminatorOneOfSumType = "bar" )
Possible values for MergeDiscriminatorOneOfSumType.
type MergeUniqueFieldsOneOf ¶ added in v0.72.0
type MergeUniqueFieldsOneOf struct { Common string `json:"common"` OneOf MergeUniqueFieldsOneOfSum }
Merged schema. Ref: #/components/schemas/MergeUniqueFieldsOneOf
func (*MergeUniqueFieldsOneOf) Decode ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOf) Decode(d *jx.Decoder) error
Decode decodes MergeUniqueFieldsOneOf from json.
func (*MergeUniqueFieldsOneOf) Encode ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOf) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MergeUniqueFieldsOneOf) GetCommon ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOf) GetCommon() string
GetCommon returns the value of Common.
func (*MergeUniqueFieldsOneOf) GetOneOf ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOf) GetOneOf() MergeUniqueFieldsOneOfSum
GetOneOf returns the value of OneOf.
func (*MergeUniqueFieldsOneOf) MarshalJSON ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOf) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MergeUniqueFieldsOneOf) SetCommon ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOf) SetCommon(val string)
SetCommon sets the value of Common.
func (*MergeUniqueFieldsOneOf) SetOneOf ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOf) SetOneOf(val MergeUniqueFieldsOneOfSum)
SetOneOf sets the value of OneOf.
func (*MergeUniqueFieldsOneOf) UnmarshalJSON ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOf) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MergeUniqueFieldsOneOfSum ¶ added in v0.72.0
type MergeUniqueFieldsOneOfSum struct { Type MergeUniqueFieldsOneOfSumType // switch on this field InlineOneOfFoo InlineOneOfFoo InlineOneOfBar InlineOneOfBar }
MergeUniqueFieldsOneOfSum represents sum type.
func NewInlineOneOfBarMergeUniqueFieldsOneOfSum ¶ added in v0.72.0
func NewInlineOneOfBarMergeUniqueFieldsOneOfSum(v InlineOneOfBar) MergeUniqueFieldsOneOfSum
NewInlineOneOfBarMergeUniqueFieldsOneOfSum returns new MergeUniqueFieldsOneOfSum from InlineOneOfBar.
func NewInlineOneOfFooMergeUniqueFieldsOneOfSum ¶ added in v0.72.0
func NewInlineOneOfFooMergeUniqueFieldsOneOfSum(v InlineOneOfFoo) MergeUniqueFieldsOneOfSum
NewInlineOneOfFooMergeUniqueFieldsOneOfSum returns new MergeUniqueFieldsOneOfSum from InlineOneOfFoo.
func (*MergeUniqueFieldsOneOfSum) Decode ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOfSum) Decode(d *jx.Decoder) error
Decode decodes MergeUniqueFieldsOneOfSum from json.
func (MergeUniqueFieldsOneOfSum) Encode ¶ added in v0.72.0
func (s MergeUniqueFieldsOneOfSum) Encode(e *jx.Encoder)
Encode encodes MergeUniqueFieldsOneOfSum as json.
func (MergeUniqueFieldsOneOfSum) GetInlineOneOfBar ¶ added in v0.72.0
func (s MergeUniqueFieldsOneOfSum) GetInlineOneOfBar() (v InlineOneOfBar, ok bool)
GetInlineOneOfBar returns InlineOneOfBar and true boolean if MergeUniqueFieldsOneOfSum is InlineOneOfBar.
func (MergeUniqueFieldsOneOfSum) GetInlineOneOfFoo ¶ added in v0.72.0
func (s MergeUniqueFieldsOneOfSum) GetInlineOneOfFoo() (v InlineOneOfFoo, ok bool)
GetInlineOneOfFoo returns InlineOneOfFoo and true boolean if MergeUniqueFieldsOneOfSum is InlineOneOfFoo.
func (MergeUniqueFieldsOneOfSum) IsInlineOneOfBar ¶ added in v0.72.0
func (s MergeUniqueFieldsOneOfSum) IsInlineOneOfBar() bool
IsInlineOneOfBar reports whether MergeUniqueFieldsOneOfSum is InlineOneOfBar.
func (MergeUniqueFieldsOneOfSum) IsInlineOneOfFoo ¶ added in v0.72.0
func (s MergeUniqueFieldsOneOfSum) IsInlineOneOfFoo() bool
IsInlineOneOfFoo reports whether MergeUniqueFieldsOneOfSum is InlineOneOfFoo.
func (MergeUniqueFieldsOneOfSum) MarshalJSON ¶ added in v0.72.0
func (s MergeUniqueFieldsOneOfSum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MergeUniqueFieldsOneOfSum) SetInlineOneOfBar ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOfSum) SetInlineOneOfBar(v InlineOneOfBar)
SetInlineOneOfBar sets MergeUniqueFieldsOneOfSum to InlineOneOfBar.
func (*MergeUniqueFieldsOneOfSum) SetInlineOneOfFoo ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOfSum) SetInlineOneOfFoo(v InlineOneOfFoo)
SetInlineOneOfFoo sets MergeUniqueFieldsOneOfSum to InlineOneOfFoo.
func (*MergeUniqueFieldsOneOfSum) UnmarshalJSON ¶ added in v0.72.0
func (s *MergeUniqueFieldsOneOfSum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MergeUniqueFieldsOneOfSumType ¶ added in v0.72.0
type MergeUniqueFieldsOneOfSumType string
MergeUniqueFieldsOneOfSumType is oneOf type of MergeUniqueFieldsOneOfSum.
const ( InlineOneOfFooMergeUniqueFieldsOneOfSum MergeUniqueFieldsOneOfSumType = "InlineOneOfFoo" InlineOneOfBarMergeUniqueFieldsOneOfSum MergeUniqueFieldsOneOfSumType = "InlineOneOfBar" )
Possible values for MergeUniqueFieldsOneOfSumType.
type NilInt ¶
NilInt is nullable int.
func (NilInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NilInt) SetToNull ¶ added in v0.62.0
func (o *NilInt) SetToNull()
SetNull sets value to null.
func (*NilInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NilIntStatusCode ¶
NilIntStatusCode wraps NilInt with StatusCode.
func (*NilIntStatusCode) GetResponse ¶
func (s *NilIntStatusCode) GetResponse() NilInt
GetResponse returns the value of Response.
func (*NilIntStatusCode) GetStatusCode ¶
func (s *NilIntStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*NilIntStatusCode) SetResponse ¶
func (s *NilIntStatusCode) SetResponse(val NilInt)
SetResponse sets the value of Response.
func (*NilIntStatusCode) SetStatusCode ¶
func (s *NilIntStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type NilNullableEnumsBoth ¶
type NilNullableEnumsBoth struct { Value NullableEnumsBoth Null bool }
NilNullableEnumsBoth is nullable NullableEnumsBoth.
func NewNilNullableEnumsBoth ¶
func NewNilNullableEnumsBoth(v NullableEnumsBoth) NilNullableEnumsBoth
NewNilNullableEnumsBoth returns new NilNullableEnumsBoth with value set to v.
func (*NilNullableEnumsBoth) Decode ¶
func (o *NilNullableEnumsBoth) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsBoth from json.
func (NilNullableEnumsBoth) Encode ¶
func (o NilNullableEnumsBoth) Encode(e *jx.Encoder)
Encode encodes NullableEnumsBoth as json.
func (NilNullableEnumsBoth) Get ¶
func (o NilNullableEnumsBoth) Get() (v NullableEnumsBoth, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilNullableEnumsBoth) IsNull ¶
func (o NilNullableEnumsBoth) IsNull() bool
IsSet returns true if value is Null.
func (NilNullableEnumsBoth) MarshalJSON ¶
func (s NilNullableEnumsBoth) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NilNullableEnumsBoth) Or ¶
func (o NilNullableEnumsBoth) Or(d NullableEnumsBoth) NullableEnumsBoth
Or returns value if set, or given parameter if does not.
func (*NilNullableEnumsBoth) SetTo ¶
func (o *NilNullableEnumsBoth) SetTo(v NullableEnumsBoth)
SetTo sets value to v.
func (*NilNullableEnumsBoth) SetToNull ¶ added in v0.62.0
func (o *NilNullableEnumsBoth) SetToNull()
SetNull sets value to null.
func (*NilNullableEnumsBoth) UnmarshalJSON ¶
func (s *NilNullableEnumsBoth) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilNullableEnumsOnlyNullValue ¶
type NilNullableEnumsOnlyNullValue struct { Value NullableEnumsOnlyNullValue Null bool }
NilNullableEnumsOnlyNullValue is nullable NullableEnumsOnlyNullValue.
func NewNilNullableEnumsOnlyNullValue ¶
func NewNilNullableEnumsOnlyNullValue(v NullableEnumsOnlyNullValue) NilNullableEnumsOnlyNullValue
NewNilNullableEnumsOnlyNullValue returns new NilNullableEnumsOnlyNullValue with value set to v.
func (*NilNullableEnumsOnlyNullValue) Decode ¶
func (o *NilNullableEnumsOnlyNullValue) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsOnlyNullValue from json.
func (NilNullableEnumsOnlyNullValue) Encode ¶
func (o NilNullableEnumsOnlyNullValue) Encode(e *jx.Encoder)
Encode encodes NullableEnumsOnlyNullValue as json.
func (NilNullableEnumsOnlyNullValue) Get ¶
func (o NilNullableEnumsOnlyNullValue) Get() (v NullableEnumsOnlyNullValue, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilNullableEnumsOnlyNullValue) IsNull ¶
func (o NilNullableEnumsOnlyNullValue) IsNull() bool
IsSet returns true if value is Null.
func (NilNullableEnumsOnlyNullValue) MarshalJSON ¶
func (s NilNullableEnumsOnlyNullValue) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NilNullableEnumsOnlyNullValue) SetTo ¶
func (o *NilNullableEnumsOnlyNullValue) SetTo(v NullableEnumsOnlyNullValue)
SetTo sets value to v.
func (*NilNullableEnumsOnlyNullValue) SetToNull ¶ added in v0.62.0
func (o *NilNullableEnumsOnlyNullValue) SetToNull()
SetNull sets value to null.
func (*NilNullableEnumsOnlyNullValue) UnmarshalJSON ¶
func (s *NilNullableEnumsOnlyNullValue) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilNullableEnumsOnlyNullable ¶
type NilNullableEnumsOnlyNullable struct { Value NullableEnumsOnlyNullable Null bool }
NilNullableEnumsOnlyNullable is nullable NullableEnumsOnlyNullable.
func NewNilNullableEnumsOnlyNullable ¶
func NewNilNullableEnumsOnlyNullable(v NullableEnumsOnlyNullable) NilNullableEnumsOnlyNullable
NewNilNullableEnumsOnlyNullable returns new NilNullableEnumsOnlyNullable with value set to v.
func (*NilNullableEnumsOnlyNullable) Decode ¶
func (o *NilNullableEnumsOnlyNullable) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsOnlyNullable from json.
func (NilNullableEnumsOnlyNullable) Encode ¶
func (o NilNullableEnumsOnlyNullable) Encode(e *jx.Encoder)
Encode encodes NullableEnumsOnlyNullable as json.
func (NilNullableEnumsOnlyNullable) Get ¶
func (o NilNullableEnumsOnlyNullable) Get() (v NullableEnumsOnlyNullable, ok bool)
Get returns value and boolean that denotes whether value was set.
func (NilNullableEnumsOnlyNullable) IsNull ¶
func (o NilNullableEnumsOnlyNullable) IsNull() bool
IsSet returns true if value is Null.
func (NilNullableEnumsOnlyNullable) MarshalJSON ¶
func (s NilNullableEnumsOnlyNullable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NilNullableEnumsOnlyNullable) SetTo ¶
func (o *NilNullableEnumsOnlyNullable) SetTo(v NullableEnumsOnlyNullable)
SetTo sets value to v.
func (*NilNullableEnumsOnlyNullable) SetToNull ¶ added in v0.62.0
func (o *NilNullableEnumsOnlyNullable) SetToNull()
SetNull sets value to null.
func (*NilNullableEnumsOnlyNullable) UnmarshalJSON ¶
func (s *NilNullableEnumsOnlyNullable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NilString ¶
NilString is nullable string.
func NewNilString ¶
NewNilString returns new NilString with value set to v.
func (NilString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NilString) SetToNull ¶ added in v0.62.0
func (o *NilString) SetToNull()
SetNull sets value to null.
func (*NilString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NoAdditionalPropertiesTest ¶
type NoAdditionalPropertiesTest struct { Empty *OnlyEmptyObject `json:"empty"` OneProperty OptOnePropertyObject `json:"oneProperty"` OnlyPatterned OptOnlyPatternedPropsObject `json:"onlyPatterned"` }
Ref: #/components/schemas/NoAdditionalPropertiesTest
func (*NoAdditionalPropertiesTest) Decode ¶
func (s *NoAdditionalPropertiesTest) Decode(d *jx.Decoder) error
Decode decodes NoAdditionalPropertiesTest from json.
func (*NoAdditionalPropertiesTest) Encode ¶
func (s *NoAdditionalPropertiesTest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*NoAdditionalPropertiesTest) GetEmpty ¶
func (s *NoAdditionalPropertiesTest) GetEmpty() *OnlyEmptyObject
GetEmpty returns the value of Empty.
func (*NoAdditionalPropertiesTest) GetOneProperty ¶
func (s *NoAdditionalPropertiesTest) GetOneProperty() OptOnePropertyObject
GetOneProperty returns the value of OneProperty.
func (*NoAdditionalPropertiesTest) GetOnlyPatterned ¶
func (s *NoAdditionalPropertiesTest) GetOnlyPatterned() OptOnlyPatternedPropsObject
GetOnlyPatterned returns the value of OnlyPatterned.
func (*NoAdditionalPropertiesTest) MarshalJSON ¶
func (s *NoAdditionalPropertiesTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NoAdditionalPropertiesTest) SetEmpty ¶
func (s *NoAdditionalPropertiesTest) SetEmpty(val *OnlyEmptyObject)
SetEmpty sets the value of Empty.
func (*NoAdditionalPropertiesTest) SetOneProperty ¶
func (s *NoAdditionalPropertiesTest) SetOneProperty(val OptOnePropertyObject)
SetOneProperty sets the value of OneProperty.
func (*NoAdditionalPropertiesTest) SetOnlyPatterned ¶
func (s *NoAdditionalPropertiesTest) SetOnlyPatterned(val OptOnlyPatternedPropsObject)
SetOnlyPatterned sets the value of OnlyPatterned.
func (*NoAdditionalPropertiesTest) UnmarshalJSON ¶
func (s *NoAdditionalPropertiesTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NullValue ¶
type NullValue struct{}
func (NullValue) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NullValue) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NullableEnums ¶
type NullableEnums struct { // Must not be nullable. OnlyNullable NilNullableEnumsOnlyNullable `json:"only_nullable"` // Must be nullable. OnlyNullValue NilNullableEnumsOnlyNullValue `json:"only_null_value"` // Must be nullable. Both NilNullableEnumsBoth `json:"both"` }
Ref: #/components/schemas/NullableEnums
func (*NullableEnums) Decode ¶
func (s *NullableEnums) Decode(d *jx.Decoder) error
Decode decodes NullableEnums from json.
func (*NullableEnums) Encode ¶
func (s *NullableEnums) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*NullableEnums) GetBoth ¶
func (s *NullableEnums) GetBoth() NilNullableEnumsBoth
GetBoth returns the value of Both.
func (*NullableEnums) GetOnlyNullValue ¶
func (s *NullableEnums) GetOnlyNullValue() NilNullableEnumsOnlyNullValue
GetOnlyNullValue returns the value of OnlyNullValue.
func (*NullableEnums) GetOnlyNullable ¶
func (s *NullableEnums) GetOnlyNullable() NilNullableEnumsOnlyNullable
GetOnlyNullable returns the value of OnlyNullable.
func (*NullableEnums) MarshalJSON ¶
func (s *NullableEnums) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NullableEnums) SetBoth ¶
func (s *NullableEnums) SetBoth(val NilNullableEnumsBoth)
SetBoth sets the value of Both.
func (*NullableEnums) SetOnlyNullValue ¶
func (s *NullableEnums) SetOnlyNullValue(val NilNullableEnumsOnlyNullValue)
SetOnlyNullValue sets the value of OnlyNullValue.
func (*NullableEnums) SetOnlyNullable ¶
func (s *NullableEnums) SetOnlyNullable(val NilNullableEnumsOnlyNullable)
SetOnlyNullable sets the value of OnlyNullable.
func (*NullableEnums) UnmarshalJSON ¶
func (s *NullableEnums) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NullableEnums) Validate ¶
func (s *NullableEnums) Validate() error
type NullableEnumsBoth ¶
type NullableEnumsBoth string
Must be nullable.
const ( NullableEnumsBothAsc NullableEnumsBoth = "asc" NullableEnumsBothDesc NullableEnumsBoth = "desc" )
func (NullableEnumsBoth) AllValues ¶ added in v0.74.0
func (NullableEnumsBoth) AllValues() []NullableEnumsBoth
AllValues returns all NullableEnumsBoth values.
func (*NullableEnumsBoth) Decode ¶
func (s *NullableEnumsBoth) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsBoth from json.
func (NullableEnumsBoth) Encode ¶
func (s NullableEnumsBoth) Encode(e *jx.Encoder)
Encode encodes NullableEnumsBoth as json.
func (NullableEnumsBoth) MarshalJSON ¶
func (s NullableEnumsBoth) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NullableEnumsBoth) MarshalText ¶ added in v0.56.0
func (s NullableEnumsBoth) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*NullableEnumsBoth) UnmarshalJSON ¶
func (s *NullableEnumsBoth) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NullableEnumsBoth) UnmarshalText ¶ added in v0.56.0
func (s *NullableEnumsBoth) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (NullableEnumsBoth) Validate ¶
func (s NullableEnumsBoth) Validate() error
type NullableEnumsOnlyNullValue ¶
type NullableEnumsOnlyNullValue string
Must be nullable.
const ( NullableEnumsOnlyNullValueAsc NullableEnumsOnlyNullValue = "asc" NullableEnumsOnlyNullValueDesc NullableEnumsOnlyNullValue = "desc" )
func (NullableEnumsOnlyNullValue) AllValues ¶ added in v0.74.0
func (NullableEnumsOnlyNullValue) AllValues() []NullableEnumsOnlyNullValue
AllValues returns all NullableEnumsOnlyNullValue values.
func (*NullableEnumsOnlyNullValue) Decode ¶
func (s *NullableEnumsOnlyNullValue) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsOnlyNullValue from json.
func (NullableEnumsOnlyNullValue) Encode ¶
func (s NullableEnumsOnlyNullValue) Encode(e *jx.Encoder)
Encode encodes NullableEnumsOnlyNullValue as json.
func (NullableEnumsOnlyNullValue) MarshalJSON ¶
func (s NullableEnumsOnlyNullValue) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NullableEnumsOnlyNullValue) MarshalText ¶ added in v0.56.0
func (s NullableEnumsOnlyNullValue) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*NullableEnumsOnlyNullValue) UnmarshalJSON ¶
func (s *NullableEnumsOnlyNullValue) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NullableEnumsOnlyNullValue) UnmarshalText ¶ added in v0.56.0
func (s *NullableEnumsOnlyNullValue) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (NullableEnumsOnlyNullValue) Validate ¶
func (s NullableEnumsOnlyNullValue) Validate() error
type NullableEnumsOnlyNullable ¶
type NullableEnumsOnlyNullable string
Must not be nullable.
const ( NullableEnumsOnlyNullableAsc NullableEnumsOnlyNullable = "asc" NullableEnumsOnlyNullableDesc NullableEnumsOnlyNullable = "desc" )
func (NullableEnumsOnlyNullable) AllValues ¶ added in v0.74.0
func (NullableEnumsOnlyNullable) AllValues() []NullableEnumsOnlyNullable
AllValues returns all NullableEnumsOnlyNullable values.
func (*NullableEnumsOnlyNullable) Decode ¶
func (s *NullableEnumsOnlyNullable) Decode(d *jx.Decoder) error
Decode decodes NullableEnumsOnlyNullable from json.
func (NullableEnumsOnlyNullable) Encode ¶
func (s NullableEnumsOnlyNullable) Encode(e *jx.Encoder)
Encode encodes NullableEnumsOnlyNullable as json.
func (NullableEnumsOnlyNullable) MarshalJSON ¶
func (s NullableEnumsOnlyNullable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NullableEnumsOnlyNullable) MarshalText ¶ added in v0.56.0
func (s NullableEnumsOnlyNullable) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*NullableEnumsOnlyNullable) UnmarshalJSON ¶
func (s *NullableEnumsOnlyNullable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NullableEnumsOnlyNullable) UnmarshalText ¶ added in v0.56.0
func (s *NullableEnumsOnlyNullable) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (NullableEnumsOnlyNullable) Validate ¶
func (s NullableEnumsOnlyNullable) Validate() error
type OneOfBooleanSumNullables ¶
type OneOfBooleanSumNullables struct { Type OneOfBooleanSumNullablesType // switch on this field Bool bool OneOfNullables OneOfNullables }
Ref: #/components/schemas/OneOfBooleanSumNullables OneOfBooleanSumNullables represents sum type.
func NewBoolOneOfBooleanSumNullables ¶
func NewBoolOneOfBooleanSumNullables(v bool) OneOfBooleanSumNullables
NewBoolOneOfBooleanSumNullables returns new OneOfBooleanSumNullables from bool.
func NewOneOfNullablesOneOfBooleanSumNullables ¶
func NewOneOfNullablesOneOfBooleanSumNullables(v OneOfNullables) OneOfBooleanSumNullables
NewOneOfNullablesOneOfBooleanSumNullables returns new OneOfBooleanSumNullables from OneOfNullables.
func (*OneOfBooleanSumNullables) Decode ¶
func (s *OneOfBooleanSumNullables) Decode(d *jx.Decoder) error
Decode decodes OneOfBooleanSumNullables from json.
func (OneOfBooleanSumNullables) Encode ¶
func (s OneOfBooleanSumNullables) Encode(e *jx.Encoder)
Encode encodes OneOfBooleanSumNullables as json.
func (OneOfBooleanSumNullables) GetBool ¶
func (s OneOfBooleanSumNullables) GetBool() (v bool, ok bool)
GetBool returns bool and true boolean if OneOfBooleanSumNullables is bool.
func (OneOfBooleanSumNullables) GetOneOfNullables ¶
func (s OneOfBooleanSumNullables) GetOneOfNullables() (v OneOfNullables, ok bool)
GetOneOfNullables returns OneOfNullables and true boolean if OneOfBooleanSumNullables is OneOfNullables.
func (OneOfBooleanSumNullables) IsBool ¶
func (s OneOfBooleanSumNullables) IsBool() bool
IsBool reports whether OneOfBooleanSumNullables is bool.
func (OneOfBooleanSumNullables) IsOneOfNullables ¶
func (s OneOfBooleanSumNullables) IsOneOfNullables() bool
IsOneOfNullables reports whether OneOfBooleanSumNullables is OneOfNullables.
func (OneOfBooleanSumNullables) MarshalJSON ¶
func (s OneOfBooleanSumNullables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfBooleanSumNullables) SetBool ¶
func (s *OneOfBooleanSumNullables) SetBool(v bool)
SetBool sets OneOfBooleanSumNullables to bool.
func (*OneOfBooleanSumNullables) SetOneOfNullables ¶
func (s *OneOfBooleanSumNullables) SetOneOfNullables(v OneOfNullables)
SetOneOfNullables sets OneOfBooleanSumNullables to OneOfNullables.
func (*OneOfBooleanSumNullables) UnmarshalJSON ¶
func (s *OneOfBooleanSumNullables) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (OneOfBooleanSumNullables) Validate ¶
func (s OneOfBooleanSumNullables) Validate() error
type OneOfBooleanSumNullablesType ¶
type OneOfBooleanSumNullablesType string
OneOfBooleanSumNullablesType is oneOf type of OneOfBooleanSumNullables.
const ( BoolOneOfBooleanSumNullables OneOfBooleanSumNullablesType = "bool" OneOfNullablesOneOfBooleanSumNullables OneOfBooleanSumNullablesType = "OneOfNullables" )
Possible values for OneOfBooleanSumNullablesType.
type OneOfBugs ¶
type OneOfBugs struct { Issue143 Issue143 `json:"issue143"` AdditionalMinusFields OneVariantHasNoUniqueFields `json:"additional-fields"` OneOfMinusUUIDMinusIntMinusEnum OptOneOfUUIDAndIntEnum `json:"oneOf-uuid-int-enum"` OneOfMinusMappingMinusReference OptOneOfMappingReference `json:"oneOf-mapping-reference"` Issue943 OptIssue943 `json:"issue943"` }
Ref: #/components/schemas/OneOfBugs
func (*OneOfBugs) GetAdditionalMinusFields ¶
func (s *OneOfBugs) GetAdditionalMinusFields() OneVariantHasNoUniqueFields
GetAdditionalMinusFields returns the value of AdditionalMinusFields.
func (*OneOfBugs) GetIssue143 ¶
GetIssue143 returns the value of Issue143.
func (*OneOfBugs) GetIssue943 ¶ added in v0.69.0
func (s *OneOfBugs) GetIssue943() OptIssue943
GetIssue943 returns the value of Issue943.
func (*OneOfBugs) GetOneOfMinusMappingMinusReference ¶
func (s *OneOfBugs) GetOneOfMinusMappingMinusReference() OptOneOfMappingReference
GetOneOfMinusMappingMinusReference returns the value of OneOfMinusMappingMinusReference.
func (*OneOfBugs) GetOneOfMinusUUIDMinusIntMinusEnum ¶
func (s *OneOfBugs) GetOneOfMinusUUIDMinusIntMinusEnum() OptOneOfUUIDAndIntEnum
GetOneOfMinusUUIDMinusIntMinusEnum returns the value of OneOfMinusUUIDMinusIntMinusEnum.
func (*OneOfBugs) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OneOfBugs) SetAdditionalMinusFields ¶
func (s *OneOfBugs) SetAdditionalMinusFields(val OneVariantHasNoUniqueFields)
SetAdditionalMinusFields sets the value of AdditionalMinusFields.
func (*OneOfBugs) SetIssue143 ¶
SetIssue143 sets the value of Issue143.
func (*OneOfBugs) SetIssue943 ¶ added in v0.69.0
func (s *OneOfBugs) SetIssue943(val OptIssue943)
SetIssue943 sets the value of Issue943.
func (*OneOfBugs) SetOneOfMinusMappingMinusReference ¶
func (s *OneOfBugs) SetOneOfMinusMappingMinusReference(val OptOneOfMappingReference)
SetOneOfMinusMappingMinusReference sets the value of OneOfMinusMappingMinusReference.
func (*OneOfBugs) SetOneOfMinusUUIDMinusIntMinusEnum ¶
func (s *OneOfBugs) SetOneOfMinusUUIDMinusIntMinusEnum(val OptOneOfUUIDAndIntEnum)
SetOneOfMinusUUIDMinusIntMinusEnum sets the value of OneOfMinusUUIDMinusIntMinusEnum.
func (*OneOfBugs) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OneOfMappingReference ¶
type OneOfMappingReference struct { Type OneOfMappingReferenceType // switch on this field OneOfMappingReferenceA OneOfMappingReferenceA OneOfMappingReferenceB OneOfMappingReferenceB }
Ref: #/components/schemas/OneOfMappingReference OneOfMappingReference represents sum type.
func NewOneOfMappingReferenceAOneOfMappingReference ¶
func NewOneOfMappingReferenceAOneOfMappingReference(v OneOfMappingReferenceA) OneOfMappingReference
NewOneOfMappingReferenceAOneOfMappingReference returns new OneOfMappingReference from OneOfMappingReferenceA.
func NewOneOfMappingReferenceBOneOfMappingReference ¶
func NewOneOfMappingReferenceBOneOfMappingReference(v OneOfMappingReferenceB) OneOfMappingReference
NewOneOfMappingReferenceBOneOfMappingReference returns new OneOfMappingReference from OneOfMappingReferenceB.
func (*OneOfMappingReference) Decode ¶
func (s *OneOfMappingReference) Decode(d *jx.Decoder) error
Decode decodes OneOfMappingReference from json.
func (OneOfMappingReference) Encode ¶
func (s OneOfMappingReference) Encode(e *jx.Encoder)
Encode encodes OneOfMappingReference as json.
func (OneOfMappingReference) GetOneOfMappingReferenceA ¶
func (s OneOfMappingReference) GetOneOfMappingReferenceA() (v OneOfMappingReferenceA, ok bool)
GetOneOfMappingReferenceA returns OneOfMappingReferenceA and true boolean if OneOfMappingReference is OneOfMappingReferenceA.
func (OneOfMappingReference) GetOneOfMappingReferenceB ¶
func (s OneOfMappingReference) GetOneOfMappingReferenceB() (v OneOfMappingReferenceB, ok bool)
GetOneOfMappingReferenceB returns OneOfMappingReferenceB and true boolean if OneOfMappingReference is OneOfMappingReferenceB.
func (OneOfMappingReference) IsOneOfMappingReferenceA ¶
func (s OneOfMappingReference) IsOneOfMappingReferenceA() bool
IsOneOfMappingReferenceA reports whether OneOfMappingReference is OneOfMappingReferenceA.
func (OneOfMappingReference) IsOneOfMappingReferenceB ¶
func (s OneOfMappingReference) IsOneOfMappingReferenceB() bool
IsOneOfMappingReferenceB reports whether OneOfMappingReference is OneOfMappingReferenceB.
func (OneOfMappingReference) MarshalJSON ¶
func (s OneOfMappingReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfMappingReference) SetOneOfMappingReferenceA ¶
func (s *OneOfMappingReference) SetOneOfMappingReferenceA(v OneOfMappingReferenceA)
SetOneOfMappingReferenceA sets OneOfMappingReference to OneOfMappingReferenceA.
func (*OneOfMappingReference) SetOneOfMappingReferenceB ¶
func (s *OneOfMappingReference) SetOneOfMappingReferenceB(v OneOfMappingReferenceB)
SetOneOfMappingReferenceB sets OneOfMappingReference to OneOfMappingReferenceB.
func (*OneOfMappingReference) UnmarshalJSON ¶
func (s *OneOfMappingReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneOfMappingReferenceA ¶
type OneOfMappingReferenceA struct { InfoType OptString `json:"infoType"` Description OptString `json:"description"` }
Ref: #/components/schemas/OneOfMappingReferenceA
func (*OneOfMappingReferenceA) Decode ¶
func (s *OneOfMappingReferenceA) Decode(d *jx.Decoder) error
Decode decodes OneOfMappingReferenceA from json.
func (*OneOfMappingReferenceA) Encode ¶
func (s *OneOfMappingReferenceA) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OneOfMappingReferenceA) GetDescription ¶
func (s *OneOfMappingReferenceA) GetDescription() OptString
GetDescription returns the value of Description.
func (*OneOfMappingReferenceA) GetInfoType ¶ added in v1.1.0
func (s *OneOfMappingReferenceA) GetInfoType() OptString
GetInfoType returns the value of InfoType.
func (*OneOfMappingReferenceA) MarshalJSON ¶
func (s *OneOfMappingReferenceA) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfMappingReferenceA) SetDescription ¶
func (s *OneOfMappingReferenceA) SetDescription(val OptString)
SetDescription sets the value of Description.
func (*OneOfMappingReferenceA) SetInfoType ¶ added in v1.1.0
func (s *OneOfMappingReferenceA) SetInfoType(val OptString)
SetInfoType sets the value of InfoType.
func (*OneOfMappingReferenceA) UnmarshalJSON ¶
func (s *OneOfMappingReferenceA) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneOfMappingReferenceB ¶
type OneOfMappingReferenceB struct { InfoType OptString `json:"infoType"` Code OptInt32 `json:"code"` Data *OneOfMappingReferenceBData `json:"data"` Info OptString `json:"info"` }
Ref: #/components/schemas/OneOfMappingReferenceB
func (*OneOfMappingReferenceB) Decode ¶
func (s *OneOfMappingReferenceB) Decode(d *jx.Decoder) error
Decode decodes OneOfMappingReferenceB from json.
func (*OneOfMappingReferenceB) Encode ¶
func (s *OneOfMappingReferenceB) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OneOfMappingReferenceB) GetCode ¶
func (s *OneOfMappingReferenceB) GetCode() OptInt32
GetCode returns the value of Code.
func (*OneOfMappingReferenceB) GetData ¶
func (s *OneOfMappingReferenceB) GetData() *OneOfMappingReferenceBData
GetData returns the value of Data.
func (*OneOfMappingReferenceB) GetInfo ¶
func (s *OneOfMappingReferenceB) GetInfo() OptString
GetInfo returns the value of Info.
func (*OneOfMappingReferenceB) GetInfoType ¶ added in v1.1.0
func (s *OneOfMappingReferenceB) GetInfoType() OptString
GetInfoType returns the value of InfoType.
func (*OneOfMappingReferenceB) MarshalJSON ¶
func (s *OneOfMappingReferenceB) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfMappingReferenceB) SetCode ¶
func (s *OneOfMappingReferenceB) SetCode(val OptInt32)
SetCode sets the value of Code.
func (*OneOfMappingReferenceB) SetData ¶
func (s *OneOfMappingReferenceB) SetData(val *OneOfMappingReferenceBData)
SetData sets the value of Data.
func (*OneOfMappingReferenceB) SetInfo ¶
func (s *OneOfMappingReferenceB) SetInfo(val OptString)
SetInfo sets the value of Info.
func (*OneOfMappingReferenceB) SetInfoType ¶ added in v1.1.0
func (s *OneOfMappingReferenceB) SetInfoType(val OptString)
SetInfoType sets the value of InfoType.
func (*OneOfMappingReferenceB) UnmarshalJSON ¶
func (s *OneOfMappingReferenceB) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneOfMappingReferenceBData ¶
type OneOfMappingReferenceBData struct{}
func (*OneOfMappingReferenceBData) Decode ¶
func (s *OneOfMappingReferenceBData) Decode(d *jx.Decoder) error
Decode decodes OneOfMappingReferenceBData from json.
func (*OneOfMappingReferenceBData) Encode ¶
func (s *OneOfMappingReferenceBData) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OneOfMappingReferenceBData) MarshalJSON ¶
func (s *OneOfMappingReferenceBData) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfMappingReferenceBData) UnmarshalJSON ¶
func (s *OneOfMappingReferenceBData) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneOfMappingReferenceType ¶
type OneOfMappingReferenceType string
OneOfMappingReferenceType is oneOf type of OneOfMappingReference.
const ( OneOfMappingReferenceAOneOfMappingReference OneOfMappingReferenceType = "simple" OneOfMappingReferenceBOneOfMappingReference OneOfMappingReferenceType = "extended" )
Possible values for OneOfMappingReferenceType.
type OneOfNullables ¶
type OneOfNullables struct { Type OneOfNullablesType // switch on this field Null struct{} String string Int int StringArray []string }
Ref: #/components/schemas/OneOfNullables OneOfNullables represents sum type.
func NewIntOneOfNullables ¶
func NewIntOneOfNullables(v int) OneOfNullables
NewIntOneOfNullables returns new OneOfNullables from int.
func NewNullOneOfNullables ¶
func NewNullOneOfNullables(v struct{}) OneOfNullables
NewNullOneOfNullables returns new OneOfNullables from struct{}.
func NewStringArrayOneOfNullables ¶
func NewStringArrayOneOfNullables(v []string) OneOfNullables
NewStringArrayOneOfNullables returns new OneOfNullables from []string.
func NewStringOneOfNullables ¶
func NewStringOneOfNullables(v string) OneOfNullables
NewStringOneOfNullables returns new OneOfNullables from string.
func (*OneOfNullables) Decode ¶
func (s *OneOfNullables) Decode(d *jx.Decoder) error
Decode decodes OneOfNullables from json.
func (OneOfNullables) Encode ¶
func (s OneOfNullables) Encode(e *jx.Encoder)
Encode encodes OneOfNullables as json.
func (OneOfNullables) GetInt ¶
func (s OneOfNullables) GetInt() (v int, ok bool)
GetInt returns int and true boolean if OneOfNullables is int.
func (OneOfNullables) GetNull ¶
func (s OneOfNullables) GetNull() (v struct{}, ok bool)
GetNull returns struct{} and true boolean if OneOfNullables is struct{}.
func (OneOfNullables) GetString ¶
func (s OneOfNullables) GetString() (v string, ok bool)
GetString returns string and true boolean if OneOfNullables is string.
func (OneOfNullables) GetStringArray ¶
func (s OneOfNullables) GetStringArray() (v []string, ok bool)
GetStringArray returns []string and true boolean if OneOfNullables is []string.
func (OneOfNullables) IsInt ¶
func (s OneOfNullables) IsInt() bool
IsInt reports whether OneOfNullables is int.
func (OneOfNullables) IsNull ¶
func (s OneOfNullables) IsNull() bool
IsNull reports whether OneOfNullables is struct{}.
func (OneOfNullables) IsString ¶
func (s OneOfNullables) IsString() bool
IsString reports whether OneOfNullables is string.
func (OneOfNullables) IsStringArray ¶
func (s OneOfNullables) IsStringArray() bool
IsStringArray reports whether OneOfNullables is []string.
func (OneOfNullables) MarshalJSON ¶
func (s OneOfNullables) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfNullables) SetInt ¶
func (s *OneOfNullables) SetInt(v int)
SetInt sets OneOfNullables to int.
func (*OneOfNullables) SetNull ¶
func (s *OneOfNullables) SetNull(v struct{})
SetNull sets OneOfNullables to struct{}.
func (*OneOfNullables) SetString ¶
func (s *OneOfNullables) SetString(v string)
SetString sets OneOfNullables to string.
func (*OneOfNullables) SetStringArray ¶
func (s *OneOfNullables) SetStringArray(v []string)
SetStringArray sets OneOfNullables to []string.
func (*OneOfNullables) UnmarshalJSON ¶
func (s *OneOfNullables) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (OneOfNullables) Validate ¶
func (s OneOfNullables) Validate() error
type OneOfNullablesType ¶
type OneOfNullablesType string
OneOfNullablesType is oneOf type of OneOfNullables.
const ( NullOneOfNullables OneOfNullablesType = "struct{}" StringOneOfNullables OneOfNullablesType = "string" IntOneOfNullables OneOfNullablesType = "int" StringArrayOneOfNullables OneOfNullablesType = "[]string" )
Possible values for OneOfNullablesType.
type OneOfUUIDAndIntEnum ¶
type OneOfUUIDAndIntEnum struct { Type OneOfUUIDAndIntEnumType // switch on this field UUID uuid.UUID OneOfUUIDAndIntEnum1 OneOfUUIDAndIntEnum1 }
Ref: #/components/schemas/OneOfUUIDAndIntEnum OneOfUUIDAndIntEnum represents sum type.
func NewOneOfUUIDAndIntEnum1OneOfUUIDAndIntEnum ¶
func NewOneOfUUIDAndIntEnum1OneOfUUIDAndIntEnum(v OneOfUUIDAndIntEnum1) OneOfUUIDAndIntEnum
NewOneOfUUIDAndIntEnum1OneOfUUIDAndIntEnum returns new OneOfUUIDAndIntEnum from OneOfUUIDAndIntEnum1.
func NewUUIDOneOfUUIDAndIntEnum ¶
func NewUUIDOneOfUUIDAndIntEnum(v uuid.UUID) OneOfUUIDAndIntEnum
NewUUIDOneOfUUIDAndIntEnum returns new OneOfUUIDAndIntEnum from uuid.UUID.
func (*OneOfUUIDAndIntEnum) Decode ¶
func (s *OneOfUUIDAndIntEnum) Decode(d *jx.Decoder) error
Decode decodes OneOfUUIDAndIntEnum from json.
func (OneOfUUIDAndIntEnum) Encode ¶
func (s OneOfUUIDAndIntEnum) Encode(e *jx.Encoder)
Encode encodes OneOfUUIDAndIntEnum as json.
func (OneOfUUIDAndIntEnum) GetOneOfUUIDAndIntEnum1 ¶
func (s OneOfUUIDAndIntEnum) GetOneOfUUIDAndIntEnum1() (v OneOfUUIDAndIntEnum1, ok bool)
GetOneOfUUIDAndIntEnum1 returns OneOfUUIDAndIntEnum1 and true boolean if OneOfUUIDAndIntEnum is OneOfUUIDAndIntEnum1.
func (OneOfUUIDAndIntEnum) GetUUID ¶
func (s OneOfUUIDAndIntEnum) GetUUID() (v uuid.UUID, ok bool)
GetUUID returns uuid.UUID and true boolean if OneOfUUIDAndIntEnum is uuid.UUID.
func (OneOfUUIDAndIntEnum) IsOneOfUUIDAndIntEnum1 ¶
func (s OneOfUUIDAndIntEnum) IsOneOfUUIDAndIntEnum1() bool
IsOneOfUUIDAndIntEnum1 reports whether OneOfUUIDAndIntEnum is OneOfUUIDAndIntEnum1.
func (OneOfUUIDAndIntEnum) IsUUID ¶
func (s OneOfUUIDAndIntEnum) IsUUID() bool
IsUUID reports whether OneOfUUIDAndIntEnum is uuid.UUID.
func (OneOfUUIDAndIntEnum) MarshalJSON ¶
func (s OneOfUUIDAndIntEnum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfUUIDAndIntEnum) SetOneOfUUIDAndIntEnum1 ¶
func (s *OneOfUUIDAndIntEnum) SetOneOfUUIDAndIntEnum1(v OneOfUUIDAndIntEnum1)
SetOneOfUUIDAndIntEnum1 sets OneOfUUIDAndIntEnum to OneOfUUIDAndIntEnum1.
func (*OneOfUUIDAndIntEnum) SetUUID ¶
func (s *OneOfUUIDAndIntEnum) SetUUID(v uuid.UUID)
SetUUID sets OneOfUUIDAndIntEnum to uuid.UUID.
func (*OneOfUUIDAndIntEnum) UnmarshalJSON ¶
func (s *OneOfUUIDAndIntEnum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (OneOfUUIDAndIntEnum) Validate ¶
func (s OneOfUUIDAndIntEnum) Validate() error
type OneOfUUIDAndIntEnum1 ¶
type OneOfUUIDAndIntEnum1 int
const ( OneOfUUIDAndIntEnum10 OneOfUUIDAndIntEnum1 = 0 OneOfUUIDAndIntEnum11 OneOfUUIDAndIntEnum1 = 1 )
func (OneOfUUIDAndIntEnum1) AllValues ¶ added in v0.74.0
func (OneOfUUIDAndIntEnum1) AllValues() []OneOfUUIDAndIntEnum1
AllValues returns all OneOfUUIDAndIntEnum1 values.
func (*OneOfUUIDAndIntEnum1) Decode ¶
func (s *OneOfUUIDAndIntEnum1) Decode(d *jx.Decoder) error
Decode decodes OneOfUUIDAndIntEnum1 from json.
func (OneOfUUIDAndIntEnum1) Encode ¶
func (s OneOfUUIDAndIntEnum1) Encode(e *jx.Encoder)
Encode encodes OneOfUUIDAndIntEnum1 as json.
func (OneOfUUIDAndIntEnum1) MarshalJSON ¶
func (s OneOfUUIDAndIntEnum1) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfUUIDAndIntEnum1) UnmarshalJSON ¶
func (s *OneOfUUIDAndIntEnum1) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (OneOfUUIDAndIntEnum1) Validate ¶
func (s OneOfUUIDAndIntEnum1) Validate() error
type OneOfUUIDAndIntEnumType ¶
type OneOfUUIDAndIntEnumType string
OneOfUUIDAndIntEnumType is oneOf type of OneOfUUIDAndIntEnum.
const ( UUIDOneOfUUIDAndIntEnum OneOfUUIDAndIntEnumType = "uuid.UUID" OneOfUUIDAndIntEnum1OneOfUUIDAndIntEnum OneOfUUIDAndIntEnumType = "OneOfUUIDAndIntEnum1" )
Possible values for OneOfUUIDAndIntEnumType.
type OneOfWithNullable ¶
type OneOfWithNullable struct { Type OneOfWithNullableType // switch on this field Null struct{} String string Int int StringArray []string }
Ref: #/components/schemas/OneOfWithNullable OneOfWithNullable represents sum type.
func NewIntOneOfWithNullable ¶
func NewIntOneOfWithNullable(v int) OneOfWithNullable
NewIntOneOfWithNullable returns new OneOfWithNullable from int.
func NewNullOneOfWithNullable ¶
func NewNullOneOfWithNullable(v struct{}) OneOfWithNullable
NewNullOneOfWithNullable returns new OneOfWithNullable from struct{}.
func NewStringArrayOneOfWithNullable ¶
func NewStringArrayOneOfWithNullable(v []string) OneOfWithNullable
NewStringArrayOneOfWithNullable returns new OneOfWithNullable from []string.
func NewStringOneOfWithNullable ¶
func NewStringOneOfWithNullable(v string) OneOfWithNullable
NewStringOneOfWithNullable returns new OneOfWithNullable from string.
func (*OneOfWithNullable) Decode ¶
func (s *OneOfWithNullable) Decode(d *jx.Decoder) error
Decode decodes OneOfWithNullable from json.
func (OneOfWithNullable) Encode ¶
func (s OneOfWithNullable) Encode(e *jx.Encoder)
Encode encodes OneOfWithNullable as json.
func (OneOfWithNullable) GetInt ¶
func (s OneOfWithNullable) GetInt() (v int, ok bool)
GetInt returns int and true boolean if OneOfWithNullable is int.
func (OneOfWithNullable) GetNull ¶
func (s OneOfWithNullable) GetNull() (v struct{}, ok bool)
GetNull returns struct{} and true boolean if OneOfWithNullable is struct{}.
func (OneOfWithNullable) GetString ¶
func (s OneOfWithNullable) GetString() (v string, ok bool)
GetString returns string and true boolean if OneOfWithNullable is string.
func (OneOfWithNullable) GetStringArray ¶
func (s OneOfWithNullable) GetStringArray() (v []string, ok bool)
GetStringArray returns []string and true boolean if OneOfWithNullable is []string.
func (OneOfWithNullable) IsInt ¶
func (s OneOfWithNullable) IsInt() bool
IsInt reports whether OneOfWithNullable is int.
func (OneOfWithNullable) IsNull ¶
func (s OneOfWithNullable) IsNull() bool
IsNull reports whether OneOfWithNullable is struct{}.
func (OneOfWithNullable) IsString ¶
func (s OneOfWithNullable) IsString() bool
IsString reports whether OneOfWithNullable is string.
func (OneOfWithNullable) IsStringArray ¶
func (s OneOfWithNullable) IsStringArray() bool
IsStringArray reports whether OneOfWithNullable is []string.
func (OneOfWithNullable) MarshalJSON ¶
func (s OneOfWithNullable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneOfWithNullable) SetInt ¶
func (s *OneOfWithNullable) SetInt(v int)
SetInt sets OneOfWithNullable to int.
func (*OneOfWithNullable) SetNull ¶
func (s *OneOfWithNullable) SetNull(v struct{})
SetNull sets OneOfWithNullable to struct{}.
func (*OneOfWithNullable) SetString ¶
func (s *OneOfWithNullable) SetString(v string)
SetString sets OneOfWithNullable to string.
func (*OneOfWithNullable) SetStringArray ¶
func (s *OneOfWithNullable) SetStringArray(v []string)
SetStringArray sets OneOfWithNullable to []string.
func (*OneOfWithNullable) UnmarshalJSON ¶
func (s *OneOfWithNullable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (OneOfWithNullable) Validate ¶
func (s OneOfWithNullable) Validate() error
type OneOfWithNullableType ¶
type OneOfWithNullableType string
OneOfWithNullableType is oneOf type of OneOfWithNullable.
const ( NullOneOfWithNullable OneOfWithNullableType = "struct{}" StringOneOfWithNullable OneOfWithNullableType = "string" IntOneOfWithNullable OneOfWithNullableType = "int" StringArrayOneOfWithNullable OneOfWithNullableType = "[]string" )
Possible values for OneOfWithNullableType.
type OnePropertyObject ¶
type OnePropertyObject struct {
Foo string `json:"foo"`
}
Ref: #/components/schemas/OnePropertyObject
func (*OnePropertyObject) Decode ¶
func (s *OnePropertyObject) Decode(d *jx.Decoder) error
Decode decodes OnePropertyObject from json.
func (*OnePropertyObject) Encode ¶
func (s *OnePropertyObject) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OnePropertyObject) GetFoo ¶
func (s *OnePropertyObject) GetFoo() string
GetFoo returns the value of Foo.
func (*OnePropertyObject) MarshalJSON ¶
func (s *OnePropertyObject) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OnePropertyObject) SetFoo ¶
func (s *OnePropertyObject) SetFoo(val string)
SetFoo sets the value of Foo.
func (*OnePropertyObject) UnmarshalJSON ¶
func (s *OnePropertyObject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneVariantHasNoUniqueFields ¶
type OneVariantHasNoUniqueFields struct { Type OneVariantHasNoUniqueFieldsType // switch on this field OneVariantHasNoUniqueFields0 OneVariantHasNoUniqueFields0 OneVariantHasNoUniqueFields1 OneVariantHasNoUniqueFields1 }
Ref: #/components/schemas/OneVariantHasNoUniqueFields OneVariantHasNoUniqueFields represents sum type.
func NewOneVariantHasNoUniqueFields0OneVariantHasNoUniqueFields ¶
func NewOneVariantHasNoUniqueFields0OneVariantHasNoUniqueFields(v OneVariantHasNoUniqueFields0) OneVariantHasNoUniqueFields
NewOneVariantHasNoUniqueFields0OneVariantHasNoUniqueFields returns new OneVariantHasNoUniqueFields from OneVariantHasNoUniqueFields0.
func NewOneVariantHasNoUniqueFields1OneVariantHasNoUniqueFields ¶
func NewOneVariantHasNoUniqueFields1OneVariantHasNoUniqueFields(v OneVariantHasNoUniqueFields1) OneVariantHasNoUniqueFields
NewOneVariantHasNoUniqueFields1OneVariantHasNoUniqueFields returns new OneVariantHasNoUniqueFields from OneVariantHasNoUniqueFields1.
func (*OneVariantHasNoUniqueFields) Decode ¶
func (s *OneVariantHasNoUniqueFields) Decode(d *jx.Decoder) error
Decode decodes OneVariantHasNoUniqueFields from json.
func (OneVariantHasNoUniqueFields) Encode ¶
func (s OneVariantHasNoUniqueFields) Encode(e *jx.Encoder)
Encode encodes OneVariantHasNoUniqueFields as json.
func (OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields0 ¶
func (s OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields0() (v OneVariantHasNoUniqueFields0, ok bool)
GetOneVariantHasNoUniqueFields0 returns OneVariantHasNoUniqueFields0 and true boolean if OneVariantHasNoUniqueFields is OneVariantHasNoUniqueFields0.
func (OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields1 ¶
func (s OneVariantHasNoUniqueFields) GetOneVariantHasNoUniqueFields1() (v OneVariantHasNoUniqueFields1, ok bool)
GetOneVariantHasNoUniqueFields1 returns OneVariantHasNoUniqueFields1 and true boolean if OneVariantHasNoUniqueFields is OneVariantHasNoUniqueFields1.
func (OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields0 ¶
func (s OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields0() bool
IsOneVariantHasNoUniqueFields0 reports whether OneVariantHasNoUniqueFields is OneVariantHasNoUniqueFields0.
func (OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields1 ¶
func (s OneVariantHasNoUniqueFields) IsOneVariantHasNoUniqueFields1() bool
IsOneVariantHasNoUniqueFields1 reports whether OneVariantHasNoUniqueFields is OneVariantHasNoUniqueFields1.
func (OneVariantHasNoUniqueFields) MarshalJSON ¶
func (s OneVariantHasNoUniqueFields) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields0 ¶
func (s *OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields0(v OneVariantHasNoUniqueFields0)
SetOneVariantHasNoUniqueFields0 sets OneVariantHasNoUniqueFields to OneVariantHasNoUniqueFields0.
func (*OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields1 ¶
func (s *OneVariantHasNoUniqueFields) SetOneVariantHasNoUniqueFields1(v OneVariantHasNoUniqueFields1)
SetOneVariantHasNoUniqueFields1 sets OneVariantHasNoUniqueFields to OneVariantHasNoUniqueFields1.
func (*OneVariantHasNoUniqueFields) UnmarshalJSON ¶
func (s *OneVariantHasNoUniqueFields) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneVariantHasNoUniqueFields0 ¶
type OneVariantHasNoUniqueFields0 struct { A string `json:"a"` B OptInt `json:"b"` C string `json:"c"` }
func (*OneVariantHasNoUniqueFields0) Decode ¶
func (s *OneVariantHasNoUniqueFields0) Decode(d *jx.Decoder) error
Decode decodes OneVariantHasNoUniqueFields0 from json.
func (*OneVariantHasNoUniqueFields0) Encode ¶
func (s *OneVariantHasNoUniqueFields0) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OneVariantHasNoUniqueFields0) GetA ¶
func (s *OneVariantHasNoUniqueFields0) GetA() string
GetA returns the value of A.
func (*OneVariantHasNoUniqueFields0) GetB ¶
func (s *OneVariantHasNoUniqueFields0) GetB() OptInt
GetB returns the value of B.
func (*OneVariantHasNoUniqueFields0) GetC ¶
func (s *OneVariantHasNoUniqueFields0) GetC() string
GetC returns the value of C.
func (*OneVariantHasNoUniqueFields0) MarshalJSON ¶
func (s *OneVariantHasNoUniqueFields0) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneVariantHasNoUniqueFields0) SetA ¶
func (s *OneVariantHasNoUniqueFields0) SetA(val string)
SetA sets the value of A.
func (*OneVariantHasNoUniqueFields0) SetB ¶
func (s *OneVariantHasNoUniqueFields0) SetB(val OptInt)
SetB sets the value of B.
func (*OneVariantHasNoUniqueFields0) SetC ¶
func (s *OneVariantHasNoUniqueFields0) SetC(val string)
SetC sets the value of C.
func (*OneVariantHasNoUniqueFields0) UnmarshalJSON ¶
func (s *OneVariantHasNoUniqueFields0) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneVariantHasNoUniqueFields1 ¶
type OneVariantHasNoUniqueFields1 struct { A string `json:"a"` B OptInt `json:"b"` C string `json:"c"` D OptInt `json:"d"` }
func (*OneVariantHasNoUniqueFields1) Decode ¶
func (s *OneVariantHasNoUniqueFields1) Decode(d *jx.Decoder) error
Decode decodes OneVariantHasNoUniqueFields1 from json.
func (*OneVariantHasNoUniqueFields1) Encode ¶
func (s *OneVariantHasNoUniqueFields1) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OneVariantHasNoUniqueFields1) GetA ¶
func (s *OneVariantHasNoUniqueFields1) GetA() string
GetA returns the value of A.
func (*OneVariantHasNoUniqueFields1) GetB ¶
func (s *OneVariantHasNoUniqueFields1) GetB() OptInt
GetB returns the value of B.
func (*OneVariantHasNoUniqueFields1) GetC ¶
func (s *OneVariantHasNoUniqueFields1) GetC() string
GetC returns the value of C.
func (*OneVariantHasNoUniqueFields1) GetD ¶
func (s *OneVariantHasNoUniqueFields1) GetD() OptInt
GetD returns the value of D.
func (*OneVariantHasNoUniqueFields1) MarshalJSON ¶
func (s *OneVariantHasNoUniqueFields1) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OneVariantHasNoUniqueFields1) SetA ¶
func (s *OneVariantHasNoUniqueFields1) SetA(val string)
SetA sets the value of A.
func (*OneVariantHasNoUniqueFields1) SetB ¶
func (s *OneVariantHasNoUniqueFields1) SetB(val OptInt)
SetB sets the value of B.
func (*OneVariantHasNoUniqueFields1) SetC ¶
func (s *OneVariantHasNoUniqueFields1) SetC(val string)
SetC sets the value of C.
func (*OneVariantHasNoUniqueFields1) SetD ¶
func (s *OneVariantHasNoUniqueFields1) SetD(val OptInt)
SetD sets the value of D.
func (*OneVariantHasNoUniqueFields1) UnmarshalJSON ¶
func (s *OneVariantHasNoUniqueFields1) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OneVariantHasNoUniqueFieldsType ¶
type OneVariantHasNoUniqueFieldsType string
OneVariantHasNoUniqueFieldsType is oneOf type of OneVariantHasNoUniqueFields.
const ( OneVariantHasNoUniqueFields0OneVariantHasNoUniqueFields OneVariantHasNoUniqueFieldsType = "OneVariantHasNoUniqueFields0" OneVariantHasNoUniqueFields1OneVariantHasNoUniqueFields OneVariantHasNoUniqueFieldsType = "OneVariantHasNoUniqueFields1" )
Possible values for OneVariantHasNoUniqueFieldsType.
type OnlyEmptyObject ¶
type OnlyEmptyObject struct{}
Ref: #/components/schemas/OnlyEmptyObject
func (*OnlyEmptyObject) Decode ¶
func (s *OnlyEmptyObject) Decode(d *jx.Decoder) error
Decode decodes OnlyEmptyObject from json.
func (*OnlyEmptyObject) Encode ¶
func (s *OnlyEmptyObject) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OnlyEmptyObject) MarshalJSON ¶
func (s *OnlyEmptyObject) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OnlyEmptyObject) UnmarshalJSON ¶
func (s *OnlyEmptyObject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OnlyPatternedPropsObject ¶
Ref: #/components/schemas/OnlyPatternedPropsObject
func (*OnlyPatternedPropsObject) Decode ¶
func (s *OnlyPatternedPropsObject) Decode(d *jx.Decoder) error
Decode decodes OnlyPatternedPropsObject from json.
func (OnlyPatternedPropsObject) Encode ¶
func (s OnlyPatternedPropsObject) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (OnlyPatternedPropsObject) MarshalJSON ¶
func (s OnlyPatternedPropsObject) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OnlyPatternedPropsObject) UnmarshalJSON ¶
func (s *OnlyPatternedPropsObject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OperationName ¶ added in v1.7.0
type OperationName = string
OperationName is the ogen operation name
const ( DataGetFormatOperation OperationName = "DataGetFormat" DefaultTestOperation OperationName = "DefaultTest" ErrorGetOperation OperationName = "ErrorGet" FoobarGetOperation OperationName = "FoobarGet" FoobarPostOperation OperationName = "FoobarPost" FoobarPutOperation OperationName = "FoobarPut" NoAdditionalPropertiesTestOperation OperationName = "NoAdditionalPropertiesTest" NullableDefaultResponseOperation OperationName = "NullableDefaultResponse" OneofBugOperation OperationName = "OneofBug" PatternRecursiveMapGetOperation OperationName = "PatternRecursiveMapGet" PetCreateOperation OperationName = "PetCreate" PetFriendsNamesByIDOperation OperationName = "PetFriendsNamesByID" PetGetOperation OperationName = "PetGet" PetGetAvatarByIDOperation OperationName = "PetGetAvatarByID" PetGetAvatarByNameOperation OperationName = "PetGetAvatarByName" PetGetByNameOperation OperationName = "PetGetByName" PetNameByIDOperation OperationName = "PetNameByID" PetUpdateNameAliasPostOperation OperationName = "PetUpdateNameAliasPost" PetUpdateNamePostOperation OperationName = "PetUpdateNamePost" PetUploadAvatarByIDOperation OperationName = "PetUploadAvatarByID" RecursiveArrayGetOperation OperationName = "RecursiveArrayGet" RecursiveMapGetOperation OperationName = "RecursiveMapGet" SecurityTestOperation OperationName = "SecurityTest" StringIntMapGetOperation OperationName = "StringIntMapGet" TestFloatValidationOperation OperationName = "TestFloatValidation" TestInlineOneofOperation OperationName = "TestInlineOneof" TestIssue1310Operation OperationName = "TestIssue1310" TestNullableOneofsOperation OperationName = "TestNullableOneofs" TestTupleOperation OperationName = "TestTuple" TestTupleNamedOperation OperationName = "TestTupleNamed" TestUniqueItemsOperation OperationName = "TestUniqueItems" )
type OptAnyTest ¶
OptAnyTest is optional AnyTest.
func NewOptAnyTest ¶
func NewOptAnyTest(v AnyTest) OptAnyTest
NewOptAnyTest returns new OptAnyTest with value set to v.
func (*OptAnyTest) Decode ¶
func (o *OptAnyTest) Decode(d *jx.Decoder) error
Decode decodes AnyTest from json.
func (OptAnyTest) Encode ¶
func (o OptAnyTest) Encode(e *jx.Encoder)
Encode encodes AnyTest as json.
func (OptAnyTest) Get ¶
func (o OptAnyTest) Get() (v AnyTest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAnyTest) IsSet ¶
func (o OptAnyTest) IsSet() bool
IsSet returns true if OptAnyTest was set.
func (OptAnyTest) MarshalJSON ¶
func (s OptAnyTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAnyTest) Or ¶
func (o OptAnyTest) Or(d AnyTest) AnyTest
Or returns value if set, or given parameter if does not.
func (*OptAnyTest) UnmarshalJSON ¶
func (s *OptAnyTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAnyTestAnyMap ¶
type OptAnyTestAnyMap struct { Value AnyTestAnyMap Set bool }
OptAnyTestAnyMap is optional AnyTestAnyMap.
func NewOptAnyTestAnyMap ¶
func NewOptAnyTestAnyMap(v AnyTestAnyMap) OptAnyTestAnyMap
NewOptAnyTestAnyMap returns new OptAnyTestAnyMap with value set to v.
func (*OptAnyTestAnyMap) Decode ¶
func (o *OptAnyTestAnyMap) Decode(d *jx.Decoder) error
Decode decodes AnyTestAnyMap from json.
func (OptAnyTestAnyMap) Encode ¶
func (o OptAnyTestAnyMap) Encode(e *jx.Encoder)
Encode encodes AnyTestAnyMap as json.
func (OptAnyTestAnyMap) Get ¶
func (o OptAnyTestAnyMap) Get() (v AnyTestAnyMap, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAnyTestAnyMap) IsSet ¶
func (o OptAnyTestAnyMap) IsSet() bool
IsSet returns true if OptAnyTestAnyMap was set.
func (OptAnyTestAnyMap) MarshalJSON ¶
func (s OptAnyTestAnyMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAnyTestAnyMap) Or ¶
func (o OptAnyTestAnyMap) Or(d AnyTestAnyMap) AnyTestAnyMap
Or returns value if set, or given parameter if does not.
func (*OptAnyTestAnyMap) SetTo ¶
func (o *OptAnyTestAnyMap) SetTo(v AnyTestAnyMap)
SetTo sets value to v.
func (*OptAnyTestAnyMap) UnmarshalJSON ¶
func (s *OptAnyTestAnyMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptArrayTest ¶
OptArrayTest is optional ArrayTest.
func NewOptArrayTest ¶
func NewOptArrayTest(v ArrayTest) OptArrayTest
NewOptArrayTest returns new OptArrayTest with value set to v.
func (*OptArrayTest) Decode ¶
func (o *OptArrayTest) Decode(d *jx.Decoder) error
Decode decodes ArrayTest from json.
func (OptArrayTest) Encode ¶
func (o OptArrayTest) Encode(e *jx.Encoder)
Encode encodes ArrayTest as json.
func (OptArrayTest) Get ¶
func (o OptArrayTest) Get() (v ArrayTest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptArrayTest) IsSet ¶
func (o OptArrayTest) IsSet() bool
IsSet returns true if OptArrayTest was set.
func (OptArrayTest) MarshalJSON ¶
func (s OptArrayTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptArrayTest) Or ¶
func (o OptArrayTest) Or(d ArrayTest) ArrayTest
Or returns value if set, or given parameter if does not.
func (*OptArrayTest) UnmarshalJSON ¶
func (s *OptArrayTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptData ¶
OptData is optional Data.
func NewOptData ¶
NewOptData returns new OptData with value set to v.
func (OptData) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptData) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDate ¶
OptDate is optional time.Time.
func NewOptDate ¶
NewOptDate returns new OptDate with value set to v.
func (OptDate) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptDate) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDateTime ¶
OptDateTime is optional time.Time.
func NewOptDateTime ¶
func NewOptDateTime(v time.Time) OptDateTime
NewOptDateTime returns new OptDateTime with value set to v.
func (OptDateTime) Get ¶
func (o OptDateTime) Get() (v time.Time, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDateTime) IsSet ¶
func (o OptDateTime) IsSet() bool
IsSet returns true if OptDateTime was set.
func (OptDateTime) MarshalJSON ¶
func (s OptDateTime) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDateTime) Or ¶
func (o OptDateTime) Or(d time.Time) time.Time
Or returns value if set, or given parameter if does not.
func (*OptDateTime) UnmarshalJSON ¶
func (s *OptDateTime) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDefaultTestEnum ¶
type OptDefaultTestEnum struct { Value DefaultTestEnum Set bool }
OptDefaultTestEnum is optional DefaultTestEnum.
func NewOptDefaultTestEnum ¶
func NewOptDefaultTestEnum(v DefaultTestEnum) OptDefaultTestEnum
NewOptDefaultTestEnum returns new OptDefaultTestEnum with value set to v.
func (*OptDefaultTestEnum) Decode ¶
func (o *OptDefaultTestEnum) Decode(d *jx.Decoder) error
Decode decodes DefaultTestEnum from json.
func (OptDefaultTestEnum) Encode ¶
func (o OptDefaultTestEnum) Encode(e *jx.Encoder)
Encode encodes DefaultTestEnum as json.
func (OptDefaultTestEnum) Get ¶
func (o OptDefaultTestEnum) Get() (v DefaultTestEnum, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDefaultTestEnum) IsSet ¶
func (o OptDefaultTestEnum) IsSet() bool
IsSet returns true if OptDefaultTestEnum was set.
func (OptDefaultTestEnum) MarshalJSON ¶
func (s OptDefaultTestEnum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDefaultTestEnum) Or ¶
func (o OptDefaultTestEnum) Or(d DefaultTestEnum) DefaultTestEnum
Or returns value if set, or given parameter if does not.
func (*OptDefaultTestEnum) SetTo ¶
func (o *OptDefaultTestEnum) SetTo(v DefaultTestEnum)
SetTo sets value to v.
func (*OptDefaultTestEnum) UnmarshalJSON ¶
func (s *OptDefaultTestEnum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDuration ¶
OptDuration is optional time.Duration.
func NewOptDuration ¶
func NewOptDuration(v time.Duration) OptDuration
NewOptDuration returns new OptDuration with value set to v.
func (*OptDuration) Decode ¶
func (o *OptDuration) Decode(d *jx.Decoder) error
Decode decodes time.Duration from json.
func (OptDuration) Encode ¶
func (o OptDuration) Encode(e *jx.Encoder)
Encode encodes time.Duration as json.
func (OptDuration) Get ¶
func (o OptDuration) Get() (v time.Duration, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDuration) IsSet ¶
func (o OptDuration) IsSet() bool
IsSet returns true if OptDuration was set.
func (OptDuration) MarshalJSON ¶
func (s OptDuration) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDuration) Or ¶
func (o OptDuration) Or(d time.Duration) time.Duration
Or returns value if set, or given parameter if does not.
func (*OptDuration) UnmarshalJSON ¶
func (s *OptDuration) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptFloat64 ¶
OptFloat64 is optional float64.
func NewOptFloat64 ¶
func NewOptFloat64(v float64) OptFloat64
NewOptFloat64 returns new OptFloat64 with value set to v.
func (*OptFloat64) Decode ¶
func (o *OptFloat64) Decode(d *jx.Decoder) error
Decode decodes float64 from json.
func (OptFloat64) Encode ¶
func (o OptFloat64) Encode(e *jx.Encoder)
Encode encodes float64 as json.
func (OptFloat64) Get ¶
func (o OptFloat64) Get() (v float64, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptFloat64) IsSet ¶
func (o OptFloat64) IsSet() bool
IsSet returns true if OptFloat64 was set.
func (OptFloat64) MarshalJSON ¶
func (s OptFloat64) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptFloat64) Or ¶
func (o OptFloat64) Or(d float64) float64
Or returns value if set, or given parameter if does not.
func (*OptFloat64) UnmarshalJSON ¶
func (s *OptFloat64) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptID ¶
OptID is optional ID.
func (OptID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptID) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIP ¶
OptIP is optional netip.Addr.
func (OptIP) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptIP) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIPv4 ¶
OptIPv4 is optional netip.Addr.
func NewOptIPv4 ¶
NewOptIPv4 returns new OptIPv4 with value set to v.
func (OptIPv4) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptIPv4) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIPv6 ¶
OptIPv6 is optional netip.Addr.
func NewOptIPv6 ¶
NewOptIPv6 returns new OptIPv6 with value set to v.
func (OptIPv6) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptIPv6) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInlineDiscriminatorOneOf ¶ added in v0.72.0
type OptInlineDiscriminatorOneOf struct { Value InlineDiscriminatorOneOf Set bool }
OptInlineDiscriminatorOneOf is optional InlineDiscriminatorOneOf.
func NewOptInlineDiscriminatorOneOf ¶ added in v0.72.0
func NewOptInlineDiscriminatorOneOf(v InlineDiscriminatorOneOf) OptInlineDiscriminatorOneOf
NewOptInlineDiscriminatorOneOf returns new OptInlineDiscriminatorOneOf with value set to v.
func (*OptInlineDiscriminatorOneOf) Decode ¶ added in v0.72.0
func (o *OptInlineDiscriminatorOneOf) Decode(d *jx.Decoder) error
Decode decodes InlineDiscriminatorOneOf from json.
func (OptInlineDiscriminatorOneOf) Encode ¶ added in v0.72.0
func (o OptInlineDiscriminatorOneOf) Encode(e *jx.Encoder)
Encode encodes InlineDiscriminatorOneOf as json.
func (OptInlineDiscriminatorOneOf) Get ¶ added in v0.72.0
func (o OptInlineDiscriminatorOneOf) Get() (v InlineDiscriminatorOneOf, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptInlineDiscriminatorOneOf) IsSet ¶ added in v0.72.0
func (o OptInlineDiscriminatorOneOf) IsSet() bool
IsSet returns true if OptInlineDiscriminatorOneOf was set.
func (OptInlineDiscriminatorOneOf) MarshalJSON ¶ added in v0.72.0
func (s OptInlineDiscriminatorOneOf) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptInlineDiscriminatorOneOf) Or ¶ added in v0.72.0
Or returns value if set, or given parameter if does not.
func (*OptInlineDiscriminatorOneOf) Reset ¶ added in v0.72.0
func (o *OptInlineDiscriminatorOneOf) Reset()
Reset unsets value.
func (*OptInlineDiscriminatorOneOf) SetTo ¶ added in v0.72.0
func (o *OptInlineDiscriminatorOneOf) SetTo(v InlineDiscriminatorOneOf)
SetTo sets value to v.
func (*OptInlineDiscriminatorOneOf) UnmarshalJSON ¶ added in v0.72.0
func (s *OptInlineDiscriminatorOneOf) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInlineUniqueFieldsOneOf ¶ added in v0.72.0
type OptInlineUniqueFieldsOneOf struct { Value InlineUniqueFieldsOneOf Set bool }
OptInlineUniqueFieldsOneOf is optional InlineUniqueFieldsOneOf.
func NewOptInlineUniqueFieldsOneOf ¶ added in v0.72.0
func NewOptInlineUniqueFieldsOneOf(v InlineUniqueFieldsOneOf) OptInlineUniqueFieldsOneOf
NewOptInlineUniqueFieldsOneOf returns new OptInlineUniqueFieldsOneOf with value set to v.
func (*OptInlineUniqueFieldsOneOf) Decode ¶ added in v0.72.0
func (o *OptInlineUniqueFieldsOneOf) Decode(d *jx.Decoder) error
Decode decodes InlineUniqueFieldsOneOf from json.
func (OptInlineUniqueFieldsOneOf) Encode ¶ added in v0.72.0
func (o OptInlineUniqueFieldsOneOf) Encode(e *jx.Encoder)
Encode encodes InlineUniqueFieldsOneOf as json.
func (OptInlineUniqueFieldsOneOf) Get ¶ added in v0.72.0
func (o OptInlineUniqueFieldsOneOf) Get() (v InlineUniqueFieldsOneOf, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptInlineUniqueFieldsOneOf) IsSet ¶ added in v0.72.0
func (o OptInlineUniqueFieldsOneOf) IsSet() bool
IsSet returns true if OptInlineUniqueFieldsOneOf was set.
func (OptInlineUniqueFieldsOneOf) MarshalJSON ¶ added in v0.72.0
func (s OptInlineUniqueFieldsOneOf) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptInlineUniqueFieldsOneOf) Or ¶ added in v0.72.0
Or returns value if set, or given parameter if does not.
func (*OptInlineUniqueFieldsOneOf) Reset ¶ added in v0.72.0
func (o *OptInlineUniqueFieldsOneOf) Reset()
Reset unsets value.
func (*OptInlineUniqueFieldsOneOf) SetTo ¶ added in v0.72.0
func (o *OptInlineUniqueFieldsOneOf) SetTo(v InlineUniqueFieldsOneOf)
SetTo sets value to v.
func (*OptInlineUniqueFieldsOneOf) UnmarshalJSON ¶ added in v0.72.0
func (s *OptInlineUniqueFieldsOneOf) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt32 ¶
OptInt32 is optional int32.
func NewOptInt32 ¶
NewOptInt32 returns new OptInt32 with value set to v.
func (OptInt32) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt32) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIssue1310Properties ¶ added in v1.4.1
type OptIssue1310Properties struct { Value *Issue1310Properties Set bool }
OptIssue1310Properties is optional *Issue1310Properties.
func NewOptIssue1310Properties ¶ added in v1.4.1
func NewOptIssue1310Properties(v *Issue1310Properties) OptIssue1310Properties
NewOptIssue1310Properties returns new OptIssue1310Properties with value set to v.
func (*OptIssue1310Properties) Decode ¶ added in v1.4.1
func (o *OptIssue1310Properties) Decode(d *jx.Decoder) error
Decode decodes *Issue1310Properties from json.
func (OptIssue1310Properties) Encode ¶ added in v1.4.1
func (o OptIssue1310Properties) Encode(e *jx.Encoder)
Encode encodes *Issue1310Properties as json.
func (OptIssue1310Properties) Get ¶ added in v1.4.1
func (o OptIssue1310Properties) Get() (v *Issue1310Properties, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptIssue1310Properties) IsSet ¶ added in v1.4.1
func (o OptIssue1310Properties) IsSet() bool
IsSet returns true if OptIssue1310Properties was set.
func (OptIssue1310Properties) MarshalJSON ¶ added in v1.4.1
func (s OptIssue1310Properties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptIssue1310Properties) Or ¶ added in v1.4.1
func (o OptIssue1310Properties) Or(d *Issue1310Properties) *Issue1310Properties
Or returns value if set, or given parameter if does not.
func (*OptIssue1310Properties) Reset ¶ added in v1.4.1
func (o *OptIssue1310Properties) Reset()
Reset unsets value.
func (*OptIssue1310Properties) SetTo ¶ added in v1.4.1
func (o *OptIssue1310Properties) SetTo(v *Issue1310Properties)
SetTo sets value to v.
func (*OptIssue1310Properties) UnmarshalJSON ¶ added in v1.4.1
func (s *OptIssue1310Properties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptIssue943 ¶ added in v0.69.0
OptIssue943 is optional Issue943.
func NewOptIssue943 ¶ added in v0.69.0
func NewOptIssue943(v Issue943) OptIssue943
NewOptIssue943 returns new OptIssue943 with value set to v.
func (*OptIssue943) Decode ¶ added in v0.69.0
func (o *OptIssue943) Decode(d *jx.Decoder) error
Decode decodes Issue943 from json.
func (OptIssue943) Encode ¶ added in v0.69.0
func (o OptIssue943) Encode(e *jx.Encoder)
Encode encodes Issue943 as json.
func (OptIssue943) Get ¶ added in v0.69.0
func (o OptIssue943) Get() (v Issue943, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptIssue943) IsSet ¶ added in v0.69.0
func (o OptIssue943) IsSet() bool
IsSet returns true if OptIssue943 was set.
func (OptIssue943) MarshalJSON ¶ added in v0.69.0
func (s OptIssue943) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptIssue943) Or ¶ added in v0.69.0
func (o OptIssue943) Or(d Issue943) Issue943
Or returns value if set, or given parameter if does not.
func (*OptIssue943) SetTo ¶ added in v0.69.0
func (o *OptIssue943) SetTo(v Issue943)
SetTo sets value to v.
func (*OptIssue943) UnmarshalJSON ¶ added in v0.69.0
func (s *OptIssue943) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMapWithProperties ¶
type OptMapWithProperties struct { Value MapWithProperties Set bool }
OptMapWithProperties is optional MapWithProperties.
func NewOptMapWithProperties ¶
func NewOptMapWithProperties(v MapWithProperties) OptMapWithProperties
NewOptMapWithProperties returns new OptMapWithProperties with value set to v.
func (*OptMapWithProperties) Decode ¶
func (o *OptMapWithProperties) Decode(d *jx.Decoder) error
Decode decodes MapWithProperties from json.
func (OptMapWithProperties) Encode ¶
func (o OptMapWithProperties) Encode(e *jx.Encoder)
Encode encodes MapWithProperties as json.
func (OptMapWithProperties) Get ¶
func (o OptMapWithProperties) Get() (v MapWithProperties, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMapWithProperties) IsSet ¶
func (o OptMapWithProperties) IsSet() bool
IsSet returns true if OptMapWithProperties was set.
func (OptMapWithProperties) MarshalJSON ¶
func (s OptMapWithProperties) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMapWithProperties) Or ¶
func (o OptMapWithProperties) Or(d MapWithProperties) MapWithProperties
Or returns value if set, or given parameter if does not.
func (*OptMapWithProperties) SetTo ¶
func (o *OptMapWithProperties) SetTo(v MapWithProperties)
SetTo sets value to v.
func (*OptMapWithProperties) UnmarshalJSON ¶
func (s *OptMapWithProperties) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMapWithPropertiesInlinedSubMap ¶
type OptMapWithPropertiesInlinedSubMap struct { Value MapWithPropertiesInlinedSubMap Set bool }
OptMapWithPropertiesInlinedSubMap is optional MapWithPropertiesInlinedSubMap.
func NewOptMapWithPropertiesInlinedSubMap ¶
func NewOptMapWithPropertiesInlinedSubMap(v MapWithPropertiesInlinedSubMap) OptMapWithPropertiesInlinedSubMap
NewOptMapWithPropertiesInlinedSubMap returns new OptMapWithPropertiesInlinedSubMap with value set to v.
func (*OptMapWithPropertiesInlinedSubMap) Decode ¶
func (o *OptMapWithPropertiesInlinedSubMap) Decode(d *jx.Decoder) error
Decode decodes MapWithPropertiesInlinedSubMap from json.
func (OptMapWithPropertiesInlinedSubMap) Encode ¶
func (o OptMapWithPropertiesInlinedSubMap) Encode(e *jx.Encoder)
Encode encodes MapWithPropertiesInlinedSubMap as json.
func (OptMapWithPropertiesInlinedSubMap) Get ¶
func (o OptMapWithPropertiesInlinedSubMap) Get() (v MapWithPropertiesInlinedSubMap, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMapWithPropertiesInlinedSubMap) IsSet ¶
func (o OptMapWithPropertiesInlinedSubMap) IsSet() bool
IsSet returns true if OptMapWithPropertiesInlinedSubMap was set.
func (OptMapWithPropertiesInlinedSubMap) MarshalJSON ¶
func (s OptMapWithPropertiesInlinedSubMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMapWithPropertiesInlinedSubMap) Or ¶
func (o OptMapWithPropertiesInlinedSubMap) Or(d MapWithPropertiesInlinedSubMap) MapWithPropertiesInlinedSubMap
Or returns value if set, or given parameter if does not.
func (*OptMapWithPropertiesInlinedSubMap) Reset ¶
func (o *OptMapWithPropertiesInlinedSubMap) Reset()
Reset unsets value.
func (*OptMapWithPropertiesInlinedSubMap) SetTo ¶
func (o *OptMapWithPropertiesInlinedSubMap) SetTo(v MapWithPropertiesInlinedSubMap)
SetTo sets value to v.
func (*OptMapWithPropertiesInlinedSubMap) UnmarshalJSON ¶
func (s *OptMapWithPropertiesInlinedSubMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMaxPropertiesTest ¶
type OptMaxPropertiesTest struct { Value MaxPropertiesTest Set bool }
OptMaxPropertiesTest is optional MaxPropertiesTest.
func NewOptMaxPropertiesTest ¶
func NewOptMaxPropertiesTest(v MaxPropertiesTest) OptMaxPropertiesTest
NewOptMaxPropertiesTest returns new OptMaxPropertiesTest with value set to v.
func (*OptMaxPropertiesTest) Decode ¶
func (o *OptMaxPropertiesTest) Decode(d *jx.Decoder) error
Decode decodes MaxPropertiesTest from json.
func (OptMaxPropertiesTest) Encode ¶
func (o OptMaxPropertiesTest) Encode(e *jx.Encoder)
Encode encodes MaxPropertiesTest as json.
func (OptMaxPropertiesTest) Get ¶
func (o OptMaxPropertiesTest) Get() (v MaxPropertiesTest, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMaxPropertiesTest) IsSet ¶
func (o OptMaxPropertiesTest) IsSet() bool
IsSet returns true if OptMaxPropertiesTest was set.
func (OptMaxPropertiesTest) MarshalJSON ¶
func (s OptMaxPropertiesTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMaxPropertiesTest) Or ¶
func (o OptMaxPropertiesTest) Or(d MaxPropertiesTest) MaxPropertiesTest
Or returns value if set, or given parameter if does not.
func (*OptMaxPropertiesTest) SetTo ¶
func (o *OptMaxPropertiesTest) SetTo(v MaxPropertiesTest)
SetTo sets value to v.
func (*OptMaxPropertiesTest) UnmarshalJSON ¶
func (s *OptMaxPropertiesTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMergeDiscriminatorOneOf ¶ added in v0.72.0
type OptMergeDiscriminatorOneOf struct { Value MergeDiscriminatorOneOf Set bool }
OptMergeDiscriminatorOneOf is optional MergeDiscriminatorOneOf.
func NewOptMergeDiscriminatorOneOf ¶ added in v0.72.0
func NewOptMergeDiscriminatorOneOf(v MergeDiscriminatorOneOf) OptMergeDiscriminatorOneOf
NewOptMergeDiscriminatorOneOf returns new OptMergeDiscriminatorOneOf with value set to v.
func (*OptMergeDiscriminatorOneOf) Decode ¶ added in v0.72.0
func (o *OptMergeDiscriminatorOneOf) Decode(d *jx.Decoder) error
Decode decodes MergeDiscriminatorOneOf from json.
func (OptMergeDiscriminatorOneOf) Encode ¶ added in v0.72.0
func (o OptMergeDiscriminatorOneOf) Encode(e *jx.Encoder)
Encode encodes MergeDiscriminatorOneOf as json.
func (OptMergeDiscriminatorOneOf) Get ¶ added in v0.72.0
func (o OptMergeDiscriminatorOneOf) Get() (v MergeDiscriminatorOneOf, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMergeDiscriminatorOneOf) IsSet ¶ added in v0.72.0
func (o OptMergeDiscriminatorOneOf) IsSet() bool
IsSet returns true if OptMergeDiscriminatorOneOf was set.
func (OptMergeDiscriminatorOneOf) MarshalJSON ¶ added in v0.72.0
func (s OptMergeDiscriminatorOneOf) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMergeDiscriminatorOneOf) Or ¶ added in v0.72.0
Or returns value if set, or given parameter if does not.
func (*OptMergeDiscriminatorOneOf) Reset ¶ added in v0.72.0
func (o *OptMergeDiscriminatorOneOf) Reset()
Reset unsets value.
func (*OptMergeDiscriminatorOneOf) SetTo ¶ added in v0.72.0
func (o *OptMergeDiscriminatorOneOf) SetTo(v MergeDiscriminatorOneOf)
SetTo sets value to v.
func (*OptMergeDiscriminatorOneOf) UnmarshalJSON ¶ added in v0.72.0
func (s *OptMergeDiscriminatorOneOf) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMergeUniqueFieldsOneOf ¶ added in v0.72.0
type OptMergeUniqueFieldsOneOf struct { Value MergeUniqueFieldsOneOf Set bool }
OptMergeUniqueFieldsOneOf is optional MergeUniqueFieldsOneOf.
func NewOptMergeUniqueFieldsOneOf ¶ added in v0.72.0
func NewOptMergeUniqueFieldsOneOf(v MergeUniqueFieldsOneOf) OptMergeUniqueFieldsOneOf
NewOptMergeUniqueFieldsOneOf returns new OptMergeUniqueFieldsOneOf with value set to v.
func (*OptMergeUniqueFieldsOneOf) Decode ¶ added in v0.72.0
func (o *OptMergeUniqueFieldsOneOf) Decode(d *jx.Decoder) error
Decode decodes MergeUniqueFieldsOneOf from json.
func (OptMergeUniqueFieldsOneOf) Encode ¶ added in v0.72.0
func (o OptMergeUniqueFieldsOneOf) Encode(e *jx.Encoder)
Encode encodes MergeUniqueFieldsOneOf as json.
func (OptMergeUniqueFieldsOneOf) Get ¶ added in v0.72.0
func (o OptMergeUniqueFieldsOneOf) Get() (v MergeUniqueFieldsOneOf, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMergeUniqueFieldsOneOf) IsSet ¶ added in v0.72.0
func (o OptMergeUniqueFieldsOneOf) IsSet() bool
IsSet returns true if OptMergeUniqueFieldsOneOf was set.
func (OptMergeUniqueFieldsOneOf) MarshalJSON ¶ added in v0.72.0
func (s OptMergeUniqueFieldsOneOf) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMergeUniqueFieldsOneOf) Or ¶ added in v0.72.0
Or returns value if set, or given parameter if does not.
func (*OptMergeUniqueFieldsOneOf) Reset ¶ added in v0.72.0
func (o *OptMergeUniqueFieldsOneOf) Reset()
Reset unsets value.
func (*OptMergeUniqueFieldsOneOf) SetTo ¶ added in v0.72.0
func (o *OptMergeUniqueFieldsOneOf) SetTo(v MergeUniqueFieldsOneOf)
SetTo sets value to v.
func (*OptMergeUniqueFieldsOneOf) UnmarshalJSON ¶ added in v0.72.0
func (s *OptMergeUniqueFieldsOneOf) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilString ¶
OptNilString is optional nullable string.
func NewOptNilString ¶
func NewOptNilString(v string) OptNilString
NewOptNilString returns new OptNilString with value set to v.
func (*OptNilString) Decode ¶
func (o *OptNilString) Decode(d *jx.Decoder) error
Decode decodes string from json.
func (OptNilString) Encode ¶
func (o OptNilString) Encode(e *jx.Encoder)
Encode encodes string as json.
func (OptNilString) Get ¶
func (o OptNilString) Get() (v string, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilString) IsNull ¶
func (o OptNilString) IsNull() bool
IsSet returns true if value is Null.
func (OptNilString) IsSet ¶
func (o OptNilString) IsSet() bool
IsSet returns true if OptNilString was set.
func (OptNilString) MarshalJSON ¶
func (s OptNilString) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilString) Or ¶
func (o OptNilString) Or(d string) string
Or returns value if set, or given parameter if does not.
func (*OptNilString) SetToNull ¶ added in v0.62.0
func (o *OptNilString) SetToNull()
SetNull sets value to null.
func (*OptNilString) UnmarshalJSON ¶
func (s *OptNilString) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNilStringArray ¶
OptNilStringArray is optional nullable []string.
func NewOptNilStringArray ¶
func NewOptNilStringArray(v []string) OptNilStringArray
NewOptNilStringArray returns new OptNilStringArray with value set to v.
func (*OptNilStringArray) Decode ¶
func (o *OptNilStringArray) Decode(d *jx.Decoder) error
Decode decodes []string from json.
func (OptNilStringArray) Encode ¶
func (o OptNilStringArray) Encode(e *jx.Encoder)
Encode encodes []string as json.
func (OptNilStringArray) Get ¶
func (o OptNilStringArray) Get() (v []string, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNilStringArray) IsNull ¶
func (o OptNilStringArray) IsNull() bool
IsSet returns true if value is Null.
func (OptNilStringArray) IsSet ¶
func (o OptNilStringArray) IsSet() bool
IsSet returns true if OptNilStringArray was set.
func (OptNilStringArray) MarshalJSON ¶
func (s OptNilStringArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNilStringArray) Or ¶
func (o OptNilStringArray) Or(d []string) []string
Or returns value if set, or given parameter if does not.
func (*OptNilStringArray) SetTo ¶
func (o *OptNilStringArray) SetTo(v []string)
SetTo sets value to v.
func (*OptNilStringArray) SetToNull ¶ added in v0.62.0
func (o *OptNilStringArray) SetToNull()
SetNull sets value to null.
func (*OptNilStringArray) UnmarshalJSON ¶
func (s *OptNilStringArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNullValue ¶
OptNullValue is optional NullValue.
func NewOptNullValue ¶
func NewOptNullValue(v NullValue) OptNullValue
NewOptNullValue returns new OptNullValue with value set to v.
func (*OptNullValue) Decode ¶
func (o *OptNullValue) Decode(d *jx.Decoder) error
Decode decodes NullValue from json.
func (OptNullValue) Encode ¶
func (o OptNullValue) Encode(e *jx.Encoder)
Encode encodes NullValue as json.
func (OptNullValue) Get ¶
func (o OptNullValue) Get() (v NullValue, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNullValue) IsSet ¶
func (o OptNullValue) IsSet() bool
IsSet returns true if OptNullValue was set.
func (OptNullValue) MarshalJSON ¶
func (s OptNullValue) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNullValue) Or ¶
func (o OptNullValue) Or(d NullValue) NullValue
Or returns value if set, or given parameter if does not.
func (*OptNullValue) UnmarshalJSON ¶
func (s *OptNullValue) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNullableEnums ¶
type OptNullableEnums struct { Value NullableEnums Set bool }
OptNullableEnums is optional NullableEnums.
func NewOptNullableEnums ¶
func NewOptNullableEnums(v NullableEnums) OptNullableEnums
NewOptNullableEnums returns new OptNullableEnums with value set to v.
func (*OptNullableEnums) Decode ¶
func (o *OptNullableEnums) Decode(d *jx.Decoder) error
Decode decodes NullableEnums from json.
func (OptNullableEnums) Encode ¶
func (o OptNullableEnums) Encode(e *jx.Encoder)
Encode encodes NullableEnums as json.
func (OptNullableEnums) Get ¶
func (o OptNullableEnums) Get() (v NullableEnums, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNullableEnums) IsSet ¶
func (o OptNullableEnums) IsSet() bool
IsSet returns true if OptNullableEnums was set.
func (OptNullableEnums) MarshalJSON ¶
func (s OptNullableEnums) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNullableEnums) Or ¶
func (o OptNullableEnums) Or(d NullableEnums) NullableEnums
Or returns value if set, or given parameter if does not.
func (*OptNullableEnums) SetTo ¶
func (o *OptNullableEnums) SetTo(v NullableEnums)
SetTo sets value to v.
func (*OptNullableEnums) UnmarshalJSON ¶
func (s *OptNullableEnums) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptOneOfMappingReference ¶
type OptOneOfMappingReference struct { Value OneOfMappingReference Set bool }
OptOneOfMappingReference is optional OneOfMappingReference.
func NewOptOneOfMappingReference ¶
func NewOptOneOfMappingReference(v OneOfMappingReference) OptOneOfMappingReference
NewOptOneOfMappingReference returns new OptOneOfMappingReference with value set to v.
func (*OptOneOfMappingReference) Decode ¶
func (o *OptOneOfMappingReference) Decode(d *jx.Decoder) error
Decode decodes OneOfMappingReference from json.
func (OptOneOfMappingReference) Encode ¶
func (o OptOneOfMappingReference) Encode(e *jx.Encoder)
Encode encodes OneOfMappingReference as json.
func (OptOneOfMappingReference) Get ¶
func (o OptOneOfMappingReference) Get() (v OneOfMappingReference, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOneOfMappingReference) IsSet ¶
func (o OptOneOfMappingReference) IsSet() bool
IsSet returns true if OptOneOfMappingReference was set.
func (OptOneOfMappingReference) MarshalJSON ¶
func (s OptOneOfMappingReference) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptOneOfMappingReference) Or ¶
func (o OptOneOfMappingReference) Or(d OneOfMappingReference) OneOfMappingReference
Or returns value if set, or given parameter if does not.
func (*OptOneOfMappingReference) Reset ¶
func (o *OptOneOfMappingReference) Reset()
Reset unsets value.
func (*OptOneOfMappingReference) SetTo ¶
func (o *OptOneOfMappingReference) SetTo(v OneOfMappingReference)
SetTo sets value to v.
func (*OptOneOfMappingReference) UnmarshalJSON ¶
func (s *OptOneOfMappingReference) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptOneOfUUIDAndIntEnum ¶
type OptOneOfUUIDAndIntEnum struct { Value OneOfUUIDAndIntEnum Set bool }
OptOneOfUUIDAndIntEnum is optional OneOfUUIDAndIntEnum.
func NewOptOneOfUUIDAndIntEnum ¶
func NewOptOneOfUUIDAndIntEnum(v OneOfUUIDAndIntEnum) OptOneOfUUIDAndIntEnum
NewOptOneOfUUIDAndIntEnum returns new OptOneOfUUIDAndIntEnum with value set to v.
func (*OptOneOfUUIDAndIntEnum) Decode ¶
func (o *OptOneOfUUIDAndIntEnum) Decode(d *jx.Decoder) error
Decode decodes OneOfUUIDAndIntEnum from json.
func (OptOneOfUUIDAndIntEnum) Encode ¶
func (o OptOneOfUUIDAndIntEnum) Encode(e *jx.Encoder)
Encode encodes OneOfUUIDAndIntEnum as json.
func (OptOneOfUUIDAndIntEnum) Get ¶
func (o OptOneOfUUIDAndIntEnum) Get() (v OneOfUUIDAndIntEnum, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOneOfUUIDAndIntEnum) IsSet ¶
func (o OptOneOfUUIDAndIntEnum) IsSet() bool
IsSet returns true if OptOneOfUUIDAndIntEnum was set.
func (OptOneOfUUIDAndIntEnum) MarshalJSON ¶
func (s OptOneOfUUIDAndIntEnum) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptOneOfUUIDAndIntEnum) Or ¶
func (o OptOneOfUUIDAndIntEnum) Or(d OneOfUUIDAndIntEnum) OneOfUUIDAndIntEnum
Or returns value if set, or given parameter if does not.
func (*OptOneOfUUIDAndIntEnum) SetTo ¶
func (o *OptOneOfUUIDAndIntEnum) SetTo(v OneOfUUIDAndIntEnum)
SetTo sets value to v.
func (*OptOneOfUUIDAndIntEnum) UnmarshalJSON ¶
func (s *OptOneOfUUIDAndIntEnum) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptOnePropertyObject ¶
type OptOnePropertyObject struct { Value OnePropertyObject Set bool }
OptOnePropertyObject is optional OnePropertyObject.
func NewOptOnePropertyObject ¶
func NewOptOnePropertyObject(v OnePropertyObject) OptOnePropertyObject
NewOptOnePropertyObject returns new OptOnePropertyObject with value set to v.
func (*OptOnePropertyObject) Decode ¶
func (o *OptOnePropertyObject) Decode(d *jx.Decoder) error
Decode decodes OnePropertyObject from json.
func (OptOnePropertyObject) Encode ¶
func (o OptOnePropertyObject) Encode(e *jx.Encoder)
Encode encodes OnePropertyObject as json.
func (OptOnePropertyObject) Get ¶
func (o OptOnePropertyObject) Get() (v OnePropertyObject, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOnePropertyObject) IsSet ¶
func (o OptOnePropertyObject) IsSet() bool
IsSet returns true if OptOnePropertyObject was set.
func (OptOnePropertyObject) MarshalJSON ¶
func (s OptOnePropertyObject) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptOnePropertyObject) Or ¶
func (o OptOnePropertyObject) Or(d OnePropertyObject) OnePropertyObject
Or returns value if set, or given parameter if does not.
func (*OptOnePropertyObject) SetTo ¶
func (o *OptOnePropertyObject) SetTo(v OnePropertyObject)
SetTo sets value to v.
func (*OptOnePropertyObject) UnmarshalJSON ¶
func (s *OptOnePropertyObject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptOnlyPatternedPropsObject ¶
type OptOnlyPatternedPropsObject struct { Value OnlyPatternedPropsObject Set bool }
OptOnlyPatternedPropsObject is optional OnlyPatternedPropsObject.
func NewOptOnlyPatternedPropsObject ¶
func NewOptOnlyPatternedPropsObject(v OnlyPatternedPropsObject) OptOnlyPatternedPropsObject
NewOptOnlyPatternedPropsObject returns new OptOnlyPatternedPropsObject with value set to v.
func (*OptOnlyPatternedPropsObject) Decode ¶
func (o *OptOnlyPatternedPropsObject) Decode(d *jx.Decoder) error
Decode decodes OnlyPatternedPropsObject from json.
func (OptOnlyPatternedPropsObject) Encode ¶
func (o OptOnlyPatternedPropsObject) Encode(e *jx.Encoder)
Encode encodes OnlyPatternedPropsObject as json.
func (OptOnlyPatternedPropsObject) Get ¶
func (o OptOnlyPatternedPropsObject) Get() (v OnlyPatternedPropsObject, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptOnlyPatternedPropsObject) IsSet ¶
func (o OptOnlyPatternedPropsObject) IsSet() bool
IsSet returns true if OptOnlyPatternedPropsObject was set.
func (OptOnlyPatternedPropsObject) MarshalJSON ¶
func (s OptOnlyPatternedPropsObject) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptOnlyPatternedPropsObject) Reset ¶
func (o *OptOnlyPatternedPropsObject) Reset()
Reset unsets value.
func (*OptOnlyPatternedPropsObject) SetTo ¶
func (o *OptOnlyPatternedPropsObject) SetTo(v OnlyPatternedPropsObject)
SetTo sets value to v.
func (*OptOnlyPatternedPropsObject) UnmarshalJSON ¶
func (s *OptOnlyPatternedPropsObject) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPet ¶
OptPet is optional Pet.
func (OptPet) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptPet) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPetName ¶
OptPetName is optional PetName.
func NewOptPetName ¶
func NewOptPetName(v PetName) OptPetName
NewOptPetName returns new OptPetName with value set to v.
func (*OptPetName) Decode ¶
func (o *OptPetName) Decode(d *jx.Decoder) error
Decode decodes PetName from json.
func (OptPetName) Encode ¶
func (o OptPetName) Encode(e *jx.Encoder)
Encode encodes PetName as json.
func (OptPetName) Get ¶
func (o OptPetName) Get() (v PetName, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPetName) IsSet ¶
func (o OptPetName) IsSet() bool
IsSet returns true if OptPetName was set.
func (OptPetName) MarshalJSON ¶
func (s OptPetName) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPetName) Or ¶
func (o OptPetName) Or(d PetName) PetName
Or returns value if set, or given parameter if does not.
func (*OptPetName) UnmarshalJSON ¶
func (s *OptPetName) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptPetType ¶
OptPetType is optional PetType.
func NewOptPetType ¶
func NewOptPetType(v PetType) OptPetType
NewOptPetType returns new OptPetType with value set to v.
func (*OptPetType) Decode ¶
func (o *OptPetType) Decode(d *jx.Decoder) error
Decode decodes PetType from json.
func (OptPetType) Encode ¶
func (o OptPetType) Encode(e *jx.Encoder)
Encode encodes PetType as json.
func (OptPetType) Get ¶
func (o OptPetType) Get() (v PetType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptPetType) IsSet ¶
func (o OptPetType) IsSet() bool
IsSet returns true if OptPetType was set.
func (OptPetType) MarshalJSON ¶
func (s OptPetType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptPetType) Or ¶
func (o OptPetType) Or(d PetType) PetType
Or returns value if set, or given parameter if does not.
func (*OptPetType) UnmarshalJSON ¶
func (s *OptPetType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptStringMap ¶
OptStringMap is optional StringMap.
func NewOptStringMap ¶
func NewOptStringMap(v StringMap) OptStringMap
NewOptStringMap returns new OptStringMap with value set to v.
func (*OptStringMap) Decode ¶
func (o *OptStringMap) Decode(d *jx.Decoder) error
Decode decodes StringMap from json.
func (OptStringMap) Encode ¶
func (o OptStringMap) Encode(e *jx.Encoder)
Encode encodes StringMap as json.
func (OptStringMap) Get ¶
func (o OptStringMap) Get() (v StringMap, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStringMap) IsSet ¶
func (o OptStringMap) IsSet() bool
IsSet returns true if OptStringMap was set.
func (OptStringMap) MarshalJSON ¶
func (s OptStringMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptStringMap) Or ¶
func (o OptStringMap) Or(d StringMap) StringMap
Or returns value if set, or given parameter if does not.
func (*OptStringMap) UnmarshalJSON ¶
func (s *OptStringMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptStringStringMap ¶
type OptStringStringMap struct { Value StringStringMap Set bool }
OptStringStringMap is optional StringStringMap.
func NewOptStringStringMap ¶
func NewOptStringStringMap(v StringStringMap) OptStringStringMap
NewOptStringStringMap returns new OptStringStringMap with value set to v.
func (*OptStringStringMap) Decode ¶
func (o *OptStringStringMap) Decode(d *jx.Decoder) error
Decode decodes StringStringMap from json.
func (OptStringStringMap) Encode ¶
func (o OptStringStringMap) Encode(e *jx.Encoder)
Encode encodes StringStringMap as json.
func (OptStringStringMap) Get ¶
func (o OptStringStringMap) Get() (v StringStringMap, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStringStringMap) IsSet ¶
func (o OptStringStringMap) IsSet() bool
IsSet returns true if OptStringStringMap was set.
func (OptStringStringMap) MarshalJSON ¶
func (s OptStringStringMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptStringStringMap) Or ¶
func (o OptStringStringMap) Or(d StringStringMap) StringStringMap
Or returns value if set, or given parameter if does not.
func (*OptStringStringMap) SetTo ¶
func (o *OptStringStringMap) SetTo(v StringStringMap)
SetTo sets value to v.
func (*OptStringStringMap) UnmarshalJSON ¶
func (s *OptStringStringMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTime ¶
OptTime is optional time.Time.
func NewOptTime ¶
NewOptTime returns new OptTime with value set to v.
func (OptTime) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptTime) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptURI ¶
OptURI is optional url.URL.
func (OptURI) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptURI) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUUID ¶
OptUUID is optional uuid.UUID.
func NewOptUUID ¶
NewOptUUID returns new OptUUID with value set to v.
func (OptUUID) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptUUID) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptValidationStringMap ¶
type OptValidationStringMap struct { Value ValidationStringMap Set bool }
OptValidationStringMap is optional ValidationStringMap.
func NewOptValidationStringMap ¶
func NewOptValidationStringMap(v ValidationStringMap) OptValidationStringMap
NewOptValidationStringMap returns new OptValidationStringMap with value set to v.
func (*OptValidationStringMap) Decode ¶
func (o *OptValidationStringMap) Decode(d *jx.Decoder) error
Decode decodes ValidationStringMap from json.
func (OptValidationStringMap) Encode ¶
func (o OptValidationStringMap) Encode(e *jx.Encoder)
Encode encodes ValidationStringMap as json.
func (OptValidationStringMap) Get ¶
func (o OptValidationStringMap) Get() (v ValidationStringMap, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptValidationStringMap) IsSet ¶
func (o OptValidationStringMap) IsSet() bool
IsSet returns true if OptValidationStringMap was set.
func (OptValidationStringMap) MarshalJSON ¶
func (s OptValidationStringMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptValidationStringMap) Or ¶
func (o OptValidationStringMap) Or(d ValidationStringMap) ValidationStringMap
Or returns value if set, or given parameter if does not.
func (*OptValidationStringMap) SetTo ¶
func (o *OptValidationStringMap) SetTo(v ValidationStringMap)
SetTo sets value to v.
func (*OptValidationStringMap) UnmarshalJSON ¶
func (s *OptValidationStringMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface { ServerOption }
Option is config option.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the otel.GetMeterProvider() is used.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type PatternRecursiveMap ¶
type PatternRecursiveMap map[string]PatternRecursiveMap
Ref: #/components/schemas/PatternRecursiveMap
func (*PatternRecursiveMap) Decode ¶
func (s *PatternRecursiveMap) Decode(d *jx.Decoder) error
Decode decodes PatternRecursiveMap from json.
func (PatternRecursiveMap) Encode ¶
func (s PatternRecursiveMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PatternRecursiveMap) MarshalJSON ¶
func (s PatternRecursiveMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PatternRecursiveMap) UnmarshalJSON ¶
func (s *PatternRecursiveMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Pet ¶
type Pet struct { Primary *Pet `json:"primary"` ID int64 `json:"id"` UniqueID uuid.UUID `json:"unique_id"` Name string `json:"name"` Type OptPetType `json:"type"` Kind PetKind `json:"kind"` Tag OptUUID `json:"tag"` IP netip.Addr `json:"ip"` IPV4 netip.Addr `json:"ip_v4"` IPV6 netip.Addr `json:"ip_v6"` URI url.URL `json:"uri"` Birthday time.Time `json:"birthday"` Rate time.Duration `json:"rate"` Nickname NilString `json:"nickname"` NullStr OptNilString `json:"nullStr"` Friends []Pet `json:"friends"` Next OptData `json:"next"` TestInteger1 OptInt `json:"testInteger1"` TestFloat1 OptFloat64 `json:"testFloat1"` TestArray1 [][]string `json:"testArray1"` TestArray2 OptArrayTest `json:"testArray2"` TestMap OptStringStringMap `json:"testMap"` TestMapWithProps OptMapWithProperties `json:"testMapWithProps"` TestAny OptAnyTest `json:"testAny"` TestMaxProperties OptMaxPropertiesTest `json:"testMaxProperties"` TestDate OptDate `json:"testDate"` TestDuration OptDuration `json:"testDuration"` TestTime OptTime `json:"testTime"` TestDateTime OptDateTime `json:"testDateTime"` NullValue OptNullValue `json:"nullValue"` ExtraTags OptString `json:"extraTags" gorm:"index" valid:"customValidator"` }
Cute and lovely creature. Ref: #/components/schemas/Pet
func (*Pet) GetBirthday ¶
GetBirthday returns the value of Birthday.
func (*Pet) GetExtraTags ¶ added in v0.59.0
GetExtraTags returns the value of ExtraTags.
func (*Pet) GetNickname ¶
GetNickname returns the value of Nickname.
func (*Pet) GetNullStr ¶
func (s *Pet) GetNullStr() OptNilString
GetNullStr returns the value of NullStr.
func (*Pet) GetNullValue ¶
func (s *Pet) GetNullValue() OptNullValue
GetNullValue returns the value of NullValue.
func (*Pet) GetTestAny ¶
func (s *Pet) GetTestAny() OptAnyTest
GetTestAny returns the value of TestAny.
func (*Pet) GetTestArray1 ¶
GetTestArray1 returns the value of TestArray1.
func (*Pet) GetTestArray2 ¶
func (s *Pet) GetTestArray2() OptArrayTest
GetTestArray2 returns the value of TestArray2.
func (*Pet) GetTestDate ¶
GetTestDate returns the value of TestDate.
func (*Pet) GetTestDateTime ¶
func (s *Pet) GetTestDateTime() OptDateTime
GetTestDateTime returns the value of TestDateTime.
func (*Pet) GetTestDuration ¶
func (s *Pet) GetTestDuration() OptDuration
GetTestDuration returns the value of TestDuration.
func (*Pet) GetTestFloat1 ¶
func (s *Pet) GetTestFloat1() OptFloat64
GetTestFloat1 returns the value of TestFloat1.
func (*Pet) GetTestInteger1 ¶
GetTestInteger1 returns the value of TestInteger1.
func (*Pet) GetTestMap ¶
func (s *Pet) GetTestMap() OptStringStringMap
GetTestMap returns the value of TestMap.
func (*Pet) GetTestMapWithProps ¶
func (s *Pet) GetTestMapWithProps() OptMapWithProperties
GetTestMapWithProps returns the value of TestMapWithProps.
func (*Pet) GetTestMaxProperties ¶
func (s *Pet) GetTestMaxProperties() OptMaxPropertiesTest
GetTestMaxProperties returns the value of TestMaxProperties.
func (*Pet) GetTestTime ¶
GetTestTime returns the value of TestTime.
func (*Pet) GetUniqueID ¶
GetUniqueID returns the value of UniqueID.
func (*Pet) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Pet) SetBirthday ¶
SetBirthday sets the value of Birthday.
func (*Pet) SetExtraTags ¶ added in v0.59.0
SetExtraTags sets the value of ExtraTags.
func (*Pet) SetNickname ¶
SetNickname sets the value of Nickname.
func (*Pet) SetNullStr ¶
func (s *Pet) SetNullStr(val OptNilString)
SetNullStr sets the value of NullStr.
func (*Pet) SetNullValue ¶
func (s *Pet) SetNullValue(val OptNullValue)
SetNullValue sets the value of NullValue.
func (*Pet) SetTestAny ¶
func (s *Pet) SetTestAny(val OptAnyTest)
SetTestAny sets the value of TestAny.
func (*Pet) SetTestArray1 ¶
SetTestArray1 sets the value of TestArray1.
func (*Pet) SetTestArray2 ¶
func (s *Pet) SetTestArray2(val OptArrayTest)
SetTestArray2 sets the value of TestArray2.
func (*Pet) SetTestDate ¶
SetTestDate sets the value of TestDate.
func (*Pet) SetTestDateTime ¶
func (s *Pet) SetTestDateTime(val OptDateTime)
SetTestDateTime sets the value of TestDateTime.
func (*Pet) SetTestDuration ¶
func (s *Pet) SetTestDuration(val OptDuration)
SetTestDuration sets the value of TestDuration.
func (*Pet) SetTestFloat1 ¶
func (s *Pet) SetTestFloat1(val OptFloat64)
SetTestFloat1 sets the value of TestFloat1.
func (*Pet) SetTestInteger1 ¶
SetTestInteger1 sets the value of TestInteger1.
func (*Pet) SetTestMap ¶
func (s *Pet) SetTestMap(val OptStringStringMap)
SetTestMap sets the value of TestMap.
func (*Pet) SetTestMapWithProps ¶
func (s *Pet) SetTestMapWithProps(val OptMapWithProperties)
SetTestMapWithProps sets the value of TestMapWithProps.
func (*Pet) SetTestMaxProperties ¶
func (s *Pet) SetTestMaxProperties(val OptMaxPropertiesTest)
SetTestMaxProperties sets the value of TestMaxProperties.
func (*Pet) SetTestTime ¶
SetTestTime sets the value of TestTime.
func (*Pet) SetUniqueID ¶
SetUniqueID sets the value of UniqueID.
func (*Pet) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type PetFriendsNamesByIDParams ¶
type PetFriendsNamesByIDParams struct { // Pet ID. ID int }
PetFriendsNamesByIDParams is parameters of petFriendsNamesByID operation.
type PetGetAvatarByIDOK ¶
type PetGetAvatarByIDParams ¶
type PetGetAvatarByIDParams struct { // ID of pet. PetID int64 }
PetGetAvatarByIDParams is parameters of petGetAvatarByID operation.
type PetGetAvatarByIDRes ¶
type PetGetAvatarByIDRes interface {
// contains filtered or unexported methods
}
type PetGetAvatarByNameOK ¶
type PetGetAvatarByNameParams ¶
type PetGetAvatarByNameParams struct { // Name of pet. Name string }
PetGetAvatarByNameParams is parameters of petGetAvatarByName operation.
type PetGetAvatarByNameRes ¶
type PetGetAvatarByNameRes interface {
// contains filtered or unexported methods
}
type PetGetByNameParams ¶
type PetGetByNameParams struct { // Name of pet. Name string }
PetGetByNameParams is parameters of petGetByName operation.
type PetGetDef ¶
type PetGetDef struct {
Message string `json:"message"`
}
func (*PetGetDef) GetMessage ¶
GetMessage returns the value of Message.
func (*PetGetDef) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*PetGetDef) SetMessage ¶
SetMessage sets the value of Message.
func (*PetGetDef) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type PetGetDefStatusCode ¶
PetGetDefStatusCode wraps PetGetDef with StatusCode.
func (*PetGetDefStatusCode) GetResponse ¶
func (s *PetGetDefStatusCode) GetResponse() PetGetDef
GetResponse returns the value of Response.
func (*PetGetDefStatusCode) GetStatusCode ¶
func (s *PetGetDefStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*PetGetDefStatusCode) SetResponse ¶
func (s *PetGetDefStatusCode) SetResponse(val PetGetDef)
SetResponse sets the value of Response.
func (*PetGetDefStatusCode) SetStatusCode ¶
func (s *PetGetDefStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type PetGetParams ¶
type PetGetParams struct { // ID of pet. PetID int64 // Tags of pets. XTags []uuid.UUID // Pet scopes. XScope []string // Token. Token string }
PetGetParams is parameters of petGet operation.
type PetKind ¶
type PetKind string
func (PetKind) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (PetKind) MarshalText ¶ added in v0.56.0
MarshalText implements encoding.TextMarshaler.
func (*PetKind) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PetKind) UnmarshalText ¶ added in v0.56.0
UnmarshalText implements encoding.TextUnmarshaler.
type PetName ¶
type PetName string
func (PetName) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*PetName) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type PetNameByIDParams ¶
type PetNameByIDParams struct { // Pet ID. ID int }
PetNameByIDParams is parameters of petNameByID operation.
type PetType ¶
type PetType string
func (PetType) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (PetType) MarshalText ¶ added in v0.56.0
MarshalText implements encoding.TextMarshaler.
func (*PetType) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PetType) UnmarshalText ¶ added in v0.56.0
UnmarshalText implements encoding.TextUnmarshaler.
type PetUpdateNameAliasPostDef ¶
type PetUpdateNameAliasPostDef struct {
StatusCode int
}
PetUpdateNameAliasPostDef is default response for PetUpdateNameAliasPost operation.
func (*PetUpdateNameAliasPostDef) GetStatusCode ¶
func (s *PetUpdateNameAliasPostDef) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*PetUpdateNameAliasPostDef) SetStatusCode ¶
func (s *PetUpdateNameAliasPostDef) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type PetUpdateNamePostDef ¶
type PetUpdateNamePostDef struct {
StatusCode int
}
PetUpdateNamePostDef is default response for PetUpdateNamePost operation.
func (*PetUpdateNamePostDef) GetStatusCode ¶
func (s *PetUpdateNamePostDef) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*PetUpdateNamePostDef) SetStatusCode ¶
func (s *PetUpdateNamePostDef) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
type PetUploadAvatarByIDOK ¶
type PetUploadAvatarByIDOK struct{}
PetUploadAvatarByIDOK is response for PetUploadAvatarByID operation.
type PetUploadAvatarByIDParams ¶
type PetUploadAvatarByIDParams struct { // ID of pet. PetID int64 }
PetUploadAvatarByIDParams is parameters of petUploadAvatarByID operation.
type PetUploadAvatarByIDReq ¶
type PetUploadAvatarByIDRes ¶
type PetUploadAvatarByIDRes interface {
// contains filtered or unexported methods
}
type RecursiveArray ¶
type RecursiveArray []RecursiveArray
func (*RecursiveArray) Decode ¶
func (s *RecursiveArray) Decode(d *jx.Decoder) error
Decode decodes RecursiveArray from json.
func (RecursiveArray) Encode ¶
func (s RecursiveArray) Encode(e *jx.Encoder)
Encode encodes RecursiveArray as json.
func (RecursiveArray) MarshalJSON ¶
func (s RecursiveArray) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecursiveArray) UnmarshalJSON ¶
func (s *RecursiveArray) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RecursiveArray) Validate ¶
func (s RecursiveArray) Validate() error
type RecursiveMap ¶
type RecursiveMap struct { OptionalRecursiveField *RecursiveMap `json:"optional_recursive_field"` AdditionalProps RecursiveMapAdditional }
Ref: #/components/schemas/RecursiveMap
func (*RecursiveMap) Decode ¶
func (s *RecursiveMap) Decode(d *jx.Decoder) error
Decode decodes RecursiveMap from json.
func (*RecursiveMap) Encode ¶
func (s *RecursiveMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RecursiveMap) GetAdditionalProps ¶
func (s *RecursiveMap) GetAdditionalProps() RecursiveMapAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*RecursiveMap) GetOptionalRecursiveField ¶
func (s *RecursiveMap) GetOptionalRecursiveField() *RecursiveMap
GetOptionalRecursiveField returns the value of OptionalRecursiveField.
func (*RecursiveMap) MarshalJSON ¶
func (s *RecursiveMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecursiveMap) SetAdditionalProps ¶
func (s *RecursiveMap) SetAdditionalProps(val RecursiveMapAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*RecursiveMap) SetOptionalRecursiveField ¶
func (s *RecursiveMap) SetOptionalRecursiveField(val *RecursiveMap)
SetOptionalRecursiveField sets the value of OptionalRecursiveField.
func (*RecursiveMap) UnmarshalJSON ¶
func (s *RecursiveMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RecursiveMapAdditional ¶
type RecursiveMapAdditional map[string]RecursiveMap
func (*RecursiveMapAdditional) Decode ¶
func (s *RecursiveMapAdditional) Decode(d *jx.Decoder) error
Decode decodes RecursiveMapAdditional from json.
func (RecursiveMapAdditional) Encode ¶
func (s RecursiveMapAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RecursiveMapAdditional) MarshalJSON ¶
func (s RecursiveMapAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecursiveMapAdditional) UnmarshalJSON ¶
func (s *RecursiveMapAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
func (Route) PathPattern ¶ added in v0.58.0
PathPattern returns OpenAPI path.
type SecurityHandler ¶
type SecurityHandler interface { // HandleAPIKey handles api_key security. HandleAPIKey(ctx context.Context, operationName OperationName, t APIKey) (context.Context, error) }
SecurityHandler is handler for security parameters.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
func NewServer ¶
func NewServer(h Handler, sec SecurityHandler, opts ...ServerOption) (*Server, error)
NewServer creates new Server.
type ServerOption ¶ added in v0.55.0
type ServerOption interface {
// contains filtered or unexported methods
}
ServerOption is server config option.
func WithErrorHandler ¶
func WithErrorHandler(h ErrorHandler) ServerOption
WithErrorHandler specifies error handler to use.
func WithMaxMultipartMemory ¶
func WithMaxMultipartMemory(max int64) ServerOption
WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.
func WithMethodNotAllowed ¶
func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
WithMethodNotAllowed specifies Method Not Allowed handler to use.
func WithMiddleware ¶
func WithMiddleware(m ...Middleware) ServerOption
WithMiddleware specifies middlewares to use.
func WithNotFound ¶
func WithNotFound(notFound http.HandlerFunc) ServerOption
WithNotFound specifies Not Found handler to use.
func WithPathPrefix ¶
func WithPathPrefix(prefix string) ServerOption
WithPathPrefix specifies server path prefix.
type StringIntMap ¶
type StringIntMap struct { AdditionalProps StringIntMapAdditional // Pattern: "string_[^\r\n\u2028\u2029]*". Pattern0Props StringIntMapPattern0 }
Ref: #/components/schemas/StringIntMap
func (*StringIntMap) Decode ¶
func (s *StringIntMap) Decode(d *jx.Decoder) error
Decode decodes StringIntMap from json.
func (*StringIntMap) Encode ¶
func (s *StringIntMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*StringIntMap) GetAdditionalProps ¶
func (s *StringIntMap) GetAdditionalProps() StringIntMapAdditional
GetAdditionalProps returns the value of AdditionalProps.
func (*StringIntMap) GetPattern0Props ¶
func (s *StringIntMap) GetPattern0Props() StringIntMapPattern0
GetPattern0Props returns the value of Pattern0Props.
func (*StringIntMap) MarshalJSON ¶
func (s *StringIntMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StringIntMap) SetAdditionalProps ¶
func (s *StringIntMap) SetAdditionalProps(val StringIntMapAdditional)
SetAdditionalProps sets the value of AdditionalProps.
func (*StringIntMap) SetPattern0Props ¶
func (s *StringIntMap) SetPattern0Props(val StringIntMapPattern0)
SetPattern0Props sets the value of Pattern0Props.
func (*StringIntMap) UnmarshalJSON ¶
func (s *StringIntMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StringIntMapAdditional ¶
func (*StringIntMapAdditional) Decode ¶
func (s *StringIntMapAdditional) Decode(d *jx.Decoder) error
Decode decodes StringIntMapAdditional from json.
func (StringIntMapAdditional) Encode ¶
func (s StringIntMapAdditional) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StringIntMapAdditional) MarshalJSON ¶
func (s StringIntMapAdditional) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StringIntMapAdditional) UnmarshalJSON ¶
func (s *StringIntMapAdditional) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StringIntMapPattern0 ¶
func (*StringIntMapPattern0) Decode ¶
func (s *StringIntMapPattern0) Decode(d *jx.Decoder) error
Decode decodes StringIntMapPattern0 from json.
func (StringIntMapPattern0) Encode ¶
func (s StringIntMapPattern0) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StringIntMapPattern0) MarshalJSON ¶
func (s StringIntMapPattern0) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StringIntMapPattern0) UnmarshalJSON ¶
func (s *StringIntMapPattern0) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StringMap ¶
Ref: #/components/schemas/StringMap
func (StringMap) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*StringMap) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type StringStringMap ¶
Ref: #/components/schemas/StringStringMap
func (*StringStringMap) Decode ¶
func (s *StringStringMap) Decode(d *jx.Decoder) error
Decode decodes StringStringMap from json.
func (StringStringMap) Encode ¶
func (s StringStringMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StringStringMap) MarshalJSON ¶
func (s StringStringMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StringStringMap) UnmarshalJSON ¶
func (s *StringStringMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (StringStringMap) Validate ¶
func (s StringStringMap) Validate() error
type TestFloatValidation ¶
type TestFloatValidation struct { Minmax float64 `json:"minmax"` MultipleOf float64 `json:"multipleOf"` }
Ref: #/components/schemas/TestFloatValidation
func (*TestFloatValidation) Decode ¶
func (s *TestFloatValidation) Decode(d *jx.Decoder) error
Decode decodes TestFloatValidation from json.
func (*TestFloatValidation) Encode ¶
func (s *TestFloatValidation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TestFloatValidation) GetMinmax ¶
func (s *TestFloatValidation) GetMinmax() float64
GetMinmax returns the value of Minmax.
func (*TestFloatValidation) GetMultipleOf ¶
func (s *TestFloatValidation) GetMultipleOf() float64
GetMultipleOf returns the value of MultipleOf.
func (*TestFloatValidation) MarshalJSON ¶
func (s *TestFloatValidation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TestFloatValidation) SetMinmax ¶
func (s *TestFloatValidation) SetMinmax(val float64)
SetMinmax sets the value of Minmax.
func (*TestFloatValidation) SetMultipleOf ¶
func (s *TestFloatValidation) SetMultipleOf(val float64)
SetMultipleOf sets the value of MultipleOf.
func (*TestFloatValidation) UnmarshalJSON ¶
func (s *TestFloatValidation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TestFloatValidation) Validate ¶
func (s *TestFloatValidation) Validate() error
type TestFloatValidationOK ¶
type TestFloatValidationOK struct{}
TestFloatValidationOK is response for TestFloatValidation operation.
type TestInlineOneOf ¶ added in v0.72.0
type TestInlineOneOf struct { InlineDiscriminator OptInlineDiscriminatorOneOf `json:"inline_discriminator"` MergeDiscriminator OptMergeDiscriminatorOneOf `json:"merge_discriminator"` InlineUniqueFields OptInlineUniqueFieldsOneOf `json:"inline_unique_fields"` MergeUniqueFields OptMergeUniqueFieldsOneOf `json:"merge_unique_fields"` }
Ref: #/components/schemas/TestInlineOneOf
func (*TestInlineOneOf) Decode ¶ added in v0.72.0
func (s *TestInlineOneOf) Decode(d *jx.Decoder) error
Decode decodes TestInlineOneOf from json.
func (*TestInlineOneOf) Encode ¶ added in v0.72.0
func (s *TestInlineOneOf) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TestInlineOneOf) GetInlineDiscriminator ¶ added in v0.72.0
func (s *TestInlineOneOf) GetInlineDiscriminator() OptInlineDiscriminatorOneOf
GetInlineDiscriminator returns the value of InlineDiscriminator.
func (*TestInlineOneOf) GetInlineUniqueFields ¶ added in v0.72.0
func (s *TestInlineOneOf) GetInlineUniqueFields() OptInlineUniqueFieldsOneOf
GetInlineUniqueFields returns the value of InlineUniqueFields.
func (*TestInlineOneOf) GetMergeDiscriminator ¶ added in v0.72.0
func (s *TestInlineOneOf) GetMergeDiscriminator() OptMergeDiscriminatorOneOf
GetMergeDiscriminator returns the value of MergeDiscriminator.
func (*TestInlineOneOf) GetMergeUniqueFields ¶ added in v0.72.0
func (s *TestInlineOneOf) GetMergeUniqueFields() OptMergeUniqueFieldsOneOf
GetMergeUniqueFields returns the value of MergeUniqueFields.
func (*TestInlineOneOf) MarshalJSON ¶ added in v0.72.0
func (s *TestInlineOneOf) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TestInlineOneOf) SetInlineDiscriminator ¶ added in v0.72.0
func (s *TestInlineOneOf) SetInlineDiscriminator(val OptInlineDiscriminatorOneOf)
SetInlineDiscriminator sets the value of InlineDiscriminator.
func (*TestInlineOneOf) SetInlineUniqueFields ¶ added in v0.72.0
func (s *TestInlineOneOf) SetInlineUniqueFields(val OptInlineUniqueFieldsOneOf)
SetInlineUniqueFields sets the value of InlineUniqueFields.
func (*TestInlineOneOf) SetMergeDiscriminator ¶ added in v0.72.0
func (s *TestInlineOneOf) SetMergeDiscriminator(val OptMergeDiscriminatorOneOf)
SetMergeDiscriminator sets the value of MergeDiscriminator.
func (*TestInlineOneOf) SetMergeUniqueFields ¶ added in v0.72.0
func (s *TestInlineOneOf) SetMergeUniqueFields(val OptMergeUniqueFieldsOneOf)
SetMergeUniqueFields sets the value of MergeUniqueFields.
func (*TestInlineOneOf) UnmarshalJSON ¶ added in v0.72.0
func (s *TestInlineOneOf) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TestNullableOneofsCreated ¶ added in v0.60.0
type TestNullableOneofsCreated OneOfWithNullable
func (*TestNullableOneofsCreated) Decode ¶ added in v0.60.0
func (s *TestNullableOneofsCreated) Decode(d *jx.Decoder) error
Decode decodes TestNullableOneofsCreated from json.
func (TestNullableOneofsCreated) Encode ¶ added in v0.60.0
func (s TestNullableOneofsCreated) Encode(e *jx.Encoder)
Encode encodes TestNullableOneofsCreated as json.
func (TestNullableOneofsCreated) MarshalJSON ¶ added in v0.60.0
func (s TestNullableOneofsCreated) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TestNullableOneofsCreated) UnmarshalJSON ¶ added in v0.60.0
func (s *TestNullableOneofsCreated) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (TestNullableOneofsCreated) Validate ¶ added in v0.60.0
func (s TestNullableOneofsCreated) Validate() error
type TestNullableOneofsOK ¶ added in v0.60.0
type TestNullableOneofsOK OneOfWithNullable
func (*TestNullableOneofsOK) Decode ¶ added in v0.60.0
func (s *TestNullableOneofsOK) Decode(d *jx.Decoder) error
Decode decodes TestNullableOneofsOK from json.
func (TestNullableOneofsOK) Encode ¶ added in v0.60.0
func (s TestNullableOneofsOK) Encode(e *jx.Encoder)
Encode encodes TestNullableOneofsOK as json.
func (TestNullableOneofsOK) MarshalJSON ¶ added in v0.60.0
func (s TestNullableOneofsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TestNullableOneofsOK) UnmarshalJSON ¶ added in v0.60.0
func (s *TestNullableOneofsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (TestNullableOneofsOK) Validate ¶ added in v0.60.0
func (s TestNullableOneofsOK) Validate() error
type TestNullableOneofsRes ¶
type TestNullableOneofsRes interface {
// contains filtered or unexported methods
}
type TupleNamedTest ¶ added in v0.69.1
type TupleNamedTest struct { Integer int Boolean bool V2 string V3 [][]string V4 TupleNamedTestV4 }
Ref: #/components/schemas/TupleNamedTest
func (*TupleNamedTest) Decode ¶ added in v0.69.1
func (s *TupleNamedTest) Decode(d *jx.Decoder) error
Decode decodes TupleNamedTest from json.
func (*TupleNamedTest) Encode ¶ added in v0.69.1
func (s *TupleNamedTest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TupleNamedTest) GetBoolean ¶ added in v0.69.1
func (s *TupleNamedTest) GetBoolean() bool
GetBoolean returns the value of Boolean.
func (*TupleNamedTest) GetInteger ¶ added in v0.69.1
func (s *TupleNamedTest) GetInteger() int
GetInteger returns the value of Integer.
func (*TupleNamedTest) GetV2 ¶ added in v0.69.1
func (s *TupleNamedTest) GetV2() string
GetV2 returns the value of V2.
func (*TupleNamedTest) GetV3 ¶ added in v0.69.1
func (s *TupleNamedTest) GetV3() [][]string
GetV3 returns the value of V3.
func (*TupleNamedTest) GetV4 ¶ added in v0.69.1
func (s *TupleNamedTest) GetV4() TupleNamedTestV4
GetV4 returns the value of V4.
func (*TupleNamedTest) MarshalJSON ¶ added in v0.69.1
func (s *TupleNamedTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TupleNamedTest) SetBoolean ¶ added in v0.69.1
func (s *TupleNamedTest) SetBoolean(val bool)
SetBoolean sets the value of Boolean.
func (*TupleNamedTest) SetInteger ¶ added in v0.69.1
func (s *TupleNamedTest) SetInteger(val int)
SetInteger sets the value of Integer.
func (*TupleNamedTest) SetV2 ¶ added in v0.69.1
func (s *TupleNamedTest) SetV2(val string)
SetV2 sets the value of V2.
func (*TupleNamedTest) SetV3 ¶ added in v0.69.1
func (s *TupleNamedTest) SetV3(val [][]string)
SetV3 sets the value of V3.
func (*TupleNamedTest) SetV4 ¶ added in v0.69.1
func (s *TupleNamedTest) SetV4(val TupleNamedTestV4)
SetV4 sets the value of V4.
func (*TupleNamedTest) UnmarshalJSON ¶ added in v0.69.1
func (s *TupleNamedTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TupleNamedTest) Validate ¶ added in v0.69.1
func (s *TupleNamedTest) Validate() error
type TupleNamedTestV4 ¶ added in v0.69.1
func (*TupleNamedTestV4) Decode ¶ added in v0.69.1
func (s *TupleNamedTestV4) Decode(d *jx.Decoder) error
Decode decodes TupleNamedTestV4 from json.
func (*TupleNamedTestV4) Encode ¶ added in v0.69.1
func (s *TupleNamedTestV4) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TupleNamedTestV4) GetBar ¶ added in v0.69.1
func (s *TupleNamedTestV4) GetBar() OptString
GetBar returns the value of Bar.
func (*TupleNamedTestV4) GetFoo ¶ added in v0.69.1
func (s *TupleNamedTestV4) GetFoo() string
GetFoo returns the value of Foo.
func (*TupleNamedTestV4) MarshalJSON ¶ added in v0.69.1
func (s *TupleNamedTestV4) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TupleNamedTestV4) SetBar ¶ added in v0.69.1
func (s *TupleNamedTestV4) SetBar(val OptString)
SetBar sets the value of Bar.
func (*TupleNamedTestV4) SetFoo ¶ added in v0.69.1
func (s *TupleNamedTestV4) SetFoo(val string)
SetFoo sets the value of Foo.
func (*TupleNamedTestV4) UnmarshalJSON ¶ added in v0.69.1
func (s *TupleNamedTestV4) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TupleTest ¶ added in v0.69.0
type TupleTest struct { V0 int V1 bool V2 string V3 [][]string V4 TupleTestV4 }
Ref: #/components/schemas/TupleTest
func (*TupleTest) GetV4 ¶ added in v0.69.0
func (s *TupleTest) GetV4() TupleTestV4
GetV4 returns the value of V4.
func (*TupleTest) MarshalJSON ¶ added in v0.69.0
MarshalJSON implements stdjson.Marshaler.
func (*TupleTest) SetV4 ¶ added in v0.69.0
func (s *TupleTest) SetV4(val TupleTestV4)
SetV4 sets the value of V4.
func (*TupleTest) UnmarshalJSON ¶ added in v0.69.0
UnmarshalJSON implements stdjson.Unmarshaler.
type TupleTestV4 ¶ added in v0.69.0
func (*TupleTestV4) Decode ¶ added in v0.69.0
func (s *TupleTestV4) Decode(d *jx.Decoder) error
Decode decodes TupleTestV4 from json.
func (*TupleTestV4) Encode ¶ added in v0.69.0
func (s *TupleTestV4) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TupleTestV4) GetBar ¶ added in v0.69.0
func (s *TupleTestV4) GetBar() OptString
GetBar returns the value of Bar.
func (*TupleTestV4) GetFoo ¶ added in v0.69.0
func (s *TupleTestV4) GetFoo() string
GetFoo returns the value of Foo.
func (*TupleTestV4) MarshalJSON ¶ added in v0.69.0
func (s *TupleTestV4) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TupleTestV4) SetBar ¶ added in v0.69.0
func (s *TupleTestV4) SetBar(val OptString)
SetBar sets the value of Bar.
func (*TupleTestV4) SetFoo ¶ added in v0.69.0
func (s *TupleTestV4) SetFoo(val string)
SetFoo sets the value of Foo.
func (*TupleTestV4) UnmarshalJSON ¶ added in v0.69.0
func (s *TupleTestV4) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) DataGetFormat ¶
func (UnimplementedHandler) DataGetFormat(ctx context.Context, params DataGetFormatParams) (r string, _ error)
DataGetFormat implements dataGetFormat operation.
Retrieve data.
GET /name/{id}/{foo}1234{bar}-{baz}!{kek}
func (UnimplementedHandler) DefaultTest ¶
func (UnimplementedHandler) DefaultTest(ctx context.Context, req *DefaultTest, params DefaultTestParams) (r int32, _ error)
DefaultTest implements defaultTest operation.
POST /defaultTest
func (UnimplementedHandler) ErrorGet ¶
func (UnimplementedHandler) ErrorGet(ctx context.Context) (r *ErrorStatusCode, _ error)
ErrorGet implements errorGet operation.
Returns error.
GET /error
func (UnimplementedHandler) FoobarGet ¶
func (UnimplementedHandler) FoobarGet(ctx context.Context, params FoobarGetParams) (r FoobarGetRes, _ error)
FoobarGet implements foobarGet operation.
Dumb endpoint for testing things.
GET /foobar
func (UnimplementedHandler) FoobarPost ¶
func (UnimplementedHandler) FoobarPost(ctx context.Context, req OptPet) (r FoobarPostRes, _ error)
FoobarPost implements foobarPost operation.
Dumb endpoint for testing things.
POST /foobar
func (UnimplementedHandler) FoobarPut ¶
func (UnimplementedHandler) FoobarPut(ctx context.Context) (r *FoobarPutDef, _ error)
FoobarPut implements PUT /foobar operation.
PUT /foobar
func (UnimplementedHandler) NoAdditionalPropertiesTest ¶
func (UnimplementedHandler) NoAdditionalPropertiesTest(ctx context.Context) (r *NoAdditionalPropertiesTest, _ error)
NoAdditionalPropertiesTest implements noAdditionalPropertiesTest operation.
GET /noAdditionalPropertiesTest
func (UnimplementedHandler) NullableDefaultResponse ¶
func (UnimplementedHandler) NullableDefaultResponse(ctx context.Context) (r *NilIntStatusCode, _ error)
NullableDefaultResponse implements nullableDefaultResponse operation.
GET /nullableDefaultResponse
func (UnimplementedHandler) OneofBug ¶
func (UnimplementedHandler) OneofBug(ctx context.Context, req *OneOfBugs) error
OneofBug implements oneofBug operation.
POST /oneofBug
func (UnimplementedHandler) PatternRecursiveMapGet ¶
func (UnimplementedHandler) PatternRecursiveMapGet(ctx context.Context) (r PatternRecursiveMap, _ error)
PatternRecursiveMapGet implements GET /patternRecursiveMap operation.
GET /patternRecursiveMap
func (UnimplementedHandler) PetCreate ¶
PetCreate implements petCreate operation.
Creates pet.
POST /pet
func (UnimplementedHandler) PetFriendsNamesByID ¶
func (UnimplementedHandler) PetFriendsNamesByID(ctx context.Context, params PetFriendsNamesByIDParams) (r []string, _ error)
PetFriendsNamesByID implements petFriendsNamesByID operation.
Returns names of all friends of pet.
GET /pet/friendNames/{id}
func (UnimplementedHandler) PetGet ¶
func (UnimplementedHandler) PetGet(ctx context.Context, params PetGetParams) (r PetGetRes, _ error)
PetGet implements petGet operation.
Returns pet from the system that the user has access to.
GET /pet
func (UnimplementedHandler) PetGetAvatarByID ¶
func (UnimplementedHandler) PetGetAvatarByID(ctx context.Context, params PetGetAvatarByIDParams) (r PetGetAvatarByIDRes, _ error)
PetGetAvatarByID implements petGetAvatarByID operation.
Returns pet avatar by id.
GET /pet/avatar
func (UnimplementedHandler) PetGetAvatarByName ¶
func (UnimplementedHandler) PetGetAvatarByName(ctx context.Context, params PetGetAvatarByNameParams) (r PetGetAvatarByNameRes, _ error)
PetGetAvatarByName implements petGetAvatarByName operation.
Returns pet's avatar by name.
GET /pet/{name}/avatar
func (UnimplementedHandler) PetGetByName ¶
func (UnimplementedHandler) PetGetByName(ctx context.Context, params PetGetByNameParams) (r *Pet, _ error)
PetGetByName implements petGetByName operation.
Returns pet by name from the system that the user has access to.
GET /pet/{name}
func (UnimplementedHandler) PetNameByID ¶
func (UnimplementedHandler) PetNameByID(ctx context.Context, params PetNameByIDParams) (r string, _ error)
PetNameByID implements petNameByID operation.
Returns pet name by pet id.
GET /pet/name/{id}
func (UnimplementedHandler) PetUpdateNameAliasPost ¶
func (UnimplementedHandler) PetUpdateNameAliasPost(ctx context.Context, req OptPetName) (r *PetUpdateNameAliasPostDef, _ error)
PetUpdateNameAliasPost implements POST /pet/updateNameAlias operation.
POST /pet/updateNameAlias
func (UnimplementedHandler) PetUpdateNamePost ¶
func (UnimplementedHandler) PetUpdateNamePost(ctx context.Context, req OptString) (r *PetUpdateNamePostDef, _ error)
PetUpdateNamePost implements POST /pet/updateName operation.
POST /pet/updateName
func (UnimplementedHandler) PetUploadAvatarByID ¶
func (UnimplementedHandler) PetUploadAvatarByID(ctx context.Context, req PetUploadAvatarByIDReq, params PetUploadAvatarByIDParams) (r PetUploadAvatarByIDRes, _ error)
PetUploadAvatarByID implements petUploadAvatarByID operation.
Uploads pet avatar by id.
POST /pet/avatar
func (UnimplementedHandler) RecursiveArrayGet ¶
func (UnimplementedHandler) RecursiveArrayGet(ctx context.Context) (r RecursiveArray, _ error)
RecursiveArrayGet implements GET /recursiveArray operation.
GET /recursiveArray
func (UnimplementedHandler) RecursiveMapGet ¶
func (UnimplementedHandler) RecursiveMapGet(ctx context.Context) (r *RecursiveMap, _ error)
RecursiveMapGet implements GET /recursiveMap operation.
GET /recursiveMap
func (UnimplementedHandler) SecurityTest ¶
func (UnimplementedHandler) SecurityTest(ctx context.Context) (r string, _ error)
SecurityTest implements securityTest operation.
GET /securityTest
func (UnimplementedHandler) StringIntMapGet ¶
func (UnimplementedHandler) StringIntMapGet(ctx context.Context) (r *StringIntMap, _ error)
StringIntMapGet implements GET /stringIntMap operation.
GET /stringIntMap
func (UnimplementedHandler) TestFloatValidation ¶
func (UnimplementedHandler) TestFloatValidation(ctx context.Context, req *TestFloatValidation) error
TestFloatValidation implements testFloatValidation operation.
POST /testFloatValidation
func (UnimplementedHandler) TestInlineOneof ¶ added in v0.72.0
func (UnimplementedHandler) TestInlineOneof(ctx context.Context) (r *TestInlineOneOf, _ error)
TestInlineOneof implements testInlineOneof operation.
GET /testInlineOneof
func (UnimplementedHandler) TestIssue1310 ¶ added in v1.4.1
func (UnimplementedHandler) TestIssue1310(ctx context.Context) (r *Issue1310, _ error)
TestIssue1310 implements testIssue1310 operation.
GET /testIssue1310
func (UnimplementedHandler) TestNullableOneofs ¶
func (UnimplementedHandler) TestNullableOneofs(ctx context.Context) (r TestNullableOneofsRes, _ error)
TestNullableOneofs implements testNullableOneofs operation.
GET /testNullableOneofs
func (UnimplementedHandler) TestTuple ¶ added in v0.69.0
func (UnimplementedHandler) TestTuple(ctx context.Context) (r *TupleTest, _ error)
TestTuple implements testTuple operation.
GET /testTuple
func (UnimplementedHandler) TestTupleNamed ¶ added in v0.69.1
func (UnimplementedHandler) TestTupleNamed(ctx context.Context) (r *TupleNamedTest, _ error)
TestTupleNamed implements testTupleNamed operation.
GET /testTupleNamed
func (UnimplementedHandler) TestUniqueItems ¶ added in v0.67.0
func (UnimplementedHandler) TestUniqueItems(ctx context.Context) (r *UniqueItemsTest, _ error)
TestUniqueItems implements testUniqueItems operation.
GET /testUniqueItems
type UniqueItemsTest ¶ added in v0.67.0
type UniqueItemsTest struct { RequiredUnique []string `json:"required_unique"` NullableOptionalUnique OptNilStringArray `json:"nullable_optional_unique"` }
Ref: #/components/schemas/UniqueItemsTest
func (*UniqueItemsTest) Decode ¶ added in v0.67.0
func (s *UniqueItemsTest) Decode(d *jx.Decoder) error
Decode decodes UniqueItemsTest from json.
func (*UniqueItemsTest) Encode ¶ added in v0.67.0
func (s *UniqueItemsTest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*UniqueItemsTest) GetNullableOptionalUnique ¶ added in v0.67.0
func (s *UniqueItemsTest) GetNullableOptionalUnique() OptNilStringArray
GetNullableOptionalUnique returns the value of NullableOptionalUnique.
func (*UniqueItemsTest) GetRequiredUnique ¶ added in v0.67.0
func (s *UniqueItemsTest) GetRequiredUnique() []string
GetRequiredUnique returns the value of RequiredUnique.
func (*UniqueItemsTest) MarshalJSON ¶ added in v0.67.0
func (s *UniqueItemsTest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UniqueItemsTest) SetNullableOptionalUnique ¶ added in v0.67.0
func (s *UniqueItemsTest) SetNullableOptionalUnique(val OptNilStringArray)
SetNullableOptionalUnique sets the value of NullableOptionalUnique.
func (*UniqueItemsTest) SetRequiredUnique ¶ added in v0.67.0
func (s *UniqueItemsTest) SetRequiredUnique(val []string)
SetRequiredUnique sets the value of RequiredUnique.
func (*UniqueItemsTest) UnmarshalJSON ¶ added in v0.67.0
func (s *UniqueItemsTest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*UniqueItemsTest) Validate ¶ added in v0.67.0
func (s *UniqueItemsTest) Validate() error
type ValidationStringMap ¶
Ref: #/components/schemas/ValidationStringMap
func (*ValidationStringMap) Decode ¶
func (s *ValidationStringMap) Decode(d *jx.Decoder) error
Decode decodes ValidationStringMap from json.
func (ValidationStringMap) Encode ¶
func (s ValidationStringMap) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ValidationStringMap) MarshalJSON ¶
func (s ValidationStringMap) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ValidationStringMap) UnmarshalJSON ¶
func (s *ValidationStringMap) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ValidationStringMap) Validate ¶
func (s ValidationStringMap) Validate() error
Source Files ¶
- oas_cfg_gen.go
- oas_defaults_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_labeler_gen.go
- oas_middleware_gen.go
- oas_operations_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_security_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go