'Get a list of masking views from the array.
:param array: array serial number
:param params: optional GET parameters
:returns: masking view list'

def get_masking_view_list(self, array, params):

    masking_view_list = []
    masking_view_details = self.get_resource(array, SLOPROVISIONING, 'maskingview', params=params)
    try:
        masking_view_list = masking_view_details['maskingViewId']
    except (KeyError, TypeError):
        pass
    return masking_view_list
