View Source GoogleApi.ContainerAnalysis.V1alpha1.Model.RelationshipOccurrence (google_api_container_analysis v0.28.0)

RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/

Attributes

  • comment (type: String.t, default: nil) - A place for the SPDX file creator to record any general comments about the relationship
  • source (type: String.t, default: nil) - Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
  • target (type: String.t, default: nil) - Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are "known unknowns", the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
  • type (type: String.t, default: nil) - Output only. The type of relationship between the source and target SPDX elements

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1alpha1.Model.RelationshipOccurrence{
  comment: String.t() | nil,
  source: String.t() | nil,
  target: String.t() | nil,
  type: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.