class SafetyNotification

August 13, 2019 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
safety_handleSafetyHandleSafety handleTo set safety_handle, you simply assign a value directly to a field within safety_handle. You can also use the parent message's HasField() method to check if a message type field value has been set.
valueintNew safety statusYou can manipulate the field value as if it were a regular field. To clear the value of value and reset it to the default value for its type, you call the ClearField() method of the Message interface.
timestampTimestampEvent timestampTo set timestamp, you simply assign a value directly to a field within timestamp. You can also use the parent message's HasField() method to check if a message type field value has been set.
user_handleUserProfileHandleUser that caused the safety eventTo set user_handle, you simply assign a value directly to a field within user_handle. You can also use the parent message's HasField() method to check if a message type field value has been set.
connectionConnectionConnection that caused the safety eventTo set connection, you simply assign a value directly to a field within connection. You can also use the parent message's HasField() method to check if a message type field value has been set.

Parent topic: Common (Python)