All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.mapbox.api.directions.v5.models.BannerComponents Maven / Gradle / Ivy

There is a newer version: 5.9.0-alpha.1
Show newest version
package com.mapbox.api.directions.v5.models;

import android.support.annotation.Nullable;
import com.google.auto.value.AutoValue;
import com.google.gson.Gson;
import com.google.gson.TypeAdapter;

import java.io.Serializable;

@AutoValue
public abstract class BannerComponents implements Serializable {

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

  @Nullable
  public abstract String text();

  public static TypeAdapter typeAdapter(Gson gson) {
    return new AutoValue_BannerComponents.GsonTypeAdapter(gson);
  }

  @AutoValue.Builder
  public abstract static class Builder {

    public abstract Builder text(@Nullable String text);

    public abstract BannerComponents build();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy