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