IPv6Address#

class IPv6Address(value=None, prefix_length=128, *args, **kwargs)[source]#

Bases: object

Parameters:
  • value – (value)

  • prefix_length – (prefix_length) The prefix length of the network to which this host IPv6 address belongs. (Default 128)

property prefix_length#

The prefix length of the network to which this host IPv6 address belongs.

Type:

int

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model

property value#
Type:

str