This repository has been archived by the owner on Mar 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Added tweet_mode to searchTweet (#102)
- Loading branch information
Showing
28 changed files
with
1,072 additions
and
750 deletions.
There are no files selected for viewing
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
8 changes: 8 additions & 0 deletions
8
src/main/scala/com/danielasfregola/twitter4s/entities/enums/TweetMode.scala
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,8 @@ | ||
package com.danielasfregola.twitter4s.entities.enums | ||
|
||
object TweetMode extends Enumeration { | ||
type TweetMode = Value | ||
|
||
val Extended = Value("extended") | ||
val Classic = Value("") | ||
} |
664 changes: 337 additions & 327 deletions
664
src/main/scala/com/danielasfregola/twitter4s/http/clients/rest/lists/TwitterListClient.scala
Large diffs are not rendered by default.
Oops, something went wrong.
18 changes: 10 additions & 8 deletions
18
...danielasfregola/twitter4s/http/clients/rest/lists/parameters/ListTimelineParameters.scala
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 |
---|---|---|
@@ -1,13 +1,15 @@ | ||
package com.danielasfregola.twitter4s.http.clients.rest.lists.parameters | ||
|
||
import com.danielasfregola.twitter4s.entities.enums.TweetMode.TweetMode | ||
import com.danielasfregola.twitter4s.http.marshalling.Parameters | ||
|
||
private[twitter4s] final case class ListTimelineParameters(list_id: Option[Long] = None, | ||
slug: Option[String] = None, | ||
owner_screen_name: Option[String] = None, | ||
owner_id: Option[Long] = None, | ||
count: Int, | ||
since_id: Option[Long] = None, | ||
max_id: Option[Long] = None, | ||
include_entities: Boolean, | ||
include_rts: Boolean) extends Parameters | ||
slug: Option[String] = None, | ||
owner_screen_name: Option[String] = None, | ||
owner_id: Option[Long] = None, | ||
count: Int, | ||
since_id: Option[Long] = None, | ||
max_id: Option[Long] = None, | ||
include_entities: Boolean, | ||
include_rts: Boolean, | ||
tweet_mode: TweetMode) extends Parameters |
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
Oops, something went wrong.