Releases: bedrocketjmd/go-unimatrix-sdk
Releases · bedrocketjmd/go-unimatrix-sdk
1.2.1
1.1.0
Added
Struct: Response
- Has functions:
Name()
Resources' name.TypeName()
Resources' type name.Ids()
List of resource IDs.Count()
Number of resources returned.UnlimitedCount()
Total number of resources.Offset()
Number of resources response is offset by.Resources()
List ofResource
structs. Same return value as previousoperation.Read()
function.
Controller examples
samples/assets_controller/main.go
samples/genres_controller/main.go
samples/stations_controller/main.go
samples/schedules_controller/main.go
samples/search_controller/main.go
Changed
Operation functions: Read()
, Write()
, WriteResource()
,WriteResources()
, Destroy()
, DestroyByUUID()
, DestroyByUUIDs()
:
- Returns
Response
struct instead of[]Resource
structs.
Struct: Resource
- Function names changed:
GetUUID()
toUUID()
GetRawAttributes()
toRawAttributes()
GetAttributes()
toAttributes()
GetAttributeAsString()
toAttributeAsString()
GetAttributeAsArray()
toAttributeAsArray()
GetAttributeAsMap()
toAttributeAsMap()
GetErrors()
toErrors()
GetAssociations()
toAssociations()
GetAssociation()
toAssociation()
GetRelationships()
toRelationships()
(artifact specific)GetRelatedArtifacts()
toRelatedArtifacts()
(artifact specific)