com.ziqni.admin.sdk.model.AwardStateActions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ziqni-admin-sdk Show documentation
Show all versions of ziqni-admin-sdk Show documentation
ZIQNI Admin SDK Java Client
/*
* ZIQNI Admin API
* Ziqni Application Services are used to manage and configure spaces. Change log: 2024-02-27 Added rewards reduced to the LeaderboardEntry response
*
* The version of the OpenAPI document: 3.0.17
* Contact: [email protected]
*
* 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.ziqni.admin.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import java.util.Map;
import java.util.HashMap;
import io.swagger.annotations.ApiModel;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Available actions for award status Issued (Code 15) Held (Code 25) Claimed (Code 35) Processing (Code 45) Delivered (Code 55) Completed (Code 65) Expired (Code 100) Cancelled (Code 101) Declined (Code 102)
*/
public enum AwardStateActions {
ISSUED("Issued"),
HELD("Held"),
CLAIMED("Claimed"),
PROCESSING("Processing"),
DELIVERED("Delivered"),
EXPIRED("Expired"),
CANCELLED("Cancelled"),
DECLINED("Declined"),
COMPLETED("Completed");
private String value;
AwardStateActions(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static AwardStateActions fromValue(String value) {
for (AwardStateActions b : AwardStateActions.values()) {
if (b.value.equals(value)) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy