Bases: object
An unique address that identifies a device on the internet or a local network in IPv4 or IPv6 format.
- Parameters:
-
-
has_ipv4()[source]
Returns true if ipv4 has non-none value
-
has_ipv6()[source]
Returns true if ipv6 has non-none value
-
property ipv4
- Type:
IPv4Address
-
property ipv6
- Type:
IPv6Address
-
is_valid()[source]
Returns true if any one of the attributes has non-none value
-
to_dict()[source]
Returns the model properties as a dictionary
-
to_str()[source]
Returns the string representation of the model