com.bitmovin.api.sdk.model.MaxTransformUnitSize Maven / Gradle / Ivy
package com.bitmovin.api.sdk.model;
import java.util.Objects;
import java.util.Arrays;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
public enum MaxTransformUnitSize {
/**
* maximum 4x4 TU
*/
MTU_4x4("MTU_4x4"),
/**
* maximum 8x8 TU
*/
MTU_8x8("MTU_8x8"),
/**
* maximum 16x16 TU
*/
MTU_16x16("MTU_16x16"),
/**
* maximum 32x32 TU
*/
MTU_32x32("MTU_32x32");
private String value;
MaxTransformUnitSize(String value) {
this.value = value;
}
@JsonValue
public String getValue() {
return value;
}
@Override
public String toString() {
return String.valueOf(value);
}
@JsonCreator
public static MaxTransformUnitSize fromValue(String text) {
for (MaxTransformUnitSize b : MaxTransformUnitSize.values()) {
if (String.valueOf(b.value).equals(text)) {
return b;
}
}
return null;
}
}