gen

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Code generated by github.com/raphaelvigee/gensonschema. DO NOT EDIT!

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AllOf

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

func (AllOf) Delete

func (r AllOf) Delete() error

func (AllOf) Exists

func (r AllOf) Exists() bool

func (*AllOf) GetBilling_address

func (r *AllOf) GetBilling_address() *DefinitionsAddress

func (*AllOf) GetShipping_address

func (r *AllOf) GetShipping_address() *ShippingAddress

func (AllOf) MarshalJSON

func (r AllOf) MarshalJSON() ([]byte, error)

func (AllOf) Set

func (r AllOf) Set(v AllOf) error

func (*AllOf) UnmarshalJSON

func (r *AllOf) UnmarshalJSON(b []byte) error

type ArraysSchema

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

func (ArraysSchema) Delete

func (r ArraysSchema) Delete() error

func (ArraysSchema) Exists

func (r ArraysSchema) Exists() bool

func (*ArraysSchema) GetFruits

func (r *ArraysSchema) GetFruits() *Fruits

func (*ArraysSchema) GetVegetables

func (r *ArraysSchema) GetVegetables() *Vegetables

func (ArraysSchema) MarshalJSON

func (r ArraysSchema) MarshalJSON() ([]byte, error)

func (ArraysSchema) Set

func (r ArraysSchema) Set(v ArraysSchema) error

func (*ArraysSchema) UnmarshalJSON

func (r *ArraysSchema) UnmarshalJSON(b []byte) error

type Bool

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

func (Bool) Delete

func (r Bool) Delete() error

func (Bool) Exists

func (r Bool) Exists() bool

func (Bool) MarshalJSON

func (r Bool) MarshalJSON() ([]byte, error)

func (*Bool) Set

func (r *Bool) Set(v bool) error

func (*Bool) UnmarshalJSON

func (r *Bool) UnmarshalJSON(b []byte) error

func (Bool) Value

func (r Bool) Value() bool

type DefinitionsAddress

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

func (DefinitionsAddress) Delete

func (r DefinitionsAddress) Delete() error

func (DefinitionsAddress) Exists

func (r DefinitionsAddress) Exists() bool

func (*DefinitionsAddress) GetCity

func (r *DefinitionsAddress) GetCity() *String

func (DefinitionsAddress) MarshalJSON

func (r DefinitionsAddress) MarshalJSON() ([]byte, error)

func (DefinitionsAddress) Set

func (*DefinitionsAddress) UnmarshalJSON

func (r *DefinitionsAddress) UnmarshalJSON(b []byte) error

type Fruits

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

func (*Fruits) At

func (r *Fruits) At(i int) *String

func (Fruits) Delete

func (r Fruits) Delete() error

func (Fruits) Exists

func (r Fruits) Exists() bool

func (Fruits) Len

func (r Fruits) Len() int

func (Fruits) MarshalJSON

func (r Fruits) MarshalJSON() ([]byte, error)

func (Fruits) Set

func (r Fruits) Set(v Fruits) error

func (*Fruits) UnmarshalJSON

func (r *Fruits) UnmarshalJSON(b []byte) error

type Int64

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

func (Int64) Delete

func (r Int64) Delete() error

func (Int64) Exists

func (r Int64) Exists() bool

func (Int64) MarshalJSON

func (r Int64) MarshalJSON() ([]byte, error)

func (*Int64) Set

func (r *Int64) Set(v int64) error

func (*Int64) UnmarshalJSON

func (r *Int64) UnmarshalJSON(b []byte) error

func (Int64) Value

func (r Int64) Value() int64

type OneOf

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

func (OneOf) Delete

func (r OneOf) Delete() error

func (OneOf) Exists

func (r OneOf) Exists() bool

func (*OneOf) GetData

func (r *OneOf) GetData() *OneOfData

func (OneOf) MarshalJSON

func (r OneOf) MarshalJSON() ([]byte, error)

func (OneOf) Set

func (r OneOf) Set(v OneOf) error

func (*OneOf) UnmarshalJSON

func (r *OneOf) UnmarshalJSON(b []byte) error

type OneOfData

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

func (*OneOfData) AsPerson

func (r *OneOfData) AsPerson() *Person

func (*OneOfData) AsVehicle

func (r *OneOfData) AsVehicle() *Vehicle

func (OneOfData) Delete

func (r OneOfData) Delete() error

func (OneOfData) Exists

func (r OneOfData) Exists() bool

func (OneOfData) MarshalJSON

func (r OneOfData) MarshalJSON() ([]byte, error)

func (OneOfData) Set

func (r OneOfData) Set(v OneOfData) error

func (*OneOfData) UnmarshalJSON

func (r *OneOfData) UnmarshalJSON(b []byte) error

type OneOfOneOfRootObj

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

func (*OneOfOneOfRootObj) AsPerson

func (r *OneOfOneOfRootObj) AsPerson() *Person

func (*OneOfOneOfRootObj) AsVehicle

func (r *OneOfOneOfRootObj) AsVehicle() *Vehicle

func (OneOfOneOfRootObj) Delete

func (r OneOfOneOfRootObj) Delete() error

func (OneOfOneOfRootObj) Exists

func (r OneOfOneOfRootObj) Exists() bool

func (OneOfOneOfRootObj) MarshalJSON

func (r OneOfOneOfRootObj) MarshalJSON() ([]byte, error)

func (OneOfOneOfRootObj) Set

func (*OneOfOneOfRootObj) UnmarshalJSON

func (r *OneOfOneOfRootObj) UnmarshalJSON(b []byte) error

type Person

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

func (Person) Delete

func (r Person) Delete() error

func (Person) Exists

func (r Person) Exists() bool

func (*Person) GetFirstName

func (r *Person) GetFirstName() *String

func (*Person) GetLastName

func (r *Person) GetLastName() *String

func (*Person) GetSport

func (r *Person) GetSport() *String

func (Person) MarshalJSON

func (r Person) MarshalJSON() ([]byte, error)

func (Person) Set

func (r Person) Set(v Person) error

func (*Person) UnmarshalJSON

func (r *Person) UnmarshalJSON(b []byte) error

type ShippingAddress

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

func (ShippingAddress) Delete

func (r ShippingAddress) Delete() error

func (ShippingAddress) Exists

func (r ShippingAddress) Exists() bool

func (*ShippingAddress) GetCity

func (r *ShippingAddress) GetCity() *String

func (*ShippingAddress) GetType

func (r *ShippingAddress) GetType() *String

func (ShippingAddress) MarshalJSON

func (r ShippingAddress) MarshalJSON() ([]byte, error)

func (ShippingAddress) Set

func (*ShippingAddress) UnmarshalJSON

func (r *ShippingAddress) UnmarshalJSON(b []byte) error

type String

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

func (String) Delete

func (r String) Delete() error

func (String) Exists

func (r String) Exists() bool

func (String) MarshalJSON

func (r String) MarshalJSON() ([]byte, error)

func (*String) Set

func (r *String) Set(v string) error

func (*String) UnmarshalJSON

func (r *String) UnmarshalJSON(b []byte) error

func (String) Value

func (r String) Value() string

type Vegetables

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

func (*Vegetables) At

func (r *Vegetables) At(i int) *Vegetables

func (Vegetables) Delete

func (r Vegetables) Delete() error

func (Vegetables) Exists

func (r Vegetables) Exists() bool

func (Vegetables) Len

func (r Vegetables) Len() int

func (Vegetables) MarshalJSON

func (r Vegetables) MarshalJSON() ([]byte, error)

func (Vegetables) Set

func (r Vegetables) Set(v Vegetables) error

func (*Vegetables) UnmarshalJSON

func (r *Vegetables) UnmarshalJSON(b []byte) error

type Vehicle

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

func (Vehicle) Delete

func (r Vehicle) Delete() error

func (Vehicle) Exists

func (r Vehicle) Exists() bool

func (*Vehicle) GetBrand

func (r *Vehicle) GetBrand() *String

func (*Vehicle) GetPrice

func (r *Vehicle) GetPrice() *Int64

func (Vehicle) MarshalJSON

func (r Vehicle) MarshalJSON() ([]byte, error)

func (Vehicle) Set

func (r Vehicle) Set(v Vehicle) error

func (*Vehicle) UnmarshalJSON

func (r *Vehicle) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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