Oddity
|
Represents an entry point of /cores endpoint. More...
Public Member Functions | |
CoresEndpoint (OddityCore context) | |
Initializes a new instance of the CoresEndpoint<TData> class. More... | |
SimpleBuilder< TData > | Get (string id) |
Gets data about the specified core from the /cores/:id endpoint. More... | |
ListBuilder< TData > | GetAll () |
Gets data about all cores from the /cores endpoint. More... | |
QueryBuilder< TData > | Query () |
Gets filtered and paginated data about all cores from the /cores/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 /cores endpoint.
TData | Type of the data returned from API. |
TData | : | ModelBase | |
TData | : | IIdentifiable | |
TData | : | new() |
Oddity.Endpoints.CoresEndpoint< TData >.CoresEndpoint | ( | OddityCore | context | ) |
Initializes a new instance of the CoresEndpoint<TData> class.
context | The Oddity context used to interact with API. |
SimpleBuilder<TData> Oddity.Endpoints.CoresEndpoint< TData >.Get | ( | string | id | ) |
Gets data about the specified core from the /cores/:id endpoint.
id | ID of the specified cores. |
ListBuilder<TData> Oddity.Endpoints.CoresEndpoint< TData >.GetAll | ( | ) |
Gets data about all cores from the /cores endpoint.
QueryBuilder<TData> Oddity.Endpoints.CoresEndpoint< TData >.Query | ( | ) |
Gets filtered and paginated data about all cores from the /cores/query endpoint.