GoogleApi.OnDemandScanning.V1.Model.GrafeasV1FileLocation (google_api_on_demand_scanning v0.7.0)

View Source

Indicates the location at which a package was found.

Attributes

  • filePath (type: String.t, default: nil) - For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
  • layerDetails (type: GoogleApi.OnDemandScanning.V1.Model.GrafeasV1LayerDetails.t, default: nil) - Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.OnDemandScanning.V1.Model.GrafeasV1FileLocation{
  filePath: String.t() | nil,
  layerDetails:
    GoogleApi.OnDemandScanning.V1.Model.GrafeasV1LayerDetails.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.