// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.maps.traffic.implementation.models;

import com.azure.core.annotation.Immutable;
import com.azure.maps.traffic.models.TrafficIncidentPointOfInterest;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** Main response element. */
@Immutable
public final class TrafficIncidentDetailTm {
    /*
     * ID of the traffic model for this incident
     */
    @JsonProperty(value = "@id", access = JsonProperty.Access.WRITE_ONLY)
    private String id;

    /*
     * A single traffic incident, or a cluster of traffic incidents
     */
    @JsonProperty(value = "poi", access = JsonProperty.Access.WRITE_ONLY)
    private List<TrafficIncidentPointOfInterest> pointsOfInterest;

    /**
     * Get the id property: ID of the traffic model for this incident.
     *
     * @return the id value.
     */
    public String getId() {
        return this.id;
    }

    /**
     * Get the pointsOfInterest property: A single traffic incident, or a cluster of traffic incidents.
     *
     * @return the pointsOfInterest value.
     */
    public List<TrafficIncidentPointOfInterest> getPointsOfInterest() {
        return this.pointsOfInterest;
    }
}
