1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-05 18:22:46 +00:00

[2/3] update openapi spec: generate code

This updates the openapi spec and invokes the code generator to update
to the Jellyfin 10.10.6 API.

A big motivation to do this was because some mandatory fields have been
made obsolete and are no longer included in responses. Sailfin tries to
deserialize these mandatory fields and fails deserializing. It was evident
in the list of sessions to control.

The failing was a bit too gracefully in my opinion, it did not even show
that an error occurred, nor was it logged anywhere. It took some time
to debug.
This commit is contained in:
Chris Josten 2025-03-13 02:39:07 +01:00
parent eeb9183909
commit d685b48ec1
504 changed files with 62190 additions and 41202 deletions

View file

@ -81,11 +81,11 @@ public:
// Properties
/**
* @brief Id of the recording.
* @brief Gets or sets the Id of the recording.
*/
QString jellyfinId() const;
/**
* @brief Id of the recording.
* @brief Gets or sets the Id of the recording.
*/
void setJellyfinId(QString newJellyfinId);
bool jellyfinIdNull() const;
@ -121,11 +121,11 @@ public:
void setExternalIdNull();
/**
* @brief ChannelId of the recording.
* @brief Gets or sets the channel id of the recording.
*/
QString channelId() const;
/**
* @brief ChannelId of the recording.
* @brief Gets or sets the channel id of the recording.
*/
void setChannelId(QString newChannelId);
@ -141,11 +141,11 @@ public:
void setExternalChannelIdNull();
/**
* @brief ChannelName of the recording.
* @brief Gets or sets the channel name of the recording.
*/
QString channelName() const;
/**
* @brief ChannelName of the recording.
* @brief Gets or sets the channel name of the recording.
*/
void setChannelName(QString newChannelName);
bool channelNameNull() const;
@ -181,42 +181,42 @@ public:
void setExternalProgramIdNull();
/**
* @brief Name of the recording.
* @brief Gets or sets the name of the recording.
*/
QString name() const;
/**
* @brief Name of the recording.
* @brief Gets or sets the name of the recording.
*/
void setName(QString newName);
bool nameNull() const;
void setNameNull();
/**
* @brief Description of the recording.
* @brief Gets or sets the description of the recording.
*/
QString overview() const;
/**
* @brief Description of the recording.
* @brief Gets or sets the description of the recording.
*/
void setOverview(QString newOverview);
bool overviewNull() const;
void setOverviewNull();
/**
* @brief The start date of the recording, in UTC.
* @brief Gets or sets the start date of the recording, in UTC.
*/
QDateTime startDate() const;
/**
* @brief The start date of the recording, in UTC.
* @brief Gets or sets the start date of the recording, in UTC.
*/
void setStartDate(QDateTime newStartDate);
/**
* @brief The end date of the recording, in UTC.
* @brief Gets or sets the end date of the recording, in UTC.
*/
QDateTime endDate() const;
/**
* @brief The end date of the recording, in UTC.
* @brief Gets or sets the end date of the recording, in UTC.
*/
void setEndDate(QDateTime newEndDate);
@ -268,11 +268,11 @@ public:
void setIsPrePaddingRequired(bool newIsPrePaddingRequired);
/**
* @brief If the item does not have any backdrops, this will hold the Id of the Parent that has one.
* @brief Gets or sets the Id of the Parent that has a backdrop if the item does not have one.
*/
QString parentBackdropItemId() const;
/**
* @brief If the item does not have any backdrops, this will hold the Id of the Parent that has one.
* @brief Gets or sets the Id of the Parent that has a backdrop if the item does not have one.
*/
void setParentBackdropItemId(QString newParentBackdropItemId);
bool parentBackdropItemIdNull() const;