Converts the device code grant to a map of HTTP paramters.

@return The map with HTTP parameters.
961687
@Override
    public Map<String, List<String>> toParameters() {
        final Map<String, List<String>> outParams = new LinkedHashMap<>();
        outParams.put("resource", Collections.singletonList(resource));
        outParams.put("grant_type", Collections.singletonList(GRANT_TYPE) );
        outParams.put("code", Collections.singletonList(deviceCode.getDeviceCode()));

        return outParams;
    }
76746
@java.lang.Deprecated
  public java.util.Map<java.lang.String, java.lang.String> getParameters() {
    return getParametersMap();
  }
277026
public Map<String, String> toMap(){
		Map<String, String> ret = new HashMap<>();
		ret.put("id", this.getID());
		ret.put("version", this.getVersion().toString());
		return ret;
	}
1150373
@Override
	public Map<String, String> toMap() {
		synchronized (this.confData){
			Map<String, String> ret = new HashMap<>(this.confData.size());
			for (Map.Entry<String, Object> entry : confData.entrySet()) {
				ret.put(entry.getKey(), entry.getValue().toString());
			}
			return ret;
		}
	}
1354752
public Map<String, String> toMap() {
        final Map<String, String> result = new HashMap<>();
        for (final HttpHeader header : headers.values()) {
            result.put(header.name(), header.value());
        }
        return result;
    }
14514
public Map<String, Map<String, List<String>>> getResourcePermissions() {
		if (resourcePermissions == null) {
			resourcePermissions = new LinkedHashMap<>();
		}
		return resourcePermissions;
	}
288053
public Map<String, Object> getParams() {
    return (null == params) ? Conditions.getParamMap(conditions) : CollectUtils.newHashMap(params);
  }
1146303
@Override
	public Map<String, RamlUriParameter> getResolvedUriParameters() {
		Map<String, RamlUriParameter> resolvedUriParameters = new HashMap<>();

		RamlResource resource = this;
		while (resource != null) {
			resolvedUriParameters = Stream
					.concat(resolvedUriParameters.entrySet().stream(), resource.getUriParameters().entrySet().stream())
					.collect(Collectors.toMap(entry -> entry.getKey(), entry -> entry.getValue()));
			resource = resource.getParentResource();
		}

		return resolvedUriParameters;
	}
533032
public Map<String, String> toMap() {
        Map<String, String> map = new HashMap<>();

        map.put("message", this.getMessage());
        map.put("success", this.getSuccess());
        map.put("is_ported", this.getIsPorted());
        map.put("provider", this.getProvider());
        map.put("type", this.getType());


        return map;
    }
179847
public final Collection<String> getParameters() {
        ArrayList<String> params = new ArrayList<String>();
        
        if( parameters == null ) {
            return params;
        }
        // we copy to guarantee that the caller does not screw up our internal storage
        params.addAll(Arrays.asList(parameters));
        return params;
    }
907321
@Override
    public Map<String, Object> getBodyParameters() {

        ArrayList<Map<String, Object>> requestMaps = new ArrayList<Map<String, Object>>();
        for(Request r: this.requests)
            requestMaps.add(requestToBatchMap(r));

        HashMap<String, Object> result = new HashMap<String, Object>();
        result.put("requests", requestMaps);
        result.put("distinctRecomms", this.distinctRecomms);
        return result;
    }
1215962
public Map<String, List<String>> parameters() {
        if (params == null) {
            params = decodeParams(uri, pathEndIdx(), charset, maxParams);
        }
        return params;
    }
332952
public Map<String, String> getExtParams() {
        if (null == extParams) {
            extParams = new LinkedHashMap<String, String>();
        }
        return extParams;
    }
763363
public Map<String, String> getRequestHeaders() {
        Map<String, String> hdrs = new HashMap<>();
        hdrs.put("Content-Type", "application/json");
        hdrs.put("environment", getSlackPrefix());
        return hdrs;
    }
264106
@Override
    public Map<String, String[]> getParameterMap() {
        if (sanitized == null) {
            sanitized = sanitizeParamMap(orig);
        }

        return sanitized;
    }
716862
public Map<String, Object> getHiddenParams()
    {
        Map<String, Object> mapParams = new Hashtable<String, Object>();
        return mapParams;
    }
98495
public Map<String, String> getParameters() {

        if (m_format != null) {
            return m_format.getParameters();
        }
        return Collections.emptyMap();
    }