internal

package
v0.0.0-...-c596ecd Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateIntersectionTypeMockFromDiscriminator

func CreateIntersectionTypeMockFromDiscriminator(parseNode absser.ParseNode) (absser.Parsable, error)

func CreateSecondTestEntityFromDiscriminator

func CreateSecondTestEntityFromDiscriminator(parseNode absser.ParseNode) (absser.Parsable, error)

func CreateTestEntityFromDiscriminator

func CreateTestEntityFromDiscriminator(parseNode absser.ParseNode) (absser.Parsable, error)

func CreateUnionTypeMockFromDiscriminator

func CreateUnionTypeMockFromDiscriminator(parseNode absser.ParseNode) (absser.Parsable, error)

func TestEntityDiscriminator

func TestEntityDiscriminator(absser.ParseNode) (absser.Parsable, error)

Types

type IntersectionTypeMock

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

func NewIntersectionTypeMock

func NewIntersectionTypeMock() *IntersectionTypeMock

func (*IntersectionTypeMock) GetComposedType1

func (e *IntersectionTypeMock) GetComposedType1() TestEntityable

func (*IntersectionTypeMock) GetComposedType2

func (e *IntersectionTypeMock) GetComposedType2() SecondTestEntityable

func (*IntersectionTypeMock) GetComposedType3

func (e *IntersectionTypeMock) GetComposedType3() []TestEntityable

func (*IntersectionTypeMock) GetFieldDeserializers

func (e *IntersectionTypeMock) GetFieldDeserializers() map[string]func(absser.ParseNode) error

func (*IntersectionTypeMock) GetIsComposedType

func (e *IntersectionTypeMock) GetIsComposedType() bool

func (*IntersectionTypeMock) GetStringValue

func (e *IntersectionTypeMock) GetStringValue() *string

func (*IntersectionTypeMock) Serialize

func (*IntersectionTypeMock) SetComposedType1

func (e *IntersectionTypeMock) SetComposedType1(value TestEntityable)

func (*IntersectionTypeMock) SetComposedType2

func (e *IntersectionTypeMock) SetComposedType2(value SecondTestEntityable)

func (*IntersectionTypeMock) SetComposedType3

func (e *IntersectionTypeMock) SetComposedType3(value []TestEntityable)

func (*IntersectionTypeMock) SetStringValue

func (e *IntersectionTypeMock) SetStringValue(value *string)

type IntersectionTypeMockable

type IntersectionTypeMockable interface {
	absser.Parsable
	GetComposedType1() TestEntityable
	SetComposedType1(value TestEntityable)
	GetComposedType2() SecondTestEntityable
	SetComposedType2(value SecondTestEntityable)
	GetStringValue() *string
	SetStringValue(value *string)
	GetComposedType3() []TestEntityable
	SetComposedType3(value []TestEntityable)
}

type SecondTestEntity

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

func NewSecondTestEntity

func NewSecondTestEntity() *SecondTestEntity

func (*SecondTestEntity) GetDisplayName

func (e *SecondTestEntity) GetDisplayName() *string

func (*SecondTestEntity) GetFailureRate

func (e *SecondTestEntity) GetFailureRate() *float64

func (*SecondTestEntity) GetFieldDeserializers

func (e *SecondTestEntity) GetFieldDeserializers() map[string]func(absser.ParseNode) error

func (*SecondTestEntity) GetId

func (e *SecondTestEntity) GetId() *int64

func (*SecondTestEntity) Serialize

func (m *SecondTestEntity) Serialize(writer absser.SerializationWriter) error

func (*SecondTestEntity) SetDisplayName

func (e *SecondTestEntity) SetDisplayName(value *string)

func (*SecondTestEntity) SetFailureRate

func (e *SecondTestEntity) SetFailureRate(value *float64)

func (*SecondTestEntity) SetId

func (e *SecondTestEntity) SetId(value *int64)

type SecondTestEntityable

type SecondTestEntityable interface {
	absser.Parsable
	GetDisplayName() *string
	SetDisplayName(value *string)
	GetId() *int64
	SetId(value *int64)
	GetFailureRate() *float64
	SetFailureRate(value *float64)
}

type TestEntity

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

func NewTestEntity

func NewTestEntity() *TestEntity

func (*TestEntity) GetAdditionalData

func (e *TestEntity) GetAdditionalData() map[string]interface{}

func (*TestEntity) GetBirthDay

func (e *TestEntity) GetBirthDay() *absser.DateOnly

func (*TestEntity) GetCreatedDateTime

func (e *TestEntity) GetCreatedDateTime() *time.Time

func (*TestEntity) GetEndWorkTime

func (e *TestEntity) GetEndWorkTime() *absser.TimeOnly

func (*TestEntity) GetFieldDeserializers

func (e *TestEntity) GetFieldDeserializers() map[string]func(absser.ParseNode) error

func (*TestEntity) GetId

func (e *TestEntity) GetId() *string

func (*TestEntity) GetOfficeLocation

func (e *TestEntity) GetOfficeLocation() *string

func (*TestEntity) GetStartWorkTime

func (e *TestEntity) GetStartWorkTime() *absser.TimeOnly

func (*TestEntity) GetWorkDuration

func (e *TestEntity) GetWorkDuration() *absser.ISODuration

func (*TestEntity) Serialize

func (m *TestEntity) Serialize(writer absser.SerializationWriter) error

func (*TestEntity) SetAdditionalData

func (e *TestEntity) SetAdditionalData(value map[string]interface{})

func (*TestEntity) SetBirthDay

func (e *TestEntity) SetBirthDay(value *absser.DateOnly)

func (*TestEntity) SetCreatedDateTime

func (e *TestEntity) SetCreatedDateTime(value *time.Time)

func (*TestEntity) SetEndWorkTime

func (e *TestEntity) SetEndWorkTime(value *absser.TimeOnly)

func (*TestEntity) SetId

func (e *TestEntity) SetId(value *string)

func (*TestEntity) SetOfficeLocation

func (e *TestEntity) SetOfficeLocation(value *string)

func (*TestEntity) SetStartWorkTime

func (e *TestEntity) SetStartWorkTime(value *absser.TimeOnly)

func (*TestEntity) SetWorkDuration

func (e *TestEntity) SetWorkDuration(value *absser.ISODuration)

type TestEntityable

type TestEntityable interface {
	absser.Parsable
	absser.AdditionalDataHolder
	GetId() *string
	SetId(value *string)
	GetOfficeLocation() *string
	SetOfficeLocation(value *string)
	GetWorkDuration() *absser.ISODuration
	SetWorkDuration(value *absser.ISODuration)
	GetBirthDay() *absser.DateOnly
	SetBirthDay(value *absser.DateOnly)
	GetStartWorkTime() *absser.TimeOnly
	SetStartWorkTime(value *absser.TimeOnly)
	GetEndWorkTime() *absser.TimeOnly
	SetEndWorkTime(value *absser.TimeOnly)
	GetCreatedDateTime() *time.Time
	SetCreatedDateTime(value *time.Time)
}

type UnionTypeMock

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

func NewUnionTypeMock

func NewUnionTypeMock() *UnionTypeMock

func (*UnionTypeMock) GetComposedType1

func (e *UnionTypeMock) GetComposedType1() TestEntityable

func (*UnionTypeMock) GetComposedType2

func (e *UnionTypeMock) GetComposedType2() SecondTestEntityable

func (*UnionTypeMock) GetComposedType3

func (e *UnionTypeMock) GetComposedType3() []TestEntityable

func (*UnionTypeMock) GetFieldDeserializers

func (e *UnionTypeMock) GetFieldDeserializers() map[string]func(absser.ParseNode) error

func (*UnionTypeMock) GetIsComposedType

func (e *UnionTypeMock) GetIsComposedType() bool

func (*UnionTypeMock) GetStringValue

func (e *UnionTypeMock) GetStringValue() *string

func (*UnionTypeMock) Serialize

func (e *UnionTypeMock) Serialize(writer absser.SerializationWriter) error

func (*UnionTypeMock) SetComposedType1

func (e *UnionTypeMock) SetComposedType1(value TestEntityable)

func (*UnionTypeMock) SetComposedType2

func (e *UnionTypeMock) SetComposedType2(value SecondTestEntityable)

func (*UnionTypeMock) SetComposedType3

func (e *UnionTypeMock) SetComposedType3(value []TestEntityable)

func (*UnionTypeMock) SetStringValue

func (e *UnionTypeMock) SetStringValue(value *string)

type UnionTypeMockable

type UnionTypeMockable interface {
	absser.Parsable
	GetComposedType1() TestEntityable
	SetComposedType1(value TestEntityable)
	GetComposedType2() SecondTestEntityable
	SetComposedType2(value SecondTestEntityable)
	GetStringValue() *string
	SetStringValue(value *string)
	GetComposedType3() []TestEntityable
	SetComposedType3(value []TestEntityable)
}

Jump to

Keyboard shortcuts

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