com.slack.api.methods.response.files.FilesUploadV2Response Maven / Gradle / Ivy
package com.slack.api.methods.response.files;
import com.slack.api.methods.SlackApiTextResponse;
import com.slack.api.model.File;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@Data
public class FilesUploadV2Response 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 List files;
private final List getURLResponses = new ArrayList<>();
private final Map uploadResponses = new HashMap<>();
private FilesCompleteUploadExternalResponse completeResponse;
private final List fileInfoResponses = new ArrayList<>();
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public static class UploadResponse {
private int code;
private String body;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy