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

twitter4jads.models.ads.sort.PromotedTweetsSortByField Maven / Gradle / Ivy

The newest version!
package twitter4jads.models.ads.sort;

/**
 * User: abhay
 * Date: 5/2/16
 * Time: 2:44 PM
 */
public enum PromotedTweetsSortByField implements SortBy {
    // Ascending
    CREATED_AT_ASC("created_at-asc"),
    UPDATED_AT_ASC("updated_at-asc"),
    DELETED_ASC("deleted-asc"),
    PAUSED_ASC("paused-asc"),

    // Descending
    CREATED_AT_DESC("created_at-desc"),
    UPDATED_AT_DESC("updated_at-desc"),
    DELETED_DESC("deleted-desc"),
    PAUSED_DESC("paused-desc");

    private final String field;

    PromotedTweetsSortByField(String field) {
        this.field = field;
    }

    @Override
    public String getField() {
        return field;
    }
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy