models_v2.subnet_info module¶
-
class
models_v2.subnet_info.
SubnetInfo
(subnet_ip=None, netmask_bits=None, gateway=None)[source]¶ Bases:
object
Implementation of the ‘SubnetInfo’ model.
Subnet information.
- Attributes:
subnet_ip (string): Subnet IP. netmask_bits (int): Subnet netmask bits. gateway (string): Gateway.
-
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.