google_api_fonts v0.9.0 GoogleApi.Fonts.V1.Model.Webfont View Source

Metadata describing a family of fonts.

Attributes

  • category (type: String.t, default: nil) - The category of the font.
  • family (type: String.t, default: nil) - The name of the font.
  • files (type: map(), default: nil) - The font files (with all supported scripts) for each one of the available variants, as a key : value map.
  • kind (type: String.t, default: nil) - This kind represents a webfont object in the webfonts service.
  • lastModified (type: String.t, default: nil) - The date (format "yyyy-MM-dd") the font was modified for the last time.
  • subsets (type: list(String.t), default: nil) - The scripts supported by the font.
  • variants (type: list(String.t), default: nil) - The available variants for the font.
  • version (type: String.t, default: nil) - The font version.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Fonts.V1.Model.Webfont{
  category: String.t(),
  family: String.t(),
  files: map(),
  kind: String.t(),
  lastModified: String.t(),
  subsets: [String.t()],
  variants: [String.t()],
  version: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.