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

com.smartling.api.sdk.file.response.FileList Maven / Gradle / Ivy

There is a newer version: 4.0.25
Show newest version
package com.smartling.api.sdk.file.response;

import com.smartling.api.sdk.dto.SmartlingData;
import com.smartling.web.api.v2.ResponseData;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

public class FileList implements SmartlingData, ResponseData
{
    private int              totalCount;
    private List items;

    /**
     * Gets the number of files that match the query.
     *
     * @return fileCount that matches the query.
     */
    public int getTotalCount()
    {
        return totalCount;
    }

    /**
     * Get the listing of files that match the query.
     *
     * @return {@link java.util.List} of items.
     */
    public List getItems()
    {
        return items;
    }

    @Override
    public String toString()
    {
        return new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).append("totalCount", getTotalCount()).append("items", getItems()).toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy