| 1 | package sarifscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ |
| 2 | |
| 3 | // PhysicalLocation ... |
| 4 | type PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation# struct { |
| 5 | PropertyBagscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#PropertyBag. |
| 6 | ArtifactLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#ArtifactLocation. *ArtifactLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ArtifactLocation# `json:"artifactLocation,omitempty"` |
| 7 | Regionscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#Region. *Regionscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/Region# `json:"region,omitempty"` |
| 8 | ContextRegionscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#ContextRegion. *Regionscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/Region# `json:"contextRegion,omitempty"` |
| 9 | Addressscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#Address. *Addressscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/Address# `json:"address,omitempty"` |
| 10 | } |
| 11 | |
| 12 | // NewPhysicalLocation ... |
| 13 | func NewPhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/NewPhysicalLocation().() *PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation# { |
| 14 | return &PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#{} |
| 15 | } |
| 16 | |
| 17 | // WithArtifactLocation ... |
| 18 | func (pl *PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#) WithArtifactLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#WithArtifactLocation().(artifactLocation *ArtifactLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ArtifactLocation#) *PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation# { |
| 19 | pl.ArtifactLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#ArtifactLocation. = artifactLocation |
| 20 | return pl |
| 21 | } |
| 22 | |
| 23 | // WithRegion ... |
| 24 | func (pl *PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#) WithRegionscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#WithRegion().(region *Regionscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/Region#) *PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation# { |
| 25 | pl.Regionscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#Region. = region |
| 26 | return pl |
| 27 | } |
| 28 | // WithContextRegion ... |
| 29 | func (pl *PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#) WithContextRegionscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#WithContextRegion().(contextRegion *Regionscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/Region#) *PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation# { |
| 30 | pl.ContextRegionscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#ContextRegion. = contextRegion |
| 31 | return pl |
| 32 | } |
| 33 | |
| 34 | // WithAddress ... |
| 35 | func (pl *PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#) WithAddressscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#WithAddress().(address *Addressscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/Address#) *PhysicalLocationscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation# { |
| 36 | pl.Addressscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/PhysicalLocation#Address. = address |
| 37 | return pl |
| 38 | } |