/// <summary> /// <para>Retrieve tag timeline.</para> /// <para>Available parameters:</para> /// <para>- <c>string</c> hashtag (required)</para> /// <para>- <c>bool</c> local (optional)</para> /// <para>- <c>long</c> max_id (optional)</para> /// <para>- <c>long</c> since_id (optional)</para> /// <para>- <c>int</c> limit (optional)</para> /// <para>- <c>bool</c> only_media (optional)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the list of status object.</para> /// </returns> public Task <Linked <Status> > TagAsync(params Expression <Func <string, object> >[] parameters) { return(Tokens.AccessParameterReservedApiAsync <Linked <Status> >(MethodType.Get, "timelines/tag/{hashtag}", "hashtag", Utils.ExpressionToDictionary(parameters))); }
/// <summary> /// <para>Endorse an account, i.e. choose to feature the account on the user’s public profile.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the relationship object.</para> /// </returns> public Task <Relationship> PinAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <Relationship>(MethodType.Post, "accounts/{id}/pin", "id", parameters)); }
/// <summary> /// <para>Returns single notification object specified by the required id parameter.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the notification object.</para> /// </returns> public Task <Notification> IdAsync(params Expression <Func <string, object> >[] parameters) { return(Tokens.AccessParameterReservedApiAsync <Notification>(MethodType.Get, "notifications/{id}", "id", Utils.ExpressionToDictionary(parameters))); }
/// <summary> /// <para>Unpin an status.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the status object.</para> /// </returns> public Task<Status> UnpinAsync(params Expression<Func<string, object>>[] parameters) { return Tokens.AccessParameterReservedApiAsync<Status>(MethodType.Post, "statuses/{id}/unpin", "id", Utils.ExpressionToDictionary(parameters)); }
/// <summary> /// <para>Returns a card specified by the required id parameter.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the card object.</para> /// </returns> public Task<Card> CardAsync(params Expression<Func<string, object>>[] parameters) { return Tokens.AccessParameterReservedApiAsync<Card>(MethodType.Get, "statuses/{id}/card", "id", Utils.ExpressionToDictionary(parameters)); }
/// <summary> /// <para>Get who favourited a status.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// <para>- <c>long</c> max_id (optional)</para> /// <para>- <c>long</c> since_id (optional)</para> /// <para>- <c>int</c> limit (optional)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns list of account object.</para> /// </returns> public Task<Linked<Account>> FavouritedByAsync(params Expression<Func<string, object>>[] parameters) { return Tokens.AccessParameterReservedApiAsync<Linked<Account>>(MethodType.Get, "statuses/{id}/favourited_by", "id", Utils.ExpressionToDictionary(parameters)); }
/// <summary> /// <para>Delete a status.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the empty object.</para> /// </returns> public Task DeleteAsync(params Expression<Func<string, object>>[] parameters) { return Tokens.AccessParameterReservedApiAsync(MethodType.Delete, "statuses/{id}", "id", Utils.ExpressionToDictionary(parameters)); }
/// <summary> /// <para>Mute an status.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the status object.</para> /// </returns> public Task <Status> MuteStatusAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <Status>(MethodType.Post, "statuses/{id}/mute", "id", parameters)); }
/// <summary> /// <para>Updates a filter.</para> /// <para>allowed values of context: "home", "notifications", "public", "thread"</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// <para>- <c>string</c> phrase (required)</para> /// <para>- <c>IEnumerable<string></c> context (required)</para> /// <para>- <c>bool</c> irreversible (optional)</para> /// <para>- <c>bool</c> whole_word (optional)</para> /// <para>- <c>int</c> expires_in (optional)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the filter object.</para> /// </returns> public Task <Filter> UpdateAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <Filter>(MethodType.Put, "filters/{id}", "id", parameters)); }
/// <summary> /// <para>Authorize follow requests.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the empty object.</para> /// </returns> public Task AuthorizeAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync(MethodType.Post, "follow_requests/{id}/authorize", "id", parameters)); }
/// <summary> /// <para>Reject follow requests.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the empty object.</para> /// </returns> public Task RejectAsync(params Expression <Func <string, object> >[] parameters) { return(Tokens.AccessParameterReservedApiAsync(MethodType.Post, "follow_requests/{id}/reject", "id", Utils.ExpressionToDictionary(parameters))); }
/// <summary> /// <para>Retrieve list timeline.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> list_id (required)</para> /// <para>- <c>long</c> max_id (optional)</para> /// <para>- <c>long</c> since_id (optional)</para> /// <para>- <c>int</c> limit (optional)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the list of status object.</para> /// </returns> public Task <Linked <Status> > ListAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <Linked <Status> >(MethodType.Get, "timelines/list/{list_id}", "list_id", parameters)); }
/// <summary> /// <para>Retrieve list timeline.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> list_id (required)</para> /// <para>- <c>long</c> max_id (optional)</para> /// <para>- <c>long</c> since_id (optional)</para> /// <para>- <c>int</c> limit (optional)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the list of status object.</para> /// </returns> public Task <Linked <Status> > ListAsync(params Expression <Func <string, object> >[] parameters) { return(Tokens.AccessParameterReservedApiAsync <Linked <Status> >(MethodType.Get, "timelines/list/{list_id}", "list_id", Utils.ExpressionToDictionary(parameters))); }
/// <summary> /// <para>Retrieve tag timeline.</para> /// <para>Available parameters:</para> /// <para>- <c>string</c> hashtag (required)</para> /// <para>- <c>bool</c> local (optional)</para> /// <para>- <c>long</c> max_id (optional)</para> /// <para>- <c>long</c> since_id (optional)</para> /// <para>- <c>int</c> limit (optional)</para> /// <para>- <c>bool</c> only_media (optional)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the list of status object.</para> /// </returns> public Task <Linked <Status> > TagAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <Linked <Status> >(MethodType.Get, "timelines/tag/{hashtag}", "hashtag", parameters)); }
/// <summary> /// <para>Retrieving lists by membership.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the list of list object.</para> /// </returns> public Task <Linked <List> > ListsAsync(params Expression <Func <string, object> >[] parameters) { return(Tokens.AccessParameterReservedApiAsync <Linked <List> >(MethodType.Get, "accounts/{id}/lists", "id", Utils.ExpressionToDictionary(parameters))); }
/// <summary> /// <para>Deletes a user from follow suggestions.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> account_id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the empty object.</para> /// </returns> public Task DeleteAsync(params Expression <Func <string, object> >[] parameters) { return(Tokens.AccessParameterReservedApiAsync(MethodType.Delete, "suggestions/{account_id}", "account_id", Utils.ExpressionToDictionary(parameters))); }
/// <summary> /// <para>Retrieving lists by membership.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the list of list object.</para> /// </returns> public Task <Linked <List> > ListsAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <Linked <List> >(MethodType.Get, "accounts/{id}/lists", "id", parameters)); }
/// <summary> /// <para>Deletes a user from follow suggestions.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> account_id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the empty object.</para> /// </returns> public Task DeleteAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync(MethodType.Delete, "suggestions/{account_id}", "account_id", parameters)); }
/// <summary> /// <para>Get who favourited a status.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// <para>- <c>long</c> max_id (optional)</para> /// <para>- <c>long</c> since_id (optional)</para> /// <para>- <c>int</c> limit (optional)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns list of account object.</para> /// </returns> public Task<Linked<Account>> FavouritedByAsync(IDictionary<string, object> parameters) { return Tokens.AccessParameterReservedApiAsync<Linked<Account>>(MethodType.Get, "statuses/{id}/favourited_by", "id", parameters); }
/// <summary> /// <para>Update a media attachment.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// <para>- <c>string</c> description (optional)</para> /// <para>- <c>string</c> focus (focal point: two floating points, comma-delimited) (optional)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the attachment object.</para> /// </returns> public Task <Attachment> UpdateAsync(params Expression <Func <string, object> >[] parameters) { return(Tokens.AccessParameterReservedApiAsync <Attachment>(MethodType.Put, "media/{id}", "id", Utils.ExpressionToDictionary(parameters))); }
/// <summary> /// <para>Delete a status.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the empty object.</para> /// </returns> public Task DeleteAsync(IDictionary<string, object> parameters) { return Tokens.AccessParameterReservedApiAsync(MethodType.Delete, "statuses/{id}", "id", parameters); }
/// <summary> /// <para>Update a media attachment.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// <para>- <c>string</c> description (optional)</para> /// <para>- <c>string</c> focus (focal point: two floating points, comma-delimited) (optional)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the attachment object.</para> /// </returns> public Task <Attachment> UpdateAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <Attachment>(MethodType.Put, "media/{id}", "id", parameters)); }
/// <summary> /// <para>Unpin an status.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the status object.</para> /// </returns> public Task<Status> UnpinAsync(IDictionary<string, object> parameters) { return Tokens.AccessParameterReservedApiAsync<Status>(MethodType.Post, "statuses/{id}/unpin", "id", parameters); }
/// <summary> /// <para>Get scheduled status.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the scheduledstatus object.</para> /// </returns> public Task <ScheduledStatus> IdAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <ScheduledStatus>(MethodType.Get, "scheduled_statuses/{id}", "id", parameters)); }
/// <summary> /// <para>Returns a card specified by the required id parameter.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the card object.</para> /// </returns> public Task<Card> CardAsync(IDictionary<string, object> parameters) { return Tokens.AccessParameterReservedApiAsync<Card>(MethodType.Get, "statuses/{id}/card", "id", parameters); }
/// <summary> /// <para>Update Scheduled status.</para> /// <para>format of scheduled_at: "2019-01-01 12:00:00"</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// <para>- <c>string</c> scheduled_at (optional)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the scheduledstatus object.</para> /// </returns> public Task <ScheduledStatus> UpdateAsync(params Expression <Func <string, object> >[] parameters) { return(Tokens.AccessParameterReservedApiAsync <ScheduledStatus>(MethodType.Put, "scheduled_statuses/{id}", "id", Utils.ExpressionToDictionary(parameters))); }
/// <summary> /// <para>Undo endorse of an account.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the relationship object.</para> /// </returns> public Task <Relationship> UnpinAsync(params Expression <Func <string, object> >[] parameters) { return(Tokens.AccessParameterReservedApiAsync <Relationship>(MethodType.Post, "accounts/{id}/unpin", "id", Utils.ExpressionToDictionary(parameters))); }
/// <summary> /// <para>Returns a variety of information about the user specified by the required id parameter.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the account object.</para> /// </returns> public Task <Account> IdAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <Account>(MethodType.Get, "accounts/{id}", "id", parameters)); }
/// <summary> /// <para>Returns single notification object specified by the required id parameter.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the notification object.</para> /// </returns> public Task <Notification> IdAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <Notification>(MethodType.Get, "notifications/{id}", "id", parameters)); }
/// <summary> /// <para>Returns a context specified by the required id parameter.</para> /// <para>Available parameters:</para> /// <para>- <c>long</c> id (required)</para> /// </summary> /// <param name="parameters">The parameters.</param> /// <returns> /// <para>The task object representing the asynchronous operation.</para> /// <para>The Result property on the task object returns the context object.</para> /// </returns> public Task <Context> ContextAsync(IDictionary <string, object> parameters) { return(Tokens.AccessParameterReservedApiAsync <Context>(MethodType.Get, "statuses/{id}/context", "id", parameters)); }