# Generic Types

Interface Index (Compact) | Summary | Types

### Generic Types

Unix_Timestamp | Simple Type | u |
Unix_Timestamp64 | Simple Type | x |
DBus_Bus_Name | Simple Type | s |
DBus_Well_Known_Name | Simple Type | s |
DBus_Unique_Name | Simple Type | s |
DBus_Interface | Simple Type | s |
DBus_Error_Name | Simple Type | s |
DBus_Signature | Simple Type | s |
DBus_Member | Simple Type | s |
DBus_Qualified_Member | Simple Type | s |
Qualified_Property_Value_Map | Mapping | a{sv} |
String_Variant_Map | Mapping | a{sv} |
String_String_Map | Mapping | a{ss} |
Socket_Address_IP | Struct | (sq) |
Socket_Address_IPv4 | Struct | (sq) |
Socket_Address_IPv6 | Struct | (sq) |
Socket_Netmask_IPv4 | Struct | (sy) |
Socket_Netmask_IPv6 | Struct | (sy) |

# Generic Types

Simple Type (Permalink)

## Unix_Timestamp — u

An unsigned 32-bit integer representing time as the number of seconds elapsed since the Unix epoch (1970-01-01T00:00:00Z)
Simple Type (Permalink)

## Unix_Timestamp64 — x

An signed 64-bit integer representing time as the number of seconds elapsed since the Unix epoch (1970-01-01T00:00:00Z); negative for times before the epoch
Simple Type (Permalink)

## DBus_Bus_Name — s

A string representing a D-Bus bus name - either a well-known name like "org.freedesktop.Telepathy.MissionControl" or a unique name like ":1.123"
Simple Type (Permalink)

## DBus_Well_Known_Name — s

A string representing a D-Bus well-known name like "org.freedesktop.Telepathy.MissionControl".
Simple Type (Permalink)

## DBus_Unique_Name — s

A string representing a D-Bus unique name, such as ":1.123"
Simple Type (Permalink)

## DBus_Interface — s

An ASCII string representing a D-Bus interface - two or more elements separated by dots, where each element is a non-empty string of ASCII letters, digits and underscores, not starting with a digit. The maximum total length is 255 characters. For example, "org.freedesktop.DBus.Peer".
Simple Type (Permalink)

## DBus_Error_Name — s

An ASCII string representing a D-Bus error. This is syntactically the same as a DBus_Interface, but the meaning is different.
Simple Type (Permalink)

## DBus_Signature — s

A string representing a D-Bus signature (the 'g' type isn't used because of poor interoperability, particularly with dbus-glib)
Simple Type (Permalink)

## DBus_Member — s

An ASCII string representing a D-Bus method, signal or property name - a non-empty string of ASCII letters, digits and underscores, not starting with a digit, with a maximum length of 255 characters. For example, "Ping".
Simple Type (Permalink)

## DBus_Qualified_Member — s

A string representing the full name of a D-Bus method, signal or property, consisting of a DBus_Interface, followed by a dot, followed by a DBus_Member. For example, "org.freedesktop.DBus.Peer.Ping".
Mapping (Permalink)

## Qualified_Property_Value_Map — a{sv}

A mapping from strings representing D-Bus properties (by their namespaced names) to their values.

- Key — s (DBus_Qualified_Member)
A D-Bus interface name, followed by a dot and a D-Bus property name.
- Value — v
The value of the property.

Mapping (Permalink)

## String_Variant_Map — a{sv}

A mapping from strings to variants representing extra key-value pairs.

- Key — s
- Value — v

Mapping (Permalink)

## String_String_Map — a{ss}

A mapping from strings to strings representing extra key-value pairs.

- Key — s
- Value — s

Struct (Permalink)

## Socket_Address_IP — (sq)

An IP address and port.

- Address — s
Either a dotted-quad IPv4 address literal as for Socket_Address_IPv4, or an RFC2373 IPv6 address as for Socket_Address_IPv6.
- Port — q
The TCP or UDP port number.

Struct (Permalink)

## Socket_Address_IPv4 — (sq)

An IPv4 address and port.

- Address — s
A dotted-quad IPv4 address literal: four ASCII decimal numbers, each between 0 and 255 inclusive, e.g. "192.168.0.1".
- Port — q
The TCP or UDP port number.

Struct (Permalink)

## Socket_Address_IPv6 — (sq)

An IPv6 address and port.

- Address — s
An IPv6 address literal as specified by RFC2373 section 2.2, e.g. "2001:DB8::8:800:200C:4171".
- Port — q
The TCP or UDP port number.

Struct (Permalink)

## Socket_Netmask_IPv4 — (sy)

An IPv4 network or subnet.

- Address — s
A dotted-quad IPv4 address literal: four ASCII decimal numbers, each between 0 and 255 inclusive, e.g. "192.168.0.1".
- Prefix_Length — y
The number of leading bits of the address that must match, for this netmask to be considered to match an address.

Struct (Permalink)

## Socket_Netmask_IPv6 — (sy)

An IPv6 network or subnet.

- Address — s
An IPv6 address literal as specified by RFC2373 section 2.2, e.g. "2001:DB8::8:800:200C:4171".
- Prefix_Length — y
The number of leading bits of the address that must match, for this netmask to be considered to match an address.