| 1 | package sarifscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ |
| 2 | |
| 3 | // ReportingDescriptorReference ... |
| 4 | type ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference# struct { |
| 5 | PropertyBagscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#PropertyBag. |
| 6 | Idscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#Id. *string `json:"id,omitempty"` |
| 7 | Indexscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#Index. *uint `json:"index,omitempty"` |
| 8 | Guidscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#Guid. *string `json:"guid,omitempty"` |
| 9 | ToolComponentscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#ToolComponent. *ToolComponentReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ToolComponentReference# `json:"toolComponent,omitempty"` |
| 10 | } |
| 11 | |
| 12 | // NewReportingDescriptorReference ... |
| 13 | func NewReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/NewReportingDescriptorReference().() *ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference# { |
| 14 | return &ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#{} |
| 15 | } |
| 16 | |
| 17 | // WithId ... |
| 18 | func (r *ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#) WithIdscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#WithId().(id string) *ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference# { |
| 19 | r.Idscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#Id. = &id |
| 20 | return r |
| 21 | } |
| 22 | |
| 23 | // WithIndex ... |
| 24 | func (r *ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#) WithIndexscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#WithIndex().(index int) *ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference# { |
| 25 | i := uint(index) |
| 26 | r.Indexscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#Index. = &i |
| 27 | return r |
| 28 | } |
| 29 | |
| 30 | // WithGuid ... |
| 31 | func (r *ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#) WithGuidscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#WithGuid().(guid string) *ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference# { |
| 32 | r.Guidscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#Guid. = &guid |
| 33 | return r |
| 34 | } |
| 35 | |
| 36 | // WithToolComponentReference ... |
| 37 | func (r *ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#) WithToolComponentReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#WithToolComponentReference().(toolComponentRef *ToolComponentReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ToolComponentReference#) *ReportingDescriptorReferencescip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference# { |
| 38 | r.ToolComponentscip-go gomod github.com/owenrumney/go-sarif . `github.com/owenrumney/go-sarif/sarif`/ReportingDescriptorReference#ToolComponent. = toolComponentRef |
| 39 | return r |
| 40 | } |