View Source GoogleApi.ContentWarehouse.V1.Model.GeostoreSpeedLimitProto (google_api_content_warehouse v0.3.0)

A speed limit, containing both the limit and the conditions in which it applies.

Attributes

  • category (type: String.t, default: nil) - The type of speed limit.
  • condition (type: list(GoogleApi.ContentWarehouse.V1.Model.GeostoreRoadConditionalProto.t), default: nil) - The conditions under which this speed limit is applicable. If multiple conditions are set, at least one of them must be true.
  • sourceType (type: String.t, default: nil) - The source of the speed limit.
  • speedWithUnit (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreSpeedProto.t, default: nil) - A constant speed limit.
  • unlimitedSpeed (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreUnlimitedSpeedProto.t, default: nil) - A speed limit with no limit value. When there is no speed limit in place.
  • variableSpeed (type: GoogleApi.ContentWarehouse.V1.Model.GeostoreVariableSpeedProto.t, default: nil) - A dynamic speed limit that can vary within a range of values based on road conditions.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GeostoreSpeedLimitProto{
  category: String.t() | nil,
  condition:
    [GoogleApi.ContentWarehouse.V1.Model.GeostoreRoadConditionalProto.t()] | nil,
  sourceType: String.t() | nil,
  speedWithUnit:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreSpeedProto.t() | nil,
  unlimitedSpeed:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreUnlimitedSpeedProto.t() | nil,
  variableSpeed:
    GoogleApi.ContentWarehouse.V1.Model.GeostoreVariableSpeedProto.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.