Documentation ¶
Index ¶
- func CreateIntersectionTypeMockFromDiscriminator(parseNode absser.ParseNode) (absser.Parsable, error)
- func CreateSecondTestEntityFromDiscriminator(parseNode absser.ParseNode) (absser.Parsable, error)
- func CreateTestEntityFromDiscriminator(parseNode absser.ParseNode) (absser.Parsable, error)
- func CreateUnionTypeMockFromDiscriminator(parseNode absser.ParseNode) (absser.Parsable, error)
- func ParseTestSensitivity(v string) (any, error)
- func SerializeTestSensitivity(values []TestSensitivity) []string
- func TestEntityDiscriminator(absser.ParseNode) (absser.Parsable, error)
- func UntypedTestEntityDiscriminator(parseNode absser.ParseNode) (absser.Parsable, error)
- type IntersectionTypeMock
- func (e *IntersectionTypeMock) GetComposedType1() TestEntityable
- func (e *IntersectionTypeMock) GetComposedType2() SecondTestEntityable
- func (e *IntersectionTypeMock) GetComposedType3() []TestEntityable
- func (e *IntersectionTypeMock) GetFieldDeserializers() map[string]func(absser.ParseNode) error
- func (e *IntersectionTypeMock) GetIsComposedType() bool
- func (e *IntersectionTypeMock) GetStringValue() *string
- func (e *IntersectionTypeMock) Serialize(writer absser.SerializationWriter) error
- func (e *IntersectionTypeMock) SetComposedType1(value TestEntityable)
- func (e *IntersectionTypeMock) SetComposedType2(value SecondTestEntityable)
- func (e *IntersectionTypeMock) SetComposedType3(value []TestEntityable)
- func (e *IntersectionTypeMock) SetStringValue(value *string)
- type IntersectionTypeMockable
- type SecondTestEntity
- func (e *SecondTestEntity) GetDisplayName() *string
- func (e *SecondTestEntity) GetFailureRate() *float64
- func (e *SecondTestEntity) GetFieldDeserializers() map[string]func(absser.ParseNode) error
- func (e *SecondTestEntity) GetId() *int64
- func (m *SecondTestEntity) Serialize(writer absser.SerializationWriter) error
- func (e *SecondTestEntity) SetDisplayName(value *string)
- func (e *SecondTestEntity) SetFailureRate(value *float64)
- func (e *SecondTestEntity) SetId(value *int64)
- type SecondTestEntityable
- type TestEntity
- func (e *TestEntity) GetAdditionalData() map[string]interface{}
- func (e *TestEntity) GetBirthDay() *absser.DateOnly
- func (e *TestEntity) GetCreatedDateTime() *time.Time
- func (e *TestEntity) GetEndWorkTime() *absser.TimeOnly
- func (e *TestEntity) GetFieldDeserializers() map[string]func(absser.ParseNode) error
- func (e *TestEntity) GetId() *string
- func (e *TestEntity) GetOfficeLocation() *string
- func (e *TestEntity) GetSensitivity() *TestSensitivity
- func (e *TestEntity) GetStartWorkTime() *absser.TimeOnly
- func (e *TestEntity) GetWorkDuration() *absser.ISODuration
- func (m *TestEntity) Serialize(writer absser.SerializationWriter) error
- func (e *TestEntity) SetAdditionalData(value map[string]interface{})
- func (e *TestEntity) SetBirthDay(value *absser.DateOnly)
- func (e *TestEntity) SetCreatedDateTime(value *time.Time)
- func (e *TestEntity) SetEndWorkTime(value *absser.TimeOnly)
- func (e *TestEntity) SetId(value *string)
- func (e *TestEntity) SetOfficeLocation(value *string)
- func (e *TestEntity) SetSensitivity(value *TestSensitivity)
- func (e *TestEntity) SetStartWorkTime(value *absser.TimeOnly)
- func (e *TestEntity) SetWorkDuration(value *absser.ISODuration)
- type TestEntityable
- type TestSensitivity
- type TestUntypedTestEntityable
- type UnionTypeMock
- func (e *UnionTypeMock) GetComposedType1() TestEntityable
- func (e *UnionTypeMock) GetComposedType2() SecondTestEntityable
- func (e *UnionTypeMock) GetComposedType3() []TestEntityable
- func (e *UnionTypeMock) GetFieldDeserializers() map[string]func(absser.ParseNode) error
- func (e *UnionTypeMock) GetIsComposedType() bool
- func (e *UnionTypeMock) GetStringValue() *string
- func (e *UnionTypeMock) Serialize(writer absser.SerializationWriter) error
- func (e *UnionTypeMock) SetComposedType1(value TestEntityable)
- func (e *UnionTypeMock) SetComposedType2(value SecondTestEntityable)
- func (e *UnionTypeMock) SetComposedType3(value []TestEntityable)
- func (e *UnionTypeMock) SetStringValue(value *string)
- type UnionTypeMockable
- type UntypedTestEntity
- func (e *UntypedTestEntity) GetAdditionalData() map[string]interface{}
- func (e *UntypedTestEntity) GetDetail() absser.UntypedNodeable
- func (e *UntypedTestEntity) GetFieldDeserializers() map[string]func(absser.ParseNode) error
- func (e *UntypedTestEntity) GetId() *string
- func (e *UntypedTestEntity) GetKeywords() absser.UntypedNodeable
- func (e *UntypedTestEntity) GetLocation() absser.UntypedNodeable
- func (e *UntypedTestEntity) GetTable() absser.UntypedNodeable
- func (e *UntypedTestEntity) GetTitle() *string
- func (m *UntypedTestEntity) Serialize(writer absser.SerializationWriter) error
- func (e *UntypedTestEntity) SetAdditionalData(value map[string]interface{})
- func (e *UntypedTestEntity) SetDetail(value absser.UntypedNodeable)
- func (e *UntypedTestEntity) SetId(value *string)
- func (e *UntypedTestEntity) SetKeywords(value absser.UntypedNodeable)
- func (e *UntypedTestEntity) SetLocation(value absser.UntypedNodeable)
- func (e *UntypedTestEntity) SetTable(value absser.UntypedNodeable)
- func (e *UntypedTestEntity) SetTitle(value *string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseTestSensitivity ¶ added in v1.0.8
func SerializeTestSensitivity ¶ added in v1.0.8
func SerializeTestSensitivity(values []TestSensitivity) []string
func TestEntityDiscriminator ¶ added in v1.0.2
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 ¶ added in v1.0.3
func (e *IntersectionTypeMock) GetIsComposedType() bool
func (*IntersectionTypeMock) GetStringValue ¶
func (e *IntersectionTypeMock) GetStringValue() *string
func (*IntersectionTypeMock) Serialize ¶
func (e *IntersectionTypeMock) Serialize(writer absser.SerializationWriter) error
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 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) GetSensitivity ¶ added in v1.0.8
func (e *TestEntity) GetSensitivity() *TestSensitivity
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) SetSensitivity ¶ added in v1.0.8
func (e *TestEntity) SetSensitivity(value *TestSensitivity)
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) GetSensitivity() *TestSensitivity SetSensitivity(value *TestSensitivity) }
type TestSensitivity ¶ added in v1.0.8
type TestSensitivity int
const ( NORMAL_SENSITIVITY TestSensitivity = iota PERSONAL_SENSITIVITY PRIVATE_SENSITIVITY CONFIDENTIAL_SENSITIVITY )
func (TestSensitivity) String ¶ added in v1.0.8
func (i TestSensitivity) String() string
type TestUntypedTestEntityable ¶ added in v1.0.7
type TestUntypedTestEntityable interface { absser.Parsable absser.AdditionalDataHolder GetId() *string SetId(value *string) GetTitle() *string SetTitle(value *string) GetLocation() absser.UntypedNodeable SetLocation(value absser.UntypedNodeable) GetKeywords() absser.UntypedNodeable SetKeywords(value absser.UntypedNodeable) GetDetail() absser.UntypedNodeable SetDetail(value absser.UntypedNodeable) GetTable() absser.UntypedNodeable SetTable(value absser.UntypedNodeable) }
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 ¶ added in v1.0.3
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) }
type UntypedTestEntity ¶ added in v1.0.7
type UntypedTestEntity struct {
// contains filtered or unexported fields
}
func NewUntypedTestEntity ¶ added in v1.0.7
func NewUntypedTestEntity() *UntypedTestEntity
func (*UntypedTestEntity) GetAdditionalData ¶ added in v1.0.7
func (e *UntypedTestEntity) GetAdditionalData() map[string]interface{}
func (*UntypedTestEntity) GetDetail ¶ added in v1.0.7
func (e *UntypedTestEntity) GetDetail() absser.UntypedNodeable
func (*UntypedTestEntity) GetFieldDeserializers ¶ added in v1.0.7
func (e *UntypedTestEntity) GetFieldDeserializers() map[string]func(absser.ParseNode) error
func (*UntypedTestEntity) GetId ¶ added in v1.0.7
func (e *UntypedTestEntity) GetId() *string
func (*UntypedTestEntity) GetKeywords ¶ added in v1.0.7
func (e *UntypedTestEntity) GetKeywords() absser.UntypedNodeable
func (*UntypedTestEntity) GetLocation ¶ added in v1.0.7
func (e *UntypedTestEntity) GetLocation() absser.UntypedNodeable
func (*UntypedTestEntity) GetTable ¶ added in v1.0.8
func (e *UntypedTestEntity) GetTable() absser.UntypedNodeable
func (*UntypedTestEntity) GetTitle ¶ added in v1.0.7
func (e *UntypedTestEntity) GetTitle() *string
func (*UntypedTestEntity) Serialize ¶ added in v1.0.7
func (m *UntypedTestEntity) Serialize(writer absser.SerializationWriter) error
func (*UntypedTestEntity) SetAdditionalData ¶ added in v1.0.7
func (e *UntypedTestEntity) SetAdditionalData(value map[string]interface{})
func (*UntypedTestEntity) SetDetail ¶ added in v1.0.7
func (e *UntypedTestEntity) SetDetail(value absser.UntypedNodeable)
func (*UntypedTestEntity) SetId ¶ added in v1.0.7
func (e *UntypedTestEntity) SetId(value *string)
func (*UntypedTestEntity) SetKeywords ¶ added in v1.0.7
func (e *UntypedTestEntity) SetKeywords(value absser.UntypedNodeable)
func (*UntypedTestEntity) SetLocation ¶ added in v1.0.7
func (e *UntypedTestEntity) SetLocation(value absser.UntypedNodeable)
func (*UntypedTestEntity) SetTable ¶ added in v1.0.8
func (e *UntypedTestEntity) SetTable(value absser.UntypedNodeable)
func (*UntypedTestEntity) SetTitle ¶ added in v1.0.7
func (e *UntypedTestEntity) SetTitle(value *string)
Click to show internal directories.
Click to hide internal directories.