Class AdminAnalyticsGetFileRequest

java.lang.Object
com.slack.api.methods.request.admin.analytics.AdminAnalyticsGetFileRequest
All Implemented Interfaces:
SlackApiRequest

public class AdminAnalyticsGetFileRequest extends Object implements SlackApiRequest
https://docs.slack.dev/reference/methods/admin.analytics.getFile
  • Method Details

    • builder

    • getToken

      public String getToken()
      Authentication token bearing required scopes.
      Specified by:
      getToken in interface SlackApiRequest
      Returns:
      token string value or null
    • getDate

      public String getDate()
      Date to retrieve the analytics data for, expressed as YYYY-MM-DD in UTC.
    • getType

      public String getType()
      The type of analytics to retrieve. The options are currently limited to member.
    • getMetadataOnly

      public 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(String token)
      Authentication token bearing required scopes.
      Specified by:
      setToken in interface SlackApiRequest
    • setDate

      public void setDate(String date)
      Date to retrieve the analytics data for, expressed as YYYY-MM-DD in UTC.
    • setType

      public void setType(String type)
      The type of analytics to retrieve. The options are currently limited to member.
    • setMetadataOnly

      public void setMetadataOnly(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(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object