'instantiates a storageclass dict'

def create_dict(self):

    self.data['apiVersion'] = self.api_version
    self.data['kind'] = 'StorageClass'
    self.data['metadata'] = {}
    self.data['metadata']['name'] = self.name
    self.data['metadata']['annotations'] = {}
    if (self.annotations is not None):
        self.data['metadata']['annotations'] = self.annotations
    self.data['metadata']['annotations']['storageclass.beta.kubernetes.io/is-default-class'] = self.default_storage_class
    self.data['provisioner'] = self.provisioner
    self.data['parameters'] = {}
    if (self.parameters is not None):
        self.data['parameters'].update(self.parameters)
    else:
        self.data['parameters']['type'] = 'gp2'
