to_dictModelType.to_dict() Serialize the model to a dictionary. Returns dict – Dictionary representation of the model.