View Source PorscheConnEx.Struct.Maintenance.Task (porsche_conn_ex v0.1.0)
Structure containing information about an upcoming maintenance task.
Fields
id(string) — a four-digit ID codecriticality(integer) — unknown (always 1 in testing)- Presumably some sort of priority sorting key.
description(Maintenance.Task.Description) — describes the task to be performedvalues(Maintenance.Task.Values) — task metadata
These fields have always been nil in testing to date, so their datatype is currently not defined:
remaining_daysremaining_kmremaining_percent
Presumably they'll likely be integers, floats, or unit structures.
Summary
Types
@type t() :: %PorscheConnEx.Struct.Maintenance.Task{ criticality: integer(), description: PorscheConnEx.Struct.Maintenance.Task.Description.t(), id: binary(), remaining_days: any(), remaining_km: any(), remaining_percent: any(), values: PorscheConnEx.Struct.Maintenance.Task.Values.t() }