Setter method for group_prio, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_group_prio is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_group_prio() directly.

def _set_group_prio(self, v, load=False):
    """
    Setter method for group_prio, mapped from YANG variable /qos/cpu/slot/port_group/group/group_config_shaper_wfq/group_prio (list)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_group_prio is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_group_prio() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=YANGListType("group_prio_id",group_prio.group_prio, yang_name="group-prio", rest_name="prio", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='group-prio-id', extensions={u'tailf-common': {u'info': u'Configure CPU group priority parameters', u'cli-suppress-mode': None, u'callpoint': u'QosCpuPrioConfig', u'cli-sequence-commands': None, u'cli-incomplete-command': None, u'alt-name': u'prio'}}), is_container='list', yang_name="group-prio", rest_name="prio", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure CPU group priority parameters', u'cli-suppress-mode': None, u'callpoint': u'QosCpuPrioConfig', u'cli-sequence-commands': None, u'cli-incomplete-command': None, u'alt-name': u'prio'}}, namespace='urn:brocade.com:mgmt:brocade-qos-cpu', defining_module='brocade-qos-cpu', yang_type='list', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """group_prio must be of a type compatible with list""",
          'defined-type': "list",
          'generated-type': """YANGDynClass(base=YANGListType("group_prio_id",group_prio.group_prio, yang_name="group-prio", rest_name="prio", parent=self, is_container='list', user_ordered=False, path_helper=self._path_helper, yang_keys='group-prio-id', extensions={u'tailf-common': {u'info': u'Configure CPU group priority parameters', u'cli-suppress-mode': None, u'callpoint': u'QosCpuPrioConfig', u'cli-sequence-commands': None, u'cli-incomplete-command': None, u'alt-name': u'prio'}}), is_container='list', yang_name="group-prio", rest_name="prio", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Configure CPU group priority parameters', u'cli-suppress-mode': None, u'callpoint': u'QosCpuPrioConfig', u'cli-sequence-commands': None, u'cli-incomplete-command': None, u'alt-name': u'prio'}}, namespace='urn:brocade.com:mgmt:brocade-qos-cpu', defining_module='brocade-qos-cpu', yang_type='list', is_config=True)""",
        })

    self.__group_prio = t
    if hasattr(self, '_set'):
      self._set()