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

hirezapi.smite.json.GodItem Maven / Gradle / Ivy

The newest version!
package hirezapi.smite.json;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import hirezapi.json.AbstractItem;
import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonNaming(value = PropertyNamingStrategy.SnakeCaseStrategy.class)
public class GodItem extends AbstractItem {
  @JsonProperty("ChildItemId")
  private long childItemId;
  @JsonProperty("ItemDescription")
  private Description itemDescription;
  @JsonProperty("ItemTier")
  private int itemTier;
  @JsonProperty("Price")
  private int price;
  @JsonProperty("RootItemId")
  private long rootItemId;
  @JsonProperty("ShortDesc")
  private String shortDescription;
  @JsonProperty("Type")
  private String type;
  @JsonProperty("StartingItem")
  private boolean startingItem;

  @Data
  @NoArgsConstructor
  @AllArgsConstructor
  @JsonIgnoreProperties(ignoreUnknown = true)
  @JsonNaming(value = PropertyNamingStrategy.SnakeCaseStrategy.class)
  public static class Description {
    private String description;
    private List menuItems;
    private String secondaryDescription;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy