View Source GoogleApi.Jobs.V4.Model.CommuteInfo (google_api_jobs v0.19.0)

Commute details related to this job.

Attributes

  • jobLocation (type: GoogleApi.Jobs.V4.Model.Location.t, default: nil) - Location used as the destination in the commute calculation.
  • travelDuration (type: String.t, default: nil) - The number of seconds required to travel to the job location from the query location. A duration of 0 seconds indicates that the job isn't reachable within the requested duration, but was returned as part of an expanded query.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Jobs.V4.Model.CommuteInfo{
  jobLocation: GoogleApi.Jobs.V4.Model.Location.t() | nil,
  travelDuration: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.