ECS::LogEntry::UserAgent
Inherits JSON::Serializable < Struct < Value < Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
device
Sourcedevice=(device : Device | Nil)
Sourcename=(name : String | Nil)
user_agent.name
Name of the user agent.
Level: Extended Type: Keyword Example:
Safari
original
user_agent.original
Unparsed user_agent string.
Level: Extended Type: Keyword Example:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1
original=(original : String | Nil)
user_agent.original
Unparsed user_agent string.
Level: Extended Type: Keyword Example:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1
os
Sourceos=(os : Os | Nil)
Sourceversion
user_agent.version
Version of the user agent.
Level: Extended Type: Keyword Example:
12.0
version=(version : String | Nil)
user_agent.version
Version of the user agent.
Level: Extended Type: Keyword Example:
12.0