All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.twitch4j.kraken.domain.KrakenClip Maven / Gradle / Ivy

There is a newer version: 1.22.0
Show newest version
package com.github.twitch4j.kraken.domain;

import lombok.AccessLevel;
import lombok.Data;
import lombok.Setter;

import java.time.Instant;

/**
 * @deprecated Kraken is deprecated and has been shut down on Febuary 28, 2022.
 *             More details about the deprecation are available here.
 */
@Data
@Deprecated
@Setter(AccessLevel.PRIVATE)
public class KrakenClip {
    private String slug;
    private String trackingId;
    private String url;
    private String embedUrl;
    private String embedHtml;
    private SimpleUser broadcaster;
    private SimpleUser curator;
    private VideoOnDemand vod;
    private String game;
    private String language;
    private String title;
    private Long views;
    private Double duration;
    private Instant createdAt;
    private Thumbnail thumbnails;

    @Data
    @Setter(AccessLevel.PRIVATE)
    public static class SimpleUser {
        private String id;
        private String name;
        private String displayName;
        private String channelUrl;
        private String logo;
    }

    @Data
    @Setter(AccessLevel.PRIVATE)
    public static class VideoOnDemand {
        private String id;
        private String url;
    }

    @Data
    @Setter(AccessLevel.PRIVATE)
    public static class Thumbnail {
        private String medium;
        private String small;
        private String tiny;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy