All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clinia.model.common.V1SortDirection Maven / Gradle / Ivy

// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost
// - read more on https://github.com/clinia/api-clients-generation. DO NOT EDIT.

package com.clinia.model.common;

import com.fasterxml.jackson.annotation.*;
import com.fasterxml.jackson.databind.annotation.*;

/** Gets or Sets v1SortDirection */
public enum V1SortDirection {
  DESC("DESC"),

  ASC("ASC");

  private final String value;

  V1SortDirection(String value) {
    this.value = value;
  }

  @JsonValue
  public String getValue() {
    return value;
  }

  @Override
  public String toString() {
    return String.valueOf(value);
  }

  @JsonCreator
  public static V1SortDirection fromValue(String value) {
    for (V1SortDirection b : V1SortDirection.values()) {
      if (b.value.equals(value)) {
        return b;
      }
    }
    throw new IllegalArgumentException("Unexpected value '" + value + "'");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy