/* notiModel.c generated by valac 0.56.18-dirty, the Vala compiler
 * generated from notiModel.vala, do not modify */

#include <glib-object.h>
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <gio/gdesktopappinfo.h>
#include <gio/gio.h>

#if !defined(VALA_STRICT_C)
#if !defined(__clang__) && defined(__GNUC__) && (__GNUC__ >= 14)
#pragma GCC diagnostic warning "-Wincompatible-pointer-types"
#elif defined(__clang__) && (__clang_major__ >= 16)
#pragma clang diagnostic ignored "-Wincompatible-function-pointer-types"
#pragma clang diagnostic ignored "-Wincompatible-pointer-types"
#endif
#endif
#if !defined(VALA_EXTERN)
#if defined(_MSC_VER)
#define VALA_EXTERN __declspec(dllexport) extern
#elif __GNUC__ >= 4
#define VALA_EXTERN __attribute__((visibility("default"))) extern
#else
#define VALA_EXTERN extern
#endif
#endif

typedef enum  {
	SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_EXPIRED = 1,
	SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_DISMISSED = 2,
	SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_CLOSED_BY_CLOSENOTIFICATION = 3,
	SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_UNDEFINED = 4
} SwayNotificationCenterClosedReasons;

#define SWAY_NOTIFICATION_CENTER_TYPE_CLOSED_REASONS (sway_notification_center_closed_reasons_get_type ())
typedef enum  {
	SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_LOW = 0,
	SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_NORMAL = 1,
	SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_CRITICAL = 2
} SwayNotificationCenterUrgencyLevels;

#define SWAY_NOTIFICATION_CENTER_TYPE_URGENCY_LEVELS (sway_notification_center_urgency_levels_get_type ())

#define SWAY_NOTIFICATION_CENTER_TYPE_IMAGE_DATA (sway_notification_center_image_data_get_type ())
typedef struct _SwayNotificationCenterImageData SwayNotificationCenterImageData;

#define SWAY_NOTIFICATION_CENTER_TYPE_ACTION (sway_notification_center_action_get_type ())
#define SWAY_NOTIFICATION_CENTER_ACTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWAY_NOTIFICATION_CENTER_TYPE_ACTION, SwayNotificationCenterAction))
#define SWAY_NOTIFICATION_CENTER_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWAY_NOTIFICATION_CENTER_TYPE_ACTION, SwayNotificationCenterActionClass))
#define SWAY_NOTIFICATION_CENTER_IS_ACTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWAY_NOTIFICATION_CENTER_TYPE_ACTION))
#define SWAY_NOTIFICATION_CENTER_IS_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SWAY_NOTIFICATION_CENTER_TYPE_ACTION))
#define SWAY_NOTIFICATION_CENTER_ACTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWAY_NOTIFICATION_CENTER_TYPE_ACTION, SwayNotificationCenterActionClass))

typedef struct _SwayNotificationCenterAction SwayNotificationCenterAction;
typedef struct _SwayNotificationCenterActionClass SwayNotificationCenterActionClass;
typedef struct _SwayNotificationCenterActionPrivate SwayNotificationCenterActionPrivate;
enum  {
	SWAY_NOTIFICATION_CENTER_ACTION_0_PROPERTY,
	SWAY_NOTIFICATION_CENTER_ACTION_IDENTIFIER_PROPERTY,
	SWAY_NOTIFICATION_CENTER_ACTION_TEXT_PROPERTY,
	SWAY_NOTIFICATION_CENTER_ACTION_NUM_PROPERTIES
};
static GParamSpec* sway_notification_center_action_properties[SWAY_NOTIFICATION_CENTER_ACTION_NUM_PROPERTIES];
#define _g_free0(var) (var = (g_free (var), NULL))

#define SWAY_NOTIFICATION_CENTER_TYPE_NOTIFY_PARAMS (sway_notification_center_notify_params_get_type ())
#define SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFY_PARAMS, SwayNotificationCenterNotifyParams))
#define SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFY_PARAMS, SwayNotificationCenterNotifyParamsClass))
#define SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFY_PARAMS))
#define SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFY_PARAMS))
#define SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFY_PARAMS, SwayNotificationCenterNotifyParamsClass))

typedef struct _SwayNotificationCenterNotifyParams SwayNotificationCenterNotifyParams;
typedef struct _SwayNotificationCenterNotifyParamsClass SwayNotificationCenterNotifyParamsClass;
typedef struct _SwayNotificationCenterNotifyParamsPrivate SwayNotificationCenterNotifyParamsPrivate;
typedef enum  {
	SWAY_NOTIFICATION_CENTER_NOTIFICATION_STATUS_ENUM_ENABLED,
	SWAY_NOTIFICATION_CENTER_NOTIFICATION_STATUS_ENUM_MUTED,
	SWAY_NOTIFICATION_CENTER_NOTIFICATION_STATUS_ENUM_IGNORED,
	SWAY_NOTIFICATION_CENTER_NOTIFICATION_STATUS_ENUM_TRANSIENT
} SwayNotificationCenterNotificationStatusEnum;

#define SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_STATUS_ENUM (sway_notification_center_notification_status_enum_get_type ())
enum  {
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_0_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APPLIED_ID_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_NAME_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_REPLACES_ID_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_ICON_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DEFAULT_ACTION_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SUMMARY_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_BODY_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HINTS_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_EXPIRE_TIMEOUT_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TIME_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTION_ICONS_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_DATA_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ICON_DATA_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_PATH_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_ENTRY_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_CATEGORY_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_NAME_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_FILE_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_RESIDENT_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TRANSIENT_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_URGENCY_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SYNCHRONOUS_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_VALUE_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HAS_SYNCH_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PLACEHOLDER_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_NO_SCRIPT_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_BYPASS_DND_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTIONS_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_APP_INFO_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_NAME_ID_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DISPLAY_NAME_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_STATUS_STATE_PROPERTY,
	SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_NUM_PROPERTIES
};
static GParamSpec* sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_NUM_PROPERTIES];
#define _g_object_unref0(var) ((var == NULL) ? NULL : (var = (g_object_unref (var), NULL)))
#define _g_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (g_hash_table_unref (var), NULL)))
#define _g_array_unref0(var) ((var == NULL) ? NULL : (var = (g_array_unref (var), NULL)))
#define _g_regex_unref0(var) ((var == NULL) ? NULL : (var = (g_regex_unref (var), NULL)))

#define SWAY_NOTIFICATION_CENTER_TYPE_ORDERED_HASH_TABLE (sway_notification_center_ordered_hash_table_get_type ())
#define SWAY_NOTIFICATION_CENTER_ORDERED_HASH_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWAY_NOTIFICATION_CENTER_TYPE_ORDERED_HASH_TABLE, SwayNotificationCenterOrderedHashTable))
#define SWAY_NOTIFICATION_CENTER_ORDERED_HASH_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWAY_NOTIFICATION_CENTER_TYPE_ORDERED_HASH_TABLE, SwayNotificationCenterOrderedHashTableClass))
#define SWAY_NOTIFICATION_CENTER_IS_ORDERED_HASH_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWAY_NOTIFICATION_CENTER_TYPE_ORDERED_HASH_TABLE))
#define SWAY_NOTIFICATION_CENTER_IS_ORDERED_HASH_TABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SWAY_NOTIFICATION_CENTER_TYPE_ORDERED_HASH_TABLE))
#define SWAY_NOTIFICATION_CENTER_ORDERED_HASH_TABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWAY_NOTIFICATION_CENTER_TYPE_ORDERED_HASH_TABLE, SwayNotificationCenterOrderedHashTableClass))

typedef struct _SwayNotificationCenterOrderedHashTable SwayNotificationCenterOrderedHashTable;
typedef struct _SwayNotificationCenterOrderedHashTableClass SwayNotificationCenterOrderedHashTableClass;

#define SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_MATCHING (sway_notification_center_notification_matching_get_type ())
#define SWAY_NOTIFICATION_CENTER_NOTIFICATION_MATCHING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_MATCHING, SwayNotificationCenterNotificationMatching))
#define SWAY_NOTIFICATION_CENTER_NOTIFICATION_MATCHING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_MATCHING, SwayNotificationCenterNotificationMatchingClass))
#define SWAY_NOTIFICATION_CENTER_IS_NOTIFICATION_MATCHING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_MATCHING))
#define SWAY_NOTIFICATION_CENTER_IS_NOTIFICATION_MATCHING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_MATCHING))
#define SWAY_NOTIFICATION_CENTER_NOTIFICATION_MATCHING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_MATCHING, SwayNotificationCenterNotificationMatchingClass))

typedef struct _SwayNotificationCenterNotificationMatching SwayNotificationCenterNotificationMatching;
typedef struct _SwayNotificationCenterNotificationMatchingClass SwayNotificationCenterNotificationMatchingClass;

#define SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_VISIBILITY (sway_notification_center_notification_visibility_get_type ())
#define SWAY_NOTIFICATION_CENTER_NOTIFICATION_VISIBILITY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_VISIBILITY, SwayNotificationCenterNotificationVisibility))
#define SWAY_NOTIFICATION_CENTER_NOTIFICATION_VISIBILITY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_VISIBILITY, SwayNotificationCenterNotificationVisibilityClass))
#define SWAY_NOTIFICATION_CENTER_IS_NOTIFICATION_VISIBILITY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_VISIBILITY))
#define SWAY_NOTIFICATION_CENTER_IS_NOTIFICATION_VISIBILITY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_VISIBILITY))
#define SWAY_NOTIFICATION_CENTER_NOTIFICATION_VISIBILITY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_VISIBILITY, SwayNotificationCenterNotificationVisibilityClass))

typedef struct _SwayNotificationCenterNotificationVisibility SwayNotificationCenterNotificationVisibility;
typedef struct _SwayNotificationCenterNotificationVisibilityClass SwayNotificationCenterNotificationVisibilityClass;

#define SWAY_NOTIFICATION_CENTER_TYPE_CONFIG_MODEL (sway_notification_center_config_model_get_type ())
#define SWAY_NOTIFICATION_CENTER_CONFIG_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWAY_NOTIFICATION_CENTER_TYPE_CONFIG_MODEL, SwayNotificationCenterConfigModel))
#define SWAY_NOTIFICATION_CENTER_CONFIG_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWAY_NOTIFICATION_CENTER_TYPE_CONFIG_MODEL, SwayNotificationCenterConfigModelClass))
#define SWAY_NOTIFICATION_CENTER_IS_CONFIG_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWAY_NOTIFICATION_CENTER_TYPE_CONFIG_MODEL))
#define SWAY_NOTIFICATION_CENTER_IS_CONFIG_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SWAY_NOTIFICATION_CENTER_TYPE_CONFIG_MODEL))
#define SWAY_NOTIFICATION_CENTER_CONFIG_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWAY_NOTIFICATION_CENTER_TYPE_CONFIG_MODEL, SwayNotificationCenterConfigModelClass))

typedef struct _SwayNotificationCenterConfigModel SwayNotificationCenterConfigModel;
typedef struct _SwayNotificationCenterConfigModelClass SwayNotificationCenterConfigModelClass;
typedef enum  {
	SWAY_NOTIFICATION_CENTER_NOTIFICATION_URGENCY_ENUM_UNSET = -1,
	SWAY_NOTIFICATION_CENTER_NOTIFICATION_URGENCY_ENUM_LOW = SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_LOW,
	SWAY_NOTIFICATION_CENTER_NOTIFICATION_URGENCY_ENUM_NORMAL = SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_NORMAL,
	SWAY_NOTIFICATION_CENTER_NOTIFICATION_URGENCY_ENUM_CRITICAL = SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_CRITICAL
} SwayNotificationCenterNotificationUrgencyEnum;

#define SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_URGENCY_ENUM (sway_notification_center_notification_urgency_enum_get_type ())
#define _g_variant_unref0(var) ((var == NULL) ? NULL : (var = (g_variant_unref (var), NULL)))

#define SWAY_NOTIFICATION_CENTER_TYPE_ACTION_MATCHING (sway_notification_center_action_matching_get_type ())
#define SWAY_NOTIFICATION_CENTER_ACTION_MATCHING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), SWAY_NOTIFICATION_CENTER_TYPE_ACTION_MATCHING, SwayNotificationCenterActionMatching))
#define SWAY_NOTIFICATION_CENTER_ACTION_MATCHING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), SWAY_NOTIFICATION_CENTER_TYPE_ACTION_MATCHING, SwayNotificationCenterActionMatchingClass))
#define SWAY_NOTIFICATION_CENTER_IS_ACTION_MATCHING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), SWAY_NOTIFICATION_CENTER_TYPE_ACTION_MATCHING))
#define SWAY_NOTIFICATION_CENTER_IS_ACTION_MATCHING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), SWAY_NOTIFICATION_CENTER_TYPE_ACTION_MATCHING))
#define SWAY_NOTIFICATION_CENTER_ACTION_MATCHING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), SWAY_NOTIFICATION_CENTER_TYPE_ACTION_MATCHING, SwayNotificationCenterActionMatchingClass))

typedef struct _SwayNotificationCenterActionMatching SwayNotificationCenterActionMatching;
typedef struct _SwayNotificationCenterActionMatchingClass SwayNotificationCenterActionMatchingClass;
#define _sway_notification_center_ordered_hash_table_unref0(var) ((var == NULL) ? NULL : (var = (sway_notification_center_ordered_hash_table_unref (var), NULL)))

struct _SwayNotificationCenterImageData {
	gint width;
	gint height;
	gint rowstride;
	gboolean has_alpha;
	gint bits_per_sample;
	gint channels;
	guint8* data;
	gint data_length1;
	gboolean is_initialized;
};

struct _SwayNotificationCenterAction {
	GObject parent_instance;
	SwayNotificationCenterActionPrivate * priv;
};

struct _SwayNotificationCenterActionClass {
	GObjectClass parent_class;
};

struct _SwayNotificationCenterActionPrivate {
	gchar* _identifier;
	gchar* _text;
};

struct _SwayNotificationCenterNotifyParams {
	GObject parent_instance;
	SwayNotificationCenterNotifyParamsPrivate * priv;
};

struct _SwayNotificationCenterNotifyParamsClass {
	GObjectClass parent_class;
};

struct _SwayNotificationCenterNotifyParamsPrivate {
	guint32 _applied_id;
	gchar* _app_name;
	guint32 _replaces_id;
	gchar* _app_icon;
	SwayNotificationCenterAction* _default_action;
	gchar* _summary;
	gchar* _body;
	GHashTable* _hints;
	gint _expire_timeout;
	gint64 _time;
	gboolean _action_icons;
	SwayNotificationCenterImageData _image_data;
	SwayNotificationCenterImageData _icon_data;
	gchar* _image_path;
	gchar* _desktop_entry;
	gchar* _category;
	gchar* _sound_name;
	gchar* _sound_file;
	gboolean _resident;
	gboolean _transient;
	SwayNotificationCenterUrgencyLevels _urgency;
	gchar* _synchronous;
	gint _priv_value;
	gboolean _has_synch;
	SwayNotificationCenterAction* _inline_reply;
	gchar* _inline_reply_placeholder;
	gboolean _swaync_no_script;
	gboolean _swaync_bypass_dnd;
	GArray* _actions;
	GDesktopAppInfo* _desktop_app_info;
	gchar* _name_id;
	gchar* _display_name;
	SwayNotificationCenterNotificationStatusEnum _status_state;
};

static gint SwayNotificationCenterAction_private_offset;
static gpointer sway_notification_center_action_parent_class = NULL;
static gint SwayNotificationCenterNotifyParams_private_offset;
static gpointer sway_notification_center_notify_params_parent_class = NULL;

VALA_EXTERN GType sway_notification_center_closed_reasons_get_type (void) G_GNUC_CONST ;
VALA_EXTERN GType sway_notification_center_urgency_levels_get_type (void) G_GNUC_CONST ;
VALA_EXTERN SwayNotificationCenterUrgencyLevels sway_notification_center_urgency_levels_from_value (gint val);
VALA_EXTERN guint8 sway_notification_center_urgency_levels_to_byte (SwayNotificationCenterUrgencyLevels self);
VALA_EXTERN gchar* sway_notification_center_urgency_levels_to_string (SwayNotificationCenterUrgencyLevels self);
VALA_EXTERN GType sway_notification_center_image_data_get_type (void) G_GNUC_CONST ;
VALA_EXTERN SwayNotificationCenterImageData* sway_notification_center_image_data_dup (const SwayNotificationCenterImageData* self);
VALA_EXTERN void sway_notification_center_image_data_free (SwayNotificationCenterImageData* self);
VALA_EXTERN GType sway_notification_center_action_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SwayNotificationCenterAction, g_object_unref)
VALA_EXTERN SwayNotificationCenterAction* sway_notification_center_action_new (const gchar* identifier,
                                                                   const gchar* text);
VALA_EXTERN SwayNotificationCenterAction* sway_notification_center_action_construct (GType object_type,
                                                                         const gchar* identifier,
                                                                         const gchar* text);
VALA_EXTERN gchar* sway_notification_center_action_to_string (SwayNotificationCenterAction* self);
VALA_EXTERN const gchar* sway_notification_center_action_get_identifier (SwayNotificationCenterAction* self);
VALA_EXTERN const gchar* sway_notification_center_action_get_text (SwayNotificationCenterAction* self);
VALA_EXTERN void sway_notification_center_action_set_identifier (SwayNotificationCenterAction* self,
                                                     const gchar* value);
VALA_EXTERN void sway_notification_center_action_set_text (SwayNotificationCenterAction* self,
                                               const gchar* value);
static void sway_notification_center_action_finalize (GObject * obj);
static GType sway_notification_center_action_get_type_once (void);
static void _vala_sway_notification_center_action_get_property (GObject * object,
                                                         guint property_id,
                                                         GValue * value,
                                                         GParamSpec * pspec);
static void _vala_sway_notification_center_action_set_property (GObject * object,
                                                         guint property_id,
                                                         const GValue * value,
                                                         GParamSpec * pspec);
VALA_EXTERN GType sway_notification_center_notify_params_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SwayNotificationCenterNotifyParams, g_object_unref)
VALA_EXTERN GType sway_notification_center_notification_status_enum_get_type (void) G_GNUC_CONST ;
VALA_EXTERN SwayNotificationCenterNotifyParams* sway_notification_center_notify_params_new (guint32 applied_id,
                                                                                const gchar* app_name,
                                                                                guint32 replaces_id,
                                                                                const gchar* app_icon,
                                                                                const gchar* summary,
                                                                                const gchar* body,
                                                                                gchar** actions,
                                                                                gint actions_length1,
                                                                                GHashTable* hints,
                                                                                gint expire_timeout);
VALA_EXTERN SwayNotificationCenterNotifyParams* sway_notification_center_notify_params_construct (GType object_type,
                                                                                      guint32 applied_id,
                                                                                      const gchar* app_name,
                                                                                      guint32 replaces_id,
                                                                                      const gchar* app_icon,
                                                                                      const gchar* summary,
                                                                                      const gchar* body,
                                                                                      gchar** actions,
                                                                                      gint actions_length1,
                                                                                      GHashTable* hints,
                                                                                      gint expire_timeout);
static void sway_notification_center_notify_params_set_applied_id (SwayNotificationCenterNotifyParams* self,
                                                            guint32 value);
static void sway_notification_center_notify_params_set_app_name (SwayNotificationCenterNotifyParams* self,
                                                          const gchar* value);
static void sway_notification_center_notify_params_set_replaces_id (SwayNotificationCenterNotifyParams* self,
                                                             guint32 value);
static void sway_notification_center_notify_params_set_app_icon (SwayNotificationCenterNotifyParams* self,
                                                          const gchar* value);
static void sway_notification_center_notify_params_set_summary (SwayNotificationCenterNotifyParams* self,
                                                         const gchar* value);
static void sway_notification_center_notify_params_set_body (SwayNotificationCenterNotifyParams* self,
                                                      const gchar* value);
static void sway_notification_center_notify_params_set_hints (SwayNotificationCenterNotifyParams* self,
                                                       GHashTable* value);
static void sway_notification_center_notify_params_set_expire_timeout (SwayNotificationCenterNotifyParams* self,
                                                                gint value);
static void sway_notification_center_notify_params_set_time (SwayNotificationCenterNotifyParams* self,
                                                      gint64 value);
static void sway_notification_center_notify_params_set_has_synch (SwayNotificationCenterNotifyParams* self,
                                                           gboolean value);
static void sway_notification_center_notify_params_parse_hints (SwayNotificationCenterNotifyParams* self);
static void sway_notification_center_notify_params_parse_actions (SwayNotificationCenterNotifyParams* self,
                                                           gchar** actions,
                                                           gint actions_length1);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_desktop_entry (SwayNotificationCenterNotifyParams* self);
static void _vala_array_add28 (gchar** * array,
                        gint* length,
                        gint* size,
                        gchar* value);
static void _vala_array_add29 (gchar** * array,
                        gint* length,
                        gint* size,
                        gchar* value);
static void _vala_array_add30 (gchar** * array,
                        gint* length,
                        gint* size,
                        gchar* value);
static void _vala_array_add31 (gchar** * array,
                        gint* length,
                        gint* size,
                        gchar* value);
static void sway_notification_center_notify_params_set_desktop_app_info (SwayNotificationCenterNotifyParams* self,
                                                                  GDesktopAppInfo* value);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_app_name (SwayNotificationCenterNotifyParams* self);
static void sway_notification_center_notify_params_set_name_id (SwayNotificationCenterNotifyParams* self,
                                                         const gchar* value);
VALA_EXTERN GDesktopAppInfo* sway_notification_center_notify_params_get_desktop_app_info (SwayNotificationCenterNotifyParams* self);
static void sway_notification_center_notify_params_set_display_name (SwayNotificationCenterNotifyParams* self,
                                                              const gchar* value);
static void sway_notification_center_notify_params_set_status_state (SwayNotificationCenterNotifyParams* self,
                                                              SwayNotificationCenterNotificationStatusEnum value);
VALA_EXTERN gpointer sway_notification_center_ordered_hash_table_ref (gpointer instance);
VALA_EXTERN void sway_notification_center_ordered_hash_table_unref (gpointer instance);
VALA_EXTERN GParamSpec* sway_notification_center_param_spec_ordered_hash_table (const gchar* name,
                                                                    const gchar* nick,
                                                                    const gchar* blurb,
                                                                    GType object_type,
                                                                    GParamFlags flags);
VALA_EXTERN void sway_notification_center_value_set_ordered_hash_table (GValue* value,
                                                            gpointer v_object);
VALA_EXTERN void sway_notification_center_value_take_ordered_hash_table (GValue* value,
                                                             gpointer v_object);
VALA_EXTERN gpointer sway_notification_center_value_get_ordered_hash_table (const GValue* value);
VALA_EXTERN GType sway_notification_center_ordered_hash_table_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SwayNotificationCenterOrderedHashTable, sway_notification_center_ordered_hash_table_unref)
VALA_EXTERN GType sway_notification_center_notification_matching_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SwayNotificationCenterNotificationMatching, g_object_unref)
VALA_EXTERN GType sway_notification_center_notification_visibility_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SwayNotificationCenterNotificationVisibility, g_object_unref)
VALA_EXTERN GType sway_notification_center_config_model_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SwayNotificationCenterConfigModel, g_object_unref)
VALA_EXTERN SwayNotificationCenterConfigModel* sway_notification_center_config_model_get_instance (void);
VALA_EXTERN SwayNotificationCenterOrderedHashTable* sway_notification_center_config_model_get_notification_visibility (SwayNotificationCenterConfigModel* self);
VALA_EXTERN GList* sway_notification_center_ordered_hash_table_get_keys (SwayNotificationCenterOrderedHashTable* self);
VALA_EXTERN gconstpointer sway_notification_center_ordered_hash_table_get (SwayNotificationCenterOrderedHashTable* self,
                                                               const gchar* key);
VALA_EXTERN gboolean sway_notification_center_notification_matching_matches_notification (SwayNotificationCenterNotificationMatching* self,
                                                                              SwayNotificationCenterNotifyParams* param);
VALA_EXTERN SwayNotificationCenterNotificationStatusEnum sway_notification_center_notification_visibility_get_state (SwayNotificationCenterNotificationVisibility* self);
VALA_EXTERN GType sway_notification_center_notification_urgency_enum_get_type (void) G_GNUC_CONST ;
VALA_EXTERN SwayNotificationCenterNotificationUrgencyEnum sway_notification_center_notification_visibility_get_override_urgency (SwayNotificationCenterNotificationVisibility* self);
VALA_EXTERN gchar* sway_notification_center_notification_urgency_enum_to_string (SwayNotificationCenterNotificationUrgencyEnum self);
VALA_EXTERN guint8 sway_notification_center_notification_urgency_enum_to_byte (SwayNotificationCenterNotificationUrgencyEnum self);
static void sway_notification_center_notify_params_set_urgency (SwayNotificationCenterNotifyParams* self,
                                                         SwayNotificationCenterUrgencyLevels value);
VALA_EXTERN GHashTable* sway_notification_center_notify_params_get_hints (SwayNotificationCenterNotifyParams* self);
static void sway_notification_center_notify_params_set_swaync_no_script (SwayNotificationCenterNotifyParams* self,
                                                                  gboolean value);
static void sway_notification_center_notify_params_set_swaync_bypass_dnd (SwayNotificationCenterNotifyParams* self,
                                                                   gboolean value);
static void sway_notification_center_notify_params_set_value (SwayNotificationCenterNotifyParams* self,
                                                       gint value);
static void sway_notification_center_notify_params_set_synchronous (SwayNotificationCenterNotifyParams* self,
                                                             const gchar* value);
static void sway_notification_center_notify_params_set_action_icons (SwayNotificationCenterNotifyParams* self,
                                                              gboolean value);
VALA_EXTERN void sway_notification_center_notify_params_get_image_data (SwayNotificationCenterNotifyParams* self,
                                                            SwayNotificationCenterImageData * result);
static void sway_notification_center_notify_params_set_icon_data (SwayNotificationCenterNotifyParams* self,
                                                           SwayNotificationCenterImageData * value);
static void sway_notification_center_notify_params_set_image_data (SwayNotificationCenterNotifyParams* self,
                                                            SwayNotificationCenterImageData * value);
static void sway_notification_center_notify_params_set_image_path (SwayNotificationCenterNotifyParams* self,
                                                            const gchar* value);
static void sway_notification_center_notify_params_set_desktop_entry (SwayNotificationCenterNotifyParams* self,
                                                               const gchar* value);
static void sway_notification_center_notify_params_set_category (SwayNotificationCenterNotifyParams* self,
                                                          const gchar* value);
static void sway_notification_center_notify_params_set_sound_name (SwayNotificationCenterNotifyParams* self,
                                                            const gchar* value);
static void sway_notification_center_notify_params_set_sound_file (SwayNotificationCenterNotifyParams* self,
                                                            const gchar* value);
static void sway_notification_center_notify_params_set_resident (SwayNotificationCenterNotifyParams* self,
                                                          gboolean value);
static void sway_notification_center_notify_params_set_transient (SwayNotificationCenterNotifyParams* self,
                                                           gboolean value);
static void sway_notification_center_notify_params_set_inline_reply_placeholder (SwayNotificationCenterNotifyParams* self,
                                                                          const gchar* value);
static void _g_object_unref0_ (gpointer var);
static void _vala_SwayNotificationCenterAction_free_function_content_of (gpointer data);
static void sway_notification_center_notify_params_set_actions (SwayNotificationCenterNotifyParams* self,
                                                         GArray* value);
VALA_EXTERN GType sway_notification_center_action_matching_get_type (void) G_GNUC_CONST ;
G_DEFINE_AUTOPTR_CLEANUP_FUNC (SwayNotificationCenterActionMatching, g_object_unref)
VALA_EXTERN SwayNotificationCenterOrderedHashTable* sway_notification_center_config_model_get_notification_action_filter (SwayNotificationCenterConfigModel* self);
VALA_EXTERN gboolean sway_notification_center_action_matching_matches_notification (SwayNotificationCenterActionMatching* self,
                                                                        SwayNotificationCenterNotifyParams* param);
VALA_EXTERN gboolean sway_notification_center_action_matching_matches_action (SwayNotificationCenterActionMatching* self,
                                                                  SwayNotificationCenterAction* action);
static void sway_notification_center_notify_params_set_default_action (SwayNotificationCenterNotifyParams* self,
                                                                SwayNotificationCenterAction* value);
static void sway_notification_center_notify_params_set_inline_reply (SwayNotificationCenterNotifyParams* self,
                                                              SwayNotificationCenterAction* value);
VALA_EXTERN gboolean sway_notification_center_notify_params_ignore_cc (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN SwayNotificationCenterNotificationStatusEnum sway_notification_center_notify_params_get_status_state (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN gboolean sway_notification_center_notify_params_get_transient (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN gchar* sway_notification_center_notify_params_to_string (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN SwayNotificationCenterOrderedHashTable* sway_notification_center_ordered_hash_table_new (GType t_type,
                                                                                         GBoxedCopyFunc t_dup_func,
                                                                                         GDestroyNotify t_destroy_func);
VALA_EXTERN SwayNotificationCenterOrderedHashTable* sway_notification_center_ordered_hash_table_construct (GType object_type,
                                                                                               GType t_type,
                                                                                               GBoxedCopyFunc t_dup_func,
                                                                                               GDestroyNotify t_destroy_func);
VALA_EXTERN void sway_notification_center_ordered_hash_table_insert (SwayNotificationCenterOrderedHashTable* self,
                                                         gchar* key,
                                                         gpointer value);
VALA_EXTERN guint32 sway_notification_center_notify_params_get_applied_id (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN guint32 sway_notification_center_notify_params_get_replaces_id (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_app_icon (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN SwayNotificationCenterAction* sway_notification_center_notify_params_get_default_action (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_summary (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_body (SwayNotificationCenterNotifyParams* self);
static void _vala_array_add32 (gchar** * array,
                        gint* length,
                        gint* size,
                        gchar* value);
VALA_EXTERN gint sway_notification_center_notify_params_get_expire_timeout (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN gint64 sway_notification_center_notify_params_get_time (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_name_id (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_display_name (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN gboolean sway_notification_center_notify_params_get_action_icons (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN void sway_notification_center_notify_params_get_icon_data (SwayNotificationCenterNotifyParams* self,
                                                           SwayNotificationCenterImageData * result);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_image_path (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_category (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_sound_name (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_sound_file (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN gboolean sway_notification_center_notify_params_get_resident (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN SwayNotificationCenterUrgencyLevels sway_notification_center_notify_params_get_urgency (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN GArray* sway_notification_center_notify_params_get_actions (SwayNotificationCenterNotifyParams* self);
static void _vala_array_add33 (gchar** * array,
                        gint* length,
                        gint* size,
                        gchar* value);
VALA_EXTERN SwayNotificationCenterAction* sway_notification_center_notify_params_get_inline_reply (SwayNotificationCenterNotifyParams* self);
static void _vala_array_add34 (gchar** * array,
                        gint* length,
                        gint* size,
                        gchar* value);
static gboolean _sway_notification_center_image_data_equal (const SwayNotificationCenterImageData * s1,
                                                     const SwayNotificationCenterImageData * s2);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_synchronous (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN gint sway_notification_center_notify_params_get_value (SwayNotificationCenterNotifyParams* self);
static gint sway_notification_center_notify_params_get_priv_value (SwayNotificationCenterNotifyParams* self);
static void sway_notification_center_notify_params_set_priv_value (SwayNotificationCenterNotifyParams* self,
                                                            gint value);
VALA_EXTERN gboolean sway_notification_center_notify_params_get_has_synch (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN const gchar* sway_notification_center_notify_params_get_inline_reply_placeholder (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN gboolean sway_notification_center_notify_params_get_swaync_no_script (SwayNotificationCenterNotifyParams* self);
VALA_EXTERN gboolean sway_notification_center_notify_params_get_swaync_bypass_dnd (SwayNotificationCenterNotifyParams* self);
static void sway_notification_center_notify_params_finalize (GObject * obj);
static GType sway_notification_center_notify_params_get_type_once (void);
static void _vala_sway_notification_center_notify_params_get_property (GObject * object,
                                                                guint property_id,
                                                                GValue * value,
                                                                GParamSpec * pspec);
static void _vala_sway_notification_center_notify_params_set_property (GObject * object,
                                                                guint property_id,
                                                                const GValue * value,
                                                                GParamSpec * pspec);
static void _vala_array_destroy (gpointer array,
                          gssize array_length,
                          GDestroyNotify destroy_func);
static void _vala_array_free (gpointer array,
                       gssize array_length,
                       GDestroyNotify destroy_func);

 G_GNUC_NO_INLINE static GType
sway_notification_center_closed_reasons_get_type_once (void)
{
	static const GEnumValue values[] = {{SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_EXPIRED, "SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_EXPIRED", "expired"}, {SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_DISMISSED, "SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_DISMISSED", "dismissed"}, {SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_CLOSED_BY_CLOSENOTIFICATION, "SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_CLOSED_BY_CLOSENOTIFICATION", "closed-by-closenotification"}, {SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_UNDEFINED, "SWAY_NOTIFICATION_CENTER_CLOSED_REASONS_UNDEFINED", "undefined"}, {0, NULL, NULL}};
	GType sway_notification_center_closed_reasons_type_id;
	sway_notification_center_closed_reasons_type_id = g_enum_register_static ("SwayNotificationCenterClosedReasons", values);
	return sway_notification_center_closed_reasons_type_id;
}

GType
sway_notification_center_closed_reasons_get_type (void)
{
	static gsize sway_notification_center_closed_reasons_type_id__once = 0;
	if (g_once_init_enter (&sway_notification_center_closed_reasons_type_id__once)) {
		GType sway_notification_center_closed_reasons_type_id;
		sway_notification_center_closed_reasons_type_id = sway_notification_center_closed_reasons_get_type_once ();
		g_once_init_leave (&sway_notification_center_closed_reasons_type_id__once, sway_notification_center_closed_reasons_type_id);
	}
	return sway_notification_center_closed_reasons_type_id__once;
}

SwayNotificationCenterUrgencyLevels
sway_notification_center_urgency_levels_from_value (gint val)
{
	SwayNotificationCenterUrgencyLevels result;
	switch (val) {
		case 0:
		{
			result = SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_LOW;
			return result;
		}
		case 1:
		{
			result = SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_NORMAL;
			return result;
		}
		case 2:
		{
			result = SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_CRITICAL;
			return result;
		}
		default:
		{
			result = SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_NORMAL;
			return result;
		}
	}
}

guint8
sway_notification_center_urgency_levels_to_byte (SwayNotificationCenterUrgencyLevels self)
{
	guint8 result;
	result = (guint8) self;
	return result;
}

gchar*
sway_notification_center_urgency_levels_to_string (SwayNotificationCenterUrgencyLevels self)
{
	gchar* _tmp3_;
	gchar* result;
	switch (self) {
		case SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_LOW:
		{
			gchar* _tmp0_;
			_tmp0_ = g_strdup ("Low");
			result = _tmp0_;
			return result;
		}
		case SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_NORMAL:
		{
			gchar* _tmp1_;
			_tmp1_ = g_strdup ("Normal");
			result = _tmp1_;
			return result;
		}
		case SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_CRITICAL:
		{
			gchar* _tmp2_;
			_tmp2_ = g_strdup ("Critical");
			result = _tmp2_;
			return result;
		}
		default:
		break;
	}
	_tmp3_ = g_strdup ("Normal");
	result = _tmp3_;
	return result;
}

 G_GNUC_NO_INLINE static GType
sway_notification_center_urgency_levels_get_type_once (void)
{
	static const GEnumValue values[] = {{SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_LOW, "SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_LOW", "low"}, {SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_NORMAL, "SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_NORMAL", "normal"}, {SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_CRITICAL, "SWAY_NOTIFICATION_CENTER_URGENCY_LEVELS_CRITICAL", "critical"}, {0, NULL, NULL}};
	GType sway_notification_center_urgency_levels_type_id;
	sway_notification_center_urgency_levels_type_id = g_enum_register_static ("SwayNotificationCenterUrgencyLevels", values);
	return sway_notification_center_urgency_levels_type_id;
}

GType
sway_notification_center_urgency_levels_get_type (void)
{
	static gsize sway_notification_center_urgency_levels_type_id__once = 0;
	if (g_once_init_enter (&sway_notification_center_urgency_levels_type_id__once)) {
		GType sway_notification_center_urgency_levels_type_id;
		sway_notification_center_urgency_levels_type_id = sway_notification_center_urgency_levels_get_type_once ();
		g_once_init_leave (&sway_notification_center_urgency_levels_type_id__once, sway_notification_center_urgency_levels_type_id);
	}
	return sway_notification_center_urgency_levels_type_id__once;
}

SwayNotificationCenterImageData*
sway_notification_center_image_data_dup (const SwayNotificationCenterImageData* self)
{
	SwayNotificationCenterImageData* dup;
	dup = g_new0 (SwayNotificationCenterImageData, 1);
	memcpy (dup, self, sizeof (SwayNotificationCenterImageData));
	return dup;
}

void
sway_notification_center_image_data_free (SwayNotificationCenterImageData* self)
{
	g_free (self);
}

 G_GNUC_NO_INLINE static GType
sway_notification_center_image_data_get_type_once (void)
{
	GType sway_notification_center_image_data_type_id;
	sway_notification_center_image_data_type_id = g_boxed_type_register_static ("SwayNotificationCenterImageData", (GBoxedCopyFunc) sway_notification_center_image_data_dup, (GBoxedFreeFunc) sway_notification_center_image_data_free);
	return sway_notification_center_image_data_type_id;
}

GType
sway_notification_center_image_data_get_type (void)
{
	static gsize sway_notification_center_image_data_type_id__once = 0;
	if (g_once_init_enter (&sway_notification_center_image_data_type_id__once)) {
		GType sway_notification_center_image_data_type_id;
		sway_notification_center_image_data_type_id = sway_notification_center_image_data_get_type_once ();
		g_once_init_leave (&sway_notification_center_image_data_type_id__once, sway_notification_center_image_data_type_id);
	}
	return sway_notification_center_image_data_type_id__once;
}

static inline gpointer
sway_notification_center_action_get_instance_private (SwayNotificationCenterAction* self)
{
	return G_STRUCT_MEMBER_P (self, SwayNotificationCenterAction_private_offset);
}

SwayNotificationCenterAction*
sway_notification_center_action_construct (GType object_type,
                                           const gchar* identifier,
                                           const gchar* text)
{
	SwayNotificationCenterAction * self = NULL;
	g_return_val_if_fail (identifier != NULL, NULL);
	g_return_val_if_fail (text != NULL, NULL);
	self = (SwayNotificationCenterAction*) g_object_new (object_type, "identifier", identifier, "text", text, NULL);
	return self;
}

SwayNotificationCenterAction*
sway_notification_center_action_new (const gchar* identifier,
                                     const gchar* text)
{
	return sway_notification_center_action_construct (SWAY_NOTIFICATION_CENTER_TYPE_ACTION, identifier, text);
}

gchar*
sway_notification_center_action_to_string (SwayNotificationCenterAction* self)
{
	gboolean _tmp0_ = FALSE;
	const gchar* _tmp1_;
	const gchar* _tmp4_;
	const gchar* _tmp5_;
	gchar* _tmp6_;
	gchar* result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_ACTION (self), NULL);
	_tmp1_ = self->priv->_identifier;
	if (_tmp1_ == NULL) {
		_tmp0_ = TRUE;
	} else {
		const gchar* _tmp2_;
		_tmp2_ = self->priv->_text;
		_tmp0_ = _tmp2_ == NULL;
	}
	if (_tmp0_) {
		gchar* _tmp3_;
		_tmp3_ = g_strdup ("None");
		result = _tmp3_;
		return result;
	}
	_tmp4_ = self->priv->_text;
	_tmp5_ = self->priv->_identifier;
	_tmp6_ = g_strdup_printf ("Name: %s, Id: %s", _tmp4_, _tmp5_);
	result = _tmp6_;
	return result;
}

const gchar*
sway_notification_center_action_get_identifier (SwayNotificationCenterAction* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_ACTION (self), NULL);
	_tmp0_ = self->priv->_identifier;
	result = _tmp0_;
	return result;
}

void
sway_notification_center_action_set_identifier (SwayNotificationCenterAction* self,
                                                const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_ACTION (self));
	old_value = sway_notification_center_action_get_identifier (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_identifier);
		self->priv->_identifier = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_action_properties[SWAY_NOTIFICATION_CENTER_ACTION_IDENTIFIER_PROPERTY]);
	}
}

const gchar*
sway_notification_center_action_get_text (SwayNotificationCenterAction* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_ACTION (self), NULL);
	_tmp0_ = self->priv->_text;
	result = _tmp0_;
	return result;
}

void
sway_notification_center_action_set_text (SwayNotificationCenterAction* self,
                                          const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_ACTION (self));
	old_value = sway_notification_center_action_get_text (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_text);
		self->priv->_text = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_action_properties[SWAY_NOTIFICATION_CENTER_ACTION_TEXT_PROPERTY]);
	}
}

static void
sway_notification_center_action_class_init (SwayNotificationCenterActionClass * klass,
                                            gpointer klass_data)
{
	sway_notification_center_action_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &SwayNotificationCenterAction_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_sway_notification_center_action_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_sway_notification_center_action_set_property;
	G_OBJECT_CLASS (klass)->finalize = sway_notification_center_action_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_ACTION_IDENTIFIER_PROPERTY, sway_notification_center_action_properties[SWAY_NOTIFICATION_CENTER_ACTION_IDENTIFIER_PROPERTY] = g_param_spec_string ("identifier", "identifier", "identifier", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_ACTION_TEXT_PROPERTY, sway_notification_center_action_properties[SWAY_NOTIFICATION_CENTER_ACTION_TEXT_PROPERTY] = g_param_spec_string ("text", "text", "text", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE | G_PARAM_WRITABLE | G_PARAM_CONSTRUCT));
}

static void
sway_notification_center_action_instance_init (SwayNotificationCenterAction * self,
                                               gpointer klass)
{
	self->priv = sway_notification_center_action_get_instance_private (self);
}

static void
sway_notification_center_action_finalize (GObject * obj)
{
	SwayNotificationCenterAction * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, SWAY_NOTIFICATION_CENTER_TYPE_ACTION, SwayNotificationCenterAction);
	_g_free0 (self->priv->_identifier);
	_g_free0 (self->priv->_text);
	G_OBJECT_CLASS (sway_notification_center_action_parent_class)->finalize (obj);
}

 G_GNUC_NO_INLINE static GType
sway_notification_center_action_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (SwayNotificationCenterActionClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) sway_notification_center_action_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SwayNotificationCenterAction), 0, (GInstanceInitFunc) sway_notification_center_action_instance_init, NULL };
	GType sway_notification_center_action_type_id;
	sway_notification_center_action_type_id = g_type_register_static (G_TYPE_OBJECT, "SwayNotificationCenterAction", &g_define_type_info, 0);
	SwayNotificationCenterAction_private_offset = g_type_add_instance_private (sway_notification_center_action_type_id, sizeof (SwayNotificationCenterActionPrivate));
	return sway_notification_center_action_type_id;
}

GType
sway_notification_center_action_get_type (void)
{
	static gsize sway_notification_center_action_type_id__once = 0;
	if (g_once_init_enter (&sway_notification_center_action_type_id__once)) {
		GType sway_notification_center_action_type_id;
		sway_notification_center_action_type_id = sway_notification_center_action_get_type_once ();
		g_once_init_leave (&sway_notification_center_action_type_id__once, sway_notification_center_action_type_id);
	}
	return sway_notification_center_action_type_id__once;
}

static void
_vala_sway_notification_center_action_get_property (GObject * object,
                                                    guint property_id,
                                                    GValue * value,
                                                    GParamSpec * pspec)
{
	SwayNotificationCenterAction * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, SWAY_NOTIFICATION_CENTER_TYPE_ACTION, SwayNotificationCenterAction);
	switch (property_id) {
		case SWAY_NOTIFICATION_CENTER_ACTION_IDENTIFIER_PROPERTY:
		g_value_set_string (value, sway_notification_center_action_get_identifier (self));
		break;
		case SWAY_NOTIFICATION_CENTER_ACTION_TEXT_PROPERTY:
		g_value_set_string (value, sway_notification_center_action_get_text (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_sway_notification_center_action_set_property (GObject * object,
                                                    guint property_id,
                                                    const GValue * value,
                                                    GParamSpec * pspec)
{
	SwayNotificationCenterAction * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, SWAY_NOTIFICATION_CENTER_TYPE_ACTION, SwayNotificationCenterAction);
	switch (property_id) {
		case SWAY_NOTIFICATION_CENTER_ACTION_IDENTIFIER_PROPERTY:
		sway_notification_center_action_set_identifier (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_ACTION_TEXT_PROPERTY:
		sway_notification_center_action_set_text (self, g_value_get_string (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static inline gpointer
sway_notification_center_notify_params_get_instance_private (SwayNotificationCenterNotifyParams* self)
{
	return G_STRUCT_MEMBER_P (self, SwayNotificationCenterNotifyParams_private_offset);
}

static gchar*
string_replace (const gchar* self,
                const gchar* old,
                const gchar* replacement)
{
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	GError* _inner_error0_ = NULL;
	gchar* result;
	g_return_val_if_fail (self != NULL, NULL);
	g_return_val_if_fail (old != NULL, NULL);
	g_return_val_if_fail (replacement != NULL, NULL);
	if ((*((gchar*) self)) == '\0') {
		_tmp1_ = TRUE;
	} else {
		_tmp1_ = (*((gchar*) old)) == '\0';
	}
	if (_tmp1_) {
		_tmp0_ = TRUE;
	} else {
		_tmp0_ = g_strcmp0 (old, replacement) == 0;
	}
	if (_tmp0_) {
		gchar* _tmp2_;
		_tmp2_ = g_strdup (self);
		result = _tmp2_;
		return result;
	}
	{
		GRegex* regex = NULL;
		gchar* _tmp3_;
		gchar* _tmp4_;
		GRegex* _tmp5_;
		GRegex* _tmp6_;
		gchar* _tmp7_ = NULL;
		GRegex* _tmp8_;
		gchar* _tmp9_;
		gchar* _tmp10_;
		_tmp3_ = g_regex_escape_string (old, -1);
		_tmp4_ = _tmp3_;
		_tmp5_ = g_regex_new (_tmp4_, 0, 0, &_inner_error0_);
		_tmp6_ = _tmp5_;
		_g_free0 (_tmp4_);
		regex = _tmp6_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			if (_inner_error0_->domain == G_REGEX_ERROR) {
				goto __catch0_g_regex_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp8_ = regex;
		_tmp9_ = g_regex_replace_literal (_tmp8_, self, (gssize) -1, 0, replacement, 0, &_inner_error0_);
		_tmp7_ = _tmp9_;
		if (G_UNLIKELY (_inner_error0_ != NULL)) {
			_g_regex_unref0 (regex);
			if (_inner_error0_->domain == G_REGEX_ERROR) {
				goto __catch0_g_regex_error;
			}
			g_critical ("file %s: line %d: unexpected error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
			g_clear_error (&_inner_error0_);
			return NULL;
		}
		_tmp10_ = _tmp7_;
		_tmp7_ = NULL;
		result = _tmp10_;
		_g_free0 (_tmp7_);
		_g_regex_unref0 (regex);
		return result;
	}
	goto __finally0;
	__catch0_g_regex_error:
	{
		g_clear_error (&_inner_error0_);
		g_assert_not_reached ();
	}
	__finally0:
	g_critical ("file %s: line %d: uncaught error: %s (%s, %d)", __FILE__, __LINE__, _inner_error0_->message, g_quark_to_string (_inner_error0_->domain), _inner_error0_->code);
	g_clear_error (&_inner_error0_);
	return NULL;
}

static void
_vala_array_add28 (gchar** * array,
                   gint* length,
                   gint* size,
                   gchar* value)
{
	if ((*length) == (*size)) {
		*size = (*size) ? (2 * (*size)) : 4;
		*array = g_renew (gchar*, *array, (*size) + 1);
	}
	(*array)[(*length)++] = value;
	(*array)[*length] = NULL;
}

static void
_vala_array_add29 (gchar** * array,
                   gint* length,
                   gint* size,
                   gchar* value)
{
	if ((*length) == (*size)) {
		*size = (*size) ? (2 * (*size)) : 4;
		*array = g_renew (gchar*, *array, (*size) + 1);
	}
	(*array)[(*length)++] = value;
	(*array)[*length] = NULL;
}

static void
_vala_array_add30 (gchar** * array,
                   gint* length,
                   gint* size,
                   gchar* value)
{
	if ((*length) == (*size)) {
		*size = (*size) ? (2 * (*size)) : 4;
		*array = g_renew (gchar*, *array, (*size) + 1);
	}
	(*array)[(*length)++] = value;
	(*array)[*length] = NULL;
}

static void
_vala_array_add31 (gchar** * array,
                   gint* length,
                   gint* size,
                   gchar* value)
{
	if ((*length) == (*size)) {
		*size = (*size) ? (2 * (*size)) : 4;
		*array = g_renew (gchar*, *array, (*size) + 1);
	}
	(*array)[(*length)++] = value;
	(*array)[*length] = NULL;
}

SwayNotificationCenterNotifyParams*
sway_notification_center_notify_params_construct (GType object_type,
                                                  guint32 applied_id,
                                                  const gchar* app_name,
                                                  guint32 replaces_id,
                                                  const gchar* app_icon,
                                                  const gchar* summary,
                                                  const gchar* body,
                                                  gchar** actions,
                                                  gint actions_length1,
                                                  GHashTable* hints,
                                                  gint expire_timeout)
{
	SwayNotificationCenterNotifyParams * self = NULL;
	gchar* _tmp0_;
	gchar* _tmp1_;
	gchar** entries = NULL;
	gchar** _tmp2_;
	gint entries_length1;
	gint _entries_size_;
	const gchar* _tmp3_;
	gchar** _tmp14_;
	gint _tmp14__length1;
	const gchar* _tmp23_ = NULL;
	const gchar* _tmp24_;
	const gchar* _tmp27_ = NULL;
	const gchar* _tmp28_;
	gchar* display_name = NULL;
	gchar* _tmp30_;
	GDesktopAppInfo* _tmp31_;
	gboolean _tmp35_ = FALSE;
	const gchar* _tmp36_;
	const gchar* _tmp41_;
	SwayNotificationCenterOrderedHashTable* visibilities = NULL;
	SwayNotificationCenterConfigModel* _tmp42_;
	SwayNotificationCenterConfigModel* _tmp43_;
	SwayNotificationCenterOrderedHashTable* _tmp44_;
	SwayNotificationCenterOrderedHashTable* _tmp45_;
	SwayNotificationCenterOrderedHashTable* _tmp46_;
	GList* _tmp47_;
	g_return_val_if_fail (app_name != NULL, NULL);
	g_return_val_if_fail (app_icon != NULL, NULL);
	g_return_val_if_fail (summary != NULL, NULL);
	g_return_val_if_fail (body != NULL, NULL);
	g_return_val_if_fail (hints != NULL, NULL);
	self = (SwayNotificationCenterNotifyParams*) g_object_new (object_type, NULL);
	sway_notification_center_notify_params_set_applied_id (self, applied_id);
	sway_notification_center_notify_params_set_app_name (self, app_name);
	sway_notification_center_notify_params_set_replaces_id (self, replaces_id);
	_tmp0_ = g_uri_unescape_string (app_icon, NULL);
	_tmp1_ = _tmp0_;
	sway_notification_center_notify_params_set_app_icon (self, _tmp1_);
	_g_free0 (_tmp1_);
	sway_notification_center_notify_params_set_summary (self, summary);
	sway_notification_center_notify_params_set_body (self, body);
	sway_notification_center_notify_params_set_hints (self, hints);
	sway_notification_center_notify_params_set_expire_timeout (self, expire_timeout);
	sway_notification_center_notify_params_set_time (self, (gint64) (g_get_real_time () * 0.000001));
	sway_notification_center_notify_params_set_has_synch (self, FALSE);
	sway_notification_center_notify_params_parse_hints (self);
	sway_notification_center_notify_params_parse_actions (self, actions, (gint) actions_length1);
	_tmp2_ = g_new0 (gchar*, 0 + 1);
	entries = _tmp2_;
	entries_length1 = 0;
	_entries_size_ = entries_length1;
	_tmp3_ = self->priv->_desktop_entry;
	if (_tmp3_ != NULL) {
		const gchar* _tmp4_;
		gchar* _tmp5_;
		const gchar* _tmp6_;
		gchar* _tmp7_;
		gchar* _tmp8_;
		gchar* _tmp9_;
		_tmp4_ = self->priv->_desktop_entry;
		_tmp5_ = string_replace (_tmp4_, ".desktop", "");
		_vala_array_add28 (&entries, &entries_length1, &_entries_size_, _tmp5_);
		_tmp6_ = self->priv->_desktop_entry;
		_tmp7_ = g_utf8_strdown (_tmp6_, (gssize) -1);
		_tmp8_ = _tmp7_;
		_tmp9_ = string_replace (_tmp8_, ".desktop", "");
		_vala_array_add29 (&entries, &entries_length1, &_entries_size_, _tmp9_);
		_g_free0 (_tmp8_);
	}
	if (app_name != NULL) {
		gchar* _tmp10_;
		gchar* _tmp11_;
		gchar* _tmp12_;
		gchar* _tmp13_;
		_tmp10_ = string_replace (app_name, ".desktop", "");
		_vala_array_add30 (&entries, &entries_length1, &_entries_size_, _tmp10_);
		_tmp11_ = g_utf8_strdown (app_name, (gssize) -1);
		_tmp12_ = _tmp11_;
		_tmp13_ = string_replace (_tmp12_, ".desktop", "");
		_vala_array_add31 (&entries, &entries_length1, &_entries_size_, _tmp13_);
		_g_free0 (_tmp12_);
	}
	_tmp14_ = entries;
	_tmp14__length1 = entries_length1;
	{
		gchar** entry_collection = NULL;
		gint entry_collection_length1 = 0;
		gint _entry_collection_size_ = 0;
		gint entry_it = 0;
		entry_collection = _tmp14_;
		entry_collection_length1 = _tmp14__length1;
		for (entry_it = 0; entry_it < entry_collection_length1; entry_it = entry_it + 1) {
			gchar* _tmp15_;
			gchar* entry = NULL;
			_tmp15_ = g_strdup (entry_collection[entry_it]);
			entry = _tmp15_;
			{
				GDesktopAppInfo* app_info = NULL;
				const gchar* _tmp16_;
				gchar* _tmp17_;
				gchar* _tmp18_;
				GDesktopAppInfo* _tmp19_;
				GDesktopAppInfo* _tmp20_;
				GDesktopAppInfo* _tmp21_;
				_tmp16_ = entry;
				_tmp17_ = g_strdup_printf ("%s.desktop", _tmp16_);
				_tmp18_ = _tmp17_;
				_tmp19_ = g_desktop_app_info_new (_tmp18_);
				if (_tmp19_) {
					g_object_set_data ((GObject *) _tmp19_, "vala-creation-function", "SwayNotificationCenter.NotifyParams.new");
				}
				_tmp20_ = _tmp19_;
				_g_free0 (_tmp18_);
				app_info = _tmp20_;
				_tmp21_ = app_info;
				if (G_TYPE_CHECK_INSTANCE_TYPE (_tmp21_, G_TYPE_DESKTOP_APP_INFO)) {
					GDesktopAppInfo* _tmp22_;
					_tmp22_ = app_info;
					sway_notification_center_notify_params_set_desktop_app_info (self, _tmp22_);
					_g_object_unref0 (app_info);
					_g_free0 (entry);
					break;
				}
				_g_object_unref0 (app_info);
				_g_free0 (entry);
			}
		}
	}
	_tmp24_ = self->priv->_desktop_entry;
	_tmp23_ = _tmp24_;
	if (_tmp23_ == NULL) {
		const gchar* _tmp25_ = NULL;
		const gchar* _tmp26_;
		_tmp26_ = self->priv->_app_name;
		_tmp25_ = _tmp26_;
		if (_tmp25_ == NULL) {
			_tmp25_ = "";
		}
		_tmp23_ = _tmp25_;
	}
	sway_notification_center_notify_params_set_name_id (self, _tmp23_);
	_tmp28_ = self->priv->_desktop_entry;
	_tmp27_ = _tmp28_;
	if (_tmp27_ == NULL) {
		const gchar* _tmp29_;
		_tmp29_ = self->priv->_app_name;
		_tmp27_ = _tmp29_;
	}
	_tmp30_ = g_strdup (_tmp27_);
	display_name = _tmp30_;
	_tmp31_ = self->priv->_desktop_app_info;
	if (_tmp31_ != NULL) {
		GDesktopAppInfo* _tmp32_;
		const gchar* _tmp33_;
		gchar* _tmp34_;
		_tmp32_ = self->priv->_desktop_app_info;
		_tmp33_ = g_app_info_get_display_name (G_TYPE_CHECK_INSTANCE_CAST (_tmp32_, g_app_info_get_type (), GAppInfo));
		_tmp34_ = g_strdup (_tmp33_);
		_g_free0 (display_name);
		display_name = _tmp34_;
	}
	_tmp36_ = display_name;
	if (_tmp36_ == NULL) {
		_tmp35_ = TRUE;
	} else {
		const gchar* _tmp37_;
		gint _tmp38_;
		gint _tmp39_;
		_tmp37_ = display_name;
		_tmp38_ = strlen (_tmp37_);
		_tmp39_ = _tmp38_;
		_tmp35_ = _tmp39_ == 0;
	}
	if (_tmp35_) {
		gchar* _tmp40_;
		_tmp40_ = g_strdup ("Unknown");
		_g_free0 (display_name);
		display_name = _tmp40_;
	}
	_tmp41_ = display_name;
	sway_notification_center_notify_params_set_display_name (self, _tmp41_);
	sway_notification_center_notify_params_set_status_state (self, SWAY_NOTIFICATION_CENTER_NOTIFICATION_STATUS_ENUM_ENABLED);
	_tmp42_ = sway_notification_center_config_model_get_instance ();
	_tmp43_ = _tmp42_;
	_tmp44_ = sway_notification_center_config_model_get_notification_visibility (_tmp43_);
	_tmp45_ = _tmp44_;
	visibilities = _tmp45_;
	_tmp46_ = visibilities;
	_tmp47_ = sway_notification_center_ordered_hash_table_get_keys (_tmp46_);
	{
		GList* key_collection = NULL;
		GList* key_it = NULL;
		key_collection = _tmp47_;
		for (key_it = key_collection; key_it != NULL; key_it = key_it->next) {
			gchar* _tmp48_;
			gchar* key = NULL;
			_tmp48_ = g_strdup ((const gchar*) key_it->data);
			key = _tmp48_;
			{
				SwayNotificationCenterNotificationVisibility* vis = NULL;
				SwayNotificationCenterOrderedHashTable* _tmp49_;
				const gchar* _tmp50_;
				gconstpointer _tmp51_;
				SwayNotificationCenterNotificationVisibility* _tmp52_;
				SwayNotificationCenterNotificationVisibility* _tmp53_;
				SwayNotificationCenterNotificationStatusEnum _tmp54_;
				SwayNotificationCenterNotificationStatusEnum _tmp55_;
				SwayNotificationCenterNotificationVisibility* _tmp56_;
				SwayNotificationCenterNotificationUrgencyEnum _tmp57_;
				SwayNotificationCenterNotificationUrgencyEnum _tmp58_;
				_tmp49_ = visibilities;
				_tmp50_ = key;
				_tmp51_ = sway_notification_center_ordered_hash_table_get (_tmp49_, _tmp50_);
				vis = (SwayNotificationCenterNotificationVisibility*) _tmp51_;
				_tmp52_ = vis;
				if (!sway_notification_center_notification_matching_matches_notification (G_TYPE_CHECK_INSTANCE_CAST (_tmp52_, SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_MATCHING, SwayNotificationCenterNotificationMatching), self)) {
					_g_free0 (key);
					continue;
				}
				_tmp53_ = vis;
				_tmp54_ = sway_notification_center_notification_visibility_get_state (_tmp53_);
				_tmp55_ = _tmp54_;
				sway_notification_center_notify_params_set_status_state (self, _tmp55_);
				_tmp56_ = vis;
				_tmp57_ = sway_notification_center_notification_visibility_get_override_urgency (_tmp56_);
				_tmp58_ = _tmp57_;
				if (_tmp58_ != SWAY_NOTIFICATION_CENTER_NOTIFICATION_URGENCY_ENUM_UNSET) {
					SwayNotificationCenterNotificationVisibility* _tmp59_;
					SwayNotificationCenterNotificationUrgencyEnum _tmp60_;
					SwayNotificationCenterNotificationUrgencyEnum _tmp61_;
					gchar* _tmp62_;
					gchar* _tmp63_;
					SwayNotificationCenterNotificationVisibility* _tmp64_;
					SwayNotificationCenterNotificationUrgencyEnum _tmp65_;
					SwayNotificationCenterNotificationUrgencyEnum _tmp66_;
					_tmp59_ = vis;
					_tmp60_ = sway_notification_center_notification_visibility_get_override_urgency (_tmp59_);
					_tmp61_ = _tmp60_;
					_tmp62_ = sway_notification_center_notification_urgency_enum_to_string (_tmp61_);
					_tmp63_ = _tmp62_;
					g_debug ("notiModel.vala:239: override urgency to %s\n", _tmp63_);
					_g_free0 (_tmp63_);
					_tmp64_ = vis;
					_tmp65_ = sway_notification_center_notification_visibility_get_override_urgency (_tmp64_);
					_tmp66_ = _tmp65_;
					sway_notification_center_notify_params_set_urgency (self, sway_notification_center_urgency_levels_from_value ((gint) sway_notification_center_notification_urgency_enum_to_byte (_tmp66_)));
				}
				_g_free0 (key);
				break;
			}
		}
		(key_collection == NULL) ? NULL : (key_collection = (g_list_free (key_collection), NULL));
	}
	_g_free0 (display_name);
	entries = (_vala_array_free (entries, entries_length1, (GDestroyNotify) g_free), NULL);
	return self;
}

SwayNotificationCenterNotifyParams*
sway_notification_center_notify_params_new (guint32 applied_id,
                                            const gchar* app_name,
                                            guint32 replaces_id,
                                            const gchar* app_icon,
                                            const gchar* summary,
                                            const gchar* body,
                                            gchar** actions,
                                            gint actions_length1,
                                            GHashTable* hints,
                                            gint expire_timeout)
{
	return sway_notification_center_notify_params_construct (SWAY_NOTIFICATION_CENTER_TYPE_NOTIFY_PARAMS, applied_id, app_name, replaces_id, app_icon, summary, body, actions, actions_length1, hints, expire_timeout);
}

static gpointer
_g_variant_ref0 (gpointer self)
{
	return self ? g_variant_ref (self) : NULL;
}

static void
sway_notification_center_notify_params_parse_hints (SwayNotificationCenterNotifyParams* self)
{
	GHashTable* _tmp0_;
	GList* _tmp1_;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	_tmp0_ = self->priv->_hints;
	_tmp1_ = g_hash_table_get_keys (_tmp0_);
	{
		GList* hint_collection = NULL;
		GList* hint_it = NULL;
		hint_collection = _tmp1_;
		for (hint_it = hint_collection; hint_it != NULL; hint_it = hint_it->next) {
			const gchar* hint = NULL;
			hint = (const gchar*) hint_it->data;
			{
				GVariant* hint_value = NULL;
				GHashTable* _tmp2_;
				const gchar* _tmp3_;
				gconstpointer _tmp4_;
				GVariant* _tmp5_;
				const gchar* _tmp6_;
				const gchar* _tmp7_;
				GQuark _tmp9_ = 0U;
				static GQuark _tmp8_label0 = 0;
				static GQuark _tmp8_label1 = 0;
				static GQuark _tmp8_label2 = 0;
				static GQuark _tmp8_label3 = 0;
				static GQuark _tmp8_label4 = 0;
				static GQuark _tmp8_label5 = 0;
				static GQuark _tmp8_label6 = 0;
				static GQuark _tmp8_label7 = 0;
				static GQuark _tmp8_label8 = 0;
				static GQuark _tmp8_label9 = 0;
				static GQuark _tmp8_label10 = 0;
				static GQuark _tmp8_label11 = 0;
				static GQuark _tmp8_label12 = 0;
				static GQuark _tmp8_label13 = 0;
				static GQuark _tmp8_label14 = 0;
				static GQuark _tmp8_label15 = 0;
				static GQuark _tmp8_label16 = 0;
				static GQuark _tmp8_label17 = 0;
				static GQuark _tmp8_label18 = 0;
				static GQuark _tmp8_label19 = 0;
				_tmp2_ = self->priv->_hints;
				_tmp3_ = hint;
				_tmp4_ = g_hash_table_lookup (_tmp2_, _tmp3_);
				_tmp5_ = _g_variant_ref0 ((GVariant*) _tmp4_);
				hint_value = _tmp5_;
				_tmp6_ = hint;
				_tmp7_ = _tmp6_;
				_tmp9_ = (NULL == _tmp7_) ? 0 : g_quark_from_string (_tmp7_);
				if (_tmp9_ == ((0 != _tmp8_label0) ? _tmp8_label0 : (_tmp8_label0 = g_quark_from_static_string ("SWAYNC_NO_SCRIPT")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp10_;
							const GVariantType* _tmp11_;
							_tmp10_ = hint_value;
							_tmp11_ = G_VARIANT_TYPE_INT32;
							if (g_variant_is_of_type (_tmp10_, _tmp11_)) {
								GVariant* _tmp12_;
								_tmp12_ = hint_value;
								sway_notification_center_notify_params_set_swaync_no_script (self, g_variant_get_int32 (_tmp12_) == ((gint32) 1));
							} else {
								GVariant* _tmp13_;
								const GVariantType* _tmp14_;
								_tmp13_ = hint_value;
								_tmp14_ = G_VARIANT_TYPE_BOOLEAN;
								if (g_variant_is_of_type (_tmp13_, _tmp14_)) {
									GVariant* _tmp15_;
									_tmp15_ = hint_value;
									sway_notification_center_notify_params_set_swaync_no_script (self, g_variant_get_boolean (_tmp15_));
								}
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label1) ? _tmp8_label1 : (_tmp8_label1 = g_quark_from_static_string ("SWAYNC_BYPASS_DND")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp16_;
							const GVariantType* _tmp17_;
							_tmp16_ = hint_value;
							_tmp17_ = G_VARIANT_TYPE_INT32;
							if (g_variant_is_of_type (_tmp16_, _tmp17_)) {
								GVariant* _tmp18_;
								_tmp18_ = hint_value;
								sway_notification_center_notify_params_set_swaync_bypass_dnd (self, g_variant_get_int32 (_tmp18_) == ((gint32) 1));
							} else {
								GVariant* _tmp19_;
								const GVariantType* _tmp20_;
								_tmp19_ = hint_value;
								_tmp20_ = G_VARIANT_TYPE_BOOLEAN;
								if (g_variant_is_of_type (_tmp19_, _tmp20_)) {
									GVariant* _tmp21_;
									_tmp21_ = hint_value;
									sway_notification_center_notify_params_set_swaync_bypass_dnd (self, g_variant_get_boolean (_tmp21_));
								}
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label2) ? _tmp8_label2 : (_tmp8_label2 = g_quark_from_static_string ("value")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp22_;
							const GVariantType* _tmp23_;
							_tmp22_ = hint_value;
							_tmp23_ = G_VARIANT_TYPE_INT32;
							if (g_variant_is_of_type (_tmp22_, _tmp23_)) {
								GVariant* _tmp24_;
								sway_notification_center_notify_params_set_has_synch (self, TRUE);
								_tmp24_ = hint_value;
								sway_notification_center_notify_params_set_value (self, (gint) g_variant_get_int32 (_tmp24_));
							}
							break;
						}
					}
				} else if (((_tmp9_ == ((0 != _tmp8_label3) ? _tmp8_label3 : (_tmp8_label3 = g_quark_from_static_string ("synchronous")))) || (_tmp9_ == ((0 != _tmp8_label4) ? _tmp8_label4 : (_tmp8_label4 = g_quark_from_static_string ("private-synchronous"))))) || (_tmp9_ == ((0 != _tmp8_label5) ? _tmp8_label5 : (_tmp8_label5 = g_quark_from_static_string ("x-canonical-private-synchronous"))))) {
					switch (0) {
						default:
						{
							GVariant* _tmp25_;
							const GVariantType* _tmp26_;
							_tmp25_ = hint_value;
							_tmp26_ = G_VARIANT_TYPE_STRING;
							if (g_variant_is_of_type (_tmp25_, _tmp26_)) {
								GVariant* _tmp27_;
								const gchar* _tmp28_;
								_tmp27_ = hint_value;
								_tmp28_ = g_variant_get_string (_tmp27_, NULL);
								sway_notification_center_notify_params_set_synchronous (self, _tmp28_);
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label6) ? _tmp8_label6 : (_tmp8_label6 = g_quark_from_static_string ("action-icons")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp29_;
							const GVariantType* _tmp30_;
							_tmp29_ = hint_value;
							_tmp30_ = G_VARIANT_TYPE_INT32;
							if (g_variant_is_of_type (_tmp29_, _tmp30_)) {
								GVariant* _tmp31_;
								_tmp31_ = hint_value;
								sway_notification_center_notify_params_set_action_icons (self, g_variant_get_int32 (_tmp31_) == ((gint32) 1));
							} else {
								GVariant* _tmp32_;
								const GVariantType* _tmp33_;
								_tmp32_ = hint_value;
								_tmp33_ = G_VARIANT_TYPE_BOOLEAN;
								if (g_variant_is_of_type (_tmp32_, _tmp33_)) {
									GVariant* _tmp34_;
									_tmp34_ = hint_value;
									sway_notification_center_notify_params_set_action_icons (self, g_variant_get_boolean (_tmp34_));
								}
							}
							break;
						}
					}
				} else if (((_tmp9_ == ((0 != _tmp8_label7) ? _tmp8_label7 : (_tmp8_label7 = g_quark_from_static_string ("image-data")))) || (_tmp9_ == ((0 != _tmp8_label8) ? _tmp8_label8 : (_tmp8_label8 = g_quark_from_static_string ("image_data"))))) || (_tmp9_ == ((0 != _tmp8_label9) ? _tmp8_label9 : (_tmp8_label9 = g_quark_from_static_string ("icon_data"))))) {
					switch (0) {
						default:
						{
							SwayNotificationCenterImageData _tmp35_;
							SwayNotificationCenterImageData img_d = {0};
							GVariant* _tmp36_;
							GVariant* _tmp37_;
							GVariant* _tmp38_;
							GVariant* _tmp39_;
							GVariant* _tmp40_;
							GVariant* _tmp41_;
							GVariant* _tmp42_;
							GVariant* _tmp43_;
							GVariant* _tmp44_;
							GVariant* _tmp45_;
							GVariant* _tmp46_;
							GVariant* _tmp47_;
							GVariant* _tmp48_;
							GVariant* _tmp49_;
							GVariant* _tmp50_;
							GVariant* _tmp51_;
							GVariant* _tmp52_;
							GVariant* _tmp53_;
							GVariant* _tmp54_;
							GVariant* _tmp55_;
							GVariant* _tmp56_;
							void* _tmp57_;
							const gchar* _tmp58_;
							_tmp35_ = self->priv->_image_data;
							if (_tmp35_.is_initialized) {
								break;
							}
							memset (&img_d, 0, sizeof (SwayNotificationCenterImageData));
							_tmp36_ = hint_value;
							_tmp37_ = g_variant_get_child_value (_tmp36_, (gsize) 0);
							_tmp38_ = _tmp37_;
							img_d.width = (gint) g_variant_get_int32 (_tmp38_);
							_g_variant_unref0 (_tmp38_);
							_tmp39_ = hint_value;
							_tmp40_ = g_variant_get_child_value (_tmp39_, (gsize) 1);
							_tmp41_ = _tmp40_;
							img_d.height = (gint) g_variant_get_int32 (_tmp41_);
							_g_variant_unref0 (_tmp41_);
							_tmp42_ = hint_value;
							_tmp43_ = g_variant_get_child_value (_tmp42_, (gsize) 2);
							_tmp44_ = _tmp43_;
							img_d.rowstride = (gint) g_variant_get_int32 (_tmp44_);
							_g_variant_unref0 (_tmp44_);
							_tmp45_ = hint_value;
							_tmp46_ = g_variant_get_child_value (_tmp45_, (gsize) 3);
							_tmp47_ = _tmp46_;
							img_d.has_alpha = g_variant_get_boolean (_tmp47_);
							_g_variant_unref0 (_tmp47_);
							_tmp48_ = hint_value;
							_tmp49_ = g_variant_get_child_value (_tmp48_, (gsize) 4);
							_tmp50_ = _tmp49_;
							img_d.bits_per_sample = (gint) g_variant_get_int32 (_tmp50_);
							_g_variant_unref0 (_tmp50_);
							_tmp51_ = hint_value;
							_tmp52_ = g_variant_get_child_value (_tmp51_, (gsize) 5);
							_tmp53_ = _tmp52_;
							img_d.channels = (gint) g_variant_get_int32 (_tmp53_);
							_g_variant_unref0 (_tmp53_);
							_tmp54_ = hint_value;
							_tmp55_ = g_variant_get_child_value (_tmp54_, (gsize) 6);
							_tmp56_ = _tmp55_;
							_tmp57_ = g_variant_get_data (_tmp56_);
							img_d.data = (guint8*) _tmp57_;
							img_d.data_length1 = -1;
							_g_variant_unref0 (_tmp56_);
							img_d.is_initialized = TRUE;
							_tmp58_ = hint;
							if (g_strcmp0 (_tmp58_, "icon_data") == 0) {
								SwayNotificationCenterImageData _tmp59_;
								_tmp59_ = img_d;
								sway_notification_center_notify_params_set_icon_data (self, &_tmp59_);
							} else {
								SwayNotificationCenterImageData _tmp60_;
								_tmp60_ = img_d;
								sway_notification_center_notify_params_set_image_data (self, &_tmp60_);
							}
							break;
						}
					}
				} else if ((_tmp9_ == ((0 != _tmp8_label10) ? _tmp8_label10 : (_tmp8_label10 = g_quark_from_static_string ("image-path")))) || (_tmp9_ == ((0 != _tmp8_label11) ? _tmp8_label11 : (_tmp8_label11 = g_quark_from_static_string ("image_path"))))) {
					switch (0) {
						default:
						{
							GVariant* _tmp61_;
							const GVariantType* _tmp62_;
							_tmp61_ = hint_value;
							_tmp62_ = G_VARIANT_TYPE_STRING;
							if (g_variant_is_of_type (_tmp61_, _tmp62_)) {
								GVariant* _tmp63_;
								const gchar* _tmp64_;
								gchar* _tmp65_;
								gchar* _tmp66_;
								_tmp63_ = hint_value;
								_tmp64_ = g_variant_get_string (_tmp63_, NULL);
								_tmp65_ = g_uri_unescape_string (_tmp64_, NULL);
								_tmp66_ = _tmp65_;
								sway_notification_center_notify_params_set_image_path (self, _tmp66_);
								_g_free0 (_tmp66_);
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label12) ? _tmp8_label12 : (_tmp8_label12 = g_quark_from_static_string ("desktop-entry")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp67_;
							const GVariantType* _tmp68_;
							_tmp67_ = hint_value;
							_tmp68_ = G_VARIANT_TYPE_STRING;
							if (g_variant_is_of_type (_tmp67_, _tmp68_)) {
								GVariant* _tmp69_;
								const gchar* _tmp70_;
								_tmp69_ = hint_value;
								_tmp70_ = g_variant_get_string (_tmp69_, NULL);
								sway_notification_center_notify_params_set_desktop_entry (self, _tmp70_);
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label13) ? _tmp8_label13 : (_tmp8_label13 = g_quark_from_static_string ("category")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp71_;
							const GVariantType* _tmp72_;
							_tmp71_ = hint_value;
							_tmp72_ = G_VARIANT_TYPE_STRING;
							if (g_variant_is_of_type (_tmp71_, _tmp72_)) {
								GVariant* _tmp73_;
								const gchar* _tmp74_;
								_tmp73_ = hint_value;
								_tmp74_ = g_variant_get_string (_tmp73_, NULL);
								sway_notification_center_notify_params_set_category (self, _tmp74_);
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label14) ? _tmp8_label14 : (_tmp8_label14 = g_quark_from_static_string ("sound-name")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp75_;
							const GVariantType* _tmp76_;
							_tmp75_ = hint_value;
							_tmp76_ = G_VARIANT_TYPE_STRING;
							if (g_variant_is_of_type (_tmp75_, _tmp76_)) {
								GVariant* _tmp77_;
								const gchar* _tmp78_;
								_tmp77_ = hint_value;
								_tmp78_ = g_variant_get_string (_tmp77_, NULL);
								sway_notification_center_notify_params_set_sound_name (self, _tmp78_);
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label15) ? _tmp8_label15 : (_tmp8_label15 = g_quark_from_static_string ("sound-file")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp79_;
							const GVariantType* _tmp80_;
							_tmp79_ = hint_value;
							_tmp80_ = G_VARIANT_TYPE_STRING;
							if (g_variant_is_of_type (_tmp79_, _tmp80_)) {
								GVariant* _tmp81_;
								const gchar* _tmp82_;
								_tmp81_ = hint_value;
								_tmp82_ = g_variant_get_string (_tmp81_, NULL);
								sway_notification_center_notify_params_set_sound_file (self, _tmp82_);
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label16) ? _tmp8_label16 : (_tmp8_label16 = g_quark_from_static_string ("resident")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp83_;
							const GVariantType* _tmp84_;
							_tmp83_ = hint_value;
							_tmp84_ = G_VARIANT_TYPE_INT32;
							if (g_variant_is_of_type (_tmp83_, _tmp84_)) {
								GVariant* _tmp85_;
								_tmp85_ = hint_value;
								sway_notification_center_notify_params_set_resident (self, g_variant_get_int32 (_tmp85_) == ((gint32) 1));
							} else {
								GVariant* _tmp86_;
								const GVariantType* _tmp87_;
								_tmp86_ = hint_value;
								_tmp87_ = G_VARIANT_TYPE_BOOLEAN;
								if (g_variant_is_of_type (_tmp86_, _tmp87_)) {
									GVariant* _tmp88_;
									_tmp88_ = hint_value;
									sway_notification_center_notify_params_set_resident (self, g_variant_get_boolean (_tmp88_));
								}
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label17) ? _tmp8_label17 : (_tmp8_label17 = g_quark_from_static_string ("transient")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp89_;
							const GVariantType* _tmp90_;
							_tmp89_ = hint_value;
							_tmp90_ = G_VARIANT_TYPE_INT32;
							if (g_variant_is_of_type (_tmp89_, _tmp90_)) {
								GVariant* _tmp91_;
								_tmp91_ = hint_value;
								sway_notification_center_notify_params_set_transient (self, g_variant_get_int32 (_tmp91_) == ((gint32) 1));
							} else {
								GVariant* _tmp92_;
								const GVariantType* _tmp93_;
								_tmp92_ = hint_value;
								_tmp93_ = G_VARIANT_TYPE_BOOLEAN;
								if (g_variant_is_of_type (_tmp92_, _tmp93_)) {
									GVariant* _tmp94_;
									_tmp94_ = hint_value;
									sway_notification_center_notify_params_set_transient (self, g_variant_get_boolean (_tmp94_));
								}
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label18) ? _tmp8_label18 : (_tmp8_label18 = g_quark_from_static_string ("urgency")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp95_;
							const GVariantType* _tmp96_;
							_tmp95_ = hint_value;
							_tmp96_ = G_VARIANT_TYPE_BYTE;
							if (g_variant_is_of_type (_tmp95_, _tmp96_)) {
								GVariant* _tmp97_;
								_tmp97_ = hint_value;
								sway_notification_center_notify_params_set_urgency (self, sway_notification_center_urgency_levels_from_value ((gint) g_variant_get_byte (_tmp97_)));
							}
							break;
						}
					}
				} else if (_tmp9_ == ((0 != _tmp8_label19) ? _tmp8_label19 : (_tmp8_label19 = g_quark_from_static_string ("x-kde-reply-placeholder-text")))) {
					switch (0) {
						default:
						{
							GVariant* _tmp98_;
							const GVariantType* _tmp99_;
							_tmp98_ = hint_value;
							_tmp99_ = G_VARIANT_TYPE_STRING;
							if (g_variant_is_of_type (_tmp98_, _tmp99_)) {
								GVariant* _tmp100_;
								const gchar* _tmp101_;
								_tmp100_ = hint_value;
								_tmp101_ = g_variant_get_string (_tmp100_, NULL);
								sway_notification_center_notify_params_set_inline_reply_placeholder (self, _tmp101_);
							}
							break;
						}
					}
				}
				_g_variant_unref0 (hint_value);
			}
		}
		(hint_collection == NULL) ? NULL : (hint_collection = (g_list_free (hint_collection), NULL));
	}
}

static void
_g_object_unref0_ (gpointer var)
{
	(var == NULL) ? NULL : (var = (g_object_unref (var), NULL));
}

static void
_vala_SwayNotificationCenterAction_free_function_content_of (gpointer data)
{
	SwayNotificationCenterAction* self;
	self = *((SwayNotificationCenterAction**) data);
	_g_object_unref0_ (self);
}

static gpointer
_g_object_ref0 (gpointer self)
{
	return self ? g_object_ref (self) : NULL;
}

static void
sway_notification_center_notify_params_parse_actions (SwayNotificationCenterNotifyParams* self,
                                                      gchar** actions,
                                                      gint actions_length1)
{
	GArray* parsed_actions = NULL;
	GArray* _tmp0_;
	gboolean _tmp1_ = FALSE;
	GList* valid_matchers = NULL;
	SwayNotificationCenterOrderedHashTable* filters = NULL;
	SwayNotificationCenterConfigModel* _tmp3_;
	SwayNotificationCenterConfigModel* _tmp4_;
	SwayNotificationCenterOrderedHashTable* _tmp5_;
	SwayNotificationCenterOrderedHashTable* _tmp6_;
	SwayNotificationCenterOrderedHashTable* _tmp7_;
	GList* _tmp8_;
	GArray* _tmp46_;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	_tmp0_ = g_array_new (TRUE, TRUE, sizeof (SwayNotificationCenterAction*));
	g_array_set_clear_func (_tmp0_, (GDestroyNotify) _vala_SwayNotificationCenterAction_free_function_content_of);
	parsed_actions = _tmp0_;
	if (actions_length1 <= 1) {
		_tmp1_ = TRUE;
	} else {
		_tmp1_ = (actions_length1 % 2) != 0;
	}
	if (_tmp1_) {
		GArray* _tmp2_;
		_tmp2_ = parsed_actions;
		sway_notification_center_notify_params_set_actions (self, _tmp2_);
		_g_array_unref0 (parsed_actions);
		return;
	}
	valid_matchers = NULL;
	_tmp3_ = sway_notification_center_config_model_get_instance ();
	_tmp4_ = _tmp3_;
	_tmp5_ = sway_notification_center_config_model_get_notification_action_filter (_tmp4_);
	_tmp6_ = _tmp5_;
	filters = _tmp6_;
	_tmp7_ = filters;
	_tmp8_ = sway_notification_center_ordered_hash_table_get_keys (_tmp7_);
	{
		GList* key_collection = NULL;
		GList* key_it = NULL;
		key_collection = _tmp8_;
		for (key_it = key_collection; key_it != NULL; key_it = key_it->next) {
			gchar* _tmp9_;
			gchar* key = NULL;
			_tmp9_ = g_strdup ((const gchar*) key_it->data);
			key = _tmp9_;
			{
				SwayNotificationCenterActionMatching* matcher = NULL;
				SwayNotificationCenterOrderedHashTable* _tmp10_;
				const gchar* _tmp11_;
				gconstpointer _tmp12_;
				SwayNotificationCenterActionMatching* _tmp13_;
				_tmp10_ = filters;
				_tmp11_ = key;
				_tmp12_ = sway_notification_center_ordered_hash_table_get (_tmp10_, _tmp11_);
				matcher = (SwayNotificationCenterActionMatching*) _tmp12_;
				_tmp13_ = matcher;
				if (sway_notification_center_action_matching_matches_notification (_tmp13_, self)) {
					SwayNotificationCenterActionMatching* _tmp14_;
					_tmp14_ = matcher;
					valid_matchers = g_list_append (valid_matchers, _tmp14_);
				}
				_g_free0 (key);
			}
		}
		(key_collection == NULL) ? NULL : (key_collection = (g_list_free (key_collection), NULL));
	}
	{
		gint i = 0;
		i = 0;
		{
			gboolean _tmp15_ = FALSE;
			_tmp15_ = TRUE;
			while (TRUE) {
				SwayNotificationCenterAction* action = NULL;
				const gchar* _tmp16_;
				const gchar* _tmp17_;
				SwayNotificationCenterAction* _tmp18_;
				gboolean matches = FALSE;
				GList* _tmp19_;
				gboolean _tmp22_ = FALSE;
				SwayNotificationCenterAction* _tmp23_;
				const gchar* _tmp24_;
				const gchar* _tmp25_;
				if (!_tmp15_) {
					i += 2;
				}
				_tmp15_ = FALSE;
				if (!(i < actions_length1)) {
					break;
				}
				_tmp16_ = actions[i];
				_tmp17_ = actions[i + 1];
				_tmp18_ = sway_notification_center_action_new (_tmp16_, _tmp17_);
				if (_tmp18_) {
					g_object_set_data ((GObject *) _tmp18_, "vala-creation-function", "SwayNotificationCenter.NotifyParams.parse_actions");
				}
				action = _tmp18_;
				matches = FALSE;
				_tmp19_ = valid_matchers;
				{
					GList* matcher_collection = NULL;
					GList* matcher_it = NULL;
					matcher_collection = _tmp19_;
					for (matcher_it = matcher_collection; matcher_it != NULL; matcher_it = matcher_it->next) {
						SwayNotificationCenterActionMatching* matcher = NULL;
						matcher = (SwayNotificationCenterActionMatching*) matcher_it->data;
						{
							SwayNotificationCenterActionMatching* _tmp20_;
							SwayNotificationCenterAction* _tmp21_;
							_tmp20_ = matcher;
							_tmp21_ = action;
							if (sway_notification_center_action_matching_matches_action (_tmp20_, _tmp21_)) {
								matches = TRUE;
								break;
							}
						}
					}
				}
				if (matches) {
					_g_object_unref0 (action);
					continue;
				}
				_tmp23_ = action;
				_tmp24_ = sway_notification_center_action_get_text (_tmp23_);
				_tmp25_ = _tmp24_;
				if (_tmp25_ != NULL) {
					SwayNotificationCenterAction* _tmp26_;
					const gchar* _tmp27_;
					const gchar* _tmp28_;
					_tmp26_ = action;
					_tmp27_ = sway_notification_center_action_get_identifier (_tmp26_);
					_tmp28_ = _tmp27_;
					_tmp22_ = _tmp28_ != NULL;
				} else {
					_tmp22_ = FALSE;
				}
				if (_tmp22_) {
					gchar* id = NULL;
					SwayNotificationCenterAction* _tmp29_;
					const gchar* _tmp30_;
					const gchar* _tmp31_;
					gchar* _tmp32_;
					const gchar* _tmp33_;
					const gchar* _tmp34_;
					GQuark _tmp36_ = 0U;
					static GQuark _tmp35_label0 = 0;
					static GQuark _tmp35_label1 = 0;
					_tmp29_ = action;
					_tmp30_ = sway_notification_center_action_get_identifier (_tmp29_);
					_tmp31_ = _tmp30_;
					_tmp32_ = g_utf8_strdown (_tmp31_, (gssize) -1);
					id = _tmp32_;
					_tmp33_ = id;
					_tmp34_ = _tmp33_;
					_tmp36_ = (NULL == _tmp34_) ? 0 : g_quark_from_string (_tmp34_);
					if (_tmp36_ == ((0 != _tmp35_label0) ? _tmp35_label0 : (_tmp35_label0 = g_quark_from_static_string ("default")))) {
						switch (0) {
							default:
							{
								SwayNotificationCenterAction* _tmp37_;
								_tmp37_ = action;
								sway_notification_center_notify_params_set_default_action (self, _tmp37_);
								break;
							}
						}
					} else if (_tmp36_ == ((0 != _tmp35_label1) ? _tmp35_label1 : (_tmp35_label1 = g_quark_from_static_string ("inline-reply")))) {
						switch (0) {
							default:
							{
								SwayNotificationCenterAction* _tmp38_;
								const gchar* _tmp39_;
								const gchar* _tmp40_;
								SwayNotificationCenterAction* _tmp42_;
								_tmp38_ = action;
								_tmp39_ = sway_notification_center_action_get_text (_tmp38_);
								_tmp40_ = _tmp39_;
								if (g_strcmp0 (_tmp40_, "") == 0) {
									SwayNotificationCenterAction* _tmp41_;
									_tmp41_ = action;
									sway_notification_center_action_set_text (_tmp41_, "Reply");
								}
								_tmp42_ = action;
								sway_notification_center_notify_params_set_inline_reply (self, _tmp42_);
								break;
							}
						}
					} else {
						switch (0) {
							default:
							{
								GArray* _tmp43_;
								SwayNotificationCenterAction* _tmp44_;
								SwayNotificationCenterAction* _tmp45_;
								_tmp43_ = parsed_actions;
								_tmp44_ = action;
								_tmp45_ = _g_object_ref0 (_tmp44_);
								g_array_append_val (_tmp43_, _tmp45_);
								break;
							}
						}
					}
					_g_free0 (id);
				}
				_g_object_unref0 (action);
			}
		}
	}
	_tmp46_ = parsed_actions;
	sway_notification_center_notify_params_set_actions (self, _tmp46_);
	(valid_matchers == NULL) ? NULL : (valid_matchers = (g_list_free (valid_matchers), NULL));
	_g_array_unref0 (parsed_actions);
}

/** Only add notification to CC if it isn't IGNORED and not transient/TRANSIENT */
gboolean
sway_notification_center_notify_params_ignore_cc (SwayNotificationCenterNotifyParams* self)
{
	gboolean _tmp0_ = FALSE;
	gboolean _tmp1_ = FALSE;
	SwayNotificationCenterNotificationStatusEnum _tmp2_;
	gboolean result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), FALSE);
	_tmp2_ = self->priv->_status_state;
	if (_tmp2_ == SWAY_NOTIFICATION_CENTER_NOTIFICATION_STATUS_ENUM_IGNORED) {
		_tmp1_ = TRUE;
	} else {
		SwayNotificationCenterNotificationStatusEnum _tmp3_;
		_tmp3_ = self->priv->_status_state;
		_tmp1_ = _tmp3_ == SWAY_NOTIFICATION_CENTER_NOTIFICATION_STATUS_ENUM_TRANSIENT;
	}
	if (_tmp1_) {
		_tmp0_ = TRUE;
	} else {
		gboolean _tmp4_ = FALSE;
		gboolean _tmp5_;
		_tmp5_ = self->priv->_transient;
		if (_tmp5_) {
			SwayNotificationCenterNotificationStatusEnum _tmp6_;
			_tmp6_ = self->priv->_status_state;
			_tmp4_ = _tmp6_ != SWAY_NOTIFICATION_CENTER_NOTIFICATION_STATUS_ENUM_MUTED;
		} else {
			_tmp4_ = FALSE;
		}
		_tmp0_ = _tmp4_;
	}
	result = _tmp0_;
	return result;
}

static gboolean
string_contains (const gchar* self,
                 const gchar* needle)
{
	gchar* _tmp0_;
	gboolean result;
	g_return_val_if_fail (self != NULL, FALSE);
	g_return_val_if_fail (needle != NULL, FALSE);
	_tmp0_ = strstr ((gchar*) self, (gchar*) needle);
	result = _tmp0_ != NULL;
	return result;
}

static void
_vala_array_add32 (gchar** * array,
                   gint* length,
                   gint* size,
                   gchar* value)
{
	if ((*length) == (*size)) {
		*size = (*size) ? (2 * (*size)) : 4;
		*array = g_renew (gchar*, *array, (*size) + 1);
	}
	(*array)[(*length)++] = value;
	(*array)[*length] = NULL;
}

static gchar*
_vala_g_strjoinv (const gchar* separator,
                  gchar** str_array,
                  gint str_array_length1)
{
	gboolean _tmp0_ = FALSE;
	gchar* result;
	if (separator == NULL) {
		separator = "";
	}
	if (str_array != NULL) {
		gboolean _tmp1_ = FALSE;
		if (str_array_length1 > 0) {
			_tmp1_ = TRUE;
		} else {
			gboolean _tmp2_ = FALSE;
			if (str_array_length1 == -1) {
				const gchar* _tmp3_;
				_tmp3_ = str_array[0];
				_tmp2_ = _tmp3_ != NULL;
			} else {
				_tmp2_ = FALSE;
			}
			_tmp1_ = _tmp2_;
		}
		_tmp0_ = _tmp1_;
	} else {
		_tmp0_ = FALSE;
	}
	if (_tmp0_) {
		gint i = 0;
		gsize len = 0UL;
		gint _tmp16_;
		gint _tmp17_;
		const gchar* res = NULL;
		void* _tmp18_;
		const gchar* _tmp19_ = NULL;
		const gchar* _tmp20_;
		void* ptr = NULL;
		const gchar* _tmp22_;
		void* _tmp23_;
		const gchar* _tmp33_;
		len = (gsize) 1;
		{
			gboolean _tmp4_ = FALSE;
			i = 0;
			_tmp4_ = TRUE;
			while (TRUE) {
				gboolean _tmp6_ = FALSE;
				gboolean _tmp7_ = FALSE;
				gint _tmp10_ = 0;
				const gchar* _tmp11_;
				if (!_tmp4_) {
					gint _tmp5_;
					_tmp5_ = i;
					i = _tmp5_ + 1;
				}
				_tmp4_ = FALSE;
				if (str_array_length1 != -1) {
					_tmp7_ = i < str_array_length1;
				} else {
					_tmp7_ = FALSE;
				}
				if (_tmp7_) {
					_tmp6_ = TRUE;
				} else {
					gboolean _tmp8_ = FALSE;
					if (str_array_length1 == -1) {
						const gchar* _tmp9_;
						_tmp9_ = str_array[i];
						_tmp8_ = _tmp9_ != NULL;
					} else {
						_tmp8_ = FALSE;
					}
					_tmp6_ = _tmp8_;
				}
				if (!_tmp6_) {
					break;
				}
				_tmp11_ = str_array[i];
				if (_tmp11_ != NULL) {
					const gchar* _tmp12_;
					gint _tmp13_;
					gint _tmp14_;
					_tmp12_ = str_array[i];
					_tmp13_ = strlen ((const gchar*) _tmp12_);
					_tmp14_ = _tmp13_;
					_tmp10_ = _tmp14_;
				} else {
					_tmp10_ = 0;
				}
				len += (gsize) _tmp10_;
			}
		}
		if (i == 0) {
			gchar* _tmp15_;
			_tmp15_ = g_strdup ("");
			result = _tmp15_;
			return result;
		}
		str_array_length1 = i;
		_tmp16_ = strlen ((const gchar*) separator);
		_tmp17_ = _tmp16_;
		len += (gsize) (_tmp17_ * (i - 1));
		_tmp18_ = g_malloc (len);
		res = _tmp18_;
		_tmp20_ = str_array[0];
		if (_tmp20_ != NULL) {
			const gchar* _tmp21_;
			_tmp21_ = str_array[0];
			_tmp19_ = (const gchar*) _tmp21_;
		} else {
			_tmp19_ = "";
		}
		_tmp22_ = res;
		_tmp23_ = g_stpcpy ((void*) _tmp22_, _tmp19_);
		ptr = _tmp23_;
		{
			gboolean _tmp24_ = FALSE;
			i = 1;
			_tmp24_ = TRUE;
			while (TRUE) {
				void* _tmp26_;
				void* _tmp27_;
				const gchar* _tmp28_ = NULL;
				const gchar* _tmp29_;
				void* _tmp31_;
				void* _tmp32_;
				if (!_tmp24_) {
					gint _tmp25_;
					_tmp25_ = i;
					i = _tmp25_ + 1;
				}
				_tmp24_ = FALSE;
				if (!(i < str_array_length1)) {
					break;
				}
				_tmp26_ = ptr;
				_tmp27_ = g_stpcpy (_tmp26_, (const gchar*) separator);
				ptr = _tmp27_;
				_tmp29_ = str_array[i];
				if (_tmp29_ != NULL) {
					const gchar* _tmp30_;
					_tmp30_ = str_array[i];
					_tmp28_ = (const gchar*) _tmp30_;
				} else {
					_tmp28_ = "";
				}
				_tmp31_ = ptr;
				_tmp32_ = g_stpcpy (_tmp31_, _tmp28_);
				ptr = _tmp32_;
			}
		}
		_tmp33_ = res;
		res = NULL;
		result = (gchar*) _tmp33_;
		return result;
	} else {
		gchar* _tmp34_;
		_tmp34_ = g_strdup ("");
		result = _tmp34_;
		return result;
	}
}

static gchar*
bool_to_string (gboolean self)
{
	gchar* result;
	if (self) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup ("true");
		result = _tmp0_;
		return result;
	} else {
		gchar* _tmp1_;
		_tmp1_ = g_strdup ("false");
		result = _tmp1_;
		return result;
	}
}

static void
_vala_array_add33 (gchar** * array,
                   gint* length,
                   gint* size,
                   gchar* value)
{
	if ((*length) == (*size)) {
		*size = (*size) ? (2 * (*size)) : 4;
		*array = g_renew (gchar*, *array, (*size) + 1);
	}
	(*array)[(*length)++] = value;
	(*array)[*length] = NULL;
}

static void
_vala_array_add34 (gchar** * array,
                   gint* length,
                   gint* size,
                   gchar* value)
{
	if ((*length) == (*size)) {
		*size = (*size) ? (2 * (*size)) : 4;
		*array = g_renew (gchar*, *array, (*size) + 1);
	}
	(*array)[(*length)++] = value;
	(*array)[*length] = NULL;
}

gchar*
sway_notification_center_notify_params_to_string (SwayNotificationCenterNotifyParams* self)
{
	SwayNotificationCenterOrderedHashTable* params = NULL;
	SwayNotificationCenterOrderedHashTable* _tmp0_;
	SwayNotificationCenterOrderedHashTable* _tmp1_;
	gchar* _tmp2_;
	guint32 _tmp3_;
	gchar* _tmp4_;
	SwayNotificationCenterOrderedHashTable* _tmp5_;
	gchar* _tmp6_;
	const gchar* _tmp7_;
	gchar* _tmp8_;
	SwayNotificationCenterOrderedHashTable* _tmp9_;
	gchar* _tmp10_;
	guint32 _tmp11_;
	gchar* _tmp12_;
	SwayNotificationCenterOrderedHashTable* _tmp13_;
	gchar* _tmp14_;
	const gchar* _tmp15_;
	gchar* _tmp16_;
	gchar* _tmp17_ = NULL;
	SwayNotificationCenterAction* _tmp18_;
	SwayNotificationCenterOrderedHashTable* _tmp21_;
	gchar* _tmp22_;
	gchar* _tmp23_;
	SwayNotificationCenterOrderedHashTable* _tmp24_;
	gchar* _tmp25_;
	const gchar* _tmp26_;
	gchar* _tmp27_;
	SwayNotificationCenterOrderedHashTable* _tmp28_;
	gchar* _tmp29_;
	const gchar* _tmp30_;
	gchar* _tmp31_;
	gchar** _hints = NULL;
	gchar** _tmp32_;
	gint _hints_length1;
	gint __hints_size_;
	GHashTable* _tmp33_;
	GList* _tmp34_;
	SwayNotificationCenterOrderedHashTable* _tmp48_;
	gchar* _tmp49_;
	gchar** _tmp50_;
	gint _tmp50__length1;
	gchar* _tmp51_;
	SwayNotificationCenterOrderedHashTable* _tmp52_;
	gchar* _tmp53_;
	gint _tmp54_;
	gchar* _tmp55_;
	SwayNotificationCenterOrderedHashTable* _tmp56_;
	gchar* _tmp57_;
	gint64 _tmp58_;
	gchar* _tmp59_;
	gchar* _tmp60_;
	gchar* _tmp61_;
	SwayNotificationCenterOrderedHashTable* _tmp62_;
	gchar* _tmp63_;
	GDesktopAppInfo* _tmp64_;
	gchar* _tmp65_;
	SwayNotificationCenterOrderedHashTable* _tmp66_;
	gchar* _tmp67_;
	const gchar* _tmp68_;
	gchar* _tmp69_;
	SwayNotificationCenterOrderedHashTable* _tmp70_;
	gchar* _tmp71_;
	const gchar* _tmp72_;
	gchar* _tmp73_;
	SwayNotificationCenterOrderedHashTable* _tmp74_;
	gchar* _tmp75_;
	gboolean _tmp76_;
	gchar* _tmp77_;
	SwayNotificationCenterOrderedHashTable* _tmp78_;
	gchar* _tmp79_;
	SwayNotificationCenterImageData _tmp80_;
	gchar* _tmp81_;
	SwayNotificationCenterOrderedHashTable* _tmp82_;
	gchar* _tmp83_;
	SwayNotificationCenterImageData _tmp84_;
	gchar* _tmp85_;
	SwayNotificationCenterOrderedHashTable* _tmp86_;
	gchar* _tmp87_;
	const gchar* _tmp88_;
	gchar* _tmp89_;
	SwayNotificationCenterOrderedHashTable* _tmp90_;
	gchar* _tmp91_;
	const gchar* _tmp92_;
	gchar* _tmp93_;
	SwayNotificationCenterOrderedHashTable* _tmp94_;
	gchar* _tmp95_;
	const gchar* _tmp96_;
	gchar* _tmp97_;
	SwayNotificationCenterOrderedHashTable* _tmp98_;
	gchar* _tmp99_;
	const gchar* _tmp100_;
	gchar* _tmp101_;
	SwayNotificationCenterOrderedHashTable* _tmp102_;
	gchar* _tmp103_;
	const gchar* _tmp104_;
	gchar* _tmp105_;
	SwayNotificationCenterOrderedHashTable* _tmp106_;
	gchar* _tmp107_;
	gboolean _tmp108_;
	gchar* _tmp109_;
	SwayNotificationCenterOrderedHashTable* _tmp110_;
	gchar* _tmp111_;
	gboolean _tmp112_;
	gchar* _tmp113_;
	SwayNotificationCenterOrderedHashTable* _tmp114_;
	gchar* _tmp115_;
	SwayNotificationCenterUrgencyLevels _tmp116_;
	gchar* _tmp117_;
	gchar** _actions = NULL;
	gchar** _tmp118_;
	gint _actions_length1;
	gint __actions_size_;
	GArray* _tmp119_;
	gpointer* _tmp120_;
	gint _tmp120__length1;
	SwayNotificationCenterOrderedHashTable* _tmp126_;
	gchar* _tmp127_;
	gchar** _tmp128_;
	gint _tmp128__length1;
	gchar* _tmp129_;
	gchar* _tmp130_ = NULL;
	SwayNotificationCenterAction* _tmp131_;
	SwayNotificationCenterOrderedHashTable* _tmp134_;
	gchar* _tmp135_;
	gchar* _tmp136_;
	gchar** _result_ = NULL;
	gchar** _tmp137_;
	gint _result__length1;
	gint __result__size_;
	SwayNotificationCenterOrderedHashTable* _tmp138_;
	GList* _tmp139_;
	gchar** _tmp147_;
	gint _tmp147__length1;
	gchar* _tmp148_;
	gchar* _tmp149_;
	gchar* _tmp150_;
	gchar* _tmp151_;
	gchar* result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = sway_notification_center_ordered_hash_table_new (G_TYPE_STRING, (GBoxedCopyFunc) g_strdup, (GDestroyNotify) g_free);
	params = _tmp0_;
	_tmp1_ = params;
	_tmp2_ = g_strdup ("applied_id");
	_tmp3_ = self->priv->_applied_id;
	_tmp4_ = g_strdup_printf ("%u", _tmp3_);
	sway_notification_center_ordered_hash_table_insert (_tmp1_, _tmp2_, _tmp4_);
	_tmp5_ = params;
	_tmp6_ = g_strdup ("app_name");
	_tmp7_ = self->priv->_app_name;
	_tmp8_ = g_strdup (_tmp7_);
	sway_notification_center_ordered_hash_table_insert (_tmp5_, _tmp6_, _tmp8_);
	_tmp9_ = params;
	_tmp10_ = g_strdup ("replaces_id");
	_tmp11_ = self->priv->_replaces_id;
	_tmp12_ = g_strdup_printf ("%u", _tmp11_);
	sway_notification_center_ordered_hash_table_insert (_tmp9_, _tmp10_, _tmp12_);
	_tmp13_ = params;
	_tmp14_ = g_strdup ("app_icon");
	_tmp15_ = self->priv->_app_icon;
	_tmp16_ = g_strdup (_tmp15_);
	sway_notification_center_ordered_hash_table_insert (_tmp13_, _tmp14_, _tmp16_);
	_tmp18_ = self->priv->_default_action;
	if (_tmp18_ == NULL) {
		_g_free0 (_tmp17_);
		_tmp17_ = NULL;
	} else {
		SwayNotificationCenterAction* _tmp19_;
		gchar* _tmp20_;
		_tmp19_ = self->priv->_default_action;
		_tmp20_ = sway_notification_center_action_to_string (_tmp19_);
		_g_free0 (_tmp17_);
		_tmp17_ = _tmp20_;
	}
	_tmp21_ = params;
	_tmp22_ = g_strdup ("default_action");
	_tmp23_ = g_strdup (_tmp17_);
	sway_notification_center_ordered_hash_table_insert (_tmp21_, _tmp22_, _tmp23_);
	_tmp24_ = params;
	_tmp25_ = g_strdup ("summary");
	_tmp26_ = self->priv->_summary;
	_tmp27_ = g_strdup (_tmp26_);
	sway_notification_center_ordered_hash_table_insert (_tmp24_, _tmp25_, _tmp27_);
	_tmp28_ = params;
	_tmp29_ = g_strdup ("body");
	_tmp30_ = self->priv->_body;
	_tmp31_ = g_strconcat ("\t", _tmp30_, NULL);
	sway_notification_center_ordered_hash_table_insert (_tmp28_, _tmp29_, _tmp31_);
	_tmp32_ = g_new0 (gchar*, 0 + 1);
	_hints = _tmp32_;
	_hints_length1 = 0;
	__hints_size_ = _hints_length1;
	_tmp33_ = self->priv->_hints;
	_tmp34_ = g_hash_table_get_keys (_tmp33_);
	{
		GList* key_collection = NULL;
		GList* key_it = NULL;
		key_collection = _tmp34_;
		for (key_it = key_collection; key_it != NULL; key_it = key_it->next) {
			const gchar* key = NULL;
			key = (const gchar*) key_it->data;
			{
				GVariant* v = NULL;
				GHashTable* _tmp35_;
				const gchar* _tmp36_;
				gconstpointer _tmp37_;
				GVariant* _tmp38_;
				gchar* data = NULL;
				gchar* _tmp39_;
				gboolean _tmp40_ = FALSE;
				const gchar* _tmp41_;
				const gchar* _tmp45_;
				const gchar* _tmp46_;
				gchar* _tmp47_;
				_tmp35_ = self->priv->_hints;
				_tmp36_ = key;
				_tmp37_ = g_hash_table_lookup (_tmp35_, _tmp36_);
				_tmp38_ = _g_variant_ref0 ((GVariant*) _tmp37_);
				v = _tmp38_;
				_tmp39_ = g_strdup ("data");
				data = _tmp39_;
				_tmp41_ = key;
				if (!string_contains (_tmp41_, "image")) {
					const gchar* _tmp42_;
					_tmp42_ = key;
					_tmp40_ = !string_contains (_tmp42_, "icon");
				} else {
					_tmp40_ = FALSE;
				}
				if (_tmp40_) {
					GVariant* _tmp43_;
					gchar* _tmp44_;
					_tmp43_ = v;
					_tmp44_ = g_variant_print (_tmp43_, TRUE);
					_g_free0 (data);
					data = _tmp44_;
				}
				_tmp45_ = key;
				_tmp46_ = data;
				_tmp47_ = g_strdup_printf ("\n\t%s: %s", _tmp45_, _tmp46_);
				_vala_array_add32 (&_hints, &_hints_length1, &__hints_size_, _tmp47_);
				_g_free0 (data);
				_g_variant_unref0 (v);
			}
		}
		(key_collection == NULL) ? NULL : (key_collection = (g_list_free (key_collection), NULL));
	}
	_tmp48_ = params;
	_tmp49_ = g_strdup ("hints");
	_tmp50_ = _hints;
	_tmp50__length1 = _hints_length1;
	_tmp51_ = _vala_g_strjoinv ("", _tmp50_, (gint) _tmp50__length1);
	sway_notification_center_ordered_hash_table_insert (_tmp48_, _tmp49_, _tmp51_);
	_tmp52_ = params;
	_tmp53_ = g_strdup ("expire_timeout");
	_tmp54_ = self->priv->_expire_timeout;
	_tmp55_ = g_strdup_printf ("%i", _tmp54_);
	sway_notification_center_ordered_hash_table_insert (_tmp52_, _tmp53_, _tmp55_);
	_tmp56_ = params;
	_tmp57_ = g_strdup ("time");
	_tmp58_ = self->priv->_time;
	_tmp59_ = g_strdup_printf ("%" G_GINT64_FORMAT, _tmp58_);
	_tmp60_ = _tmp59_;
	_tmp61_ = g_strconcat ("\t", _tmp60_, NULL);
	sway_notification_center_ordered_hash_table_insert (_tmp56_, _tmp57_, _tmp61_);
	_g_free0 (_tmp60_);
	_tmp62_ = params;
	_tmp63_ = g_strdup ("found desktop file");
	_tmp64_ = self->priv->_desktop_app_info;
	_tmp65_ = bool_to_string (_tmp64_ != NULL);
	sway_notification_center_ordered_hash_table_insert (_tmp62_, _tmp63_, _tmp65_);
	_tmp66_ = params;
	_tmp67_ = g_strdup ("applied app_id");
	_tmp68_ = self->priv->_name_id;
	_tmp69_ = g_strdup (_tmp68_);
	sway_notification_center_ordered_hash_table_insert (_tmp66_, _tmp67_, _tmp69_);
	_tmp70_ = params;
	_tmp71_ = g_strdup ("display name");
	_tmp72_ = self->priv->_display_name;
	_tmp73_ = g_strdup (_tmp72_);
	sway_notification_center_ordered_hash_table_insert (_tmp70_, _tmp71_, _tmp73_);
	_tmp74_ = params;
	_tmp75_ = g_strdup ("action_icons");
	_tmp76_ = self->priv->_action_icons;
	_tmp77_ = bool_to_string (_tmp76_);
	sway_notification_center_ordered_hash_table_insert (_tmp74_, _tmp75_, _tmp77_);
	_tmp78_ = params;
	_tmp79_ = g_strdup ("image_data");
	_tmp80_ = self->priv->_image_data;
	_tmp81_ = bool_to_string (_tmp80_.is_initialized);
	sway_notification_center_ordered_hash_table_insert (_tmp78_, _tmp79_, _tmp81_);
	_tmp82_ = params;
	_tmp83_ = g_strdup ("icon_data");
	_tmp84_ = self->priv->_icon_data;
	_tmp85_ = bool_to_string (_tmp84_.is_initialized);
	sway_notification_center_ordered_hash_table_insert (_tmp82_, _tmp83_, _tmp85_);
	_tmp86_ = params;
	_tmp87_ = g_strdup ("image_path");
	_tmp88_ = self->priv->_image_path;
	_tmp89_ = g_strdup (_tmp88_);
	sway_notification_center_ordered_hash_table_insert (_tmp86_, _tmp87_, _tmp89_);
	_tmp90_ = params;
	_tmp91_ = g_strdup ("desktop_entry");
	_tmp92_ = self->priv->_desktop_entry;
	_tmp93_ = g_strdup (_tmp92_);
	sway_notification_center_ordered_hash_table_insert (_tmp90_, _tmp91_, _tmp93_);
	_tmp94_ = params;
	_tmp95_ = g_strdup ("category");
	_tmp96_ = self->priv->_category;
	_tmp97_ = g_strdup (_tmp96_);
	sway_notification_center_ordered_hash_table_insert (_tmp94_, _tmp95_, _tmp97_);
	_tmp98_ = params;
	_tmp99_ = g_strdup ("sound_name");
	_tmp100_ = self->priv->_sound_name;
	_tmp101_ = g_strdup (_tmp100_);
	sway_notification_center_ordered_hash_table_insert (_tmp98_, _tmp99_, _tmp101_);
	_tmp102_ = params;
	_tmp103_ = g_strdup ("sound_file");
	_tmp104_ = self->priv->_sound_file;
	_tmp105_ = g_strdup (_tmp104_);
	sway_notification_center_ordered_hash_table_insert (_tmp102_, _tmp103_, _tmp105_);
	_tmp106_ = params;
	_tmp107_ = g_strdup ("resident");
	_tmp108_ = self->priv->_resident;
	_tmp109_ = bool_to_string (_tmp108_);
	sway_notification_center_ordered_hash_table_insert (_tmp106_, _tmp107_, _tmp109_);
	_tmp110_ = params;
	_tmp111_ = g_strdup ("transient");
	_tmp112_ = self->priv->_transient;
	_tmp113_ = bool_to_string (_tmp112_);
	sway_notification_center_ordered_hash_table_insert (_tmp110_, _tmp111_, _tmp113_);
	_tmp114_ = params;
	_tmp115_ = g_strdup ("urgency");
	_tmp116_ = self->priv->_urgency;
	_tmp117_ = sway_notification_center_urgency_levels_to_string (_tmp116_);
	sway_notification_center_ordered_hash_table_insert (_tmp114_, _tmp115_, _tmp117_);
	_tmp118_ = g_new0 (gchar*, 0 + 1);
	_actions = _tmp118_;
	_actions_length1 = 0;
	__actions_size_ = _actions_length1;
	_tmp119_ = self->priv->_actions;
	_tmp120_ = _tmp119_->data;
	_tmp120__length1 = _tmp119_->len;
	{
		SwayNotificationCenterAction** _action_collection = NULL;
		gint _action_collection_length1 = 0;
		gint __action_collection_size_ = 0;
		gint _action_it = 0;
		_action_collection = _tmp120_;
		_action_collection_length1 = _tmp120__length1;
		for (_action_it = 0; _action_it < _action_collection_length1; _action_it = _action_it + 1) {
			SwayNotificationCenterAction* _tmp121_;
			SwayNotificationCenterAction* _action = NULL;
			_tmp121_ = _g_object_ref0 (_action_collection[_action_it]);
			_action = _tmp121_;
			{
				SwayNotificationCenterAction* _tmp122_;
				gchar* _tmp123_;
				gchar* _tmp124_;
				gchar* _tmp125_;
				_tmp122_ = _action;
				_tmp123_ = sway_notification_center_action_to_string (_tmp122_);
				_tmp124_ = _tmp123_;
				_tmp125_ = g_strconcat ("\n\t", _tmp124_, NULL);
				_vala_array_add33 (&_actions, &_actions_length1, &__actions_size_, _tmp125_);
				_g_free0 (_tmp124_);
				_g_object_unref0 (_action);
			}
		}
	}
	_tmp126_ = params;
	_tmp127_ = g_strdup ("actions");
	_tmp128_ = _actions;
	_tmp128__length1 = _actions_length1;
	_tmp129_ = _vala_g_strjoinv ("", _tmp128_, (gint) _tmp128__length1);
	sway_notification_center_ordered_hash_table_insert (_tmp126_, _tmp127_, _tmp129_);
	_tmp131_ = self->priv->_inline_reply;
	if (_tmp131_ == NULL) {
		_g_free0 (_tmp130_);
		_tmp130_ = NULL;
	} else {
		SwayNotificationCenterAction* _tmp132_;
		gchar* _tmp133_;
		_tmp132_ = self->priv->_inline_reply;
		_tmp133_ = sway_notification_center_action_to_string (_tmp132_);
		_g_free0 (_tmp130_);
		_tmp130_ = _tmp133_;
	}
	_tmp134_ = params;
	_tmp135_ = g_strdup ("inline-reply");
	_tmp136_ = g_strdup (_tmp130_);
	sway_notification_center_ordered_hash_table_insert (_tmp134_, _tmp135_, _tmp136_);
	_tmp137_ = g_new0 (gchar*, 0 + 1);
	_result_ = _tmp137_;
	_result__length1 = 0;
	__result__size_ = _result__length1;
	_tmp138_ = params;
	_tmp139_ = sway_notification_center_ordered_hash_table_get_keys (_tmp138_);
	{
		GList* k_collection = NULL;
		GList* k_it = NULL;
		k_collection = _tmp139_;
		for (k_it = k_collection; k_it != NULL; k_it = k_it->next) {
			const gchar* k = NULL;
			k = (const gchar*) k_it->data;
			{
				gchar* v = NULL;
				SwayNotificationCenterOrderedHashTable* _tmp140_;
				const gchar* _tmp141_;
				gconstpointer _tmp142_;
				gchar* _tmp143_;
				const gchar* _tmp144_;
				const gchar* _tmp145_;
				gchar* _tmp146_;
				_tmp140_ = params;
				_tmp141_ = k;
				_tmp142_ = sway_notification_center_ordered_hash_table_get (_tmp140_, _tmp141_);
				_tmp143_ = g_strdup ((const gchar*) _tmp142_);
				v = _tmp143_;
				_tmp144_ = k;
				_tmp145_ = v;
				_tmp146_ = g_strdup_printf ("%s:\t\t %s", _tmp144_, _tmp145_);
				_vala_array_add34 (&_result_, &_result__length1, &__result__size_, _tmp146_);
				_g_free0 (v);
			}
		}
		(k_collection == NULL) ? NULL : (k_collection = (g_list_free (k_collection), NULL));
	}
	_tmp147_ = _result_;
	_tmp147__length1 = _result__length1;
	_tmp148_ = _vala_g_strjoinv ("\n", _tmp147_, (gint) _tmp147__length1);
	_tmp149_ = _tmp148_;
	_tmp150_ = g_strconcat ("\n", _tmp149_, NULL);
	_tmp151_ = _tmp150_;
	_g_free0 (_tmp149_);
	result = _tmp151_;
	_result_ = (_vala_array_free (_result_, _result__length1, (GDestroyNotify) g_free), NULL);
	_g_free0 (_tmp130_);
	_actions = (_vala_array_free (_actions, _actions_length1, (GDestroyNotify) g_free), NULL);
	_hints = (_vala_array_free (_hints, _hints_length1, (GDestroyNotify) g_free), NULL);
	_g_free0 (_tmp17_);
	_sway_notification_center_ordered_hash_table_unref0 (params);
	return result;
}

guint32
sway_notification_center_notify_params_get_applied_id (SwayNotificationCenterNotifyParams* self)
{
	guint32 result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), 0U);
	result = self->priv->_applied_id;
	return result;
}

static void
sway_notification_center_notify_params_set_applied_id (SwayNotificationCenterNotifyParams* self,
                                                       guint32 value)
{
	guint32 old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_applied_id (self);
	if (old_value != value) {
		self->priv->_applied_id = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APPLIED_ID_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_app_name (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_app_name;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_app_name (SwayNotificationCenterNotifyParams* self,
                                                     const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_app_name (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_app_name);
		self->priv->_app_name = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_NAME_PROPERTY]);
	}
}

guint32
sway_notification_center_notify_params_get_replaces_id (SwayNotificationCenterNotifyParams* self)
{
	guint32 result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), 0U);
	result = self->priv->_replaces_id;
	return result;
}

static void
sway_notification_center_notify_params_set_replaces_id (SwayNotificationCenterNotifyParams* self,
                                                        guint32 value)
{
	guint32 old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_replaces_id (self);
	if (old_value != value) {
		self->priv->_replaces_id = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_REPLACES_ID_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_app_icon (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_app_icon;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_app_icon (SwayNotificationCenterNotifyParams* self,
                                                     const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_app_icon (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_app_icon);
		self->priv->_app_icon = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_ICON_PROPERTY]);
	}
}

SwayNotificationCenterAction*
sway_notification_center_notify_params_get_default_action (SwayNotificationCenterNotifyParams* self)
{
	SwayNotificationCenterAction* result;
	SwayNotificationCenterAction* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_default_action;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_default_action (SwayNotificationCenterNotifyParams* self,
                                                           SwayNotificationCenterAction* value)
{
	SwayNotificationCenterAction* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_default_action (self);
	if (old_value != value) {
		SwayNotificationCenterAction* _tmp0_;
		_tmp0_ = _g_object_ref0 (value);
		_g_object_unref0 (self->priv->_default_action);
		self->priv->_default_action = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DEFAULT_ACTION_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_summary (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_summary;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_summary (SwayNotificationCenterNotifyParams* self,
                                                    const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_summary (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_summary);
		self->priv->_summary = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SUMMARY_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_body (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_body;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_body (SwayNotificationCenterNotifyParams* self,
                                                 const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_body (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_body);
		self->priv->_body = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_BODY_PROPERTY]);
	}
}

GHashTable*
sway_notification_center_notify_params_get_hints (SwayNotificationCenterNotifyParams* self)
{
	GHashTable* result;
	GHashTable* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_hints;
	result = _tmp0_;
	return result;
}

static gpointer
_g_hash_table_ref0 (gpointer self)
{
	return self ? g_hash_table_ref (self) : NULL;
}

static void
sway_notification_center_notify_params_set_hints (SwayNotificationCenterNotifyParams* self,
                                                  GHashTable* value)
{
	GHashTable* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_hints (self);
	if (old_value != value) {
		GHashTable* _tmp0_;
		_tmp0_ = _g_hash_table_ref0 (value);
		_g_hash_table_unref0 (self->priv->_hints);
		self->priv->_hints = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HINTS_PROPERTY]);
	}
}

gint
sway_notification_center_notify_params_get_expire_timeout (SwayNotificationCenterNotifyParams* self)
{
	gint result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), 0);
	result = self->priv->_expire_timeout;
	return result;
}

static void
sway_notification_center_notify_params_set_expire_timeout (SwayNotificationCenterNotifyParams* self,
                                                           gint value)
{
	gint old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_expire_timeout (self);
	if (old_value != value) {
		self->priv->_expire_timeout = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_EXPIRE_TIMEOUT_PROPERTY]);
	}
}

gint64
sway_notification_center_notify_params_get_time (SwayNotificationCenterNotifyParams* self)
{
	gint64 result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), 0LL);
	result = self->priv->_time;
	return result;
}

static void
sway_notification_center_notify_params_set_time (SwayNotificationCenterNotifyParams* self,
                                                 gint64 value)
{
	gint64 old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_time (self);
	if (old_value != value) {
		self->priv->_time = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TIME_PROPERTY]);
	}
}

gboolean
sway_notification_center_notify_params_get_action_icons (SwayNotificationCenterNotifyParams* self)
{
	gboolean result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), FALSE);
	result = self->priv->_action_icons;
	return result;
}

static void
sway_notification_center_notify_params_set_action_icons (SwayNotificationCenterNotifyParams* self,
                                                         gboolean value)
{
	gboolean old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_action_icons (self);
	if (old_value != value) {
		self->priv->_action_icons = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTION_ICONS_PROPERTY]);
	}
}

void
sway_notification_center_notify_params_get_image_data (SwayNotificationCenterNotifyParams* self,
                                                       SwayNotificationCenterImageData * result)
{
	SwayNotificationCenterImageData _tmp0_;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	_tmp0_ = self->priv->_image_data;
	*result = _tmp0_;
	return;
}

static gboolean
_sway_notification_center_image_data_equal (const SwayNotificationCenterImageData * s1,
                                            const SwayNotificationCenterImageData * s2)
{
	if (s1 == s2) {
		return TRUE;
	}
	if (s1 == NULL) {
		return FALSE;
	}
	if (s2 == NULL) {
		return FALSE;
	}
	if (s1->width != s2->width) {
		return FALSE;
	}
	if (s1->height != s2->height) {
		return FALSE;
	}
	if (s1->rowstride != s2->rowstride) {
		return FALSE;
	}
	if (s1->has_alpha != s2->has_alpha) {
		return FALSE;
	}
	if (s1->bits_per_sample != s2->bits_per_sample) {
		return FALSE;
	}
	if (s1->channels != s2->channels) {
		return FALSE;
	}
	if (s1->data != s2->data) {
		return FALSE;
	}
	if (s1->is_initialized != s2->is_initialized) {
		return FALSE;
	}
	return TRUE;
}

static void
sway_notification_center_notify_params_set_image_data (SwayNotificationCenterNotifyParams* self,
                                                       SwayNotificationCenterImageData * value)
{
	SwayNotificationCenterImageData old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	sway_notification_center_notify_params_get_image_data (self, &old_value);
	if (_sway_notification_center_image_data_equal (value, &old_value) != TRUE) {
		SwayNotificationCenterImageData _tmp0_;
		_tmp0_ = *value;
		self->priv->_image_data = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_DATA_PROPERTY]);
	}
}

void
sway_notification_center_notify_params_get_icon_data (SwayNotificationCenterNotifyParams* self,
                                                      SwayNotificationCenterImageData * result)
{
	SwayNotificationCenterImageData _tmp0_;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	_tmp0_ = self->priv->_icon_data;
	*result = _tmp0_;
	return;
}

static void
sway_notification_center_notify_params_set_icon_data (SwayNotificationCenterNotifyParams* self,
                                                      SwayNotificationCenterImageData * value)
{
	SwayNotificationCenterImageData old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	sway_notification_center_notify_params_get_icon_data (self, &old_value);
	if (_sway_notification_center_image_data_equal (value, &old_value) != TRUE) {
		SwayNotificationCenterImageData _tmp0_;
		_tmp0_ = *value;
		self->priv->_icon_data = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ICON_DATA_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_image_path (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_image_path;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_image_path (SwayNotificationCenterNotifyParams* self,
                                                       const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_image_path (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_image_path);
		self->priv->_image_path = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_PATH_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_desktop_entry (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_desktop_entry;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_desktop_entry (SwayNotificationCenterNotifyParams* self,
                                                          const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_desktop_entry (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_desktop_entry);
		self->priv->_desktop_entry = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_ENTRY_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_category (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_category;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_category (SwayNotificationCenterNotifyParams* self,
                                                     const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_category (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_category);
		self->priv->_category = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_CATEGORY_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_sound_name (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_sound_name;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_sound_name (SwayNotificationCenterNotifyParams* self,
                                                       const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_sound_name (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_sound_name);
		self->priv->_sound_name = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_NAME_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_sound_file (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_sound_file;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_sound_file (SwayNotificationCenterNotifyParams* self,
                                                       const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_sound_file (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_sound_file);
		self->priv->_sound_file = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_FILE_PROPERTY]);
	}
}

gboolean
sway_notification_center_notify_params_get_resident (SwayNotificationCenterNotifyParams* self)
{
	gboolean result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), FALSE);
	result = self->priv->_resident;
	return result;
}

static void
sway_notification_center_notify_params_set_resident (SwayNotificationCenterNotifyParams* self,
                                                     gboolean value)
{
	gboolean old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_resident (self);
	if (old_value != value) {
		self->priv->_resident = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_RESIDENT_PROPERTY]);
	}
}

gboolean
sway_notification_center_notify_params_get_transient (SwayNotificationCenterNotifyParams* self)
{
	gboolean result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), FALSE);
	result = self->priv->_transient;
	return result;
}

static void
sway_notification_center_notify_params_set_transient (SwayNotificationCenterNotifyParams* self,
                                                      gboolean value)
{
	gboolean old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_transient (self);
	if (old_value != value) {
		self->priv->_transient = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TRANSIENT_PROPERTY]);
	}
}

SwayNotificationCenterUrgencyLevels
sway_notification_center_notify_params_get_urgency (SwayNotificationCenterNotifyParams* self)
{
	SwayNotificationCenterUrgencyLevels result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), 0);
	result = self->priv->_urgency;
	return result;
}

static void
sway_notification_center_notify_params_set_urgency (SwayNotificationCenterNotifyParams* self,
                                                    SwayNotificationCenterUrgencyLevels value)
{
	SwayNotificationCenterUrgencyLevels old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_urgency (self);
	if (old_value != value) {
		self->priv->_urgency = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_URGENCY_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_synchronous (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_synchronous;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_synchronous (SwayNotificationCenterNotifyParams* self,
                                                        const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_synchronous (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_synchronous);
		self->priv->_synchronous = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SYNCHRONOUS_PROPERTY]);
	}
}

gint
sway_notification_center_notify_params_get_value (SwayNotificationCenterNotifyParams* self)
{
	gint result;
	gint _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), 0);
	_tmp0_ = self->priv->_priv_value;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_value (SwayNotificationCenterNotifyParams* self,
                                                  gint value)
{
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	sway_notification_center_notify_params_set_priv_value (self, CLAMP (value, 0, 100));
	g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_VALUE_PROPERTY]);
}

static gint
sway_notification_center_notify_params_get_priv_value (SwayNotificationCenterNotifyParams* self)
{
	gint result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), 0);
	result = self->priv->_priv_value;
	return result;
}

static void
sway_notification_center_notify_params_set_priv_value (SwayNotificationCenterNotifyParams* self,
                                                       gint value)
{
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	self->priv->_priv_value = value;
}

gboolean
sway_notification_center_notify_params_get_has_synch (SwayNotificationCenterNotifyParams* self)
{
	gboolean result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), FALSE);
	result = self->priv->_has_synch;
	return result;
}

static void
sway_notification_center_notify_params_set_has_synch (SwayNotificationCenterNotifyParams* self,
                                                      gboolean value)
{
	gboolean old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_has_synch (self);
	if (old_value != value) {
		self->priv->_has_synch = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HAS_SYNCH_PROPERTY]);
	}
}

SwayNotificationCenterAction*
sway_notification_center_notify_params_get_inline_reply (SwayNotificationCenterNotifyParams* self)
{
	SwayNotificationCenterAction* result;
	SwayNotificationCenterAction* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_inline_reply;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_inline_reply (SwayNotificationCenterNotifyParams* self,
                                                         SwayNotificationCenterAction* value)
{
	SwayNotificationCenterAction* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_inline_reply (self);
	if (old_value != value) {
		SwayNotificationCenterAction* _tmp0_;
		_tmp0_ = _g_object_ref0 (value);
		_g_object_unref0 (self->priv->_inline_reply);
		self->priv->_inline_reply = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_inline_reply_placeholder (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_inline_reply_placeholder;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_inline_reply_placeholder (SwayNotificationCenterNotifyParams* self,
                                                                     const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_inline_reply_placeholder (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_inline_reply_placeholder);
		self->priv->_inline_reply_placeholder = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PLACEHOLDER_PROPERTY]);
	}
}

gboolean
sway_notification_center_notify_params_get_swaync_no_script (SwayNotificationCenterNotifyParams* self)
{
	gboolean result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), FALSE);
	result = self->priv->_swaync_no_script;
	return result;
}

static void
sway_notification_center_notify_params_set_swaync_no_script (SwayNotificationCenterNotifyParams* self,
                                                             gboolean value)
{
	gboolean old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_swaync_no_script (self);
	if (old_value != value) {
		self->priv->_swaync_no_script = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_NO_SCRIPT_PROPERTY]);
	}
}

gboolean
sway_notification_center_notify_params_get_swaync_bypass_dnd (SwayNotificationCenterNotifyParams* self)
{
	gboolean result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), FALSE);
	result = self->priv->_swaync_bypass_dnd;
	return result;
}

static void
sway_notification_center_notify_params_set_swaync_bypass_dnd (SwayNotificationCenterNotifyParams* self,
                                                              gboolean value)
{
	gboolean old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_swaync_bypass_dnd (self);
	if (old_value != value) {
		self->priv->_swaync_bypass_dnd = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_BYPASS_DND_PROPERTY]);
	}
}

GArray*
sway_notification_center_notify_params_get_actions (SwayNotificationCenterNotifyParams* self)
{
	GArray* result;
	GArray* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_actions;
	result = _tmp0_;
	return result;
}

static gpointer
_g_array_ref0 (gpointer self)
{
	return self ? g_array_ref (self) : NULL;
}

static void
sway_notification_center_notify_params_set_actions (SwayNotificationCenterNotifyParams* self,
                                                    GArray* value)
{
	GArray* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_actions (self);
	if (old_value != value) {
		GArray* _tmp0_;
		_tmp0_ = _g_array_ref0 (value);
		_g_array_unref0 (self->priv->_actions);
		self->priv->_actions = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTIONS_PROPERTY]);
	}
}

GDesktopAppInfo*
sway_notification_center_notify_params_get_desktop_app_info (SwayNotificationCenterNotifyParams* self)
{
	GDesktopAppInfo* result;
	GDesktopAppInfo* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_desktop_app_info;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_desktop_app_info (SwayNotificationCenterNotifyParams* self,
                                                             GDesktopAppInfo* value)
{
	GDesktopAppInfo* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_desktop_app_info (self);
	if (old_value != value) {
		GDesktopAppInfo* _tmp0_;
		_tmp0_ = _g_object_ref0 (value);
		_g_object_unref0 (self->priv->_desktop_app_info);
		self->priv->_desktop_app_info = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_APP_INFO_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_name_id (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_name_id;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_name_id (SwayNotificationCenterNotifyParams* self,
                                                    const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_name_id (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_name_id);
		self->priv->_name_id = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_NAME_ID_PROPERTY]);
	}
}

const gchar*
sway_notification_center_notify_params_get_display_name (SwayNotificationCenterNotifyParams* self)
{
	const gchar* result;
	const gchar* _tmp0_;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), NULL);
	_tmp0_ = self->priv->_display_name;
	result = _tmp0_;
	return result;
}

static void
sway_notification_center_notify_params_set_display_name (SwayNotificationCenterNotifyParams* self,
                                                         const gchar* value)
{
	gchar* old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_display_name (self);
	if (g_strcmp0 (value, old_value) != 0) {
		gchar* _tmp0_;
		_tmp0_ = g_strdup (value);
		_g_free0 (self->priv->_display_name);
		self->priv->_display_name = _tmp0_;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DISPLAY_NAME_PROPERTY]);
	}
}

SwayNotificationCenterNotificationStatusEnum
sway_notification_center_notify_params_get_status_state (SwayNotificationCenterNotifyParams* self)
{
	SwayNotificationCenterNotificationStatusEnum result;
	g_return_val_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self), 0);
	result = self->priv->_status_state;
	return result;
}

static void
sway_notification_center_notify_params_set_status_state (SwayNotificationCenterNotifyParams* self,
                                                         SwayNotificationCenterNotificationStatusEnum value)
{
	SwayNotificationCenterNotificationStatusEnum old_value;
	g_return_if_fail (SWAY_NOTIFICATION_CENTER_IS_NOTIFY_PARAMS (self));
	old_value = sway_notification_center_notify_params_get_status_state (self);
	if (old_value != value) {
		self->priv->_status_state = value;
		g_object_notify_by_pspec ((GObject *) self, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_STATUS_STATE_PROPERTY]);
	}
}

static void
sway_notification_center_notify_params_class_init (SwayNotificationCenterNotifyParamsClass * klass,
                                                   gpointer klass_data)
{
	sway_notification_center_notify_params_parent_class = g_type_class_peek_parent (klass);
	g_type_class_adjust_private_offset (klass, &SwayNotificationCenterNotifyParams_private_offset);
	G_OBJECT_CLASS (klass)->get_property = _vala_sway_notification_center_notify_params_get_property;
	G_OBJECT_CLASS (klass)->set_property = _vala_sway_notification_center_notify_params_set_property;
	G_OBJECT_CLASS (klass)->finalize = sway_notification_center_notify_params_finalize;
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APPLIED_ID_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APPLIED_ID_PROPERTY] = g_param_spec_uint ("applied-id", "applied-id", "applied-id", 0, G_MAXUINT, 0U, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_NAME_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_NAME_PROPERTY] = g_param_spec_string ("app-name", "app-name", "app-name", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_REPLACES_ID_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_REPLACES_ID_PROPERTY] = g_param_spec_uint ("replaces-id", "replaces-id", "replaces-id", 0, G_MAXUINT, 0U, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_ICON_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_ICON_PROPERTY] = g_param_spec_string ("app-icon", "app-icon", "app-icon", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DEFAULT_ACTION_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DEFAULT_ACTION_PROPERTY] = g_param_spec_object ("default-action", "default-action", "default-action", SWAY_NOTIFICATION_CENTER_TYPE_ACTION, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SUMMARY_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SUMMARY_PROPERTY] = g_param_spec_string ("summary", "summary", "summary", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_BODY_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_BODY_PROPERTY] = g_param_spec_string ("body", "body", "body", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HINTS_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HINTS_PROPERTY] = g_param_spec_boxed ("hints", "hints", "hints", G_TYPE_HASH_TABLE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_EXPIRE_TIMEOUT_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_EXPIRE_TIMEOUT_PROPERTY] = g_param_spec_int ("expire-timeout", "expire-timeout", "expire-timeout", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TIME_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TIME_PROPERTY] = g_param_spec_int64 ("time", "time", "time", G_MININT64, G_MAXINT64, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/**
	         * When set, a server that has the "action-icons" capability will attempt to
	         * interpret any action identifier as a named icon. The localized display
	         * name will be used to annotate the icon for accessibility purposes.
	         * The icon name should be compliant with the Freedesktop.org Icon Naming Specification.
	         */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTION_ICONS_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTION_ICONS_PROPERTY] = g_param_spec_boolean ("action-icons", "action-icons", "action-icons", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/**
	         * This is a raw data image format which describes the
	         * width, height, rowstride, has alpha, bits per sample, channels
	         * and image data respectively.
	         */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_DATA_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_DATA_PROPERTY] = g_param_spec_boxed ("image-data", "image-data", "image-data", SWAY_NOTIFICATION_CENTER_TYPE_IMAGE_DATA, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ICON_DATA_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ICON_DATA_PROPERTY] = g_param_spec_boxed ("icon-data", "icon-data", "icon-data", SWAY_NOTIFICATION_CENTER_TYPE_IMAGE_DATA, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_PATH_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_PATH_PROPERTY] = g_param_spec_string ("image-path", "image-path", "image-path", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/**
	         * This specifies the name of the desktop filename representing the calling program.
	         * This should be the same as the prefix used for the application's .desktop file.
	         * An example would be "rhythmbox" from "rhythmbox.desktop". This can be used
	         * by the daemon to retrieve the correct icon for the application, for
	         * logging purposes, etc.
	         */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_ENTRY_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_ENTRY_PROPERTY] = g_param_spec_string ("desktop-entry", "desktop-entry", "desktop-entry", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/** The type of notification this is. */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_CATEGORY_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_CATEGORY_PROPERTY] = g_param_spec_string ("category", "category", "category", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/**
	         * A themeable named sound from the freedesktop.org sound naming specification
	         * to play when the notification pops up. Similar to icon-name, only for sounds.
	         * An example would be "message-new-instant".
	         */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_NAME_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_NAME_PROPERTY] = g_param_spec_string ("sound-name", "sound-name", "sound-name", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/** The path to a sound file to play when the notification pops up. */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_FILE_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_FILE_PROPERTY] = g_param_spec_string ("sound-file", "sound-file", "sound-file", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/**
	         * When set the server will not automatically remove the notification
	         * when an action has been invoked. The notification will remain resident
	         * in the server until it is explicitly removed by the user or by the sender.
	         * This hint is likely only useful when the server has the "persistence" capability.
	         */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_RESIDENT_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_RESIDENT_PROPERTY] = g_param_spec_boolean ("resident", "resident", "resident", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/**
	         * When set the server will treat the notification as transient and by-pass
	         * the server's persistence capability, if it should exist.
	         * (Only floating and always expire)
	         */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TRANSIENT_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TRANSIENT_PROPERTY] = g_param_spec_boolean ("transient", "transient", "transient", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/** The urgency level. */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_URGENCY_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_URGENCY_PROPERTY] = g_param_spec_enum ("urgency", "urgency", "urgency", SWAY_NOTIFICATION_CENTER_TYPE_URGENCY_LEVELS, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/** Replaces the old notification with the same value of:
	         * - x-canonical-private-synchronous
	         * - synchronous
	         */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SYNCHRONOUS_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SYNCHRONOUS_PROPERTY] = g_param_spec_string ("synchronous", "synchronous", "synchronous", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/** Used for notification progress bar (0->100) */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_VALUE_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_VALUE_PROPERTY] = g_param_spec_int ("value", "value", "value", G_MININT, G_MAXINT, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HAS_SYNCH_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HAS_SYNCH_PROPERTY] = g_param_spec_boolean ("has-synch", "has-synch", "has-synch", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/** Inline-replies */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PROPERTY] = g_param_spec_object ("inline-reply", "inline-reply", "inline-reply", SWAY_NOTIFICATION_CENTER_TYPE_ACTION, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PLACEHOLDER_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PLACEHOLDER_PROPERTY] = g_param_spec_string ("inline-reply-placeholder", "inline-reply-placeholder", "inline-reply-placeholder", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/** Disables scripting for notification */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_NO_SCRIPT_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_NO_SCRIPT_PROPERTY] = g_param_spec_boolean ("swaync-no-script", "swaync-no-script", "swaync-no-script", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	/** Always show the notification, regardless of dnd/inhibit state */
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_BYPASS_DND_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_BYPASS_DND_PROPERTY] = g_param_spec_boolean ("swaync-bypass-dnd", "swaync-bypass-dnd", "swaync-bypass-dnd", FALSE, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTIONS_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTIONS_PROPERTY] = g_param_spec_boxed ("actions", "actions", "actions", G_TYPE_ARRAY, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_APP_INFO_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_APP_INFO_PROPERTY] = g_param_spec_object ("desktop-app-info", "desktop-app-info", "desktop-app-info", G_TYPE_DESKTOP_APP_INFO, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_NAME_ID_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_NAME_ID_PROPERTY] = g_param_spec_string ("name-id", "name-id", "name-id", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DISPLAY_NAME_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DISPLAY_NAME_PROPERTY] = g_param_spec_string ("display-name", "display-name", "display-name", NULL, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
	g_object_class_install_property (G_OBJECT_CLASS (klass), SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_STATUS_STATE_PROPERTY, sway_notification_center_notify_params_properties[SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_STATUS_STATE_PROPERTY] = g_param_spec_enum ("status-state", "status-state", "status-state", SWAY_NOTIFICATION_CENTER_TYPE_NOTIFICATION_STATUS_ENUM, 0, G_PARAM_STATIC_STRINGS | G_PARAM_READABLE));
}

static void
sway_notification_center_notify_params_instance_init (SwayNotificationCenterNotifyParams * self,
                                                      gpointer klass)
{
	self->priv = sway_notification_center_notify_params_get_instance_private (self);
	self->priv->_desktop_app_info = NULL;
}

static void
sway_notification_center_notify_params_finalize (GObject * obj)
{
	SwayNotificationCenterNotifyParams * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (obj, SWAY_NOTIFICATION_CENTER_TYPE_NOTIFY_PARAMS, SwayNotificationCenterNotifyParams);
	_g_free0 (self->priv->_app_name);
	_g_free0 (self->priv->_app_icon);
	_g_object_unref0 (self->priv->_default_action);
	_g_free0 (self->priv->_summary);
	_g_free0 (self->priv->_body);
	_g_hash_table_unref0 (self->priv->_hints);
	_g_free0 (self->priv->_image_path);
	_g_free0 (self->priv->_desktop_entry);
	_g_free0 (self->priv->_category);
	_g_free0 (self->priv->_sound_name);
	_g_free0 (self->priv->_sound_file);
	_g_free0 (self->priv->_synchronous);
	_g_object_unref0 (self->priv->_inline_reply);
	_g_free0 (self->priv->_inline_reply_placeholder);
	_g_array_unref0 (self->priv->_actions);
	_g_object_unref0 (self->priv->_desktop_app_info);
	_g_free0 (self->priv->_name_id);
	_g_free0 (self->priv->_display_name);
	G_OBJECT_CLASS (sway_notification_center_notify_params_parent_class)->finalize (obj);
}

 G_GNUC_NO_INLINE static GType
sway_notification_center_notify_params_get_type_once (void)
{
	static const GTypeInfo g_define_type_info = { sizeof (SwayNotificationCenterNotifyParamsClass), (GBaseInitFunc) NULL, (GBaseFinalizeFunc) NULL, (GClassInitFunc) sway_notification_center_notify_params_class_init, (GClassFinalizeFunc) NULL, NULL, sizeof (SwayNotificationCenterNotifyParams), 0, (GInstanceInitFunc) sway_notification_center_notify_params_instance_init, NULL };
	GType sway_notification_center_notify_params_type_id;
	sway_notification_center_notify_params_type_id = g_type_register_static (G_TYPE_OBJECT, "SwayNotificationCenterNotifyParams", &g_define_type_info, 0);
	SwayNotificationCenterNotifyParams_private_offset = g_type_add_instance_private (sway_notification_center_notify_params_type_id, sizeof (SwayNotificationCenterNotifyParamsPrivate));
	return sway_notification_center_notify_params_type_id;
}

GType
sway_notification_center_notify_params_get_type (void)
{
	static gsize sway_notification_center_notify_params_type_id__once = 0;
	if (g_once_init_enter (&sway_notification_center_notify_params_type_id__once)) {
		GType sway_notification_center_notify_params_type_id;
		sway_notification_center_notify_params_type_id = sway_notification_center_notify_params_get_type_once ();
		g_once_init_leave (&sway_notification_center_notify_params_type_id__once, sway_notification_center_notify_params_type_id);
	}
	return sway_notification_center_notify_params_type_id__once;
}

static void
_vala_sway_notification_center_notify_params_get_property (GObject * object,
                                                           guint property_id,
                                                           GValue * value,
                                                           GParamSpec * pspec)
{
	SwayNotificationCenterNotifyParams * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, SWAY_NOTIFICATION_CENTER_TYPE_NOTIFY_PARAMS, SwayNotificationCenterNotifyParams);
	switch (property_id) {
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APPLIED_ID_PROPERTY:
		g_value_set_uint (value, sway_notification_center_notify_params_get_applied_id (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_NAME_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_app_name (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_REPLACES_ID_PROPERTY:
		g_value_set_uint (value, sway_notification_center_notify_params_get_replaces_id (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_ICON_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_app_icon (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DEFAULT_ACTION_PROPERTY:
		g_value_set_object (value, sway_notification_center_notify_params_get_default_action (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SUMMARY_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_summary (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_BODY_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_body (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HINTS_PROPERTY:
		g_value_set_boxed (value, sway_notification_center_notify_params_get_hints (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_EXPIRE_TIMEOUT_PROPERTY:
		g_value_set_int (value, sway_notification_center_notify_params_get_expire_timeout (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TIME_PROPERTY:
		g_value_set_int64 (value, sway_notification_center_notify_params_get_time (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTION_ICONS_PROPERTY:
		g_value_set_boolean (value, sway_notification_center_notify_params_get_action_icons (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_DATA_PROPERTY:
		{
			SwayNotificationCenterImageData boxed;
			sway_notification_center_notify_params_get_image_data (self, &boxed);
			g_value_set_boxed (value, &boxed);
		}
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ICON_DATA_PROPERTY:
		{
			SwayNotificationCenterImageData boxed;
			sway_notification_center_notify_params_get_icon_data (self, &boxed);
			g_value_set_boxed (value, &boxed);
		}
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_PATH_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_image_path (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_ENTRY_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_desktop_entry (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_CATEGORY_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_category (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_NAME_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_sound_name (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_FILE_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_sound_file (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_RESIDENT_PROPERTY:
		g_value_set_boolean (value, sway_notification_center_notify_params_get_resident (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TRANSIENT_PROPERTY:
		g_value_set_boolean (value, sway_notification_center_notify_params_get_transient (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_URGENCY_PROPERTY:
		g_value_set_enum (value, sway_notification_center_notify_params_get_urgency (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SYNCHRONOUS_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_synchronous (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_VALUE_PROPERTY:
		g_value_set_int (value, sway_notification_center_notify_params_get_value (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HAS_SYNCH_PROPERTY:
		g_value_set_boolean (value, sway_notification_center_notify_params_get_has_synch (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PROPERTY:
		g_value_set_object (value, sway_notification_center_notify_params_get_inline_reply (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PLACEHOLDER_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_inline_reply_placeholder (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_NO_SCRIPT_PROPERTY:
		g_value_set_boolean (value, sway_notification_center_notify_params_get_swaync_no_script (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_BYPASS_DND_PROPERTY:
		g_value_set_boolean (value, sway_notification_center_notify_params_get_swaync_bypass_dnd (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTIONS_PROPERTY:
		g_value_set_boxed (value, sway_notification_center_notify_params_get_actions (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_APP_INFO_PROPERTY:
		g_value_set_object (value, sway_notification_center_notify_params_get_desktop_app_info (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_NAME_ID_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_name_id (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DISPLAY_NAME_PROPERTY:
		g_value_set_string (value, sway_notification_center_notify_params_get_display_name (self));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_STATUS_STATE_PROPERTY:
		g_value_set_enum (value, sway_notification_center_notify_params_get_status_state (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_sway_notification_center_notify_params_set_property (GObject * object,
                                                           guint property_id,
                                                           const GValue * value,
                                                           GParamSpec * pspec)
{
	SwayNotificationCenterNotifyParams * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, SWAY_NOTIFICATION_CENTER_TYPE_NOTIFY_PARAMS, SwayNotificationCenterNotifyParams);
	switch (property_id) {
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APPLIED_ID_PROPERTY:
		sway_notification_center_notify_params_set_applied_id (self, g_value_get_uint (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_NAME_PROPERTY:
		sway_notification_center_notify_params_set_app_name (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_REPLACES_ID_PROPERTY:
		sway_notification_center_notify_params_set_replaces_id (self, g_value_get_uint (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_APP_ICON_PROPERTY:
		sway_notification_center_notify_params_set_app_icon (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DEFAULT_ACTION_PROPERTY:
		sway_notification_center_notify_params_set_default_action (self, g_value_get_object (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SUMMARY_PROPERTY:
		sway_notification_center_notify_params_set_summary (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_BODY_PROPERTY:
		sway_notification_center_notify_params_set_body (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HINTS_PROPERTY:
		sway_notification_center_notify_params_set_hints (self, g_value_get_boxed (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_EXPIRE_TIMEOUT_PROPERTY:
		sway_notification_center_notify_params_set_expire_timeout (self, g_value_get_int (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TIME_PROPERTY:
		sway_notification_center_notify_params_set_time (self, g_value_get_int64 (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTION_ICONS_PROPERTY:
		sway_notification_center_notify_params_set_action_icons (self, g_value_get_boolean (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_DATA_PROPERTY:
		sway_notification_center_notify_params_set_image_data (self, g_value_get_boxed (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ICON_DATA_PROPERTY:
		sway_notification_center_notify_params_set_icon_data (self, g_value_get_boxed (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_IMAGE_PATH_PROPERTY:
		sway_notification_center_notify_params_set_image_path (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_ENTRY_PROPERTY:
		sway_notification_center_notify_params_set_desktop_entry (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_CATEGORY_PROPERTY:
		sway_notification_center_notify_params_set_category (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_NAME_PROPERTY:
		sway_notification_center_notify_params_set_sound_name (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SOUND_FILE_PROPERTY:
		sway_notification_center_notify_params_set_sound_file (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_RESIDENT_PROPERTY:
		sway_notification_center_notify_params_set_resident (self, g_value_get_boolean (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_TRANSIENT_PROPERTY:
		sway_notification_center_notify_params_set_transient (self, g_value_get_boolean (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_URGENCY_PROPERTY:
		sway_notification_center_notify_params_set_urgency (self, g_value_get_enum (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SYNCHRONOUS_PROPERTY:
		sway_notification_center_notify_params_set_synchronous (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_VALUE_PROPERTY:
		sway_notification_center_notify_params_set_value (self, g_value_get_int (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_HAS_SYNCH_PROPERTY:
		sway_notification_center_notify_params_set_has_synch (self, g_value_get_boolean (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PROPERTY:
		sway_notification_center_notify_params_set_inline_reply (self, g_value_get_object (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_INLINE_REPLY_PLACEHOLDER_PROPERTY:
		sway_notification_center_notify_params_set_inline_reply_placeholder (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_NO_SCRIPT_PROPERTY:
		sway_notification_center_notify_params_set_swaync_no_script (self, g_value_get_boolean (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_SWAYNC_BYPASS_DND_PROPERTY:
		sway_notification_center_notify_params_set_swaync_bypass_dnd (self, g_value_get_boolean (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_ACTIONS_PROPERTY:
		sway_notification_center_notify_params_set_actions (self, g_value_get_boxed (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DESKTOP_APP_INFO_PROPERTY:
		sway_notification_center_notify_params_set_desktop_app_info (self, g_value_get_object (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_NAME_ID_PROPERTY:
		sway_notification_center_notify_params_set_name_id (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_DISPLAY_NAME_PROPERTY:
		sway_notification_center_notify_params_set_display_name (self, g_value_get_string (value));
		break;
		case SWAY_NOTIFICATION_CENTER_NOTIFY_PARAMS_STATUS_STATE_PROPERTY:
		sway_notification_center_notify_params_set_status_state (self, g_value_get_enum (value));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}

static void
_vala_array_destroy (gpointer array,
                     gssize array_length,
                     GDestroyNotify destroy_func)
{
	if ((array != NULL) && (destroy_func != NULL)) {
		gssize i;
		for (i = 0; i < array_length; i = i + 1) {
			if (((gpointer*) array)[i] != NULL) {
				destroy_func (((gpointer*) array)[i]);
			}
		}
	}
}

static void
_vala_array_free (gpointer array,
                  gssize array_length,
                  GDestroyNotify destroy_func)
{
	_vala_array_destroy (array, array_length, destroy_func);
	g_free (array);
}

