Example #1
0
    def from_dict(cls, dikt) -> 'MonitoringEntry':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The MonitoringEntry of this MonitoringEntry.  # noqa: E501
        :rtype: MonitoringEntry
        """
        return util.deserialize_model(dikt, cls)
Example #2
0
    def from_dict(cls, dikt) -> 'VNFFlavor':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The VNFFlavor of this VNFFlavor.  # noqa: E501
        :rtype: VNFFlavor
        """
        return util.deserialize_model(dikt, cls)
Example #3
0
    def from_dict(cls, dikt) -> 'Node':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Node of this Node.  # noqa: E501
        :rtype: Node
        """
        return util.deserialize_model(dikt, cls)
Example #4
0
    def from_dict(cls, dikt) -> 'Topology':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Topology of this Topology.  # noqa: E501
        :rtype: Topology
        """
        return util.deserialize_model(dikt, cls)
Example #5
0
    def from_dict(cls, dikt) -> 'Link':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The Link of this Link.  # noqa: E501
        :rtype: Link
        """
        return util.deserialize_model(dikt, cls)
Example #6
0
    def from_dict(cls, dikt) -> 'NetworkPort':
        """Returns the dict as a model

        :param dikt: A dict.
        :type: dict
        :return: The NetworkPort of this NetworkPort.  # noqa: E501
        :rtype: NetworkPort
        """
        return util.deserialize_model(dikt, cls)
Example #7
0
 def from_dict(cls: typing.Type[T], dikt) -> T:
     """Returns the dict as a model"""
     return util.deserialize_model(dikt, cls)