Module Values.VehicleStatusSource

Information about a campaign associated with a vehicle.

Sourcetype nonrec t = {
  1. campaignName : CampaignName.t option;
    (*

    The name of a campaign.

    *)
  2. vehicleName : VehicleName.t option;
    (*

    The unique ID of the vehicle.

    *)
  3. status : VehicleState.t option;
    (*

    The status of a campaign, which can be one of the following: CREATED - The campaign exists but is not yet approved. READY - The campaign is approved but has not been deployed to the vehicle. Data has not arrived at the vehicle yet. HEALTHY - The campaign is deployed to the vehicle. SUSPENDED - The campaign is suspended and data collection is paused. DELETING - The campaign is being removed from the vehicle. READY_FOR_CHECKIN - The campaign is approved and waiting for vehicle check-in before deployment.

    *)
}
Sourceval make : ?campaignName:??? -> ?vehicleName:??? -> ?status:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CampaignName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t