property_affordance

package
v0.0.0-...-6312dd6 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayPropertyAffordance

type ArrayPropertyAffordance struct {
	*ia.InteractionAffordance
	*schema.ArraySchema
	Observable bool `json:"observable,omitempty"`
	Value      any  `json:"value,omitempty" wot:"optional"`
}

type BooleanPropertyAffordance

type BooleanPropertyAffordance struct {
	*ia.InteractionAffordance
	*schema.BooleanSchema
	Observable bool `json:"observable,omitempty"`
	Value      any  `json:"value,omitempty" wot:"optional"`
}

type IntegerPropertyAffordance

type IntegerPropertyAffordance struct {
	*ia.InteractionAffordance
	*schema.IntegerSchema
	Observable bool `json:"observable,omitempty" wot:"withDefault"` //with default
	Value      any  `json:"value,omitempty" wot:"optional"`
}

type NullPropertyAffordance

type NullPropertyAffordance struct {
	*ia.InteractionAffordance
	*schema.NullSchema
	Observable bool `json:"observable"`
	Value      any  `json:"value,omitempty" wot:"optional"`
}

type NumberPropertyAffordance

type NumberPropertyAffordance struct {
	*ia.InteractionAffordance
	*schema.NumberSchema
	Observable bool `json:"observable,omitempty"`
	Value      any  `json:"value,omitempty" wot:"optional"`
}

type ObjectPropertyAffordance

type ObjectPropertyAffordance struct {
	*ia.InteractionAffordance
	*schema.ObjectSchema
	Observable bool `json:"observable,omitempty"`
	Value      any  `json:"value,omitempty" wot:"optional"`
}

type PropertyAffordance

type PropertyAffordance struct {
	*ia.InteractionAffordance
	schema.Schema
	Observable bool `json:"observable,omitempty"`
	Value      any  `json:"value,omitempty" wot:"optional"`
}

func (PropertyAffordance) MarshalJSON

func (p PropertyAffordance) MarshalJSON() ([]byte, error)

func (*PropertyAffordance) UnmarshalJSON

func (p *PropertyAffordance) UnmarshalJSON(data []byte) error

type StringPropertyAffordance

type StringPropertyAffordance struct {
	*ia.InteractionAffordance
	*schema.StringSchema
	Observable bool `json:"observable,omitempty"`
	Value      any  `json:"value,omitempty" wot:"optional"`
}

Jump to

Keyboard shortcuts

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