google_api_url_shortener v0.1.0 GoogleApi.UrlShortener.V1.Model.Url View Source

Attributes

  • analytics (AnalyticsSummary): A summary of the click analytics for the short and long URL. Might not be present if not requested or currently unavailable. Defaults to: null.
  • created (String.t): Time the short URL was created; ISO 8601 representation using the yyyy-MM-dd'T'HH:mm:ss.SSSZZ format, e.g. "2010-10-14T19:01:24.944+00:00". Defaults to: null.
  • id (String.t): Short URL, e.g. "http://goo.gl/l6MS". Defaults to: null.
  • kind (String.t): The fixed string "urlshortener#url". Defaults to: null.
  • longUrl (String.t): Long URL, e.g. "http://www.google.com/". Might not be present if the status is "REMOVED". Defaults to: null.
  • status (String.t): Status of the target URL. Possible values: "OK", "MALWARE", "PHISHING", or "REMOVED". A URL might be marked "REMOVED" if it was flagged as spam, for example. Defaults to: null.

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.UrlShortener.V1.Model.Url{
  analytics: GoogleApi.UrlShortener.V1.Model.AnalyticsSummary.t(),
  created: any(),
  id: any(),
  kind: any(),
  longUrl: any(),
  status: any()
}

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.