package com.kickstarter.models;

import android.os.Parcelable;

import com.kickstarter.libs.qualifiers.AutoGson;

import auto.parcel.AutoParcel;

@AutoGson
@AutoParcel
public abstract class Location implements Parcelable {
  public abstract String displayableName();
  public abstract long id();
  public abstract String name();
  public abstract String city();
  public abstract String state();
  public abstract String country();
  public abstract int projectsCount();

  @AutoParcel.Builder
  public abstract static class Builder {
    public abstract Builder displayableName(String __);
    public abstract Builder id(long __);
    public abstract Builder name(String __);
    public abstract Builder city(String __);
    public abstract Builder state(String __);
    public abstract Builder country(String __);
    public abstract Builder projectsCount(int __);
    public abstract Location build();
  }

  public static Builder builder() {
    return new AutoParcel_Location.Builder();
  }

  public abstract Builder toBuilder();
}

package com.kickstarter.models;

import android.os.Parcelable;
import android.support.annotation.Nullable;

import com.kickstarter.libs.qualifiers.AutoGson;

import auto.parcel.AutoParcel;

@AutoGson
@AutoParcel
public abstract class Location implements Parcelable {
  public abstract long id();
  public abstract String displayableName();
  public abstract String name();
  @Nullable public abstract String city();
  public abstract String state();
  public abstract String country();
  @Nullable public abstract int projectsCount();

  @AutoParcel.Builder
  public abstract static class Builder {
    public abstract Builder displayableName(String __);
    public abstract Builder id(long __);
    public abstract Builder name(String __);
    public abstract Builder city(String __);
    public abstract Builder state(String __);
    public abstract Builder country(String __);
    public abstract Builder projectsCount(int __);
    public abstract Location build();
  }

  public static Builder builder() {
    return new AutoParcel_Location.Builder();
  }

  public abstract Builder toBuilder();
}

Update nullability on location based on what API sends back.