package com.github.twitch4j.helix.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
import java.util.Map;
import lombok.AccessLevel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

/**
 * Model representing the response for Create Stream Marker.
 */
@Data
@Setter(AccessLevel.PRIVATE)
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
@ToString
public class StreamMarker {
    
    private String createdAt, description, id;
    private Long positionSeconds;
    
    @JsonProperty("data")
    private void unpack(List<Map<String, String>> data) {
        if(!data.isEmpty()) {
            Map<String, String> marker = data.get(0);
            createdAt = marker.get("created_at");
            description = marker.get("description");
            id = marker.get("id");
            positionSeconds = Long.parseLong(marker.get("position_seconds"));
        }
    }
    
}

@@ -302,32 +302,8 @@
 ter;
-%0Aimport lombok.ToString;
 %0A%0A/*
@@ -471,18 +471,8 @@
 ue)%0A
-@ToString%0A
 publ

Remove redundant annotation