TNReplaceVehiclePeripheralRequest

@objcMembers
public class TNReplaceVehiclePeripheralRequest : TNDriveMotionRequest

Represents a request to replace a vehicle’s current peripheral with a new one.

  • The existing peripheral that is to be replaced.

    Declaration

    Swift

    public let oldPeripheral: TNPeripheral
  • The new peripheral that will replace the existing one.

    Declaration

    Swift

    public let newPeripheral: TNPeripheral
  • vin

    The Vehicle Identification Number (VIN).

    Declaration

    Swift

    public let vin: String
  • Provides a builder to construct a TNReplaceVehiclePeripheralRequest instance.

    Declaration

    Swift

    public static func builder() -> TNReplaceVehiclePeripheralRequestBuilder
  • Undocumented

    Declaration

    Swift

    public override func encode(to encoder: any Encoder) throws