Oddity
|
Represents an entry point of /launches endpoint. More...
Public Member Functions | |
LaunchesEndpoint (OddityCore context) | |
Initializes a new instance of the LaunchesEndpoint<TData> class. More... | |
SimpleBuilder< TData > | Get (string id) |
Gets data about the specified launch from the /launches/:id endpoint. More... | |
SimpleBuilder< TData > | GetLatest () |
Gets data about the latest launch from the /launches/latest endpoint. More... | |
SimpleBuilder< TData > | GetNext () |
Gets data about the next launch from the /launches/next endpoint. More... | |
ListBuilder< TData > | GetAll () |
Gets data about all launches from the /launches endpoint. More... | |
ListBuilder< TData > | GetPast () |
Gets data about all past launches from the /launches/past endpoint. More... | |
ListBuilder< TData > | GetUpcoming () |
Gets data about all upcoming launches from the /launches/upcoming endpoint. More... | |
QueryBuilder< TData > | Query () |
Gets filtered and paginated data about all launches from the /launches/query endpoint. More... | |
![]() | |
int | ClearCache () |
Clears all cached data. More... | |
Additional Inherited Members | |
![]() | |
EndpointBase (OddityCore context, int cacheLifetime) | |
Initializes a new instance of the EndpointBase<TData> class. More... | |
![]() | |
readonly OddityCore | Context |
readonly CacheService< TData > | Cache |
Represents an entry point of /launches endpoint.
TData | Type of the data returned from API. |
TData | : | ModelBase | |
TData | : | IIdentifiable | |
TData | : | new() |
Oddity.Endpoints.LaunchesEndpoint< TData >.LaunchesEndpoint | ( | OddityCore | context | ) |
Initializes a new instance of the LaunchesEndpoint<TData> class.
context | The Oddity context used to interact with API. |
SimpleBuilder<TData> Oddity.Endpoints.LaunchesEndpoint< TData >.Get | ( | string | id | ) |
Gets data about the specified launch from the /launches/:id endpoint.
id | ID of the specified launch. |
ListBuilder<TData> Oddity.Endpoints.LaunchesEndpoint< TData >.GetAll | ( | ) |
Gets data about all launches from the /launches endpoint.
SimpleBuilder<TData> Oddity.Endpoints.LaunchesEndpoint< TData >.GetLatest | ( | ) |
Gets data about the latest launch from the /launches/latest endpoint.
SimpleBuilder<TData> Oddity.Endpoints.LaunchesEndpoint< TData >.GetNext | ( | ) |
Gets data about the next launch from the /launches/next endpoint.
ListBuilder<TData> Oddity.Endpoints.LaunchesEndpoint< TData >.GetPast | ( | ) |
Gets data about all past launches from the /launches/past endpoint.
ListBuilder<TData> Oddity.Endpoints.LaunchesEndpoint< TData >.GetUpcoming | ( | ) |
Gets data about all upcoming launches from the /launches/upcoming endpoint.
QueryBuilder<TData> Oddity.Endpoints.LaunchesEndpoint< TData >.Query | ( | ) |
Gets filtered and paginated data about all launches from the /launches/query endpoint.