7bb5cf1e创建于 2018年8月15日历史提交
# coding: utf-8

"""
    KubeVirt API

    This is KubeVirt API an add-on for Kubernetes.

    OpenAPI spec version: 1.0.0
    Contact: kubevirt-dev@googlegroups.com
    Generated by: https://github.com/swagger-api/swagger-codegen.git
"""


from pprint import pformat
from six import iteritems
import re


class V1InterfaceBridge(object):
    """
    NOTE: This class is hard coded until swagger-codegen fix the empty struct problem
    """

    swagger_types = {}

    attribute_map = {}

    def __init__(self, ports=None):
        """
        V1InterfaceBridge - a model defined in Swagger
        """
        pass

    def to_dict(self):
        """
        Returns the model properties as a dict
        """
        result = {}

        return result

    def to_str(self):
        """
        Returns the string representation of the model
        """
        return pformat(self.to_dict())

    def __repr__(self):
        """
        For `print` and `pprint`
        """
        return self.to_str()

    def __eq__(self, other):
        """
        Returns true if both objects are equal
        """
        if not isinstance(other, V1InterfaceBridge):
            return False

        return self.__dict__ == other.__dict__

    def __ne__(self, other):
        """
        Returns true if both objects are not equal
        """
        return not self == other