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

Represents the result of the uploaded media. More...

Inheritance diagram for CoreTweet.MediaUploadResult:
CoreTweet.Core.CoreBase CoreTweet.Core.ITwitterResponse CoreTweet.UploadFinalizeCommandResult

Public Member Functions

override string ToString ()
 Returns the ID of this instance. More...
 

Properties

int ExpiresAfterSecs [get, set]
 Gets or sets the remaining time before the media ID expires. More...
 
UploadedImage Image [get, set]
 Gets or sets the data of the image. More...
 
long MediaId [get, set]
 Gets or sets the ID of the media. More...
 
long Size [get, set]
 Gets or sets the size of the media. More...
 
UploadedVideo Video [get, set]
 Gets or sets the data of the video. More...
 
RateLimit RateLimit [get, set]
 Gets or sets the rate limit of the response. More...
 
string Json [get, set]
 Gets or sets the JSON of the response. More...
 
- Properties inherited from CoreTweet.Core.ITwitterResponse
RateLimit RateLimit [get, set]
 Gets or sets the rate limit of the response. More...
 
string Json [get, set]
 Gets or sets the JSON of the response. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from CoreTweet.Core.CoreBase
static T Convert< T > (string json, string jsonPath="")
 Converts the JSON to a twitter object of the specified type. More...
 
static List< T > ConvertArray< T > (string json, string jsonPath)
 

Detailed Description

Represents the result of the uploaded media.

Member Function Documentation

◆ ToString()

override string CoreTweet.MediaUploadResult.ToString ( )
inline

Returns the ID of this instance.

Returns
The ID of this instance.

Property Documentation

◆ ExpiresAfterSecs

int CoreTweet.MediaUploadResult.ExpiresAfterSecs
getset

Gets or sets the remaining time before the media ID expires.

◆ Image

UploadedImage CoreTweet.MediaUploadResult.Image
getset

Gets or sets the data of the image.

◆ Json

string CoreTweet.MediaUploadResult.Json
getset

Gets or sets the JSON of the response.

◆ MediaId

long CoreTweet.MediaUploadResult.MediaId
getset

Gets or sets the ID of the media.

◆ RateLimit

RateLimit CoreTweet.MediaUploadResult.RateLimit
getset

Gets or sets the rate limit of the response.

This property will always be null when obtained from (most of) the POST endpoints, unless the rate is explicitly stated in the Twitter official documentation.

◆ Size

long CoreTweet.MediaUploadResult.Size
getset

Gets or sets the size of the media.

◆ Video

UploadedVideo CoreTweet.MediaUploadResult.Video
getset

Gets or sets the data of the video.


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