Class AdminAnalyticsGetFileRequest
java.lang.Object
com.slack.api.methods.request.admin.analytics.AdminAnalyticsGetFileRequest
- All Implemented Interfaces:
SlackApiRequest
public class AdminAnalyticsGetFileRequest extends java.lang.Object implements SlackApiRequest
https://api.slack.com/methods/admin.analytics.getFile
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdminAnalyticsGetFileRequest.AdminAnalyticsGetFileRequestBuilder -
Method Summary
Modifier and Type Method Description static AdminAnalyticsGetFileRequest.AdminAnalyticsGetFileRequestBuilderbuilder()protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)java.lang.StringgetDate()Date to retrieve the analytics data for, expressed as YYYY-MM-DD in UTC.java.lang.BooleangetMetadataOnly()Retrieve metadata for the type of analytics indicated.java.lang.StringgetToken()Authentication token bearing required scopes.java.lang.StringgetType()The type of analytics to retrieve.inthashCode()voidsetDate(java.lang.String date)Date to retrieve the analytics data for, expressed as YYYY-MM-DD in UTC.voidsetMetadataOnly(java.lang.Boolean metadataOnly)Retrieve metadata for the type of analytics indicated.voidsetToken(java.lang.String token)Authentication token bearing required scopes.voidsetType(java.lang.String type)The type of analytics to retrieve.java.lang.StringtoString()
-
Method Details
-
builder
-
getToken
public java.lang.String getToken()Authentication token bearing required scopes.- Specified by:
getTokenin interfaceSlackApiRequest
-
getDate
public java.lang.String getDate()Date to retrieve the analytics data for, expressed as YYYY-MM-DD in UTC. -
getType
public java.lang.String getType()The type of analytics to retrieve. The options are currently limited to member. -
getMetadataOnly
public java.lang.Boolean getMetadataOnly()Retrieve metadata for the type of analytics indicated. Can be used only with type set to public_channel analytics. See detail below. Omit the date parameter when using this argument. Default: false -
setToken
public void setToken(java.lang.String token)Authentication token bearing required scopes. -
setDate
public void setDate(java.lang.String date)Date to retrieve the analytics data for, expressed as YYYY-MM-DD in UTC. -
setType
public void setType(java.lang.String type)The type of analytics to retrieve. The options are currently limited to member. -
setMetadataOnly
public void setMetadataOnly(java.lang.Boolean metadataOnly)Retrieve metadata for the type of analytics indicated. Can be used only with type set to public_channel analytics. See detail below. Omit the date parameter when using this argument. Default: false -
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other) -
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-