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

com.siftscience.model.Segment Maven / Gradle / Ivy

There is a newer version: 3.16.0
Show newest version
package com.siftscience.model;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;

public class Segment {
    @Expose @SerializedName("$departure_address") private Address departureAddress;
    @Expose @SerializedName("$arrival_address") private Address arrivalAddress;
    @Expose @SerializedName("$start_time") private Long startTime;
    @Expose @SerializedName("$end_time") private Long endTime;
    @Expose @SerializedName("$vessel_number") private String vesselNumber;
    @Expose @SerializedName("$arrival_airport_code") private String arrivalAirportCode;
    @Expose @SerializedName("$departure_airport_code") private String departureAirportCode;
    @Expose @SerializedName("$fare_class") private String fareClass;


    public Address getDepartureAddress() {
        return departureAddress;
    }

    public Segment setDepartureAddress(Address departureAddress) {
        this.departureAddress = departureAddress;
        return this;
    }

    public Address getArrivalAddress() {
        return arrivalAddress;
    }

    public Segment setArrivalAddress(Address arrivalAddress) {
        this.arrivalAddress = arrivalAddress;
        return this;
    }

    public Long getStartTime() {
        return startTime;
    }

    public Segment setStartTime(Long startTime) {
        this.startTime = startTime;
        return this;
    }

    public Long getEndTime() {
        return endTime;
    }

    public Segment setEndTime(Long endTime) {
        this.endTime = endTime;
        return this;
    }

    public String getVesselNumber() {
        return vesselNumber;
    }

    public Segment setVesselNumber(String vesselNumber) {
        this.vesselNumber = vesselNumber;
        return this;
    }

    public String getArrivalAirportCode() {
        return arrivalAirportCode;
    }

    public Segment setArrivalAirportCode(String arrivalAirportCode) {
        this.arrivalAirportCode = arrivalAirportCode;
        return this;
    }

    public String getDepartureAirportCode() {
        return departureAirportCode;
    }

    public Segment setDepartureAirportCode(String departureAirportCode) {
        this.departureAirportCode = departureAirportCode;
        return this;
    }

    public String getFareClass() {
        return fareClass;
    }

    public Segment setFareClass(String fareClass) {
        this.fareClass = fareClass;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy