Skip to content

Commit

Permalink
feat: supplement the model
Browse files Browse the repository at this point in the history
  • Loading branch information
wyyolo committed Oct 6, 2024
1 parent adf4258 commit 0ae9e48
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions streampipes-client-go/streampipes/model/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,51 @@ type StaticProperty struct {
Class string `json:"@class"`
}

type MappingProperty struct {
StaticProperty
RequirementSelector string
MapsFromOptions []string
PropertyScope string
}

type MappingPropertyUnary struct {
MappingProperty
SelectedProperty string
}

type FreeTextStaticProperty struct {
StaticProperty
value string
MapsTo string
MultiLine bool
HtmlAllowed bool
HtmlFontFormat bool
PlaceholdersSupported bool
}

type SelectionStaticProperty struct {
HorizontalRendering bool
}

type OneOfStaticProperty struct {
SelectionStaticProperty
}

type AnyStaticProperty struct {
SelectionStaticProperty
}

type RuntimeResolvableAnyStaticProperty struct {
AnyStaticProperty
DependsOn []string
}

type SlideToggleStaticProperty struct {
StaticProperty
Selected bool
DefaultValue bool
}

type SpDataStream struct {
ElementId string `json:"elementId"`
Dom string `json:"dom"`
Expand Down

0 comments on commit 0ae9e48

Please sign in to comment.