content: /*
   * VaultFileSystem
   * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
   *
   * The version of the OpenAPI document: 1.0.0
   * Contact: info@affinidi.com
   *
   * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
   * https://openapi-generator.tech
   * Do not edit the class manually.
   */
  
  
  package com.affinidi.tdk.vault.data.manager.client.models;
  
  import java.util.Objects;
  import java.util.Arrays;
  import com.fasterxml.jackson.annotation.JsonPropertyOrder;
  import com.fasterxml.jackson.annotation.JsonTypeName;
  import java.io.UnsupportedEncodingException;
  import java.net.URLEncoder;
  import java.util.StringJoiner;
  
  import com.fasterxml.jackson.annotation.JsonCreator;
  import com.fasterxml.jackson.annotation.JsonValue;
  
  /**
   * type of the Node
   */
  public enum NodeType {
    
    VC_ROOT("VC_ROOT"),
    
    VC("VC"),
    
    FILE("FILE"),
    
    FOLDER("FOLDER"),
    
    PROFILE("PROFILE"),
    
    ROOT_ELEMENT("ROOT_ELEMENT"),
    
    TRASH_BIN("TRASH_BIN");
  
    private String value;
  
    NodeType(String value) {
      this.value = value;
    }
  
    @JsonValue
    public String getValue() {
      return value;
    }
  
    @Override
    public String toString() {
      return String.valueOf(value);
    }
  
    @JsonCreator
    public static NodeType fromValue(String value) {
      for (NodeType b : NodeType.values()) {
        if (b.value.equals(value)) {
          return b;
        }
      }
      throw new IllegalArgumentException("Unexpected value '" + value + "'");
    }
  
    /**
     * Convert the instance into URL query string.
     *
     * @param prefix prefix of the query string
     * @return URL query string
     */
    public String toUrlQueryString(String prefix) {
      if (prefix == null) {
        prefix = "";
      }
  
      return String.format("%s=%s", prefix, this.toString());
    }
  }
  
  