def to_dict(self, by_alias: bool = False):
        """Returns the dictionary representation of the model"""
        _dict = self.dict(by_alias=by_alias,
                          exclude={
                          },
                          exclude_none=True)
        # override the default output from pydantic by calling `to_dict()` of each value in lightly_numeric (dict)
        _field_dict = {}
        if self.lightly_numeric:
            for _key in self.lightly_numeric:
                if self.lightly_numeric[_key]:
                    _field_dict[_key] = self.lightly_numeric[_key].to_dict(by_alias=by_alias)
            _dict['lightlyNumeric' if by_alias else 'lightly_numeric'] = _field_dict
        # override the default output from pydantic by calling `to_dict()` of each value in custom_numeric (dict)
        _field_dict = {}
        if self.custom_numeric:
            for _key in self.custom_numeric:
                if self.custom_numeric[_key]:
                    _field_dict[_key] = self.custom_numeric[_key].to_dict(by_alias=by_alias)
            _dict['customNumeric' if by_alias else 'custom_numeric'] = _field_dict
        # override the default output from pydantic by calling `to_dict()` of each value in custom_categorical (dict)
        _field_dict = {}
        if self.custom_categorical:
            for _key in self.custom_categorical:
                if self.custom_categorical[_key]:
                    _field_dict[_key] = self.custom_categorical[_key].to_dict(by_alias=by_alias)
            _dict['customCategorical' if by_alias else 'custom_categorical'] = _field_dict
        return _dict
Returns the dictionary representation of the model
lightly/openapi_generated/swagger_client/models/metadata_information.py