def __init__(self, model=None):
        super(ContainerStatus, self).__init__()

        self._name = None
        self._state = None
        self._last_state = None
        self._ready = None
        self._restart_count = None
        self._image = None
        self._image_id = None
        self._container_id = None

        if model is not None:
            m = filter_model(model)
            self._build_with_model(m)