Class GraphAPI.QueryBodyConf<T extends GraphAPI.QueryBodyConf<T,​R>,​R>

    • Field Detail

      • bodyMap

        protected java.util.Map<java.lang.String,​java.lang.String> bodyMap
    • Constructor Detail

      • QueryBodyConf

        public QueryBodyConf​(java.lang.String... pathParts)
    • Method Detail

      • addToBody

        public T addToBody​(java.lang.String id,
                           java.lang.String value)
        Set arbitrary string to the bodyMap.
        Parameters:
        id - Key for the map
        value - Value for the map. Existing keys in the map will be removed when value == null.
        Returns:
        AuthenticatedAPIHandler.APIRequestConf.self();
      • setFields

        public T setFields​(java.lang.String fields)
        Set query fields
        Parameters:
        fields - the comma separated list of fields to return.
        Returns:
        this
      • setListMeta

        public T setListMeta​(java.lang.Boolean listMeta)
        Set listMeta
        Parameters:
        listMeta - return list type attributes with metadata
        Returns:
        this
      • setIncludeDeleted

        public T setIncludeDeleted​(java.lang.Boolean includeDeleted)
        Set includeDeleted
        Parameters:
        includeDeleted - allow getting if ogit/_is-deleted=true
        Returns:
        this
      • createBody

        protected java.lang.String createBody()