Use this API to fetch tunneltrafficpolicy resource of given name .
961399
public static tunneltrafficpolicy get(nitro_service service, String name) throws Exception{
		tunneltrafficpolicy obj = new tunneltrafficpolicy();
		obj.set_name(name);
		tunneltrafficpolicy response = (tunneltrafficpolicy) obj.get_resource(service);
		return response;
	}
610317
def fetch_tree(client, path, expand_keys):
    '''
    
    '''
    _, items = consul_fetch(client, path)
    ret = {}
    has_children = re.compile(r'/$')

    log.debug('Fetched items: %r', items)

    if items is None:
        return ret
    for item in reversed(items):
        key = re.sub(r'^' + re.escape(path) + '/?', '', item['Key'])
        if key != '':
            log.debug('path/key - %s: %s', path, key)
            log.debug('has_children? %r', has_children.search(key))
        if has_children.search(key) is None:
            ret = pillar_format(ret, key.split('/'), item['Value'], expand_keys)
            log.debug('Fetching subkeys for key: %r', item)

    return ret
160701
public static cmppolicy get(nitro_service service, String name) throws Exception{
		cmppolicy obj = new cmppolicy();
		obj.set_name(name);
		cmppolicy response = (cmppolicy) obj.get_resource(service);
		return response;
	}
256186
public static service get(nitro_service service, String name) throws Exception{
		service obj = new service();
		obj.set_name(name);
		service response = (service) obj.get_resource(service);
		return response;
	}
1263840
public static tmtrafficaction get(nitro_service service, String name) throws Exception{
		tmtrafficaction obj = new tmtrafficaction();
		obj.set_name(name);
		tmtrafficaction response = (tmtrafficaction) obj.get_resource(service);
		return response;
	}
613771
def fetch(self):
        
        params = values.of({})

        payload = self._version.fetch(
            'GET',
            self._uri,
            params=params,
        )

        return ExportInstance(self._version, payload, resource_type=self._solution['resource_type'], )
106881
public static vpath get(nitro_service service, String name) throws Exception{
		vpath obj = new vpath();
		obj.set_name(name);
		vpath response = (vpath) obj.get_resource(service);
		return response;
	}
490289
public static netbridge_iptunnel_binding[] get(nitro_service service, String name) throws Exception{
		netbridge_iptunnel_binding obj = new netbridge_iptunnel_binding();
		obj.set_name(name);
		netbridge_iptunnel_binding response[] = (netbridge_iptunnel_binding[]) obj.get_resources(service);
		return response;
	}
1197253
public static FetchPath getRequestFetchPath() {
        Object properties = Requests.getProperty(PATH_PROPS_PARSED);
        if (properties == null) {
            BeanPathProperties pathProperties = EntityFieldsUtils.parsePathProperties();
            if (pathProperties == null) {
                Requests.setProperty(PATH_PROPS_PARSED, false);
            } else {
                properties = EbeanPathProps.of(pathProperties);
                Requests.setProperty(PATH_PROPS_PARSED, properties);
            }
        } else if (properties.equals(false)) {
            return null;
        }
        return (FetchPath) properties;
    }
753095
public static vpnvserver_vpntrafficpolicy_binding[] get(nitro_service service, String name) throws Exception{
		vpnvserver_vpntrafficpolicy_binding obj = new vpnvserver_vpntrafficpolicy_binding();
		obj.set_name(name);
		vpnvserver_vpntrafficpolicy_binding response[] = (vpnvserver_vpntrafficpolicy_binding[]) obj.get_resources(service);
		return response;
	}
154354
public static sslpolicy_binding get(nitro_service service, String name) throws Exception{
		sslpolicy_binding obj = new sslpolicy_binding();
		obj.set_name(name);
		sslpolicy_binding response = (sslpolicy_binding) obj.get_resource(service);
		return response;
	}
327981
public static vpntrafficpolicy get(nitro_service service, String name) throws Exception{
		vpntrafficpolicy obj = new vpntrafficpolicy();
		obj.set_name(name);
		vpntrafficpolicy response = (vpntrafficpolicy) obj.get_resource(service);
		return response;
	}
307473
public static sslpolicy get(nitro_service service, String name) throws Exception{
		sslpolicy obj = new sslpolicy();
		obj.set_name(name);
		sslpolicy response = (sslpolicy) obj.get_resource(service);
		return response;
	}
398219
public void getResources(Vector<URL> resources, String name)
  {
    Path path;

    path = getPath(name);

    if (path != null && path.canRead()) {
      try {
        resources.add(path.getNetURL());
      } catch (Exception e) {
      }
    }
  }
1160891
public static tunnelip_stats[] get(nitro_service service) throws Exception{
		tunnelip_stats obj = new tunnelip_stats();
		tunnelip_stats[] response = (tunnelip_stats[])obj.stat_resources(service);
		return response;
	}
555505
def get_api_url(
        self,
        api_resource,
        auth_token_ticket,
        authenticator,
        private_key,
        service_url=None,
        **kwargs
    ):
        '''
        
        '''
        auth_token, auth_token_signature = self._build_auth_token_data(
            auth_token_ticket,
            authenticator,
            private_key,
            **kwargs
            )
        params = {
            'at': auth_token,
            'ats': auth_token_signature,
            }
        if service_url is not None:
            params['service'] = service_url
        url = '{}?{}'.format(
            self._get_api_url(api_resource),
            urlencode(params),
            )
        return url
1324027
public static route[] get(nitro_service service, options option) throws Exception{
		route obj = new route();
		route[] response = (route[])obj.get_resources(service,option);
		return response;
	}