Skip to content

Commit

Permalink
set preferred default to false
Browse files Browse the repository at this point in the history
  • Loading branch information
CM000n committed Dec 18, 2023
1 parent 2e1ff4d commit 3369a62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mytoyota/models/endpoints/vehicle_guid.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ class VehicleGuidModel(BaseModel):
old_imei (Optional[Any]): The old IMEI of the vehicle.
owner (bool): Indicates if the user is the owner of the vehicle.
personalized_settings (_LinksModel): The personalized settings of the vehicle.
preferred (bool): Indicates if the vehicle is the preferred vehicle.
preferred (bool): Indicates if the vehicle is the preferred vehicle. Defaults to false.
primary_subscriber (bool): Indicates if the user is the primary subscriber of the vehicle.
region (str): The region of the vehicle.
registration_number (Optional[str]): The registration number of the vehicle.
Expand Down Expand Up @@ -386,7 +386,7 @@ class VehicleGuidModel(BaseModel):
old_imei: Optional[Any] = Field(alias="oldImei") # TODO unsure what this returns
owner: bool
personalized_settings: _LinksModel = Field(alias="personalizedSettings") # TODO unsure what this returns
preferred: bool
preferred: bool = False
primary_subscriber: bool = Field(alias="primarySubscriber")
region: str
registration_number: Optional[str] = Field(alias="registrationNumber")
Expand Down

0 comments on commit 3369a62

Please sign in to comment.