1#ifndef TENDUKE_SE_LICENSING_REST_DEFAULTDESCRIBELICENSECONSUMERLICENSEESREQUEST_H
2#define TENDUKE_SE_LICENSING_REST_DEFAULTDESCRIBELICENSECONSUMERLICENSEESREQUEST_H
4#include "./DescribeLicenseConsumerLicenseesRequest.h"
5#include "../../../rest/AbstractPagingAPIRequest.h"
6#include "../../../rest/RESTConfiguration.h"
7#include "http/HTTPClient.h"
8#include "http/HTTPRequestAuthenticator.h"
9#include "http/HTTPResponseToException.h"
10#include "json/JSONParser.h"
34 const ::tenduke::se::rest::RESTConfiguration &restConfiguration
35 ,
const std::shared_ptr<const ::tenduke::http::HTTPClient> &httpClient
37 ,
const std::shared_ptr<const ::tenduke::http::HTTPResponseToException> &
throwException
38 ,
const std::shared_ptr<const ::tenduke::json::JSONParser> &jsonParser
39 , const ::tenduke::se::Paging &paging
40 , std::string licenseConsumerId
44 std::vector<::tenduke::se::licensing::Licensee>
execute()
override;
47 std::vector<::tenduke::se::licensing::Licensee>
fromJSON(
const std::string &responseBody)
const override;
51 const std::string licenseConsumerId;
DefaultDescribeLicenseConsumerLicenseesRequest(const ::tenduke::se::rest::RESTConfiguration &restConfiguration, const std::shared_ptr< const ::tenduke::http::HTTPClient > &httpClient, const std::shared_ptr< const ::tenduke::http::HTTPRequestAuthenticator > &httpRequestAuthenticator, const std::shared_ptr< const ::tenduke::http::HTTPResponseToException > &throwException, const std::shared_ptr< const ::tenduke::json::JSONParser > &jsonParser, const ::tenduke::se::Paging &paging, std::string licenseConsumerId)
Constructs new instance.
Definition DefaultDescribeLicenseConsumerLicenseesRequest.cpp:62
Very simple URL-builder.
Definition URLBuilder.h:23
const std::shared_ptr< const ::tenduke::http::HTTPResponseToException > throwException
Definition AbstractAPIRequestMixin.h:114
const std::shared_ptr< const ::tenduke::http::HTTPRequestAuthenticator > httpRequestAuthenticator
Definition AbstractAPIRequestMixin.h:111
Abstract base class for API-requests, which support paging.
Definition AbstractPagingAPIRequest.h:17
std::vector<::tenduke::se::licensing::Licensee > fromJSON(const std::string &responseBody) const override
Converts the response body from JSON to the response type.
Definition DefaultDescribeLicenseConsumerLicenseesRequest.cpp:33
DefaultDescribeLicenseConsumerLicenseesRequest(const ::tenduke::se::rest::RESTConfiguration &restConfiguration, const std::shared_ptr< const ::tenduke::http::HTTPClient > &httpClient, const std::shared_ptr< const ::tenduke::http::HTTPRequestAuthenticator > &httpRequestAuthenticator, const std::shared_ptr< const ::tenduke::http::HTTPResponseToException > &throwException, const std::shared_ptr< const ::tenduke::json::JSONParser > &jsonParser, const ::tenduke::se::Paging &paging, std::string licenseConsumerId)
Constructs new instance.
Definition DefaultDescribeLicenseConsumerLicenseesRequest.cpp:62
std::vector<::tenduke::se::licensing::Licensee > execute() override
Execute the request synchronously.
Definition DefaultDescribeLicenseConsumerLicenseesRequest.cpp:19
void buildUrl(::tenduke::net::URLBuilder &) const override
Builds the request URL.
Definition DefaultDescribeLicenseConsumerLicenseesRequest.cpp:24
Low-level services for performing licensing REST-requests.
Definition DefaultDescribeLicenseConsumerClientBindingsRequest.h:9
::tenduke::se::APIRequest< std::vector<::tenduke::se::licensing::Licensee > > DescribeLicenseConsumerLicenseesRequest
Describe license consumer licesees request.
Definition DescribeLicenseConsumerLicenseesRequest.h:15
Licensing operations for 10Duke Scale.
Definition LicenseConsumerClientBindingStatus.h:8
Classes, functions and globals of 10Duke Scale C++ Client.
Definition AbstractClientFactory.h:16
Root for classes, functions and globals of 10Duke C++ Client.
Definition AbstractClientFactory.h:16