Untitled

mail@pastecode.io avatar
unknown
python
a year ago
436 B
2
Indexable
Never

class K8sRouteTable:

    def __init__(self, environment, state: K8sRouteTableStatus):
        self.__environment = environment
        self.__state = state

    def state(self):
        return self.__state

    def environment(self):
        return self.__environment

    def __repr__(self):
        return self.__str__()

    def __str__(self):
        return "Environment: {0}\tState: {1}".format(self.__environment, self.__state)