/*
 * This file was generated by qdbusxml2cpp version 0.8
 * Source file was org.freedesktop.systemd1.Unit.xml
 *
 * qdbusxml2cpp is Copyright (C) The Qt Company Ltd. and other contributors.
 *
 * This is an auto-generated file.
 * Do not edit! All changes made to it will be lost.
 */

#ifndef UNITINTERFACE_H
#define UNITINTERFACE_H

#include <QtCore/QObject>
#include <QtCore/QByteArray>
#include <QtCore/QList>
#include <QtCore/QMap>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariant>
#include <QtDBus/QtDBus>

/*
 * Proxy class for interface org.freedesktop.systemd1.Unit
 */
class OrgFreedesktopSystemd1UnitInterface: public QDBusAbstractInterface
{
    Q_OBJECT
public:
    static inline const char *staticInterfaceName()
    { return "org.freedesktop.systemd1.Unit"; }

public:
    OrgFreedesktopSystemd1UnitInterface(const QString &service, const QString &path, const QDBusConnection &connection, QObject *parent = nullptr);

    ~OrgFreedesktopSystemd1UnitInterface();

    Q_PROPERTY(qulonglong ActiveEnterTimestamp READ activeEnterTimestamp)
    inline qulonglong activeEnterTimestamp() const
    { return qvariant_cast< qulonglong >(property("ActiveEnterTimestamp")); }

    Q_PROPERTY(qulonglong ActiveEnterTimestampMonotonic READ activeEnterTimestampMonotonic)
    inline qulonglong activeEnterTimestampMonotonic() const
    { return qvariant_cast< qulonglong >(property("ActiveEnterTimestampMonotonic")); }

    Q_PROPERTY(qulonglong ActiveExitTimestamp READ activeExitTimestamp)
    inline qulonglong activeExitTimestamp() const
    { return qvariant_cast< qulonglong >(property("ActiveExitTimestamp")); }

    Q_PROPERTY(qulonglong ActiveExitTimestampMonotonic READ activeExitTimestampMonotonic)
    inline qulonglong activeExitTimestampMonotonic() const
    { return qvariant_cast< qulonglong >(property("ActiveExitTimestampMonotonic")); }

    Q_PROPERTY(QString ActiveState READ activeState)
    inline QString activeState() const
    { return qvariant_cast< QString >(property("ActiveState")); }

    Q_PROPERTY(QStringList After READ after)
    inline QStringList after() const
    { return qvariant_cast< QStringList >(property("After")); }

    Q_PROPERTY(bool AllowIsolate READ allowIsolate)
    inline bool allowIsolate() const
    { return qvariant_cast< bool >(property("AllowIsolate")); }

    Q_PROPERTY(bool AssertResult READ assertResult)
    inline bool assertResult() const
    { return qvariant_cast< bool >(property("AssertResult")); }

    Q_PROPERTY(qulonglong AssertTimestamp READ assertTimestamp)
    inline qulonglong assertTimestamp() const
    { return qvariant_cast< qulonglong >(property("AssertTimestamp")); }

    Q_PROPERTY(qulonglong AssertTimestampMonotonic READ assertTimestampMonotonic)
    inline qulonglong assertTimestampMonotonic() const
    { return qvariant_cast< qulonglong >(property("AssertTimestampMonotonic")); }

    Q_PROPERTY(QStringList Before READ before)
    inline QStringList before() const
    { return qvariant_cast< QStringList >(property("Before")); }

    Q_PROPERTY(QStringList BindsTo READ bindsTo)
    inline QStringList bindsTo() const
    { return qvariant_cast< QStringList >(property("BindsTo")); }

    Q_PROPERTY(QStringList BoundBy READ boundBy)
    inline QStringList boundBy() const
    { return qvariant_cast< QStringList >(property("BoundBy")); }

    Q_PROPERTY(bool CanIsolate READ canIsolate)
    inline bool canIsolate() const
    { return qvariant_cast< bool >(property("CanIsolate")); }

    Q_PROPERTY(bool CanReload READ canReload)
    inline bool canReload() const
    { return qvariant_cast< bool >(property("CanReload")); }

    Q_PROPERTY(bool CanStart READ canStart)
    inline bool canStart() const
    { return qvariant_cast< bool >(property("CanStart")); }

    Q_PROPERTY(bool CanStop READ canStop)
    inline bool canStop() const
    { return qvariant_cast< bool >(property("CanStop")); }

    Q_PROPERTY(bool ConditionResult READ conditionResult)
    inline bool conditionResult() const
    { return qvariant_cast< bool >(property("ConditionResult")); }

    Q_PROPERTY(qulonglong ConditionTimestamp READ conditionTimestamp)
    inline qulonglong conditionTimestamp() const
    { return qvariant_cast< qulonglong >(property("ConditionTimestamp")); }

    Q_PROPERTY(qulonglong ConditionTimestampMonotonic READ conditionTimestampMonotonic)
    inline qulonglong conditionTimestampMonotonic() const
    { return qvariant_cast< qulonglong >(property("ConditionTimestampMonotonic")); }

    Q_PROPERTY(QStringList ConflictedBy READ conflictedBy)
    inline QStringList conflictedBy() const
    { return qvariant_cast< QStringList >(property("ConflictedBy")); }

    Q_PROPERTY(QStringList Conflicts READ conflicts)
    inline QStringList conflicts() const
    { return qvariant_cast< QStringList >(property("Conflicts")); }

    Q_PROPERTY(QStringList ConsistsOf READ consistsOf)
    inline QStringList consistsOf() const
    { return qvariant_cast< QStringList >(property("ConsistsOf")); }

    Q_PROPERTY(bool DefaultDependencies READ defaultDependencies)
    inline bool defaultDependencies() const
    { return qvariant_cast< bool >(property("DefaultDependencies")); }

    Q_PROPERTY(QString Description READ description)
    inline QString description() const
    { return qvariant_cast< QString >(property("Description")); }

    Q_PROPERTY(QStringList Documentation READ documentation)
    inline QStringList documentation() const
    { return qvariant_cast< QStringList >(property("Documentation")); }

    Q_PROPERTY(QStringList DropInPaths READ dropInPaths)
    inline QStringList dropInPaths() const
    { return qvariant_cast< QStringList >(property("DropInPaths")); }

    Q_PROPERTY(QString Following READ following)
    inline QString following() const
    { return qvariant_cast< QString >(property("Following")); }

    Q_PROPERTY(QString FragmentPath READ fragmentPath)
    inline QString fragmentPath() const
    { return qvariant_cast< QString >(property("FragmentPath")); }

    Q_PROPERTY(QString Id READ id)
    inline QString id() const
    { return qvariant_cast< QString >(property("Id")); }

    Q_PROPERTY(bool IgnoreOnIsolate READ ignoreOnIsolate)
    inline bool ignoreOnIsolate() const
    { return qvariant_cast< bool >(property("IgnoreOnIsolate")); }

    Q_PROPERTY(qulonglong InactiveEnterTimestamp READ inactiveEnterTimestamp)
    inline qulonglong inactiveEnterTimestamp() const
    { return qvariant_cast< qulonglong >(property("InactiveEnterTimestamp")); }

    Q_PROPERTY(qulonglong InactiveEnterTimestampMonotonic READ inactiveEnterTimestampMonotonic)
    inline qulonglong inactiveEnterTimestampMonotonic() const
    { return qvariant_cast< qulonglong >(property("InactiveEnterTimestampMonotonic")); }

    Q_PROPERTY(qulonglong InactiveExitTimestamp READ inactiveExitTimestamp)
    inline qulonglong inactiveExitTimestamp() const
    { return qvariant_cast< qulonglong >(property("InactiveExitTimestamp")); }

    Q_PROPERTY(qulonglong InactiveExitTimestampMonotonic READ inactiveExitTimestampMonotonic)
    inline qulonglong inactiveExitTimestampMonotonic() const
    { return qvariant_cast< qulonglong >(property("InactiveExitTimestampMonotonic")); }

    Q_PROPERTY(QByteArray InvocationID READ invocationID)
    inline QByteArray invocationID() const
    { return qvariant_cast< QByteArray >(property("InvocationID")); }

    Q_PROPERTY(QString JobTimeoutAction READ jobTimeoutAction)
    inline QString jobTimeoutAction() const
    { return qvariant_cast< QString >(property("JobTimeoutAction")); }

    Q_PROPERTY(QString JobTimeoutRebootArgument READ jobTimeoutRebootArgument)
    inline QString jobTimeoutRebootArgument() const
    { return qvariant_cast< QString >(property("JobTimeoutRebootArgument")); }

    Q_PROPERTY(qulonglong JobTimeoutUSec READ jobTimeoutUSec)
    inline qulonglong jobTimeoutUSec() const
    { return qvariant_cast< qulonglong >(property("JobTimeoutUSec")); }

    Q_PROPERTY(QStringList JoinsNamespaceOf READ joinsNamespaceOf)
    inline QStringList joinsNamespaceOf() const
    { return qvariant_cast< QStringList >(property("JoinsNamespaceOf")); }

    Q_PROPERTY(QString LoadState READ loadState)
    inline QString loadState() const
    { return qvariant_cast< QString >(property("LoadState")); }

    Q_PROPERTY(QStringList Names READ names)
    inline QStringList names() const
    { return qvariant_cast< QStringList >(property("Names")); }

    Q_PROPERTY(bool NeedDaemonReload READ needDaemonReload)
    inline bool needDaemonReload() const
    { return qvariant_cast< bool >(property("NeedDaemonReload")); }

    Q_PROPERTY(QStringList OnFailure READ onFailure)
    inline QStringList onFailure() const
    { return qvariant_cast< QStringList >(property("OnFailure")); }

    Q_PROPERTY(QString OnFailureJobMode READ onFailureJobMode)
    inline QString onFailureJobMode() const
    { return qvariant_cast< QString >(property("OnFailureJobMode")); }

    Q_PROPERTY(QStringList PartOf READ partOf)
    inline QStringList partOf() const
    { return qvariant_cast< QStringList >(property("PartOf")); }

    Q_PROPERTY(bool Perpetual READ perpetual)
    inline bool perpetual() const
    { return qvariant_cast< bool >(property("Perpetual")); }

    Q_PROPERTY(QStringList PropagatesReloadTo READ propagatesReloadTo)
    inline QStringList propagatesReloadTo() const
    { return qvariant_cast< QStringList >(property("PropagatesReloadTo")); }

    Q_PROPERTY(QString RebootArgument READ rebootArgument)
    inline QString rebootArgument() const
    { return qvariant_cast< QString >(property("RebootArgument")); }

    Q_PROPERTY(bool RefuseManualStart READ refuseManualStart)
    inline bool refuseManualStart() const
    { return qvariant_cast< bool >(property("RefuseManualStart")); }

    Q_PROPERTY(bool RefuseManualStop READ refuseManualStop)
    inline bool refuseManualStop() const
    { return qvariant_cast< bool >(property("RefuseManualStop")); }

    Q_PROPERTY(QStringList ReloadPropagatedFrom READ reloadPropagatedFrom)
    inline QStringList reloadPropagatedFrom() const
    { return qvariant_cast< QStringList >(property("ReloadPropagatedFrom")); }

    Q_PROPERTY(QStringList RequiredBy READ requiredBy)
    inline QStringList requiredBy() const
    { return qvariant_cast< QStringList >(property("RequiredBy")); }

    Q_PROPERTY(QStringList RequiresMountsFor READ requiresMountsFor)
    inline QStringList requiresMountsFor() const
    { return qvariant_cast< QStringList >(property("RequiresMountsFor")); }

    Q_PROPERTY(QStringList Requisite READ requisite)
    inline QStringList requisite() const
    { return qvariant_cast< QStringList >(property("Requisite")); }

    Q_PROPERTY(QStringList RequisiteOf READ requisiteOf)
    inline QStringList requisiteOf() const
    { return qvariant_cast< QStringList >(property("RequisiteOf")); }

    Q_PROPERTY(QString SourcePath READ sourcePath)
    inline QString sourcePath() const
    { return qvariant_cast< QString >(property("SourcePath")); }

    Q_PROPERTY(QString StartLimitAction READ startLimitAction)
    inline QString startLimitAction() const
    { return qvariant_cast< QString >(property("StartLimitAction")); }

    Q_PROPERTY(uint StartLimitBurst READ startLimitBurst)
    inline uint startLimitBurst() const
    { return qvariant_cast< uint >(property("StartLimitBurst")); }

    Q_PROPERTY(qulonglong StartLimitIntervalSec READ startLimitIntervalSec)
    inline qulonglong startLimitIntervalSec() const
    { return qvariant_cast< qulonglong >(property("StartLimitIntervalSec")); }

    Q_PROPERTY(qulonglong StateChangeTimestamp READ stateChangeTimestamp)
    inline qulonglong stateChangeTimestamp() const
    { return qvariant_cast< qulonglong >(property("StateChangeTimestamp")); }

    Q_PROPERTY(qulonglong StateChangeTimestampMonotonic READ stateChangeTimestampMonotonic)
    inline qulonglong stateChangeTimestampMonotonic() const
    { return qvariant_cast< qulonglong >(property("StateChangeTimestampMonotonic")); }

    Q_PROPERTY(bool StopWhenUnneeded READ stopWhenUnneeded)
    inline bool stopWhenUnneeded() const
    { return qvariant_cast< bool >(property("StopWhenUnneeded")); }

    Q_PROPERTY(QString SubState READ subState)
    inline QString subState() const
    { return qvariant_cast< QString >(property("SubState")); }

    Q_PROPERTY(bool Transient READ transient)
    inline bool transient() const
    { return qvariant_cast< bool >(property("Transient")); }

    Q_PROPERTY(QStringList TriggeredBy READ triggeredBy)
    inline QStringList triggeredBy() const
    { return qvariant_cast< QStringList >(property("TriggeredBy")); }

    Q_PROPERTY(QStringList Triggers READ triggers)
    inline QStringList triggers() const
    { return qvariant_cast< QStringList >(property("Triggers")); }

    Q_PROPERTY(QString UnitFilePreset READ unitFilePreset)
    inline QString unitFilePreset() const
    { return qvariant_cast< QString >(property("UnitFilePreset")); }

    Q_PROPERTY(QString UnitFileState READ unitFileState)
    inline QString unitFileState() const
    { return qvariant_cast< QString >(property("UnitFileState")); }

    Q_PROPERTY(QStringList WantedBy READ wantedBy)
    inline QStringList wantedBy() const
    { return qvariant_cast< QStringList >(property("WantedBy")); }

    Q_PROPERTY(QStringList Wants READ wants)
    inline QStringList wants() const
    { return qvariant_cast< QStringList >(property("Wants")); }

public Q_SLOTS: // METHODS
    inline QDBusPendingReply<> Kill(const QString &in0, int in1)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0) << QVariant::fromValue(in1);
        return asyncCallWithArgumentList(QStringLiteral("Kill"), argumentList);
    }

    inline QDBusPendingReply<> Ref()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("Ref"), argumentList);
    }

    inline QDBusPendingReply<QDBusObjectPath> Reload(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);
        return asyncCallWithArgumentList(QStringLiteral("Reload"), argumentList);
    }

    inline QDBusPendingReply<QDBusObjectPath> ReloadOrRestart(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);
        return asyncCallWithArgumentList(QStringLiteral("ReloadOrRestart"), argumentList);
    }

    inline QDBusPendingReply<QDBusObjectPath> ReloadOrTryRestart(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);
        return asyncCallWithArgumentList(QStringLiteral("ReloadOrTryRestart"), argumentList);
    }

    inline QDBusPendingReply<> ResetFailed()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("ResetFailed"), argumentList);
    }

    inline QDBusPendingReply<QDBusObjectPath> Restart(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);
        return asyncCallWithArgumentList(QStringLiteral("Restart"), argumentList);
    }

    inline QDBusPendingReply<QDBusObjectPath> Start(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);
        return asyncCallWithArgumentList(QStringLiteral("Start"), argumentList);
    }

    inline QDBusPendingReply<QDBusObjectPath> Stop(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);
        return asyncCallWithArgumentList(QStringLiteral("Stop"), argumentList);
    }

    inline QDBusPendingReply<QDBusObjectPath> TryRestart(const QString &in0)
    {
        QList<QVariant> argumentList;
        argumentList << QVariant::fromValue(in0);
        return asyncCallWithArgumentList(QStringLiteral("TryRestart"), argumentList);
    }

    inline QDBusPendingReply<> Unref()
    {
        QList<QVariant> argumentList;
        return asyncCallWithArgumentList(QStringLiteral("Unref"), argumentList);
    }

Q_SIGNALS: // SIGNALS
};

namespace org {
  namespace freedesktop {
    namespace systemd1 {
      using Unit = ::OrgFreedesktopSystemd1UnitInterface;
    }
  }
}

#endif
