models.cluster_networking_resource_information module

class models.cluster_networking_resource_information.ClusterNetworkingResourceInformation(endpoints=None, mtype=None)[source]

Bases: object

Implementation of the ‘ClusterNetworkingResourceInformation’ model.

Specifies a resource with IP address.

Attributes:
endpoints (list of ClusterNetworkingEndpoint): The endpoints by which

the resource is accessible.

mtype (string): The type of the resource.

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.