package org.ccci.gto.android.common.jsonapi.retrofit2.model;

import android.support.annotation.NonNull;
import android.support.annotation.Nullable;

import org.ccci.gto.android.common.jsonapi.JsonApiConverter.Options;
import org.ccci.gto.android.common.jsonapi.model.JsonApiObject;

public class JsonApiRetrofitObject<T> extends JsonApiObject<T> {
    @Nullable
    private Options mOptions;

    public JsonApiRetrofitObject(@NonNull final JsonApiObject<T> obj) {
        super(obj);
    }

    @Nullable
    public Options getOptions() {
        return mOptions;
    }

    public void setOptions(@Nullable final Options options) {
        mOptions = options;
    }
}

@@ -482,24 +482,196 @@
 bj);%0A    %7D%0A%0A
+    @NonNull%0A    public static %3CT%3E JsonApiRetrofitObject%3CT%3E single(@Nullable final T data) %7B%0A        return new JsonApiRetrofitObject%3C%3E(JsonApiObject.single(data));%0A    %7D%0A%0A
     @Nullabl

add a convenience builder