Class AdminAnalyticsGetFileResponse
java.lang.Object
com.slack.api.methods.response.admin.analytics.AdminAnalyticsGetFileResponse
- All Implemented Interfaces:
SlackApiBinaryResponse
,SlackApiResponse
public class AdminAnalyticsGetFileResponse extends Object implements SlackApiBinaryResponse
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AdminAnalyticsGetFileResponse.AnalyticsData
Parsed Analytics Datastatic class
AdminAnalyticsGetFileResponse.Organization
static class
AdminAnalyticsGetFileResponse.OriginatingTeam
static class
AdminAnalyticsGetFileResponse.SharedWith
-
Constructor Summary
Constructors Constructor Description AdminAnalyticsGetFileResponse()
-
Method Summary
Modifier and Type Method Description byte[]
asBytes()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
void
forEach(com.google.gson.Gson gson, Consumer<AdminAnalyticsGetFileResponse.AnalyticsData> handler)
void
forEach(Consumer<AdminAnalyticsGetFileResponse.AnalyticsData> handler)
String
getError()
InputStream
getFileStream()
This method is almost completely unlike other Web API methods you encounter.ResponseMetadata
getResponseMetadata()
int
hashCode()
boolean
isOk()
void
setError(String error)
void
setFileStream(InputStream fileStream)
This method is almost completely unlike other Web API methods you encounter.void
setOk(boolean ok)
void
setResponseMetadata(ResponseMetadata responseMetadata)
String
toString()
-
Constructor Details
-
AdminAnalyticsGetFileResponse
public AdminAnalyticsGetFileResponse()
-
-
Method Details
-
asBytes
- Specified by:
asBytes
in interfaceSlackApiBinaryResponse
- Throws:
IOException
-
forEach
public void forEach(Consumer<AdminAnalyticsGetFileResponse.AnalyticsData> handler) throws IOException- Throws:
IOException
-
forEach
public void forEach(com.google.gson.Gson gson, Consumer<AdminAnalyticsGetFileResponse.AnalyticsData> handler) throws IOException- Throws:
IOException
-
isOk
public boolean isOk() -
getError
-
getResponseMetadata
-
getFileStream
This method is almost completely unlike other Web API methods you encounter. It doesn't return application/json with the traditional "ok": true response on success, though you'll find "ok": false on failure.Instead, it returns a single file, often very large, containing JSON objects that are separated by newlines and then compressed with application/gzip.
-
setOk
public void setOk(boolean ok) -
setError
-
setResponseMetadata
-
setFileStream
This method is almost completely unlike other Web API methods you encounter. It doesn't return application/json with the traditional "ok": true response on success, though you'll find "ok": false on failure.Instead, it returns a single file, often very large, containing JSON objects that are separated by newlines and then compressed with application/gzip.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-