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

com.ticketmaster.discovery.model.Classification Maven / Gradle / Ivy

There is a newer version: 0.1.8
Show newest version
package com.ticketmaster.discovery.model;

import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import com.fasterxml.jackson.annotation.JsonInclude;

@ToString(callSuper = true)
@Getter
@Setter
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class Classification extends BaseModel {

  private Boolean primary;
  private Segment segment;
  private Genre genre;
  private SubGenre subGenre;

  @ToString(callSuper = true)
  @Getter
  @Setter
  @EqualsAndHashCode(callSuper = true)
  @NoArgsConstructor
  @AllArgsConstructor
  @JsonInclude(JsonInclude.Include.NON_EMPTY)
  public static class Segment extends BaseModel {

    private String id;
    private String name;

  }

  @ToString(callSuper = true)
  @Getter
  @Setter
  @EqualsAndHashCode(callSuper = true)
  @NoArgsConstructor
  @AllArgsConstructor
  @JsonInclude(JsonInclude.Include.NON_EMPTY)
  public static class Genre extends BaseModel {

    private String id;
    private String name;

  }

  @ToString(callSuper = true)
  @Getter
  @Setter
  @EqualsAndHashCode(callSuper = true)
  @NoArgsConstructor
  @AllArgsConstructor
  @JsonInclude(JsonInclude.Include.NON_EMPTY)
  public static class SubGenre extends BaseModel {

    private String id;
    private String name;

  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy