summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m
diff options
context:
space:
mode:
Diffstat (limited to 'SmartDeviceLink/SDLSubscribeVehicleDataResponse.m')
-rw-r--r--SmartDeviceLink/SDLSubscribeVehicleDataResponse.m100
1 files changed, 52 insertions, 48 deletions
diff --git a/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m b/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m
index 75b71bc19..283002a3d 100644
--- a/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m
+++ b/SmartDeviceLink/SDLSubscribeVehicleDataResponse.m
@@ -8,6 +8,8 @@
#import "SDLNames.h"
#import "SDLVehicleDataResult.h"
+NS_ASSUME_NONNULL_BEGIN
+
@implementation SDLSubscribeVehicleDataResponse
- (instancetype)init {
@@ -16,196 +18,198 @@
return self;
}
-- (void)setGps:(SDLVehicleDataResult *)gps {
+- (void)setGps:(nullable SDLVehicleDataResult *)gps {
[parameters sdl_setObject:gps forName:SDLNameGPS];
}
-- (SDLVehicleDataResult *)gps {
+- (nullable SDLVehicleDataResult *)gps {
return [parameters sdl_objectForName:SDLNameGPS ofClass:SDLVehicleDataResult.class];
}
-- (void)setSpeed:(SDLVehicleDataResult *)speed {
+- (void)setSpeed:(nullable SDLVehicleDataResult *)speed {
[parameters sdl_setObject:speed forName:SDLNameSpeed];
}
-- (SDLVehicleDataResult *)speed {
+- (nullable SDLVehicleDataResult *)speed {
return [parameters sdl_objectForName:SDLNameSpeed ofClass:SDLVehicleDataResult.class];
}
-- (void)setRpm:(SDLVehicleDataResult *)rpm {
+- (void)setRpm:(nullable SDLVehicleDataResult *)rpm {
[parameters sdl_setObject:rpm forName:SDLNameRPM];
}
-- (SDLVehicleDataResult *)rpm {
+- (nullable SDLVehicleDataResult *)rpm {
return [parameters sdl_objectForName:SDLNameRPM ofClass:SDLVehicleDataResult.class];
}
-- (void)setFuelLevel:(SDLVehicleDataResult *)fuelLevel {
+- (void)setFuelLevel:(nullable SDLVehicleDataResult *)fuelLevel {
[parameters sdl_setObject:fuelLevel forName:SDLNameFuelLevel];
}
-- (SDLVehicleDataResult *)fuelLevel {
+- (nullable SDLVehicleDataResult *)fuelLevel {
return [parameters sdl_objectForName:SDLNameFuelLevel ofClass:SDLVehicleDataResult.class];
}
-- (void)setFuelLevel_State:(SDLVehicleDataResult *)fuelLevel_State {
+- (void)setFuelLevel_State:(nullable SDLVehicleDataResult *)fuelLevel_State {
[parameters sdl_setObject:fuelLevel_State forName:SDLNameFuelLevelState];
}
-- (SDLVehicleDataResult *)fuelLevel_State {
+- (nullable SDLVehicleDataResult *)fuelLevel_State {
return [parameters sdl_objectForName:SDLNameFuelLevelState ofClass:SDLVehicleDataResult.class];
}
-- (void)setInstantFuelConsumption:(SDLVehicleDataResult *)instantFuelConsumption {
+- (void)setInstantFuelConsumption:(nullable SDLVehicleDataResult *)instantFuelConsumption {
[parameters sdl_setObject:instantFuelConsumption forName:SDLNameInstantFuelConsumption];
}
-- (SDLVehicleDataResult *)instantFuelConsumption {
+- (nullable SDLVehicleDataResult *)instantFuelConsumption {
return [parameters sdl_objectForName:SDLNameInstantFuelConsumption ofClass:SDLVehicleDataResult.class];
}
-- (void)setExternalTemperature:(SDLVehicleDataResult *)externalTemperature {
+- (void)setExternalTemperature:(nullable SDLVehicleDataResult *)externalTemperature {
[parameters sdl_setObject:externalTemperature forName:SDLNameExternalTemperature];
}
-- (SDLVehicleDataResult *)externalTemperature {
+- (nullable SDLVehicleDataResult *)externalTemperature {
return [parameters sdl_objectForName:SDLNameExternalTemperature ofClass:SDLVehicleDataResult.class];
}
-- (void)setPrndl:(SDLVehicleDataResult *)prndl {
+- (void)setPrndl:(nullable SDLVehicleDataResult *)prndl {
[parameters sdl_setObject:prndl forName:SDLNamePRNDL];
}
-- (SDLVehicleDataResult *)prndl {
+- (nullable SDLVehicleDataResult *)prndl {
return [parameters sdl_objectForName:SDLNamePRNDL ofClass:SDLVehicleDataResult.class];
}
-- (void)setTirePressure:(SDLVehicleDataResult *)tirePressure {
+- (void)setTirePressure:(nullable SDLVehicleDataResult *)tirePressure {
[parameters sdl_setObject:tirePressure forName:SDLNameTirePressure];
}
-- (SDLVehicleDataResult *)tirePressure {
+- (nullable SDLVehicleDataResult *)tirePressure {
return [parameters sdl_objectForName:SDLNameTirePressure ofClass:SDLVehicleDataResult.class];
}
-- (void)setOdometer:(SDLVehicleDataResult *)odometer {
+- (void)setOdometer:(nullable SDLVehicleDataResult *)odometer {
[parameters sdl_setObject:odometer forName:SDLNameOdometer];
}
-- (SDLVehicleDataResult *)odometer {
+- (nullable SDLVehicleDataResult *)odometer {
return [parameters sdl_objectForName:SDLNameOdometer ofClass:SDLVehicleDataResult.class];
}
-- (void)setBeltStatus:(SDLVehicleDataResult *)beltStatus {
+- (void)setBeltStatus:(nullable SDLVehicleDataResult *)beltStatus {
[parameters sdl_setObject:beltStatus forName:SDLNameBeltStatus];
}
-- (SDLVehicleDataResult *)beltStatus {
+- (nullable SDLVehicleDataResult *)beltStatus {
return [parameters sdl_objectForName:SDLNameBeltStatus ofClass:SDLVehicleDataResult.class];
}
-- (void)setBodyInformation:(SDLVehicleDataResult *)bodyInformation {
+- (void)setBodyInformation:(nullable SDLVehicleDataResult *)bodyInformation {
[parameters sdl_setObject:bodyInformation forName:SDLNameBodyInformation];
}
-- (SDLVehicleDataResult *)bodyInformation {
+- (nullable SDLVehicleDataResult *)bodyInformation {
return [parameters sdl_objectForName:SDLNameBodyInformation ofClass:SDLVehicleDataResult.class];
}
-- (void)setDeviceStatus:(SDLVehicleDataResult *)deviceStatus {
+- (void)setDeviceStatus:(nullable SDLVehicleDataResult *)deviceStatus {
[parameters sdl_setObject:deviceStatus forName:SDLNameDeviceStatus];
}
-- (SDLVehicleDataResult *)deviceStatus {
+- (nullable SDLVehicleDataResult *)deviceStatus {
return [parameters sdl_objectForName:SDLNameDeviceStatus ofClass:SDLVehicleDataResult.class];
}
-- (void)setDriverBraking:(SDLVehicleDataResult *)driverBraking {
+- (void)setDriverBraking:(nullable SDLVehicleDataResult *)driverBraking {
[parameters sdl_setObject:driverBraking forName:SDLNameDriverBraking];
}
-- (SDLVehicleDataResult *)driverBraking {
+- (nullable SDLVehicleDataResult *)driverBraking {
return [parameters sdl_objectForName:SDLNameDriverBraking ofClass:SDLVehicleDataResult.class];
}
-- (void)setWiperStatus:(SDLVehicleDataResult *)wiperStatus {
+- (void)setWiperStatus:(nullable SDLVehicleDataResult *)wiperStatus {
[parameters sdl_setObject:wiperStatus forName:SDLNameWiperStatus];
}
-- (SDLVehicleDataResult *)wiperStatus {
+- (nullable SDLVehicleDataResult *)wiperStatus {
return [parameters sdl_objectForName:SDLNameWiperStatus ofClass:SDLVehicleDataResult.class];
}
-- (void)setHeadLampStatus:(SDLVehicleDataResult *)headLampStatus {
+- (void)setHeadLampStatus:(nullable SDLVehicleDataResult *)headLampStatus {
[parameters sdl_setObject:headLampStatus forName:SDLNameHeadLampStatus];
}
-- (SDLVehicleDataResult *)headLampStatus {
+- (nullable SDLVehicleDataResult *)headLampStatus {
return [parameters sdl_objectForName:SDLNameHeadLampStatus ofClass:SDLVehicleDataResult.class];
}
-- (void)setEngineTorque:(SDLVehicleDataResult *)engineTorque {
+- (void)setEngineTorque:(nullable SDLVehicleDataResult *)engineTorque {
[parameters sdl_setObject:engineTorque forName:SDLNameEngineTorque];
}
-- (SDLVehicleDataResult *)engineTorque {
+- (nullable SDLVehicleDataResult *)engineTorque {
return [parameters sdl_objectForName:SDLNameEngineTorque ofClass:SDLVehicleDataResult.class];
}
-- (void)setAccPedalPosition:(SDLVehicleDataResult *)accPedalPosition {
+- (void)setAccPedalPosition:(nullable SDLVehicleDataResult *)accPedalPosition {
[parameters sdl_setObject:accPedalPosition forName:SDLNameAccelerationPedalPosition];
}
-- (SDLVehicleDataResult *)accPedalPosition {
+- (nullable SDLVehicleDataResult *)accPedalPosition {
return [parameters sdl_objectForName:SDLNameAccelerationPedalPosition ofClass:SDLVehicleDataResult.class];
}
-- (void)setSteeringWheelAngle:(SDLVehicleDataResult *)steeringWheelAngle {
+- (void)setSteeringWheelAngle:(nullable SDLVehicleDataResult *)steeringWheelAngle {
[parameters sdl_setObject:steeringWheelAngle forName:SDLNameSteeringWheelAngle];
}
-- (SDLVehicleDataResult *)steeringWheelAngle {
+- (nullable SDLVehicleDataResult *)steeringWheelAngle {
return [parameters sdl_objectForName:SDLNameSteeringWheelAngle ofClass:SDLVehicleDataResult.class];
}
-- (void)setECallInfo:(SDLVehicleDataResult *)eCallInfo {
+- (void)setECallInfo:(nullable SDLVehicleDataResult *)eCallInfo {
[parameters sdl_setObject:eCallInfo forName:SDLNameECallInfo];
}
-- (SDLVehicleDataResult *)eCallInfo {
+- (nullable SDLVehicleDataResult *)eCallInfo {
return [parameters sdl_objectForName:SDLNameECallInfo ofClass:SDLVehicleDataResult.class];
}
-- (void)setAirbagStatus:(SDLVehicleDataResult *)airbagStatus {
+- (void)setAirbagStatus:(nullable SDLVehicleDataResult *)airbagStatus {
[parameters sdl_setObject:airbagStatus forName:SDLNameAirbagStatus];
}
-- (SDLVehicleDataResult *)airbagStatus {
+- (nullable SDLVehicleDataResult *)airbagStatus {
return [parameters sdl_objectForName:SDLNameAirbagStatus ofClass:SDLVehicleDataResult.class];
}
-- (void)setEmergencyEvent:(SDLVehicleDataResult *)emergencyEvent {
+- (void)setEmergencyEvent:(nullable SDLVehicleDataResult *)emergencyEvent {
[parameters sdl_setObject:emergencyEvent forName:SDLNameEmergencyEvent];
}
-- (SDLVehicleDataResult *)emergencyEvent {
+- (nullable SDLVehicleDataResult *)emergencyEvent {
return [parameters sdl_objectForName:SDLNameEmergencyEvent ofClass:SDLVehicleDataResult.class];
}
-- (void)setClusterModes:(SDLVehicleDataResult *)clusterModes {
+- (void)setClusterModes:(nullable SDLVehicleDataResult *)clusterModes {
[parameters sdl_setObject:clusterModes forName:SDLNameClusterModes];
}
-- (SDLVehicleDataResult *)clusterModes {
+- (nullable SDLVehicleDataResult *)clusterModes {
return [parameters sdl_objectForName:SDLNameClusterModes ofClass:SDLVehicleDataResult.class];
}
-- (void)setMyKey:(SDLVehicleDataResult *)myKey {
+- (void)setMyKey:(nullable SDLVehicleDataResult *)myKey {
[parameters sdl_setObject:myKey forName:SDLNameMyKey];
}
-- (SDLVehicleDataResult *)myKey {
+- (nullable SDLVehicleDataResult *)myKey {
return [parameters sdl_objectForName:SDLNameMyKey ofClass:SDLVehicleDataResult.class];
}
@end
+
+NS_ASSUME_NONNULL_END