|
Oddity
|
Represents an entry point of /rockets endpoint. More...
Public Member Functions | |
| RocketsEndpoint (OddityCore context) | |
| Initializes a new instance of the RocketsEndpoint<TData> class. More... | |
| SimpleBuilder< TData > | Get (string id) |
| Gets data about the specified rocket from the /rockets/:id endpoint. More... | |
| ListBuilder< TData > | GetAll () |
| Gets data about all rockets from the /rockets endpoint. More... | |
| QueryBuilder< TData > | Query () |
| Gets filtered and paginated data about all rockets from the /rockets/query endpoint. More... | |
Public Member Functions inherited from Oddity.Endpoints.EndpointBase< TData > | |
| int | ClearCache () |
| Clears all cached data. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Oddity.Endpoints.EndpointBase< TData > | |
| EndpointBase (OddityCore context, int cacheLifetime) | |
| Initializes a new instance of the EndpointBase<TData> class. More... | |
Protected Attributes inherited from Oddity.Endpoints.EndpointBase< TData > | |
| readonly OddityCore | Context |
| readonly CacheService< TData > | Cache |
Represents an entry point of /rockets endpoint.
| TData | Type of the data returned from API. |
| TData | : | ModelBase | |
| TData | : | IIdentifiable | |
| TData | : | new() |
| Oddity.Endpoints.RocketsEndpoint< TData >.RocketsEndpoint | ( | OddityCore | context | ) |
Initializes a new instance of the RocketsEndpoint<TData> class.
| context | The Oddity context used to interact with API. |
| SimpleBuilder<TData> Oddity.Endpoints.RocketsEndpoint< TData >.Get | ( | string | id | ) |
Gets data about the specified rocket from the /rockets/:id endpoint.
| id | ID of the specified rocket. |
| ListBuilder<TData> Oddity.Endpoints.RocketsEndpoint< TData >.GetAll | ( | ) |
Gets data about all rockets from the /rockets endpoint.
| QueryBuilder<TData> Oddity.Endpoints.RocketsEndpoint< TData >.Query | ( | ) |
Gets filtered and paginated data about all rockets from the /rockets/query endpoint.