Interface ModelRotator.Builder

Enclosing interface:
ModelRotator

public static interface ModelRotator.Builder
Builder interface for creating Getters from JSON.
Since:
1.15.2
  • Method Summary

    Modifier and Type
    Method
    Description
    build(@NotNull com.google.gson.JsonElement element)
    Builds a getter from JSON data.
  • Method Details

    • build

      @Nullable @Nullable ModelRotator.Getter build(@NotNull @NotNull com.google.gson.JsonElement element)
      Builds a getter from JSON data.
      Parameters:
      element - the JSON data
      Returns:
      the getter, or null if invalid
      Since:
      1.15.2