package io.delphiplatform.api.config;

import org.springframework.core.convert.converter.Converter;

import javax.annotation.Nullable;

import io.delphiplatform.api.v3.model.TrackStateIncludes;

public class TrackStateIncludesEnumConverter implements Converter<String, TrackStateIncludes> {

    @Override
    public TrackStateIncludes convert(@Nullable String source) {
        return TrackStateIncludes.fromValue(source);
    }
}
