components

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	ID                  string  `json:"id"`
	Type                string  `json:"type"`
	AttachedTo          string  `json:"attachedToo"`
	Position            int     `json:"position"`
	Designation         *string `json:"designation"`
	FixedSpeed          *int    `json:"fixedSpeed"`
	Manufacturer        *string `json:"manufacturer"`
	PositionDescription *string `json:"positionDescription"`
	RotatingRing        *string `json:"rotatingRing"`
	SerialNumber        *string `json:"serialNumber"`
	ShaftSide           *string `json:"shaftSide"`
}

func Create

func Create(identityToken, stage, parentNodeID, componenttype string) (Component, error)

func CreateShaft added in v0.6.2

func CreateShaft(identityToken, stage, parentNodeID string, fixedSpeed int) (Component, error)

func CreateWithContext

func CreateWithContext(ctx context.Context, identityToken, stage, parentNodeID, componenttype string, fixedSpeed *int) (Component, error)

Jump to

Keyboard shortcuts

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