nullable itemresource

This commit is contained in:
mr 2024-07-31 16:21:19 +02:00
parent c4448fd3af
commit 51f3a320b3

View File

@ -28,9 +28,9 @@ type ResourceSet struct {
}
type ItemResource struct {
Data data.DataResource `bson:"data,omitempty" json:"data,omitempty"`
Processing processing.ProcessingResource `bson:"processing,omitempty" json:"processing,omitempty"`
Storage storage.StorageResource `bson:"storage,omitempty" json:"storage,omitempty"`
Datacenter datacenter.DatacenterResource `bson:"datacenter,omitempty" json:"datacenter,omitempty"`
Workflow w.WorkflowResource `bson:"workflow,omitempty" json:"workflow,omitempty"`
Data *data.DataResource `bson:"data,omitempty" json:"data,omitempty"`
Processing *processing.ProcessingResource `bson:"processing,omitempty" json:"processing,omitempty"`
Storage *storage.StorageResource `bson:"storage,omitempty" json:"storage,omitempty"`
Datacenter *datacenter.DatacenterResource `bson:"datacenter,omitempty" json:"datacenter,omitempty"`
Workflow *w.WorkflowResource `bson:"workflow,omitempty" json:"workflow,omitempty"`
}