def _model_for_CLASS(self, name, definition):
        """
        Model a Swagger definition that is like a Python class.

        :param unicode name: The name of the definition from the
            specification.

        :param pyrsistent.PMap definition: A Swagger definition to categorize.
            This will be a value like the one found at
            ``spec["definitions"][name]``.
        """
        return _ClassModel.from_swagger(
            self.pclass_for_definition,
            name,
            definition,
        )