-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add file info method to retrieve all file info (#359)
- Loading branch information
Showing
4 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
15 changes: 15 additions & 0 deletions
15
...k-base/src/main/java/com/hubspot/slack/client/methods/params/files/FilesInfoParamsIF.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.hubspot.slack.client.methods.params.files; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
import com.fasterxml.jackson.databind.PropertyNamingStrategies.SnakeCaseStrategy; | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming; | ||
import com.hubspot.immutables.style.HubSpotStyle; | ||
import org.immutables.value.Value.Immutable; | ||
|
||
@Immutable | ||
@HubSpotStyle | ||
@JsonNaming(SnakeCaseStrategy.class) | ||
public interface FilesInfoParamsIF { | ||
@JsonProperty("file") | ||
String fileId(); | ||
} |
15 changes: 15 additions & 0 deletions
15
...ase/src/main/java/com/hubspot/slack/client/models/response/files/FilesInfoResponseIF.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.hubspot.slack.client.models.response.files; | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies.SnakeCaseStrategy; | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming; | ||
import com.hubspot.immutables.style.HubSpotStyle; | ||
import com.hubspot.slack.client.models.files.SlackFile; | ||
import com.hubspot.slack.client.models.response.SlackResponse; | ||
import org.immutables.value.Value.Immutable; | ||
|
||
@Immutable | ||
@HubSpotStyle | ||
@JsonNaming(SnakeCaseStrategy.class) | ||
public interface FilesInfoResponseIF extends SlackResponse { | ||
SlackFile getFile(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters