Basic C# library for interacting with Tesla's Owner API, based on https://tesla-api.timdorr.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
978 B

using System.Collections.Generic;
namespace Tesla
{
public class VehicleListResponse
{
public List<Vehicle> response { get; set; }
public int count { get; set; }
}
public class Vehicle
{
public long id { get; set; }
public int vehicle_id { get; set; }
public string vin { get; set; }
public string display_name { get; set; }
public string option_codes { get; set; }
public object color { get; set; }
public string access_type { get; set; }
public List<string> tokens { get; set; }
public string state { get; set; }
public bool in_service { get; set; }
public string id_s { get; set; }
public bool calendar_enabled { get; set; }
public int api_version { get; set; }
public object backseat_token { get; set; }
public object backseat_token_updated_at { get; set; }
public string command_signing { get; set; }
}
}