<?php

namespace EnumType;

use \WsdlToPhp\PackageBase\AbstractStructEnumBase;

/**
 * This class stands for CustomRecordTypeAccessType EnumType
 * @subpackage Enumerations
 */
class CustomRecordTypeAccessType extends AbstractStructEnumBase
{
    /**
     * Constant for value '_noPermissionRequired'
     * @return string '_noPermissionRequired'
     */
    const VALUE_NO_PERMISSION_REQUIRED = '_noPermissionRequired';
    /**
     * Constant for value '_requireCustomRecordEntriesPermission'
     * @return string '_requireCustomRecordEntriesPermission'
     */
    const VALUE_REQUIRE_CUSTOM_RECORD_ENTRIES_PERMISSION = '_requireCustomRecordEntriesPermission';
    /**
     * Constant for value '_usePermissionList'
     * @return string '_usePermissionList'
     */
    const VALUE_USE_PERMISSION_LIST = '_usePermissionList';
    /**
     * Return allowed values
     * @uses self::VALUE_NO_PERMISSION_REQUIRED
     * @uses self::VALUE_REQUIRE_CUSTOM_RECORD_ENTRIES_PERMISSION
     * @uses self::VALUE_USE_PERMISSION_LIST
     * @return string[]
     */
    public static function getValidValues()
    {
        return array(
            self::VALUE_NO_PERMISSION_REQUIRED,
            self::VALUE_REQUIRE_CUSTOM_RECORD_ENTRIES_PERMISSION,
            self::VALUE_USE_PERMISSION_LIST,
        );
    }
}
