Class TeamAccessLogsRequest
- java.lang.Object
-
- com.slack.api.methods.request.team.TeamAccessLogsRequest
-
- All Implemented Interfaces:
SlackApiRequest
public class TeamAccessLogsRequest extends Object implements SlackApiRequest
https://api.slack.com/methods/team.accessLogs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TeamAccessLogsRequest.TeamAccessLogsRequestBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TeamAccessLogsRequest.TeamAccessLogsRequestBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
Integer
getBefore()
End of time range of logs to include in results (inclusive).Integer
getCount()
String
getCursor()
Parameter for pagination.Integer
getLimit()
The maximum number of items to return.Integer
getPage()
String
getTeamId()
Required for org-wide apps.String
getToken()
Authentication token.int
hashCode()
void
setBefore(Integer before)
End of time range of logs to include in results (inclusive).void
setCount(Integer count)
void
setCursor(String cursor)
Parameter for pagination.void
setLimit(Integer limit)
The maximum number of items to return.void
setPage(Integer page)
void
setTeamId(String teamId)
Required for org-wide apps.void
setToken(String token)
Authentication token.String
toString()
-
-
-
Method Detail
-
builder
public static TeamAccessLogsRequest.TeamAccessLogsRequestBuilder builder()
-
getToken
public String getToken()
Authentication token. Requires scope: `admin`- Specified by:
getToken
in interfaceSlackApiRequest
- Returns:
- token string value or null
-
getBefore
public Integer getBefore()
End of time range of logs to include in results (inclusive).
-
getCount
public Integer getCount()
-
getPage
public Integer getPage()
-
getTeamId
public String getTeamId()
Required for org-wide apps.
-
getLimit
public Integer getLimit()
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. If specified, result is returned using a cursor-based approach instead of a classic one.
-
getCursor
public String getCursor()
Parameter for pagination. Set cursor equal to the next_cursor attribute returned by the previous request's response_metadata. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection.
-
setToken
public void setToken(String token)
Authentication token. Requires scope: `admin`- Specified by:
setToken
in interfaceSlackApiRequest
-
setBefore
public void setBefore(Integer before)
End of time range of logs to include in results (inclusive).
-
setCount
public void setCount(Integer count)
-
setPage
public void setPage(Integer page)
-
setTeamId
public void setTeamId(String teamId)
Required for org-wide apps.
-
setLimit
public void setLimit(Integer limit)
The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. If specified, result is returned using a cursor-based approach instead of a classic one.
-
setCursor
public void setCursor(String cursor)
Parameter for pagination. Set cursor equal to the next_cursor attribute returned by the previous request's response_metadata. This parameter is optional, but pagination is mandatory: the default value simply fetches the first "page" of the collection.
-
canEqual
protected boolean canEqual(Object other)
-
-