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

com.amadeus.resources.SearchedDestination Maven / Gradle / Ivy

There is a newer version: 10.0.0
Show newest version
package com.amadeus.resources;

import java.util.HashMap;
import lombok.Getter;
import lombok.ToString;

/**
 * An SearchedDestination object as returned by the SearchedByDestination API.
 * @see SearchedByDestination#get()
 */
@ToString
public class SearchedDestination extends Resource {
  protected SearchedDestination() {}

  private @Getter String destination;
  private @Getter String subType;
  private @Getter Analytics analytics;

  /**
   * An AirTraffic-related object as returned by the AirTraffic API.
   * @see SearchedByDestination#get()
   */
  @ToString
  public class Analytics {
    protected Analytics() {
    }

    private @Getter Searches searches;
  }

  /**
   * An AirTraffic-related object as returned by the AirTraffic API.
   * @see SearchedByDestination#get()
   */
  @ToString
  public class Searches {
    protected Searches() {}

    private @Getter NumberOfSearches numberOfSearches;
  }

  /**
   * An SearchedDestination-related object as returned by the SearchedByDestination API.
   * @see SearchedByDestination#get()
   */
  @ToString
  public class NumberOfSearches {
    protected NumberOfSearches() {}

    private @Getter HashMap perTripDuration;
    private @Getter HashMap perDaysInAdvance;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy