# Path: libcloud_rest/utils.py
# class JsonResponse(Response):
# class DateTimeJsonEncoder(json.JSONEncoder):
# class OrderedDict(dict):
# class LastUpdatedOrderedDict(OrderedDict):
#     def default(self, obj):
#     def __init__(self, *args, **kwds):
#     def __setitem__(self, key, value, dict_setitem=dict.__setitem__):
#     def __delitem__(self, key, dict_delitem=dict.__delitem__):
#     def __iter__(self):
#     def __reversed__(self):
#     def clear(self):
#     def popitem(self, last=True):
#     def keys(self):
#     def values(self):
#     def items(self):
#     def iterkeys(self):
#     def itervalues(self):
#     def iteritems(self):
#     def update(*args, **kwds):
#     def pop(self, key, default=__marker):
#     def setdefault(self, key, default=None):
#     def __repr__(self, _repr_running={}):
#     def __reduce__(self):
#     def copy(self):
#     def fromkeys(cls, iterable, value=None):
#     def __eq__(self, other):
#     def __ne__(self, other):
#     def viewkeys(self):
#     def viewvalues(self):
#     def viewitems(self):
#     def __setitem__(self, key, value):
# 
# Path: libcloud_rest/api/validators.py
# class BaseValidator(object):
# class NumericValidator(BaseValidator):
# class IntegerValidator(NumericValidator):
# class FloatValidator(NumericValidator):
# class StringValidator(BaseValidator):
# class BooleanValidator(BaseValidator):
# class NoneValidator(BaseValidator):
# class ConstValidator(BaseValidator):
# class DictValidator(BaseValidator):
# class ChoicesValidator(BaseValidator):
# class TypeValidator(BaseValidator):
#     def __init__(self, *args, **kwargs):
#     def configure(self, args, kwargs):
#     def _get_name(self):
#     def _set_name(self, new_name):
#     def __call__(self, data):
#     def _validate(self):
#     def _check_data(self):
#     def configure(self, args, kwargs):
#     def _check_data(self):
#     def _check_data(self):
#     def _check_data(self):
#     def _check_data(self):
#     def configure(self, args, kwargs):
#     def _check_data(self):
#     def configure(self, args, kwargs):
#     def _check_data(self):
#     def configure(self, args, kwargs):
#     def _check_data(self):
#     def configure(self, args, kwargs):
#     def _check_data(self):


from functools import partial
from libcloud.compute import base as compute_base
from libcloud.compute.drivers import openstack as compute_openstack
from libcloud.compute.drivers import cloudstack as compute_cloudstack
from libcloud.compute.drivers import digitalocean
from libcloud.compute.drivers import ec2
from libcloud.common import gandi as gandi_common
from libcloud.compute.drivers import opennebula as opennebula_compute
from libcloud.common import gogrid as gogrid_common
from libcloud.compute.drivers import gogrid as gogrid_compute
from libcloud.compute.drivers import opsource as opsourse_compute
from libcloud.compute.drivers import vcloud as vcloud_compute
from libcloud.compute.drivers import ibm_sce as ibm_sce_compute
from libcloud.dns import types as dns_types
from libcloud.dns import base as dns_base
from libcloud.loadbalancer import base as lb_base
from libcloud.loadbalancer.drivers import rackspace as lb_rackspace
from libcloud.storage import base as storage_base
from libcloud_rest.utils import json, DateTimeJsonEncoder
from libcloud_rest.api import validators as valid
from libcloud_rest.errors import MalformedJSONError, ValidationError,\
    MissingArguments, TooManyArgumentsError
import re
    validator_cls = valid.StringValidator
    type_name = 'str'


class DictField(Field):
    validator_cls = partial(valid.TypeValidator, dict)
    type_name = 'dict'


class TupleField(Field):
    validator_cls = partial(valid.TypeValidator, tuple)
    type_name = 'tuple'


class BooleanField(Field):
    validator_cls = valid.BooleanValidator
    type_name = 'bool'


class IntegerField(Field):
    validator_cls = valid.IntegerValidator
    type_name = 'int'


class FloatField(Field):
    validator_cls = valid.FloatValidator
    type_name = 'float'


class NoneField(Field):

# Path: libcloud_rest/utils.py
# class JsonResponse(Response):
# class DateTimeJsonEncoder(json.JSONEncoder):
# class OrderedDict(dict):
# class LastUpdatedOrderedDict(OrderedDict):
#     def default(self, obj):
#     def __init__(self, *args, **kwds):
#     def __setitem__(self, key, value, dict_setitem=dict.__setitem__):
#     def __delitem__(self, key, dict_delitem=dict.__delitem__):
#     def __iter__(self):
#     def __reversed__(self):
#     def clear(self):
#     def popitem(self, last=True):
#     def keys(self):
#     def values(self):
#     def items(self):
#     def iterkeys(self):
#     def itervalues(self):
#     def iteritems(self):
#     def update(*args, **kwds):
#     def pop(self, key, default=__marker):
#     def setdefault(self, key, default=None):
#     def __repr__(self, _repr_running={}):
#     def __reduce__(self):
#     def copy(self):
#     def fromkeys(cls, iterable, value=None):
#     def __eq__(self, other):
#     def __ne__(self, other):
#     def viewkeys(self):
#     def viewvalues(self):
#     def viewitems(self):
#     def __setitem__(self, key, value):
# 
# Path: libcloud_rest/api/validators.py
# class BaseValidator(object):
# class NumericValidator(BaseValidator):
# class IntegerValidator(NumericValidator):
# class FloatValidator(NumericValidator):
# class StringValidator(BaseValidator):
# class BooleanValidator(BaseValidator):
# class NoneValidator(BaseValidator):
# class ConstValidator(BaseValidator):
# class DictValidator(BaseValidator):
# class ChoicesValidator(BaseValidator):
# class TypeValidator(BaseValidator):
#     def __init__(self, *args, **kwargs):
#     def configure(self, args, kwargs):
#     def _get_name(self):
#     def _set_name(self, new_name):
#     def __call__(self, data):
#     def _validate(self):
#     def _check_data(self):
#     def configure(self, args, kwargs):
#     def _check_data(self):
#     def _check_data(self):
#     def _check_data(self):
#     def _check_data(self):
#     def configure(self, args, kwargs):
#     def _check_data(self):
#     def configure(self, args, kwargs):
#     def _check_data(self):
#     def configure(self, args, kwargs):
#     def _check_data(self):
#     def configure(self, args, kwargs):
#     def _check_data(self):


# Path: libcloud_rest/api/entries.py
from functools import partial
from libcloud.compute import base as compute_base
from libcloud.compute.drivers import openstack as compute_openstack
from libcloud.compute.drivers import cloudstack as compute_cloudstack
from libcloud.compute.drivers import digitalocean
from libcloud.compute.drivers import ec2
from libcloud.common import gandi as gandi_common
from libcloud.compute.drivers import opennebula as opennebula_compute
from libcloud.common import gogrid as gogrid_common
from libcloud.compute.drivers import gogrid as gogrid_compute
from libcloud.compute.drivers import opsource as opsourse_compute
from libcloud.compute.drivers import vcloud as vcloud_compute
from libcloud.compute.drivers import ibm_sce as ibm_sce_compute
from libcloud.dns import types as dns_types
from libcloud.dns import base as dns_base
from libcloud.loadbalancer import base as lb_base
from libcloud.loadbalancer.drivers import rackspace as lb_rackspace
from libcloud.storage import base as storage_base
from libcloud_rest.utils import json, DateTimeJsonEncoder
from libcloud_rest.api import validators as valid
from libcloud_rest.errors import MalformedJSONError, ValidationError,\
    MissingArguments, TooManyArgumentsError
import re

    validator_cls = valid.StringValidator
    type_name = 'str'


class DictField(Field):
    validator_cls = partial(valid.TypeValidator, dict)
    type_name = 'dict'


class TupleField(Field):
    validator_cls = partial(valid.TypeValidator, tuple)
    type_name = 'tuple'


class BooleanField(Field):
    validator_cls = valid.BooleanValidator
    type_name = 'bool'


class IntegerField(Field):
    validator_cls = valid.IntegerValidator
    type_name = 'int'


class FloatField(Field):
    validator_cls = valid.FloatValidator
    type_name = 'float'


class NoneField(Field):

    validator_cls = valid.NoneValidator