2020-10-10 22:57:22 +00:00
|
|
|
package pm.j4.petroleum.util.data;
|
|
|
|
|
|
|
|
import com.google.gson.JsonElement;
|
2020-10-05 05:41:50 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* The type Option serializiable.
|
|
|
|
*/
|
|
|
|
public class OptionSerializiable {
|
|
|
|
/**
|
|
|
|
* Instantiates a new Option serializiable.
|
|
|
|
*
|
|
|
|
* @param key the key
|
2020-12-20 04:25:27 +00:00
|
|
|
* @param value the value
|
2020-10-05 05:41:50 +00:00
|
|
|
*/
|
2020-10-10 22:57:22 +00:00
|
|
|
public OptionSerializiable(String key, JsonElement value) {
|
2020-10-05 05:41:50 +00:00
|
|
|
this.value = value;
|
|
|
|
this.key = key;
|
|
|
|
}
|
2020-12-20 04:25:27 +00:00
|
|
|
|
2020-10-05 05:41:50 +00:00
|
|
|
/**
|
|
|
|
* The Value.
|
|
|
|
*/
|
2020-10-10 22:57:22 +00:00
|
|
|
public final JsonElement value;
|
2020-10-05 05:41:50 +00:00
|
|
|
/**
|
|
|
|
* The Key.
|
|
|
|
*/
|
|
|
|
public final String key;
|
|
|
|
}
|