content: /*
   * Iam
   * 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.iam.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;
  
  /**
   * Gets or Sets RightsEnum
   */
  public enum RightsEnum {
    
    VFS_READ("vfs-read"),
    
    VFS_WRITE("vfs-write");
  
    private String value;
  
    RightsEnum(String value) {
      this.value = value;
    }
  
    @JsonValue
    public String getValue() {
      return value;
    }
  
    @Override
    public String toString() {
      return String.valueOf(value);
    }
  
    @JsonCreator
    public static RightsEnum fromValue(String value) {
      for (RightsEnum b : RightsEnum.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());
    }
  }
  
  