/**
 * Copyright (c) 2010-2020 Contributors to the openHAB project
 *
 * See the NOTICE file(s) distributed with this work for additional
 * information.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package org.openhab.binding.amazonechocontrol.internal.jsons;

import java.util.Map;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;

/**
 * The {@link JsonPlayerState} encapsulate the GSON data of playlist query
 *
 * @author Michael Geramb - Initial contribution
 */
@NonNullByDefault
public class JsonPlaylists {

    public @Nullable Map<String, @Nullable PlayList @Nullable []> playlists;

    public static class PlayList {
        public @Nullable String playlistId;
        public @Nullable String title;
        public int trackCount;
        public int version;
    }
}

/**
 * Copyright (c) 2010-2020 Contributors to the openHAB project
 *
 * See the NOTICE file(s) distributed with this work for additional
 * information.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License 2.0 which is available at
 * http://www.eclipse.org/legal/epl-2.0
 *
 * SPDX-License-Identifier: EPL-2.0
 */
package org.openhab.binding.amazonechocontrol.internal.jsons;

import java.util.Map;

import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;

/**
 * The {@link JsonPlayerState} encapsulate the GSON data of playlist query
 *
 * @author Michael Geramb - Initial contribution
 */
@NonNullByDefault
public class JsonPlaylists {

    public @Nullable Map<String, @Nullable PlayList @Nullable []> playlists;

    public static class PlayList {
        public @Nullable String playlistId;
        public @Nullable String title;
        public int trackCount;
    }
}

Remove unused version which no longer parses due to type change (#8515)