CoreTweet  2.0.0-beta.2
Yet another .NET Twitter Library
Public Member Functions | List of all members
CoreTweet.Rest.SavedSearches Class Reference

Provides a set of methods for the wrapper of GET/POST saved_searches. More...

Inheritance diagram for CoreTweet.Rest.SavedSearches:
CoreTweet.Core.ApiProviderBase

Public Member Functions

ListedResponse< SearchQueryList (params Expression< Func< string, object >>[] parameters)
 
ListedResponse< SearchQueryList (IDictionary< string, object > parameters)
 
ListedResponse< SearchQueryList (object parameters)
 
ListedResponse< SearchQueryList ()
 
Task< ListedResponse< SearchQuery > > ListAsync (params Expression< Func< string, object >>[] parameters)
 
Task< ListedResponse< SearchQuery > > ListAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< SearchQuery > > ListAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< ListedResponse< SearchQuery > > ListAsync (CancellationToken cancellationToken=default(CancellationToken))
 
SearchQueryResponse Show (params Expression< Func< string, object >>[] parameters)
 
SearchQueryResponse Show (IDictionary< string, object > parameters)
 
SearchQueryResponse Show (object parameters)
 
SearchQueryResponse Show (long id)
 
Task< SearchQueryResponseShowAsync (params Expression< Func< string, object >>[] parameters)
 
Task< SearchQueryResponseShowAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< SearchQueryResponseShowAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< SearchQueryResponseShowAsync (long id, CancellationToken cancellationToken=default(CancellationToken))
 
SearchQueryResponse Create (params Expression< Func< string, object >>[] parameters)
 
SearchQueryResponse Create (IDictionary< string, object > parameters)
 
SearchQueryResponse Create (object parameters)
 
SearchQueryResponse Create (string query)
 
Task< SearchQueryResponseCreateAsync (params Expression< Func< string, object >>[] parameters)
 
Task< SearchQueryResponseCreateAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< SearchQueryResponseCreateAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< SearchQueryResponseCreateAsync (string query, CancellationToken cancellationToken=default(CancellationToken))
 
SearchQueryResponse Destroy (params Expression< Func< string, object >>[] parameters)
 
SearchQueryResponse Destroy (IDictionary< string, object > parameters)
 
SearchQueryResponse Destroy (object parameters)
 
SearchQueryResponse Destroy (long id)
 
Task< SearchQueryResponseDestroyAsync (params Expression< Func< string, object >>[] parameters)
 
Task< SearchQueryResponseDestroyAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< SearchQueryResponseDestroyAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< SearchQueryResponseDestroyAsync (long id, CancellationToken cancellationToken=default(CancellationToken))
 

Additional Inherited Members

- Public Attributes inherited from CoreTweet.Core.ApiProviderBase
TokensBase IncludedTokens => this.Tokens
 Gets the tokens being used in this instance. More...
 
- Properties inherited from CoreTweet.Core.ApiProviderBase
TokensBase Tokens [get, set]
 Gets or sets the OAuth tokens. More...
 

Detailed Description

Provides a set of methods for the wrapper of GET/POST saved_searches.

Member Function Documentation

◆ Create() [1/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Create ( IDictionary< string, object >  parameters)
inline

Create a new saved search for the authenticated user.

Available parameters:

- string query (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ Create() [2/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Create ( object  parameters)
inline

Create a new saved search for the authenticated user.

Available parameters:

- string query (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ Create() [3/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Create ( params Expression< Func< string, object >>[]  parameters)
inline

Create a new saved search for the authenticated user.

Available parameters:

- string query (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ Create() [4/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Create ( string  query)
inline

Create a new saved search for the authenticated user.

Parameters
queryrequired.
Returns
The saved search.

◆ CreateAsync() [1/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.CreateAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Create a new saved search for the authenticated user.

Available parameters:

- string query (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The saved search.

◆ CreateAsync() [2/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.CreateAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Create a new saved search for the authenticated user.

Available parameters:

- string query (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The saved search.

◆ CreateAsync() [3/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.CreateAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Create a new saved search for the authenticated user.

Available parameters:

- string query (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ CreateAsync() [4/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.CreateAsync ( string  query,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Create a new saved search for the authenticated user.

Parameters
queryrequired.
cancellationTokenThe cancellation token.
Returns
The saved search.

◆ Destroy() [1/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Destroy ( IDictionary< string, object >  parameters)
inline

Destroys a saved search for the authenticating user.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ Destroy() [2/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Destroy ( long  id)
inline

Destroys a saved search for the authenticating user.

Parameters
idrequired.
Returns
The saved search.

◆ Destroy() [3/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Destroy ( object  parameters)
inline

Destroys a saved search for the authenticating user.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ Destroy() [4/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Destroy ( params Expression< Func< string, object >>[]  parameters)
inline

Destroys a saved search for the authenticating user.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ DestroyAsync() [1/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.DestroyAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Destroys a saved search for the authenticating user.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The saved search.

◆ DestroyAsync() [2/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.DestroyAsync ( long  id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Destroys a saved search for the authenticating user.

Parameters
idrequired.
cancellationTokenThe cancellation token.
Returns
The saved search.

◆ DestroyAsync() [3/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.DestroyAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Destroys a saved search for the authenticating user.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The saved search.

◆ DestroyAsync() [4/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.DestroyAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Destroys a saved search for the authenticating user.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ List() [1/4]

ListedResponse<SearchQuery> CoreTweet.Rest.SavedSearches.List ( )
inline

Returns the authenticated user’s saved search queries.

Returns
The saved searches.

◆ List() [2/4]

ListedResponse<SearchQuery> CoreTweet.Rest.SavedSearches.List ( IDictionary< string, object >  parameters)
inline

Returns the authenticated user’s saved search queries.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The saved searches.

◆ List() [3/4]

ListedResponse<SearchQuery> CoreTweet.Rest.SavedSearches.List ( object  parameters)
inline

Returns the authenticated user’s saved search queries.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The saved searches.

◆ List() [4/4]

ListedResponse<SearchQuery> CoreTweet.Rest.SavedSearches.List ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the authenticated user’s saved search queries.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The saved searches.

◆ ListAsync() [1/4]

Task<ListedResponse<SearchQuery> > CoreTweet.Rest.SavedSearches.ListAsync ( CancellationToken  cancellationToken = default(CancellationToken))
inline

Returns the authenticated user’s saved search queries.

Parameters
cancellationTokenThe cancellation token.
Returns
The saved searches.

◆ ListAsync() [2/4]

Task<ListedResponse<SearchQuery> > CoreTweet.Rest.SavedSearches.ListAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the authenticated user’s saved search queries.

Available parameters: Nothing.

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The saved searches.

◆ ListAsync() [3/4]

Task<ListedResponse<SearchQuery> > CoreTweet.Rest.SavedSearches.ListAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns the authenticated user’s saved search queries.

Available parameters: Nothing.

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The saved searches.

◆ ListAsync() [4/4]

Task<ListedResponse<SearchQuery> > CoreTweet.Rest.SavedSearches.ListAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns the authenticated user’s saved search queries.

Available parameters: Nothing.

Parameters
parametersThe parameters.
Returns
The saved searches.

◆ Show() [1/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Show ( IDictionary< string, object >  parameters)
inline

Retrieve the information for the saved search represented by the given id.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ Show() [2/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Show ( long  id)
inline

Retrieve the information for the saved search represented by the given id.

Parameters
idrequired.
Returns
The saved search.

◆ Show() [3/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Show ( object  parameters)
inline

Retrieve the information for the saved search represented by the given id.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ Show() [4/4]

SearchQueryResponse CoreTweet.Rest.SavedSearches.Show ( params Expression< Func< string, object >>[]  parameters)
inline

Retrieve the information for the saved search represented by the given id.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
Returns
The saved search.

◆ ShowAsync() [1/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.ShowAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Retrieve the information for the saved search represented by the given id.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The saved search.

◆ ShowAsync() [2/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.ShowAsync ( long  id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Retrieve the information for the saved search represented by the given id.

Parameters
idrequired.
cancellationTokenThe cancellation token.
Returns
The saved search.

◆ ShowAsync() [3/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.ShowAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Retrieve the information for the saved search represented by the given id.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The saved search.

◆ ShowAsync() [4/4]

Task<SearchQueryResponse> CoreTweet.Rest.SavedSearches.ShowAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Retrieve the information for the saved search represented by the given id.

Available parameters:

- long id (required)

Parameters
parametersThe parameters.
Returns
The saved search.

The documentation for this class was generated from the following file: