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

io.permit.sdk.openapi.models.UserStatus Maven / Gradle / Ivy

There is a newer version: 983f46e
Show newest version

package io.permit.sdk.openapi.models;

import java.util.HashMap;
import java.util.Map;
import javax.annotation.Generated;
import com.google.gson.annotations.SerializedName;


/**
 * UserStatus
 * 

* Whether the user has signed in or not * */ @Generated("jsonschema2pojo") public enum UserStatus { @SerializedName("active") ACTIVE("active"), @SerializedName("pending") PENDING("pending"); private final String value; private final static Map CONSTANTS = new HashMap(); static { for (UserStatus c: values()) { CONSTANTS.put(c.value, c); } } UserStatus(String value) { this.value = value; } @Override public String toString() { return this.value; } public String value() { return this.value; } public static UserStatus fromValue(String value) { UserStatus constant = CONSTANTS.get(value); if (constant == null) { throw new IllegalArgumentException(value); } else { return constant; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy