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 input
        if self.input:
            _dict['input' if by_alias else 'input'] = self.input.to_dict(by_alias=by_alias)
        # override the default output from pydantic by calling `to_dict()` of selected
        if self.selected:
            _dict['selected' if by_alias else 'selected'] = self.selected.to_dict(by_alias=by_alias)
        # override the default output from pydantic by calling `to_dict()` of random
        if self.random:
            _dict['random' if by_alias else 'random'] = self.random.to_dict(by_alias=by_alias)
        # override the default output from pydantic by calling `to_dict()` of preselected_datapool
        if self.preselected_datapool:
            _dict['preselectedDatapool' if by_alias else 'preselected_datapool'] = self.preselected_datapool.to_dict(by_alias=by_alias)
        # override the default output from pydantic by calling `to_dict()` of selected_with_datapool
        if self.selected_with_datapool:
            _dict['selectedWithDatapool' if by_alias else 'selected_with_datapool'] = self.selected_with_datapool.to_dict(by_alias=by_alias)
        return _dict
Returns the dictionary representation of the model
lightly/openapi_generated/swagger_client/models/numeric_distribution_per_set.py