models_v2.connection_subnet module¶
-
class
models_v2.connection_subnet.
ConnectionSubnet
(ip=None, mask_bits=None)[source]¶ Bases:
object
Implementation of the ‘Connection Subnet.’ model.
Specify the subnet used in connection.
- Attributes:
ip (string): Specifies the IP address part of the CIDR notation. mask_bits (int): Specifies the number of set bits in the subnet mask.
-
classmethod
from_dictionary
(dictionary)[source]¶ Creates an instance of this model from a dictionary
- Args:
dictionary (dictionary): A dictionary representation of the object as obtained from the deserialization of the server’s response. The keys MUST match property names in the API description.
- Returns:
object: An instance of this structure class.