google_api_poly v0.7.0 GoogleApi.Poly.V1.Model.File View Source

Represents a file in Poly, which can be a root, resource, or thumbnail file.

Attributes

  • contentType (type: String.t, default: nil) - The MIME content-type, such as image/png. For more information, see MIME types.
  • relativePath (type: String.t, default: nil) - The path of the resource file relative to the root file. For root or thumbnail files, this is just the filename.
  • url (type: String.t, default: nil) - The URL where the file data can be retrieved.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Poly.V1.Model.File{
  contentType: String.t(),
  relativePath: String.t(),
  url: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.