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

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: webfonts#webfont) - This kind represents a webfont object in the webfonts service.
  • lastModified (type: Date.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

Link to this type

t()

View Source
t() :: %GoogleApi.Fonts.V1.Model.Webfont{
  category: String.t(),
  family: String.t(),
  files: map(),
  kind: String.t(),
  lastModified: Date.t(),
  subsets: [String.t()],
  variants: [String.t()],
  version: 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.