Skip to content

Commit

Permalink
Merge pull request #140 from redouane59/feat_put_private_static_class…
Browse files Browse the repository at this point in the history
…es_public

feat: replace private static classes of TweetV2 by public static classes
  • Loading branch information
redouane59 authored Feb 14, 2021
2 parents a719b3b + 38b6704 commit 3668d96
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.redouane59.twitter</groupId>
<artifactId>twittered</artifactId>
<version>1.18</version>
<version>1.19</version>

<name>twittered</name>
<description>java client for twitter API</description>
Expand Down Expand Up @@ -153,7 +153,7 @@
<groupId>com.github.scribejava</groupId>
<artifactId>scribejava-apis</artifactId>
<version>8.1.0</version>
</dependency>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,22 +271,22 @@ public TweetType getTweetType() {

@Getter
@Setter
private static class ReferencedTweetDTO {
public static class ReferencedTweetDTO {

private TweetType type;
private String id;
}

@Getter
@Setter
private static class Includes {
public static class Includes {

private UserV2.UserData[] users;
}

@Getter
@Setter
private static class TweetPublicMetricsDTO {
public static class TweetPublicMetricsDTO {

@JsonProperty("retweet_count")
private int retweetCount;
Expand Down

0 comments on commit 3668d96

Please sign in to comment.