Skip to content

Commit

Permalink
feat: add support for Project.ExternalReferences (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Reamer authored Oct 27, 2024
1 parent 2570042 commit 388e284
Showing 1 changed file with 19 additions and 18 deletions.
37 changes: 19 additions & 18 deletions project.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,25 @@ import (
)

type Project struct {
UUID uuid.UUID `json:"uuid,omitempty"`
Author string `json:"author,omitempty"`
Publisher string `json:"publisher,omitempty"`
Group string `json:"group,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Version string `json:"version,omitempty"`
Classifier string `json:"classifier,omitempty"`
CPE string `json:"cpe,omitempty"`
PURL string `json:"purl,omitempty"`
SWIDTagID string `json:"swidTagId,omitempty"`
DirectDependencies string `json:"directDependencies,omitempty"`
Properties []ProjectProperty `json:"properties,omitempty"`
Tags []Tag `json:"tags,omitempty"`
Active bool `json:"active"`
Metrics ProjectMetrics `json:"metrics"`
ParentRef *ParentRef `json:"parent,omitempty"`
LastBOMImport int `json:"lastBomImport"`
UUID uuid.UUID `json:"uuid,omitempty"`
Author string `json:"author,omitempty"`
Publisher string `json:"publisher,omitempty"`
Group string `json:"group,omitempty"`
Name string `json:"name,omitempty"`
Description string `json:"description,omitempty"`
Version string `json:"version,omitempty"`
Classifier string `json:"classifier,omitempty"`
CPE string `json:"cpe,omitempty"`
PURL string `json:"purl,omitempty"`
SWIDTagID string `json:"swidTagId,omitempty"`
DirectDependencies string `json:"directDependencies,omitempty"`
Properties []ProjectProperty `json:"properties,omitempty"`
Tags []Tag `json:"tags,omitempty"`
Active bool `json:"active"`
Metrics ProjectMetrics `json:"metrics"`
ParentRef *ParentRef `json:"parent,omitempty"`
LastBOMImport int `json:"lastBomImport"`
ExternalReferences []ExternalReference `json:"externalReferences,omitempty"`
}

type ParentRef struct {
Expand Down

0 comments on commit 388e284

Please sign in to comment.