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

com.slack.api.methods.response.files.FilesInfoResponse Maven / Gradle / Ivy

There is a newer version: 1.39.0
Show newest version
package com.slack.api.methods.response.files;

import com.google.gson.annotations.SerializedName;
import com.slack.api.methods.SlackApiTextResponse;
import com.slack.api.model.File;
import com.slack.api.model.FileComment;
import com.slack.api.model.Paging;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class FilesInfoResponse implements SlackApiTextResponse {

    private boolean ok;
    private String warning;
    private String error;
    private String needed;
    private String provided;
    private transient Map> httpResponseHeaders;

    private File file;
    private String content;
    private String contentHighlightHtml;
    private String contentHighlightCss;
    @SerializedName("is_truncated")
    private boolean truncated;

    // https://api.slack.com/changelog/2018-05-file-threads-soon-tread
    @Deprecated
    private List comments;
    @Deprecated
    private Paging paging;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy