Documentation ¶
Overview ¶
Package sdkgo provides an API for working with OBADA entities.
Index ¶
- type Obit
- func (o Obit) GetChecksum(parentChecksum *hash.Hash) (hash.Hash, error)
- func (o Obit) GetDocuments() properties.Documents
- func (o Obit) GetManufacturer() properties.StringProperty
- func (o Obit) GetObitID() properties.ObitID
- func (o Obit) GetPartNumber() properties.StringProperty
- func (o Obit) GetSerialNumberHash() properties.StringProperty
- func (o Obit) GetTrustAnchorToken() properties.StringProperty
- type ObitDto
- type ObitIDDto
- type Sdk
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Obit ¶
type Obit struct {
// contains filtered or unexported fields
}
Obit represent asset data structure
func (Obit) GetChecksum ¶
GetChecksum returns Obit checksum
func (Obit) GetDocuments ¶
func (o Obit) GetDocuments() properties.Documents
GetDocuments returns Obit documents
func (Obit) GetManufacturer ¶
func (o Obit) GetManufacturer() properties.StringProperty
GetManufacturer returns manufacturer Obit property
func (Obit) GetPartNumber ¶
func (o Obit) GetPartNumber() properties.StringProperty
GetPartNumber returns part number Obit property
func (Obit) GetSerialNumberHash ¶
func (o Obit) GetSerialNumberHash() properties.StringProperty
GetSerialNumberHash returns serial number hash Obit property
func (Obit) GetTrustAnchorToken ¶
func (o Obit) GetTrustAnchorToken() properties.StringProperty
GetTrustAnchorToken returns OBADA Obit obd DID
type ObitIDDto ¶
type ObitIDDto struct { SerialNumberHash string `validate:"required"` Manufacturer string `validate:"required"` PartNumber string `validate:"required"` }
ObitIDDto todo add description
Click to show internal directories.
Click to hide internal directories.