@staticmethod
def get_subtype(object_dictionary):
    """
        Given the hash representation of a subtype of this class,
        use the info in the hash to return the class of the subtype.
        """
    type = object_dictionary['attachmentType']
    if type == 'iscsi':
        return 'IScsiVolumeAttachment'
    if type == 'emulated':
        return 'EmulatedVolumeAttachment'
    if type == 'paravirtualized':
        return 'ParavirtualizedVolumeAttachment'
    else:
        return 'VolumeAttachment'
