|
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... | |
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 /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.