1/******************************************************************************
2 * THIS FILE IS GENERATED - ANY EDITS WILL BE OVERWRITTEN
3 */
4
5#pragma once
6
7#include <Quotient/jobs/basejob.h>
8
9namespace Quotient {
10
11/*! \brief Obtain TURN server credentials.
12 *
13 * This API provides credentials for the client to use when initiating
14 * calls.
15 */
16class QUOTIENT_API GetTurnServerJob : public BaseJob {
17public:
18 /// Obtain TURN server credentials.
19 explicit GetTurnServerJob();
20
21 /*! \brief Construct a URL without creating a full-fledged job object
22 *
23 * This function can be used when a URL for GetTurnServerJob
24 * is necessary but the job itself isn't.
25 */
26 static QUrl makeRequestUrl(QUrl baseUrl);
27
28 // Result properties
29
30 /// The TURN server credentials.
31 QJsonObject data() const { return fromJson<QJsonObject>(json: jsonData()); }
32};
33
34} // namespace Quotient
35