
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */

#include "gdata-enums.h"
#include "gdata.h"
#include "gdata-access-handler.h"
#include "gdata-access-rule.h"
#include "gdata-authorization-domain.h"
#include "gdata-authorizer.h"
#include "gdata-batch-operation.h"
#include "gdata-batchable.h"
#include "gdata-client-login-authorizer.h"
#include "gdata-comment.h"
#include "gdata-commentable.h"
#include "gdata-comparable.h"
#include "gdata-download-stream.h"
#include "gdata-entry.h"
#include "gdata-feed.h"
#include "gdata-oauth1-authorizer.h"
#include "gdata-oauth2-authorizer.h"
#include "gdata-parsable.h"
#include "gdata-query.h"
#include "gdata-service.h"
#include "gdata-types.h"
#include "gdata-upload-stream.h"
#include "gdata-goa-authorizer.h"
#include "gdata-version.h"

#define C_ENUM(v) ((gint) v)
#define C_FLAGS(v) ((guint) v)

/* enumerations from "gdata-batch-operation.h" */

GType
gdata_batch_operation_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_BATCH_OPERATION_QUERY), "GDATA_BATCH_OPERATION_QUERY", "query" },
        { C_ENUM (GDATA_BATCH_OPERATION_INSERTION), "GDATA_BATCH_OPERATION_INSERTION", "insertion" },
        { C_ENUM (GDATA_BATCH_OPERATION_UPDATE), "GDATA_BATCH_OPERATION_UPDATE", "update" },
        { C_ENUM (GDATA_BATCH_OPERATION_DELETION), "GDATA_BATCH_OPERATION_DELETION", "deletion" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataBatchOperationType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gdata-client-login-authorizer.h" */

GType
gdata_client_login_authorizer_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_BAD_AUTHENTICATION), "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_BAD_AUTHENTICATION", "bad-authentication" },
        { C_ENUM (GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_NOT_VERIFIED), "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_NOT_VERIFIED", "not-verified" },
        { C_ENUM (GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_TERMS_NOT_AGREED), "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_TERMS_NOT_AGREED", "terms-not-agreed" },
        { C_ENUM (GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_CAPTCHA_REQUIRED), "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_CAPTCHA_REQUIRED", "captcha-required" },
        { C_ENUM (GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_ACCOUNT_DELETED), "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_ACCOUNT_DELETED", "account-deleted" },
        { C_ENUM (GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_ACCOUNT_DISABLED), "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_ACCOUNT_DISABLED", "account-disabled" },
        { C_ENUM (GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_SERVICE_DISABLED), "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_SERVICE_DISABLED", "service-disabled" },
        { C_ENUM (GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_ACCOUNT_MIGRATED), "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_ACCOUNT_MIGRATED", "account-migrated" },
        { C_ENUM (GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_INVALID_SECOND_FACTOR), "GDATA_CLIENT_LOGIN_AUTHORIZER_ERROR_INVALID_SECOND_FACTOR", "invalid-second-factor" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataClientLoginAuthorizerError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gdata-parsable.h" */

GType
gdata_parser_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_PARSER_ERROR_PARSING_STRING), "GDATA_PARSER_ERROR_PARSING_STRING", "parsing-string" },
        { C_ENUM (GDATA_PARSER_ERROR_EMPTY_DOCUMENT), "GDATA_PARSER_ERROR_EMPTY_DOCUMENT", "empty-document" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataParserError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* enumerations from "gdata-service.h" */

GType
gdata_operation_type_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_OPERATION_QUERY), "GDATA_OPERATION_QUERY", "query" },
        { C_ENUM (GDATA_OPERATION_INSERTION), "GDATA_OPERATION_INSERTION", "insertion" },
        { C_ENUM (GDATA_OPERATION_UPDATE), "GDATA_OPERATION_UPDATE", "update" },
        { C_ENUM (GDATA_OPERATION_DELETION), "GDATA_OPERATION_DELETION", "deletion" },
        { C_ENUM (GDATA_OPERATION_DOWNLOAD), "GDATA_OPERATION_DOWNLOAD", "download" },
        { C_ENUM (GDATA_OPERATION_UPLOAD), "GDATA_OPERATION_UPLOAD", "upload" },
        { C_ENUM (GDATA_OPERATION_AUTHENTICATION), "GDATA_OPERATION_AUTHENTICATION", "authentication" },
        { C_ENUM (GDATA_OPERATION_BATCH), "GDATA_OPERATION_BATCH", "batch" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataOperationType"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

GType
gdata_service_error_get_type (void)
{
    static gsize gtype_id = 0;
    static const GEnumValue values[] = {
        { C_ENUM (GDATA_SERVICE_ERROR_UNAVAILABLE), "GDATA_SERVICE_ERROR_UNAVAILABLE", "unavailable" },
        { C_ENUM (GDATA_SERVICE_ERROR_PROTOCOL_ERROR), "GDATA_SERVICE_ERROR_PROTOCOL_ERROR", "protocol-error" },
        { C_ENUM (GDATA_SERVICE_ERROR_ENTRY_ALREADY_INSERTED), "GDATA_SERVICE_ERROR_ENTRY_ALREADY_INSERTED", "entry-alreadyserted" },
        { C_ENUM (GDATA_SERVICE_ERROR_AUTHENTICATION_REQUIRED), "GDATA_SERVICE_ERROR_AUTHENTICATION_REQUIRED", "authentication-required" },
        { C_ENUM (GDATA_SERVICE_ERROR_NOT_FOUND), "GDATA_SERVICE_ERROR_NOT_FOUND", "not-found" },
        { C_ENUM (GDATA_SERVICE_ERROR_CONFLICT), "GDATA_SERVICE_ERROR_CONFLICT", "conflict" },
        { C_ENUM (GDATA_SERVICE_ERROR_FORBIDDEN), "GDATA_SERVICE_ERROR_FORBIDDEN", "forbidden" },
        { C_ENUM (GDATA_SERVICE_ERROR_BAD_QUERY_PARAMETER), "GDATA_SERVICE_ERROR_BAD_QUERY_PARAMETER", "bad-query-parameter" },
        { C_ENUM (GDATA_SERVICE_ERROR_NETWORK_ERROR), "GDATA_SERVICE_ERROR_NETWORK_ERROR", "network-error" },
        { C_ENUM (GDATA_SERVICE_ERROR_PROXY_ERROR), "GDATA_SERVICE_ERROR_PROXY_ERROR", "proxy-error" },
        { C_ENUM (GDATA_SERVICE_ERROR_WITH_BATCH_OPERATION), "GDATA_SERVICE_ERROR_WITH_BATCH_OPERATION", "with-batch-operation" },
        { C_ENUM (GDATA_SERVICE_ERROR_API_QUOTA_EXCEEDED), "GDATA_SERVICE_ERROR_API_QUOTA_EXCEEDED", "api-quota-exceeded" },
        { 0, NULL, NULL }
    };
    if (g_once_init_enter (&gtype_id)) {
        GType new_type = g_enum_register_static (g_intern_static_string ("GDataServiceError"), values);
        g_once_init_leave (&gtype_id, new_type);
    }
    return (GType) gtype_id;
}

/* Generated data ends here */

