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

FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/

Attributes

  • attributions (type: list(String.t), default: nil) - This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
  • comment (type: String.t, default: nil) - This field provides a place for the SPDX file creator to record any general comments about the file
  • contributors (type: list(String.t), default: nil) - This field provides a place for the SPDX file creator to record file contributors
  • copyright (type: String.t, default: nil) - Identify the copyright holder of the file, as well as any dates present
  • filesLicenseInfo (type: list(String.t), default: nil) - This field contains the license information actually found in the file, if any
  • id (type: String.t, default: nil) - Uniquely identify any element in an SPDX document which may be referenced by other elements
  • licenseConcluded (type: GoogleApi.ContainerAnalysis.V1alpha1.Model.License.t, default: nil) - This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined
  • notice (type: String.t, default: nil) - This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContainerAnalysis.V1alpha1.Model.FileOccurrence{
  attributions: [String.t()] | nil,
  comment: String.t() | nil,
  contributors: [String.t()] | nil,
  copyright: String.t() | nil,
  filesLicenseInfo: [String.t()] | nil,
  id: String.t() | nil,
  licenseConcluded:
    GoogleApi.ContainerAnalysis.V1alpha1.Model.License.t() | nil,
  notice: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.