package com.jakewharton.trakt.enumerations;

import java.util.HashMap;
import java.util.Map;
import com.jakewharton.trakt.TraktEnumeration;

public enum Rating implements TraktEnumeration {
    Love("love"),
    Hate("hate"),
    Unrate("unrate");

    private final String value;

    private Rating(String value) {
        this.value = value;
    }

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

    private static final Map<String, Rating> STRING_MAPPING = new HashMap<String, Rating>();

    static {
        for (Rating via : Rating.values()) {
            STRING_MAPPING.put(via.toString().toUpperCase(), via);
        }
    }

    public static Rating fromValue(String value) {
        return STRING_MAPPING.get(value.toUpperCase());
    }
}

@@ -191,58 +191,186 @@
     
-Love(%22love%22),%0A    Hate(%22hate%22),%0A    Unrate(%22u
+WeakSauce(%221%22),%0A    Terrible(%222%22),%0A    Bad(%223%22),%0A    Poor(%224%22),%0A    Meh(%225%22),%0A    Fair(%226%22),%0A    Good(%227%22),%0A    Great(%228%22),%0A    Superb(%229%22),%0A    TotallyNinja(%2210%22),%0A    U
 nrate
+(%220
 %22);%0A

Use new rating values. It is recommended to always send the new ones, so removed Love and Hate and modified Unrate to be 0 instead of 'unrate'.