':param name: name of the environment (max 255 chars) can be empty
:param description: description of the environment (max 255 chars)
can be empty
:param size: size of the environment (1,2, or 3)
:return:'

def create_environment(self, name='', description='', size=1):

    self._valid_name_and_description(name=name, description=description)
    if (size not in range(0, 4)):
        raise ValueError('Size    can    be    0,    1,    2,    or    3')
    body = json.dumps({'name': name, 'description': description, 'size': size})
    return self.request(method='POST', url='/v1/environments', params={'version': self.version}, data=body, headers={'content-type': 'application/json'}, accept_json=True)
