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

dev.mayuna.cobalt.api.objects.Picker Maven / Gradle / Ivy

package dev.mayuna.cobalt.api.objects;

import lombok.Getter;

/**
 * Represents the picker item.
* Field type is used only if the pickerType (in {@link DownloadResult}) is various.
* Field thumb is used only if the type (in this class) is video. */ @SuppressWarnings("LombokGetterMayBeUsed") @Getter public final class Picker { private String type; private String url; private String thumb; /** * Direct link to a file or a link to cobalt's live render * * @return The URL */ public String getUrl() { return url; } /** * Item thumbnail that's displayed in the picker (only for video type) * * @return The thumbnail URL */ public String getThumb() { return thumb; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy