Class: Samsara::Types::Vehicle
- Inherits:
-
Object
- Object
- Samsara::Types::Vehicle
- Defined in:
- lib/samsara_api/types/vehicle.rb
Overview
The vehicle object.
Constant Summary collapse
- OMIT =
Object.new
Instance Attribute Summary collapse
-
#additional_properties ⇒ OpenStruct
readonly
Additional properties unmapped to the current class definition.
-
#attributes ⇒ Array<Samsara::Types::AttributeTiny>
readonly
A minified attribute.
- #aux_input_type_1 ⇒ String readonly
- #aux_input_type_10 ⇒ String readonly
- #aux_input_type_11 ⇒ String readonly
- #aux_input_type_12 ⇒ String readonly
- #aux_input_type_13 ⇒ String readonly
- #aux_input_type_2 ⇒ String readonly
- #aux_input_type_3 ⇒ String readonly
- #aux_input_type_4 ⇒ String readonly
- #aux_input_type_5 ⇒ String readonly
- #aux_input_type_6 ⇒ String readonly
- #aux_input_type_7 ⇒ String readonly
- #aux_input_type_8 ⇒ String readonly
- #aux_input_type_9 ⇒ String readonly
- #camera_serial ⇒ String readonly
- #esn ⇒ String readonly
- #external_ids ⇒ Samsara::Types::VEHICLE_EXTERNAL_IDS readonly
- #gateway ⇒ Samsara::Types::GatewayTiny readonly
- #gross_vehicle_weight ⇒ Samsara::Types::GrossVehicleWeight readonly
- #harsh_acceleration_setting_type ⇒ Samsara::Types::VehicleHarshAccelerationSettingType readonly
- #id ⇒ String readonly
- #license_plate ⇒ String readonly
- #make ⇒ String readonly
- #model ⇒ String readonly
- #name ⇒ String readonly
- #notes ⇒ String readonly
- #sensor_configuration ⇒ Samsara::Types::VehicleSensorConfiguration readonly
- #serial ⇒ String readonly
- #static_assigned_driver ⇒ Samsara::Types::DriverTinyResponse readonly
- #tags ⇒ Samsara::Types::VEHICLE_TAGS readonly
- #vehicle_regulation_mode ⇒ Samsara::Types::VehicleRegulationMode readonly
- #vehicle_type ⇒ String readonly
- #vin ⇒ String readonly
- #year ⇒ String readonly
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(attributes: OMIT, aux_input_type_1: OMIT, aux_input_type_10: OMIT, aux_input_type_11: OMIT, aux_input_type_12: OMIT, aux_input_type_13: OMIT, aux_input_type_2: OMIT, aux_input_type_3: OMIT, aux_input_type_4: OMIT, aux_input_type_5: OMIT, aux_input_type_6: OMIT, aux_input_type_7: OMIT, aux_input_type_8: OMIT, aux_input_type_9: OMIT, camera_serial: OMIT, esn: OMIT, external_ids: OMIT, gateway: OMIT, gross_vehicle_weight: OMIT, harsh_acceleration_setting_type: OMIT, id:, license_plate: OMIT, make: OMIT, model: OMIT, name: OMIT, notes: OMIT, sensor_configuration: OMIT, serial: OMIT, static_assigned_driver: OMIT, tags: OMIT, vehicle_regulation_mode: OMIT, vehicle_type: OMIT, vin: OMIT, year: OMIT, additional_properties: nil) ⇒ Samsara::Types::Vehicle constructor
- #to_json ⇒ String
Constructor Details
#initialize(attributes: OMIT, aux_input_type_1: OMIT, aux_input_type_10: OMIT, aux_input_type_11: OMIT, aux_input_type_12: OMIT, aux_input_type_13: OMIT, aux_input_type_2: OMIT, aux_input_type_3: OMIT, aux_input_type_4: OMIT, aux_input_type_5: OMIT, aux_input_type_6: OMIT, aux_input_type_7: OMIT, aux_input_type_8: OMIT, aux_input_type_9: OMIT, camera_serial: OMIT, esn: OMIT, external_ids: OMIT, gateway: OMIT, gross_vehicle_weight: OMIT, harsh_acceleration_setting_type: OMIT, id:, license_plate: OMIT, make: OMIT, model: OMIT, name: OMIT, notes: OMIT, sensor_configuration: OMIT, serial: OMIT, static_assigned_driver: OMIT, tags: OMIT, vehicle_regulation_mode: OMIT, vehicle_type: OMIT, vin: OMIT, year: OMIT, additional_properties: nil) ⇒ Samsara::Types::Vehicle
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 |
# File 'lib/samsara_api/types/vehicle.rb', line 130 def initialize(attributes: OMIT, aux_input_type_1: OMIT, aux_input_type_10: OMIT, aux_input_type_11: OMIT, aux_input_type_12: OMIT, aux_input_type_13: OMIT, aux_input_type_2: OMIT, aux_input_type_3: OMIT, aux_input_type_4: OMIT, aux_input_type_5: OMIT, aux_input_type_6: OMIT, aux_input_type_7: OMIT, aux_input_type_8: OMIT, aux_input_type_9: OMIT, camera_serial: OMIT, esn: OMIT, external_ids: OMIT, gateway: OMIT, gross_vehicle_weight: OMIT, harsh_acceleration_setting_type: OMIT, id:, license_plate: OMIT, make: OMIT, model: OMIT, name: OMIT, notes: OMIT, sensor_configuration: OMIT, serial: OMIT, static_assigned_driver: OMIT, tags: OMIT, vehicle_regulation_mode: OMIT, vehicle_type: OMIT, vin: OMIT, year: OMIT, additional_properties: nil) @attributes = attributes if attributes != OMIT @aux_input_type_1 = aux_input_type_1 if aux_input_type_1 != OMIT @aux_input_type_10 = aux_input_type_10 if aux_input_type_10 != OMIT @aux_input_type_11 = aux_input_type_11 if aux_input_type_11 != OMIT @aux_input_type_12 = aux_input_type_12 if aux_input_type_12 != OMIT @aux_input_type_13 = aux_input_type_13 if aux_input_type_13 != OMIT @aux_input_type_2 = aux_input_type_2 if aux_input_type_2 != OMIT @aux_input_type_3 = aux_input_type_3 if aux_input_type_3 != OMIT @aux_input_type_4 = aux_input_type_4 if aux_input_type_4 != OMIT @aux_input_type_5 = aux_input_type_5 if aux_input_type_5 != OMIT @aux_input_type_6 = aux_input_type_6 if aux_input_type_6 != OMIT @aux_input_type_7 = aux_input_type_7 if aux_input_type_7 != OMIT @aux_input_type_8 = aux_input_type_8 if aux_input_type_8 != OMIT @aux_input_type_9 = aux_input_type_9 if aux_input_type_9 != OMIT @camera_serial = camera_serial if camera_serial != OMIT @esn = esn if esn != OMIT @external_ids = external_ids if external_ids != OMIT @gateway = gateway if gateway != OMIT @gross_vehicle_weight = gross_vehicle_weight if gross_vehicle_weight != OMIT @harsh_acceleration_setting_type = harsh_acceleration_setting_type if harsh_acceleration_setting_type != OMIT @id = id @license_plate = license_plate if license_plate != OMIT @make = make if make != OMIT @model = model if model != OMIT @name = name if name != OMIT @notes = notes if notes != OMIT @sensor_configuration = sensor_configuration if sensor_configuration != OMIT @serial = serial if serial != OMIT @static_assigned_driver = static_assigned_driver if static_assigned_driver != OMIT @tags = if != OMIT @vehicle_regulation_mode = vehicle_regulation_mode if vehicle_regulation_mode != OMIT @vehicle_type = vehicle_type if vehicle_type != OMIT @vin = vin if vin != OMIT @year = year if year != OMIT @additional_properties = additional_properties @_field_set = { "attributes": attributes, "auxInputType1": aux_input_type_1, "auxInputType10": aux_input_type_10, "auxInputType11": aux_input_type_11, "auxInputType12": aux_input_type_12, "auxInputType13": aux_input_type_13, "auxInputType2": aux_input_type_2, "auxInputType3": aux_input_type_3, "auxInputType4": aux_input_type_4, "auxInputType5": aux_input_type_5, "auxInputType6": aux_input_type_6, "auxInputType7": aux_input_type_7, "auxInputType8": aux_input_type_8, "auxInputType9": aux_input_type_9, "cameraSerial": camera_serial, "esn": esn, "externalIds": external_ids, "gateway": gateway, "grossVehicleWeight": gross_vehicle_weight, "harshAccelerationSettingType": harsh_acceleration_setting_type, "id": id, "licensePlate": license_plate, "make": make, "model": model, "name": name, "notes": notes, "sensorConfiguration": sensor_configuration, "serial": serial, "staticAssignedDriver": static_assigned_driver, "tags": , "vehicleRegulationMode": vehicle_regulation_mode, "vehicleType": vehicle_type, "vin": vin, "year": year }.reject do | _k, v | v == OMIT end end |
Instance Attribute Details
#additional_properties ⇒ OpenStruct (readonly)
Returns Additional properties unmapped to the current class definition.
87 88 89 |
# File 'lib/samsara_api/types/vehicle.rb', line 87 def additional_properties @additional_properties end |
#attributes ⇒ Array<Samsara::Types::AttributeTiny> (readonly)
Returns A minified attribute.
19 20 21 |
# File 'lib/samsara_api/types/vehicle.rb', line 19 def attributes @attributes end |
#aux_input_type_1 ⇒ String (readonly)
21 22 23 |
# File 'lib/samsara_api/types/vehicle.rb', line 21 def aux_input_type_1 @aux_input_type_1 end |
#aux_input_type_10 ⇒ String (readonly)
23 24 25 |
# File 'lib/samsara_api/types/vehicle.rb', line 23 def aux_input_type_10 @aux_input_type_10 end |
#aux_input_type_11 ⇒ String (readonly)
25 26 27 |
# File 'lib/samsara_api/types/vehicle.rb', line 25 def aux_input_type_11 @aux_input_type_11 end |
#aux_input_type_12 ⇒ String (readonly)
27 28 29 |
# File 'lib/samsara_api/types/vehicle.rb', line 27 def aux_input_type_12 @aux_input_type_12 end |
#aux_input_type_13 ⇒ String (readonly)
29 30 31 |
# File 'lib/samsara_api/types/vehicle.rb', line 29 def aux_input_type_13 @aux_input_type_13 end |
#aux_input_type_2 ⇒ String (readonly)
31 32 33 |
# File 'lib/samsara_api/types/vehicle.rb', line 31 def aux_input_type_2 @aux_input_type_2 end |
#aux_input_type_3 ⇒ String (readonly)
33 34 35 |
# File 'lib/samsara_api/types/vehicle.rb', line 33 def aux_input_type_3 @aux_input_type_3 end |
#aux_input_type_4 ⇒ String (readonly)
35 36 37 |
# File 'lib/samsara_api/types/vehicle.rb', line 35 def aux_input_type_4 @aux_input_type_4 end |
#aux_input_type_5 ⇒ String (readonly)
37 38 39 |
# File 'lib/samsara_api/types/vehicle.rb', line 37 def aux_input_type_5 @aux_input_type_5 end |
#aux_input_type_6 ⇒ String (readonly)
39 40 41 |
# File 'lib/samsara_api/types/vehicle.rb', line 39 def aux_input_type_6 @aux_input_type_6 end |
#aux_input_type_7 ⇒ String (readonly)
41 42 43 |
# File 'lib/samsara_api/types/vehicle.rb', line 41 def aux_input_type_7 @aux_input_type_7 end |
#aux_input_type_8 ⇒ String (readonly)
43 44 45 |
# File 'lib/samsara_api/types/vehicle.rb', line 43 def aux_input_type_8 @aux_input_type_8 end |
#aux_input_type_9 ⇒ String (readonly)
45 46 47 |
# File 'lib/samsara_api/types/vehicle.rb', line 45 def aux_input_type_9 @aux_input_type_9 end |
#camera_serial ⇒ String (readonly)
47 48 49 |
# File 'lib/samsara_api/types/vehicle.rb', line 47 def camera_serial @camera_serial end |
#esn ⇒ String (readonly)
49 50 51 |
# File 'lib/samsara_api/types/vehicle.rb', line 49 def esn @esn end |
#external_ids ⇒ Samsara::Types::VEHICLE_EXTERNAL_IDS (readonly)
51 52 53 |
# File 'lib/samsara_api/types/vehicle.rb', line 51 def external_ids @external_ids end |
#gateway ⇒ Samsara::Types::GatewayTiny (readonly)
53 54 55 |
# File 'lib/samsara_api/types/vehicle.rb', line 53 def gateway @gateway end |
#gross_vehicle_weight ⇒ Samsara::Types::GrossVehicleWeight (readonly)
55 56 57 |
# File 'lib/samsara_api/types/vehicle.rb', line 55 def gross_vehicle_weight @gross_vehicle_weight end |
#harsh_acceleration_setting_type ⇒ Samsara::Types::VehicleHarshAccelerationSettingType (readonly)
57 58 59 |
# File 'lib/samsara_api/types/vehicle.rb', line 57 def harsh_acceleration_setting_type @harsh_acceleration_setting_type end |
#id ⇒ String (readonly)
59 60 61 |
# File 'lib/samsara_api/types/vehicle.rb', line 59 def id @id end |
#license_plate ⇒ String (readonly)
61 62 63 |
# File 'lib/samsara_api/types/vehicle.rb', line 61 def license_plate @license_plate end |
#make ⇒ String (readonly)
63 64 65 |
# File 'lib/samsara_api/types/vehicle.rb', line 63 def make @make end |
#model ⇒ String (readonly)
65 66 67 |
# File 'lib/samsara_api/types/vehicle.rb', line 65 def model @model end |
#name ⇒ String (readonly)
67 68 69 |
# File 'lib/samsara_api/types/vehicle.rb', line 67 def name @name end |
#notes ⇒ String (readonly)
69 70 71 |
# File 'lib/samsara_api/types/vehicle.rb', line 69 def notes @notes end |
#sensor_configuration ⇒ Samsara::Types::VehicleSensorConfiguration (readonly)
71 72 73 |
# File 'lib/samsara_api/types/vehicle.rb', line 71 def sensor_configuration @sensor_configuration end |
#serial ⇒ String (readonly)
73 74 75 |
# File 'lib/samsara_api/types/vehicle.rb', line 73 def serial @serial end |
#static_assigned_driver ⇒ Samsara::Types::DriverTinyResponse (readonly)
75 76 77 |
# File 'lib/samsara_api/types/vehicle.rb', line 75 def static_assigned_driver @static_assigned_driver end |
#tags ⇒ Samsara::Types::VEHICLE_TAGS (readonly)
77 78 79 |
# File 'lib/samsara_api/types/vehicle.rb', line 77 def @tags end |
#vehicle_regulation_mode ⇒ Samsara::Types::VehicleRegulationMode (readonly)
79 80 81 |
# File 'lib/samsara_api/types/vehicle.rb', line 79 def vehicle_regulation_mode @vehicle_regulation_mode end |
#vehicle_type ⇒ String (readonly)
81 82 83 |
# File 'lib/samsara_api/types/vehicle.rb', line 81 def vehicle_type @vehicle_type end |
#vin ⇒ String (readonly)
83 84 85 |
# File 'lib/samsara_api/types/vehicle.rb', line 83 def vin @vin end |
#year ⇒ String (readonly)
85 86 87 |
# File 'lib/samsara_api/types/vehicle.rb', line 85 def year @year end |
Class Method Details
.from_json(json_object:) ⇒ Samsara::Types::Vehicle
174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 |
# File 'lib/samsara_api/types/vehicle.rb', line 174 def self.from_json(json_object:) struct = JSON.parse(json_object, object_class: OpenStruct) parsed_json = JSON.parse(json_object) attributes = parsed_json["attributes"]&.map do | item | item = item.to_json Samsara::Types::AttributeTiny.from_json(json_object: item) end aux_input_type_1 = parsed_json["auxInputType1"] aux_input_type_10 = parsed_json["auxInputType10"] aux_input_type_11 = parsed_json["auxInputType11"] aux_input_type_12 = parsed_json["auxInputType12"] aux_input_type_13 = parsed_json["auxInputType13"] aux_input_type_2 = parsed_json["auxInputType2"] aux_input_type_3 = parsed_json["auxInputType3"] aux_input_type_4 = parsed_json["auxInputType4"] aux_input_type_5 = parsed_json["auxInputType5"] aux_input_type_6 = parsed_json["auxInputType6"] aux_input_type_7 = parsed_json["auxInputType7"] aux_input_type_8 = parsed_json["auxInputType8"] aux_input_type_9 = parsed_json["auxInputType9"] camera_serial = parsed_json["cameraSerial"] esn = parsed_json["esn"] external_ids = parsed_json["externalIds"] unless parsed_json["gateway"].nil? gateway = parsed_json["gateway"].to_json gateway = Samsara::Types::GatewayTiny.from_json(json_object: gateway) else gateway = nil end unless parsed_json["grossVehicleWeight"].nil? gross_vehicle_weight = parsed_json["grossVehicleWeight"].to_json gross_vehicle_weight = Samsara::Types::GrossVehicleWeight.from_json(json_object: gross_vehicle_weight) else gross_vehicle_weight = nil end harsh_acceleration_setting_type = parsed_json["harshAccelerationSettingType"] id = parsed_json["id"] license_plate = parsed_json["licensePlate"] make = parsed_json["make"] model = parsed_json["model"] name = parsed_json["name"] notes = parsed_json["notes"] unless parsed_json["sensorConfiguration"].nil? sensor_configuration = parsed_json["sensorConfiguration"].to_json sensor_configuration = Samsara::Types::VehicleSensorConfiguration.from_json(json_object: sensor_configuration) else sensor_configuration = nil end serial = parsed_json["serial"] unless parsed_json["staticAssignedDriver"].nil? static_assigned_driver = parsed_json["staticAssignedDriver"].to_json static_assigned_driver = Samsara::Types::DriverTinyResponse.from_json(json_object: static_assigned_driver) else static_assigned_driver = nil end = parsed_json["tags"]&.map do | item | item = item.to_json Samsara::Types::TagTinyResponse.from_json(json_object: item) end vehicle_regulation_mode = parsed_json["vehicleRegulationMode"] vehicle_type = parsed_json["vehicleType"] vin = parsed_json["vin"] year = parsed_json["year"] new( attributes: attributes, aux_input_type_1: aux_input_type_1, aux_input_type_10: aux_input_type_10, aux_input_type_11: aux_input_type_11, aux_input_type_12: aux_input_type_12, aux_input_type_13: aux_input_type_13, aux_input_type_2: aux_input_type_2, aux_input_type_3: aux_input_type_3, aux_input_type_4: aux_input_type_4, aux_input_type_5: aux_input_type_5, aux_input_type_6: aux_input_type_6, aux_input_type_7: aux_input_type_7, aux_input_type_8: aux_input_type_8, aux_input_type_9: aux_input_type_9, camera_serial: camera_serial, esn: esn, external_ids: external_ids, gateway: gateway, gross_vehicle_weight: gross_vehicle_weight, harsh_acceleration_setting_type: harsh_acceleration_setting_type, id: id, license_plate: license_plate, make: make, model: model, name: name, notes: notes, sensor_configuration: sensor_configuration, serial: serial, static_assigned_driver: static_assigned_driver, tags: , vehicle_regulation_mode: vehicle_regulation_mode, vehicle_type: vehicle_type, vin: vin, year: year, additional_properties: struct ) end |
.validate_raw(obj:) ⇒ Void
287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 |
# File 'lib/samsara_api/types/vehicle.rb', line 287 def self.validate_raw(obj:) obj.attributes&.is_a?(Array) != false || raise("Passed value for field obj.attributes is not the expected type, validation failed.") obj.aux_input_type_1&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_1 is not the expected type, validation failed.") obj.aux_input_type_10&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_10 is not the expected type, validation failed.") obj.aux_input_type_11&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_11 is not the expected type, validation failed.") obj.aux_input_type_12&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_12 is not the expected type, validation failed.") obj.aux_input_type_13&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_13 is not the expected type, validation failed.") obj.aux_input_type_2&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_2 is not the expected type, validation failed.") obj.aux_input_type_3&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_3 is not the expected type, validation failed.") obj.aux_input_type_4&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_4 is not the expected type, validation failed.") obj.aux_input_type_5&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_5 is not the expected type, validation failed.") obj.aux_input_type_6&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_6 is not the expected type, validation failed.") obj.aux_input_type_7&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_7 is not the expected type, validation failed.") obj.aux_input_type_8&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_8 is not the expected type, validation failed.") obj.aux_input_type_9&.is_a?(String) != false || raise("Passed value for field obj.aux_input_type_9 is not the expected type, validation failed.") obj.camera_serial&.is_a?(String) != false || raise("Passed value for field obj.camera_serial is not the expected type, validation failed.") obj.esn&.is_a?(String) != false || raise("Passed value for field obj.esn is not the expected type, validation failed.") obj.external_ids&.is_a?(Hash) != false || raise("Passed value for field obj.external_ids is not the expected type, validation failed.") obj.gateway.nil? || Samsara::Types::GatewayTiny.validate_raw(obj: obj.gateway) obj.gross_vehicle_weight.nil? || Samsara::Types::GrossVehicleWeight.validate_raw(obj: obj.gross_vehicle_weight) obj.harsh_acceleration_setting_type&.is_a?(Samsara::Types::VehicleHarshAccelerationSettingType) != false || raise("Passed value for field obj.harsh_acceleration_setting_type is not the expected type, validation failed.") obj.id.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.") obj.license_plate&.is_a?(String) != false || raise("Passed value for field obj.license_plate is not the expected type, validation failed.") obj.make&.is_a?(String) != false || raise("Passed value for field obj.make is not the expected type, validation failed.") obj.model&.is_a?(String) != false || raise("Passed value for field obj.model is not the expected type, validation failed.") obj.name&.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.") obj.notes&.is_a?(String) != false || raise("Passed value for field obj.notes is not the expected type, validation failed.") obj.sensor_configuration.nil? || Samsara::Types::VehicleSensorConfiguration.validate_raw(obj: obj.sensor_configuration) obj.serial&.is_a?(String) != false || raise("Passed value for field obj.serial is not the expected type, validation failed.") obj.static_assigned_driver.nil? || Samsara::Types::DriverTinyResponse.validate_raw(obj: obj.static_assigned_driver) obj.&.is_a?(Array) != false || raise("Passed value for field obj.tags is not the expected type, validation failed.") obj.vehicle_regulation_mode&.is_a?(Samsara::Types::VehicleRegulationMode) != false || raise("Passed value for field obj.vehicle_regulation_mode is not the expected type, validation failed.") obj.vehicle_type&.is_a?(String) != false || raise("Passed value for field obj.vehicle_type is not the expected type, validation failed.") obj.vin&.is_a?(String) != false || raise("Passed value for field obj.vin is not the expected type, validation failed.") obj.year&.is_a?(String) != false || raise("Passed value for field obj.year is not the expected type, validation failed.") end |
Instance Method Details
#to_json ⇒ String
278 279 280 |
# File 'lib/samsara_api/types/vehicle.rb', line 278 def to_json @_field_set&.to_json end |