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

com.vk.api.sdk.objects.video.GetCommentsSort Maven / Gradle / Ivy

Go to download

Java library for VK API interaction, includes OAuth 2.0 authorization and API methods.

The newest version!
// Autogenerated from vk-api-schema. Please don't edit it manually.
package com.vk.api.sdk.objects.video;

import com.google.gson.annotations.SerializedName;
import com.vk.api.sdk.queries.EnumParam;

/**
 * Sort order: 'asc' - oldest comment first, 'desc' - newest comment first
 */
public enum GetCommentsSort implements EnumParam {
    @SerializedName("asc")
    OLDEST_COMMENT_FIRST("asc"),

    @SerializedName("desc")
    NEWEST_COMMENT_FIRST("desc"),

    @SerializedName("interest")
    MOST_INTERESTING_COMMENTS_FIRST("interest");

    private final String value;

    GetCommentsSort(String value) {
        this.value = value;
    }

    public String getValue() {
        return value;
    }

    @Override
    public String toString() {
        return value.toLowerCase();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy