<?php

/**
 * TaskErrorType.
 *
 * PHP version 7.4
 *
 * @category Class
 *
 * @author   OpenAPI Generator team
 *
 * @see     https://openapi-generator.tech
 */

/**
 * Sync Core.
 *
 * The Sync Core that sends and receives content from all connected sites and services for Content Sync.
 *
 * The version of the OpenAPI document: 1.0
 * Generated by: https://openapi-generator.tech
 * OpenAPI Generator version: 6.4.0
 */

/**
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

namespace EdgeBox\SyncCore\V2\Raw\Model;

/**
 * TaskErrorType Class Doc Comment.
 *
 * @category Class
 *
 * @author   OpenAPI Generator team
 *
 * @see     https://openapi-generator.tech
 */
class TaskErrorType
{
    /**
     * Possible values of this enum.
     */
    public const UNEXPECTED = 'unexpected';

    public const REQUEST = 'request';

    public const TIMEOUT = 'timeout';

    public const BAD_RESPONSE_CODE = 'bad-response-code';

    public const BAD_RESPONSE_BODY = 'bad-response-body';

    public const INVALID_DEPENDENCY = 'invalid-dependency';

    public const BAD_REQUEST_BODY = 'bad-request-body';

    public const SITE_MUST_POLL = 'site-must-poll';

    public const SITE_FAILED_TO_POLL = 'site-failed-to-poll';

    /**
     * Gets allowable values of the enum.
     *
     * @return string[]
     */
    public static function getAllowableEnumValues()
    {
        return [
            self::UNEXPECTED,
            self::REQUEST,
            self::TIMEOUT,
            self::BAD_RESPONSE_CODE,
            self::BAD_RESPONSE_BODY,
            self::INVALID_DEPENDENCY,
            self::BAD_REQUEST_BODY,
            self::SITE_MUST_POLL,
            self::SITE_FAILED_TO_POLL,
        ];
    }
}
