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

Provides a set of methods for the wrapper of GET/POST direct_messages/welcome_messages/Rules. More...

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

Public Member Functions

WelcomeMessageRuleResponse New (params Expression< Func< string, object >>[] parameters)
 
WelcomeMessageRuleResponse New (IDictionary< string, object > parameters)
 
WelcomeMessageRuleResponse New (object parameters)
 
WelcomeMessageRuleResponse New (string welcome_message_id)
 
Task< WelcomeMessageRuleResponseNewAsync (params Expression< Func< string, object >>[] parameters)
 
Task< WelcomeMessageRuleResponseNewAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< WelcomeMessageRuleResponseNewAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< WelcomeMessageRuleResponseNewAsync (string welcome_message_id, CancellationToken cancellationToken=default(CancellationToken))
 
CursoredWelcomeMessageRules List (params Expression< Func< string, object >>[] parameters)
 
CursoredWelcomeMessageRules List (IDictionary< string, object > parameters)
 
CursoredWelcomeMessageRules List (object parameters)
 
IEnumerable< WelcomeMessageRuleEnumerateList (int? count=null, string cursor=null)
 
CursoredWelcomeMessageRules List (int? count=null, string cursor=null)
 
IEnumerable< WelcomeMessageRuleEnumerateList (params Expression< Func< string, object >>[] parameters)
 
IEnumerable< WelcomeMessageRuleEnumerateList (IDictionary< string, object > parameters)
 
IEnumerable< WelcomeMessageRuleEnumerateList (object parameters)
 
Task< CursoredWelcomeMessageRulesListAsync (params Expression< Func< string, object >>[] parameters)
 
Task< CursoredWelcomeMessageRulesListAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< CursoredWelcomeMessageRulesListAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< CursoredWelcomeMessageRulesListAsync (int? count=null, string cursor=null, CancellationToken cancellationToken=default(CancellationToken))
 
WelcomeMessageRuleResponse Show (params Expression< Func< string, object >>[] parameters)
 
WelcomeMessageRuleResponse Show (IDictionary< string, object > parameters)
 
WelcomeMessageRuleResponse Show (object parameters)
 
WelcomeMessageRuleResponse Show (string id)
 
Task< WelcomeMessageRuleResponseShowAsync (params Expression< Func< string, object >>[] parameters)
 
Task< WelcomeMessageRuleResponseShowAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< WelcomeMessageRuleResponseShowAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task< WelcomeMessageRuleResponseShowAsync (string id, CancellationToken cancellationToken=default(CancellationToken))
 
void Destroy (params Expression< Func< string, object >>[] parameters)
 
void Destroy (IDictionary< string, object > parameters)
 
void Destroy (object parameters)
 
void Destroy (string id)
 
Task DestroyAsync (params Expression< Func< string, object >>[] parameters)
 
Task DestroyAsync (IDictionary< string, object > parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task DestroyAsync (object parameters, CancellationToken cancellationToken=default(CancellationToken))
 
Task DestroyAsync (string 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 direct_messages/welcome_messages/Rules.

Member Function Documentation

◆ Destroy() [1/4]

void CoreTweet.Rest.WelcomeMessagesRules.Destroy ( IDictionary< string, object >  parameters)
inline

Deletes a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
Returns

◆ Destroy() [2/4]

void CoreTweet.Rest.WelcomeMessagesRules.Destroy ( object  parameters)
inline

Deletes a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
Returns

◆ Destroy() [3/4]

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

Deletes a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
Returns

◆ Destroy() [4/4]

void CoreTweet.Rest.WelcomeMessagesRules.Destroy ( string  id)
inline

Deletes a Welcome Message Rule by the given id.

Parameters
idrequired.
Returns

◆ DestroyAsync() [1/4]

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

Deletes a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns

◆ DestroyAsync() [2/4]

Task CoreTweet.Rest.WelcomeMessagesRules.DestroyAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Deletes a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns

◆ DestroyAsync() [3/4]

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

Deletes a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
Returns

◆ DestroyAsync() [4/4]

Task CoreTweet.Rest.WelcomeMessagesRules.DestroyAsync ( string  id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Deletes a Welcome Message Rule by the given id.

Parameters
idrequired.
cancellationTokenThe cancellation token.
Returns

◆ EnumerateList() [1/4]

IEnumerable<WelcomeMessageRule> CoreTweet.Rest.WelcomeMessagesRules.EnumerateList ( IDictionary< string, object >  parameters)
inline

Returns a list of Welcome Message Rules.

Available parameters:

- int count (optional)

- string cursor (optional)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rules.

◆ EnumerateList() [2/4]

IEnumerable<WelcomeMessageRule> CoreTweet.Rest.WelcomeMessagesRules.EnumerateList ( int?  count = null,
string  cursor = null 
)
inline

Returns a list of Welcome Message Rules.

Parameters
countoptional.
cursoroptional.
Returns
The Welcome Message Rules.

◆ EnumerateList() [3/4]

IEnumerable<WelcomeMessageRule> CoreTweet.Rest.WelcomeMessagesRules.EnumerateList ( object  parameters)
inline

Returns a list of Welcome Message Rules.

Available parameters:

- int count (optional)

- string cursor (optional)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rules.

◆ EnumerateList() [4/4]

IEnumerable<WelcomeMessageRule> CoreTweet.Rest.WelcomeMessagesRules.EnumerateList ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a list of Welcome Message Rules.

Available parameters:

- int count (optional)

- string cursor (optional)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rules.

◆ List() [1/4]

CursoredWelcomeMessageRules CoreTweet.Rest.WelcomeMessagesRules.List ( IDictionary< string, object >  parameters)
inline

Returns a list of Welcome Message Rules.

Available parameters:

- int count (optional)

- string cursor (optional)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rules.

◆ List() [2/4]

CursoredWelcomeMessageRules CoreTweet.Rest.WelcomeMessagesRules.List ( int?  count = null,
string  cursor = null 
)
inline

Returns a list of Welcome Message Rules.

Parameters
countoptional.
cursoroptional.
Returns
The Welcome Message Rules.

◆ List() [3/4]

CursoredWelcomeMessageRules CoreTweet.Rest.WelcomeMessagesRules.List ( object  parameters)
inline

Returns a list of Welcome Message Rules.

Available parameters:

- int count (optional)

- string cursor (optional)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rules.

◆ List() [4/4]

CursoredWelcomeMessageRules CoreTweet.Rest.WelcomeMessagesRules.List ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a list of Welcome Message Rules.

Available parameters:

- int count (optional)

- string cursor (optional)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rules.

◆ ListAsync() [1/4]

Task<CursoredWelcomeMessageRules> CoreTweet.Rest.WelcomeMessagesRules.ListAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a list of Welcome Message Rules.

Available parameters:

- int count (optional)

- string cursor (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The Welcome Message Rules.

◆ ListAsync() [2/4]

Task<CursoredWelcomeMessageRules> CoreTweet.Rest.WelcomeMessagesRules.ListAsync ( int?  count = null,
string  cursor = null,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a list of Welcome Message Rules.

Parameters
countoptional.
cursoroptional.
cancellationTokenThe cancellation token.
Returns
The Welcome Message Rules.

◆ ListAsync() [3/4]

Task<CursoredWelcomeMessageRules> CoreTweet.Rest.WelcomeMessagesRules.ListAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a list of Welcome Message Rules.

Available parameters:

- int count (optional)

- string cursor (optional)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The Welcome Message Rules.

◆ ListAsync() [4/4]

Task<CursoredWelcomeMessageRules> CoreTweet.Rest.WelcomeMessagesRules.ListAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Returns a list of Welcome Message Rules.

Available parameters:

- int count (optional)

- string cursor (optional)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rules.

◆ New() [1/4]

WelcomeMessageRuleResponse CoreTweet.Rest.WelcomeMessagesRules.New ( IDictionary< string, object >  parameters)
inline

Creates a new Welcome Message Rule that determines which Welcome Message will be shown in a given conversation.

Available parameters:

- string welcome_message_id (required)

Parameters
parametersThe parameters.
Returns
The created Welcome Message Rule.

◆ New() [2/4]

WelcomeMessageRuleResponse CoreTweet.Rest.WelcomeMessagesRules.New ( object  parameters)
inline

Creates a new Welcome Message Rule that determines which Welcome Message will be shown in a given conversation.

Available parameters:

- string welcome_message_id (required)

Parameters
parametersThe parameters.
Returns
The created Welcome Message Rule.

◆ New() [3/4]

WelcomeMessageRuleResponse CoreTweet.Rest.WelcomeMessagesRules.New ( params Expression< Func< string, object >>[]  parameters)
inline

Creates a new Welcome Message Rule that determines which Welcome Message will be shown in a given conversation.

Available parameters:

- string welcome_message_id (required)

Parameters
parametersThe parameters.
Returns
The created Welcome Message Rule.

◆ New() [4/4]

WelcomeMessageRuleResponse CoreTweet.Rest.WelcomeMessagesRules.New ( string  welcome_message_id)
inline

Creates a new Welcome Message Rule that determines which Welcome Message will be shown in a given conversation.

Parameters
welcome_message_idrequired.
Returns
The created Welcome Message Rule.

◆ NewAsync() [1/4]

Task<WelcomeMessageRuleResponse> CoreTweet.Rest.WelcomeMessagesRules.NewAsync ( IDictionary< string, object >  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Creates a new Welcome Message Rule that determines which Welcome Message will be shown in a given conversation.

Available parameters:

- string welcome_message_id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The created Welcome Message Rule.

◆ NewAsync() [2/4]

Task<WelcomeMessageRuleResponse> CoreTweet.Rest.WelcomeMessagesRules.NewAsync ( object  parameters,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Creates a new Welcome Message Rule that determines which Welcome Message will be shown in a given conversation.

Available parameters:

- string welcome_message_id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The created Welcome Message Rule.

◆ NewAsync() [3/4]

Task<WelcomeMessageRuleResponse> CoreTweet.Rest.WelcomeMessagesRules.NewAsync ( params Expression< Func< string, object >>[]  parameters)
inline

Creates a new Welcome Message Rule that determines which Welcome Message will be shown in a given conversation.

Available parameters:

- string welcome_message_id (required)

Parameters
parametersThe parameters.
Returns
The created Welcome Message Rule.

◆ NewAsync() [4/4]

Task<WelcomeMessageRuleResponse> CoreTweet.Rest.WelcomeMessagesRules.NewAsync ( string  welcome_message_id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Creates a new Welcome Message Rule that determines which Welcome Message will be shown in a given conversation.

Parameters
welcome_message_idrequired.
cancellationTokenThe cancellation token.
Returns
The created Welcome Message Rule.

◆ Show() [1/4]

WelcomeMessageRuleResponse CoreTweet.Rest.WelcomeMessagesRules.Show ( IDictionary< string, object >  parameters)
inline

Returns a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rule.

◆ Show() [2/4]

WelcomeMessageRuleResponse CoreTweet.Rest.WelcomeMessagesRules.Show ( object  parameters)
inline

Returns a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rule.

◆ Show() [3/4]

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

Returns a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rule.

◆ Show() [4/4]

WelcomeMessageRuleResponse CoreTweet.Rest.WelcomeMessagesRules.Show ( string  id)
inline

Returns a Welcome Message Rule by the given id.

Parameters
idrequired.
Returns
The Welcome Message Rule.

◆ ShowAsync() [1/4]

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

Returns a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The Welcome Message Rule.

◆ ShowAsync() [2/4]

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

Returns a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
cancellationTokenThe cancellation token.
Returns
The Welcome Message Rule.

◆ ShowAsync() [3/4]

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

Returns a Welcome Message Rule by the given id.

Available parameters:

- string id (required)

Parameters
parametersThe parameters.
Returns
The Welcome Message Rule.

◆ ShowAsync() [4/4]

Task<WelcomeMessageRuleResponse> CoreTweet.Rest.WelcomeMessagesRules.ShowAsync ( string  id,
CancellationToken  cancellationToken = default(CancellationToken) 
)
inline

Returns a Welcome Message Rule by the given id.

Parameters
idrequired.
cancellationTokenThe cancellation token.
Returns
The Welcome Message Rule.

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