Trait

com.danielasfregola.twitter4s.http.clients.rest.blocks

TwitterBlockClient

Related Doc: package blocks

Permalink

trait TwitterBlockClient extends OAuthClient with Configurations

Implements the available requests for the blocks resource.

Source
TwitterBlockClient.scala
Linear Supertypes
Configurations, OAuthClient, TokenProvider, Client, UnmarshallerLifting, ActorContextExtractor, ActorRefFactoryProvider, ExecutionContextProvider, JsonSupport, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TwitterBlockClient
  2. Configurations
  3. OAuthClient
  4. TokenProvider
  5. Client
  6. UnmarshallerLifting
  7. ActorContextExtractor
  8. ActorRefFactoryProvider
  9. ExecutionContextProvider
  10. JsonSupport
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class OAuthRequestBuilder extends spray.client.pipelining.RequestBuilder with BodyEncoder

    Permalink
    Definition Classes
    OAuthClient

Abstract Value Members

  1. abstract val accessToken: AccessToken

    Permalink
    Definition Classes
    TokenProvider
  2. implicit abstract def actorRefFactory: ActorRefFactory

    Permalink
    Definition Classes
    ActorRefFactoryProvider
  3. abstract val consumerToken: ConsumerToken

    Permalink
    Definition Classes
    TokenProvider

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val Delete: OAuthRequestBuilder

    Permalink
    Definition Classes
    OAuthClient
  5. val Get: OAuthRequestBuilder

    Permalink
    Definition Classes
    OAuthClient
  6. val Head: OAuthRequestBuilder

    Permalink
    Definition Classes
    OAuthClient
  7. val Options: OAuthRequestBuilder

    Permalink
    Definition Classes
    OAuthClient
  8. val Patch: OAuthRequestBuilder

    Permalink
    Definition Classes
    OAuthClient
  9. val Post: OAuthRequestBuilder

    Permalink
    Definition Classes
    OAuthClient
  10. val Put: OAuthRequestBuilder

    Permalink
    Definition Classes
    OAuthClient
  11. lazy val accessTokenKey: String

    Permalink
    Definition Classes
    Configurations
  12. lazy val accessTokenSecret: String

    Permalink
    Definition Classes
    Configurations
  13. val apiTwitterUrl: String

    Permalink
    Definition Classes
    Configurations
  14. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  15. def blockUser(screen_name: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Permalink

    Blocks the specified user from following the authenticating user.

    Blocks the specified user from following the authenticating user. In addition the blocked user will not show in the authenticating users mentions or timeline (unless retweeted by another user). If a follow or friend relationship exists it is destroyed. For more information see https://dev.twitter.com/rest/reference/post/blocks/create.

    screen_name

    : The screen name of the potentially blocked user. Helpful for disambiguating when a valid user ID is also a valid screen name.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The representation of the blocked user.

  16. def blockUserId(user_id: Long, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Permalink

    Blocks the specified user id from following the authenticating user.

    Blocks the specified user id from following the authenticating user. In addition the blocked user will not show in the authenticating users mentions or timeline (unless retweeted by another user). If a follow or friend relationship exists it is destroyed. For more information see https://dev.twitter.com/rest/reference/post/blocks/create.

    user_id

    : The ID of the potentially blocked user. Helpful for disambiguating when a valid user ID is also a valid screen name.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The representation of the blocked user.

  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. lazy val consumerTokenKey: String

    Permalink
    Definition Classes
    Configurations
  19. lazy val consumerTokenSecret: String

    Permalink
    Definition Classes
    Configurations
  20. val defaultFormats: DefaultFormats

    Permalink
    Definition Classes
    JsonSupport
  21. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  23. implicit val executionContext: ExecutionContext

    Permalink
    Definition Classes
    ActorContextExtractor → ExecutionContextProvider
  24. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. implicit def fromMessageUnmarshaller[T](implicit um: Unmarshaller[T]): FromMessageUnmarshaller[T]

    Permalink
    Definition Classes
    UnmarshallerLifting
  26. implicit def fromRequestUnmarshaller[T](implicit um: FromMessageUnmarshaller[T]): FromRequestUnmarshaller[T]

    Permalink
    Definition Classes
    UnmarshallerLifting
  27. implicit def fromResponseUnmarshaller[T](implicit um: FromMessageUnmarshaller[T]): FromResponseUnmarshaller[T]

    Permalink
    Definition Classes
    UnmarshallerLifting
  28. def getBlockedUserIds(cursor: Long = 1): Future[UserIds]

    Permalink

    Returns an array of user ids the authenticating user is blocking.

    Returns an array of user ids the authenticating user is blocking. For more information see https://dev.twitter.com/rest/reference/get/blocks/ids.

    cursor

    : By default it is -1, which is the first “page”. Causes the list of blocked users to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out after connections are queried.

    returns

    : The cursored representation of user ids.

  29. def getBlockedUserStringifiedIds(cursor: Long = 1): Future[UserStringifiedIds]

    Permalink

    Returns an array of user stringified ids the authenticating user is blocking.

    Returns an array of user stringified ids the authenticating user is blocking. For more information see https://dev.twitter.com/rest/reference/get/blocks/ids.

    cursor

    : By default it is -1, which is the first “page”. Causes the list of blocked users to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out after connections are queried.

    returns

    : The cursored representation of user stringified ids with cursors.

  30. def getBlockedUsers(include_entities: Boolean = true, skip_status: Boolean = false, cursor: Long = 1): Future[Users]

    Permalink

    Returns the users that the authenticating user is blocking.

    Returns the users that the authenticating user is blocking. For more information see https://dev.twitter.com/rest/reference/get/blocks/list.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    cursor

    : By default it is -1, which is the first “page”. Causes the list of blocked users to be broken into pages of no more than 5000 IDs at a time. The number of IDs returned is not guaranteed to be 5000 as suspended users are filtered out after connections are queried.

    returns

    : The cursored representation of blocked users.

  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  34. implicit def json4sFormats: Formats

    Permalink
    Definition Classes
    JsonSupport
  35. implicit def json4sUnmarshaller[T](implicit arg0: Manifest[T]): Unmarshaller[T]

    Permalink
    Definition Classes
    JsonSupport
  36. implicit val log: LoggingAdapter

    Permalink
    Definition Classes
    ActorContextExtractor
  37. def logRequest: (HttpRequest) ⇒ HttpRequest

    Permalink
    Definition Classes
    Client
  38. def logResponse(requestStartTime: Long)(implicit request: HttpRequest): (HttpResponse) ⇒ HttpResponse

    Permalink
    Definition Classes
    Client
  39. val mediaTwitterUrl: String

    Permalink
    Definition Classes
    Configurations
  40. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  41. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  43. lazy val oauthProvider: OAuthProvider

    Permalink
    Attributes
    protected
    Definition Classes
    OAuthClient
  44. def pipeline[T](implicit arg0: FromResponseUnmarshaller[T]): (HttpRequest) ⇒ Future[T]

    Permalink
    Definition Classes
    OAuthClient → Client
  45. val siteStreamingTwitterUrl: String

    Permalink
    Definition Classes
    Configurations
  46. val statusStreamingTwitterUrl: String

    Permalink
    Definition Classes
    Configurations
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  48. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  49. val twitterVersion: String

    Permalink
    Definition Classes
    Configurations
  50. def unblockUser(screen_name: String, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Permalink

    Un-blocks the user for the authenticating user.

    Un-blocks the user for the authenticating user. Returns the un-blocked user in the requested format when successful. If relationships existed before the block was instated, they will not be restored. For more information see https://dev.twitter.com/rest/reference/post/blocks/destroy.

    screen_name

    : The screen name of the potentially blocked user. Helpful for disambiguating when a valid user ID is also a valid screen name.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The representation of the unblocked user.

  51. def unblockUserId(user_id: Long, include_entities: Boolean = true, skip_status: Boolean = false): Future[User]

    Permalink

    Un-blocks the user specified id for the authenticating user.

    Un-blocks the user specified id for the authenticating user. Returns the un-blocked user in the requested format when successful. If relationships existed before the block was instated, they will not be restored. For more information see https://dev.twitter.com/rest/reference/post/blocks/destroy.

    user_id

    : The ID of the potentially blocked user. Helpful for disambiguating when a valid user ID is also a valid screen name.

    include_entities

    : By default it is true. The parameters node will not be included when set to false.

    skip_status

    : By default it is false. When set to either true statuses will not be included in the returned user object.

    returns

    : The representation of the unblocked user.

  52. val userStreamingTwitterUrl: String

    Permalink
    Definition Classes
    Configurations
  53. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. def withOAuthHeader: (HttpRequest) ⇒ HttpRequest

    Permalink
    Definition Classes
    OAuthClient
  57. def withSimpleOAuthHeader: (HttpRequest) ⇒ HttpRequest

    Permalink
    Definition Classes
    OAuthClient

Inherited from Configurations

Inherited from OAuthClient

Inherited from TokenProvider

Inherited from Client

Inherited from UnmarshallerLifting

Inherited from ActorContextExtractor

Inherited from ActorRefFactoryProvider

Inherited from ExecutionContextProvider

Inherited from JsonSupport

Inherited from AnyRef

Inherited from Any

Ungrouped